mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2024-12-18 20:58:10 +00:00
update the yaml according (#410)
The update is from the new cis version 1.4.1. like been done in https://github.com/aquasecurity/kube-bench/issues/370
This commit is contained in:
parent
ec3b1076c0
commit
ea9089bd42
@ -226,11 +226,12 @@ groups:
|
||||
scored: true
|
||||
|
||||
- id: 2.1.11
|
||||
text: "Ensure that the --cadvisor-port argument is set to 0 (Scored)"
|
||||
text: "[DEPRECATED] Ensure that the --cadvisor-port argument is set to 0"
|
||||
# This is one of those properties that can only be set as a command line argument.
|
||||
# To check if the property is set as expected, we need to parse the kubelet command
|
||||
# instead reading the Kubelet Configuration file.
|
||||
audit: "ps -fC $kubeletbin"
|
||||
type: skip
|
||||
tests:
|
||||
bin_op: or
|
||||
test_items:
|
||||
@ -248,7 +249,7 @@ groups:
|
||||
Based on your system, restart the kubelet service. For example:
|
||||
systemctl daemon-reload
|
||||
systemctl restart kubelet.service
|
||||
scored: true
|
||||
scored: false
|
||||
|
||||
- id: 2.1.12
|
||||
text: "Ensure that the --rotate-certificates argument is not set to false (Scored)"
|
||||
|
Loading…
Reference in New Issue
Block a user