`oscap xccdf eval` against your RHEL 9 hosts reports almost every rule as `notapplicable`
IntermediateTroubleshootingDAST, runtime detection and compliance scans
Answer
Likely causes → You used the wrong SCAP datastream (for example ssg-rhel8-ds.xml on RHEL 9), so the CPE platform checks do not match. Running inside a container instead of on the host does the same.
Diagnose →
cat /etc/os-release
oscap info /usr/share/xml/scap/ssg/content/ssg-rhel9-ds.xml | grep -i profile
Fix →
oscap xccdf eval --profile xccdf_org.ssgproject.content_profile_cis \
--results results.xml --report report.html \
/usr/share/xml/scap/ssg/content/ssg-rhel9-ds.xml
Prevent → Pin the datastream to the OS version in automation, and fail the job if the notapplicable count is high.
More on DAST, runtime detection and compliance scans
The ZAP baseline scan of your React SPA finishes in 40 seconds with only header warnings and no real findingsIntermediateThe authenticated ZAP full scan only ever tests the login page and `/logout`, and the report shows mostly `302` responsesIntermediate`zap-baseline.py` fails the pipeline with exit code 2 even though the report has no high-risk alertsBeginnerThe DAST job reports nothing, and its log shows mostly `403` and `429` responsesBeginnerAn active DAST scan against staging created 12,000 junk records and sent password-reset emails to real customer addresses copied from prodIntermediateNuclei runs in CI against staging and reports nothing for a known exposed `/.git/config`Beginner