RHEL 9 STIG audit rules changes - #15000
Open
jan-cerny wants to merge 2 commits into
Open
Conversation
Create new rule `audit_rules_cron_execution` that aligns with RHEL 9 STIG requirement RHEL-09-654097 The requirement was updated in RHEL 9 STIG V2R9. The previous versions of STIG watched for modifications of `/etc/cron.d` `/var/spool/cron`. The V2R9 requires to watch any system call made by cron and requires to use different audit rules than the previous versions.
RHEL 9 rules that use the `audit_rules_watch` template will start using the "modern" style of audit watches. The reason for this change is that RHEL 9 STIG V2R9 started to use the "modern" style in their requirements. Also, RHEL 9 CIS Benchmark will switch to the "modern" style in the next release of the RHEL 9 CIS Benchmark.
|
Skipping CI for Draft Pull Request. |
jan-cerny
marked this pull request as ready for review
August 14, 2026 14:51
jan-cerny
requested review from
a team,
Mab879,
ggbecker,
marcusburghardt,
matusmarhefka and
vojtapolasek
as code owners
August 14, 2026 14:51
|
@jan-cerny: 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. |
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:
Create new rule audit_rules_cron_execution
Create new rule
audit_rules_cron_executionthat aligns with RHEL 9 STIG requirement RHEL-09-654097 The requirement was updated in RHEL 9 STIG V2R9. The previous versions of STIG watched for modifications of/etc/cron.d/var/spool/cron. The V2R9 requires to watch any system call made by cron and requires to use different audit rules than the previous versions.Change audit watches to "modern" style in RHEL 9
RHEL 9 rules that use the
audit_rules_watchtemplate will start using the "modern" style of audit watches.The reason for this change is that RHEL 9 STIG V2R9 started to use the "modern" style in their requirements. Also, RHEL 9 CIS Benchmark will switch to the "modern" style in the next release of the RHEL 9 CIS Benchmark.
Rationale:
Align RHEL 9 STIG profile with RHEL 9 DISA STIG V2R9 in these requirements:
RHEL-09-654097
RHEL-09-654215
RHEL-09-654220
RHEL-09-654225
RHEL-09-654230
RHEL-09-654235
RHEL-09-654240
RHEL-09-654245
RHEL-09-654250
RHEL-09-654255
Review Hints:
audit_rules_cron_executionaudit_rules_cron_executionpassed and if other audit rules passed as well.