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

Fix RHEL 10 ISM profile fails in Image Mode #12836

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

jan-cerny
Copy link
Collaborator

The rules audit_access_failed and audit_access_success fail in the scan of a RHEL 10 Image Mode system hardened with ISM profiles. The reason is that the profiles don't install the audit RPM package required by these rules to work and at the same time the audit RPM package isn't part of the rhel10-bootc base image. This is similar to this PR but it fixed only RHEL 9: #12670

The rules `audit_access_failed` and `audit_access_success`
fail in the scan of a RHEL 10 Image Mode system hardened with ISM
profiles. The reason is that the profiles don't install the `audit`
RPM package required by these rules to work and at the same time
the `audit` RPM package isn't part of the rhel10-bootc base image.
This is similar to this PR but it fixed only RHEL 9:
ComplianceAsCode#12670
@jan-cerny jan-cerny added Update Profile Issues or pull requests related to Profiles updates. RHEL10 Red Hat Enterprise Linux 10 product related. Image Mode Bootable containers and Image Mode RHEL labels Jan 16, 2025
@jan-cerny jan-cerny added this to the 0.1.76 milestone Jan 16, 2025
Copy link

Start a new ephemeral environment with changes proposed in this pull request:

Fedora Environment
Open in Gitpod

Oracle Linux 8 Environment
Open in Gitpod

Copy link

codeclimate bot commented Jan 16, 2025

Code Climate has analyzed commit c6351d4 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 61.9% (0.0% change).

View more on Code Climate.

@Mab879 Mab879 self-assigned this Jan 16, 2025
@Mab879 Mab879 merged commit 5f731a9 into ComplianceAsCode:master Jan 16, 2025
109 checks passed
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 RHEL10 Red Hat Enterprise Linux 10 product related. Update Profile Issues or pull requests related to Profiles updates.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants