Skip to content

Commit ef96aa2

Browse files
committed
Stop changing permissions on files on Rocky 9
A similar change was made for Ubuntu systems in #1119, but it did not apply to Rocky 9 systems. This changes brings the two into line.
1 parent cc35b09 commit ef96aa2

File tree

1 file changed

+16
-0
lines changed
  • etc/kayobe/inventory/group_vars/cis-hardening

1 file changed

+16
-0
lines changed

etc/kayobe/inventory/group_vars/cis-hardening/cis

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,22 @@ rhel9cis_rule_5_3_4: false
3535
# Please double-check yourself with: sudo passwd -S root
3636
rhel9cis_rule_5_6_6: false
3737

38+
# Stop the CIS benchmark scanning all files on every filesystem since this
39+
# takes a long time. Related to the changing permissions block below. This
40+
# would normally warn you about violations, but we can use Wazuh to continually
41+
# monitor this.
42+
rhel9cis_rule_6_1_9: false
43+
rhel9cis_rule_6_1_10: false
44+
rhel9cis_rule_6_1_11: false
45+
rhel9cis_rule_6_1_12: false
46+
rhel9cis_rule_6_1_13: false
47+
rhel9cis_rule_6_1_14: false
48+
rhel9cis_rule_6_1_15: false
49+
50+
# The following rules change permissions on all files on every mounted
51+
# filesystem. We do not want to change /var/lib/docker permissions.
52+
rhel9cis_no_world_write_adjust: false
53+
3854
# Configure log rotation to prevent audit logs from filling the disk
3955
rhel9cis_auditd:
4056
space_left_action: syslog

0 commit comments

Comments
 (0)