UBUNTU24-CIS-Audit/section_7/cis_7.2/cis_7.2.2.yml

25 lines
460 B
YAML

---
{{ if .Vars.ubtu24cis_level_1 }}
{{ if .Vars.ubtu24cis_rule_7_2_2 }}
file:
passwd_fields_not_empty_shadow:
title: 7.2.2 | Ensure password fields are not empty
path: /etc/shadow
exists: true
contents:
- '!/^*.[a-z]::/'
meta:
server: 1
workstation: 1
CIS_ID:
- 7.2.2
CISv8: 5.2
CISv8_IG1: true
CISv8_IG2: true
CISv8_IG3: true
NIST800-53R5:
- IA-5
{{ end }}
{{ end }}