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

Extend oscap-bootc to install SCE dependencies #2171

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

matusmarhefka
Copy link
Member

Some SCE checks which are used instead of OVAL checks when building a bootable container require additional packages. This commit introduces install_sce_dependencies function in oscap-bootc script which will handle their installation.

This is related to ComplianceAsCode/content#12564

Marking it as a draft as I am not sure if this is the best solution. Maybe it would be better to make packages which are required by SCE checks as dependencies of openscap-utils RPM or even scap-security-guide RPM.

Some SCE checks which are used instead of OVAL checks
when building a bootable container require additional
packages. This commit introduces `install_sce_dependencies`
function in `oscap-bootc` script which will handle their
installation.
@matusmarhefka matusmarhefka added the Image Mode Bootable containers and Image Mode RHEL label Nov 1, 2024
@matusmarhefka matusmarhefka marked this pull request as ready for review November 4, 2024 10:04
@jan-cerny jan-cerny added this to the 1.3.11 milestone Nov 4, 2024
@jan-cerny jan-cerny merged commit a7eb860 into OpenSCAP:maint-1.3 Nov 4, 2024
10 checks passed
@matusmarhefka matusmarhefka deleted the bootc_sebool_sce branch November 4, 2024 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Image Mode Bootable containers and Image Mode RHEL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants