Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gregelin opened this issue May 13, 2015 · 0 comments
Open

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

gregelin opened this issue May 13, 2015 · 0 comments

Comments

@gregelin
Copy link
Contributor

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"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant