-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathansible_vars_goss.yml.j2
487 lines (437 loc) · 19.5 KB
/
ansible_vars_goss.yml.j2
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
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
## metadata for Audit benchmark
benchmark_version: '2.1.0'
# Some audit tests may need to scan every filesystem or have an impact on a system
# these may need be scheduled to minimise impact also ability to set a timeout if taking too long
run_heavy_tests: {{ audit_run_heavy_tests }}
timeout_ms: {{ audit_cmd_timeout }}
ubuntu18cis_section1: true
ubuntu18cis_section2: true
ubuntu18cis_section3: true
ubuntu18cis_section4: true
ubuntu18cis_section5: true
ubuntu18cis_section6: true
ubuntu18cis_level_1: true
ubuntu18cis_level_2: true
ubuntu18cis_apparmor_disable: true
# to enable rules that may have IO impact on a system e.g. full filesystem scans or CPU heavy
run_heavy_tests: true
# True is BIOS based system else set to false
ubuntu18_legacy_boot: true
ubuntu18_set_boot_pass: true
# These variables correspond with the CIS rule IDs or paragraph numbers defined in
# the CIS benchmark documents.
# PLEASE NOTE: These work in coordination with the section # group variables and tags.
# You must enable an entire section in order for the variables below to take effect.
# Section 1 rules
ubuntu18cis_rule_1_1_1_1: {{ ubtu18cis_rule_1_1_1_1 }}
ubuntu18cis_rule_1_1_1_2: {{ ubtu18cis_rule_1_1_1_2 }}
ubuntu18cis_rule_1_1_1_3: {{ ubtu18cis_rule_1_1_1_3 }}
ubuntu18cis_rule_1_1_1_4: {{ ubtu18cis_rule_1_1_1_4 }}
ubuntu18cis_rule_1_1_1_5: {{ ubtu18cis_rule_1_1_1_5 }}
ubuntu18cis_rule_1_1_1_6: {{ ubtu18cis_rule_1_1_1_6 }}
ubuntu18cis_rule_1_1_2: {{ ubtu18cis_rule_1_1_2 }}
ubuntu18cis_rule_1_1_3: {{ ubtu18cis_rule_1_1_3 }}
ubuntu18cis_rule_1_1_4: {{ ubtu18cis_rule_1_1_4 }}
ubuntu18cis_rule_1_1_5: {{ ubtu18cis_rule_1_1_5 }}
ubuntu18cis_rule_1_1_6: {{ ubtu18cis_rule_1_1_6 }}
ubuntu18cis_rule_1_1_7: {{ ubtu18cis_rule_1_1_7 }}
ubuntu18cis_rule_1_1_8: {{ ubtu18cis_rule_1_1_8 }}
ubuntu18cis_rule_1_1_9: {{ ubtu18cis_rule_1_1_9 }}
ubuntu18cis_rule_1_1_10: {{ ubtu18cis_rule_1_1_10 }}
ubuntu18cis_rule_1_1_11: {{ ubtu18cis_rule_1_1_11 }}
ubuntu18cis_rule_1_1_12: {{ ubtu18cis_rule_1_1_12 }}
ubuntu18cis_rule_1_1_13: {{ ubtu18cis_rule_1_1_13 }}
ubuntu18cis_rule_1_1_14: {{ ubtu18cis_rule_1_1_14 }}
ubuntu18cis_rule_1_1_15: {{ ubtu18cis_rule_1_1_15 }}
ubuntu18cis_rule_1_1_16: {{ ubtu18cis_rule_1_1_16 }}
ubuntu18cis_rule_1_1_17: {{ ubtu18cis_rule_1_1_17 }}
ubuntu18cis_rule_1_1_18: {{ ubtu18cis_rule_1_1_18 }}
ubuntu18cis_rule_1_1_19: {{ ubtu18cis_rule_1_1_19 }}
ubuntu18cis_rule_1_1_20: {{ ubtu18cis_rule_1_1_20 }}
ubuntu18cis_rule_1_1_21: {{ ubtu18cis_rule_1_1_21 }}
ubuntu18cis_rule_1_1_22: {{ ubtu18cis_rule_1_1_22 }}
ubuntu18cis_rule_1_1_23: {{ ubtu18cis_rule_1_1_23 }}
ubuntu18cis_rule_1_1_24: {{ ubtu18cis_rule_1_1_24 }}
ubuntu18cis_rule_1_2_1: {{ ubtu18cis_rule_1_2_1 }}
ubuntu18cis_rule_1_2_2: {{ ubtu18cis_rule_1_2_2 }}
ubuntu18cis_rule_1_3_1: {{ ubtu18cis_rule_1_3_1 }}
ubuntu18cis_rule_1_3_2: {{ ubtu18cis_rule_1_3_2 }}=
ubuntu18cis_rule_1_4_1: {{ ubtu18cis_rule_1_4_1 }}
ubuntu18cis_rule_1_4_2: {{ ubtu18cis_rule_1_4_2 }}
ubuntu18cis_rule_1_4_3: {{ ubtu18cis_rule_1_4_3 }}
ubuntu18cis_rule_1_4_4: {{ ubtu18cis_rule_1_4_4 }}
ubuntu18cis_rule_1_5_1: {{ ubtu18cis_rule_1_5_1 }}
ubuntu18cis_rule_1_5_2: {{ ubtu18cis_rule_1_5_2 }}
ubuntu18cis_rule_1_5_3: {{ ubtu18cis_rule_1_5_3 }}
ubuntu18cis_rule_1_5_4: {{ ubtu18cis_rule_1_5_4 }}
ubuntu18cis_rule_1_6_1_1: {{ ubtu18cis_rule_1_6_1_1 }}
ubuntu18cis_rule_1_6_1_2: {{ ubtu18cis_rule_1_6_1_2 }}
ubuntu18cis_rule_1_6_1_3: {{ ubtu18cis_rule_1_6_1_3 }}
ubuntu18cis_rule_1_6_1_4: {{ ubtu18cis_rule_1_6_1_4 }}
ubuntu18cis_rule_1_7_1: {{ ubtu18cis_rule_1_7_1 }}
ubuntu18cis_rule_1_7_2: {{ ubtu18cis_rule_1_7_2 }}
ubuntu18cis_rule_1_7_3: {{ ubtu18cis_rule_1_7_3 }}
ubuntu18cis_rule_1_7_4: {{ ubtu18cis_rule_1_7_4 }}
ubuntu18cis_rule_1_7_5: {{ ubtu18cis_rule_1_7_5 }}
ubuntu18cis_rule_1_7_6: {{ ubtu18cis_rule_1_7_6 }}
ubuntu18cis_rule_1_8_1: {{ ubtu18cis_rule_1_8_1 }}
ubuntu18cis_rule_1_8_2: {{ ubtu18cis_rule_1_8_2 }}
ubuntu18cis_rule_1_8_3: {{ ubtu18cis_rule_1_8_3 }}
ubuntu18cis_rule_1_8_4: {{ ubtu18cis_rule_1_8_4 }}
ubuntu18cis_rule_1_9: {{ ubtu18cis_rule_1_9 }}
# section 2 rules
ubuntu18cis_rule_2_1_1_1: {{ ubtu18cis_rule_2_1_1_1 }}
ubuntu18cis_rule_2_1_1_2: {{ ubtu18cis_rule_2_1_1_2 }}
ubuntu18cis_rule_2_1_1_3: {{ ubtu18cis_rule_2_1_1_3 }}
ubuntu18cis_rule_2_1_1_4: {{ ubtu18cis_rule_2_1_1_4 }}
ubuntu18cis_rule_2_1_2: {{ ubtu18cis_rule_2_1_2 }}
ubuntu18cis_rule_2_1_3: {{ ubtu18cis_rule_2_1_3 }}
ubuntu18cis_rule_2_1_4: {{ ubtu18cis_rule_2_1_4 }}
ubuntu18cis_rule_2_1_5: {{ ubtu18cis_rule_2_1_5 }}
ubuntu18cis_rule_2_1_6: {{ ubtu18cis_rule_2_1_6 }}
ubuntu18cis_rule_2_1_7: {{ ubtu18cis_rule_2_1_7 }}
ubuntu18cis_rule_2_1_8: {{ ubtu18cis_rule_2_1_8 }}
ubuntu18cis_rule_2_1_9: {{ ubtu18cis_rule_2_1_9 }}
ubuntu18cis_rule_2_1_10: {{ ubtu18cis_rule_2_1_10 }}
ubuntu18cis_rule_2_1_11: {{ ubtu18cis_rule_2_1_11 }}
ubuntu18cis_rule_2_1_12: {{ ubtu18cis_rule_2_1_12 }}
ubuntu18cis_rule_2_1_13: {{ ubtu18cis_rule_2_1_13 }}
ubuntu18cis_rule_2_1_14: {{ ubtu18cis_rule_2_1_14 }}
ubuntu18cis_rule_2_1_15: {{ ubtu18cis_rule_2_1_15 }}
ubuntu18cis_rule_2_1_16: {{ ubtu18cis_rule_2_1_16 }}
ubuntu18cis_rule_2_1_17: {{ ubtu18cis_rule_2_1_17 }}
ubuntu18cis_rule_2_2_1: {{ ubtu18cis_rule_2_2_1 }}
ubuntu18cis_rule_2_2_2: {{ ubtu18cis_rule_2_2_2 }}
ubuntu18cis_rule_2_2_3: {{ ubtu18cis_rule_2_2_3 }}
ubuntu18cis_rule_2_2_4: {{ ubtu18cis_rule_2_2_4 }}
ubuntu18cis_rule_2_2_5: {{ ubtu18cis_rule_2_2_5 }}
ubuntu18cis_rule_2_2_6: {{ ubtu18cis_rule_2_2_6 }}
ubuntu18cis_rule_2_3: {{ ubtu18cis_rule_2_3 }}
# Section 3 rules
ubuntu18cis_rule_3_1_1: {{ ubtu18cis_rule_3_1_1 }}
ubuntu18cis_rule_3_1_2: {{ ubtu18cis_rule_3_1_2 }}
ubuntu18cis_rule_3_2_1: {{ ubtu18cis_rule_3_2_1 }}
ubuntu18cis_rule_3_2_2: {{ ubtu18cis_rule_3_2_2 }}
ubuntu18cis_rule_3_3_1: {{ ubtu18cis_rule_3_3_1 }}
ubuntu18cis_rule_3_3_2: {{ ubtu18cis_rule_3_3_2 }}
ubuntu18cis_rule_3_3_3: {{ ubtu18cis_rule_3_3_3 }}
ubuntu18cis_rule_3_3_4: {{ ubtu18cis_rule_3_3_4 }}
ubuntu18cis_rule_3_3_5: {{ ubtu18cis_rule_3_3_5 }}
ubuntu18cis_rule_3_3_6: {{ ubtu18cis_rule_3_3_6 }}
ubuntu18cis_rule_3_3_7: {{ ubtu18cis_rule_3_3_7 }}
ubuntu18cis_rule_3_3_8: {{ ubtu18cis_rule_3_3_8 }}
ubuntu18cis_rule_3_3_9: {{ ubtu18cis_rule_3_3_9 }}
ubuntu18cis_rule_3_4_1: {{ ubtu18cis_rule_3_4_1 }}
ubuntu18cis_rule_3_4_2: {{ ubtu18cis_rule_3_4_2 }}
ubuntu18cis_rule_3_4_3: {{ ubtu18cis_rule_3_4_3 }}
ubuntu18cis_rule_3_4_4: {{ ubtu18cis_rule_3_4_4 }}
# UFW
ubuntu18cis_rule_3_5_1_1: {{ ubtu18cis_rule_3_5_1_1 }}
ubuntu18cis_rule_3_5_1_2: {{ ubtu18cis_rule_3_5_1_2 }}
ubuntu18cis_rule_3_5_1_3: {{ ubtu18cis_rule_3_5_1_3 }}
ubuntu18cis_rule_3_5_1_4: {{ ubtu18cis_rule_3_5_1_4 }}
ubuntu18cis_rule_3_5_1_5: {{ ubtu18cis_rule_3_5_1_5 }}
ubuntu18cis_rule_3_5_1_6: {{ ubtu18cis_rule_3_5_1_6 }}
ubuntu18cis_rule_3_5_1_7: {{ ubtu18cis_rule_3_5_1_7 }}
# NFTables
ubuntu18cis_rule_3_5_2_1: {{ ubtu18cis_rule_3_5_2_1 }}
ubuntu18cis_rule_3_5_2_2: {{ ubtu18cis_rule_3_5_2_2 }}
ubuntu18cis_rule_3_5_2_3: {{ ubtu18cis_rule_3_5_2_3 }}
ubuntu18cis_rule_3_5_2_4: {{ ubtu18cis_rule_3_5_2_4 }}
ubuntu18cis_rule_3_5_2_5: {{ ubtu18cis_rule_3_5_2_5 }}
ubuntu18cis_rule_3_5_2_6: {{ ubtu18cis_rule_3_5_2_6 }}
ubuntu18cis_rule_3_5_2_7: {{ ubtu18cis_rule_3_5_2_7 }}
ubuntu18cis_rule_3_5_2_8: {{ ubtu18cis_rule_3_5_2_8 }}
ubuntu18cis_rule_3_5_2_9: {{ ubtu18cis_rule_3_5_2_9 }}
ubuntu18cis_rule_3_5_2_10: {{ ubtu18cis_rule_3_5_2_10 }}
# IPTables
ubuntu18cis_rule_3_5_3_1_1: {{ ubtu18cis_rule_3_5_3_1_1 }}
ubuntu18cis_rule_3_5_3_1_2: {{ ubtu18cis_rule_3_5_3_1_2 }}
ubuntu18cis_rule_3_5_3_1_3: {{ ubtu18cis_rule_3_5_3_1_3 }}
ubuntu18cis_rule_3_5_3_2_1: {{ ubtu18cis_rule_3_5_3_2_1 }}
ubuntu18cis_rule_3_5_3_2_2: {{ ubtu18cis_rule_3_5_3_2_2 }}
ubuntu18cis_rule_3_5_3_2_3: {{ ubtu18cis_rule_3_5_3_2_3 }}
ubuntu18cis_rule_3_5_3_2_4: {{ ubtu18cis_rule_3_5_3_2_4 }}
ubuntu18cis_rule_3_5_3_3_1: {{ ubtu18cis_rule_3_5_3_3_1 }}
ubuntu18cis_rule_3_5_3_3_2: {{ ubtu18cis_rule_3_5_3_3_2 }}
ubuntu18cis_rule_3_5_3_3_3: {{ ubtu18cis_rule_3_5_3_3_3 }}
ubuntu18cis_rule_3_5_3_3_4: {{ ubtu18cis_rule_3_5_3_3_4 }}
# Section 4 rules
ubuntu18cis_rule_4_1_1_1: {{ ubtu18cis_rule_4_1_1_1 }}
ubuntu18cis_rule_4_1_1_2: {{ ubtu18cis_rule_4_1_1_2 }}
ubuntu18cis_rule_4_1_1_3: {{ ubtu18cis_rule_4_1_1_3 }}
ubuntu18cis_rule_4_1_1_4: {{ ubtu18cis_rule_4_1_1_4 }}
ubuntu18cis_rule_4_1_2_1: {{ ubtu18cis_rule_4_1_2_1 }}
ubuntu18cis_rule_4_1_2_2: {{ ubtu18cis_rule_4_1_2_2 }}
ubuntu18cis_rule_4_1_2_3: {{ ubtu18cis_rule_4_1_2_3 }}
ubuntu18cis_rule_4_1_3: {{ ubtu18cis_rule_4_1_3 }}
ubuntu18cis_rule_4_1_4: {{ ubtu18cis_rule_4_1_4 }}
ubuntu18cis_rule_4_1_5: {{ ubtu18cis_rule_4_1_5 }}
ubuntu18cis_rule_4_1_6: {{ ubtu18cis_rule_4_1_6 }}
ubuntu18cis_rule_4_1_7: {{ ubtu18cis_rule_4_1_7 }}
ubuntu18cis_rule_4_1_8: {{ ubtu18cis_rule_4_1_8 }}
ubuntu18cis_rule_4_1_9: {{ ubtu18cis_rule_4_1_9 }}
ubuntu18cis_rule_4_1_10: {{ ubtu18cis_rule_4_1_10 }}
ubuntu18cis_rule_4_1_11: {{ ubtu18cis_rule_4_1_11 }}
ubuntu18cis_rule_4_1_12: {{ ubtu18cis_rule_4_1_12 }}
ubuntu18cis_rule_4_1_13: {{ ubtu18cis_rule_4_1_13}}
ubuntu18cis_rule_4_1_14: {{ ubtu18cis_rule_4_1_14 }}
ubuntu18cis_rule_4_1_15: {{ ubtu18cis_rule_4_1_15 }}
ubuntu18cis_rule_4_1_16: {{ ubtu18cis_rule_4_1_16 }}
ubuntu18cis_rule_4_1_17: {{ ubtu18cis_rule_4_1_17 }}
ubuntu18cis_rule_4_2_1_1: {{ ubtu18cis_rule_4_2_1_1 }}
ubuntu18cis_rule_4_2_1_2: {{ ubtu18cis_rule_4_2_1_2 }}
ubuntu18cis_rule_4_2_1_3: {{ ubtu18cis_rule_4_2_1_3 }}
ubuntu18cis_rule_4_2_1_4: {{ ubtu18cis_rule_4_2_1_4 }}
ubuntu18cis_rule_4_2_1_5: {{ ubtu18cis_rule_4_2_1_5 }}
ubuntu18cis_rule_4_2_1_6: {{ ubtu18cis_rule_4_2_1_6 }}
ubuntu18cis_rule_4_2_2_1: {{ ubtu18cis_rule_4_2_2_1 }}
ubuntu18cis_rule_4_2_2_2: {{ ubtu18cis_rule_4_2_2_2 }}
ubuntu18cis_rule_4_2_2_3: {{ ubtu18cis_rule_4_2_2_3 }}
ubuntu18cis_rule_4_2_3: {{ ubtu18cis_rule_4_2_3 }}
ubuntu18cis_rule_4_3: {{ ubtu18cis_rule_4_3 }}
ubuntu18cis_rule_4_4: {{ ubtu18cis_rule_4_4 }}
# Section 5
ubuntu18cis_rule_5_1_1: {{ ubtu18cis_rule_5_1_1 }}
ubuntu18cis_rule_5_1_2: {{ ubtu18cis_rule_5_1_2 }}
ubuntu18cis_rule_5_1_3: {{ ubtu18cis_rule_5_1_3 }}
ubuntu18cis_rule_5_1_4: {{ ubtu18cis_rule_5_1_4 }}
ubuntu18cis_rule_5_1_5: {{ ubtu18cis_rule_5_1_5 }}
ubuntu18cis_rule_5_1_6: {{ ubtu18cis_rule_5_1_6 }}
ubuntu18cis_rule_5_1_7: {{ ubtu18cis_rule_5_1_7 }}
ubuntu18cis_rule_5_1_8: {{ ubtu18cis_rule_5_1_8 }}
ubuntu18cis_rule_5_1_9: {{ ubtu18cis_rule_5_1_9 }}
ubuntu18cis_rule_5_2_1: {{ ubtu18cis_rule_5_2_1 }}
ubuntu18cis_rule_5_2_2: {{ ubtu18cis_rule_5_2_2 }}
ubuntu18cis_rule_5_2_3: {{ ubtu18cis_rule_5_2_3 }}
ubuntu18cis_rule_5_3_1: {{ ubtu18cis_rule_5_3_1 }}
ubuntu18cis_rule_5_3_2: {{ ubtu18cis_rule_5_3_2 }}
ubuntu18cis_rule_5_3_3: {{ ubtu18cis_rule_5_3_3 }}
ubuntu18cis_rule_5_3_4: {{ ubtu18cis_rule_5_3_4 }}
ubuntu18cis_rule_5_3_5: {{ ubtu18cis_rule_5_3_5 }}
ubuntu18cis_rule_5_3_6: {{ ubtu18cis_rule_5_3_6 }}
ubuntu18cis_rule_5_3_7: {{ ubtu18cis_rule_5_3_7 }}
ubuntu18cis_rule_5_3_8: {{ ubtu18cis_rule_5_3_8 }}
ubuntu18cis_rule_5_3_9: {{ ubtu18cis_rule_5_3_9 }}
ubuntu18cis_rule_5_3_10: {{ ubtu18cis_rule_5_3_10 }}
ubuntu18cis_rule_5_3_11: {{ ubtu18cis_rule_5_3_11 }}
ubuntu18cis_rule_5_3_12: {{ ubtu18cis_rule_5_3_12 }}
ubuntu18cis_rule_5_3_13: {{ ubtu18cis_rule_5_3_13 }}
ubuntu18cis_rule_5_3_14: {{ ubtu18cis_rule_5_3_14 }}
ubuntu18cis_rule_5_3_15: {{ ubtu18cis_rule_5_3_15 }}
ubuntu18cis_rule_5_3_16: {{ ubtu18cis_rule_5_3_16 }}
ubuntu18cis_rule_5_3_17: {{ ubtu18cis_rule_5_3_17 }}
ubuntu18cis_rule_5_3_18: {{ ubtu18cis_rule_5_3_18 }}
ubuntu18cis_rule_5_3_19: {{ ubtu18cis_rule_5_3_19 }}
ubuntu18cis_rule_5_3_20: {{ ubtu18cis_rule_5_3_20 }}
ubuntu18cis_rule_5_3_21: {{ ubtu18cis_rule_5_3_21 }}
ubuntu18cis_rule_5_3_22: {{ ubtu18cis_rule_5_3_22 }}
ubuntu18cis_rule_5_4_1: {{ ubtu18cis_rule_5_4_1 }}
ubuntu18cis_rule_5_4_2: {{ ubtu18cis_rule_5_4_2 }}
ubuntu18cis_rule_5_4_3: {{ ubtu18cis_rule_5_4_3 }}
ubuntu18cis_rule_5_4_4: {{ ubtu18cis_rule_5_4_4 }}
ubuntu18cis_rule_5_5_1_1: {{ ubtu18cis_rule_5_5_1_1 }}
ubuntu18cis_rule_5_5_1_2: {{ ubtu18cis_rule_5_5_1_2 }}
ubuntu18cis_rule_5_5_1_3: {{ ubtu18cis_rule_5_5_1_3 }}
ubuntu18cis_rule_5_5_1_4: {{ ubtu18cis_rule_5_5_1_4 }}
ubuntu18cis_rule_5_5_1_5: {{ ubtu18cis_rule_5_5_1_5 }}
ubuntu18cis_rule_5_5_2: {{ ubtu18cis_rule_5_5_2 }}
ubuntu18cis_rule_5_5_3: {{ ubtu18cis_rule_5_5_3 }}
ubuntu18cis_rule_5_5_4: {{ ubtu18cis_rule_5_5_4 }}
ubuntu18cis_rule_5_5_5: {{ ubtu18cis_rule_5_5_5 }}
ubuntu18cis_rule_5_6: {{ ubtu18cis_rule_5_6 }}
ubuntu18cis_rule_5_7: {{ ubtu18cis_rule_5_7 }}
# Section 6
ubuntu18cis_rule_6_1_1: {{ ubtu18cis_rule_6_1_1 }}
ubuntu18cis_rule_6_1_2: {{ ubtu18cis_rule_6_1_2 }}
ubuntu18cis_rule_6_1_3: {{ ubtu18cis_rule_6_1_3 }}
ubuntu18cis_rule_6_1_4: {{ ubtu18cis_rule_6_1_4 }}
ubuntu18cis_rule_6_1_5: {{ ubtu18cis_rule_6_1_5 }}
ubuntu18cis_rule_6_1_6: {{ ubtu18cis_rule_6_1_6 }}
ubuntu18cis_rule_6_1_7: {{ ubtu18cis_rule_6_1_7 }}
ubuntu18cis_rule_6_1_8: {{ ubtu18cis_rule_6_1_8 }}
ubuntu18cis_rule_6_1_9: {{ ubtu18cis_rule_6_1_9 }}
ubuntu18cis_rule_6_1_10: {{ ubtu18cis_rule_6_1_10 }}
ubuntu18cis_rule_6_1_11: {{ ubtu18cis_rule_6_1_11 }}
ubuntu18cis_rule_6_1_12: {{ ubtu18cis_rule_6_1_12 }}
ubuntu18cis_rule_6_1_13: {{ ubtu18cis_rule_6_1_13 }}
ubuntu18cis_rule_6_1_14: {{ ubtu18cis_rule_6_1_14 }}
ubuntu18cis_rule_6_2_1: {{ ubtu18cis_rule_6_2_1 }}
ubuntu18cis_rule_6_2_2: {{ ubtu18cis_rule_6_2_2 }}
ubuntu18cis_rule_6_2_3: {{ ubtu18cis_rule_6_2_3 }}
ubuntu18cis_rule_6_2_4: {{ ubtu18cis_rule_6_2_4 }}
ubuntu18cis_rule_6_2_5: {{ ubtu18cis_rule_6_2_5 }}
ubuntu18cis_rule_6_2_6: {{ ubtu18cis_rule_6_2_6 }}
ubuntu18cis_rule_6_2_7: {{ ubtu18cis_rule_6_2_7 }}
ubuntu18cis_rule_6_2_8: {{ ubtu18cis_rule_6_2_8 }}
ubuntu18cis_rule_6_2_9: {{ ubtu18cis_rule_6_2_9 }}
ubuntu18cis_rule_6_2_10: {{ ubtu18cis_rule_6_2_10 }}
ubuntu18cis_rule_6_2_11: {{ ubtu18cis_rule_6_2_11 }}
ubuntu18cis_rule_6_2_12: {{ ubtu18cis_rule_6_2_12 }}
ubuntu18cis_rule_6_2_13: {{ ubtu18cis_rule_6_2_13 }}
ubuntu18cis_rule_6_2_14: {{ ubtu18cis_rule_6_2_14 }}
ubuntu18cis_rule_6_2_15: {{ ubtu18cis_rule_6_2_15 }}
ubuntu18cis_rule_6_2_16: {{ ubtu18cis_rule_6_2_16 }}
ubuntu18cis_rule_6_2_17: {{ ubtu18cis_rule_6_2_17 }}
# AIDE
ubuntu18cis_config_aide: true
# aide setup via - cron, timer
ubuntu18cis_aide_scan: cron
# AIDE cron settings
ubuntu18_aide_cron:
cron_user: {{ ubtu18cis_aide_cron.cron_user }}
cron_file: {{ ubtu18cis_aide_cron.cron_file }}
aide_job: {{ ubtu18cis_aide_cron.aide_job }}
aide_minute: {{ ubtu18cis_aide_cron.aide_minute }}
aide_hour: {{ ubtu18cis_aide_cron.aide_hour }}
aide_day: '{{ ubtu18cis_aide_cron.aide_day }}'
aide_month: '{{ ubtu18cis_aide_cron.aide_month }}'
aide_weekday: '{{ ubtu18cis_aide_cron.aide_weekday }}'
# 1.1
ubuntu18cis_allow_autofs: {{ ubtu18cis_allow_autofs }}
# 1.4
ubuntu18cis_grub_conf_file: /boot/grub/grub.cfg
ubuntu18cis_grub_username: root
ubuntu18cis_grub_hash: blah
# 1.5.1 Bootloader password
ubuntu18cis_bootloader_password: {{ ubtu18cis_root_pw }}
# 1.6 - Only have apparmor enforcing
ubuntu18cis_apparmor_enforce_only: false
# Warning Banner Content (issue, issue.net, motd)
ubuntu18_warning_banner: {{ ubtu18cis_warning_banner }}
# End Banner
# Section 2
# Time sync - can be timesync or chriny or ntp
ubuntu18cis_time_service: {{ ubtu18cis_time_sync_tool }}
ubuntu18cis_ntp_servers: {{ ubtu18cis_time_synchronization_servers }}
ubuntu18cis_ntp_fallback: {{ ubtu18cis_ntp_fallback_server_list }}
ubuntu18cis_ntp_root_distance:
# Whether or not to run tasks related to auditing/patching the desktop environment
ubuntu18cis_gui: {{ ubtu18cis_desktop_required }}
# Service configuration booleans set true to keep service
ubuntu18cis_avahi_server: {{ ubtu18cis_avahi_server }}
ubuntu18cis_cups_server: {{ ubtu18cis_cups_server }}
ubuntu18cis_nfs_server: {{ ubtu18cis_nfs_server }}
ubuntu18cis_dhcp_server: {{ ubtu18cis_dhcp_server }}
ubuntu18cis_ldap_server: {{ ubtu18cis_ldap_server }}
ubuntu18cis_dns_server: {{ ubtu18cis_dns_server }}
ubuntu18cis_vsftpd_server: {{ ubtu18cis_vsftpd_server }}
ubuntu18cis_httpd_server: {{ ubtu18cis_httpd_server }}
ubuntu18cis_is_mail_server: false
ubuntu18cis_dovecot_server: {{ ubtu18cis_dovecot_server }}
ubuntu18cis_samba_server: {{ ubtu18cis_smb_server }}
ubuntu18cis_squid_server: {{ ubtu18cis_squid_server }}
ubuntu18cis_snmp_server: {{ ubtu18cis_snmp_server }}
# Mail Server config
{% if ubtu18_cis_mail_transfer_agent is defined %}
ubuntu18cis_mailserver: {{ ubtu18_cis_mail_transfer_agent }}
{% else %}
ubuntu18cis_mailserver: Not_defined
{% endif %}
ubuntu18_exim_conf:
- dc_eximconfig_configtype='local'
- dc_local_interfaces='127.0.0.1 ; ::1'
- dc_readhost=''
- dc_relay_domains=''
- dc_minimaldns='false'
- dc_relay_nets=''
- dc_smarthost=''
- dc_use_split_config='false'
- dc_hide_mailname=''
- dc_mailname_in_oh='true'
- dc_localdelivery='mail_spool'
ubuntu18cis_rsyncd_server: {{ ubtu18cis_rsync_server }}
ubuntu18cis_nis_server: {{ ubtu18cis_nis_server }}
ubuntu18cis_xwindows_required: false
# 2.2 client services
ubuntu18cis_rsh_required: {{ ubtu18cis_rsh_required }}
ubuntu18cis_talk_required: {{ ubtu18cis_talk_required }}
ubuntu18cis_telnet_required: {{ ubtu18cis_telnet_required }}
ubuntu18cis_ldap_clients_required: {{ ubtu18cis_ldap_clients_required }}
ubuntu18cis_rpc_required: {{ ubtu18cis_rpc_server }}
# Section 3
# IPv6 required
ubuntu18cis_ipv6_required: {{ ubtu18cis_ipv6_required }}
# System network parameters (host only OR host and router)
ubuntu18cis_is_router: false
ubuntu18cis_firewall: {{ ubtu18cis_firewall_package }}
ubuntu18_default_firewall_zone: public
ubuntu18_firewall_interface:
- ['ens224']
- ['ens192']
ubuntu18_firewall_services:
- ssh
- dhcpv6-client
### Section 4
## auditd settings
ubuntu18cis_auditd:
space_left_action: email
action_mail_acct: root
admin_space_left_action: {{ ubtu18cis_auditd.admin_space_left_action }}
max_log_file_action: {{ ubtu18cis_auditd.max_log_file_action }}
auditd_backlog_limit: {{ ubtu18cis_audit_back_log_limit }}
## syslog
ubuntu18cis_is_syslog_server: {{ ubtu18cis_system_is_log_server }}
### Section 5
ubuntu18cis_sshd_limited: false
# Note the following to understand precedence and layout
ubuntu18cis_sshd_access:
- AllowUser
- AllowGroup
- DenyUser
- DenyGroup
ubuntu18cis_ssh_strong_ciphers: Ciphers [email protected],[email protected],[email protected],aes256-ctr,aes192-ctr,aes128-ctr
ubuntu18cis_ssh_weak_ciphers:
- 3des-cbc
- aes128-cbc
- aes192-cbc
- aes256-cbc
- arcfour
- arcfour128
- arcfour256
- blowfish-cbc
- cast128-cbc
ubuntu18cis_ssh_strong_macs: MACs [email protected],[email protected],hmac-sha2-512,hmac-sha2-256
ubuntu18cis_ssh_weak_macs:
- hmac-md5
- hmac-md5-96
- hmac-ripemd160
- hmac-sha1
- hmac-sha1-96
ubuntu18cis_ssh_strong_kex: KexAlgorithms curve25519-sha256,[email protected],diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256,diffie-hellman-group-exchange-sha256
ubuntu18cis_ssh_weak_kex:
- diffie-hellman-group1-sha1
- diffie-hellman-group14-sha1
- diffie-hellman-group-exchange-sha1
ubuntu18cis_ssh_aliveinterval: 300
ubuntu18cis_ssh_countmax: 3
## PAM
ubuntu18cis_pam_password:
minlen: "14"
minclass: "4"
ubuntu18cis_pam_passwd_retry: "3"
# choose one of below
ubuntu18cis_pwhistory_so: "14"
ubuntu18cis_unix_so: false
ubuntu18cis_passwd_remember: {{ ubtu18cis_pamd_pwhistory_remember }}
# logins.def password settings
ubuntu18cis_pass:
max_days: {{ ubtu18cis_pass.max_days }}
min_days: {{ ubtu18cis_pass.min_days }}
warn_age: {{ ubtu18cis_pass.warn_age }}
# set sugroup if differs from wheel
ubuntu18cis_sugroup: {{ ubtu18cis_su_group }}
# sugroup users list
ubuntu18_sugroup_users: "root"
# var log location variable
ubuntu18_varlog_location: {{ ubtu18cis_sudo_logfile }}