1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2024-12-24 07:28:06 +00:00

Merge pull request #138 from jgsqware/patch-1

Rule node 2.2.4 is not correct
This commit is contained in:
Liz Rice 2018-06-18 08:28:38 -07:00 committed by GitHub
commit c5e04677cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -368,8 +368,7 @@ groups:
scored: true
- id: 2.2.4
text: "Ensure that the kubelet service file permissions are set to 644 or
more restrictive (Scored)"
text: "2.2.4 Ensure that the kubelet service file ownership is set to root:root (Scored)"
audit: "/bin/sh -c 'if test -e $kubeletconf; then stat -c %U:%G $kubeletconf; fi'"
tests:
test_items: