wazuh-dashboard-plugins
wazuh-dashboard-plugins copied to clipboard
The alerts related to Wazuh servers are not excluded on the Dashboard and Events tabs when the hideManagerAlerts setting is enabled
| Wazuh | Rev | Browser |
|---|---|---|
| - | - | - |
Description
The alerts related to Wazuh servers are not excluded on the Events (and sometimes on the Dashboard) tab when the hideManagerAlerts setting is enabled.
Related findings: https://github.com/wazuh/wazuh-dashboard-plugins/issues/6420#issuecomment-1952129793
Preconditions
- Enable the
hideManagerAlertssetting of the plugin. - Ensure there are data related to Wazuh servers (
agent.idis000)
Steps to reproduce
- Navigate to any module >
Events - Add a filter
agent.idis000and see if there are data.
Expected Result
- When the
hideManagerAlertsis enabled, theEventstab should not display data about the Wazuh server.
Evidences
Research
It seems some visualizations on the Dashboards tabs could not exclude the data related to Wazuh servers when the hideManagerAlerts are enabled. In the following screenshots, the Total count is 0 menawhile the visualizations display some data.
In monitoring, the allowAgent filter is continuously being added when changing the date range.
The filter related to hideManagerAlerts is not considered for the Evolution visualization:
WIP patch: hide-server-data-events-tab.txt
This could fix the problem about missing filter related to hideManagerAlerts.
We saw some problems with repeated filters on Evolution visualization.
This needs a deeper analysis.
Due to this problem happening in previous versions and this will change in 4.9.0, I will leave the issue on hold until we decide what to do.
This will be solved in this issue:
- https://github.com/wazuh/wazuh-dashboard-plugins/issues/6499
I'm closing this.