forked from diogomonica/actuary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjson
357 lines (357 loc) · 9.76 KB
/
json
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
[
{
"Name": "1.1 Create a separate partition for containers",
"Status": "",
"Output": ""
},
{
"Name": "1.2 Use the updated Linux Kernel",
"Status": "PASS",
"Output": ""
},
{
"Name": "1.5 Keep Docker up to date",
"Status": "PASS",
"Output": ""
},
{
"Name": "1.6 Only allow trusted users to control Docker daemon",
"Status": "INFO",
"Output": "The following users control the Docker daemon: []"
},
{
"Name": "1.7 Audit docker daemon",
"Status": "SKIP",
"Output": "Unable to retrieve rule list"
},
{
"Name": "1.8 Audit Docker files and directories - /var/lib/docker",
"Status": "SKIP",
"Output": "Unable to retrieve rule list"
},
{
"Name": "1.9 Audit Docker files and directories - /etc/docker",
"Status": "SKIP",
"Output": "Unable to retrieve rule list"
},
{
"Name": "1.10 Audit Docker files and directories - docker.service",
"Status": "SKIP",
"Output": "Unable to retrieve rule list"
},
{
"Name": "1.11 Audit Docker files and directories - docker.socket",
"Status": "SKIP",
"Output": "Unable to retrieve rule list"
},
{
"Name": "1.12 Audit Docker files and directories - /etc/default/docker",
"Status": "SKIP",
"Output": "Unable to retrieve rule list"
},
{
"Name": "1.13 Audit Docker files and directories - /etc/docker/daemon.json",
"Status": "SKIP",
"Output": "Unable to retrieve rule list"
},
{
"Name": "1.14 Audit Docker files and directories - /usr/bin/docker-containerd",
"Status": "SKIP",
"Output": "Unable to retrieve rule list"
},
{
"Name": "1.15 Audit Docker files and directories - /usr/bin/docker-runc",
"Status": "SKIP",
"Output": "Unable to retrieve rule list"
},
{
"Name": "2.1 Restrict network traffic between containers",
"Status": "WARN",
"Output": ""
},
{
"Name": "2.2 Set the logging level",
"Status": "PASS",
"Output": ""
},
{
"Name": "2.3 Allow Docker to make changes to iptables",
"Status": "PASS",
"Output": ""
},
{
"Name": "2.5 Do not use the aufs storage driver",
"Status": "PASS",
"Output": ""
},
{
"Name": "2.7 Set default ulimit as appropriate",
"Status": "WARN",
"Output": "Default ulimit doesn't appear to be set"
},
{
"Name": "2.8 Enable user namespace support",
"Status": "WARN",
"Output": "User namespace support is not enabled"
},
{
"Name": "2.9 Confirm default cgroup usage",
"Status": "WARN",
"Output": "Default cgroup is not used"
},
{
"Name": "2.10 Do not change base device size until needed",
"Status": "WARN",
"Output": "Default device size has been changed"
},
{
"Name": "2.11 Use authorization plugin",
"Status": "WARN",
"Output": ""
},
{
"Name": "2.12 Configure centralized and remote logging",
"Status": "WARN",
"Output": ""
},
{
"Name": "2.13 Disable operations on legacy registry (v1)",
"Status": "WARN",
"Output": ""
},
{
"Name": "3.1 Verify that docker.service file ownership is set to root:root",
"Status": "SKIP",
"Output": "File could not be accessed"
},
{
"Name": "3.2 Verify that docker.service file permissions are set to\n\t\t644 or more restrictive",
"Status": "SKIP",
"Output": "File could not be accessed"
},
{
"Name": "3.3 Verify that docker.socket file ownership is set to root:root",
"Status": "SKIP",
"Output": "File could not be accessed"
},
{
"Name": "3.4 Verify that docker.socket file permissions are set to 644 or more\n restrictive",
"Status": "SKIP",
"Output": "File could not be accessed"
},
{
"Name": "3.5 Verify that /etc/docker directory ownership is set to root:root ",
"Status": "SKIP",
"Output": "File could not be accessed"
},
{
"Name": "3.6 Verify that /etc/docker directory permissions\n\t\tare set to 755 or more restrictive",
"Status": "SKIP",
"Output": "File could not be accessed"
},
{
"Name": "3.7 Verify that registry certificate file ownership\n\t is set to root:root",
"Status": "INFO",
"Output": "Directory is inaccessible"
},
{
"Name": "3.8 Verify that registry certificate file permissions\n\t\tare set to 444 or more restrictive",
"Status": "INFO",
"Output": "Directory is inaccessible"
},
{
"Name": "3.9 Verify that TLS CA certificate file ownership is set to root:root",
"Status": "SKIP",
"Output": "File could not be accessed"
},
{
"Name": "3.10 Verify that TLS CA certificate file permissions\n\tare set to 444 or more restrictive",
"Status": "SKIP",
"Output": "File could not be accessed"
},
{
"Name": "3.11 Verify that Docker server certificate file ownership is set to\n root:root",
"Status": "SKIP",
"Output": "File could not be accessed"
},
{
"Name": "3.12 Verify that Docker server certificate file permissions\n\t\tare set to 444 or more restrictive",
"Status": "SKIP",
"Output": "File could not be accessed"
},
{
"Name": "3.13 Verify that Docker server certificate key file ownership is set to\n root:root",
"Status": "SKIP",
"Output": "File could not be accessed"
},
{
"Name": "3.14 Verify that Docker server certificate key file\n\tpermissions are set to 400",
"Status": "SKIP",
"Output": "File could not be accessed"
},
{
"Name": "3.15 Verify that Docker socket file ownership\n\tis set to root:docker",
"Status": "WARN",
"Output": "User/group owner should be : docker"
},
{
"Name": "3.16 Verify that Docker socket file permissions are set to 660",
"Status": "WARN",
"Output": "File has less restrictive permissions than expected: -rwxr-xr-x"
},
{
"Name": "3.17 Verify that daemon.json file ownership is set to root:root",
"Status": "SKIP",
"Output": "File could not be accessed"
},
{
"Name": "3.18 Verify that daemon.json file permissions are set to 644 or more\nrestrictive",
"Status": "SKIP",
"Output": "File could not be accessed"
},
{
"Name": "3.19 Verify that /etc/default/docker file ownership is set to root:root",
"Status": "SKIP",
"Output": "File could not be accessed"
},
{
"Name": "3.20 Verify that /etc/default/docker file permissions are set to 644 or\nmore restrictive",
"Status": "SKIP",
"Output": "File could not be accessed"
},
{
"Name": "4.1 Create a user for the container",
"Status": "SKIP",
"Output": "No running containers"
},
{
"Name": "4.5 Enable Content trust for Docker",
"Status": "WARN",
"Output": ""
},
{
"Name": "5.1 Verify AppArmor Profile, if applicable",
"Status": "SKIP",
"Output": "No running containers"
},
{
"Name": "5.1 Verify AppArmor Profile, if applicable",
"Status": "SKIP",
"Output": "No running containers"
},
{
"Name": "5.3 Restrict Linux Kernel Capabilities within containers",
"Status": "SKIP",
"Output": "No running containers"
},
{
"Name": "5.4 Do not use privileged containers",
"Status": "SKIP",
"Output": "No running containers"
},
{
"Name": "5.5 Do not mount sensitive host system directories on containers ",
"Status": "SKIP",
"Output": "No running containers"
},
{
"Name": "5.6 Do not run ssh within containers",
"Status": "SKIP",
"Output": "No running containers"
},
{
"Name": "5.7 Do not map privileged ports within containers",
"Status": "SKIP",
"Output": "No running containers"
},
{
"Name": "5.8 Open only needed ports on container",
"Status": "SKIP",
"Output": "No running containers"
},
{
"Name": "5.9 Do not use host network mode on container",
"Status": "SKIP",
"Output": "No running containers"
},
{
"Name": "5.10 Limit memory usage for container",
"Status": "SKIP",
"Output": "No running containers"
},
{
"Name": "5.11 Set container CPU priority appropriately",
"Status": "SKIP",
"Output": "No running containers"
},
{
"Name": "5.12 Mount container's root filesystem as read only",
"Status": "SKIP",
"Output": "No running containers"
},
{
"Name": "5.13 Bind incoming container traffic to a specific host interface",
"Status": "SKIP",
"Output": "No running containers"
},
{
"Name": "5.14 Set the 'on-failure' container restart policy to 5",
"Status": "SKIP",
"Output": "No running containers"
},
{
"Name": "5.15 Do not share the host's process namespace",
"Status": "SKIP",
"Output": "No running containers"
},
{
"Name": "5.16 Do not share the host's IPC namespace",
"Status": "SKIP",
"Output": "No running containers"
},
{
"Name": "5.17 Do not directly expose host devices to containers",
"Status": "SKIP",
"Output": "No running containers"
},
{
"Name": "5.18 Override default ulimit at runtime only if needed ",
"Status": "SKIP",
"Output": "No running containers"
},
{
"Name": "5.19 Do not set mount propagation mode to shared",
"Status": "SKIP",
"Output": "No running containers"
},
{
"Name": "5.20 Do not share the host's UTS namespace",
"Status": "SKIP",
"Output": "No running containers"
},
{
"Name": "5.21 Do not disable default seccomp profile",
"Status": "SKIP",
"Output": "No running containers"
},
{
"Name": "5.24 Confirm cgroup usage",
"Status": "SKIP",
"Output": "No running containers"
},
{
"Name": "5.25 Restrict container from acquiring additional privileges",
"Status": "SKIP",
"Output": "No running containers"
},
{
"Name": "6.4 Avoid image sprawl",
"Status": "PASS",
"Output": ""
},
{
"Name": "6.5 Avoid container sprawl",
"Status": "WARN",
"Output": "There are currently a total of 65 containers,\n\t\t\twith only 0 of them currently running"
}
]