From 76467f5b4847490cc17c95c3c9b81976ac356ef0 Mon Sep 17 00:00:00 2001 From: Sebastian Weitzel Date: Thu, 14 Sep 2023 16:13:26 +0200 Subject: [PATCH] Make 1.4.1 grub password check pass Signed-off-by: Sebastian Weitzel --- section_1/cis_1.4/cis_1.4.1.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/section_1/cis_1.4/cis_1.4.1.yml b/section_1/cis_1.4/cis_1.4.1.yml index fdc5020..7ae4d0a 100644 --- a/section_1/cis_1.4/cis_1.4.1.yml +++ b/section_1/cis_1.4/cis_1.4.1.yml @@ -8,14 +8,15 @@ file: group: root mode: "0600" {{ if .Vars.rhel8cis_set_boot_pass }} - contains: [GRUB2_PASSWORD=] + contains: + - GRUB2_PASSWORD= {{ end }} meta: server: 1 workstation: 1 - CIS_ID: + CIS_ID: - 1.4.1 - CISv8: + CISv8: - 3.3 CISv8_IG1: true CISv8_IG2: true