mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2024-11-23 00:28:07 +00:00
Merge pull request #43 from aquasecurity/issue-42
Change node check 2.1.6 to use operation `noteq` instead of `gt`.
This commit is contained in:
commit
89e9d37cde
@ -79,10 +79,11 @@ groups:
|
|||||||
text: "Ensure that the --streaming-connection-idle-timeout argument is not set to 0 (Scored)"
|
text: "Ensure that the --streaming-connection-idle-timeout argument is not set to 0 (Scored)"
|
||||||
audit: "ps -ef | grep $kubeletbin | grep -v grep"
|
audit: "ps -ef | grep $kubeletbin | grep -v grep"
|
||||||
tests:
|
tests:
|
||||||
|
bin_op: or
|
||||||
test_items:
|
test_items:
|
||||||
- flag: "--streaming-connection-idle-timeout"
|
- flag: "--streaming-connection-idle-timeout"
|
||||||
compare:
|
compare:
|
||||||
op: gt
|
op: noteq
|
||||||
value: 0
|
value: 0
|
||||||
set: true
|
set: true
|
||||||
remediation: "Edit the $kubeletconf file on each node and set the KUBELET_ARGS
|
remediation: "Edit the $kubeletconf file on each node and set the KUBELET_ARGS
|
||||||
|
Loading…
Reference in New Issue
Block a user