Add service_kdump_disabled to RHEL 9 CCN profiles#14697
Merged
Mab879 merged 2 commits intoComplianceAsCode:masterfrom May 7, 2026
Merged
Add service_kdump_disabled to RHEL 9 CCN profiles#14697Mab879 merged 2 commits intoComplianceAsCode:masterfrom
Mab879 merged 2 commits intoComplianceAsCode:masterfrom
Conversation
it decreases vulnerability surfaces and disabling it removes confusing errors while booting after remediation
Arden97
approved these changes
May 7, 2026
Contributor
Arden97
left a comment
There was a problem hiding this comment.
Custom pipeline run shows that /scanning/boot-errors/ccn_advanced no longer triggers systemd-tmpfiles errors, mentioned in the issue.
|
@vojtapolasek: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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-sigs/prow repository. I understand the commands that are listed here. |
Mab879
approved these changes
May 7, 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:
service_kdump_disabledto the CCN RHEL 9 control file under requirementA.8.SEC-RHEL4("Unnecessary Services are Disabled, Reducing the Attack Surface").ccn_advancedandccn_intermediateprofiles to reflect the new rule selection.Rationale:
Disabling kdump reduces the attack surface by removing an unnecessary service. Kernel core dumps may contain the full contents of system memory and can exhaust disk space, causing denial of service. Additionally, leaving kdump enabled produces confusing errors during boot after remediation.
The rule uses the
service_disabledtemplate with medium severity and is already available for RHEL 9 (CCE-84232-8).Fixes Systemd-tmpfiles errors on RHEL 9 boot #14582
Review Hints:
./build_product --datastream-only rhel9service_kdump_disabledis templated (service_disabled), so no rule-specific test scenarios are needed.products/rhel9/controls/ccn_rhel9.yml— rule added underA.8.SEC-RHEL4tests/data/profile_stability/rhel9/ccn_advanced.profile— stability test updatedtests/data/profile_stability/rhel9/ccn_intermediate.profile— stability test updated