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
51
51
# filesystem. We do not want to change /var/lib/docker permissions.
52
52
rhel9cis_no_world_write_adjust: false
53
53
54
+ # Prevent hardening from recursivley changing permissions on log files
55
+ rhel9cis_rule_4_2_3: false
56
+
54
57
# Configure log rotation to prevent audit logs from filling the disk
55
58
rhel9cis_auditd:
56
59
space_left_action: syslog
@@ -153,6 +156,9 @@ ubtu22cis_no_owner_adjust: false
153
156
ubtu22cis_no_world_write_adjust: false
154
157
ubtu22cis_suid_adjust: false
155
158
159
+ # Prevent hardening from recursivley changing permissions on log files
160
+ ubtu22cis_rule_4_2_3: false
161
+
156
162
# Configure log rotation to prevent audit logs from filling the disk
157
163
ubtu22cis_auditd:
158
164
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