[PATCH] [bugfix] Updated URN for bash fix scripts

Shawn Wells shawn at redhat.com
Tue Feb 5 16:21:29 UTC 2013


On 2/5/13 11:19 AM, Shawn Wells wrote:
> Before the change:
> $ oscap xccdf generate fix --result-id xccdf_org.open-scap_testresult_stig-rhel6-server /tmp/stig-results.xml
>
> After the change:
> $ oscap xccdf generate fix --result-id xccdf_org.open-scap_testresult_stig-rhel6-server /tmp/stig-results.xml
>
> yum install aide

Comments within the output were stripped for some reason. Actual output:

> $ oscap xccdf generate fix --result-id 
> xccdf_org.open-scap_testresult_stig-rhel6-server /tmp/stig-results.xml
> #!/bin/bash
> # OpenSCAP fix generator output for benchmark: DRAFT Guide to the 
> Secure Configuration of Red Hat Enterprise Linux 6
>
> # generated: 2013-02-05T11:18:33-05:00
> # END OF SCRIPT
> [shawn at rhel6 RHEL6]$ vim /tmp/stig-results.xml
> [shawn at rhel6 RHEL6]$ oscap xccdf generate fix --result-id 
> xccdf_org.open-scap_testresult_stig-rhel6-server /tmp/stig-results.xml
> #!/bin/bash
> # OpenSCAP fix generator output for benchmark: DRAFT Guide to the 
> Secure Configuration of Red Hat Enterprise Linux 6
>
> # XCCDF rule: install_aide
> # CCE-27024-9
> yum install aide
>
> # generated: 2013-02-05T11:18:57-05:00
> # END OF SCRIPT



More information about the scap-security-guide mailing list