Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

jan-cerny
Copy link
Collaborator

GRUB 2 unified UEFI and non-UEFI configuration path to /boot/grub2. There are 2 groups of almost identical rules which differ only by configuration pathL
linux_os/guide/system/bootloader-grub2/uefi and
linux_os/guide/system/bootloader-grub2/non-uefi.
After the unification, only rules from the second group should be used.

The unselection of the rules from the other group was completed in past. However, we discovered one omission in RHEL 9 ANSSI profiles. Some rule were unselected in ANSSI enhanced profile, but they weren't unselected in ANSSI high profile. The ANSSI high profile is supposed to inherit from ANSSI enhanced profile. These rules come from R29 which is part of enhanced level.

Moreover, the rule grub2_uefi_password is also a logical duplicate of grub2_password and should be removed on RHEL 9.

GRUB 2 unified UEFI and non-UEFI configuration path to
/boot/grub2. There are 2 groups of almost identical
rules which differ only by configuration pathL
linux_os/guide/system/bootloader-grub2/uefi and
linux_os/guide/system/bootloader-grub2/non-uefi.
After the unification, only rules from the second group should
be used.

The unselection of the rules from the other group was completed in past.
However, we discovered one omission in RHEL 9 ANSSI profiles. Some rule
were unselected in ANSSI enhanced profile, but they weren't unselected
in ANSSI high profile. The ANSSI high profile is supposed to inherit
from ANSSI enhanced profile. These rules come from R29 which is part of
enhanced level.

Moreover, the rule grub2_uefi_password is also a logical duplicate
of grub2_password and should be removed on RHEL 9.
@jan-cerny jan-cerny added this to the 0.1.78 milestone Jun 18, 2025
@jan-cerny jan-cerny requested a review from a team as a code owner June 18, 2025 14:54
@jan-cerny jan-cerny added RHEL9 Red Hat Enterprise Linux 9 product related. Update Profile Issues or pull requests related to Profiles updates. ANSSI ANSSI Benchmark related. labels Jun 18, 2025
Copy link

Code Climate has analyzed commit 933db42 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 Jun 18, 2025
@Mab879 Mab879 merged commit 729c18e into ComplianceAsCode:master Jun 18, 2025
128 of 130 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ANSSI ANSSI Benchmark related. RHEL9 Red Hat Enterprise Linux 9 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