Bug 1392683
Summary: | SCAP Security Guide remediation fail - CCE-26952-2 - Configure Periodic Execution of AIDE | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Shawn Wells <swells> |
Component: | scap-security-guide | Assignee: | Watson Yuuma Sato <wsato> |
Status: | CLOSED NEXTRELEASE | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.3 | CC: | cabeller, mhaicman, mpreisle, openscap-maint |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-03-23 21:07:45 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Shawn Wells
2016-11-08 02:27:56 UTC
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. |