Merge "Add cis_code field to JSON-parsed XCCDF results"
diff --git a/_modules/oscap/commands.py b/_modules/oscap/commands.py
index 6682ae3..69e7fbc 100644
--- a/_modules/oscap/commands.py
+++ b/_modules/oscap/commands.py
@@ -4,9 +4,6 @@
from oscap.utils import build_tailoring, normalize_id, run
from oscap.utils import xccdf_xml_to_json, oval_xml_to_json
-def oscap_has_sce():
- (stdout, _, _) = run('oscap -V')
- return any([x for x in stdout.splitlines() if x.startswith('SCE Vers')])
def xccdf(benchmark,
pillar_data=None,
@@ -27,8 +24,6 @@
cmd = 'oscap xccdf eval --profile {profile} ' +\
'--results results.xml --report report.html'
- if oscap_has_sce():
- cmd += ' --sce-results'
if tailoring_file:
cmd += ' --tailoring-file {tailoring_file}'
cmd += ' {benchmark}'