48 lines
1.2 KiB
YAML
48 lines
1.2 KiB
YAML
---
|
|
|
|
{{ if .Vars.ubtu24cis_level_2 }}
|
|
{{ if .Vars.ubtu24cis_rule_6_2_3_17 }}
|
|
command:
|
|
chacl_module_cnf:
|
|
title: 6.2.3.17 | Ensure successful and unsuccessful attempts to use the chacl command are recorded | Config
|
|
exec: grep chacl /etc/audit/rules.d/*.rules
|
|
exit-status: 0
|
|
stdout:
|
|
- '/-a always,exit -F path=/usr/bin/chacl -F perm=x -F auid>=1000 -F auid!=(unset|4294967295|-1) -k perm_chng/'
|
|
meta:
|
|
server: 2
|
|
workstation: 2
|
|
CIS_ID:
|
|
- 6.2.3.17
|
|
CISv8:
|
|
- 8.2
|
|
CISv8_IG1: true
|
|
CISv8_IG2: true
|
|
CISv8_IG3: true
|
|
NIST800-53R5:
|
|
- AU-2
|
|
- AU-12
|
|
- SI-5
|
|
chacl_module_live:
|
|
title: 6.2.3.17 | Ensure successful and unsuccessful attempts to use the chacl command are recorded | Live
|
|
exec: auditctl -l | grep chacl
|
|
exit-status: 0
|
|
stdout:
|
|
- '/-a always,exit -S all -F path=/usr/bin/chacl -F perm=x -F auid>=1000 -F auid!=(unset|4294967295|-1) -F key=perm_chng/'
|
|
meta:
|
|
server: 2
|
|
workstation: 2
|
|
CIS_ID:
|
|
- 6.2.3.17
|
|
CISv8:
|
|
- 8.5
|
|
CISv8_IG1: true
|
|
CISv8_IG2: true
|
|
CISv8_IG3: true
|
|
NIST800-53R5:
|
|
- AU-2
|
|
- AU-12
|
|
- SI-5
|
|
{{ end }}
|
|
{{ end }}
|