Hi ,
Hope you are doing well today and thank you for using wazuh.
You can ignore vulnerability alerts by adding custom rules. I suggest you a rule like this one:
/var/ossec/etc/rules/local_rules.xml:
<group name="vulnerability-detector,gdpr_IV_35.7.d,pci_dss_11.2.1,pci_dss_11.2.3,tsc_CC7.1,tsc_CC7.2,">
<rule id="123500" level="0">
<if_sid>23503,23504,23505,23506</if_sid>
<field name="
vulnerability.name">^CVE-2016-1585$</field>
<field name="
vulnerability.package.name">^libapparmor1$</field>
<field name="vulnerability.package.condition">^Package unfixed$</field>
<description>Ignoring vulnerability CVE-2016-1585 for libappamor1</description>
</rule>
</group>
Rules 23503, 23504, 23505, 23506 match vulnerabilities with different severity levels (from Low to Critical). Defining a rule with level=0 means that it won't produce an alert. The <field> options find different conditions in the event (as they appear in the alert). Maybe you're interested in having one or two criteria only, but this is only an example. That's up to you.
Please refer to
https://documentation.wazuh.com/current/user-manual/ruleset/custom.html to know more about custom rules.
Hope this will be helpful. Please feel free to contact us for any information/issues.
Regards,