From a84cf8f7716ccd733d3b5290106d8032841cba01 Mon Sep 17 00:00:00 2001 From: Ionut Pruteanu Date: Tue, 6 Feb 2024 20:42:39 +0200 Subject: [PATCH] Rule 5.2.20 expects values different than 0, but previous form of the task was setting CountMax to 0 Signed-off-by: Ionut Pruteanu --- defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index decf352..8dabbb0 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -597,7 +597,7 @@ rhel9cis_logrotate: "daily" rhel9_cis_sshd_config_file: /etc/ssh/sshd_config rhel9cis_sshd: - clientalivecountmax: 0 + clientalivecountmax: 3 clientaliveinterval: 900 logingracetime: 60 # WARNING: make sure you understand the precedence when working with these values!!