Skip to content

Commit 16769f3

Browse files
committed
Stop changing permissions on files
These are causing changes to docker overlay filesystems with possible unintended consequences. It is also really slow to loop through so many files in ansible.
1 parent d18dbe4 commit 16769f3

File tree

1 file changed

+14
-1
lines changed
  • etc/kayobe/inventory/group_vars/overcloud

1 file changed

+14
-1
lines changed

etc/kayobe/inventory/group_vars/overcloud/cis

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,22 @@ ubtu22cis_sshd:
115115
deny_users: ""
116116
deny_groups: ""
117117

118-
# Do not change /var/lib/docker permissions
118+
# Stop the CIS benchmark scanning all files on every filesystem since this
119+
# takes a long time. Related to the changing permissions block below. This
120+
# would normally warn you about violations, but we can use Wazuh to continually
121+
# monitor this.
122+
ubtu22cis_rule_6_1_9: false
123+
ubtu22cis_rule_6_1_10: false
124+
ubtu22cis_rule_6_1_11: false
125+
ubtu22cis_rule_6_1_12: false
126+
ubtu22cis_rule_6_1_13: false
127+
128+
# The following rules change permissions on all files on every mounted
129+
# filesystem. We do not want to change /var/lib/docker permissions.
119130
ubtu22cis_no_group_adjust: false
120131
ubtu22cis_no_owner_adjust: false
132+
ubtu22cis_no_world_write_adjust: false
133+
ubtu22cis_suid_adjust: false
121134

122135
# Configure log rotation to prevent audit logs from filling the disk
123136
ubtu22cis_auditd:

0 commit comments

Comments
 (0)