1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2024-11-22 08:08:07 +00:00

Merge pull request #193 from maxbischoff/patch-1

Changed 1.1.14 to not fail when flag is not set
This commit is contained in:
Liz Rice 2019-01-09 10:21:27 +00:00 committed by GitHub
commit 2eef3e8ad2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -220,12 +220,15 @@ groups:
text: "Ensure that the admission control plugin NamespaceLifecycle is set (Scored)"
audit: "ps -ef | grep $apiserverbin | grep -v grep"
tests:
bin_op: or
test_items:
- flag: "--disable-admission-plugins"
compare:
op: nothave
value: "NamespaceLifecycle"
set: true
- flag: "--disable-admission-plugins"
set: false
remediation: |
Edit the API server pod specification file $apiserverconf
on the master node and set the --disable-admission-plugins parameter to