Skip to content

Commit f8ed8c1

Browse files
authored
Merge pull request #1180 from stackhpc/yoga-backports
yoga: Stop changing permissions on files in CIS
2 parents 9b9971d + 09d226c commit f8ed8c1

File tree

1 file changed

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

1 file changed

+30
-1
lines changed

etc/kayobe/inventory/group_vars/overcloud/cis

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,22 @@ rhel9cis_rule_5_3_4: false
6161
# Please double-check yourself with: sudo passwd -S root
6262
rhel9cis_rule_5_6_6: false
6363

64+
# Stop the CIS benchmark scanning all files on every filesystem since this
65+
# takes a long time. Related to the changing permissions block below. This
66+
# would normally warn you about violations, but we can use Wazuh to continually
67+
# monitor this.
68+
rhel9cis_rule_6_1_9: false
69+
rhel9cis_rule_6_1_10: false
70+
rhel9cis_rule_6_1_11: false
71+
rhel9cis_rule_6_1_12: false
72+
rhel9cis_rule_6_1_13: false
73+
rhel9cis_rule_6_1_14: false
74+
rhel9cis_rule_6_1_15: false
75+
76+
# The following rules change permissions on all files on every mounted
77+
# filesystem. We do not want to change /var/lib/docker permissions.
78+
rhel9cis_no_world_write_adjust: false
79+
6480
# Configure log rotation to prevent audit logs from filling the disk
6581
rhel9cis_auditd:
6682
space_left_action: syslog
@@ -145,9 +161,22 @@ ubtu22cis_sshd:
145161
deny_users: ""
146162
deny_groups: ""
147163

148-
# 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.
149176
ubtu22cis_no_group_adjust: false
150177
ubtu22cis_no_owner_adjust: false
178+
ubtu22cis_no_world_write_adjust: false
179+
ubtu22cis_suid_adjust: false
151180

152181
# Configure log rotation to prevent audit logs from filling the disk
153182
ubtu22cis_auditd:

0 commit comments

Comments
 (0)