mirror of
https://github.com/ansible-lockdown/RHEL9-CIS-Audit.git
synced 2026-06-01 18:40:41 +00:00
bd3316b71a
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
22 lines
517 B
YAML
22 lines
517 B
YAML
{{ if .Vars.run_heavy_tests }}
|
|
{{ if .Vars.rhel9cis_rule_6_1_12 }}
|
|
command:
|
|
unowned_dirs:
|
|
title: 6.1.12 | Ensure no unowned files or directories exist
|
|
exec: "df --local -P | awk {'if (NR!=1) print $6'} | xargs -I '{}' find '{}' -xdev -nouser"
|
|
exit-status: 0
|
|
timeout: {{ .Vars.timeout_ms }}
|
|
stdout:
|
|
- '!/.*/'
|
|
meta:
|
|
server: 1
|
|
workstation: 1
|
|
CIS_ID:
|
|
- 6.1.12
|
|
CISv8: 3.3
|
|
CISv8_IG1: true
|
|
CISv8_IG2: true
|
|
CISv8_IG3: true
|
|
{{ end }}
|
|
{{ end }}
|