Closed uzseb closed 9 months ago
Hello @uzseb, does the /root/test_scap/scripts/
directory exist? Also I noticed that in first example, there's href="script/XCCDF_RESULT_PASS.sh"
and in second its scripts/XCCDF_RESULT_PASS.sh.result.xml
that's missing (notice script/scripts)
Can you check this? Thanks for the report!
@dahaic The problem could be that scripts/XCCDF_RESULT_PASS.sh.result.xml should be generated by oscap
.
@uzseb I'm afraid that I can't reproduce your issue. What input do you use? Do you use plain XCCDF or a datastream?
When calling SCE scripts from XCCDF and when these scripts are in a subdirectory, the report doesn't have the script output. The report works but with an error message "I/O warning : failed to load external entity ..."
XCCDF rule
At the execution
The test is executed but no output in the report.
Hint: The generation of the xml sce results are using the basename, the report generation is using the path.