-
Notifications
You must be signed in to change notification settings - Fork 1
/
standalone.yml
65 lines (59 loc) · 1.4 KB
/
standalone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
gossfile:
# Section 1
{{ if .Vars.deb12cis_section1 }}
section_1/*/*.yml: {}
{{ end }}
# Section 2
{{ if .Vars.deb12cis_section2 }}
# Special Services
section_2/cis_2.1/*.yml: {}
# Client Service
section_2/cis_2.2/*.yml: {}
# Time services
section_2/cis_2.3/*.yml: {}
# scheduling services
section_2/cis_2.4/*.yml: {}
{{ end }}
# Section 3
{{ if .Vars.deb12cis_section3 }}
section_3/cis_3.1/*.yml: {}
section_3/cis_3.2/*.yml: {}
section_3/cis_3.3/*.yml: {}
{{ end }}
# Section 4
{{ if .Vars.deb12cis_section4 }}
# If ufw firewall
{{ if eq .Vars.deb12cis_firewall_package "ufw" }}
section_4/cis_4.1/*.yml: {}
{{ end }}
# If nftables firewall
{{ if eq .Vars.deb12cis_firewall_package "nftables" }}
section_4/cis_4.2/*.yml: {}
{{ end }}
# If iptables firewall
{{ if eq .Vars.deb12cis_firewall_package "iptables" }}
section_4/cis_4.3/*.yml: {}
{{ end }}
{{ end }}
# Section 5
{{ if .Vars.deb12cis_section5 }}
section_5/*/*.yml: {}
{{ end }}
# Section 6
{{ if .Vars.deb12cis_section6 }}
# Aide
section_6/cis_6.1/*.yml: {}
# Auditd and level 2
# Journald
section_6/cis_6.2.*/*.yml: {}
# Auditd
{{ if .Vars.deb12cis_level_2 }}
{{ if .Vars.deb12cis_auditd }}
section_6/cis_6.3.*/*.yml: {}
{{ end }}
{{ end }}
{{ end }}
# Section 7
{{ if .Vars.deb12cis_section7 }}
section_7/cis_7.*/*.yml: {}
{{ end }}