From 182e9b5e0118997234bb8ab613a4d68f6a97e54a Mon Sep 17 00:00:00 2001
From: Erwan Miran <mirwan666@gmail.com>
Date: Tue, 5 Jun 2018 15:27:20 +0200
Subject: [PATCH] Addition of missing audit field in 2.2.6 node item

---
 cfg/1.8/node.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cfg/1.8/node.yaml b/cfg/1.8/node.yaml
index e4cd249..7d43356 100644
--- a/cfg/1.8/node.yaml
+++ b/cfg/1.8/node.yaml
@@ -411,6 +411,7 @@ groups:
 
     - id: 2.2.6
       text: "Ensure that the proxy kubeconfig file ownership is set to root:root (Scored)"
+      audit: "/bin/sh -c 'if test -e $proxyconf; then stat -c %U:%G $proxyconf; fi'"
       tests:
         test_items:
         - flag: "root:root"
-- 
GitLab