1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2024-12-27 08:58:06 +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)" 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: