GovReady / govready

Toolkit for getting open source apps ready for secure, approved government use
GNU General Public License v3.0
97 stars 31 forks source link

Remove hardcoding to ssg-rhel6-oval.xml for generating variables #76

Open gregelin opened 9 years ago

gregelin commented 9 years ago

Line 732 currently has a barcoded-value for the exported variable file.

local bash_command="mv ssg-rhel6-oval.xml-0.variables-0.xml $resultsdir/${profile}-variables-$suffix.xml"

This is causing on error for variable management in RHEL7.

There is also a larger issue. The variable may come from different sources for different oval tests in the xccdc. This needs to be researched.

cat scap/ssg-rhel7-xccdf.xml | grep ssg-rhel7-oval.xml
<check-content-ref name="oval:ssg:def:573" href="ssg-rhel7-oval.xml"/>
<check-content-ref name="oval:ssg:def:575" href="ssg-rhel7-oval.xml"/>
<check-content-ref name="oval:ssg:def:577" href="ssg-rhel7-oval.xml"/>
<check-content-ref name="oval:ssg:def:579" href="ssg-rhel7-oval.xml"/>
<check-content-ref name="oval:ssg:def:571" href="ssg-rhel7-oval.xml"/>
<check-content-ref name="oval:ssg:def:429" href="ssg-rhel7-oval.xml"/>