You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Filters are being applied the very first time, but if the user changes the tab and then go back, filters are now being applied as expected.
Steps to reproduce
Click Agents > :some_agent
Open Security Events
Now click on a different dashboard such as FIM
Go back to Security Events, now the agent.id filter is now being applied.
Screenshots
As we can see, there is a mixing of alerts in the above screenshot.
The text was updated successfully, but these errors were encountered:
After some researching, I think we've found the main cause of this issue.
It's related to the latest changes in Discover directive, some functions are called for fetching data as it did before but now we have to check if the Wazuh filters are ready in one more place.
As we can see, the above function is updating the fetching source with no filter checks as other functions do. The solution was just adding our filter blocker at the very first line of that function f50ac08.
if(!filtersAreReady())return;
That's like a lock for the Wazuh filters, and we were using it from a long time ago, but with the 7.2 changes we forgot to add the lock to the recently added event subscription named filterUpdateSubscription.
Description
Filters are being applied the very first time, but if the user changes the tab and then go back, filters are now being applied as expected.
Steps to reproduce
agent.id
filter is now being applied.Screenshots
As we can see, there is a mixing of alerts in the above screenshot.
The text was updated successfully, but these errors were encountered: