Hello Yossif,
After carefully evaluating your requirement, here is the recommended way to tackle it.
Create the file if you have not already done so: touch /etc/wazuh/rules/local_rules.xml
<rule id="533" level="0">
<if_sid>530</if_sid>
<match>ossec: output: 'netstat listening ports</match>
<check_diff />
<field name="serviceName">yourservicename</field>
<description>Listened ports status (netstat) changed (new port opened or closed) SILENCED.</description>
<group>pci_dss_10.2.7,pci_dss_10.6.1,gpg13_10.1,gdpr_IV_35.7.d,hipaa_164.312.b,nist_800_53_AU.14,nist_800_53_AU.6,tsc_CC6.8,tsc_CC7.2,tsc_CC7.3,</group>
</rule>
you will notice that the rule level is reduced to 0 which will make this rule not to generate an alert.
Regards