Skip to content

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

Description

@gregelin

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"/>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions