aboutsummaryrefslogtreecommitdiffstats
path: root/docker/security/testcases.yaml
blob: 7af54a3f12808fec2631a19d856399e981c08367 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
tiers:
  - name: security
    description: >-
      Set of basic security tests.
    testcases:
      - case_name: kube_hunter
        project_name: functest
        criteria: 100
        blocking: false
        description: >-
          Check that the kubernetes cluster has no known
          vulnerabilities
        run:
          name: kube_hunter
          args:
            severity: high

      - case_name: kube_bench_master
        project_name: functest
        criteria: 100
        blocking: false
        description: >-
          Checks whether Kubernetes is deployed securely by running
          the master checks documented in the CIS Kubernetes
          Benchmark.
        run:
          name: kube_bench
          args:
            target: master

      - case_name: kube_bench_node
        project_name: functest
        criteria: 100
        blocking: false
        description: >-
          Checks whether Kubernetes is deployed securely by running
          the node checks documented in the CIS Kubernetes
          Benchmark.
        run:
          name: kube_bench
          args:
            target: node