From 684512b888e43e4b862892f4f9e31142cbe888c1 Mon Sep 17 00:00:00 2001 From: MaPoe <7961300-mapoe@users.noreply.gitlab.com> Date: Sun, 17 Dec 2023 16:45:13 +0100 Subject: [PATCH] feat: check groups for CIS Controls v8 IG1-3 mapped recommendations --- functions/functions_lib.sh | 251 +++++++++++++++++++++++++++++++++++++ 1 file changed, 251 insertions(+) diff --git a/functions/functions_lib.sh b/functions/functions_lib.sh index 65f5d0a..1f9606c 100644 --- a/functions/functions_lib.sh +++ b/functions/functions_lib.sh @@ -307,6 +307,257 @@ cis_level1() { docker_swarm_configuration_level1 } +cis_controls_v8_ig1() { + check_1_1_2 + check_1_1_3 + check_2_1 + check_2_13 + check_2_14 + check_3_1 + check_3_2 + check_3_3 + check_3_4 + check_3_5 + check_3_6 + check_3_7 + check_3_8 + check_3_9 + check_3_10 + check_3_11 + check_3_12 + check_3_13 + check_3_14 + check_3_15 + check_3_16 + check_3_17 + check_3_18 + check_3_19 + check_3_20 + check_3_21 + check_3_22 + check_3_23 + check_3_24 + check_4_8 + check_4_11 + check_5_5 + check_5_14 + check_5_18 + check_5_22 + check_5_23 + check_5_24 + check_5_25 + check_5_26 + check_5_32 + check_7_2 + check_7_6 + check_7_7 + check_7_8 +} + +cis_controls_v8_ig2() { + check_1_1_1 + check_1_1_2 + check_1_1_3 + check_1_1_4 + check_1_1_5 + check_1_1_6 + check_1_1_7 + check_1_1_8 + check_1_1_9 + check_1_1_10 + check_1_1_11 + check_1_1_12 + check_1_1_13 + check_1_1_14 + check_1_1_15 + check_1_1_16 + check_1_1_17 + check_1_1_18 + check_1_2_1 + check_1_2_2 + check_2_1 + check_2_2 + check_2_3 + check_2_4 + check_2_5 + check_2_7 + check_2_8 + check_2_11 + check_2_13 + check_2_14 + check_2_15 + check_2_16 + check_2_18 + check_3_1 + check_3_2 + check_3_3 + check_3_4 + check_3_5 + check_3_6 + check_3_7 + check_3_8 + check_3_9 + check_3_10 + check_3_11 + check_3_12 + check_3_13 + check_3_14 + check_3_15 + check_3_16 + check_3_17 + check_3_18 + check_3_19 + check_3_20 + check_3_21 + check_3_22 + check_3_23 + check_3_24 + check_4_2 + check_4_3 + check_4_4 + check_4_7 + check_4_8 + check_4_9 + check_4_11 + check_5_1 + check_5_2 + check_5_3 + check_5_4 + check_5_5 + check_5_7 + check_5_10 + check_5_11 + check_5_12 + check_5_14 + check_5_16 + check_5_17 + check_5_18 + check_5_19 + check_5_21 + check_5_22 + check_5_23 + check_5_24 + check_5_25 + check_5_26 + check_5_27 + check_5_30 + check_5_31 + check_5_32 + check_6_1 + check_6_2 + check_7_2 + check_7_3 + check_7_5 + check_7_6 + check_7_7 + check_7_8 + check_7_9 +} + +cis_controls_v8_ig3() { + check_1_1_1 + check_1_1_2 + check_1_1_3 + check_1_1_4 + check_1_1_5 + check_1_1_6 + check_1_1_7 + check_1_1_8 + check_1_1_9 + check_1_1_10 + check_1_1_11 + check_1_1_12 + check_1_1_13 + check_1_1_14 + check_1_1_15 + check_1_1_16 + check_1_1_17 + check_1_1_18 + check_1_2_1 + check_1_2_2 + check_2_1 + check_2_2 + check_2_3 + check_2_4 + check_2_5 + check_2_7 + check_2_8 + check_2_11 + check_2_13 + check_2_14 + check_2_15 + check_2_16 + check_2_18 + check_3_1 + check_3_2 + check_3_3 + check_3_4 + check_3_5 + check_3_6 + check_3_7 + check_3_8 + check_3_9 + check_3_10 + check_3_11 + check_3_12 + check_3_13 + check_3_14 + check_3_15 + check_3_16 + check_3_17 + check_3_18 + check_3_19 + check_3_20 + check_3_21 + check_3_22 + check_3_23 + check_3_24 + check_4_2 + check_4_3 + check_4_4 + check_4_6 + check_4_7 + check_4_8 + check_4_9 + check_4_11 + check_4_12 + check_5_1 + check_5_2 + check_5_3 + check_5_4 + check_5_5 + check_5_7 + check_5_8 + check_5_9 + check_5_10 + check_5_11 + check_5_12 + check_5_14 + check_5_16 + check_5_17 + check_5_18 + check_5_19 + check_5_21 + check_5_22 + check_5_23 + check_5_24 + check_5_25 + check_5_26 + check_5_27 + check_5_30 + check_5_31 + check_5_32 + check_6_1 + check_6_2 + check_7_2 + check_7_3 + check_7_5 + check_7_6 + check_7_7 + check_7_8 + check_7_9 +} + # Community contributed community() { community_checks