-
Notifications
You must be signed in to change notification settings - Fork 719
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Update STIG id of grub2_password #5986
Update STIG id of grub2_password #5986
Conversation
Skipping CI for Draft Pull Request. |
Changes identified: Recommended tests to execute: |
What is the correct way to handle configure grub passwords? Obviously, there are multiple ways to configure, but we need to define the 1 correct way of checking this. So, if user.cfg is the correct way, creating a new rule rather than fixing the broken one probably isn't the correct way. |
Actually both ways are correct. The thing is that one check is applicable only to RHEL < 7.2 and the other to RHEL >= 7.2. One quick way to solve this would be to add both STIG ID to the same rule and that would be it. Update1: Build system doesn't allow to have multiple STIG IDs assigned to the same rule. |
As we are now at RHEL 7.9, let's fix this for RHEL >= 7.2. |
The current rule already checks for RHEL >= 7.2 configuration, but also for RHEL < 7.2. The selected STIG ID is from the item that is RHEL < 7.2. So the proposal can be just to change the STIG ID to reference the item which covers RHEL >= 7.2. |
/test all |
Sounds good. Should also do a spot check to verify that the rule.yml is correct for RHEL >= 7.2 |
/retest |
ac42ab3
to
824004f
Compare
The only needed change was to update the STIG id. Tests scenarios already cover correctness of rule for RHEL >= 7.2. |
@ggbecker: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Description:
- Since v2r1, RHEL7 STIG has a specific item to check for theGRUB2_PASSWORD
in/boot/grub2/user.cfg
(V-81005). So far we have this check embedded with thegrub2_password
rule from V-71961, the ideia here is to open the discussion if we should split into two separate rules.grub2_password
to match STIG item that is RHEL >= 7.2 only (V-81005).Similarly this apply for the UEFI related rules.