Skip to content

Move RHEL-08-030610 to RHEL-09-653110 to use 0600 for audit files - #14991

Open
Mab879 wants to merge 1 commit into
ComplianceAsCode:masterfrom
Mab879:rhel_stig_audit_perms
Open

Move RHEL-08-030610 to RHEL-09-653110 to use 0600 for audit files#14991
Mab879 wants to merge 1 commit into
ComplianceAsCode:masterfrom
Mab879:rhel_stig_audit_perms

Conversation

@Mab879

@Mab879 Mab879 commented Aug 12, 2026

Copy link
Copy Markdown
Member

Description:

Created clone of file_permissions_etc_audit_auditd and file_permissions_audit_configuration to allow for 0600.

Rationale:

The way the rules where written required a separate rule as they were used in other profiles.

Dependent on #14986 and #14987

@Mab879 Mab879 added this to the 0.1.82 milestone Aug 12, 2026
@Mab879 Mab879 added RHEL Red Hat Enterprise Linux product related. New Rule Issues or pull requests related to new Rules. Update Profile Issues or pull requests related to Profiles updates. STIG STIG Benchmark related. labels Aug 12, 2026
@openshift-ci

openshift-ci Bot commented Aug 12, 2026

Copy link
Copy Markdown

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Used by openshift-ci bot. label Aug 12, 2026
@github-actions

github-actions Bot commented Aug 12, 2026

Copy link
Copy Markdown

This datastream diff is auto generated by the check Compare DS/Generate Diff

Click here to see the full diff
New content has different text for rule 'xccdf_org.ssgproject.content_rule_file_permissions_etc_audit_auditd'.
--- xccdf_org.ssgproject.content_rule_file_permissions_etc_audit_auditd
+++ xccdf_org.ssgproject.content_rule_file_permissions_etc_audit_auditd
@@ -14,15 +14,6 @@
 [reference]:
 SRG-OS-000063-GPOS-00032
 
-[reference]:
-RHEL-08-030610
-
-[reference]:
-SV-230471r1208750_rule
-
-[reference]:
-V-230471
-
 [rationale]:
 Without the capability to restrict the roles and individuals that can select which events
 are audited, unauthorized personnel may be able to prevent the auditing of critical

ansible remediation for rule 'xccdf_org.ssgproject.content_rule_file_permissions_etc_audit_auditd' differs.
--- xccdf_org.ssgproject.content_rule_file_permissions_etc_audit_auditd
+++ xccdf_org.ssgproject.content_rule_file_permissions_etc_audit_auditd
@@ -3,7 +3,6 @@
     manager: auto
   tags:
   - CCE-85871-2
-  - DISA-STIG-RHEL-08-030610
   - NIST-800-53-AU-12(b)
   - configure_strategy
   - file_permissions_etc_audit_auditd
@@ -19,7 +18,6 @@
   when: '"kernel-core" in ansible_facts.packages'
   tags:
   - CCE-85871-2
-  - DISA-STIG-RHEL-08-030610
   - NIST-800-53-AU-12(b)
   - configure_strategy
   - file_permissions_etc_audit_auditd
@@ -37,7 +35,6 @@
   - file_exists.stat is defined and file_exists.stat.exists
   tags:
   - CCE-85871-2
-  - DISA-STIG-RHEL-08-030610
   - NIST-800-53-AU-12(b)
   - configure_strategy
   - file_permissions_etc_audit_auditd

New content has different text for rule 'xccdf_org.ssgproject.content_rule_file_permissions_etc_audit_rulesd'.
--- xccdf_org.ssgproject.content_rule_file_permissions_etc_audit_rulesd
+++ xccdf_org.ssgproject.content_rule_file_permissions_etc_audit_rulesd
@@ -14,15 +14,6 @@
 [reference]:
 SRG-OS-000063-GPOS-00032
 
-[reference]:
-RHEL-08-030610
-
-[reference]:
-SV-230471r1208750_rule
-
-[reference]:
-V-230471
-
 [rationale]:
 Without the capability to restrict the roles and individuals that can select which events
 are audited, unauthorized personnel may be able to prevent the auditing of critical

ansible remediation for rule 'xccdf_org.ssgproject.content_rule_file_permissions_etc_audit_rulesd' differs.
--- xccdf_org.ssgproject.content_rule_file_permissions_etc_audit_rulesd
+++ xccdf_org.ssgproject.content_rule_file_permissions_etc_audit_rulesd
@@ -3,7 +3,6 @@
     manager: auto
   tags:
   - CCE-85875-3
-  - DISA-STIG-RHEL-08-030610
   - NIST-800-53-AU-12(b)
   - configure_strategy
   - file_permissions_etc_audit_rulesd
@@ -22,7 +21,6 @@
   when: '"kernel-core" in ansible_facts.packages'
   tags:
   - CCE-85875-3
-  - DISA-STIG-RHEL-08-030610
   - NIST-800-53-AU-12(b)
   - configure_strategy
   - file_permissions_etc_audit_rulesd
@@ -41,7 +39,6 @@
   when: '"kernel-core" in ansible_facts.packages'
   tags:
   - CCE-85875-3
-  - DISA-STIG-RHEL-08-030610
   - NIST-800-53-AU-12(b)
   - configure_strategy
   - file_permissions_etc_audit_rulesd

@github-actions

Copy link
Copy Markdown

Change in Ansible shell module found.

Please consider using more suitable Ansible module than shell if possible.

@Mab879
Mab879 force-pushed the rhel_stig_audit_perms branch from 498ee08 to 8335709 Compare August 12, 2026 20:51
@github-actions

Copy link
Copy Markdown

Change in Ansible shell module found.

Please consider using more suitable Ansible module than shell if possible.

@@ -0,0 +1,20 @@
srg_requirement: |-

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this rule has a RHEL 10 policy specific file does it need to be added to the RHEL 10 STIG control file?

references:
nist: AU-12(b)
srg: SRG-OS-000063-GPOS-00032
stigid@ol8: OL08-00-030610

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OL 8 STIG requires permissions 0640
https://stigaview.com/products/ol8/v2r9/OL08-00-030610/

@jan-cerny jan-cerny self-assigned this Aug 13, 2026
@Mab879
Mab879 force-pushed the rhel_stig_audit_perms branch from 8335709 to d258c5a Compare August 13, 2026 14:11
@Mab879
Mab879 marked this pull request as ready for review August 13, 2026 14:11
@openshift-ci openshift-ci Bot removed the do-not-merge/work-in-progress Used by openshift-ci bot. label Aug 13, 2026
@github-actions

Copy link
Copy Markdown

Change in Ansible shell module found.

Please consider using more suitable Ansible module than shell if possible.

@jan-cerny

Copy link
Copy Markdown
Member

/packit build

Created clone of file_permissions_etc_audit_auditd and
file_permissions_audit_configuration to allow for 0600.

The way the rules where written required a separate rule as they
were used in other profiles.
@Mab879
Mab879 force-pushed the rhel_stig_audit_perms branch from d258c5a to 9416eec Compare August 14, 2026 14:41
@github-actions

Copy link
Copy Markdown

Change in Ansible shell module found.

Please consider using more suitable Ansible module than shell if possible.

@openshift-ci

openshift-ci Bot commented Aug 14, 2026

Copy link
Copy Markdown

@Mab879: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-aws-openshift-platform-compliance 9416eec link true /test e2e-aws-openshift-platform-compliance
ci/prow/e2e-aws-openshift-node-compliance 9416eec link false /test e2e-aws-openshift-node-compliance

Full PR test history. Your PR dashboard.

Details

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-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

New Rule Issues or pull requests related to new Rules. RHEL Red Hat Enterprise Linux product related. STIG STIG Benchmark 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