Skip to content

Commit

Permalink
Adds ossec-logtest testinfra test for fwupd rules
Browse files Browse the repository at this point in the history
  • Loading branch information
emkll committed Apr 6, 2021
1 parent d289c1a commit 19ade45
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions molecule/testinfra/vars/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,20 @@ log_events_without_ossec_alerts:
jp&B1qSJM431TmEg,YJ][ge;6-dJI69?-TB?!BI4?Uza63V3vMY3ake6a
hj-%A-m_5lgab!OVR,!pR+;L]eLgilU
# Override and suppress fwupd-specific errors under Ubuntu Focal
- name: test_ossec_fwupd_fuplugin_uefi_does_not_produce_alert
alert: >
Mar 1 13:22:53 app fwupd[133921]: 13:22:53:0883 FuPluginUefi
Error opening directory “/sys/firmware/efi/esrt/entries�: No such file or directory
level: "0"
rule_id: "100111"

- name: test_ossec_fwupd_fuengine_does_not_produce_alert
alert: >
Mar 1 13:22:53 mon fwupd[133921]: 13:22:53:0576 FuEngine
Failed to load SMBIOS: invalid DMI data size, got 2527 bytes, expected 2745
level: "0"
rule_id: "100112"

# Log events we expect an OSSEC alert to occur for
log_events_with_ossec_alerts:
Expand Down

0 comments on commit 19ade45

Please sign in to comment.