26 lines
476 B
YAML
26 lines
476 B
YAML
---
|
|
|
|
{{ if .Vars.ubtu24cis_level_1 }}
|
|
{{ if .Vars.ubtu24cis_rule_7_2_4 }}
|
|
file:
|
|
shadow_group_empty:
|
|
title: 7.2.4 | Ensure shadow group is empty
|
|
path: /etc/group
|
|
exists: true
|
|
contents:
|
|
- '/^shadow:x:\d{2,}:$/'
|
|
- '!/^shadow:x:\d{2,}:./'
|
|
meta:
|
|
server: 1
|
|
workstation: 1
|
|
CIS_ID:
|
|
- 7.2.4
|
|
CISv8: 3.3
|
|
CISv8_IG1: true
|
|
CISv8_IG2: true
|
|
CISv8_IG3: true
|
|
NIST800-53R5:
|
|
- IA-5
|
|
{{ end }}
|
|
{{ end }}
|