From 823eeec502c4a100dc6946f25388b9d04833c105 Mon Sep 17 00:00:00 2001 From: Jose M Date: Mon, 24 Jun 2019 17:27:11 +0200 Subject: [PATCH] Add SCA configuration for Amazon-Linux-2 --- templates/fragments/_sca.erb | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/templates/fragments/_sca.erb b/templates/fragments/_sca.erb index a81634d4..ae926919 100644 --- a/templates/fragments/_sca.erb +++ b/templates/fragments/_sca.erb @@ -1,5 +1,5 @@ <%- if @kernel == 'Linux' -%> - <%- if @os_family == 'centos' -%> + <%- if @apply_template_os == 'centos' -%> yes yes @@ -13,13 +13,26 @@ system_audit_pw.yml - <%- else -%> + <%- elsif @apply_template_os =='amazon' -%> yes yes 12h yes + + system_audit_rcl.yml + system_audit_ssh.yml + system_audit_pw.yml + + + <%- else -%> + + yes + yes + 12h + yes + cis_debian_linux_rcl.yml system_audit_rcl.yml