--
You received this message because you are subscribed to the Google Groups "Wazuh | Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/wazuh/8e1b1eb6-294b-4b15-bc78-87ba201f9fb6n%40googlegroups.com.
The configurations look good to me.
Wazuh does not trigger any alerts for the base level scan(for the first vulnerability scan) after adding the agent. It triggers any alerts if there are any changes in the vulnerable package or software after that.
Ref: Alert generation
To test if it is generating alerts for changes in the vulnerability. You can change the syscollector <interval> configuration on an agent to 5 min.
<wodle name="syscollector">
<disabled>no</disabled>
<interval>5m</interval>
Now restart the agent.
Now, add an old version of a software package or remove a vulnerable package like wget.
Do not restart any services in between and check the vulnerability dashboard events in 5/6 min after uninstalling the vulnerable package.
Let me know the findings.
If you still face any issues. Check the Wazuh manager’s ossec logs to find out if the vulnerability and indexer connector are working correctly.
cat /var/ossec/logs/ossec.log | grep -iE "vulnerability|indexer-connector|error|warn"