updated deprecated warnings

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell
2023-09-18 13:56:32 +01:00
parent f7beb1f1f4
commit 1b5cadf04b
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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
+3 -3
View File
@@ -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.*/'
+1 -1
View File
@@ -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/'