Hi!
Currently, Wazuh rules do not allow (as it) the correlation of an event with the agent’s vulnerability information.
But there’s still a way to achieve this! here’s the idea
Basically is a loop in the Wazuh Manager that checks 31168 rule, validates it against CVE database, and in case it meets the criteria it will create a new event that will trigger a custom rule with a higher level.
This kind of mechanism is already used in OTTB scripts like Virustotal integration
Hope this helps!
Nico