mirror of
https://github.com/ansible-lockdown/RHEL9-CIS-Audit.git
synced 2026-06-03 03:22:17 +00:00
updated deprecated warnings
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
@@ -22,7 +22,7 @@ file:
|
||||
/etc/selinux/config:
|
||||
title: 1.6.1.5 | Ensure the SELinux mode is enforcing | config
|
||||
exists: true
|
||||
contains:
|
||||
contents:
|
||||
- '/^SELINUX( |)=( |)enforcing/'
|
||||
meta:
|
||||
server: 2
|
||||
|
||||
@@ -9,7 +9,7 @@ file:
|
||||
mode: "0644"
|
||||
owner: root
|
||||
group: root
|
||||
contains:
|
||||
contents:
|
||||
- '!/[Cc]ent[Oo][Ss].*/'
|
||||
- '!/[Rr]hel.*/'
|
||||
- '!/[Rr]ed[Hh]at.*/'
|
||||
@@ -40,7 +40,7 @@ file:
|
||||
mode: "0644"
|
||||
owner: root
|
||||
group: root
|
||||
contains:
|
||||
contents:
|
||||
- '!/[Cc]ent[Oo][Ss].*/'
|
||||
- '!/[Rr]hel.*/'
|
||||
- '!/[Rr]ed[Hh]at.*/'
|
||||
@@ -72,7 +72,7 @@ file:
|
||||
mode: "0644"
|
||||
owner: root
|
||||
group: root
|
||||
contains:
|
||||
contents:
|
||||
- '!/[Cc]ent[Oo][Ss].*/'
|
||||
- '!/[Rr]hel.*/'
|
||||
- '!/[Rr]ed[Hh]at.*/'
|
||||
|
||||
@@ -3,7 +3,7 @@ file:
|
||||
/etc/rsyslog.conf:
|
||||
title: 4.2.1.5 | Ensure logging is configured
|
||||
exists: true
|
||||
contains:
|
||||
contents:
|
||||
- '/^\*.emerg\s+:omusrmsg:\*/'
|
||||
- '/auth,authpriv.\*\s+/var/log/secure/'
|
||||
- '/^mail.\*\s+-/var/log/mail/'
|
||||
|
||||
Reference in New Issue
Block a user