Skip to content

Change requirement to manual#14693

Merged
Mab879 merged 1 commit intoComplianceAsCode:masterfrom
jan-cerny:root_path
May 4, 2026
Merged

Change requirement to manual#14693
Mab879 merged 1 commit intoComplianceAsCode:masterfrom
jan-cerny:root_path

Conversation

@jan-cerny
Copy link
Copy Markdown
Collaborator

The requirement should be applicable for Hummingbird. However, there is a problem if a container image is scanned. The reason is the OVAL check reads the $PATH environment variable of the current process from /proc. When using oscap-podman this OVAL works, because oscap-podman creates a container first if an image is given and containers contain /proc. But, when using openscap container, when a container image is mounted to the openscap container, no /proc is present in the mounted filesystem. Unfortunately, there is no easy way how to detect the $PATH from mounted configuration files, so we will keep the requirement as manual.

The requirement should be applicable for Hummingbird. However, there
is a problem if a container image is scanned. The reason is the OVAL
check reads the $PATH environment variable of the current process
from /proc. When using oscap-podman this OVAL works, because
oscap-podman creates a container first if an image is given and
containers contain /proc. But, when using openscap container, when
a container image is mounted to the openscap container, no /proc is
present in the mounted filesystem. Unfortunately, there is no easy
way how to detect the $PATH from mounted configuration files, so we
will keep the requirement as manual.
@jan-cerny jan-cerny added this to the 0.1.81 milestone May 4, 2026
@jan-cerny jan-cerny added the Hummingbird Hummingbird project or container images related label May 4, 2026
@Mab879 Mab879 self-assigned this May 4, 2026
@Mab879 Mab879 merged commit e2e03e9 into ComplianceAsCode:master May 4, 2026
64 of 68 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Hummingbird Hummingbird project or container images related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants