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