-
Bug
-
Resolution: Unresolved
-
Undefined
-
rhel-9.4
-
None
-
No
-
None
-
rhel-sst-security-compliance
-
ssg_security
-
2
-
False
-
-
None
-
None
-
None
What were you trying to do that didn't work?
When building a bootc image, I run a STIG profile evaluation using oscap during the build, but all rules result is notapplicable.
This would be a big obstacle if I would like to run remediation.
Please provide the package NVR for which bug is seen:
openscap-1:1.3.10-2.el9_3.x86_64
scap-security-guide-0.1.73-1.el9_4.noarch
podman-5.2.0-1.fc40.x86_64
How reproducible:
deterministic
Steps to reproduce
- Create a Containerfile
- Run: podman build -t pokus .
Containerfile:
FROM rhel9/rhel-bootc
RUN dnf -y install scap-security-guide openscap-scanner
RUN oscap xccdf eval --profile stig --results-arf arf.xml /usr/share/xml/scap/ssg/content/ssg-rhel9-ds.xml
you can reproduce it on also Fedora hosts as the bug is in the container
Expected results
Rules that are applicable are evaluated with appropriate results ie pass or fail.
Actual results
All rules are evaluated as notapplicable.