aboutsummaryrefslogtreecommitdiffstats
path: root/docker/security
diff options
context:
space:
mode:
Diffstat (limited to 'docker/security')
-rw-r--r--docker/security/Dockerfile3
-rw-r--r--docker/security/testcases.yaml29
2 files changed, 32 insertions, 0 deletions
diff --git a/docker/security/Dockerfile b/docker/security/Dockerfile
new file mode 100644
index 00000000..8cd30169
--- /dev/null
+++ b/docker/security/Dockerfile
@@ -0,0 +1,3 @@
+FROM opnfv/functest-kubernetes-core:iruya
+
+COPY testcases.yaml /usr/lib/python3.6/site-packages/xtesting/ci/testcases.yaml
diff --git a/docker/security/testcases.yaml b/docker/security/testcases.yaml
new file mode 100644
index 00000000..55c0b3be
--- /dev/null
+++ b/docker/security/testcases.yaml
@@ -0,0 +1,29 @@
+---
+tiers:
+ -
+ name: security
+ order: 1
+ ci_loop: '(daily)|(weekly)'
+ description: >-
+ Set of basic security tests.
+ testcases:
+ -
+ case_name: kube_hunter
+ project_name: security
+ criteria: 100
+ blocking: false
+ description: >-
+ Check that the kubernetes cluster has no known
+ vulnerabilities
+ run:
+ name: 'kube_hunter'
+ -
+ case_name: kube_bench
+ project_name: security
+ criteria: 100
+ blocking: false
+ description: >-
+ Check that the kubernetes cluster has no known
+ vulnerabilities
+ run:
+ name: 'kube_bench'