I will update again the result for your custom rule suggestion.
Thank you
Best Regards,
Agra Ds
Pada tanggal Jum, 13 Mei 2022 pukul 23.30 Miguel Keane <
miguel...@wazuh.com> menulis:
>
> Hello Agra,
>
> of course its possible. The solutions suggested on the links you sent should also work on current release, but you need to make sure to overwrite the correct rule.
>
> So, for example, to silence CVE alerts from 2019,2018,2017. This custom rule should work:
>
> <group name="vulnerability-detector,">
> <rule id="23501" level="0" overwrite="yes">
> <decoded_as>json</decoded_as>
> <options>no_full_log</options>
> <field name="vulnerability.cve" negate="yes">CVE-2019-\.*|CVE-2018-\.*|CVE-2017-\.*</field>
> <description>$(vulnerability.cve) affects $(
vulnerability.package.name)</description>
> </rule>
> </group>
>
>
> You can be more specific. You also need to take into account the "Rule.id" that you are silencing. There are different IDs for Critical, High, Medium, or Low severity. So make sure to pick the correct one.
>
> You can also overwrite multiple IDs with multiple rules.
>
> Also, you can be more restrictive and silence particular CVEs with a CDB list.
>
> Let me know if you get it working with this!
>
> Best regards,
> Miguel Keane