File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
etc/kayobe/inventory/group_vars/cis-hardening Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,9 @@ rhel9cis_rule_6_1_15: false
5151# filesystem. We do not want to change /var/lib/docker permissions.
5252rhel9cis_no_world_write_adjust: false
5353
54+ # Prevent hardening from recursivley changing permissions on log files
55+ rhel9cis_rule_4_2_3: false
56+
5457# Configure log rotation to prevent audit logs from filling the disk
5558rhel9cis_auditd:
5659 space_left_action: syslog
@@ -153,6 +156,9 @@ ubtu22cis_no_owner_adjust: false
153156ubtu22cis_no_world_write_adjust: false
154157ubtu22cis_suid_adjust: false
155158
159+ # Prevent hardening from recursivley changing permissions on log files
160+ ubtu22cis_rule_4_2_3: false
161+
156162# Configure log rotation to prevent audit logs from filling the disk
157163ubtu22cis_auditd:
158164 action_mail_acct: root
Original file line number Diff line number Diff line change 1+ ---
2+ fixes :
3+ - |
4+ The CIS hardening scripts no longer change permissions of log files by
5+ default. It is preferred to configure these permissions at source i.e on
6+ whatever is creating the files. It also suffered from a time-of-check to
7+ time-of-use race condition. If you want the old behaviour you can change
8+ ``rhel9cis_rule_4_2_3`` and/or ``ubtu22cis_rule_4_2_3`` to ``true``.
You can’t perform that action at this time.
0 commit comments