From 57d87d885a8c438b57627c66e39c35754c79f986 Mon Sep 17 00:00:00 2001 From: Ved Ratan Date: Mon, 3 Jun 2024 09:52:38 +0530 Subject: [PATCH] ommitted sys-admin Signed-off-by: Ved Ratan --- pkg/adapter/nimbus-kubearmor/processor/kspbuilder.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/adapter/nimbus-kubearmor/processor/kspbuilder.go b/pkg/adapter/nimbus-kubearmor/processor/kspbuilder.go index 1732ed17..ba1402f9 100644 --- a/pkg/adapter/nimbus-kubearmor/processor/kspbuilder.go +++ b/pkg/adapter/nimbus-kubearmor/processor/kspbuilder.go @@ -226,9 +226,6 @@ func disallowCapabilities() kubearmorv1.KubeArmorPolicy { Spec: kubearmorv1.KubeArmorPolicySpec{ Capabilities: kubearmorv1.CapabilitiesType{ MatchCapabilities: []kubearmorv1.MatchCapabilitiesType{ - { - Capability: "sys_admin", - }, { Capability: "sys_ptrace", },