UBUNTU24-CIS-Audit/section_6/cis_6.1.3.x/cis_6.1.3.4.yml

30 lines
639 B
YAML

---
{{ if .Vars.ubtu24cis_level_1 }}
{{ if .Vars.ubtu24cis_rule_6_1_3_4 }}
command:
perms_rsyslog_d:
title: 6.1.3.4 | Ensure rsyslog default file permissions configured
exec: 'grep -s ^\$FileCreateMode /etc/rsyslog.conf /etc/rsyslog.d/*.conf | cut -f2 -d:'
exit-status: 0
stdout:
- '/\$FileCreateMode 06[0-4]0/'
- '!/\$FileCreateMode 06[6-7][0-7]/'
meta:
server: 1
workstation: 1
CIS_ID:
- 6.1.3.4
CISv8:
- 3.3
- 8.2
CISv8_IG1: true
CISv8_IG2: true
CISv8_IG3: true
NIST800-53R5:
- AC-3
- AC-6
- MP-2
{{ end }}
{{ end }}