7 Scanning Container Images and Containers
To scan containers or container images, use the oscap-podman
command. The oscap-podman
command assesses vulnerabilities in the container or image and checks compliance with security policies similarly to the oscap
command. The tool uses offline scanning to perform all assessments and checks by performing a temporary read-only mount of the container or image file system. No changes are made to the container or image and no other tools are required within the container or image.
See the oscap-podman(8)
manual page for
more information.