From 56f62c479bda88d293e99083e06634d97a7e59e4 Mon Sep 17 00:00:00 2001
From: Philip Gough <philip.p.gough@gmail.com>
Date: Tue, 2 Aug 2022 20:37:35 +0100
Subject: [PATCH] kubescape: Add exception for Prometheus SA automount of token

---
 kubescape-exceptions.json | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/kubescape-exceptions.json b/kubescape-exceptions.json
index c260b9f7..77cdaab3 100644
--- a/kubescape-exceptions.json
+++ b/kubescape-exceptions.json
@@ -40,6 +40,13 @@
           "kind": "Deployment",
           "name": "prometheus-operator"
         }
+      },
+      {
+        "designatorType": "Attributes",
+        "attributes": {
+          "kind": "ServiceAccount",
+          "name": "prometheus-k8s"
+        }
       }
     ],
     "posturePolicies": [
@@ -75,4 +82,4 @@
       }
     ]
   }
-]
\ No newline at end of file
+]
-- 
GitLab