Closed pro-akim closed 4 months ago
The Settings
application displays the configuration of the Wazuh servers.
You commented you configured a Wazuh agent enabling the Docker listener module and you installed the required dependencies.
If you intended to see the configuration of Docker listener for the agent, this is accesible from Endpoints summary
application, selecting an agent from the overview table and then go to Configuration
in the top right side of the agent view.
The view of the shared screenshot only displays the configuration for the Wazuh server or Wazuh agent. The modules can not be enabled/disabled from this view.
You can edit the configuration from the Wazuh server or agent group configuration from UI, editing the configuration file.
If you configured correctly the Docker listener for a Wazuh agent and you can not get alerts on the Wazuh server, could indicate a problem in the monitoring of Docker on the Wazuh agent side, or the analyzed logs related to Docker of the Wazuh agent are not matching any rule on the Wazuh server.
I deployed 4.8.0 and I configured following a Wazuh agent enabling the Docker listener and installing the required dependencies.
Regarding the configuration of Docker listener for the agent, this is visible on the specific configuration view of the agent accessible through the Endpoints Summary:
I enabled the logall_json
option of the Wazuh server, and I am getting some events related to the Wazuh agent with Docekr listener enabled, but the level of the rules is lower than the threshold, and this avoids the rule is generated. I guess if you are not getting alerts on the Wazuh server, it is related to the actions done in Docker that is not matching any rule defined on the ruleset. I was testing some things with Docker, and I could not get to work some of built-in rules but I am not sure if I am doing the expected action that matches with the rule.
Thank you very much @Desvelao for the information, I found that with the change of screens in version 4.8.0 and the update of the documentation, it is difficult to understand that there is a docker listener for the manager and another for the agent quickly.
On the other hand, by repeating the use-case attached in the official documentation, I cannot reproduce the same alerts, so some change will probably have to be made.
I will be checking if the absence of events that reach the alert level is due to some change or failure. Taking this into account, I will inform you if any documentation changes will have to be made or this situation will have to be addressed to a fix.
@pro-akim we will close this issue, as there is no action to take. Re-open it if there is further information.
Hi, i installed ubuntu 22.04 lts with wazuh 4.8.0, this is the server, another ubuntu 22.04 lts with docker, in linux with docker i installed wazuh agent and linked it to server, in /var/ossec/etc/ossec.conf i added:
`
` and restarted the agent. In wazuh server i dont have any events from docker. Anything else need to be enabled anywhere else? thank you
Hi, i installed ubuntu 22.04 lts with wazuh 4.8.0, this is the server, another ubuntu 22.04 lts with docker, in linux with docker i installed wazuh agent and linked it to server, in /var/ossec/etc/ossec.conf i added:
<wodle name="docker-listener"> <disabled>no</disabled> </wodle>
and restarted the agent. In wazuh server i dont have any events from docker. Anything else need to be enabled anywhere else? thank you
I met same problem
Describe the bug
Docker listener setting is not available in 4.8.0 in Server Managment > Settings in the Manager Dashboard
To Reproduce Following the instructions at https://documentation.wazuh.com/current/user-manual/capabilities/container-security/monitoring-docker.html. Connecting an agent with docker, with the referred dependencies and activating the docker listener.
Expected behavior You should allow Docker listener activation from Server Management > Settings or the option should not appear directly
Screenshots
Additional context
Events raised on the agent by manipulating docker following this documentation https://documentation.wazuh.com/current/user-manual/capabilities/container-security/use-cases.html do not work
Querying the API with GET /agents//config/wmodules/wmodules
The following result could be obtained:
In the agent you can also observe the activation
However, in the manager the result of the use case replication was: