Hide Forgot
When installing RHEL 7.3 using SCAP security profile, "CCE-26952-2 - Configure Periodic Execution of AIDE" fails to be set.
This bug is fixed in RHEL7.5 beta. OLD scap-security-guide-0.1.33-6.el7.noarch: [dahaic@dhcp-24-168 tests]$ sudo ./test_suite.py rule --hypervisor qemu:///system --domain ssg-test-suite --datastream ./ssg-0.1.33-6-ds.xml --xccdf-id scap_org.open-scap_cref_ssg-rhel7-xccdf-1.2.xml rule_aide_periodic_cron_checking Setting console output to log level INFO ... INFO - xccdf_org.ssgproject.content_rule_aide_periodic_cron_checking INFO - Script not_in_cron.fail.sh using profile xccdf_org.ssgproject.content_profile_C2S OK ERROR - Scan has exited with return code 2, instead of expected 0 during stage remediation ERROR - The remediation failed for rule 'xccdf_org.ssgproject.content_rule_aide_periodic_cron_checking'. INFO - All snapshots reverted successfully NEW scap-security-guide-0.1.36-7.el7.noarch: [dahaic@dhcp-24-168 tests]$ sudo ./test_suite.py rule --hypervisor qemu:///system --domain ssg-test-suite --datastream ./ssg-0.1.36-7-ds.xml --xccdf-id scap_org.open-scap_cref_ssg-rhel7-xccdf-1.2.xml rule_aide_periodic_cron_checking Setting console output to log level INFO ... INFO - xccdf_org.ssgproject.content_rule_aide_periodic_cron_checking INFO - Script not_in_cron.fail.sh using profile xccdf_org.ssgproject.content_profile_C2S OK INFO - All snapshots reverted successfully
Bug is still occurring for both NIST and STIG profiles in the RHEL7.5 release. Running scan report using scap-security-guide-0.1.36-9.el7.5.noarch and for remediation SCAP Security Guide 0.1.39 version. Have to add entry on remediation task by adding cron_file: /etc/crontab as it creates the crontab entry but not updating the /etc/crontab file.