Skip to content

Commit

Permalink
Fixes #5835 disables ossec mails for fwupd
Browse files Browse the repository at this point in the history
Adds a new rules group and also the related decoder.
  • Loading branch information
kushaldas committed Mar 29, 2021
1 parent 480cf77 commit 4fd0b81
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,10 @@
<decoder name="dhclient">
<program_name>dhclient</program_name>
</decoder>

<!--
The default fwupd tries to auto-update and generates error.
-->
<decoder name="fwupd">
<program_name>fwupd</program_name>
</decoder>
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,25 @@
</rule>
</group>

<!--
fwupd auto-updates realted rules.
-->

<group name="fwupd">
<rule id="100111" level="0">
<decoded_as>fwupd</decoded_as>
<match>Error opening directory</match>
<description>fwupd error</description>
<options>no_email_alert</options>
</rule>
<rule id="100112" level="0">
<decoded_as>fwupd</decoded_as>
<match>Failed to load SMBIOS</match>
<description>fwupd error for auto updates</description>
<options>no_email_alert</options>
</rule>
</group>

<!--
Do not alert on stagging VM dhcp client errors. These events should not occur
in production environments
Expand Down

0 comments on commit 4fd0b81

Please sign in to comment.