From b2204d273d63142ecdf1f96efa43322bedaf9646 Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Tue, 26 Jul 2022 10:06:53 +0100 Subject: [PATCH] fix search Signed-off-by: Mark Bolwell --- section_1/cis_1.10/cis_1.10.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/section_1/cis_1.10/cis_1.10.yml b/section_1/cis_1.10/cis_1.10.yml index bc78b67..8d2b6a7 100644 --- a/section_1/cis_1.10/cis_1.10.yml +++ b/section_1/cis_1.10/cis_1.10.yml @@ -5,8 +5,8 @@ command: exec: cat /etc/crypto-policies/config exit-status: 0 stdout: - - '/^\s+(DEFAULT|FUTURE|FIPS)/' - - '!/^\s+LEGACY/' + - '/^(|\s+)(DEFAULT|FUTURE|FIPS)/' + - '!/^(|\s+)LEGACY/' meta: server: 1 workstation: 1