forked from ansible-lockdown/RHEL8-CIS-Audit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
goss.yml
35 lines (35 loc) · 845 Bytes
/
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
gossfile:
{{ if .Vars.rhel8cis_section1 }}
section_1/*/*.yml: {}
{{ end }}
{{ if .Vars.rhel8cis_section2 }}
section_2/*/*.yml: {}
{{ end }}
{{ if .Vars.rhel8cis_section3 }}
section_3/*/*.yml: {}
{{ end }}
{{ if .Vars.rhel8cis_section4 }}
# Auditd and level 2
{{ if .Vars.rhel8cis_level_2 }}
{{ if .Vars.rhel8cis_auditd }}
section_4/cis_4.1/*.yml: {}
{{ end }}
{{ end }}
section_4/cis_4.2/*.yml: {}
{{ end }}
{{ if .Vars.rhel8cis_section5 }}
section_5/*/*.yml: {}
{{ end }}
{{ if .Vars.rhel8cis_section6 }}
section_6/*/*.yml: {}
{{ end }}
command:
output_meta:
title: Benchmark MetaData
exec: echo BenchMark MetaData
exit-status: 0
{{ range .Vars.rhel8cis_benchmark }}
meta:
benchmark_{{ . }}
{{ end }}
host_os: {{ .Vars.rhel8cis_os_distribution }}