From f0e30cef6266f694b9334584f41c918a1f7d5653 Mon Sep 17 00:00:00 2001
From: JoostC <jcoelingh@gmail.com>
Date: Thu, 3 Sep 2020 19:18:48 +0200
Subject: [PATCH] Add a trailing slash to find directory path (#687)

---
 cfg/cis-1.5/master.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cfg/cis-1.5/master.yaml b/cfg/cis-1.5/master.yaml
index 4d4b54d..3881fae 100644
--- a/cfg/cis-1.5/master.yaml
+++ b/cfg/cis-1.5/master.yaml
@@ -304,7 +304,7 @@ groups:
 
       - id: 1.1.20
         text: "Ensure that the Kubernetes PKI certificate file permissions are set to 644 or more restrictive (Not Scored)"
-        audit: "find /etc/kubernetes/pki -name '*.crt' | xargs stat -c permissions=%a"
+        audit: "find /etc/kubernetes/pki/ -name '*.crt' | xargs stat -c permissions=%a"
         use_multiple_values: true
         tests:
           test_items:
@@ -321,7 +321,7 @@ groups:
 
       - id: 1.1.21
         text: "Ensure that the Kubernetes PKI key file permissions are set to 600 (Not Scored)"
-        audit: "find /etc/kubernetes/pki -name '*.key' | xargs stat -c permissions=%a"
+        audit: "find /etc/kubernetes/pki/ -name '*.key' | xargs stat -c permissions=%a"
         use_multiple_values: true
         tests:
           test_items:
-- 
GitLab