-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstandalone_goss.yml
93 lines (82 loc) · 2.23 KB
/
standalone_goss.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
gossfile:
# Test if reboot requires
prereq_check/*.yml: {}
# Section 1 Account and Password
{{ if .Vars.is_standalone }}
{{ if .Vars.win2016cis_section_1 }}
standalone_checks/section_1/cis_1.1/*.yml: {}
standalone_checks/section_1/cis_1.2/*.yml: {}
{{ end}}
# Section 2 Local Policies
{{ if .Vars.win2016cis_section_2 }}
standalone_checks/section_2/cis_2.2/*.yml: {}
standalone_checks/section_2/cis_2.3/*.yml: {}
{{ end }}
# Section 9 - Firewalls
{{ if .Vars.win2016cis_section_9 }}
# Domain Firewall
{{ if .Vars.win2016_use_domain_firewall }}
standalone_checks/section_9/cis_9.1/*.yml: {}
{{ end }}
# Private Firewall
{{ if .Vars.win2016_use_private_firewall }}
standalone_checks/section_9/cis_9.2/*.yml: {}
{{ end }}
# Public Firewall
{{ if .Vars.win2016_use_public_firewall }}
standalone_checks/section_9/cis_9.3/*.yml: {}
{{ end }}
{{ end }}
# Section 17
{{ if .Vars.win2016cis_section_17 }}
standalone_checks/section_17/cis_*/*.yml: {}
{{ end }}
# Section 18
{{ if .Vars.win2016cis_section_18 }}
standalone_checks/section_18/cis_*/*.yml: {}
{{ end }}
# Section 19
{{ if .Vars.win2016cis_section_19 }}
standalone_checks/section_19/cis_*/*.yml: {}
{{ end }}
{{ end }}
### Not Standalone servers
# Section 1 Account and Password
{{ if not .Vars.is_standalone }}
{{ if .Vars.win2016cis_section_1 }}
section_1/cis_1.1/*.yml: {}
section_1/cis_1.2/*.yml: {}
{{ end}}
# Section 2 Local Policies
{{ if .Vars.win2016cis_section_2 }}
section_2/cis_2.2/*.yml: {}
section_2/cis_2.3/*.yml: {}
{{ end }}
# Section 9 - Firewalls
{{ if .Vars.win2016cis_section_9 }}
# Domain Firewall
{{ if .Vars.win2016_use_domain_firewall }}
section_9/cis_9.1/*.yml: {}
{{ end }}
# Private Firewall
{{ if .Vars.win2016_use_private_firewall }}
section_9/cis_9.2/*.yml: {}
{{ end }}
# Public Firewall
{{ if .Vars.win2016_use_public_firewall }}
section_9/cis_9.3/*.yml: {}
{{ end }}
{{ end }}
# Section 17
{{ if .Vars.win2016cis_section_17 }}
section_17/cis_*/*.yml: {}
{{ end }}
# Section 18
{{ if .Vars.win2016cis_section_18 }}
section_18/cis_*/*.yml: {}
{{ end }}
# Section 19
{{ if .Vars.win2016cis_section_19 }}
section_19/cis_*/*.yml: {}
{{ end }}
{{ end }}