openscap icon indicating copy to clipboard operation
openscap copied to clipboard

oscap-ssh does not support --stig-viewer option

Open jlk6wu opened this issue 9 months ago • 0 comments

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:

  1. 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

  1. Search file systems of source and target system for STIGViewer-compatible file

sudo find / -name oscap-report.xml

Actual Results: No file found

Expected Results: oscap-report.xml exists and is compatible for import in STIGViewer

Additional Information / Debugging Steps:

jlk6wu avatar Apr 30 '24 15:04 jlk6wu