66license : Apache-2.0
77summary : An InSpec Compliance Profile for the CIS Docker Benchmark
88version : 2.1.0
9+ inspec_version : ' >= 2.3.23'
10+ attributes :
11+ - name : container_user
12+ required : false
13+ description : ' define user within containers.'
14+ default : ' ubuntu'
15+ type : string
16+ - name : container_capadd
17+ required : true
18+ description : ' define needed capabilities for containers.'
19+ type : string
20+ - name : app_armor_profile
21+ required : false
22+ description : ' define apparmor profile for Docker containers.'
23+ default : ' docker-default'
24+ type : string
25+ - name : selinux_profile
26+ required : false
27+ description : ' define SELinux profile for Docker containers.'
28+ default : label:level:s0-s0:c1023
29+ type : string
30+ - name : trusted_user
31+ required : false
32+ description : ' define trusted user to control Docker daemon.'
33+ default : vagrant
34+ type : string
35+ - name : managable_container_number
36+ required : true
37+ description : ' keep number of containers on a host to a manageable total.'
38+ default : 25
39+ type : numeric
40+ - name : benchmark_version
41+ required : true
42+ description : ' to execute also the old controls from previous benchmarks. to execute the controls, define the value as 1.12.0'
43+ type : string
44+ - name : registry_cert_path
45+ required : true
46+ description : ' directory contains various Docker registry directories.'
47+ default : ' /etc/docker/certs.d'
48+ type : string
49+ - name : registry_name
50+ required : true
51+ description : ' directory contain certificate certain Docker registry.'
52+ default : ' /etc/docker/certs.d/registry_hostname:port'
53+ type : string
54+ - name : registry_ca_file
55+ required : false
56+ description : ' directory contain certificate certain Docker registry.'
57+ default : ' /etc/docker/certs.d/registry_hostname:port/ca.crt'
58+ type : string
59+ - name : daemon_tlscacert
60+ required : false
61+ description : ' Trust certs signed only by this CA'
62+ default : ' /etc/docker/ssl/ca.pem'
63+ type : string
64+ - name : daemon_tlscert
65+ required : false
66+ description : ' Path to TLS certificate file'
67+ default : ' /etc/docker/ssl/server_cert.pem'
68+ type : string
69+ - name : daemon_tlskey
70+ required : false
71+ description : ' Path to TLS key file'
72+ default : ' /etc/docker/ssl/server_key.pem'
73+ type : string
74+ - name : authorization_plugin
75+ required : false
76+ description : ' define authorization plugin to manage access to Docker daemon.'
77+ default : ' authz-broker'
78+ type : string
79+ - name : log_driver
80+ required : false
81+ description : ' define preferable way to store logs.'
82+ default : ' syslog'
83+ type : string
84+ - name : log_opts
85+ required : false
86+ description : ' define Docker daemon log-opts.'
87+ default : syslog-address
88+ type : string
89+ - name : swarm_mode
90+ required : false
91+ description : ' define the swarm mode, `active` or `inactive`'
92+ default : inactive
93+ type : string
94+ - name : swarm_max_manager_nodes
95+ required : false
96+ description : ' number of manager nodes in a swarm'
97+ default : 3
98+ type : numeric
99+ - name : swarm_port
100+ required : false
101+ description : ' port of the swarm node'
102+ default : 2377
103+ type : numeric
104+ - name : seccomp_default_profile
105+ required : false
106+ description : ' define the default seccomp profile'
107+ default : ' default'
108+ type : string
0 commit comments