Update RHEL 9 CCN profile#14321
Merged
Mab879 merged 8 commits intoComplianceAsCode:masterfrom Jan 23, 2026
Merged
Conversation
Note that I used the default variable which enforces at least some text. The previous value allowed /etc/motd to be empty.
Mab879
reviewed
Jan 22, 2026
| notes: |- | ||
| Related to nosuid, noexec and nodev options but in /boot. More context is needed. | ||
| status: automated | ||
| rules: |
Member
There was a problem hiding this comment.
Do we also need to check /boot/efi as well. The PDF says we do. If we not checking /boot/efi we should add a note about why.
Collaborator
Author
There was a problem hiding this comment.
ACtually I Google translated the guide and it seems /boot/efi should be checked as well. We have only one rule, I added it and I also added a note. I think this should be investigated separately, because I find it suspicious that we do not have other rules... maybe they do not make sense?
ATEX Test ResultsTest artifacts have been submitted to Testing Farm. Results: View Test Results This comment was automatically generated by the ATEX workflow. |
add note that we do not currently have more rules regarding /boot/efi
Mab879
approved these changes
Jan 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
Note that I deliberately did not add one rule to the control; mount_option_boot_noauto. This rule has some problem and it needs more investigation.
Rationale:
The profile can be found here: https://www.ccn-cert.cni.es/es/guias-de-acceso-publico-ccn-stic/6768-ccn-stic-610a22-perfilado-de-seguridad-red-hat-enterprise-linux-9-0/file.html
The guide references some configuration scripts. They can be founnd here: https://www.ccn-cert.cni.es/pdf/guias/series-ccn-stic/guias-de-acceso-publico-ccn-stic/6771-ccn-stic-610a22-perfilado-de-seguridad-red-hat-enterprise-linux-9-0-script.html
Please note that our rules configure some features differently than official CCN scripts, for example some parameters for faillock are configured in /etc/security/faillock.conf instead of files within the /etc/pam.d directory.
Review Hints:
Review changes against the CCN. Test the profile through Automatus or Autocontest.