From b8a463f05163e566765a2bc9965d6fbb6ef2fc85 Mon Sep 17 00:00:00 2001
From: Efrat Levitan <41479945+Efrat19@users.noreply.github.com>
Date: Wed, 7 Aug 2019 13:33:09 +0300
Subject: [PATCH] Correction to 1.13 and 1.13-json test 2.1.5 (#380)

---
 cfg/1.11/node.yaml | 3 +++
 cfg/1.13/node.yaml | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/cfg/1.11/node.yaml b/cfg/1.11/node.yaml
index 01faf1e..0110cfc 100644
--- a/cfg/1.11/node.yaml
+++ b/cfg/1.11/node.yaml
@@ -114,12 +114,15 @@ groups:
     text: "Ensure that the --streaming-connection-idle-timeout argument is not set to 0 (Scored)"
     audit: "ps -fC $kubeletbin"
     tests:
+      bin_op: or
       test_items:
       - flag: "--streaming-connection-idle-timeout"
         compare:
           op: noteq
           value: 0
         set: true
+      - flag: "--streaming-connection-idle-timeout"
+        set: false
     remediation: |
       If using a Kubelet config file, edit the file to set streamingConnectionIdleTimeout to a
       value other than 0.
diff --git a/cfg/1.13/node.yaml b/cfg/1.13/node.yaml
index afc1657..928e76e 100644
--- a/cfg/1.13/node.yaml
+++ b/cfg/1.13/node.yaml
@@ -95,12 +95,15 @@ groups:
     text: "Ensure that the --streaming-connection-idle-timeout argument is not set to 0 (Scored)"
     audit: "ps -fC $kubeletbin"
     tests:
+      bin_op: or
       test_items:
       - flag: "--streaming-connection-idle-timeout"
         compare:
           op: noteq
           value: 0
         set: true
+      - flag: "--streaming-connection-idle-timeout"
+        set: false
     remediation: |
       If using a Kubelet config file, edit the file to set streamingConnectionIdleTimeout to a
       value other than 0.
-- 
GitLab