1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2024-11-14 03:39:58 +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:
Michal Jankowski 2018-10-25 15:32:41 -07:00
parent 64f4f638e9
commit 9988503223

View File

@ -790,6 +790,7 @@ groups:
text: "Ensure that the --address argument is set to 127.0.0.1 (Scored)"
audit: "ps -ef | grep $controllermanagerbin | grep -v grep"
tests:
bin_op: or
test_items:
- flag: "--address"
compare: