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

Change applicability of RPM verification rules #12664

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

jan-cerny
Copy link
Collaborator

This commit changes applicability of rules in the rpm_verification group, ie. rpm_verify_hashes, rpm_verify_ownership, rpm_verify_permissions. These rules will not be applicable on bootable containers - both during the image build and on the running RHEL Image Mode systems. The reason is a large difference in permissions and hashes caused by rpm-ostree.

This commit changes applicability of rules in the `rpm_verification`
group, ie. `rpm_verify_hashes`, `rpm_verify_ownership`,
`rpm_verify_permissions`. These rules will not be applicable on
bootable containers - both during the image build and on the
running RHEL Image Mode systems. The reason is a large difference
in permissions and hashes caused by `rpm-ostree`.
@jan-cerny jan-cerny added the Image Mode Bootable containers and Image Mode RHEL label Dec 3, 2024
@jan-cerny jan-cerny added this to the 0.1.76 milestone Dec 3, 2024
Copy link

github-actions bot commented Dec 3, 2024

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 Dec 3, 2024

Code Climate has analyzed commit 20391db 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 60.9% (0.0% change).

View more on Code Climate.

@Mab879 Mab879 self-assigned this Dec 3, 2024
Copy link
Member

@Mab879 Mab879 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Mab879 Mab879 merged commit c8baf7a into ComplianceAsCode:master Dec 3, 2024
105 of 106 checks passed
@jan-cerny jan-cerny deleted the rpm_verification branch December 4, 2024 10:20
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