

Hi Anand,
The core issue appears to be that, in the Docker deployment, the Wazuh agent (or the manager’s internal components) cannot find the file:
/var/ossec/etc/shared/ar.conf
This file is required to validate and distribute Active Response commands.
The reason it works on a bare-metal Linux installation is that the required files and directories are automatically created during installation. In Docker deployments, volume mounts or container entrypoint behavior can sometimes override or skip these files unless they are explicitly mounted.
Please note that the ar.conf file (Active Response status file) should always be sent to agents, even if it is not present in the group folder.
To resolve this, please ensure that ar.conf exists and is properly mounted into the container. This is the most common fix for this issue.
Update your docker-compose.yml for the Wazuh manager service as follows:
After making the changes, restart the stack:
docker compose down docker compose up -d
Also, if the ossec.conf file is not mounted properly, the configuration will not persist after restarting Docker Compose. Therefore, it is important to mount it as shown above.
On the Windows agent side:
Verify whether the file is created under: C:\Program Files (x86)\ossec-agent\shared
Trigger the alert again.
Check the Active Response logs on the Windows agent:
type "C:\Program Files (x86)\ossec-agent\active-response\active-responses.log"
Please let me know the results after these changes so we can continue troubleshooting if needed.
Ref: https://documentation.wazuh.com/current/user-manual/capabilities/active-response/index.html