openscap
openscap copied to clipboard
Issues with OVAL test results details in the HTML report
Description of Problem:
OVAL test results showing incorrect value (false/fail) for the following Rule IDs after running rhel8-playbook-stig.yml.
-
Rule ID: xccdf_org.ssgproject.content_rule_banner_etc_issue OVAL Definition ID: oval:ssg-banner_etc_issue:def:1 Modify the System Login Banner
-
Rule ID: xccdf_org.ssgproject.content_rule_configure_openssl_crypto_policy OVAL Definition ID: oval:ssg-configure_openssl_crypto_policy:def:1 Configure OpenSSL library to use System Crypto Policy
-
Rule ID: xccdf_org.ssgproject.content_rule_audit_ospp_general OVAL Definition ID: oval:ssg-audit_ospp_general:def:1 Perform general configuration of Audit for OSPP
OpenSCAP Version:
1.3.2
Operating System & Version:
RHEL 8.2 with Draft DISA STIG
Steps to Reproduce:
- Download scap-security-guide package
- Run rhel8-playbook-stig.yml
- Run oscap xccdf eval --profile xccdf_org.ssgproject.content_profile_stig --report /tmp/oscap-report.html --fetch-remote-resources /usr/share/xml/scap/ssg/content/ssg-rhel8-ds.xml
Note: Also ran playbooks individually, still receiving the same results in the HTML report
Actual Results:
Modify the System Login Banner


Configure OpenSSL library to use System Crypto Policy


Perform general configuration of Audit for OSPP



Expected Results:
Each of the following should show up with status pass.
-
Rule ID: xccdf_org.ssgproject.content_rule_banner_etc_issue OVAL Definition ID: oval:ssg-banner_etc_issue:def:1 Modify the System Login Banner
-
Rule ID: xccdf_org.ssgproject.content_rule_configure_openssl_crypto_policy OVAL Definition ID: oval:ssg-configure_openssl_crypto_policy:def:1 Configure OpenSSL library to use System Crypto Policy
-
Rule ID: xccdf_org.ssgproject.content_rule_audit_ospp_general OVAL Definition ID: oval:ssg-audit_ospp_general:def:1 Perform general configuration of Audit for OSPP
Additional Information / Debugging Steps:
The STIG playbook and the recommended remediation playbook run with no issues.
@jan-cerny, @yuumasato, @ggbecker My first impression is that it belongs to CaC.