mirror of
https://git.yoctoproject.org/meta-security
synced 2026-05-07 04:58:47 +00:00
oeqa: openscap test
Add basic openscap test. This looks for an existing profile and run a basic scan. Openscap scans return 1 in case of failure, 0 in case of success and 2 when a vulnerability has been found. As this does not aim to check openscap reports, 2 is considered as a successful test. Signed-off-by: Louis Rannou <louis.rannou@non.se.com> (added to test image) Signed-off-by: Scott Murray <scott.murray@konsulko.com>
This commit is contained in:
committed by
Scott Murray
parent
3b0ee6a7b6
commit
a043f0b8ed
@@ -12,7 +12,7 @@ IMAGE_INSTALL:append = "\
|
||||
${@bb.utils.contains("BBFILE_COLLECTIONS", "integrity", "packagegroup-ima-evm-utils","", d)} \
|
||||
"
|
||||
|
||||
TEST_SUITES = "ssh ping apparmor clamav samhain sssd checksec smack suricata aide firejail"
|
||||
TEST_SUITES = "ssh ping apparmor clamav openscap samhain sssd checksec smack suricata aide firejail"
|
||||
TEST_SUITES:append = " parsec tpm2 swtpm ima"
|
||||
|
||||
INSTALL_CLAMAV_CVD = "1"
|
||||
|
||||
Reference in New Issue
Block a user