Closed
Description
Description of Problem:
When scanning an UBI 8 image using oscap-podman or oscap-docker, all rules are evaluated as notapplicable.
This problem has been discovered during a review of #1931 but isn't caused by that PR.
OpenSCAP Version:
openscap-1.3.7-1.fc37.x86_64
podman-4.3.1-1.fc37.x86_64
Operating System & Version:
F 37
Steps to Reproduce:
with oscap-podman:
- sudo podman pull registry.access.redhat.com/ubi8/ubi
- sudo oscap-podman registry.access.redhat.com/ubi8/ubi:latest xccdf eval --profile xccdf_org.ssgproject.content_profile_stig /usr/share/xml/scap/ssg/content/ssg-rhel8-ds.xml
with oscap-docker:
- sudo systemctl start podman
- sudo podman pull registry.access.redhat.com/ubi8/ubi
- sudo oscap-docker image registry.access.redhat.com/ubi8/ubi:latest xccdf eval --profile xccdf_org.ssgproject.content_profile_stig /usr/share/xml/scap/ssg/content/ssg-rhel8-ds.xml
Actual Results:
all rules are notapplicable
Expected Results:
some rules are applicable and evaluated
Additional Information / Debugging Steps:
[jcerny@thinkpad ~]$ sudo podman images registry.access.redhat.com/ubi8/ubi:latest
REPOSITORY TAG IMAGE ID CREATED SIZE
registry.access.redhat.com/ubi8/ubi latest 270f760d3d04 13 days ago 214 MB