Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oscap-podman requires root and cannot check non-root containers #2019

Open
belonesox opened this issue Sep 2, 2023 · 0 comments
Open

oscap-podman requires root and cannot check non-root containers #2019

belonesox opened this issue Sep 2, 2023 · 0 comments

Comments

@belonesox
Copy link

oscap-podman requires root and cannot check non-root containers.

Description of Problem:

  • We have to check non-root podman container.
  • oscap-podman requires root. «This script cannot run in rootless mode».
  • sudo oscap-podman <CONTAINER-NAME> <args> of course does not see target container from non-root user.

Bug or Feature? Is there any workaround to check non-root container without installing oscap inside?

OpenSCAP Version:

openscap-1.3.8-1.fc37.x86_64
openscap-scanner-1.3.8-1.fc37.x86_64
openscap-utils-1.3.8-1.fc37.x86_64

Operating System & Version:

  • Fedora Core FC37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant