Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Allow use of OpenSCAP result files in task xccdf_result_to_osca…
…l_ar Before this commit if you wanted to use result files from OpenSCAP in the task xccdf_result_to_oscal_ar you had to extract the `TestResult` element and place it as the root of the XML document, otherwise the resulting OSCAL document would be blank. Thus making it impossible to directly use output from OpenSCAP with the task. With this commit the task will detect that the root element is not `TestResult` and then it will find the `TestResult` element in the XML document. This allows the use of files created by OpenSCAP using the `--results` and `--results-arf` switches. Signed-off-by: Matthew Burket <[email protected]>
- Loading branch information