k8s: Extract common interface to simplify development 98/96298/3
authorPawel Wieczorek <p.wieczorek2@samsung.com>
Thu, 26 Sep 2019 14:43:01 +0000 (16:43 +0200)
committerPawel Wieczorek <p.wieczorek2@samsung.com>
Fri, 27 Sep 2019 15:38:49 +0000 (17:38 +0200)
commit76dd9bfcc14f2a77dd9a8155e66434a304cd0c38
tree19f1f23dee938ccf423c7bbd399a586d0cfe9079
parent664ce36e4606ba855bb997059f43d89bb51385e5
k8s: Extract common interface to simplify development

Common command and service name extraction is intended to limit
execution to small set of allowed processes.

This patch also drops unnecessary use of "Kubernetes" name because this
whole subproject concerns its clusters.

Issue-ID: SECCOM-235
Change-Id: I8babfeb4f24cf3baa4d236ca622c21170ab6205e
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
test/security/k8s/src/check/check.go [new file with mode: 0644]
test/security/k8s/src/check/cmd/check/check.go
test/security/k8s/src/check/rancher/rancher.go
test/security/k8s/src/check/raw/raw.go
test/security/k8s/src/check/validators/master/master.go