Hello Chris,
Thank you for using Wazuh.
Firstly, please note that every CVE is evaluated individually and that is most likely why the alerts are being flagged even though a later KB resolves the vulnerability.
Therefore, your best course of action would be to whitelist/ignore that vulnerability. To do this, it would only be necessary to add a new custom rule, to which we specify the list of CVEs in the option <field>"vulnerability.cve" and so every time it finds a vulnerability of that type, as the rule is at level 0, then the alert will be ignored.
In the WUI you can navigate to Management -> Rules and there you can set a filter to
Custom rules, and select the file local_rules.xml. Then, add the following rule:
<group name="cve-ignore,">
<rule id="100002" level="0">
<if_group>vulnerability-detector</if_group>
<field name="vulnerability.cve">CVE-0000-0000, CVE-0000-0001, CVE...</field>
<description>Ignoring alert $(vulnerability.cve). Vulnerability was published $(vulnerability.published). Reference $(vulnerability.reference)</description>
<location>agent_name</location>
<options>no_full_log</options>
</rule>
</group>