From 55c58d80c11c08caeb6cc84b7a2f12c1cc060af1 Mon Sep 17 00:00:00 2001 From: jonipatr <46784806+jonipatr@users.noreply.github.com> Date: Tue, 16 Aug 2022 11:00:50 +0300 Subject: [PATCH] fix kube-bench/cfg/cis-1.6/master.yaml 1.2.26 Add test to 1.2.26 to check that --request-timeout parameter is configured. --- cfg/cis-1.6/master.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cfg/cis-1.6/master.yaml b/cfg/cis-1.6/master.yaml index 59d5e0b..28c7c7e 100644 --- a/cfg/cis-1.6/master.yaml +++ b/cfg/cis-1.6/master.yaml @@ -714,7 +714,9 @@ groups: - id: 1.2.26 text: "Ensure that the --request-timeout argument is set as appropriate (Automated)" audit: "/bin/ps -ef | grep $apiserverbin | grep -v grep" - type: manual + tests: + test_items: + - flag: "--request-timeout" remediation: | Edit the API server pod specification file $apiserverconf and set the below parameter as appropriate and if needed.