When the scan is generated using the following command, how did you determine to select “stig” as the --profile option? When I run the “info” command on the ssg-rl8-ds.xml file, “stig” is not listed under profiles.
Youd look at the value after the profile section, so if you look at these
oscap info /usr/share/xml/scap/ssg/content/ssg-rl8-ds.xml
(trimmed for viewability)
Title: DISA STIG for Red Hat Enterprise Linux 8
Id: xccdf_org.ssgproject.content_profile_stig
Title: DISA STIG with GUI for Red Hat Enterprise Linux 8
Id: xccdf_org.ssgproject.content_profile_stig_gui
the part you cut off from that is following the profile_ in the Id: section, so the values are “stig” and “stig_gui” respectively. You should see a pretty big list of from info, if you arent you may have a bad /usr/share/xml/scap/ssg/content/ssg-rl8-ds.xml