Skip to content

Commit

Permalink
Stop changing permissions on files (#1119)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jovial authored Jul 12, 2024
1 parent d21fbb8 commit 0d1dfe2
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion etc/kayobe/inventory/group_vars/overcloud/cis
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,22 @@ ubtu22cis_sshd:
deny_users: ""
deny_groups: ""

# Do not change /var/lib/docker permissions
# Stop the CIS benchmark scanning all files on every filesystem since this
# takes a long time. Related to the changing permissions block below. This
# would normally warn you about violations, but we can use Wazuh to continually
# monitor this.
ubtu22cis_rule_6_1_9: false
ubtu22cis_rule_6_1_10: false
ubtu22cis_rule_6_1_11: false
ubtu22cis_rule_6_1_12: false
ubtu22cis_rule_6_1_13: false

# The following rules change permissions on all files on every mounted
# filesystem. We do not want to change /var/lib/docker permissions.
ubtu22cis_no_group_adjust: false
ubtu22cis_no_owner_adjust: false
ubtu22cis_no_world_write_adjust: false
ubtu22cis_suid_adjust: false

# Configure log rotation to prevent audit logs from filling the disk
ubtu22cis_auditd:
Expand Down

0 comments on commit 0d1dfe2

Please sign in to comment.