mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2024-12-26 16:38:09 +00:00
Fixing 1.3.7 on 1.11 master.
With multiple test items operator defaults to "and". In case of 1.3.7 the tests check whether --address flag is either set to 127.0.0.1 or not set at all. Those conditions cannot be met at the same time.
This commit is contained in:
parent
64f4f638e9
commit
9988503223
@ -790,6 +790,7 @@ groups:
|
|||||||
text: "Ensure that the --address argument is set to 127.0.0.1 (Scored)"
|
text: "Ensure that the --address argument is set to 127.0.0.1 (Scored)"
|
||||||
audit: "ps -ef | grep $controllermanagerbin | grep -v grep"
|
audit: "ps -ef | grep $controllermanagerbin | grep -v grep"
|
||||||
tests:
|
tests:
|
||||||
|
bin_op: or
|
||||||
test_items:
|
test_items:
|
||||||
- flag: "--address"
|
- flag: "--address"
|
||||||
compare:
|
compare:
|
||||||
|
Loading…
Reference in New Issue
Block a user