Bug ID | 1203408 |
---|---|
Summary | oscap xccdf eval notapplicable instead of fail |
Classification | openSUSE |
Product | openSUSE Distribution |
Version | Leap 15.5 |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Other |
Assignee | screening-team-bugs@suse.de |
Reporter | pstivanin@suse.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
- download the latest qcow2 from o3 (e.g. https://openqa.opensuse.org/tests/2656844/asset/hdd/opensuse-15.5-aarch64-280.1-textmode@aarch64.qcow2) - zypper in openscap-utils libxslt-tools - download the xml files from https://github.com/os-autoinst/os-autoinst-distri-opensuse/tree/master/data/openscap - check the file with 'oscap info xccdf.xml' - oscap xccdf eval --profile standard --results out.xml xccdf.xml output: Title Direct root Logins Not Allowed Rule no_direct_root_logins Result notapplicable Title sysctl kernel.sysrq must be 0 Rule rule_misc_sysrq Result notapplicable expected output: # oscap xccdf eval --profile standard --results out.xml xccdf.xml Title Direct root Logins Not Allowed Rule no_direct_root_logins Result fail Title sysctl kernel.sysrq must be 0 Rule rule_misc_sysrq Result fail