From 25be9e41ddd41237513fec7c35b5ce3ea57ae4e1 Mon Sep 17 00:00:00 2001 From: Robert Brennan Date: Mon, 23 Dec 2019 19:03:37 +0000 Subject: [PATCH] fix up exclusions --- checks/hostIPC.yaml | 2 -- checks/hostNetwork.yaml | 2 -- checks/hostPID.yaml | 2 -- checks/hostPortSet.yaml | 7 ------- checks/runAsRootAllowed.yaml | 2 -- 5 files changed, 15 deletions(-) diff --git a/checks/hostIPC.yaml b/checks/hostIPC.yaml index 1fa03550..158931c0 100644 --- a/checks/hostIPC.yaml +++ b/checks/hostIPC.yaml @@ -3,8 +3,6 @@ id: hostIPCSet successMessage: Host IPC is not configured failureMessage: Host IPC should not be configured category: Security -controllers: - exclude: [] target: Pod schema: '$schema': http://json-schema.org/draft-07/schema diff --git a/checks/hostNetwork.yaml b/checks/hostNetwork.yaml index 462155e3..191c174b 100644 --- a/checks/hostNetwork.yaml +++ b/checks/hostNetwork.yaml @@ -3,8 +3,6 @@ id: hostNetworkSet successMessage: Host network is not configured failureMessage: Host network should not be configured category: Networking -controllers: - exclude: [] target: Pod schema: '$schema': http://json-schema.org/draft-07/schema diff --git a/checks/hostPID.yaml b/checks/hostPID.yaml index 9af45033..6f3ed894 100644 --- a/checks/hostPID.yaml +++ b/checks/hostPID.yaml @@ -3,8 +3,6 @@ id: hostPIDSet successMessage: Host PID is not configured failureMessage: Host PID should not be configured category: Security -controllers: - exclude: [] target: Pod schema: '$schema': http://json-schema.org/draft-07/schema diff --git a/checks/hostPortSet.yaml b/checks/hostPortSet.yaml index 00689c7c..2c26cc2a 100644 --- a/checks/hostPortSet.yaml +++ b/checks/hostPortSet.yaml @@ -3,13 +3,6 @@ id: hostPortSet successMessage: Host port is not configured failureMessage: Host port should not be configured category: Networking -controllers: - exclude: - - Job - - CronJob -containers: - exclude: - - initContainer target: Container schema: '$schema': http://json-schema.org/draft-07/schema diff --git a/checks/runAsRootAllowed.yaml b/checks/runAsRootAllowed.yaml index 6cff36d1..468f51e6 100644 --- a/checks/runAsRootAllowed.yaml +++ b/checks/runAsRootAllowed.yaml @@ -3,8 +3,6 @@ id: runAsRootAllowed successMessage: Is not allowed to run as root failureMessage: Should not be allowed to run as root category: Security -controllers: - exclude: [] target: Container schemaTarget: Pod schema: