openscap
openscap copied to clipboard
oscap-ssh does not support --stig-viewer option
Description of Problem:
oscap-ssh does not support --stig-viewer option. When using this option to perform a remote scan of a system, it does not appear to produce a STIGViewer-compatible .xml output file, even when that output is specified.
OpenSCAP Version:
OpenSCAP command line tool (oscap) 1.2.17
Operating System & Version:
Red Hat Enterprise Linux 7.9, Red Hat Enterprise Linux 8.9
Steps to Reproduce:
- Run oscap-ssh with --stig-viewer option:
sudo oscap-ssh [email protected] 22 xccdf eval --profile xccdf_org.ssgproject.content_profile_stig --stig-viewer oscap-report.xml /usr/share/xml/scap/ssg/content/ssg-rhel8-ds.xml
- Search file systems of source and target system for STIGViewer-compatible file
sudo find / -name oscap-report.xml