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