Skip to content

Commit 09d226c

Browse files
jovialmarkgoddard
authored andcommitted
Stop changing permissions on files (#1119)
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. (cherry picked from commit 0d1dfe2)
1 parent 4dc1926 commit 09d226c

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
@@ -161,9 +161,22 @@ ubtu22cis_sshd:
161161
deny_users: ""
162162
deny_groups: ""
163163

164-
# Do not change /var/lib/docker permissions
164+
# Stop the CIS benchmark scanning all files on every filesystem since this
165+
# takes a long time. Related to the changing permissions block below. This
166+
# would normally warn you about violations, but we can use Wazuh to continually
167+
# monitor this.
168+
ubtu22cis_rule_6_1_9: false
169+
ubtu22cis_rule_6_1_10: false
170+
ubtu22cis_rule_6_1_11: false
171+
ubtu22cis_rule_6_1_12: false
172+
ubtu22cis_rule_6_1_13: false
173+
174+
# The following rules change permissions on all files on every mounted
175+
# filesystem. We do not want to change /var/lib/docker permissions.
165176
ubtu22cis_no_group_adjust: false
166177
ubtu22cis_no_owner_adjust: false
178+
ubtu22cis_no_world_write_adjust: false
179+
ubtu22cis_suid_adjust: false
167180

168181
# Configure log rotation to prevent audit logs from filling the disk
169182
ubtu22cis_auditd:

0 commit comments

Comments
 (0)