[Open-scap] OpenSCAP Evaluation Report summary

2017-07-17 Thread Greg Silverman (CS)
The numbers in the Compliance and Scoring section of the html file do not add up. Details: * Using the STIG for Red Hat Enterprise Linux 7 Server (227) profile. * Using RHEL 7.3. * Rule Results: 112 passed, 103 failed, 10 other * Score 64.56% passed. So, 112 passed + 103 failed

[Open-scap] the sed_command idiom

2017-04-19 Thread Greg Silverman (CS)
The generated scripts use this idiom sed_command="sed -i ..." where the ellipsis is replaced a follow symlink option if the file being edited is a symbolic link. There are some errors when running the generated remediation script, such as "sed -i " command not found. As an alternative, I

Re: [Open-scap] Pleas explain this (Shawn Wells)

2017-04-12 Thread Greg Silverman (CS)
...@redhat.com You can reach the person managing the list at open-scap-list-ow...@redhat.com When replying, please edit your Subject line so it is more specific than "Re: Contents of Open-scap-list digest..." Today's Topics: 1. Pleas explain this (Greg Silverman (CS)) 2.

[Open-scap] Pleas explain this

2017-04-12 Thread Greg Silverman (CS)
Many of the generated fixes uses this idiom IFS=$'\n' ... unset $IFS IFS is a variable, but, $IFS is a character string, so, unsetting it does not restore IFS to its default value. What am I missing? Thanks, Greg Silverman Mountain View, Ca ___

[Open-scap] customizing generation of mediation scripts

2017-03-21 Thread Greg Silverman (CS)
I would like to modify the fixes that oscap will generate and add some automatic fixes. For example 1. The firewall fix bash code does not add the ssh service to the drop zone. Which file can I modify so that the "add-services ssh" is included in the generated remediation script. 2.

Re: [Open-scap] Open-scap-list Digest, Vol 96, Issue 8

2017-03-17 Thread Greg Silverman (CS)
u...@redhat.com You can reach the person managing the list at open-scap-list-ow...@redhat.com When replying, please edit your Subject line so it is more specific than "Re: Contents of Open-scap-list digest..." Today's Topics: 1. customizing remediati

[Open-scap] customizing remediation

2017-03-16 Thread Greg Silverman (CS)
I am missing something when it comes to generating a customized fix script. 1. In SCAP Workbench I deselect rules I do not want. 2. I save the customization file. 3. When I scan with the customization file, it still reports evaluation results on *some* of the rules I