Files
Mark Bolwell 9cb51ea8ef fixed issue #66 thanks to @levaillx
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
2025-10-17 12:02:19 +01:00

70 lines
2.1 KiB
YAML

gossfile:
{{ if .Vars.rhel9cis_section1 }}
section_1/cis_1.1.1.x/*.yml: {}
section_1/cis_1.1.2.x/*.yml: {}
section_1/cis_1.2.x/*.yml: {}
section_1/cis_1.3.x/*.yml: {}
section_1/cis_1.4.x/*.yml: {}
section_1/cis_1.5.x/*.yml: {}
section_1/cis_1.6.x/*.yml: {}
section_1/cis_1.7.x/*.yml: {}
{{ if .Vars.rhel9cis_gui }}
section_1/cis_1.8/*.yml: {}
{{ end }}
{{ end }}
{{ if .Vars.rhel9cis_section2 }}
section_2/*/*.yml: {}
{{ end }}
{{ if .Vars.rhel9cis_section3 }}
section_3/cis_3.1/*.yml: {}
section_3/cis_3.2/*.yml: {}
section_3/cis_3.3/*.yml: {}
## firewall configurations
{{ end }}
{{ if .Vars.rhel9cis_section4 }}
section_4/cis_4.1/*.yml: {}
{{ if eq .Vars.rhel9cis_firewall "firewalld" }}
section_4/cis_4.2/*.yml: {}
{{ end }}
{{ if eq .Vars.rhel9cis_firewall "nftables" }}
section_4/cis_4.3/*.yml: {}
{{ end }}
{{ end }}
{{ if .Vars.rhel9cis_section5 }}
section_5/cis_5.*/*.yml: {}
{{ end }}
{{ if .Vars.rhel9cis_section6 }}
section_6/cis_6.1/*.yml: {}
{{ if eq .Vars.rhel9cis_syslog "journald" }}
section_6/cis_6.2.2.x/*.yml: {}
{{ end }}
{{ if eq .Vars.rhel9cis_syslog "rsyslog" }}
section_6/cis_6.2.3.x/*.yml: {}
{{ end }}
section_6/cis_6.2.4/*.yml: {}
# Auditd and level 2
{{ if .Vars.rhel9cis_level_2 }}
section_6/cis_6.3.*/*.yml: {}
{{ end }}
{{ end }}
{{ if .Vars.rhel9cis_section7 }}
section_7/cis_7.*/*.yml: {}
{{ end }}
command:
benchmark_meta:
title: Benchmark MetaData
exec: echo BenchMark MetaData
exit-status: 0
meta:
host_machine_uuid: {{ .Vars.machine_uuid }}
host_epoch: {{ .Vars.epoch }}
host_os_locale: {{ .Vars.os_locale }}
host_os_release: {{ .Vars.os_release }}
host_os_distribution: {{ .Vars.os_distribution }}
host_automation_group: {{ .Vars.auto_group }}
host_hostname: {{ .Vars.os_hostname }}
host_system_type: {{ .Vars.system_type }}
benchmark_type: {{ .Vars.benchmark_type }}
benchmark_version: {{ .Vars.benchmark_version }}
benchmark_os: {{ .Vars.benchmark_os }}