k8s: Validate API server included authorization mode 93/96293/1
authorPawel Wieczorek <p.wieczorek2@samsung.com>
Wed, 25 Sep 2019 14:37:24 +0000 (16:37 +0200)
committerPawel Wieczorek <p.wieczorek2@samsung.com>
Thu, 26 Sep 2019 17:02:01 +0000 (19:02 +0200)
commit4dbeacb893fce6c6c6dad99cd691362fda48ec91
tree4119e4f4de56e883eb8ff291e44e29bc444c0f28
parent944993869240ba58beab8958a61dacf927706a68
k8s: Validate API server included authorization mode

This patch verifies if CIS Kubernetes Benchmark v1.3.0 section
regarding master node configuration is satisfied (1.1.32).

It also fixes wrong documentation comment for similar validator
(1.1.19).

Issue-ID: SECCOM-235
Change-Id: I00cb8a458871b091b16fe60fc0087b7972aa3b6b
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
test/security/k8s/src/check/cmd/check/check.go
test/security/k8s/src/check/validators/master/api.go
test/security/k8s/src/check/validators/master/api_test.go