[PATCH 1/7] added argument to output oval-results file * this will help avoid future issues with invalid output/input
Jeffrey Blank
blank at eclipse.ncsc.mil
Tue Sep 4 23:16:31 UTC 2012
Signed-off-by: Jeffrey Blank <blank at eclipse.ncsc.mil>
---
RHEL6/input/checks/testcheck.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/RHEL6/input/checks/testcheck.py b/RHEL6/input/checks/testcheck.py
index 54d3f89..95649c6 100755
--- a/RHEL6/input/checks/testcheck.py
+++ b/RHEL6/input/checks/testcheck.py
@@ -116,7 +116,7 @@ def main():
# content requires OVAL 5.8 support, which is only supported by openscap 0.8 or later
# for RHEL 6, this implies installing openscap from source until RPM is released
- subprocess.call("oscap oval eval --results "+ fname + "-results " + fname, shell=True)
+ subprocess.call("oscap oval eval --oval-results --results "+ fname + "-results " + fname, shell=True)
# perhaps delete tempfile?
definitions = ET.Element("definitions")
tests = ET.Element("tests")
--
1.7.1
More information about the scap-security-guide
mailing list