Hi Prajapati,
Thanks for using Wazuh!
The vulnerability detection module has changed a lot since that post, still you can apply some steps from there. I recommend you the following:
1) First, create a list to include the vulnerabilities you do not want to report.
Create this list from the Wazuh Web UI in Management > CDB lists
2) Add the vulnerabilities to that file following the format CVE:Description.
Add the CVE under the key box and the Description under the value box
3) Add the list to the ossec.conf file using the <list> option.
You can do this from the Wazuh Web UI too, Management > Configuration
4) Compile the CDB list.
This is not necessary anymore5) Create a rule that uses this list and ignore the vulnerability using level 0.
<group name="vulnerability-silence">
<rule id="103777" level="0">
<if_sid>23501</if_sid>
<list field="vulnerability.cve" lookup="match_key">etc/lists/vuln-black-list</list>
<group>vulnerability-detector</group>
<description>Ignore vulnerability</description>
</rule>
</group>
This will silence the alert in Wazuh that you can find in Security Events or the Events tab of vulnerability detection, however, this vulnerability will still be available from the Inventory tab of Vulnerability Detection module, in this case you would have to manipulate the file /var/ossec/queue/db/<agent-ID>.db.
I hope you find this information useful