Wazuh 4.11.0 Vulnerability Detection doesn't work #28602
-
Hi, However, I realized that Vulnerabilty Detection is not working. I have the option enabled on both servers in ossec.conf, but no data from the agents can be seen on dashboard, inventory and events - there is info "No results match your search criteria". yes yes 60mEverything else works without any trouble. Before this production installation, I had a test Wazuh 4.10 server. and old 5 agents hooked up to new production cluster without any trouble. Where to look for a solution of the problem? Thank you in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
So you have two different indexers, is your environment a CCS? https://wazuh.com/blog/managing-multiple-wazuh-clusters-with-cross-cluster-search/ From the logs you can see the vulnerability scanner is working? let's try this
That is to force a re-scan. In the logs you should see whether or not the scanner is working. If that's ok, check if the indices are created. i.e. green open wazuh-states-vulnerabilities-jammy -Xlj027-RFqd-yyfR3Y5sg 1 0 20347 5 11.8mb 11.8mb Search in your ossec.log for wazuh-states-vulnerabilities (avoid jammy cause that is dynamic) |
Beta Was this translation helpful? Give feedback.
-
Hi, Thank you for your help. |
Beta Was this translation helpful? Give feedback.
Hi,
I managed to solve the problem.
The cause of the error is a cluster script installation error (all done according to Wazuh documentation) in the ossec.conf file on the worker. In the indexer branch on worker, the certificates were pointing to files from master, not from worker. After replacing the invalid references to the non-existent wazuh1.pem and wazuh1-key.pem files with wazuh2.pem and wazuh2-key.pem files, respectively, and restarting the wazuh-manager service, the worker connected to the wazuh-states-vulnerabilities-wazuh_cluster indexer.
Thank you for your help.