--- /srv/rebuilderd/tmp/rebuilderd7e6cDs/inputs/ssg-debderived_0.1.76-1_all.deb +++ /srv/rebuilderd/tmp/rebuilderd7e6cDs/out/ssg-debderived_0.1.76-1_all.deb ├── file list │ @@ -1,3 +1,3 @@ │ -rw-r--r-- 0 0 0 4 2025-03-01 08:08:00.000000 debian-binary │ --rw-r--r-- 0 0 0 3044 2025-03-01 08:08:00.000000 control.tar.xz │ --rw-r--r-- 0 0 0 3722520 2025-03-01 08:08:00.000000 data.tar.xz │ +-rw-r--r-- 0 0 0 3048 2025-03-01 08:08:00.000000 control.tar.xz │ +-rw-r--r-- 0 0 0 3722388 2025-03-01 08:08:00.000000 data.tar.xz ├── control.tar.xz │ ├── control.tar │ │ ├── ./md5sums │ │ │ ├── ./md5sums │ │ │ │┄ Files differ ├── data.tar.xz │ ├── data.tar │ │ ├── ./usr/share/doc/ssg-debderived/ssg-ubuntu1604-guide-anssi_np_nt28_average.html │ │ │ @@ -28208,95 +28208,95 @@ │ │ │ 0006e2f0: 6574 3d22 2369 646d 3936 3335 2220 7461 et="#idm9635" ta │ │ │ 0006e300: 6269 6e64 6578 3d22 3022 2072 6f6c 653d bindex="0" role= │ │ │ 0006e310: 2262 7574 746f 6e22 2061 7269 612d 6578 "button" aria-ex │ │ │ 0006e320: 7061 6e64 6564 3d22 6661 6c73 6522 2074 panded="false" t │ │ │ 0006e330: 6974 6c65 3d22 4163 7469 7661 7465 2074 itle="Activate t │ │ │ 0006e340: 6f20 7265 7665 616c 2220 6872 6566 3d22 o reveal" href=" │ │ │ 0006e350: 2321 223e 5265 6d65 6469 6174 696f 6e20 #!">Remediation │ │ │ -0006e360: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -0006e370: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
Complexity │ │ │ -0006e400: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -0006e420: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -0006e430: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -0006e440: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -0006e450: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -0006e470: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ -0006e4a0: 636f 6465 3e69 6e63 6c75 6465 2072 656d  code>include rem
│ │ │ -0006e4b0: 6f76 655f 696e 6574 7574 696c 732d 7465  ove_inetutils-te
│ │ │ -0006e4c0: 6c6e 6574 640a 0a63 6c61 7373 2072 656d  lnetd..class rem
│ │ │ -0006e4d0: 6f76 655f 696e 6574 7574 696c 732d 7465  ove_inetutils-te
│ │ │ -0006e4e0: 6c6e 6574 6420 7b0a 2020 7061 636b 6167  lnetd {.  packag
│ │ │ -0006e4f0: 6520 7b20 2769 6e65 7475 7469 6c73 2d74  e { 'inetutils-t
│ │ │ -0006e500: 656c 6e65 7464 273a 0a20 2020 2065 6e73  elnetd':.    ens
│ │ │ -0006e510: 7572 6520 3d26 6774 3b20 2770 7572 6765  ure => 'purge
│ │ │ -0006e520: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Reme │ │ │ -0006e5e0: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible │ │ │ -0006e5f0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -0006e600: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
< │ │ │ -0006e690: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -0006e6a0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -0006e6f0: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ -0006e730: 6e61 6d65 3a20 456e 7375 7265 2069 6e65  name: Ensure ine
│ │ │ -0006e740: 7475 7469 6c73 2d74 656c 6e65 7464 2069  tutils-telnetd i
│ │ │ -0006e750: 7320 7265 6d6f 7665 640a 2020 7061 636b  s removed.  pack
│ │ │ -0006e760: 6167 653a 0a20 2020 206e 616d 653a 2069  age:.    name: i
│ │ │ -0006e770: 6e65 7475 7469 6c73 2d74 656c 6e65 7464  netutils-telnetd
│ │ │ -0006e780: 0a20 2020 2073 7461 7465 3a20 6162 7365  .    state: abse
│ │ │ -0006e790: 6e74 0a20 2074 6167 733a 0a20 202d 204e  nt.  tags:.  - N
│ │ │ -0006e7a0: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -0006e7b0: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ -0006e7c0: 3533 2d43 4d2d 3728 6129 0a20 202d 204e  53-CM-7(a).  - N
│ │ │ -0006e7d0: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ -0006e7e0: 6229 0a20 202d 2064 6973 6162 6c65 5f73  b).  - disable_s
│ │ │ -0006e7f0: 7472 6174 6567 790a 2020 2d20 6869 6768  trategy.  - high
│ │ │ -0006e800: 5f73 6576 6572 6974 790a 2020 2d20 6c6f  _severity.  - lo
│ │ │ -0006e810: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -0006e820: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -0006e830: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -0006e840: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -0006e850: 5f69 6e65 7475 7469 6c73 2d74 656c 6e65  _inetutils-telne
│ │ │ -0006e860: 7464 5f72 656d 6f76 6564 0a3c 2f63 6f64  td_removed.
< │ │ │ +0006e3f0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ +0006e430: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 disable
C │ │ │ -0006e680: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -0006e6b0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -0006e6c0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -0006e700: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -0006e710: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexit │ │ │ +0006e400: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ +0006e420: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ +0006e450: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +0006e470: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
│ │ │ +0006e4a0: 3c63 6f64 653e 2d20 6e61 6d65 3a20 456e  - name: En
│ │ │ +0006e4b0: 7375 7265 2069 6e65 7475 7469 6c73 2d74  sure inetutils-t
│ │ │ +0006e4c0: 656c 6e65 7464 2069 7320 7265 6d6f 7665  elnetd is remove
│ │ │ +0006e4d0: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ +0006e4e0: 206e 616d 653a 2069 6e65 7475 7469 6c73   name: inetutils
│ │ │ +0006e4f0: 2d74 656c 6e65 7464 0a20 2020 2073 7461  -telnetd.    sta
│ │ │ +0006e500: 7465 3a20 6162 7365 6e74 0a20 2074 6167  te: absent.  tag
│ │ │ +0006e510: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +0006e520: 3533 2d43 4d2d 3628 6129 0a20 202d 204e  53-CM-6(a).  - N
│ │ │ +0006e530: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ +0006e540: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ +0006e550: 3533 2d43 4d2d 3728 6229 0a20 202d 2064  53-CM-7(b).  - d
│ │ │ +0006e560: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ +0006e570: 2020 2d20 6869 6768 5f73 6576 6572 6974    - high_severit
│ │ │ +0006e580: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +0006e590: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +0006e5a0: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72  ruption.  - no_r
│ │ │ +0006e5b0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +0006e5c0: 2070 6163 6b61 6765 5f69 6e65 7475 7469   package_inetuti
│ │ │ +0006e5d0: 6c73 2d74 656c 6e65 7464 5f72 656d 6f76  ls-telnetd_remov
│ │ │ +0006e5e0: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e  ed.
│ │ │ +0006e5f0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediation │ │ │ +0006e6a0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +0006e6b0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
< │ │ │ +0006e730: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +0006e740: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +0006e760: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +0006e770: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +0006e790: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +0006e7b0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ +0006e7e0: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ +0006e7f0: 6d6f 7665 5f69 6e65 7475 7469 6c73 2d74  move_inetutils-t
│ │ │ +0006e800: 656c 6e65 7464 0a0a 636c 6173 7320 7265  elnetd..class re
│ │ │ +0006e810: 6d6f 7665 5f69 6e65 7475 7469 6c73 2d74  move_inetutils-t
│ │ │ +0006e820: 656c 6e65 7464 207b 0a20 2070 6163 6b61  elnetd {.  packa
│ │ │ +0006e830: 6765 207b 2027 696e 6574 7574 696c 732d  ge { 'inetutils-
│ │ │ +0006e840: 7465 6c6e 6574 6427 3a0a 2020 2020 656e  telnetd':.    en
│ │ │ +0006e850: 7375 7265 203d 2667 743b 2027 7075 7267  sure => 'purg
│ │ │ +0006e860: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ed',.  }.}.
Reme │ │ │ -0006f200: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -0006f210: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
low< │ │ │ -0006f2c0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -0006f310: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ -0006f350: 6c75 6465 2072 656d 6f76 655f 6e69 730a  lude remove_nis.
│ │ │ -0006f360: 0a63 6c61 7373 2072 656d 6f76 655f 6e69  .class remove_ni
│ │ │ -0006f370: 7320 7b0a 2020 7061 636b 6167 6520 7b20  s {.  package { 
│ │ │ -0006f380: 276e 6973 273a 0a20 2020 2065 6e73 7572  'nis':.    ensur
│ │ │ -0006f390: 6520 3d26 6774 3b20 2770 7572 6765 6427  e => 'purged'
│ │ │ -0006f3a0: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ -0006f3b0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remedi
│ │ │ -0006f460: 6174 696f 6e20 416e 7369 626c 6520 736e  ation Ansible sn
│ │ │ -0006f470: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
Co │ │ │ -0006f2a0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -0006f2d0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -0006f2f0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -0006f300: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -0006f320: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -0006f330: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Com │ │ │ -0006f500: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -0006f530: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -0006f550: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -0006f560: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -0006f580: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -0006f590: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -0006f5b0: 6d65 3a20 456e 7375 7265 206e 6973 2069  me: Ensure nis i
│ │ │ -0006f5c0: 7320 7265 6d6f 7665 640a 2020 7061 636b  s removed.  pack
│ │ │ -0006f5d0: 6167 653a 0a20 2020 206e 616d 653a 206e  age:.    name: n
│ │ │ -0006f5e0: 6973 0a20 2020 2073 7461 7465 3a20 6162  is.    state: ab
│ │ │ -0006f5f0: 7365 6e74 0a20 2074 6167 733a 0a20 202d  sent.  tags:.  -
│ │ │ -0006f600: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ -0006f610: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -0006f620: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -0006f630: 7275 7074 696f 6e0a 2020 2d20 6c6f 775f  ruption.  - low_
│ │ │ -0006f640: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -0006f650: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -0006f660: 2d20 7061 636b 6167 655f 6e69 735f 7265  - package_nis_re
│ │ │ -0006f670: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70  moved.

< │ │ │ +0006f220: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
< │ │ │ +0006f2b0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +0006f2c0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +0006f310: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ +0006f350: 6e61 6d65 3a20 456e 7375 7265 206e 6973  name: Ensure nis
│ │ │ +0006f360: 2069 7320 7265 6d6f 7665 640a 2020 7061   is removed.  pa
│ │ │ +0006f370: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ +0006f380: 206e 6973 0a20 2020 2073 7461 7465 3a20   nis.    state: 
│ │ │ +0006f390: 6162 7365 6e74 0a20 2074 6167 733a 0a20  absent.  tags:. 
│ │ │ +0006f3a0: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ +0006f3b0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +0006f3c0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +0006f3d0: 6973 7275 7074 696f 6e0a 2020 2d20 6c6f  isruption.  - lo
│ │ │ +0006f3e0: 775f 7365 7665 7269 7479 0a20 202d 206e  w_severity.  - n
│ │ │ +0006f3f0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +0006f400: 2020 2d20 7061 636b 6167 655f 6e69 735f    - package_nis_
│ │ │ +0006f410: 7265 6d6f 7665 640a 3c2f 636f 6465 3e3c  removed.<
│ │ │ +0006f420: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remedi
│ │ │ +0006f4d0: 6174 696f 6e20 5075 7070 6574 2073 6e69  ation Puppet sni
│ │ │ +0006f4e0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e  ppet ...
│ │ │ +0006f4f0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
C │ │ │ +0006f2a0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +0006f2d0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +0006f2e0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +0006f320: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ +0006f330: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Comp │ │ │ +0006f570: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +0006f580: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +0006f5a0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +0006f5c0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +0006f5d0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +0006f610: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +0006f620: 6465 2072 656d 6f76 655f 6e69 730a 0a63  de remove_nis..c
│ │ │ +0006f630: 6c61 7373 2072 656d 6f76 655f 6e69 7320  lass remove_nis 
│ │ │ +0006f640: 7b0a 2020 7061 636b 6167 6520 7b20 276e  {.  package { 'n
│ │ │ +0006f650: 6973 273a 0a20 2020 2065 6e73 7572 6520  is':.    ensure 
│ │ │ +0006f660: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ +0006f670: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Re │ │ │ -0006fff0: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -00070000: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -00070010: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
│ │ │ -000700a0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
i
│ │ │ -00070140: 6e63 6c75 6465 2072 656d 6f76 655f 6e74  nclude remove_nt
│ │ │ -00070150: 7064 6174 650a 0a63 6c61 7373 2072 656d  pdate..class rem
│ │ │ -00070160: 6f76 655f 6e74 7064 6174 6520 7b0a 2020  ove_ntpdate {.  
│ │ │ -00070170: 7061 636b 6167 6520 7b20 276e 7470 6461  package { 'ntpda
│ │ │ -00070180: 7465 273a 0a20 2020 2065 6e73 7572 6520  te':.    ensure 
│ │ │ -00070190: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ -000701a0: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remediat │ │ │ -00070260: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip │ │ │ -00070270: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -00070280: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -00070290: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -000702a0: 7365 2220 6964 3d22 6964 6d39 3635 3422 se" id="idm9654" │ │ │ -000702b0: 3e3c 7461 626c 6520 636c 6173 733d 2274 >
│ │ │ -00070090: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -000700c0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -000700d0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -00070110: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ -00070120: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
│ │ │ -00070320: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -00070340: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -00070370: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -00070300: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -00070310: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -00070330: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -00070350: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -00070360: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -000703a0: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -000703b0: 3a20 456e 7375 7265 206e 7470 6461 7465 : Ensure ntpdate │ │ │ -000703c0: 2069 7320 7265 6d6f 7665 640a 2020 7061 is removed. pa │ │ │ -000703d0: 636b 6167 653a 0a20 2020 206e 616d 653a ckage:. name: │ │ │ -000703e0: 206e 7470 6461 7465 0a20 2020 2073 7461 ntpdate. sta │ │ │ -000703f0: 7465 3a20 6162 7365 6e74 0a20 2074 6167 te: absent. tag │ │ │ -00070400: 733a 0a20 202d 2064 6973 6162 6c65 5f73 s:. - disable_s │ │ │ -00070410: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_ │ │ │ -00070420: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l │ │ │ -00070430: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption. │ │ │ -00070440: 2d20 6c6f 775f 7365 7665 7269 7479 0a20 - low_severity. │ │ │ -00070450: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee │ │ │ -00070460: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_ │ │ │ -00070470: 6e74 7064 6174 655f 7265 6d6f 7665 640a ntpdate_removed. │ │ │ +0006fff0: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ +00070000: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
< │ │ │ +000700e0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +000700f0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +00070140: 2d20 6e61 6d65 3a20 456e 7375 7265 206e  - name: Ensure n
│ │ │ +00070150: 7470 6461 7465 2069 7320 7265 6d6f 7665  tpdate is remove
│ │ │ +00070160: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ +00070170: 206e 616d 653a 206e 7470 6461 7465 0a20   name: ntpdate. 
│ │ │ +00070180: 2020 2073 7461 7465 3a20 6162 7365 6e74     state: absent
│ │ │ +00070190: 0a20 2074 6167 733a 0a20 202d 2064 6973  .  tags:.  - dis
│ │ │ +000701a0: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +000701b0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +000701c0: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +000701d0: 696f 6e0a 2020 2d20 6c6f 775f 7365 7665  ion.  - low_seve
│ │ │ +000701e0: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +000701f0: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ +00070200: 636b 6167 655f 6e74 7064 6174 655f 7265  ckage_ntpdate_re
│ │ │ +00070210: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70  moved.

Remediat │ │ │ +000702d0: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ +000702e0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +00070320: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
Complexity:low
Disrup │ │ │ +000700c0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +000700d0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +00070110: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +00070120: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
< │ │ │ +00070390: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +000703b0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +000703e0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ +00070370: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +00070380: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +000703c0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +000703d0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ +00070420: 2072 656d 6f76 655f 6e74 7064 6174 650a remove_ntpdate. │ │ │ +00070430: 0a63 6c61 7373 2072 656d 6f76 655f 6e74 .class remove_nt │ │ │ +00070440: 7064 6174 6520 7b0a 2020 7061 636b 6167 pdate {. packag │ │ │ +00070450: 6520 7b20 276e 7470 6461 7465 273a 0a20 e { 'ntpdate':. │ │ │ +00070460: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure => │ │ │ +00070470: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a 'purged',. }.}. │ │ │ 00070480: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64

Remediation Pu │ │ │ -00071550: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ -00071560: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ -000715e0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -00071600: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -00071650: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -00071680: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -000715f0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -00071610: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -00071660: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -00071670: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ -000716a0: 655f 7465 6c6e 6574 642d 7373 6c0a 0a63  e_telnetd-ssl..c
│ │ │ -000716b0: 6c61 7373 2072 656d 6f76 655f 7465 6c6e  lass remove_teln
│ │ │ -000716c0: 6574 642d 7373 6c20 7b0a 2020 7061 636b  etd-ssl {.  pack
│ │ │ -000716d0: 6167 6520 7b20 2774 656c 6e65 7464 2d73  age { 'telnetd-s
│ │ │ -000716e0: 736c 273a 0a20 2020 2065 6e73 7572 6520  sl':.    ensure 
│ │ │ -000716f0: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ -00071700: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remediat │ │ │ -000717c0: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip │ │ │ -000717d0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -000717e0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -000717f0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -00071800: 7365 2220 6964 3d22 6964 6d39 3735 3522 se" id="idm9755" │ │ │ -00071810: 3e3c 7461 626c 6520 636c 6173 733d 2274 > │ │ │ -00071880: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -000718a0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -000718d0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -00071860: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -00071870: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -00071890: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -000718b0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -000718c0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -00071900: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -00071910: 3a20 456e 7375 7265 2074 656c 6e65 7464 : Ensure telnetd │ │ │ -00071920: 2d73 736c 2069 7320 7265 6d6f 7665 640a -ssl is removed. │ │ │ -00071930: 2020 7061 636b 6167 653a 0a20 2020 206e package:. n │ │ │ -00071940: 616d 653a 2074 656c 6e65 7464 2d73 736c ame: telnetd-ssl │ │ │ -00071950: 0a20 2020 2073 7461 7465 3a20 6162 7365 . state: abse │ │ │ -00071960: 6e74 0a20 2074 6167 733a 0a20 202d 204e nt. tags:. - N │ │ │ -00071970: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6( │ │ │ -00071980: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800- │ │ │ -00071990: 3533 2d43 4d2d 3728 6129 0a20 202d 204e 53-CM-7(a). - N │ │ │ -000719a0: 4953 542d 3830 302d 3533 2d43 4d2d 3728 IST-800-53-CM-7( │ │ │ -000719b0: 6229 0a20 202d 2064 6973 6162 6c65 5f73 b). - disable_s │ │ │ -000719c0: 7472 6174 6567 790a 2020 2d20 6869 6768 trategy. - high │ │ │ -000719d0: 5f73 6576 6572 6974 790a 2020 2d20 6c6f _severity. - lo │ │ │ -000719e0: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. - │ │ │ -000719f0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption. │ │ │ -00071a00: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ -00071a10: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package │ │ │ -00071a20: 5f74 656c 6e65 7464 2d73 736c 5f72 656d _telnetd-ssl_rem │ │ │ -00071a30: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072 oved.Remediation An │ │ │ +00071550: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ +00071560: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity: │ │ │ +000715f0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +00071610: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +00071630: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +00071660: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +00071670: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Ensu
│ │ │ +000716a0: 7265 2074 656c 6e65 7464 2d73 736c 2069  re telnetd-ssl i
│ │ │ +000716b0: 7320 7265 6d6f 7665 640a 2020 7061 636b  s removed.  pack
│ │ │ +000716c0: 6167 653a 0a20 2020 206e 616d 653a 2074  age:.    name: t
│ │ │ +000716d0: 656c 6e65 7464 2d73 736c 0a20 2020 2073  elnetd-ssl.    s
│ │ │ +000716e0: 7461 7465 3a20 6162 7365 6e74 0a20 2074  tate: absent.  t
│ │ │ +000716f0: 6167 733a 0a20 202d 204e 4953 542d 3830  ags:.  - NIST-80
│ │ │ +00071700: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ +00071710: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +00071720: 3728 6129 0a20 202d 204e 4953 542d 3830  7(a).  - NIST-80
│ │ │ +00071730: 302d 3533 2d43 4d2d 3728 6229 0a20 202d  0-53-CM-7(b).  -
│ │ │ +00071740: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ +00071750: 790a 2020 2d20 6869 6768 5f73 6576 6572  y.  - high_sever
│ │ │ +00071760: 6974 790a 2020 2d20 6c6f 775f 636f 6d70  ity.  - low_comp
│ │ │ +00071770: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +00071780: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f  isruption.  - no
│ │ │ +00071790: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +000717a0: 202d 2070 6163 6b61 6765 5f74 656c 6e65   - package_telne
│ │ │ +000717b0: 7464 2d73 736c 5f72 656d 6f76 6564 0a3c  td-ssl_removed.<
│ │ │ +000717c0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pup │ │ │ +00071880: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ +00071890: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
< │ │ │ +00071910: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +00071930: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +00071980: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +000719b0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include remove
│ │ │ +000719d0: 5f74 656c 6e65 7464 2d73 736c 0a0a 636c  _telnetd-ssl..cl
│ │ │ +000719e0: 6173 7320 7265 6d6f 7665 5f74 656c 6e65  ass remove_telne
│ │ │ +000719f0: 7464 2d73 736c 207b 0a20 2070 6163 6b61  td-ssl {.  packa
│ │ │ +00071a00: 6765 207b 2027 7465 6c6e 6574 642d 7373  ge { 'telnetd-ss
│ │ │ +00071a10: 6c27 3a0a 2020 2020 656e 7375 7265 203d  l':.    ensure =
│ │ │ +00071a20: 2667 743b 2027 7075 7267 6564 272c 0a20  > 'purged',. 
│ │ │ +00071a30: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.Remed
│ │ │ -00072b00: 6961 7469 6f6e 2050 7570 7065 7420 736e  iation Puppet sn
│ │ │ -00072b10: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
low
Disr │ │ │ +00071940: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +00071950: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +00071990: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +000719a0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
Com │ │ │ -00072ba0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -00072bd0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -00072bf0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -00072c00: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -00072c20: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -00072c30: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -00072c50: 7564 6520 7265 6d6f 7665 5f74 656c 6e65  ude remove_telne
│ │ │ -00072c60: 7464 0a0a 636c 6173 7320 7265 6d6f 7665  td..class remove
│ │ │ -00072c70: 5f74 656c 6e65 7464 207b 0a20 2070 6163  _telnetd {.  pac
│ │ │ -00072c80: 6b61 6765 207b 2027 7465 6c6e 6574 6427  kage { 'telnetd'
│ │ │ -00072c90: 3a0a 2020 2020 656e 7375 7265 203d 2667  :.    ensure =&g
│ │ │ -00072ca0: 743b 2027 7075 7267 6564 272c 0a20 207d  t; 'purged',.  }
│ │ │ -00072cb0: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ -00072cc0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediation │ │ │ -00072d70: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ -00072d80: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
│ │ │ -00072e00: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -00072e10: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -00072e20: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -00072e60: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -00072e70: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -00072e90: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -00072ea0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: E
│ │ │ -00072ec0: 6e73 7572 6520 7465 6c6e 6574 6420 6973  nsure telnetd is
│ │ │ -00072ed0: 2072 656d 6f76 6564 0a20 2070 6163 6b61   removed.  packa
│ │ │ -00072ee0: 6765 3a0a 2020 2020 6e61 6d65 3a20 7465  ge:.    name: te
│ │ │ -00072ef0: 6c6e 6574 640a 2020 2020 7374 6174 653a  lnetd.    state:
│ │ │ -00072f00: 2061 6273 656e 740a 2020 7461 6773 3a0a   absent.  tags:.
│ │ │ -00072f10: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -00072f20: 434d 2d36 2861 290a 2020 2d20 4e49 5354  CM-6(a).  - NIST
│ │ │ -00072f30: 2d38 3030 2d35 332d 434d 2d37 2861 290a  -800-53-CM-7(a).
│ │ │ -00072f40: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -00072f50: 434d 2d37 2862 290a 2020 2d20 6469 7361  CM-7(b).  - disa
│ │ │ -00072f60: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -00072f70: 2068 6967 685f 7365 7665 7269 7479 0a20   high_severity. 
│ │ │ -00072f80: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -00072f90: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -00072fa0: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f  tion.  - no_rebo
│ │ │ -00072fb0: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ -00072fc0: 636b 6167 655f 7465 6c6e 6574 645f 7265  ckage_telnetd_re
│ │ │ -00072fd0: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70  moved.

low< │ │ │ +00072bc0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +00072c10: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ +00072c50: 616d 653a 2045 6e73 7572 6520 7465 6c6e  ame: Ensure teln
│ │ │ +00072c60: 6574 6420 6973 2072 656d 6f76 6564 0a20  etd is removed. 
│ │ │ +00072c70: 2070 6163 6b61 6765 3a0a 2020 2020 6e61   package:.    na
│ │ │ +00072c80: 6d65 3a20 7465 6c6e 6574 640a 2020 2020  me: telnetd.    
│ │ │ +00072c90: 7374 6174 653a 2061 6273 656e 740a 2020  state: absent.  
│ │ │ +00072ca0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ +00072cb0: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ +00072cc0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +00072cd0: 2d37 2861 290a 2020 2d20 4e49 5354 2d38  -7(a).  - NIST-8
│ │ │ +00072ce0: 3030 2d35 332d 434d 2d37 2862 290a 2020  00-53-CM-7(b).  
│ │ │ +00072cf0: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ +00072d00: 6779 0a20 202d 2068 6967 685f 7365 7665  gy.  - high_seve
│ │ │ +00072d10: 7269 7479 0a20 202d 206c 6f77 5f63 6f6d  rity.  - low_com
│ │ │ +00072d20: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +00072d30: 6469 7372 7570 7469 6f6e 0a20 202d 206e  disruption.  - n
│ │ │ +00072d40: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +00072d50: 2020 2d20 7061 636b 6167 655f 7465 6c6e    - package_teln
│ │ │ +00072d60: 6574 645f 7265 6d6f 7665 640a 3c2f 636f  etd_removed.
< │ │ │ +00072d80: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +00072d90: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +00072da0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +00072db0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +00072dc0: 646d 3938 3535 2220 7461 6269 6e64 6578 dm9855" tabindex │ │ │ +00072dd0: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ +00072de0: 6e22 2061 7269 612d 6578 7061 6e64 6564 n" aria-expanded │ │ │ +00072df0: 3d22 6661 6c73 6522 2074 6974 6c65 3d22 ="false" title=" │ │ │ +00072e00: 4163 7469 7661 7465 2074 6f20 7265 7665 Activate to reve │ │ │ +00072e10: 616c 2220 6872 6566 3d22 2321 223e 5265 al" href="#!">Re │ │ │ +00072e20: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ +00072e30: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +00072e40: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co │ │ │ +00072ba0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +00072bd0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +00072bf0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +00072c00: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +00072c20: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +00072c30: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
│ │ │ +00072ed0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
i
│ │ │ +00072f70: 6e63 6c75 6465 2072 656d 6f76 655f 7465  nclude remove_te
│ │ │ +00072f80: 6c6e 6574 640a 0a63 6c61 7373 2072 656d  lnetd..class rem
│ │ │ +00072f90: 6f76 655f 7465 6c6e 6574 6420 7b0a 2020  ove_telnetd {.  
│ │ │ +00072fa0: 7061 636b 6167 6520 7b20 2774 656c 6e65  package { 'telne
│ │ │ +00072fb0: 7464 273a 0a20 2020 2065 6e73 7572 6520  td':.    ensure 
│ │ │ +00072fc0: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ +00072fd0: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Reme │ │ │ -00074f80: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild │ │ │ -00074f90: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe │ │ │ -00074fa0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -00074fe0: 3c70 7265 3e3c 636f 6465 3e0a 5b5b 7061
.[[pa
│ │ │ -00074ff0: 636b 6167 6573 5d5d 0a6e 616d 6520 3d20  ckages]].name = 
│ │ │ -00075000: 226e 7470 220a 7665 7273 696f 6e20 3d20  "ntp".version = 
│ │ │ -00075010: 222a 220a 3c2f 636f 6465 3e3c 2f70 7265  "*".
Remediati │ │ │ -000750d0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -000750e0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -00075120: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
│ │ │ +00072ec0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +00072ef0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +00072f00: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +00072f40: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +00072f50: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ -00075190: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -000751b0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -000751e0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -00075200: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -00075170: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -00075180: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -000751c0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -000751d0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ -00075220: 696e 7374 616c 6c5f 6e74 700a 0a63 6c61 install_ntp..cla │ │ │ -00075230: 7373 2069 6e73 7461 6c6c 5f6e 7470 207b ss install_ntp { │ │ │ -00075240: 0a20 2070 6163 6b61 6765 207b 2027 6e74 . package { 'nt │ │ │ -00075250: 7027 3a0a 2020 2020 656e 7375 7265 203d p':. ensure = │ │ │ -00075260: 2667 743b 2027 696e 7374 616c 6c65 6427 > 'installed' │ │ │ -00075270: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.< │ │ │ -00075280: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remed │ │ │ -00075330: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s │ │ │ -00075340: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -000753e0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -000753f0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -00075440: 3c74 723e 3c74 683e 5374 7261 7465 6779
- n
│ │ │ -00075480: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ -00075490: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ -000754a0: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ -000754b0: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ -000754c0: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ -000754d0: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ -000754e0: 0a20 202d 2050 4349 2d44 5353 2d52 6571  .  - PCI-DSS-Req
│ │ │ -000754f0: 2d31 302e 340a 2020 2d20 656e 6162 6c65  -10.4.  - enable
│ │ │ -00075500: 5f73 7472 6174 6567 790a 2020 2d20 6869  _strategy.  - hi
│ │ │ -00075510: 6768 5f73 6576 6572 6974 790a 2020 2d20  gh_severity.  - 
│ │ │ -00075520: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -00075530: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -00075540: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f  n.  - no_reboot_
│ │ │ -00075550: 6e65 6564 6564 0a20 202d 2070 6163 6b61  needed.  - packa
│ │ │ -00075560: 6765 5f6e 7470 5f69 6e73 7461 6c6c 6564  ge_ntp_installed
│ │ │ -00075570: 0a0a 2d20 6e61 6d65 3a20 456e 7375 7265  ..- name: Ensure
│ │ │ -00075580: 206e 7470 2069 7320 696e 7374 616c 6c65   ntp is installe
│ │ │ -00075590: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ -000755a0: 206e 616d 653a 206e 7470 0a20 2020 2073   name: ntp.    s
│ │ │ -000755b0: 7461 7465 3a20 7072 6573 656e 740a 2020  tate: present.  
│ │ │ -000755c0: 7768 656e 3a20 2722 6c69 6e75 782d 6261  when: '"linux-ba
│ │ │ -000755d0: 7365 2220 696e 2061 6e73 6962 6c65 5f66  se" in ansible_f
│ │ │ -000755e0: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ -000755f0: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ -00075600: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ -00075610: 202d 2050 4349 2d44 5353 2d52 6571 2d31   - PCI-DSS-Req-1
│ │ │ -00075620: 302e 340a 2020 2d20 656e 6162 6c65 5f73  0.4.  - enable_s
│ │ │ -00075630: 7472 6174 6567 790a 2020 2d20 6869 6768  trategy.  - high
│ │ │ -00075640: 5f73 6576 6572 6974 790a 2020 2d20 6c6f  _severity.  - lo
│ │ │ -00075650: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -00075660: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -00075670: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -00075680: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -00075690: 5f6e 7470 5f69 6e73 7461 6c6c 6564 0a3c  _ntp_installed.<
│ │ │ +00074f80: 6469 6174 696f 6e20 416e 7369 626c 6520  diation Ansible 
│ │ │ +00074f90: 736e 6970 7065 7420 e287 b23c 2f61 3e3c  snippet ...<
│ │ │ +00074fa0: 6272 3e3c 6469 7620 636c 6173 733d 2270  br>
C │ │ │ -000753d0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -00075400: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -00075410: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -00075450: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ -00075460: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
│ │ │ +00075030: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
- 
│ │ │ +000750d0: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ +000750e0: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ +000750f0: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ +00075100: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ +00075110: 6f0a 2020 7461 6773 3a0a 2020 2d20 4e49  o.  tags:.  - NI
│ │ │ +00075120: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +00075130: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ +00075140: 712d 3130 2e34 0a20 202d 2065 6e61 626c  q-10.4.  - enabl
│ │ │ +00075150: 655f 7374 7261 7465 6779 0a20 202d 2068  e_strategy.  - h
│ │ │ +00075160: 6967 685f 7365 7665 7269 7479 0a20 202d  igh_severity.  -
│ │ │ +00075170: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +00075180: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +00075190: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74  on.  - no_reboot
│ │ │ +000751a0: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ +000751b0: 6167 655f 6e74 705f 696e 7374 616c 6c65  age_ntp_installe
│ │ │ +000751c0: 640a 0a2d 206e 616d 653a 2045 6e73 7572  d..- name: Ensur
│ │ │ +000751d0: 6520 6e74 7020 6973 2069 6e73 7461 6c6c  e ntp is install
│ │ │ +000751e0: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ +000751f0: 2020 6e61 6d65 3a20 6e74 700a 2020 2020    name: ntp.    
│ │ │ +00075200: 7374 6174 653a 2070 7265 7365 6e74 0a20  state: present. 
│ │ │ +00075210: 2077 6865 6e3a 2027 226c 696e 7578 2d62   when: '"linux-b
│ │ │ +00075220: 6173 6522 2069 6e20 616e 7369 626c 655f  ase" in ansible_
│ │ │ +00075230: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ +00075240: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ +00075250: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ +00075260: 2020 2d20 5043 492d 4453 532d 5265 712d    - PCI-DSS-Req-
│ │ │ +00075270: 3130 2e34 0a20 202d 2065 6e61 626c 655f  10.4.  - enable_
│ │ │ +00075280: 7374 7261 7465 6779 0a20 202d 2068 6967  strategy.  - hig
│ │ │ +00075290: 685f 7365 7665 7269 7479 0a20 202d 206c  h_severity.  - l
│ │ │ +000752a0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +000752b0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +000752c0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +000752d0: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ +000752e0: 655f 6e74 705f 696e 7374 616c 6c65 640a  e_ntp_installed.
│ │ │ +000752f0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation P │ │ │ +000753b0: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ +000753c0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ +00075480: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +00075490: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
│ │ │ +00075020: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +00075050: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +00075060: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +000750a0: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ +000750b0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexity │ │ │ +00075450: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ +00075470: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ +000754a0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ +000754c0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
include inst
│ │ │ +00075500: 616c 6c5f 6e74 700a 0a63 6c61 7373 2069  all_ntp..class i
│ │ │ +00075510: 6e73 7461 6c6c 5f6e 7470 207b 0a20 2070  nstall_ntp {.  p
│ │ │ +00075520: 6163 6b61 6765 207b 2027 6e74 7027 3a0a  ackage { 'ntp':.
│ │ │ +00075530: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +00075540: 2027 696e 7374 616c 6c65 6427 2c0a 2020   'installed',.  
│ │ │ +00075550: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ +00075610: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep │ │ │ +00075620: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ... │ │ │ +00075630: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ +00075670: 3c63 6f64 653e 0a5b 5b70 6163 6b61 6765  .[[package
│ │ │ +00075680: 735d 5d0a 6e61 6d65 203d 2022 6e74 7022  s]].name = "ntp"
│ │ │ +00075690: 0a76 6572 7369 6f6e 203d 2022 2a22 0a3c  .version = "*".<
│ │ │  000756a0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -3999,14 +3982,31 @@ │ │ │ │ - PCI-DSS-Req-10.4 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_ntp_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_ntp │ │ │ │ + │ │ │ │ +class install_ntp { │ │ │ │ + package { 'ntp': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "ntp" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ ├── ./usr/share/doc/ssg-debderived/ssg-ubuntu1604-guide-anssi_np_nt28_high.html │ │ │ @@ -28652,131 +28652,131 @@ │ │ │ 0006feb0: 6170 7365 2220 6461 7461 2d74 6172 6765 apse" data-targe │ │ │ 0006fec0: 743d 2223 6964 6d39 3434 3322 2074 6162 t="#idm9443" tab │ │ │ 0006fed0: 696e 6465 783d 2230 2220 726f 6c65 3d22 index="0" role=" │ │ │ 0006fee0: 6275 7474 6f6e 2220 6172 6961 2d65 7870 button" aria-exp │ │ │ 0006fef0: 616e 6465 643d 2266 616c 7365 2220 7469 anded="false" ti │ │ │ 0006ff00: 746c 653d 2241 6374 6976 6174 6520 746f tle="Activate to │ │ │ 0006ff10: 2072 6576 6561 6c22 2068 7265 663d 2223 reveal" href="# │ │ │ -0006ff20: 2122 3e52 656d 6564 6961 7469 6f6e 204f !">Remediation O │ │ │ -0006ff30: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint │ │ │ -0006ff40: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -0006ff50: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.[[packages]].n
│ │ │ -0006ffa0: 616d 6520 3d20 2263 726f 6e22 0a76 6572  ame = "cron".ver
│ │ │ -0006ffb0: 7369 6f6e 203d 2022 2a22 0a3c 2f63 6f64  sion = "*".
Rem │ │ │ -00070070: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ -00070080: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -00070090: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
< │ │ │ -00070120: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -00070130: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -00070180: 3c74 723e 3c74 683e 5374 7261 7465 6779
inc
│ │ │ -000701c0: 6c75 6465 2069 6e73 7461 6c6c 5f63 726f  lude install_cro
│ │ │ -000701d0: 6e0a 0a63 6c61 7373 2069 6e73 7461 6c6c  n..class install
│ │ │ -000701e0: 5f63 726f 6e20 7b0a 2020 7061 636b 6167  _cron {.  packag
│ │ │ -000701f0: 6520 7b20 2763 726f 6e27 3a0a 2020 2020  e { 'cron':.    
│ │ │ -00070200: 656e 7375 7265 203d 2667 743b 2027 696e  ensure => 'in
│ │ │ -00070210: 7374 616c 6c65 6427 2c0a 2020 7d0a 7d0a  stalled',.  }.}.
│ │ │ -00070220: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation An │ │ │ -000702e0: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -000702f0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
low< │ │ │ -000703c0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr> │ │ │ -00070410: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
C │ │ │ -00070110: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -00070140: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -00070150: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -00070190: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ -000701a0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complexity: │ │ │ -00070380: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ -000703a0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ -000703f0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -00070400: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
- name: Gathe
│ │ │ -00070430: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ -00070440: 6374 730a 2020 7061 636b 6167 655f 6661  cts.  package_fa
│ │ │ -00070450: 6374 733a 0a20 2020 206d 616e 6167 6572  cts:.    manager
│ │ │ -00070460: 3a20 6175 746f 0a20 2074 6167 733a 0a20  : auto.  tags:. 
│ │ │ -00070470: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -00070480: 4d2d 3628 6129 0a20 202d 2050 4349 2d44  M-6(a).  - PCI-D
│ │ │ -00070490: 5353 7634 2d32 2e32 0a20 202d 2050 4349  SSv4-2.2.  - PCI
│ │ │ -000704a0: 2d44 5353 7634 2d32 2e32 2e36 0a20 202d  -DSSv4-2.2.6.  -
│ │ │ -000704b0: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ -000704c0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -000704d0: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -000704e0: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ -000704f0: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ -00070500: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -00070510: 2020 2d20 7061 636b 6167 655f 6372 6f6e    - package_cron
│ │ │ -00070520: 5f69 6e73 7461 6c6c 6564 0a0a 2d20 6e61  _installed..- na
│ │ │ -00070530: 6d65 3a20 456e 7375 7265 2063 726f 6e20  me: Ensure cron 
│ │ │ -00070540: 6973 2069 6e73 7461 6c6c 6564 0a20 2070  is installed.  p
│ │ │ -00070550: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65  ackage:.    name
│ │ │ -00070560: 3a20 6372 6f6e 0a20 2020 2073 7461 7465  : cron.    state
│ │ │ -00070570: 3a20 7072 6573 656e 740a 2020 7768 656e  : present.  when
│ │ │ -00070580: 3a20 2722 6c69 6e75 782d 6261 7365 2220  : '"linux-base" 
│ │ │ -00070590: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -000705a0: 2e70 6163 6b61 6765 7327 0a20 2074 6167  .packages'.  tag
│ │ │ -000705b0: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ -000705c0: 3533 2d43 4d2d 3628 6129 0a20 202d 2050  53-CM-6(a).  - P
│ │ │ -000705d0: 4349 2d44 5353 7634 2d32 2e32 0a20 202d  CI-DSSv4-2.2.  -
│ │ │ -000705e0: 2050 4349 2d44 5353 7634 2d32 2e32 2e36   PCI-DSSv4-2.2.6
│ │ │ -000705f0: 0a20 202d 2065 6e61 626c 655f 7374 7261  .  - enable_stra
│ │ │ -00070600: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ -00070610: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -00070620: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ -00070630: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ -00070640: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -00070650: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ -00070660: 6372 6f6e 5f69 6e73 7461 6c6c 6564 0a3c  cron_installed.<
│ │ │ +0006ff20: 2122 3e52 656d 6564 6961 7469 6f6e 2041  !">Remediation A
│ │ │ +0006ff30: 6e73 6962 6c65 2073 6e69 7070 6574 20e2  nsible snippet .
│ │ │ +0006ff40: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063  ..
Complexity │ │ │ +0006ffd0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +0006fff0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +00070000: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +00070010: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +00070020: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +00070040: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
- name: Gath
│ │ │ +00070080: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ +00070090: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ +000700a0: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ +000700b0: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ +000700c0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +000700d0: 434d 2d36 2861 290a 2020 2d20 5043 492d  CM-6(a).  - PCI-
│ │ │ +000700e0: 4453 5376 342d 322e 320a 2020 2d20 5043  DSSv4-2.2.  - PC
│ │ │ +000700f0: 492d 4453 5376 342d 322e 322e 360a 2020  I-DSSv4-2.2.6.  
│ │ │ +00070100: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ +00070110: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +00070120: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +00070130: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ +00070140: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ +00070150: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +00070160: 0a20 202d 2070 6163 6b61 6765 5f63 726f  .  - package_cro
│ │ │ +00070170: 6e5f 696e 7374 616c 6c65 640a 0a2d 206e  n_installed..- n
│ │ │ +00070180: 616d 653a 2045 6e73 7572 6520 6372 6f6e  ame: Ensure cron
│ │ │ +00070190: 2069 7320 696e 7374 616c 6c65 640a 2020   is installed.  
│ │ │ +000701a0: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ +000701b0: 653a 2063 726f 6e0a 2020 2020 7374 6174  e: cron.    stat
│ │ │ +000701c0: 653a 2070 7265 7365 6e74 0a20 2077 6865  e: present.  whe
│ │ │ +000701d0: 6e3a 2027 226c 696e 7578 2d62 6173 6522  n: '"linux-base"
│ │ │ +000701e0: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ +000701f0: 732e 7061 636b 6167 6573 270a 2020 7461  s.packages'.  ta
│ │ │ +00070200: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030  gs:.  - NIST-800
│ │ │ +00070210: 2d35 332d 434d 2d36 2861 290a 2020 2d20  -53-CM-6(a).  - 
│ │ │ +00070220: 5043 492d 4453 5376 342d 322e 320a 2020  PCI-DSSv4-2.2.  
│ │ │ +00070230: 2d20 5043 492d 4453 5376 342d 322e 322e  - PCI-DSSv4-2.2.
│ │ │ +00070240: 360a 2020 2d20 656e 6162 6c65 5f73 7472  6.  - enable_str
│ │ │ +00070250: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ +00070260: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +00070270: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +00070280: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ +00070290: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ +000702a0: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ +000702b0: 5f63 726f 6e5f 696e 7374 616c 6c65 640a  _cron_installed.
│ │ │ +000702c0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation Pu │ │ │ +00070380: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ +00070390: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ +00070410: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +00070430: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +00070480: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ +000704b0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include instal
│ │ │ +000704d0: 6c5f 6372 6f6e 0a0a 636c 6173 7320 696e  l_cron..class in
│ │ │ +000704e0: 7374 616c 6c5f 6372 6f6e 207b 0a20 2070  stall_cron {.  p
│ │ │ +000704f0: 6163 6b61 6765 207b 2027 6372 6f6e 273a  ackage { 'cron':
│ │ │ +00070500: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ +00070510: 3b20 2769 6e73 7461 6c6c 6564 272c 0a20  ; 'installed',. 
│ │ │ +00070520: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.Remediati
│ │ │ +000705e0: 6f6e 204f 5342 7569 6c64 2042 6c75 6570  on OSBuild Bluep
│ │ │ +000705f0: 7269 6e74 2073 6e69 7070 6574 20e2 87b2  rint snippet ...
│ │ │ +00070600: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61  
<
│ │ │ +00070640: 636f 6465 3e0a 5b5b 7061 636b 6167 6573  code>.[[packages
│ │ │ +00070650: 5d5d 0a6e 616d 6520 3d20 2263 726f 6e22  ]].name = "cron"
│ │ │ +00070660: 0a76 6572 7369 6f6e 203d 2022 2a22 0a3c  .version = "*".<
│ │ │  00070670: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
│ │ │ -00071b90: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ -00071ba0: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
Complexity:< │ │ │ +00070420: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +00070440: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +00070490: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ +000704a0: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
Complexity: │ │ │ -00071c80: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -00071c90: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ -00071cf0: 696e 6574 7574 696c 732d 7465 6c6e 6574  inetutils-telnet
│ │ │ -00071d00: 640a 0a63 6c61 7373 2072 656d 6f76 655f  d..class remove_
│ │ │ -00071d10: 696e 6574 7574 696c 732d 7465 6c6e 6574  inetutils-telnet
│ │ │ -00071d20: 6420 7b0a 2020 7061 636b 6167 6520 7b20  d {.  package { 
│ │ │ -00071d30: 2769 6e65 7475 7469 6c73 2d74 656c 6e65  'inetutils-telne
│ │ │ -00071d40: 7464 273a 0a20 2020 2065 6e73 7572 6520  td':.    ensure 
│ │ │ -00071d50: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ -00071d60: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remediat │ │ │ -00071e20: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip │ │ │ -00071e30: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -00071e40: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -00071e50: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -00071e60: 7365 2220 6964 3d22 6964 6d39 3633 3622 se" id="idm9636" │ │ │ -00071e70: 3e3c 7461 626c 6520 636c 6173 733d 2274 >
low
Disru │ │ │ -00071c60: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -00071c70: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -00071cb0: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ -00071cc0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -00071ee0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -00071f00: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -00071f30: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -00071ec0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -00071ed0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -00071ef0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -00071f10: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -00071f20: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -00071f60: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -00071f70: 3a20 456e 7375 7265 2069 6e65 7475 7469 : Ensure inetuti │ │ │ -00071f80: 6c73 2d74 656c 6e65 7464 2069 7320 7265 ls-telnetd is re │ │ │ -00071f90: 6d6f 7665 640a 2020 7061 636b 6167 653a moved. package: │ │ │ -00071fa0: 0a20 2020 206e 616d 653a 2069 6e65 7475 . name: inetu │ │ │ -00071fb0: 7469 6c73 2d74 656c 6e65 7464 0a20 2020 tils-telnetd. │ │ │ -00071fc0: 2073 7461 7465 3a20 6162 7365 6e74 0a20 state: absent. │ │ │ -00071fd0: 2074 6167 733a 0a20 202d 204e 4953 542d tags:. - NIST- │ │ │ -00071fe0: 3830 302d 3533 2d43 4d2d 3628 6129 0a20 800-53-CM-6(a). │ │ │ -00071ff0: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C │ │ │ -00072000: 4d2d 3728 6129 0a20 202d 204e 4953 542d M-7(a). - NIST- │ │ │ -00072010: 3830 302d 3533 2d43 4d2d 3728 6229 0a20 800-53-CM-7(b). │ │ │ -00072020: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat │ │ │ -00072030: 6567 790a 2020 2d20 6869 6768 5f73 6576 egy. - high_sev │ │ │ -00072040: 6572 6974 790a 2020 2d20 6c6f 775f 636f erity. - low_co │ │ │ -00072050: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low │ │ │ -00072060: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. - │ │ │ -00072070: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed │ │ │ -00072080: 0a20 202d 2070 6163 6b61 6765 5f69 6e65 . - package_ine │ │ │ -00072090: 7475 7469 6c73 2d74 656c 6e65 7464 5f72 tutils-telnetd_r │ │ │ -000720a0: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f emoved.
< │ │ │ +00071c30: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +00071c50: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +00071ca0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +00071cd0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Ensure
│ │ │ +00071cf0: 2069 6e65 7475 7469 6c73 2d74 656c 6e65   inetutils-telne
│ │ │ +00071d00: 7464 2069 7320 7265 6d6f 7665 640a 2020  td is removed.  
│ │ │ +00071d10: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ +00071d20: 653a 2069 6e65 7475 7469 6c73 2d74 656c  e: inetutils-tel
│ │ │ +00071d30: 6e65 7464 0a20 2020 2073 7461 7465 3a20  netd.    state: 
│ │ │ +00071d40: 6162 7365 6e74 0a20 2074 6167 733a 0a20  absent.  tags:. 
│ │ │ +00071d50: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +00071d60: 4d2d 3628 6129 0a20 202d 204e 4953 542d  M-6(a).  - NIST-
│ │ │ +00071d70: 3830 302d 3533 2d43 4d2d 3728 6129 0a20  800-53-CM-7(a). 
│ │ │ +00071d80: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +00071d90: 4d2d 3728 6229 0a20 202d 2064 6973 6162  M-7(b).  - disab
│ │ │ +00071da0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +00071db0: 6869 6768 5f73 6576 6572 6974 790a 2020  high_severity.  
│ │ │ +00071dc0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +00071dd0: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +00071de0: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f  ion.  - no_reboo
│ │ │ +00071df0: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ +00071e00: 6b61 6765 5f69 6e65 7475 7469 6c73 2d74  kage_inetutils-t
│ │ │ +00071e10: 656c 6e65 7464 5f72 656d 6f76 6564 0a3c  elnetd_removed.<
│ │ │ +00071e20: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pup │ │ │ +00071ee0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ +00071ef0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
low
Disr │ │ │ +00071c60: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +00071c70: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +00071cb0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +00071cc0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
< │ │ │ +00071f70: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +00071f90: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +00071fe0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +00072010: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include remove
│ │ │ +00072030: 5f69 6e65 7475 7469 6c73 2d74 656c 6e65  _inetutils-telne
│ │ │ +00072040: 7464 0a0a 636c 6173 7320 7265 6d6f 7665  td..class remove
│ │ │ +00072050: 5f69 6e65 7475 7469 6c73 2d74 656c 6e65  _inetutils-telne
│ │ │ +00072060: 7464 207b 0a20 2070 6163 6b61 6765 207b  td {.  package {
│ │ │ +00072070: 2027 696e 6574 7574 696c 732d 7465 6c6e   'inetutils-teln
│ │ │ +00072080: 6574 6427 3a0a 2020 2020 656e 7375 7265  etd':.    ensure
│ │ │ +00072090: 203d 2667 743b 2027 7075 7267 6564 272c   => 'purged',
│ │ │ +000720a0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.Remediat
│ │ │ -00072a40: 696f 6e20 5075 7070 6574 2073 6e69 7070  ion Puppet snipp
│ │ │ -00072a50: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64  et ...
│ │ │ -00072a90: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
low
Disr │ │ │ +00071fa0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +00071fb0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +00071ff0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +00072000: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
< │ │ │ -00072b00: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -00072b20: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -00072b50: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -00072ae0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -00072af0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -00072b30: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -00072b40: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ -00072b90: 2072 656d 6f76 655f 6e69 730a 0a63 6c61 remove_nis..cla │ │ │ -00072ba0: 7373 2072 656d 6f76 655f 6e69 7320 7b0a ss remove_nis {. │ │ │ -00072bb0: 2020 7061 636b 6167 6520 7b20 276e 6973 package { 'nis │ │ │ -00072bc0: 273a 0a20 2020 2065 6e73 7572 6520 3d26 ':. ensure =& │ │ │ -00072bd0: 6774 3b20 2770 7572 6765 6427 2c0a 2020 gt; 'purged',. │ │ │ -00072be0: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}.

Remediatio │ │ │ -00072ca0: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ -00072cb0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
< │ │ │ -00072cf0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -00072d00: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -00072d10: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -00072d20: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -00072d30: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -00072d40: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -00072d50: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -00072d90: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -00072da0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -00072dc0: 3c74 643e 6469 7361 626c 653c 2f74 643e disable │ │ │ -00072dd0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 - name: │ │ │ -00072df0: 456e 7375 7265 206e 6973 2069 7320 7265 Ensure nis is re │ │ │ -00072e00: 6d6f 7665 640a 2020 7061 636b 6167 653a moved. package: │ │ │ -00072e10: 0a20 2020 206e 616d 653a 206e 6973 0a20 . name: nis. │ │ │ -00072e20: 2020 2073 7461 7465 3a20 6162 7365 6e74 state: absent │ │ │ -00072e30: 0a20 2074 6167 733a 0a20 202d 2064 6973 . tags:. - dis │ │ │ -00072e40: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy. │ │ │ -00072e50: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity │ │ │ -00072e60: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt │ │ │ -00072e70: 696f 6e0a 2020 2d20 6c6f 775f 7365 7665 ion. - low_seve │ │ │ -00072e80: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo │ │ │ -00072e90: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa │ │ │ -00072ea0: 636b 6167 655f 6e69 735f 7265 6d6f 7665 ckage_nis_remove │ │ │ -00072eb0: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c d.
< │ │ │ +00072a40: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip │ │ │ +00072a50: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +00072a60: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +00072a70: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +00072a80: 7365 2220 6964 3d22 6964 6d39 3634 3422 se" id="idm9644" │ │ │ +00072a90: 3e3c 7461 626c 6520 636c 6173 733d 2274 > │ │ │ +00072b00: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +00072b20: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +00072b50: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +00072ae0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +00072af0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +00072b10: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +00072b30: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +00072b40: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +00072b80: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +00072b90: 3a20 456e 7375 7265 206e 6973 2069 7320 : Ensure nis is │ │ │ +00072ba0: 7265 6d6f 7665 640a 2020 7061 636b 6167 removed. packag │ │ │ +00072bb0: 653a 0a20 2020 206e 616d 653a 206e 6973 e:. name: nis │ │ │ +00072bc0: 0a20 2020 2073 7461 7465 3a20 6162 7365 . state: abse │ │ │ +00072bd0: 6e74 0a20 2074 6167 733a 0a20 202d 2064 nt. tags:. - d │ │ │ +00072be0: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy. │ │ │ +00072bf0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi │ │ │ +00072c00: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru │ │ │ +00072c10: 7074 696f 6e0a 2020 2d20 6c6f 775f 7365 ption. - low_se │ │ │ +00072c20: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re │ │ │ +00072c30: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. - │ │ │ +00072c40: 7061 636b 6167 655f 6e69 735f 7265 6d6f package_nis_remo │ │ │ +00072c50: 7665 640a 3c2f 636f 6465 3e3c 2f70 7265 ved.
Remediatio │ │ │ +00072d10: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ +00072d20: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
│ │ │ +00072da0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +00072db0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +00072dc0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +00072e00: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +00072e10: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +00072e30: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +00072e40: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include r
│ │ │ +00072e60: 656d 6f76 655f 6e69 730a 0a63 6c61 7373  emove_nis..class
│ │ │ +00072e70: 2072 656d 6f76 655f 6e69 7320 7b0a 2020   remove_nis {.  
│ │ │ +00072e80: 7061 636b 6167 6520 7b20 276e 6973 273a  package { 'nis':
│ │ │ +00072e90: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ +00072ea0: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a  ; 'purged',.  }.
│ │ │ +00072eb0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ 00072ec0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remedi │ │ │ -00073830: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ -00073840: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -00073850: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Comp │ │ │ -000738d0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -000738e0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -00073900: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -00073920: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -00073930: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ -00073970: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -00073980: 6465 2072 656d 6f76 655f 6e74 7064 6174  de remove_ntpdat
│ │ │ -00073990: 650a 0a63 6c61 7373 2072 656d 6f76 655f  e..class remove_
│ │ │ -000739a0: 6e74 7064 6174 6520 7b0a 2020 7061 636b  ntpdate {.  pack
│ │ │ -000739b0: 6167 6520 7b20 276e 7470 6461 7465 273a  age { 'ntpdate':
│ │ │ -000739c0: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ -000739d0: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a  ; 'purged',.  }.
│ │ │ -000739e0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ -000739f0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -00073aa0: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -00073ab0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
< │ │ │ -00073b30: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -00073b40: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ -00073b60: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ -00073b70: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ -00073b90: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ -00073bb0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ -00073be0: 3c63 6f64 653e 2d20 6e61 6d65 3a20 456e  - name: En
│ │ │ -00073bf0: 7375 7265 206e 7470 6461 7465 2069 7320  sure ntpdate is 
│ │ │ -00073c00: 7265 6d6f 7665 640a 2020 7061 636b 6167  removed.  packag
│ │ │ -00073c10: 653a 0a20 2020 206e 616d 653a 206e 7470  e:.    name: ntp
│ │ │ -00073c20: 6461 7465 0a20 2020 2073 7461 7465 3a20  date.    state: 
│ │ │ -00073c30: 6162 7365 6e74 0a20 2074 6167 733a 0a20  absent.  tags:. 
│ │ │ -00073c40: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ -00073c50: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -00073c60: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -00073c70: 6973 7275 7074 696f 6e0a 2020 2d20 6c6f  isruption.  - lo
│ │ │ -00073c80: 775f 7365 7665 7269 7479 0a20 202d 206e  w_severity.  - n
│ │ │ -00073c90: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -00073ca0: 2020 2d20 7061 636b 6167 655f 6e74 7064    - package_ntpd
│ │ │ -00073cb0: 6174 655f 7265 6d6f 7665 640a 3c2f 636f  ate_removed.
Com │ │ │ +000738d0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +00073900: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +00073920: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +00073930: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +00073950: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +00073960: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +00073980: 6d65 3a20 456e 7375 7265 206e 7470 6461  me: Ensure ntpda
│ │ │ +00073990: 7465 2069 7320 7265 6d6f 7665 640a 2020  te is removed.  
│ │ │ +000739a0: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ +000739b0: 653a 206e 7470 6461 7465 0a20 2020 2073  e: ntpdate.    s
│ │ │ +000739c0: 7461 7465 3a20 6162 7365 6e74 0a20 2074  tate: absent.  t
│ │ │ +000739d0: 6167 733a 0a20 202d 2064 6973 6162 6c65  ags:.  - disable
│ │ │ +000739e0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ +000739f0: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ +00073a00: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ +00073a10: 2020 2d20 6c6f 775f 7365 7665 7269 7479    - low_severity
│ │ │ +00073a20: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +00073a30: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ +00073a40: 655f 6e74 7064 6174 655f 7265 6d6f 7665  e_ntpdate_remove
│ │ │ +00073a50: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +00073a60: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +00073b10: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +00073b20: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
Complexity │ │ │ +00073bb0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +00073bd0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +00073be0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +00073bf0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +00073c00: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +00073c20: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ +00073c50: 636f 6465 3e69 6e63 6c75 6465 2072 656d  code>include rem
│ │ │ +00073c60: 6f76 655f 6e74 7064 6174 650a 0a63 6c61  ove_ntpdate..cla
│ │ │ +00073c70: 7373 2072 656d 6f76 655f 6e74 7064 6174  ss remove_ntpdat
│ │ │ +00073c80: 6520 7b0a 2020 7061 636b 6167 6520 7b20  e {.  package { 
│ │ │ +00073c90: 276e 7470 6461 7465 273a 0a20 2020 2065  'ntpdate':.    e
│ │ │ +00073ca0: 6e73 7572 6520 3d26 6774 3b20 2770 7572  nsure => 'pur
│ │ │ +00073cb0: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ged',.  }.}.
< │ │ │ 00073cd0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 00073ce0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 00073cf0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 00073d00: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 00073d10: 646d 3936 3535 2220 7461 6269 6e64 6578 dm9655" tabindex │ │ │ 00073d20: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ @@ -29906,93 +29906,93 @@ │ │ │ 00074d10: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 00074d20: 646d 3937 3534 2220 7461 6269 6e64 6578 dm9754" tabindex │ │ │ 00074d30: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ 00074d40: 6e22 2061 7269 612d 6578 7061 6e64 6564 n" aria-expanded │ │ │ 00074d50: 3d22 6661 6c73 6522 2074 6974 6c65 3d22 ="false" title=" │ │ │ 00074d60: 4163 7469 7661 7465 2074 6f20 7265 7665 Activate to reve │ │ │ 00074d70: 616c 2220 6872 6566 3d22 2321 223e 5265 al" href="#!">Re │ │ │ -00074d80: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -00074d90: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -00074da0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
│ │ │ -00074e30: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
i
│ │ │ -00074ed0: 6e63 6c75 6465 2072 656d 6f76 655f 7465  nclude remove_te
│ │ │ -00074ee0: 6c6e 6574 642d 7373 6c0a 0a63 6c61 7373  lnetd-ssl..class
│ │ │ -00074ef0: 2072 656d 6f76 655f 7465 6c6e 6574 642d   remove_telnetd-
│ │ │ -00074f00: 7373 6c20 7b0a 2020 7061 636b 6167 6520  ssl {.  package 
│ │ │ -00074f10: 7b20 2774 656c 6e65 7464 2d73 736c 273a  { 'telnetd-ssl':
│ │ │ -00074f20: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ -00074f30: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a  ; 'purged',.  }.
│ │ │ -00074f40: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ -00074f50: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -00075000: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -00075010: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
< │ │ │ -00075090: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ -000750d0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 disable
│ │ │ -00074e20: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -00074e50: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -00074e60: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -00074ea0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ -00074eb0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexit │ │ │ -000750a0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ -000750c0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ -000750f0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -00075110: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
│ │ │ -00075140: 3c63 6f64 653e 2d20 6e61 6d65 3a20 456e  - name: En
│ │ │ -00075150: 7375 7265 2074 656c 6e65 7464 2d73 736c  sure telnetd-ssl
│ │ │ -00075160: 2069 7320 7265 6d6f 7665 640a 2020 7061   is removed.  pa
│ │ │ -00075170: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ -00075180: 2074 656c 6e65 7464 2d73 736c 0a20 2020   telnetd-ssl.   
│ │ │ -00075190: 2073 7461 7465 3a20 6162 7365 6e74 0a20   state: absent. 
│ │ │ -000751a0: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ -000751b0: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ -000751c0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -000751d0: 4d2d 3728 6129 0a20 202d 204e 4953 542d  M-7(a).  - NIST-
│ │ │ -000751e0: 3830 302d 3533 2d43 4d2d 3728 6229 0a20  800-53-CM-7(b). 
│ │ │ -000751f0: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ -00075200: 6567 790a 2020 2d20 6869 6768 5f73 6576  egy.  - high_sev
│ │ │ -00075210: 6572 6974 790a 2020 2d20 6c6f 775f 636f  erity.  - low_co
│ │ │ -00075220: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -00075230: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -00075240: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -00075250: 0a20 202d 2070 6163 6b61 6765 5f74 656c  .  - package_tel
│ │ │ -00075260: 6e65 7464 2d73 736c 5f72 656d 6f76 6564  netd-ssl_removed
│ │ │ +00074d80: 6d65 6469 6174 696f 6e20 416e 7369 626c  mediation Ansibl
│ │ │ +00074d90: 6520 736e 6970 7065 7420 e287 b23c 2f61  e snippet ...
< │ │ │ +00074e70: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +00074e80: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +00074ed0: 2d20 6e61 6d65 3a20 456e 7375 7265 2074  - name: Ensure t
│ │ │ +00074ee0: 656c 6e65 7464 2d73 736c 2069 7320 7265  elnetd-ssl is re
│ │ │ +00074ef0: 6d6f 7665 640a 2020 7061 636b 6167 653a  moved.  package:
│ │ │ +00074f00: 0a20 2020 206e 616d 653a 2074 656c 6e65  .    name: telne
│ │ │ +00074f10: 7464 2d73 736c 0a20 2020 2073 7461 7465  td-ssl.    state
│ │ │ +00074f20: 3a20 6162 7365 6e74 0a20 2074 6167 733a  : absent.  tags:
│ │ │ +00074f30: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +00074f40: 2d43 4d2d 3628 6129 0a20 202d 204e 4953  -CM-6(a).  - NIS
│ │ │ +00074f50: 542d 3830 302d 3533 2d43 4d2d 3728 6129  T-800-53-CM-7(a)
│ │ │ +00074f60: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +00074f70: 2d43 4d2d 3728 6229 0a20 202d 2064 6973  -CM-7(b).  - dis
│ │ │ +00074f80: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +00074f90: 2d20 6869 6768 5f73 6576 6572 6974 790a  - high_severity.
│ │ │ +00074fa0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +00074fb0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +00074fc0: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562  ption.  - no_reb
│ │ │ +00074fd0: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ +00074fe0: 6163 6b61 6765 5f74 656c 6e65 7464 2d73  ackage_telnetd-s
│ │ │ +00074ff0: 736c 5f72 656d 6f76 6564 0a3c 2f63 6f64  sl_removed.
Rem │ │ │ +000750b0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ +000750c0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +000750d0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
Complexity:low
Disrup │ │ │ +00074e50: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +00074e60: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +00074ea0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +00074eb0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
< │ │ │ +00075160: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +00075170: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +000751c0: 3c74 723e 3c74 683e 5374 7261 7465 6779
in
│ │ │ +00075200: 636c 7564 6520 7265 6d6f 7665 5f74 656c  clude remove_tel
│ │ │ +00075210: 6e65 7464 2d73 736c 0a0a 636c 6173 7320  netd-ssl..class 
│ │ │ +00075220: 7265 6d6f 7665 5f74 656c 6e65 7464 2d73  remove_telnetd-s
│ │ │ +00075230: 736c 207b 0a20 2070 6163 6b61 6765 207b  sl {.  package {
│ │ │ +00075240: 2027 7465 6c6e 6574 642d 7373 6c27 3a0a   'telnetd-ssl':.
│ │ │ +00075250: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +00075260: 2027 7075 7267 6564 272c 0a20 207d 0a7d   'purged',.  }.}
│ │ │  00075270: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediati │ │ │ -00076340: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -00076350: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
< │ │ │ -00076390: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -000763a0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -000763b0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -000763c0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -000763d0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ -00076460: 3c74 643e 6469 7361 626c 653c 2f74 643e │ │ │ -00076470: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
C │ │ │ +00075150: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +00075180: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +00075190: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +000751d0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ +000751e0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complex │ │ │ -000763e0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -000763f0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ -00076430: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -00076440: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
disable
include │ │ │ -00076490: 7265 6d6f 7665 5f74 656c 6e65 7464 0a0a remove_telnetd.. │ │ │ -000764a0: 636c 6173 7320 7265 6d6f 7665 5f74 656c class remove_tel │ │ │ -000764b0: 6e65 7464 207b 0a20 2070 6163 6b61 6765 netd {. package │ │ │ -000764c0: 207b 2027 7465 6c6e 6574 6427 3a0a 2020 { 'telnetd':. │ │ │ -000764d0: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => ' │ │ │ -000764e0: 7075 7267 6564 272c 0a20 207d 0a7d 0a3c purged',. }.}.< │ │ │ -000764f0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
Remediation Ans │ │ │ -000765b0: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -000765c0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ -00076640: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -00076660: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -000766b0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -000766e0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -00076650: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -00076670: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -000766c0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -000766d0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
- name: Ensur
│ │ │ -00076700: 6520 7465 6c6e 6574 6420 6973 2072 656d  e telnetd is rem
│ │ │ -00076710: 6f76 6564 0a20 2070 6163 6b61 6765 3a0a  oved.  package:.
│ │ │ -00076720: 2020 2020 6e61 6d65 3a20 7465 6c6e 6574      name: telnet
│ │ │ -00076730: 640a 2020 2020 7374 6174 653a 2061 6273  d.    state: abs
│ │ │ -00076740: 656e 740a 2020 7461 6773 3a0a 2020 2d20  ent.  tags:.  - 
│ │ │ -00076750: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ -00076760: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ -00076770: 2d35 332d 434d 2d37 2861 290a 2020 2d20  -53-CM-7(a).  - 
│ │ │ -00076780: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ -00076790: 2862 290a 2020 2d20 6469 7361 626c 655f  (b).  - disable_
│ │ │ -000767a0: 7374 7261 7465 6779 0a20 202d 2068 6967  strategy.  - hig
│ │ │ -000767b0: 685f 7365 7665 7269 7479 0a20 202d 206c  h_severity.  - l
│ │ │ -000767c0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ -000767d0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -000767e0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ -000767f0: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ -00076800: 655f 7465 6c6e 6574 645f 7265 6d6f 7665  e_telnetd_remove
│ │ │ -00076810: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +00076340: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ +00076350: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +00076390: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ +00076400: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +00076420: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +00076450: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ +000763e0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +000763f0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +00076430: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +00076440: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

- name: │ │ │ +00076490: 2045 6e73 7572 6520 7465 6c6e 6574 6420 Ensure telnetd │ │ │ +000764a0: 6973 2072 656d 6f76 6564 0a20 2070 6163 is removed. pac │ │ │ +000764b0: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20 kage:. name: │ │ │ +000764c0: 7465 6c6e 6574 640a 2020 2020 7374 6174 telnetd. stat │ │ │ +000764d0: 653a 2061 6273 656e 740a 2020 7461 6773 e: absent. tags │ │ │ +000764e0: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35 :. - NIST-800-5 │ │ │ +000764f0: 332d 434d 2d36 2861 290a 2020 2d20 4e49 3-CM-6(a). - NI │ │ │ +00076500: 5354 2d38 3030 2d35 332d 434d 2d37 2861 ST-800-53-CM-7(a │ │ │ +00076510: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5 │ │ │ +00076520: 332d 434d 2d37 2862 290a 2020 2d20 6469 3-CM-7(b). - di │ │ │ +00076530: 7361 626c 655f 7374 7261 7465 6779 0a20 sable_strategy. │ │ │ +00076540: 202d 2068 6967 685f 7365 7665 7269 7479 - high_severity │ │ │ +00076550: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex │ │ │ +00076560: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr │ │ │ +00076570: 7570 7469 6f6e 0a20 202d 206e 6f5f 7265 uption. - no_re │ │ │ +00076580: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. - │ │ │ +00076590: 7061 636b 6167 655f 7465 6c6e 6574 645f package_telnetd_ │ │ │ +000765a0: 7265 6d6f 7665 640a 3c2f 636f 6465 3e3c removed.< │ │ │ +000765b0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>

Remedi │ │ │ +00076660: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ +00076670: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +00076680: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Comp │ │ │ +00076700: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +00076710: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +00076730: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +00076750: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +00076760: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +000767a0: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +000767b0: 6465 2072 656d 6f76 655f 7465 6c6e 6574  de remove_telnet
│ │ │ +000767c0: 640a 0a63 6c61 7373 2072 656d 6f76 655f  d..class remove_
│ │ │ +000767d0: 7465 6c6e 6574 6420 7b0a 2020 7061 636b  telnetd {.  pack
│ │ │ +000767e0: 6167 6520 7b20 2774 656c 6e65 7464 273a  age { 'telnetd':
│ │ │ +000767f0: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ +00076800: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a  ; 'purged',.  }.
│ │ │ +00076810: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ 00076820: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediat │ │ │ -000787c0: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue │ │ │ -000787d0: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet .. │ │ │ -000787e0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
.[[packag
│ │ │ -00078830: 6573 5d5d 0a6e 616d 6520 3d20 226e 7470  es]].name = "ntp
│ │ │ -00078840: 220a 7665 7273 696f 6e20 3d20 222a 220a  ".version = "*".
│ │ │ -00078850: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation P │ │ │ -00078910: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ -00078920: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ -000789b0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -000789d0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -000789e0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -000789f0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -00078a00: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -00078a20: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
include inst
│ │ │ -00078a60: 616c 6c5f 6e74 700a 0a63 6c61 7373 2069  all_ntp..class i
│ │ │ -00078a70: 6e73 7461 6c6c 5f6e 7470 207b 0a20 2070  nstall_ntp {.  p
│ │ │ -00078a80: 6163 6b61 6765 207b 2027 6e74 7027 3a0a  ackage { 'ntp':.
│ │ │ -00078a90: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -00078aa0: 2027 696e 7374 616c 6c65 6427 2c0a 2020   'installed',.  
│ │ │ -00078ab0: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ -00078b70: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -00078b80: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -00078c30: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -00078c50: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -00078c80: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -00078c10: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -00078c20: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -00078c40: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -00078c60: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -00078c70: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

- name: │ │ │ -00078cc0: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack │ │ │ -00078cd0: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack │ │ │ -00078ce0: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m │ │ │ -00078cf0: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t │ │ │ -00078d00: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80 │ │ │ -00078d10: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). - │ │ │ -00078d20: 2050 4349 2d44 5353 2d52 6571 2d31 302e PCI-DSS-Req-10. │ │ │ -00078d30: 340a 2020 2d20 656e 6162 6c65 5f73 7472 4. - enable_str │ │ │ -00078d40: 6174 6567 790a 2020 2d20 6869 6768 5f73 ategy. - high_s │ │ │ -00078d50: 6576 6572 6974 790a 2020 2d20 6c6f 775f everity. - low_ │ │ │ -00078d60: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l │ │ │ -00078d70: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption. │ │ │ -00078d80: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need │ │ │ -00078d90: 6564 0a20 202d 2070 6163 6b61 6765 5f6e ed. - package_n │ │ │ -00078da0: 7470 5f69 6e73 7461 6c6c 6564 0a0a 2d20 tp_installed..- │ │ │ -00078db0: 6e61 6d65 3a20 456e 7375 7265 206e 7470 name: Ensure ntp │ │ │ -00078dc0: 2069 7320 696e 7374 616c 6c65 640a 2020 is installed. │ │ │ -00078dd0: 7061 636b 6167 653a 0a20 2020 206e 616d package:. nam │ │ │ -00078de0: 653a 206e 7470 0a20 2020 2073 7461 7465 e: ntp. state │ │ │ -00078df0: 3a20 7072 6573 656e 740a 2020 7768 656e : present. when │ │ │ -00078e00: 3a20 2722 6c69 6e75 782d 6261 7365 2220 : '"linux-base" │ │ │ -00078e10: 696e 2061 6e73 6962 6c65 5f66 6163 7473 in ansible_facts │ │ │ -00078e20: 2e70 6163 6b61 6765 7327 0a20 2074 6167 .packages'. tag │ │ │ -00078e30: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800- │ │ │ -00078e40: 3533 2d43 4d2d 3628 6129 0a20 202d 2050 53-CM-6(a). - P │ │ │ -00078e50: 4349 2d44 5353 2d52 6571 2d31 302e 340a CI-DSS-Req-10.4. │ │ │ -00078e60: 2020 2d20 656e 6162 6c65 5f73 7472 6174 - enable_strat │ │ │ -00078e70: 6567 790a 2020 2d20 6869 6768 5f73 6576 egy. - high_sev │ │ │ -00078e80: 6572 6974 790a 2020 2d20 6c6f 775f 636f erity. - low_co │ │ │ -00078e90: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low │ │ │ -00078ea0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. - │ │ │ -00078eb0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed │ │ │ -00078ec0: 0a20 202d 2070 6163 6b61 6765 5f6e 7470 . - package_ntp │ │ │ -00078ed0: 5f69 6e73 7461 6c6c 6564 0a3c 2f63 6f64 _installed.
< │ │ │ +000787e0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +000787f0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +00078800: 7365 2220 6964 3d22 6964 6d31 3033 3431 se" id="idm10341 │ │ │ +00078810: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ +00078860: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +00078870: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +00078890: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +000788b0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +000788c0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ +00078900: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +00078910: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ +00078920: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac │ │ │ +00078930: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ +00078940: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto. │ │ │ +00078950: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8 │ │ │ +00078960: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a). │ │ │ +00078970: 2d20 5043 492d 4453 532d 5265 712d 3130 - PCI-DSS-Req-10 │ │ │ +00078980: 2e34 0a20 202d 2065 6e61 626c 655f 7374 .4. - enable_st │ │ │ +00078990: 7261 7465 6779 0a20 202d 2068 6967 685f rategy. - high_ │ │ │ +000789a0: 7365 7665 7269 7479 0a20 202d 206c 6f77 severity. - low │ │ │ +000789b0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. - │ │ │ +000789c0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption. │ │ │ +000789d0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee │ │ │ +000789e0: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_ │ │ │ +000789f0: 6e74 705f 696e 7374 616c 6c65 640a 0a2d ntp_installed..- │ │ │ +00078a00: 206e 616d 653a 2045 6e73 7572 6520 6e74 name: Ensure nt │ │ │ +00078a10: 7020 6973 2069 6e73 7461 6c6c 6564 0a20 p is installed. │ │ │ +00078a20: 2070 6163 6b61 6765 3a0a 2020 2020 6e61 package:. na │ │ │ +00078a30: 6d65 3a20 6e74 700a 2020 2020 7374 6174 me: ntp. stat │ │ │ +00078a40: 653a 2070 7265 7365 6e74 0a20 2077 6865 e: present. whe │ │ │ +00078a50: 6e3a 2027 226c 696e 7578 2d62 6173 6522 n: '"linux-base" │ │ │ +00078a60: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact │ │ │ +00078a70: 732e 7061 636b 6167 6573 270a 2020 7461 s.packages'. ta │ │ │ +00078a80: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800 │ │ │ +00078a90: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). - │ │ │ +00078aa0: 5043 492d 4453 532d 5265 712d 3130 2e34 PCI-DSS-Req-10.4 │ │ │ +00078ab0: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra │ │ │ +00078ac0: 7465 6779 0a20 202d 2068 6967 685f 7365 tegy. - high_se │ │ │ +00078ad0: 7665 7269 7479 0a20 202d 206c 6f77 5f63 verity. - low_c │ │ │ +00078ae0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo │ │ │ +00078af0: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. - │ │ │ +00078b00: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede │ │ │ +00078b10: 640a 2020 2d20 7061 636b 6167 655f 6e74 d. - package_nt │ │ │ +00078b20: 705f 696e 7374 616c 6c65 640a 3c2f 636f p_installed.

< │ │ │ +00078b40: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +00078b50: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +00078b60: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +00078b70: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +00078b80: 646d 3130 3334 3222 2074 6162 696e 6465 dm10342" tabinde │ │ │ +00078b90: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +00078ba0: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +00078bb0: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +00078bc0: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +00078bd0: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +00078be0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +00078bf0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity: │ │ │ +00078cd0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +00078ce0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ +00078d30: 696e 636c 7564 6520 696e 7374 616c 6c5f  include install_
│ │ │ +00078d40: 6e74 700a 0a63 6c61 7373 2069 6e73 7461  ntp..class insta
│ │ │ +00078d50: 6c6c 5f6e 7470 207b 0a20 2070 6163 6b61  ll_ntp {.  packa
│ │ │ +00078d60: 6765 207b 2027 6e74 7027 3a0a 2020 2020  ge { 'ntp':.    
│ │ │ +00078d70: 656e 7375 7265 203d 2667 743b 2027 696e  ensure => 'in
│ │ │ +00078d80: 7374 616c 6c65 6427 2c0a 2020 7d0a 7d0a  stalled',.  }.}.
│ │ │ +00078d90: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation O │ │ │ +00078e50: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint │ │ │ +00078e60: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +00078e70: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.[[packages]].
│ │ │ +00078ec0: 6e61 6d65 203d 2022 6e74 7022 0a76 6572  name = "ntp".ver
│ │ │ +00078ed0: 7369 6f6e 203d 2022 2a22 0a3c 2f63 6f64  sion = "*".
│ │ │ -0007a0c0: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu │ │ │ -0007a0d0: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn │ │ │ -0007a0e0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.
│ │ │ -0007a130: 5b63 7573 746f 6d69 7a61 7469 6f6e 732e  [customizations.
│ │ │ -0007a140: 7365 7276 6963 6573 5d0a 656e 6162 6c65  services].enable
│ │ │ -0007a150: 6420 3d20 5b22 6e74 7022 5d0a 3c2f 636f  d = ["ntp"].
< │ │ │ -0007a170: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -0007a180: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -0007a190: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -0007a1a0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -0007a1b0: 646d 3130 3431 3622 2074 6162 696e 6465 dm10416" tabinde │ │ │ -0007a1c0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -0007a1d0: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -0007a1e0: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -0007a1f0: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -0007a200: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -0007a210: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ -0007a220: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
low
Disru │ │ │ +00078cb0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +00078cc0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +00078d00: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ +00078d10: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity: │ │ │ -0007a300: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -0007a310: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ -0007a360: 696e 636c 7564 6520 656e 6162 6c65 5f6e  include enable_n
│ │ │ -0007a370: 7470 0a0a 636c 6173 7320 656e 6162 6c65  tp..class enable
│ │ │ -0007a380: 5f6e 7470 207b 0a20 2073 6572 7669 6365  _ntp {.  service
│ │ │ -0007a390: 207b 276e 7470 273a 0a20 2020 2065 6e61   {'ntp':.    ena
│ │ │ -0007a3a0: 626c 6520 3d26 6774 3b20 7472 7565 2c0a  ble => true,.
│ │ │ -0007a3b0: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -0007a3c0: 2027 7275 6e6e 696e 6727 2c0a 2020 7d0a   'running',.  }.
│ │ │ -0007a3d0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ -0007a3e0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -0007a490: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ -0007a4a0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -0007a4e0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -0007a4f0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -0007a500: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -0007a510: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -0007a520: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ -0007a5b0: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c < │ │ │ -0007a5c0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
low
Disru │ │ │ -0007a2e0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -0007a2f0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -0007a330: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ -0007a340: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complex │ │ │ -0007a530: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -0007a540: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ -0007a580: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -0007a590: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
enable
- name: G
│ │ │ -0007a5e0: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ -0007a5f0: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ -0007a600: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ -0007a610: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ -0007a620: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ -0007a630: 3533 2d41 552d 3828 3129 2861 290a 2020  53-AU-8(1)(a).  
│ │ │ -0007a640: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -0007a650: 2d36 2861 290a 2020 2d20 5043 492d 4453  -6(a).  - PCI-DS
│ │ │ -0007a660: 532d 5265 712d 3130 2e34 0a20 202d 2050  S-Req-10.4.  - P
│ │ │ -0007a670: 4349 2d44 5353 7634 2d31 302e 360a 2020  CI-DSSv4-10.6.  
│ │ │ -0007a680: 2d20 5043 492d 4453 5376 342d 3130 2e36  - PCI-DSSv4-10.6
│ │ │ -0007a690: 2e31 0a20 202d 2065 6e61 626c 655f 7374  .1.  - enable_st
│ │ │ -0007a6a0: 7261 7465 6779 0a20 202d 2068 6967 685f  rategy.  - high_
│ │ │ -0007a6b0: 7365 7665 7269 7479 0a20 202d 206c 6f77  severity.  - low
│ │ │ -0007a6c0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -0007a6d0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -0007a6e0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -0007a6f0: 6465 640a 2020 2d20 7365 7276 6963 655f  ded.  - service_
│ │ │ -0007a700: 6e74 705f 656e 6162 6c65 640a 0a2d 206e  ntp_enabled..- n
│ │ │ -0007a710: 616d 653a 2045 6e61 626c 6520 7468 6520  ame: Enable the 
│ │ │ -0007a720: 4e54 5020 4461 656d 6f6e 202d 2045 6e61  NTP Daemon - Ena
│ │ │ -0007a730: 626c 6520 7365 7276 6963 6520 6e74 700a  ble service ntp.
│ │ │ -0007a740: 2020 626c 6f63 6b3a 0a0a 2020 2d20 6e61    block:..  - na
│ │ │ -0007a750: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ -0007a760: 6163 6b61 6765 2066 6163 7473 0a20 2020  ackage facts.   
│ │ │ -0007a770: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ -0007a780: 2020 2020 2020 6d61 6e61 6765 723a 2061        manager: a
│ │ │ -0007a790: 7574 6f0a 0a20 202d 206e 616d 653a 2045  uto..  - name: E
│ │ │ -0007a7a0: 6e61 626c 6520 7468 6520 4e54 5020 4461  nable the NTP Da
│ │ │ -0007a7b0: 656d 6f6e 202d 2045 6e61 626c 6520 5365  emon - Enable Se
│ │ │ -0007a7c0: 7276 6963 6520 6e74 700a 2020 2020 616e  rvice ntp.    an
│ │ │ -0007a7d0: 7369 626c 652e 6275 696c 7469 6e2e 7379  sible.builtin.sy
│ │ │ -0007a7e0: 7374 656d 643a 0a20 2020 2020 206e 616d  stemd:.      nam
│ │ │ -0007a7f0: 653a 206e 7470 0a20 2020 2020 2065 6e61  e: ntp.      ena
│ │ │ -0007a800: 626c 6564 3a20 7472 7565 0a20 2020 2020  bled: true.     
│ │ │ -0007a810: 2073 7461 7465 3a20 7374 6172 7465 640a   state: started.
│ │ │ -0007a820: 2020 2020 2020 6d61 736b 6564 3a20 6661        masked: fa
│ │ │ -0007a830: 6c73 650a 2020 2020 7768 656e 3a0a 2020  lse.    when:.  
│ │ │ -0007a840: 2020 2d20 2722 6e74 7022 2069 6e20 616e    - '"ntp" in an
│ │ │ -0007a850: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ -0007a860: 6167 6573 270a 2020 7768 656e 3a0a 2020  ages'.  when:.  
│ │ │ -0007a870: 2d20 2722 6c69 6e75 782d 6261 7365 2220  - '"linux-base" 
│ │ │ -0007a880: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -0007a890: 2e70 6163 6b61 6765 7327 0a20 202d 2027  .packages'.  - '
│ │ │ -0007a8a0: 226e 7470 2220 696e 2061 6e73 6962 6c65  "ntp" in ansible
│ │ │ -0007a8b0: 5f66 6163 7473 2e70 6163 6b61 6765 7327  _facts.packages'
│ │ │ -0007a8c0: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ -0007a8d0: 542d 3830 302d 3533 2d41 552d 3828 3129  T-800-53-AU-8(1)
│ │ │ -0007a8e0: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ -0007a8f0: 2d35 332d 434d 2d36 2861 290a 2020 2d20  -53-CM-6(a).  - 
│ │ │ -0007a900: 5043 492d 4453 532d 5265 712d 3130 2e34  PCI-DSS-Req-10.4
│ │ │ -0007a910: 0a20 202d 2050 4349 2d44 5353 7634 2d31  .  - PCI-DSSv4-1
│ │ │ -0007a920: 302e 360a 2020 2d20 5043 492d 4453 5376  0.6.  - PCI-DSSv
│ │ │ -0007a930: 342d 3130 2e36 2e31 0a20 202d 2065 6e61  4-10.6.1.  - ena
│ │ │ -0007a940: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -0007a950: 2068 6967 685f 7365 7665 7269 7479 0a20   high_severity. 
│ │ │ -0007a960: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -0007a970: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -0007a980: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f  tion.  - no_rebo
│ │ │ -0007a990: 6f74 5f6e 6565 6465 640a 2020 2d20 7365  ot_needed.  - se
│ │ │ -0007a9a0: 7276 6963 655f 6e74 705f 656e 6162 6c65  rvice_ntp_enable
│ │ │ -0007a9b0: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +0007a0c0: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi │ │ │ +0007a0d0: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...< │ │ │ +0007a0e0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ +0007a160: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +0007a180: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +0007a1d0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ +0007a200: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Gather
│ │ │ +0007a220: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ +0007a230: 7473 0a20 2070 6163 6b61 6765 5f66 6163  ts.  package_fac
│ │ │ +0007a240: 7473 3a0a 2020 2020 6d61 6e61 6765 723a  ts:.    manager:
│ │ │ +0007a250: 2061 7574 6f0a 2020 7461 6773 3a0a 2020   auto.  tags:.  
│ │ │ +0007a260: 2d20 4e49 5354 2d38 3030 2d35 332d 4155  - NIST-800-53-AU
│ │ │ +0007a270: 2d38 2831 2928 6129 0a20 202d 204e 4953  -8(1)(a).  - NIS
│ │ │ +0007a280: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ +0007a290: 0a20 202d 2050 4349 2d44 5353 2d52 6571  .  - PCI-DSS-Req
│ │ │ +0007a2a0: 2d31 302e 340a 2020 2d20 5043 492d 4453  -10.4.  - PCI-DS
│ │ │ +0007a2b0: 5376 342d 3130 2e36 0a20 202d 2050 4349  Sv4-10.6.  - PCI
│ │ │ +0007a2c0: 2d44 5353 7634 2d31 302e 362e 310a 2020  -DSSv4-10.6.1.  
│ │ │ +0007a2d0: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ +0007a2e0: 790a 2020 2d20 6869 6768 5f73 6576 6572  y.  - high_sever
│ │ │ +0007a2f0: 6974 790a 2020 2d20 6c6f 775f 636f 6d70  ity.  - low_comp
│ │ │ +0007a300: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +0007a310: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f  isruption.  - no
│ │ │ +0007a320: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +0007a330: 202d 2073 6572 7669 6365 5f6e 7470 5f65   - service_ntp_e
│ │ │ +0007a340: 6e61 626c 6564 0a0a 2d20 6e61 6d65 3a20  nabled..- name: 
│ │ │ +0007a350: 456e 6162 6c65 2074 6865 204e 5450 2044  Enable the NTP D
│ │ │ +0007a360: 6165 6d6f 6e20 2d20 456e 6162 6c65 2073  aemon - Enable s
│ │ │ +0007a370: 6572 7669 6365 206e 7470 0a20 2062 6c6f  ervice ntp.  blo
│ │ │ +0007a380: 636b 3a0a 0a20 202d 206e 616d 653a 2047  ck:..  - name: G
│ │ │ +0007a390: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ +0007a3a0: 6520 6661 6374 730a 2020 2020 7061 636b  e facts.    pack
│ │ │ +0007a3b0: 6167 655f 6661 6374 733a 0a20 2020 2020  age_facts:.     
│ │ │ +0007a3c0: 206d 616e 6167 6572 3a20 6175 746f 0a0a   manager: auto..
│ │ │ +0007a3d0: 2020 2d20 6e61 6d65 3a20 456e 6162 6c65    - name: Enable
│ │ │ +0007a3e0: 2074 6865 204e 5450 2044 6165 6d6f 6e20   the NTP Daemon 
│ │ │ +0007a3f0: 2d20 456e 6162 6c65 2053 6572 7669 6365  - Enable Service
│ │ │ +0007a400: 206e 7470 0a20 2020 2061 6e73 6962 6c65   ntp.    ansible
│ │ │ +0007a410: 2e62 7569 6c74 696e 2e73 7973 7465 6d64  .builtin.systemd
│ │ │ +0007a420: 3a0a 2020 2020 2020 6e61 6d65 3a20 6e74  :.      name: nt
│ │ │ +0007a430: 700a 2020 2020 2020 656e 6162 6c65 643a  p.      enabled:
│ │ │ +0007a440: 2074 7275 650a 2020 2020 2020 7374 6174   true.      stat
│ │ │ +0007a450: 653a 2073 7461 7274 6564 0a20 2020 2020  e: started.     
│ │ │ +0007a460: 206d 6173 6b65 643a 2066 616c 7365 0a20   masked: false. 
│ │ │ +0007a470: 2020 2077 6865 6e3a 0a20 2020 202d 2027     when:.    - '
│ │ │ +0007a480: 226e 7470 2220 696e 2061 6e73 6962 6c65  "ntp" in ansible
│ │ │ +0007a490: 5f66 6163 7473 2e70 6163 6b61 6765 7327  _facts.packages'
│ │ │ +0007a4a0: 0a20 2077 6865 6e3a 0a20 202d 2027 226c  .  when:.  - '"l
│ │ │ +0007a4b0: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ +0007a4c0: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +0007a4d0: 6167 6573 270a 2020 2d20 2722 6e74 7022  ages'.  - '"ntp"
│ │ │ +0007a4e0: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ +0007a4f0: 732e 7061 636b 6167 6573 270a 2020 7461  s.packages'.  ta
│ │ │ +0007a500: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030  gs:.  - NIST-800
│ │ │ +0007a510: 2d35 332d 4155 2d38 2831 2928 6129 0a20  -53-AU-8(1)(a). 
│ │ │ +0007a520: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +0007a530: 4d2d 3628 6129 0a20 202d 2050 4349 2d44  M-6(a).  - PCI-D
│ │ │ +0007a540: 5353 2d52 6571 2d31 302e 340a 2020 2d20  SS-Req-10.4.  - 
│ │ │ +0007a550: 5043 492d 4453 5376 342d 3130 2e36 0a20  PCI-DSSv4-10.6. 
│ │ │ +0007a560: 202d 2050 4349 2d44 5353 7634 2d31 302e   - PCI-DSSv4-10.
│ │ │ +0007a570: 362e 310a 2020 2d20 656e 6162 6c65 5f73  6.1.  - enable_s
│ │ │ +0007a580: 7472 6174 6567 790a 2020 2d20 6869 6768  trategy.  - high
│ │ │ +0007a590: 5f73 6576 6572 6974 790a 2020 2d20 6c6f  _severity.  - lo
│ │ │ +0007a5a0: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ +0007a5b0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ +0007a5c0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ +0007a5d0: 6564 6564 0a20 202d 2073 6572 7669 6365  eded.  - service
│ │ │ +0007a5e0: 5f6e 7470 5f65 6e61 626c 6564 0a3c 2f63  _ntp_enabled.
│ │ │ +0007a600: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +0007a6a0: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ +0007a6b0: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
Complexity:< │ │ │ +0007a170: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +0007a190: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +0007a1e0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ +0007a1f0: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
< │ │ │ +0007a740: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +0007a760: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +0007a7b0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
include enable_
│ │ │ +0007a800: 6e74 700a 0a63 6c61 7373 2065 6e61 626c  ntp..class enabl
│ │ │ +0007a810: 655f 6e74 7020 7b0a 2020 7365 7276 6963  e_ntp {.  servic
│ │ │ +0007a820: 6520 7b27 6e74 7027 3a0a 2020 2020 656e  e {'ntp':.    en
│ │ │ +0007a830: 6162 6c65 203d 2667 743b 2074 7275 652c  able => true,
│ │ │ +0007a840: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ +0007a850: 3b20 2772 756e 6e69 6e67 272c 0a20 207d  ; 'running',.  }
│ │ │ +0007a860: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ +0007a870: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediatio │ │ │ +0007a920: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr │ │ │ +0007a930: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...< │ │ │ +0007a940: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
< │ │ │ -0007bf20: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
low
Disr │ │ │ +0007a770: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +0007a780: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +0007a7c0: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ +0007a7d0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complexi │ │ │ -0007bea0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -0007beb0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ -0007bef0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -0007bf00: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
│ │ │ -0007bf40: 3c63 6f64 653e 696e 636c 7564 6520 656e  include en
│ │ │ -0007bf50: 6162 6c65 5f73 7973 7465 6d64 2d74 696d  able_systemd-tim
│ │ │ -0007bf60: 6573 796e 6364 0a0a 636c 6173 7320 656e  esyncd..class en
│ │ │ -0007bf70: 6162 6c65 5f73 7973 7465 6d64 2d74 696d  able_systemd-tim
│ │ │ -0007bf80: 6573 796e 6364 207b 0a20 2073 6572 7669  esyncd {.  servi
│ │ │ -0007bf90: 6365 207b 2773 7973 7465 6d64 2d74 696d  ce {'systemd-tim
│ │ │ -0007bfa0: 6573 796e 6364 273a 0a20 2020 2065 6e61  esyncd':.    ena
│ │ │ -0007bfb0: 626c 6520 3d26 6774 3b20 7472 7565 2c0a  ble => true,.
│ │ │ -0007bfc0: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -0007bfd0: 2027 7275 6e6e 696e 6727 2c0a 2020 7d0a   'running',.  }.
│ │ │ -0007bfe0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ -0007bff0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -0007c0a0: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ -0007c0b0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -0007c0f0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -0007c100: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -0007c110: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -0007c120: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -0007c130: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -0007c140: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -0007c150: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -0007c190: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -0007c1a0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -0007c1c0: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ -0007c1d0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ -0007c1f0: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ -0007c200: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ -0007c210: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ -0007c220: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ -0007c230: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ -0007c240: 3533 2d41 552d 3828 3129 2861 290a 2020  53-AU-8(1)(a).  
│ │ │ -0007c250: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -0007c260: 2d36 2861 290a 2020 2d20 5043 492d 4453  -6(a).  - PCI-DS
│ │ │ -0007c270: 532d 5265 712d 3130 2e34 0a20 202d 2050  S-Req-10.4.  - P
│ │ │ -0007c280: 4349 2d44 5353 7634 2d31 302e 360a 2020  CI-DSSv4-10.6.  
│ │ │ -0007c290: 2d20 5043 492d 4453 5376 342d 3130 2e36  - PCI-DSSv4-10.6
│ │ │ -0007c2a0: 2e31 0a20 202d 2065 6e61 626c 655f 7374  .1.  - enable_st
│ │ │ -0007c2b0: 7261 7465 6779 0a20 202d 2068 6967 685f  rategy.  - high_
│ │ │ -0007c2c0: 7365 7665 7269 7479 0a20 202d 206c 6f77  severity.  - low
│ │ │ -0007c2d0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -0007c2e0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -0007c2f0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -0007c300: 6465 640a 2020 2d20 7365 7276 6963 655f  ded.  - service_
│ │ │ -0007c310: 7469 6d65 7379 6e63 645f 656e 6162 6c65  timesyncd_enable
│ │ │ -0007c320: 640a 0a2d 206e 616d 653a 2045 6e61 626c  d..- name: Enabl
│ │ │ -0007c330: 6520 7379 7374 656d 645f 7469 6d65 7379  e systemd_timesy
│ │ │ -0007c340: 6e63 6420 5365 7276 6963 6520 2d20 456e  ncd Service - En
│ │ │ -0007c350: 6162 6c65 2073 6572 7669 6365 2073 7973  able service sys
│ │ │ -0007c360: 7465 6d64 2d74 696d 6573 796e 6364 0a20  temd-timesyncd. 
│ │ │ -0007c370: 2062 6c6f 636b 3a0a 0a20 202d 206e 616d   block:..  - nam
│ │ │ -0007c380: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ -0007c390: 636b 6167 6520 6661 6374 730a 2020 2020  ckage facts.    
│ │ │ -0007c3a0: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ -0007c3b0: 2020 2020 206d 616e 6167 6572 3a20 6175       manager: au
│ │ │ -0007c3c0: 746f 0a0a 2020 2d20 6e61 6d65 3a20 456e  to..  - name: En
│ │ │ -0007c3d0: 6162 6c65 2073 7973 7465 6d64 5f74 696d  able systemd_tim
│ │ │ -0007c3e0: 6573 796e 6364 2053 6572 7669 6365 202d  esyncd Service -
│ │ │ -0007c3f0: 2045 6e61 626c 6520 5365 7276 6963 6520   Enable Service 
│ │ │ -0007c400: 7379 7374 656d 642d 7469 6d65 7379 6e63  systemd-timesync
│ │ │ -0007c410: 640a 2020 2020 616e 7369 626c 652e 6275  d.    ansible.bu
│ │ │ -0007c420: 696c 7469 6e2e 7379 7374 656d 643a 0a20  iltin.systemd:. 
│ │ │ -0007c430: 2020 2020 206e 616d 653a 2073 7973 7465       name: syste
│ │ │ -0007c440: 6d64 2d74 696d 6573 796e 6364 0a20 2020  md-timesyncd.   
│ │ │ -0007c450: 2020 2065 6e61 626c 6564 3a20 7472 7565     enabled: true
│ │ │ -0007c460: 0a20 2020 2020 2073 7461 7465 3a20 7374  .      state: st
│ │ │ -0007c470: 6172 7465 640a 2020 2020 2020 6d61 736b  arted.      mask
│ │ │ -0007c480: 6564 3a20 6661 6c73 650a 2020 2020 7768  ed: false.    wh
│ │ │ -0007c490: 656e 3a0a 2020 2020 2d20 2722 7379 7374  en:.    - '"syst
│ │ │ -0007c4a0: 656d 6422 2069 6e20 616e 7369 626c 655f  emd" in ansible_
│ │ │ -0007c4b0: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -0007c4c0: 2020 7768 656e 3a0a 2020 2d20 2722 6c69    when:.  - '"li
│ │ │ -0007c4d0: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ -0007c4e0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -0007c4f0: 6765 7327 0a20 202d 2028 206e 6f74 2028  ges'.  - ( not (
│ │ │ -0007c500: 2022 6368 726f 6e79 2220 696e 2061 6e73   "chrony" in ans
│ │ │ -0007c510: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -0007c520: 6765 7320 2920 616e 6420 6e6f 7420 2820  ges ) and not ( 
│ │ │ -0007c530: 226e 7470 2220 696e 2061 6e73 6962 6c65  "ntp" in ansible
│ │ │ -0007c540: 5f66 6163 7473 2e70 6163 6b61 6765 730a  _facts.packages.
│ │ │ -0007c550: 2020 2020 2920 290a 2020 7461 6773 3a0a      ) ).  tags:.
│ │ │ -0007c560: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -0007c570: 4155 2d38 2831 2928 6129 0a20 202d 204e  AU-8(1)(a).  - N
│ │ │ -0007c580: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -0007c590: 6129 0a20 202d 2050 4349 2d44 5353 2d52  a).  - PCI-DSS-R
│ │ │ -0007c5a0: 6571 2d31 302e 340a 2020 2d20 5043 492d  eq-10.4.  - PCI-
│ │ │ -0007c5b0: 4453 5376 342d 3130 2e36 0a20 202d 2050  DSSv4-10.6.  - P
│ │ │ -0007c5c0: 4349 2d44 5353 7634 2d31 302e 362e 310a  CI-DSSv4-10.6.1.
│ │ │ -0007c5d0: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -0007c5e0: 6567 790a 2020 2d20 6869 6768 5f73 6576  egy.  - high_sev
│ │ │ -0007c5f0: 6572 6974 790a 2020 2d20 6c6f 775f 636f  erity.  - low_co
│ │ │ -0007c600: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -0007c610: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -0007c620: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -0007c630: 0a20 202d 2073 6572 7669 6365 5f74 696d  .  - service_tim
│ │ │ -0007c640: 6573 796e 6364 5f65 6e61 626c 6564 0a3c  esyncd_enabled.<
│ │ │ +0007bca0: 696f 6e20 416e 7369 626c 6520 736e 6970  ion Ansible snip
│ │ │ +0007bcb0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c  pet ...
< │ │ │ +0007bcc0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +0007bcd0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +0007bce0: 7365 2220 6964 3d22 6964 6d31 3034 3639 se" id="idm10469 │ │ │ +0007bcf0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ +0007bd40: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +0007bd50: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +0007bd70: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +0007bd90: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +0007bda0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ +0007bde0: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +0007bdf0: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ +0007be00: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac │ │ │ +0007be10: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ +0007be20: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto. │ │ │ +0007be30: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8 │ │ │ +0007be40: 3030 2d35 332d 4155 2d38 2831 2928 6129 00-53-AU-8(1)(a) │ │ │ +0007be50: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53 │ │ │ +0007be60: 2d43 4d2d 3628 6129 0a20 202d 2050 4349 -CM-6(a). - PCI │ │ │ +0007be70: 2d44 5353 2d52 6571 2d31 302e 340a 2020 -DSS-Req-10.4. │ │ │ +0007be80: 2d20 5043 492d 4453 5376 342d 3130 2e36 - PCI-DSSv4-10.6 │ │ │ +0007be90: 0a20 202d 2050 4349 2d44 5353 7634 2d31 . - PCI-DSSv4-1 │ │ │ +0007bea0: 302e 362e 310a 2020 2d20 656e 6162 6c65 0.6.1. - enable │ │ │ +0007beb0: 5f73 7472 6174 6567 790a 2020 2d20 6869 _strategy. - hi │ │ │ +0007bec0: 6768 5f73 6576 6572 6974 790a 2020 2d20 gh_severity. - │ │ │ +0007bed0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity. │ │ │ +0007bee0: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio │ │ │ +0007bef0: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f n. - no_reboot_ │ │ │ +0007bf00: 6e65 6564 6564 0a20 202d 2073 6572 7669 needed. - servi │ │ │ +0007bf10: 6365 5f74 696d 6573 796e 6364 5f65 6e61 ce_timesyncd_ena │ │ │ +0007bf20: 626c 6564 0a0a 2d20 6e61 6d65 3a20 456e bled..- name: En │ │ │ +0007bf30: 6162 6c65 2073 7973 7465 6d64 5f74 696d able systemd_tim │ │ │ +0007bf40: 6573 796e 6364 2053 6572 7669 6365 202d esyncd Service - │ │ │ +0007bf50: 2045 6e61 626c 6520 7365 7276 6963 6520 Enable service │ │ │ +0007bf60: 7379 7374 656d 642d 7469 6d65 7379 6e63 systemd-timesync │ │ │ +0007bf70: 640a 2020 626c 6f63 6b3a 0a0a 2020 2d20 d. block:.. - │ │ │ +0007bf80: 6e61 6d65 3a20 4761 7468 6572 2074 6865 name: Gather the │ │ │ +0007bf90: 2070 6163 6b61 6765 2066 6163 7473 0a20 package facts. │ │ │ +0007bfa0: 2020 2070 6163 6b61 6765 5f66 6163 7473 package_facts │ │ │ +0007bfb0: 3a0a 2020 2020 2020 6d61 6e61 6765 723a :. manager: │ │ │ +0007bfc0: 2061 7574 6f0a 0a20 202d 206e 616d 653a auto.. - name: │ │ │ +0007bfd0: 2045 6e61 626c 6520 7379 7374 656d 645f Enable systemd_ │ │ │ +0007bfe0: 7469 6d65 7379 6e63 6420 5365 7276 6963 timesyncd Servic │ │ │ +0007bff0: 6520 2d20 456e 6162 6c65 2053 6572 7669 e - Enable Servi │ │ │ +0007c000: 6365 2073 7973 7465 6d64 2d74 696d 6573 ce systemd-times │ │ │ +0007c010: 796e 6364 0a20 2020 2061 6e73 6962 6c65 yncd. ansible │ │ │ +0007c020: 2e62 7569 6c74 696e 2e73 7973 7465 6d64 .builtin.systemd │ │ │ +0007c030: 3a0a 2020 2020 2020 6e61 6d65 3a20 7379 :. name: sy │ │ │ +0007c040: 7374 656d 642d 7469 6d65 7379 6e63 640a stemd-timesyncd. │ │ │ +0007c050: 2020 2020 2020 656e 6162 6c65 643a 2074 enabled: t │ │ │ +0007c060: 7275 650a 2020 2020 2020 7374 6174 653a rue. state: │ │ │ +0007c070: 2073 7461 7274 6564 0a20 2020 2020 206d started. m │ │ │ +0007c080: 6173 6b65 643a 2066 616c 7365 0a20 2020 asked: false. │ │ │ +0007c090: 2077 6865 6e3a 0a20 2020 202d 2027 2273 when:. - '"s │ │ │ +0007c0a0: 7973 7465 6d64 2220 696e 2061 6e73 6962 ystemd" in ansib │ │ │ +0007c0b0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package │ │ │ +0007c0c0: 7327 0a20 2077 6865 6e3a 0a20 202d 2027 s'. when:. - ' │ │ │ +0007c0d0: 226c 696e 7578 2d62 6173 6522 2069 6e20 "linux-base" in │ │ │ +0007c0e0: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa │ │ │ +0007c0f0: 636b 6167 6573 270a 2020 2d20 2820 6e6f ckages'. - ( no │ │ │ +0007c100: 7420 2820 2263 6872 6f6e 7922 2069 6e20 t ( "chrony" in │ │ │ +0007c110: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa │ │ │ +0007c120: 636b 6167 6573 2029 2061 6e64 206e 6f74 ckages ) and not │ │ │ +0007c130: 2028 2022 6e74 7022 2069 6e20 616e 7369 ( "ntp" in ansi │ │ │ +0007c140: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag │ │ │ +0007c150: 6573 0a20 2020 2029 2029 0a20 2074 6167 es. ) ). tag │ │ │ +0007c160: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800- │ │ │ +0007c170: 3533 2d41 552d 3828 3129 2861 290a 2020 53-AU-8(1)(a). │ │ │ +0007c180: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM │ │ │ +0007c190: 2d36 2861 290a 2020 2d20 5043 492d 4453 -6(a). - PCI-DS │ │ │ +0007c1a0: 532d 5265 712d 3130 2e34 0a20 202d 2050 S-Req-10.4. - P │ │ │ +0007c1b0: 4349 2d44 5353 7634 2d31 302e 360a 2020 CI-DSSv4-10.6. │ │ │ +0007c1c0: 2d20 5043 492d 4453 5376 342d 3130 2e36 - PCI-DSSv4-10.6 │ │ │ +0007c1d0: 2e31 0a20 202d 2065 6e61 626c 655f 7374 .1. - enable_st │ │ │ +0007c1e0: 7261 7465 6779 0a20 202d 2068 6967 685f rategy. - high_ │ │ │ +0007c1f0: 7365 7665 7269 7479 0a20 202d 206c 6f77 severity. - low │ │ │ +0007c200: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. - │ │ │ +0007c210: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption. │ │ │ +0007c220: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee │ │ │ +0007c230: 6465 640a 2020 2d20 7365 7276 6963 655f ded. - service_ │ │ │ +0007c240: 7469 6d65 7379 6e63 645f 656e 6162 6c65 timesyncd_enable │ │ │ +0007c250: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c d.
< │ │ │ +0007c260: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +0007c310: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +0007c320: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +0007c3a0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +0007c3b0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +0007c3c0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +0007c400: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +0007c410: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +0007c430: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ +0007c450: 3c63 6f64 653e 696e 636c 7564 6520 656e  include en
│ │ │ +0007c460: 6162 6c65 5f73 7973 7465 6d64 2d74 696d  able_systemd-tim
│ │ │ +0007c470: 6573 796e 6364 0a0a 636c 6173 7320 656e  esyncd..class en
│ │ │ +0007c480: 6162 6c65 5f73 7973 7465 6d64 2d74 696d  able_systemd-tim
│ │ │ +0007c490: 6573 796e 6364 207b 0a20 2073 6572 7669  esyncd {.  servi
│ │ │ +0007c4a0: 6365 207b 2773 7973 7465 6d64 2d74 696d  ce {'systemd-tim
│ │ │ +0007c4b0: 6573 796e 6364 273a 0a20 2020 2065 6e61  esyncd':.    ena
│ │ │ +0007c4c0: 626c 6520 3d26 6774 3b20 7472 7565 2c0a  ble => true,.
│ │ │ +0007c4d0: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +0007c4e0: 2027 7275 6e6e 696e 6727 2c0a 2020 7d0a   'running',.  }.
│ │ │ +0007c4f0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ +0007c500: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +0007c5b0: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ +0007c5c0: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
.[customizat
│ │ │ +0007c620: 696f 6e73 2e73 6572 7669 6365 735d 0a65  ions.services].e
│ │ │ +0007c630: 6e61 626c 6564 203d 205b 2273 7973 7465  nabled = ["syste
│ │ │ +0007c640: 6d64 2d74 696d 6573 796e 6364 225d 0a3c  md-timesyncd"].<
│ │ │  0007c650: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
R │ │ │ -0008ac40: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui │ │ │ -0008ac50: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni │ │ │ -0008ac60: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -0008ac70: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
.[
│ │ │ -0008acb0: 5b70 6163 6b61 6765 735d 5d0a 6e61 6d65  [packages]].name
│ │ │ -0008acc0: 203d 2022 6175 6469 7464 220a 7665 7273   = "auditd".vers
│ │ │ -0008acd0: 696f 6e20 3d20 222a 220a 3c2f 636f 6465  ion = "*".
Rem │ │ │ -0008ad90: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ -0008ada0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -0008adb0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ -0008ae40: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
in
│ │ │ -0008aee0: 636c 7564 6520 696e 7374 616c 6c5f 6175  clude install_au
│ │ │ -0008aef0: 6469 7464 0a0a 636c 6173 7320 696e 7374  ditd..class inst
│ │ │ -0008af00: 616c 6c5f 6175 6469 7464 207b 0a20 2070  all_auditd {.  p
│ │ │ -0008af10: 6163 6b61 6765 207b 2027 6175 6469 7464  ackage { 'auditd
│ │ │ -0008af20: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ -0008af30: 6774 3b20 2769 6e73 7461 6c6c 6564 272c  gt; 'installed',
│ │ │ -0008af40: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.Remedi
│ │ │ -0008b000: 6174 696f 6e20 416e 7369 626c 6520 736e  ation Ansible sn
│ │ │ -0008b010: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
│ │ │ -0008ae30: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -0008ae60: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -0008ae70: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -0008aeb0: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ -0008aec0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
low< │ │ │ -0008b0c0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -0008b110: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ -0008b0a0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -0008b0d0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -0008b0f0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -0008b100: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -0008b120: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ -0008b130: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -0008b150: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ -0008b160: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ -0008b170: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ -0008b180: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ -0008b190: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ -0008b1a0: 2d38 3030 2d35 332d 4143 2d37 2861 290a  -800-53-AC-7(a).
│ │ │ -0008b1b0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -0008b1c0: 4155 2d31 3228 3229 0a20 202d 204e 4953  AU-12(2).  - NIS
│ │ │ -0008b1d0: 542d 3830 302d 3533 2d41 552d 3134 0a20  T-800-53-AU-14. 
│ │ │ -0008b1e0: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ -0008b1f0: 552d 3228 6129 0a20 202d 204e 4953 542d  U-2(a).  - NIST-
│ │ │ -0008b200: 3830 302d 3533 2d41 552d 3728 3129 0a20  800-53-AU-7(1). 
│ │ │ -0008b210: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ -0008b220: 552d 3728 3229 0a20 202d 204e 4953 542d  U-7(2).  - NIST-
│ │ │ -0008b230: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ -0008b240: 202d 2050 4349 2d44 5353 2d52 6571 2d31   - PCI-DSS-Req-1
│ │ │ -0008b250: 302e 310a 2020 2d20 5043 492d 4453 5376  0.1.  - PCI-DSSv
│ │ │ -0008b260: 342d 3130 2e32 0a20 202d 2050 4349 2d44  4-10.2.  - PCI-D
│ │ │ -0008b270: 5353 7634 2d31 302e 322e 310a 2020 2d20  SSv4-10.2.1.  - 
│ │ │ -0008b280: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ -0008b290: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -0008b2a0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -0008b2b0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -0008b2c0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -0008b2d0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -0008b2e0: 202d 2070 6163 6b61 6765 5f61 7564 6974   - package_audit
│ │ │ -0008b2f0: 5f69 6e73 7461 6c6c 6564 0a0a 2d20 6e61  _installed..- na
│ │ │ -0008b300: 6d65 3a20 456e 7375 7265 2061 7564 6974  me: Ensure audit
│ │ │ -0008b310: 6420 6973 2069 6e73 7461 6c6c 6564 0a20  d is installed. 
│ │ │ -0008b320: 2070 6163 6b61 6765 3a0a 2020 2020 6e61   package:.    na
│ │ │ -0008b330: 6d65 3a20 6175 6469 7464 0a20 2020 2073  me: auditd.    s
│ │ │ -0008b340: 7461 7465 3a20 7072 6573 656e 740a 2020  tate: present.  
│ │ │ -0008b350: 7768 656e 3a20 2722 6c69 6e75 782d 6261  when: '"linux-ba
│ │ │ -0008b360: 7365 2220 696e 2061 6e73 6962 6c65 5f66  se" in ansible_f
│ │ │ -0008b370: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ -0008b380: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ -0008b390: 3830 302d 3533 2d41 432d 3728 6129 0a20  800-53-AC-7(a). 
│ │ │ -0008b3a0: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ -0008b3b0: 552d 3132 2832 290a 2020 2d20 4e49 5354  U-12(2).  - NIST
│ │ │ -0008b3c0: 2d38 3030 2d35 332d 4155 2d31 340a 2020  -800-53-AU-14.  
│ │ │ -0008b3d0: 2d20 4e49 5354 2d38 3030 2d35 332d 4155  - NIST-800-53-AU
│ │ │ -0008b3e0: 2d32 2861 290a 2020 2d20 4e49 5354 2d38  -2(a).  - NIST-8
│ │ │ -0008b3f0: 3030 2d35 332d 4155 2d37 2831 290a 2020  00-53-AU-7(1).  
│ │ │ -0008b400: 2d20 4e49 5354 2d38 3030 2d35 332d 4155  - NIST-800-53-AU
│ │ │ -0008b410: 2d37 2832 290a 2020 2d20 4e49 5354 2d38  -7(2).  - NIST-8
│ │ │ -0008b420: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ -0008b430: 2d20 5043 492d 4453 532d 5265 712d 3130  - PCI-DSS-Req-10
│ │ │ -0008b440: 2e31 0a20 202d 2050 4349 2d44 5353 7634  .1.  - PCI-DSSv4
│ │ │ -0008b450: 2d31 302e 320a 2020 2d20 5043 492d 4453  -10.2.  - PCI-DS
│ │ │ -0008b460: 5376 342d 3130 2e32 2e31 0a20 202d 2065  Sv4-10.2.1.  - e
│ │ │ -0008b470: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ -0008b480: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -0008b490: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -0008b4a0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ -0008b4b0: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -0008b4c0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -0008b4d0: 2d20 7061 636b 6167 655f 6175 6469 745f  - package_audit_
│ │ │ -0008b4e0: 696e 7374 616c 6c65 640a 3c2f 636f 6465  installed.
< │ │ │ +0008ace0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +0008ad00: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +0008ad50: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
- name: Gather 
│ │ │ +0008ada0: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ +0008adb0: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ +0008adc0: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ +0008add0: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ +0008ade0: 204e 4953 542d 3830 302d 3533 2d41 432d   NIST-800-53-AC-
│ │ │ +0008adf0: 3728 6129 0a20 202d 204e 4953 542d 3830  7(a).  - NIST-80
│ │ │ +0008ae00: 302d 3533 2d41 552d 3132 2832 290a 2020  0-53-AU-12(2).  
│ │ │ +0008ae10: 2d20 4e49 5354 2d38 3030 2d35 332d 4155  - NIST-800-53-AU
│ │ │ +0008ae20: 2d31 340a 2020 2d20 4e49 5354 2d38 3030  -14.  - NIST-800
│ │ │ +0008ae30: 2d35 332d 4155 2d32 2861 290a 2020 2d20  -53-AU-2(a).  - 
│ │ │ +0008ae40: 4e49 5354 2d38 3030 2d35 332d 4155 2d37  NIST-800-53-AU-7
│ │ │ +0008ae50: 2831 290a 2020 2d20 4e49 5354 2d38 3030  (1).  - NIST-800
│ │ │ +0008ae60: 2d35 332d 4155 2d37 2832 290a 2020 2d20  -53-AU-7(2).  - 
│ │ │ +0008ae70: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ +0008ae80: 2861 290a 2020 2d20 5043 492d 4453 532d  (a).  - PCI-DSS-
│ │ │ +0008ae90: 5265 712d 3130 2e31 0a20 202d 2050 4349  Req-10.1.  - PCI
│ │ │ +0008aea0: 2d44 5353 7634 2d31 302e 320a 2020 2d20  -DSSv4-10.2.  - 
│ │ │ +0008aeb0: 5043 492d 4453 5376 342d 3130 2e32 2e31  PCI-DSSv4-10.2.1
│ │ │ +0008aec0: 0a20 202d 2065 6e61 626c 655f 7374 7261  .  - enable_stra
│ │ │ +0008aed0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +0008aee0: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +0008aef0: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ +0008af00: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ +0008af10: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +0008af20: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ +0008af30: 6175 6469 745f 696e 7374 616c 6c65 640a  audit_installed.
│ │ │ +0008af40: 0a2d 206e 616d 653a 2045 6e73 7572 6520  .- name: Ensure 
│ │ │ +0008af50: 6175 6469 7464 2069 7320 696e 7374 616c  auditd is instal
│ │ │ +0008af60: 6c65 640a 2020 7061 636b 6167 653a 0a20  led.  package:. 
│ │ │ +0008af70: 2020 206e 616d 653a 2061 7564 6974 640a     name: auditd.
│ │ │ +0008af80: 2020 2020 7374 6174 653a 2070 7265 7365      state: prese
│ │ │ +0008af90: 6e74 0a20 2077 6865 6e3a 2027 226c 696e  nt.  when: '"lin
│ │ │ +0008afa0: 7578 2d62 6173 6522 2069 6e20 616e 7369  ux-base" in ansi
│ │ │ +0008afb0: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ +0008afc0: 6573 270a 2020 7461 6773 3a0a 2020 2d20  es'.  tags:.  - 
│ │ │ +0008afd0: 4e49 5354 2d38 3030 2d35 332d 4143 2d37  NIST-800-53-AC-7
│ │ │ +0008afe0: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ +0008aff0: 2d35 332d 4155 2d31 3228 3229 0a20 202d  -53-AU-12(2).  -
│ │ │ +0008b000: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ +0008b010: 3134 0a20 202d 204e 4953 542d 3830 302d  14.  - NIST-800-
│ │ │ +0008b020: 3533 2d41 552d 3228 6129 0a20 202d 204e  53-AU-2(a).  - N
│ │ │ +0008b030: 4953 542d 3830 302d 3533 2d41 552d 3728  IST-800-53-AU-7(
│ │ │ +0008b040: 3129 0a20 202d 204e 4953 542d 3830 302d  1).  - NIST-800-
│ │ │ +0008b050: 3533 2d41 552d 3728 3229 0a20 202d 204e  53-AU-7(2).  - N
│ │ │ +0008b060: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ +0008b070: 6129 0a20 202d 2050 4349 2d44 5353 2d52  a).  - PCI-DSS-R
│ │ │ +0008b080: 6571 2d31 302e 310a 2020 2d20 5043 492d  eq-10.1.  - PCI-
│ │ │ +0008b090: 4453 5376 342d 3130 2e32 0a20 202d 2050  DSSv4-10.2.  - P
│ │ │ +0008b0a0: 4349 2d44 5353 7634 2d31 302e 322e 310a  CI-DSSv4-10.2.1.
│ │ │ +0008b0b0: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ +0008b0c0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +0008b0d0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +0008b0e0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ +0008b0f0: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ +0008b100: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +0008b110: 6564 0a20 202d 2070 6163 6b61 6765 5f61  ed.  - package_a
│ │ │ +0008b120: 7564 6974 5f69 6e73 7461 6c6c 6564 0a3c  udit_installed.<
│ │ │ +0008b130: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ +0008b1f0: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ +0008b200: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low< │ │ │ +0008b2d0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr> │ │ │ +0008b320: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
low
Disr │ │ │ +0008ad10: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +0008ad20: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +0008ad60: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ +0008ad70: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complexity: │ │ │ +0008b290: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ +0008b2b0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ +0008b300: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +0008b310: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
include insta
│ │ │ +0008b340: 6c6c 5f61 7564 6974 640a 0a63 6c61 7373  ll_auditd..class
│ │ │ +0008b350: 2069 6e73 7461 6c6c 5f61 7564 6974 6420   install_auditd 
│ │ │ +0008b360: 7b0a 2020 7061 636b 6167 6520 7b20 2761  {.  package { 'a
│ │ │ +0008b370: 7564 6974 6427 3a0a 2020 2020 656e 7375  uditd':.    ensu
│ │ │ +0008b380: 7265 203d 2667 743b 2027 696e 7374 616c  re => 'instal
│ │ │ +0008b390: 6c65 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  led',.  }.}.
< │ │ │ +0008b3b0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +0008b3c0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +0008b3d0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +0008b3e0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +0008b3f0: 646d 3133 3335 3022 2074 6162 696e 6465 dm13350" tabinde │ │ │ +0008b400: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +0008b410: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +0008b420: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +0008b430: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +0008b440: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +0008b450: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui │ │ │ +0008b460: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni │ │ │ +0008b470: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +0008b480: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
.[
│ │ │ +0008b4c0: 5b70 6163 6b61 6765 735d 5d0a 6e61 6d65  [packages]].name
│ │ │ +0008b4d0: 203d 2022 6175 6469 7464 220a 7665 7273   = "auditd".vers
│ │ │ +0008b4e0: 696f 6e20 3d20 222a 220a 3c2f 636f 6465  ion = "*".
Remediation │ │ │ -0008d240: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin │ │ │ -0008d250: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
.[customizati
│ │ │ -0008d2b0: 6f6e 732e 7365 7276 6963 6573 5d0a 656e  ons.services].en
│ │ │ -0008d2c0: 6162 6c65 6420 3d20 5b22 6175 6469 7464  abled = ["auditd
│ │ │ -0008d2d0: 225d 0a3c 2f63 6f64 653e 3c2f 7072 653e  "].
│ │ │ -0008d2e0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ -0008d390: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ -0008d3a0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -0008d3e0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -0008d3f0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -0008d400: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -0008d410: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -0008d420: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -0008d430: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -0008d440: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -0008d480: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -0008d490: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -0008d4b0: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ -0008d4c0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include e
│ │ │ -0008d4e0: 6e61 626c 655f 6175 6469 7464 0a0a 636c  nable_auditd..cl
│ │ │ -0008d4f0: 6173 7320 656e 6162 6c65 5f61 7564 6974  ass enable_audit
│ │ │ -0008d500: 6420 7b0a 2020 7365 7276 6963 6520 7b27  d {.  service {'
│ │ │ -0008d510: 6175 6469 7464 273a 0a20 2020 2065 6e61  auditd':.    ena
│ │ │ -0008d520: 626c 6520 3d26 6774 3b20 7472 7565 2c0a  ble => true,.
│ │ │ -0008d530: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -0008d540: 2027 7275 6e6e 696e 6727 2c0a 2020 7d0a   'running',.  }.
│ │ │ -0008d550: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ -0008d560: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -0008d610: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ -0008d620: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -0008d660: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -0008d670: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -0008d680: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -0008d690: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -0008d6a0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -0008d6b0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -0008d6c0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -0008d700: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -0008d710: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -0008d730: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ -0008d740: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ -0008d760: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ -0008d770: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ -0008d780: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ -0008d790: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ -0008d7a0: 733a 0a20 202d 2043 4a49 532d 352e 342e  s:.  - CJIS-5.4.
│ │ │ -0008d7b0: 312e 310a 2020 2d20 4e49 5354 2d38 3030  1.1.  - NIST-800
│ │ │ -0008d7c0: 2d31 3731 2d33 2e33 2e31 0a20 202d 204e  -171-3.3.1.  - N
│ │ │ -0008d7d0: 4953 542d 3830 302d 3137 312d 332e 332e  IST-800-171-3.3.
│ │ │ -0008d7e0: 320a 2020 2d20 4e49 5354 2d38 3030 2d31  2.  - NIST-800-1
│ │ │ -0008d7f0: 3731 2d33 2e33 2e36 0a20 202d 204e 4953  71-3.3.6.  - NIS
│ │ │ -0008d800: 542d 3830 302d 3533 2d41 432d 3228 6729  T-800-53-AC-2(g)
│ │ │ -0008d810: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -0008d820: 2d41 432d 3628 3929 0a20 202d 204e 4953  -AC-6(9).  - NIS
│ │ │ -0008d830: 542d 3830 302d 3533 2d41 552d 3130 0a20  T-800-53-AU-10. 
│ │ │ -0008d840: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ -0008d850: 552d 3132 2863 290a 2020 2d20 4e49 5354  U-12(c).  - NIST
│ │ │ -0008d860: 2d38 3030 2d35 332d 4155 2d31 3428 3129  -800-53-AU-14(1)
│ │ │ -0008d870: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -0008d880: 2d41 552d 3228 6429 0a20 202d 204e 4953  -AU-2(d).  - NIS
│ │ │ -0008d890: 542d 3830 302d 3533 2d41 552d 330a 2020  T-800-53-AU-3.  
│ │ │ -0008d8a0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -0008d8b0: 2d36 2861 290a 2020 2d20 4e49 5354 2d38  -6(a).  - NIST-8
│ │ │ -0008d8c0: 3030 2d35 332d 5349 2d34 2832 3329 0a20  00-53-SI-4(23). 
│ │ │ -0008d8d0: 202d 2050 4349 2d44 5353 2d52 6571 2d31   - PCI-DSS-Req-1
│ │ │ -0008d8e0: 302e 310a 2020 2d20 5043 492d 4453 5376  0.1.  - PCI-DSSv
│ │ │ -0008d8f0: 342d 3130 2e32 0a20 202d 2050 4349 2d44  4-10.2.  - PCI-D
│ │ │ -0008d900: 5353 7634 2d31 302e 322e 310a 2020 2d20  SSv4-10.2.1.  - 
│ │ │ -0008d910: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ -0008d920: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -0008d930: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -0008d940: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -0008d950: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -0008d960: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -0008d970: 202d 2073 6572 7669 6365 5f61 7564 6974   - service_audit
│ │ │ -0008d980: 645f 656e 6162 6c65 640a 0a2d 206e 616d  d_enabled..- nam
│ │ │ -0008d990: 653a 2045 6e61 626c 6520 6175 6469 7464  e: Enable auditd
│ │ │ -0008d9a0: 2053 6572 7669 6365 202d 2045 6e61 626c   Service - Enabl
│ │ │ -0008d9b0: 6520 7365 7276 6963 6520 6175 6469 7464  e service auditd
│ │ │ -0008d9c0: 0a20 2062 6c6f 636b 3a0a 0a20 202d 206e  .  block:..  - n
│ │ │ -0008d9d0: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ -0008d9e0: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ -0008d9f0: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ -0008da00: 0a20 2020 2020 206d 616e 6167 6572 3a20  .      manager: 
│ │ │ -0008da10: 6175 746f 0a0a 2020 2d20 6e61 6d65 3a20  auto..  - name: 
│ │ │ -0008da20: 456e 6162 6c65 2061 7564 6974 6420 5365  Enable auditd Se
│ │ │ -0008da30: 7276 6963 6520 2d20 456e 6162 6c65 2053  rvice - Enable S
│ │ │ -0008da40: 6572 7669 6365 2061 7564 6974 640a 2020  ervice auditd.  
│ │ │ -0008da50: 2020 616e 7369 626c 652e 6275 696c 7469    ansible.builti
│ │ │ -0008da60: 6e2e 7379 7374 656d 643a 0a20 2020 2020  n.systemd:.     
│ │ │ -0008da70: 206e 616d 653a 2061 7564 6974 640a 2020   name: auditd.  
│ │ │ -0008da80: 2020 2020 656e 6162 6c65 643a 2074 7275      enabled: tru
│ │ │ -0008da90: 650a 2020 2020 2020 7374 6174 653a 2073  e.      state: s
│ │ │ -0008daa0: 7461 7274 6564 0a20 2020 2020 206d 6173  tarted.      mas
│ │ │ -0008dab0: 6b65 643a 2066 616c 7365 0a20 2020 2077  ked: false.    w
│ │ │ -0008dac0: 6865 6e3a 0a20 2020 202d 2027 2261 7564  hen:.    - '"aud
│ │ │ -0008dad0: 6974 6422 2069 6e20 616e 7369 626c 655f  itd" in ansible_
│ │ │ -0008dae0: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -0008daf0: 2020 7768 656e 3a0a 2020 2d20 2722 6c69    when:.  - '"li
│ │ │ -0008db00: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ -0008db10: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -0008db20: 6765 7327 0a20 202d 2027 2261 7564 6974  ges'.  - '"audit
│ │ │ -0008db30: 6422 2069 6e20 616e 7369 626c 655f 6661  d" in ansible_fa
│ │ │ -0008db40: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ -0008db50: 7461 6773 3a0a 2020 2d20 434a 4953 2d35  tags:.  - CJIS-5
│ │ │ -0008db60: 2e34 2e31 2e31 0a20 202d 204e 4953 542d  .4.1.1.  - NIST-
│ │ │ -0008db70: 3830 302d 3137 312d 332e 332e 310a 2020  800-171-3.3.1.  
│ │ │ -0008db80: 2d20 4e49 5354 2d38 3030 2d31 3731 2d33  - NIST-800-171-3
│ │ │ -0008db90: 2e33 2e32 0a20 202d 204e 4953 542d 3830  .3.2.  - NIST-80
│ │ │ -0008dba0: 302d 3137 312d 332e 332e 360a 2020 2d20  0-171-3.3.6.  - 
│ │ │ -0008dbb0: 4e49 5354 2d38 3030 2d35 332d 4143 2d32  NIST-800-53-AC-2
│ │ │ -0008dbc0: 2867 290a 2020 2d20 4e49 5354 2d38 3030  (g).  - NIST-800
│ │ │ -0008dbd0: 2d35 332d 4143 2d36 2839 290a 2020 2d20  -53-AC-6(9).  - 
│ │ │ -0008dbe0: 4e49 5354 2d38 3030 2d35 332d 4155 2d31  NIST-800-53-AU-1
│ │ │ -0008dbf0: 300a 2020 2d20 4e49 5354 2d38 3030 2d35  0.  - NIST-800-5
│ │ │ -0008dc00: 332d 4155 2d31 3228 6329 0a20 202d 204e  3-AU-12(c).  - N
│ │ │ -0008dc10: 4953 542d 3830 302d 3533 2d41 552d 3134  IST-800-53-AU-14
│ │ │ -0008dc20: 2831 290a 2020 2d20 4e49 5354 2d38 3030  (1).  - NIST-800
│ │ │ -0008dc30: 2d35 332d 4155 2d32 2864 290a 2020 2d20  -53-AU-2(d).  - 
│ │ │ -0008dc40: 4e49 5354 2d38 3030 2d35 332d 4155 2d33  NIST-800-53-AU-3
│ │ │ -0008dc50: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -0008dc60: 2d43 4d2d 3628 6129 0a20 202d 204e 4953  -CM-6(a).  - NIS
│ │ │ -0008dc70: 542d 3830 302d 3533 2d53 492d 3428 3233  T-800-53-SI-4(23
│ │ │ -0008dc80: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ -0008dc90: 712d 3130 2e31 0a20 202d 2050 4349 2d44  q-10.1.  - PCI-D
│ │ │ -0008dca0: 5353 7634 2d31 302e 320a 2020 2d20 5043  SSv4-10.2.  - PC
│ │ │ -0008dcb0: 492d 4453 5376 342d 3130 2e32 2e31 0a20  I-DSSv4-10.2.1. 
│ │ │ -0008dcc0: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ -0008dcd0: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ -0008dce0: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -0008dcf0: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ -0008dd00: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ -0008dd10: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -0008dd20: 640a 2020 2d20 7365 7276 6963 655f 6175  d.  - service_au
│ │ │ -0008dd30: 6469 7464 5f65 6e61 626c 6564 0a3c 2f63  ditd_enabled.
│ │ │ +0008d2d0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +0008d2e0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +0008d2f0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +0008d330: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +0008d340: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +0008d360: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ +0008d380: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761  - name: Ga
│ │ │ +0008d390: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ +0008d3a0: 2066 6163 7473 0a20 2070 6163 6b61 6765   facts.  package
│ │ │ +0008d3b0: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61  _facts:.    mana
│ │ │ +0008d3c0: 6765 723a 2061 7574 6f0a 2020 7461 6773  ger: auto.  tags
│ │ │ +0008d3d0: 3a0a 2020 2d20 434a 4953 2d35 2e34 2e31  :.  - CJIS-5.4.1
│ │ │ +0008d3e0: 2e31 0a20 202d 204e 4953 542d 3830 302d  .1.  - NIST-800-
│ │ │ +0008d3f0: 3137 312d 332e 332e 310a 2020 2d20 4e49  171-3.3.1.  - NI
│ │ │ +0008d400: 5354 2d38 3030 2d31 3731 2d33 2e33 2e32  ST-800-171-3.3.2
│ │ │ +0008d410: 0a20 202d 204e 4953 542d 3830 302d 3137  .  - NIST-800-17
│ │ │ +0008d420: 312d 332e 332e 360a 2020 2d20 4e49 5354  1-3.3.6.  - NIST
│ │ │ +0008d430: 2d38 3030 2d35 332d 4143 2d32 2867 290a  -800-53-AC-2(g).
│ │ │ +0008d440: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +0008d450: 4143 2d36 2839 290a 2020 2d20 4e49 5354  AC-6(9).  - NIST
│ │ │ +0008d460: 2d38 3030 2d35 332d 4155 2d31 300a 2020  -800-53-AU-10.  
│ │ │ +0008d470: 2d20 4e49 5354 2d38 3030 2d35 332d 4155  - NIST-800-53-AU
│ │ │ +0008d480: 2d31 3228 6329 0a20 202d 204e 4953 542d  -12(c).  - NIST-
│ │ │ +0008d490: 3830 302d 3533 2d41 552d 3134 2831 290a  800-53-AU-14(1).
│ │ │ +0008d4a0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +0008d4b0: 4155 2d32 2864 290a 2020 2d20 4e49 5354  AU-2(d).  - NIST
│ │ │ +0008d4c0: 2d38 3030 2d35 332d 4155 2d33 0a20 202d  -800-53-AU-3.  -
│ │ │ +0008d4d0: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +0008d4e0: 3628 6129 0a20 202d 204e 4953 542d 3830  6(a).  - NIST-80
│ │ │ +0008d4f0: 302d 3533 2d53 492d 3428 3233 290a 2020  0-53-SI-4(23).  
│ │ │ +0008d500: 2d20 5043 492d 4453 532d 5265 712d 3130  - PCI-DSS-Req-10
│ │ │ +0008d510: 2e31 0a20 202d 2050 4349 2d44 5353 7634  .1.  - PCI-DSSv4
│ │ │ +0008d520: 2d31 302e 320a 2020 2d20 5043 492d 4453  -10.2.  - PCI-DS
│ │ │ +0008d530: 5376 342d 3130 2e32 2e31 0a20 202d 2065  Sv4-10.2.1.  - e
│ │ │ +0008d540: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ +0008d550: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +0008d560: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +0008d570: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +0008d580: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +0008d590: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +0008d5a0: 2d20 7365 7276 6963 655f 6175 6469 7464  - service_auditd
│ │ │ +0008d5b0: 5f65 6e61 626c 6564 0a0a 2d20 6e61 6d65  _enabled..- name
│ │ │ +0008d5c0: 3a20 456e 6162 6c65 2061 7564 6974 6420  : Enable auditd 
│ │ │ +0008d5d0: 5365 7276 6963 6520 2d20 456e 6162 6c65  Service - Enable
│ │ │ +0008d5e0: 2073 6572 7669 6365 2061 7564 6974 640a   service auditd.
│ │ │ +0008d5f0: 2020 626c 6f63 6b3a 0a0a 2020 2d20 6e61    block:..  - na
│ │ │ +0008d600: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ +0008d610: 6163 6b61 6765 2066 6163 7473 0a20 2020  ackage facts.   
│ │ │ +0008d620: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ +0008d630: 2020 2020 2020 6d61 6e61 6765 723a 2061        manager: a
│ │ │ +0008d640: 7574 6f0a 0a20 202d 206e 616d 653a 2045  uto..  - name: E
│ │ │ +0008d650: 6e61 626c 6520 6175 6469 7464 2053 6572  nable auditd Ser
│ │ │ +0008d660: 7669 6365 202d 2045 6e61 626c 6520 5365  vice - Enable Se
│ │ │ +0008d670: 7276 6963 6520 6175 6469 7464 0a20 2020  rvice auditd.   
│ │ │ +0008d680: 2061 6e73 6962 6c65 2e62 7569 6c74 696e   ansible.builtin
│ │ │ +0008d690: 2e73 7973 7465 6d64 3a0a 2020 2020 2020  .systemd:.      
│ │ │ +0008d6a0: 6e61 6d65 3a20 6175 6469 7464 0a20 2020  name: auditd.   
│ │ │ +0008d6b0: 2020 2065 6e61 626c 6564 3a20 7472 7565     enabled: true
│ │ │ +0008d6c0: 0a20 2020 2020 2073 7461 7465 3a20 7374  .      state: st
│ │ │ +0008d6d0: 6172 7465 640a 2020 2020 2020 6d61 736b  arted.      mask
│ │ │ +0008d6e0: 6564 3a20 6661 6c73 650a 2020 2020 7768  ed: false.    wh
│ │ │ +0008d6f0: 656e 3a0a 2020 2020 2d20 2722 6175 6469  en:.    - '"audi
│ │ │ +0008d700: 7464 2220 696e 2061 6e73 6962 6c65 5f66  td" in ansible_f
│ │ │ +0008d710: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ +0008d720: 2077 6865 6e3a 0a20 202d 2027 226c 696e   when:.  - '"lin
│ │ │ +0008d730: 7578 2d62 6173 6522 2069 6e20 616e 7369  ux-base" in ansi
│ │ │ +0008d740: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ +0008d750: 6573 270a 2020 2d20 2722 6175 6469 7464  es'.  - '"auditd
│ │ │ +0008d760: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ +0008d770: 7473 2e70 6163 6b61 6765 7327 0a20 2074  ts.packages'.  t
│ │ │ +0008d780: 6167 733a 0a20 202d 2043 4a49 532d 352e  ags:.  - CJIS-5.
│ │ │ +0008d790: 342e 312e 310a 2020 2d20 4e49 5354 2d38  4.1.1.  - NIST-8
│ │ │ +0008d7a0: 3030 2d31 3731 2d33 2e33 2e31 0a20 202d  00-171-3.3.1.  -
│ │ │ +0008d7b0: 204e 4953 542d 3830 302d 3137 312d 332e   NIST-800-171-3.
│ │ │ +0008d7c0: 332e 320a 2020 2d20 4e49 5354 2d38 3030  3.2.  - NIST-800
│ │ │ +0008d7d0: 2d31 3731 2d33 2e33 2e36 0a20 202d 204e  -171-3.3.6.  - N
│ │ │ +0008d7e0: 4953 542d 3830 302d 3533 2d41 432d 3228  IST-800-53-AC-2(
│ │ │ +0008d7f0: 6729 0a20 202d 204e 4953 542d 3830 302d  g).  - NIST-800-
│ │ │ +0008d800: 3533 2d41 432d 3628 3929 0a20 202d 204e  53-AC-6(9).  - N
│ │ │ +0008d810: 4953 542d 3830 302d 3533 2d41 552d 3130  IST-800-53-AU-10
│ │ │ +0008d820: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +0008d830: 2d41 552d 3132 2863 290a 2020 2d20 4e49  -AU-12(c).  - NI
│ │ │ +0008d840: 5354 2d38 3030 2d35 332d 4155 2d31 3428  ST-800-53-AU-14(
│ │ │ +0008d850: 3129 0a20 202d 204e 4953 542d 3830 302d  1).  - NIST-800-
│ │ │ +0008d860: 3533 2d41 552d 3228 6429 0a20 202d 204e  53-AU-2(d).  - N
│ │ │ +0008d870: 4953 542d 3830 302d 3533 2d41 552d 330a  IST-800-53-AU-3.
│ │ │ +0008d880: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +0008d890: 434d 2d36 2861 290a 2020 2d20 4e49 5354  CM-6(a).  - NIST
│ │ │ +0008d8a0: 2d38 3030 2d35 332d 5349 2d34 2832 3329  -800-53-SI-4(23)
│ │ │ +0008d8b0: 0a20 202d 2050 4349 2d44 5353 2d52 6571  .  - PCI-DSS-Req
│ │ │ +0008d8c0: 2d31 302e 310a 2020 2d20 5043 492d 4453  -10.1.  - PCI-DS
│ │ │ +0008d8d0: 5376 342d 3130 2e32 0a20 202d 2050 4349  Sv4-10.2.  - PCI
│ │ │ +0008d8e0: 2d44 5353 7634 2d31 302e 322e 310a 2020  -DSSv4-10.2.1.  
│ │ │ +0008d8f0: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ +0008d900: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +0008d910: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +0008d920: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ +0008d930: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ +0008d940: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +0008d950: 0a20 202d 2073 6572 7669 6365 5f61 7564  .  - service_aud
│ │ │ +0008d960: 6974 645f 656e 6162 6c65 640a 3c2f 636f  itd_enabled.
< │ │ │ +0008d980: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +0008d990: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +0008d9a0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +0008d9b0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +0008d9c0: 646d 3133 3535 3022 2074 6162 696e 6465 dm13550" tabinde │ │ │ +0008d9d0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +0008d9e0: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +0008d9f0: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +0008da00: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +0008da10: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +0008da20: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +0008da30: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity: │ │ │ +0008db10: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +0008db20: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ +0008db70: 696e 636c 7564 6520 656e 6162 6c65 5f61  include enable_a
│ │ │ +0008db80: 7564 6974 640a 0a63 6c61 7373 2065 6e61  uditd..class ena
│ │ │ +0008db90: 626c 655f 6175 6469 7464 207b 0a20 2073  ble_auditd {.  s
│ │ │ +0008dba0: 6572 7669 6365 207b 2761 7564 6974 6427  ervice {'auditd'
│ │ │ +0008dbb0: 3a0a 2020 2020 656e 6162 6c65 203d 2667  :.    enable =&g
│ │ │ +0008dbc0: 743b 2074 7275 652c 0a20 2020 2065 6e73  t; true,.    ens
│ │ │ +0008dbd0: 7572 6520 3d26 6774 3b20 2772 756e 6e69  ure => 'runni
│ │ │ +0008dbe0: 6e67 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ng',.  }.}.
Re │ │ │ +0008dca0: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil │ │ │ +0008dcb0: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip │ │ │ +0008dcc0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +0008dcd0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +0008dce0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +0008dcf0: 7365 2220 6964 3d22 6964 6d31 3335 3531 se" id="idm13551 │ │ │ +0008dd00: 223e 3c70 7265 3e3c 636f 6465 3e0a 5b63 ">
.[c
│ │ │ +0008dd10: 7573 746f 6d69 7a61 7469 6f6e 732e 7365  ustomizations.se
│ │ │ +0008dd20: 7276 6963 6573 5d0a 656e 6162 6c65 6420  rvices].enabled 
│ │ │ +0008dd30: 3d20 5b22 6175 6469 7464 225d 0a3c 2f63  = ["auditd"].
│ │ │ 0008dd50: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -3736,14 +3719,31 @@ │ │ │ │ - PCI-DSSv4-2.2.6 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_cron_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_cron │ │ │ │ + │ │ │ │ +class install_cron { │ │ │ │ + package { 'cron': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "cron" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -3781,26 +3781,14 @@ │ │ │ │ SR 2.7, SR 3.1, SR 3.5, SR 3.8, SR 4.1, SR 4.3, SR │ │ │ │ 5.1, SR 5.2, SR 5.3, SR 7.1, SR 7.6 │ │ │ │ A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1, │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.13.2.1, A.14.1.3, A.14.2.2, A.14.2.3, A.14.2.4, │ │ │ │ A.6.2.1, A.6.2.2, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_inetutils-telnetd │ │ │ │ - │ │ │ │ -class remove_inetutils-telnetd { │ │ │ │ - package { 'inetutils-telnetd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure inetutils-telnetd is removed │ │ │ │ package: │ │ │ │ @@ -3812,14 +3800,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_inetutils-telnetd_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_inetutils-telnetd │ │ │ │ + │ │ │ │ +class remove_inetutils-telnetd { │ │ │ │ + package { 'inetutils-telnetd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove inetutils-telnetd │ │ │ │ @@ -3832,26 +3832,14 @@ │ │ │ │ ****** RRuullee? ?  UUnniinnssttaallll tthhee nniiss ppaacckkaaggee ? ? _[[_rr_ee_ff_]] ****** │ │ │ │ The support for Yellowpages should not be installed unless it is required. │ │ │ │ NIS is the historical SUN service for central account management, │ │ │ │ Rationale: more and more replaced by LDAP. NIS does not support efficiently │ │ │ │ security constraints, ACL, etc. and should not be used. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_nis_removed │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_nis │ │ │ │ - │ │ │ │ -class remove_nis { │ │ │ │ - package { 'nis': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure nis is removed │ │ │ │ package: │ │ │ │ @@ -3860,14 +3848,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_nis_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_nis │ │ │ │ + │ │ │ │ +class remove_nis { │ │ │ │ + package { 'nis': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove nis │ │ │ │ @@ -3881,26 +3881,14 @@ │ │ │ │ ntpdate is a historical ntp synchronization client for unixes. It sould be │ │ │ │ uninstalled. │ │ │ │ ntpdate is an old not security-compliant ntp client. It should be │ │ │ │ Rationale: replaced by modern ntp clients such as ntpd, able to use │ │ │ │ cryptographic mechanisms integrated in NTP. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_ntpdate_removed │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_ntpdate │ │ │ │ - │ │ │ │ -class remove_ntpdate { │ │ │ │ - package { 'ntpdate': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure ntpdate is removed │ │ │ │ package: │ │ │ │ @@ -3909,14 +3897,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_ntpdate_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_ntpdate │ │ │ │ + │ │ │ │ +class remove_ntpdate { │ │ │ │ + package { 'ntpdate': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove ntpdate │ │ │ │ @@ -3947,26 +3947,14 @@ │ │ │ │ SR 2.7, SR 3.1, SR 3.5, SR 3.8, SR 4.1, SR 4.3, SR │ │ │ │ 5.1, SR 5.2, SR 5.3, SR 7.1, SR 7.6 │ │ │ │ A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1, │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.13.2.1, A.14.1.3, A.14.2.2, A.14.2.3, A.14.2.4, │ │ │ │ A.6.2.1, A.6.2.2, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_telnetd-ssl │ │ │ │ - │ │ │ │ -class remove_telnetd-ssl { │ │ │ │ - package { 'telnetd-ssl': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure telnetd-ssl is removed │ │ │ │ package: │ │ │ │ @@ -3978,14 +3966,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_telnetd-ssl_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_telnetd-ssl │ │ │ │ + │ │ │ │ +class remove_telnetd-ssl { │ │ │ │ + package { 'telnetd-ssl': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove telnetd-ssl │ │ │ │ @@ -4017,26 +4017,14 @@ │ │ │ │ SR 2.7, SR 3.1, SR 3.5, SR 3.8, SR 4.1, SR 4.3, SR │ │ │ │ 5.1, SR 5.2, SR 5.3, SR 7.1, SR 7.6 │ │ │ │ A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1, │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.13.2.1, A.14.1.3, A.14.2.2, A.14.2.3, A.14.2.4, │ │ │ │ A.6.2.1, A.6.2.2, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_telnetd │ │ │ │ - │ │ │ │ -class remove_telnetd { │ │ │ │ - package { 'telnetd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure telnetd is removed │ │ │ │ package: │ │ │ │ @@ -4048,14 +4036,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_telnetd_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_telnetd │ │ │ │ + │ │ │ │ +class remove_telnetd { │ │ │ │ + package { 'telnetd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove telnetd │ │ │ │ @@ -4130,31 +4130,14 @@ │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_0_9 4.3.3.3.9, 4.3.3.5.8, 4.3.4.4.7, 4.4.2.1, 4.4.2.2, │ │ │ │ References: 4.4.2.4 │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "ntp" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_ntp │ │ │ │ - │ │ │ │ -class install_ntp { │ │ │ │ - package { 'ntp': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -4179,14 +4162,31 @@ │ │ │ │ - PCI-DSS-Req-10.4 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_ntp_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_ntp │ │ │ │ + │ │ │ │ +class install_ntp { │ │ │ │ + package { 'ntp': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "ntp" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -4220,31 +4220,14 @@ │ │ │ │ 4.4.2.4 │ │ │ │ References: _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a), AU-8(1)(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ _p_c_i_d_s_s_4 10.6.1, 10.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["ntp"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_ntp │ │ │ │ - │ │ │ │ -class enable_ntp { │ │ │ │ - service {'ntp': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -4288,14 +4271,31 @@ │ │ │ │ - PCI-DSSv4-10.6.1 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - service_ntp_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_ntp │ │ │ │ + │ │ │ │ +class enable_ntp { │ │ │ │ + service {'ntp': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["ntp"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -4333,31 +4333,14 @@ │ │ │ │ 4.4.2.4 │ │ │ │ References: _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a), AU-8(1)(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ _p_c_i_d_s_s_4 10.6.1, 10.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["systemd-timesyncd"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_systemd-timesyncd │ │ │ │ - │ │ │ │ -class enable_systemd-timesyncd { │ │ │ │ - service {'systemd-timesyncd': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -4403,14 +4386,31 @@ │ │ │ │ - PCI-DSSv4-10.6.1 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - service_timesyncd_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_systemd-timesyncd │ │ │ │ + │ │ │ │ +class enable_systemd-timesyncd { │ │ │ │ + service {'systemd-timesyncd': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["systemd-timesyncd"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -5315,31 +5315,14 @@ │ │ │ │ 000349-GPOS-00137, SRG-OS-000350-GPOS-00138, SRG-OS- │ │ │ │ 000351-GPOS-00139, SRG-OS-000352-GPOS-00140, SRG-OS- │ │ │ │ 000353-GPOS-00141, SRG-OS-000354-GPOS-00142, SRG-OS- │ │ │ │ 000358-GPOS-00145, SRG-OS-000365-GPOS-00152, SRG-OS- │ │ │ │ 000392-GPOS-00172, SRG-OS-000475-GPOS-00220 │ │ │ │ _a_n_s_s_i R33, R73 │ │ │ │ _p_c_i_d_s_s_4 10.2.1, 10.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "auditd" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_auditd │ │ │ │ - │ │ │ │ -class install_auditd { │ │ │ │ - package { 'auditd': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -5380,14 +5363,31 @@ │ │ │ │ - PCI-DSSv4-10.2.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_audit_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_auditd │ │ │ │ + │ │ │ │ +class install_auditd { │ │ │ │ + package { 'auditd': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "auditd" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -5463,31 +5463,14 @@ │ │ │ │ SRG-OS-000358-GPOS-00145, SRG-OS-000365-GPOS-00152, │ │ │ │ SRG-OS-000392-GPOS-00172, SRG-OS-000475-GPOS-00220 │ │ │ │ SRG-APP-000095-CTR-000170, SRG-APP-000409-CTR- │ │ │ │ _a_p_p_-_s_r_g_-_c_t_r 000990, SRG-APP-000508-CTR-001300, SRG-APP-000510- │ │ │ │ CTR-001310 │ │ │ │ _a_n_s_s_i R33, R73 │ │ │ │ _p_c_i_d_s_s_4 10.2.1, 10.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["auditd"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_auditd │ │ │ │ - │ │ │ │ -class enable_auditd { │ │ │ │ - service {'auditd': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -5553,14 +5536,31 @@ │ │ │ │ - PCI-DSSv4-10.2.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_auditd_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_auditd │ │ │ │ + │ │ │ │ +class enable_auditd { │ │ │ │ + service {'auditd': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["auditd"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ ├── ./usr/share/doc/ssg-debderived/ssg-ubuntu1604-guide-anssi_np_nt28_minimal.html │ │ │ @@ -20387,96 +20387,96 @@ │ │ │ 0004fa20: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 0004fa30: 646d 3936 3335 2220 7461 6269 6e64 6578 dm9635" tabindex │ │ │ 0004fa40: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ 0004fa50: 6e22 2061 7269 612d 6578 7061 6e64 6564 n" aria-expanded │ │ │ 0004fa60: 3d22 6661 6c73 6522 2074 6974 6c65 3d22 ="false" title=" │ │ │ 0004fa70: 4163 7469 7661 7465 2074 6f20 7265 7665 Activate to reve │ │ │ 0004fa80: 616c 2220 6872 6566 3d22 2321 223e 5265 al" href="#!">Re │ │ │ -0004fa90: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -0004faa0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -0004fab0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
low
Disru │ │ │ +0008daf0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +0008db00: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +0008db40: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ +0008db50: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -0004fb40: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
i
│ │ │ -0004fbe0: 6e63 6c75 6465 2072 656d 6f76 655f 696e  nclude remove_in
│ │ │ -0004fbf0: 6574 7574 696c 732d 7465 6c6e 6574 640a  etutils-telnetd.
│ │ │ -0004fc00: 0a63 6c61 7373 2072 656d 6f76 655f 696e  .class remove_in
│ │ │ -0004fc10: 6574 7574 696c 732d 7465 6c6e 6574 6420  etutils-telnetd 
│ │ │ -0004fc20: 7b0a 2020 7061 636b 6167 6520 7b20 2769  {.  package { 'i
│ │ │ -0004fc30: 6e65 7475 7469 6c73 2d74 656c 6e65 7464  netutils-telnetd
│ │ │ -0004fc40: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ -0004fc50: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ -0004fc60: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediatio │ │ │ -0004fd20: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ -0004fd30: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
< │ │ │ -0004fd70: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -0004fd80: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -0004fd90: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -0004fda0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -0004fdb0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ -0004fe40: 3c74 643e 6469 7361 626c 653c 2f74 643e │ │ │ -0004fe50: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
│ │ │ -0004fb30: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -0004fb60: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -0004fb70: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -0004fbb0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ -0004fbc0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complex │ │ │ -0004fdc0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -0004fdd0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ -0004fe10: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -0004fe20: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
disable
- name: │ │ │ -0004fe70: 456e 7375 7265 2069 6e65 7475 7469 6c73 Ensure inetutils │ │ │ -0004fe80: 2d74 656c 6e65 7464 2069 7320 7265 6d6f -telnetd is remo │ │ │ -0004fe90: 7665 640a 2020 7061 636b 6167 653a 0a20 ved. package:. │ │ │ -0004fea0: 2020 206e 616d 653a 2069 6e65 7475 7469 name: inetuti │ │ │ -0004feb0: 6c73 2d74 656c 6e65 7464 0a20 2020 2073 ls-telnetd. s │ │ │ -0004fec0: 7461 7465 3a20 6162 7365 6e74 0a20 2074 tate: absent. t │ │ │ -0004fed0: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80 │ │ │ -0004fee0: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). - │ │ │ -0004fef0: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM- │ │ │ -0004ff00: 3728 6129 0a20 202d 204e 4953 542d 3830 7(a). - NIST-80 │ │ │ -0004ff10: 302d 3533 2d43 4d2d 3728 6229 0a20 202d 0-53-CM-7(b). - │ │ │ -0004ff20: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg │ │ │ -0004ff30: 790a 2020 2d20 6869 6768 5f73 6576 6572 y. - high_sever │ │ │ -0004ff40: 6974 790a 2020 2d20 6c6f 775f 636f 6d70 ity. - low_comp │ │ │ -0004ff50: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d │ │ │ -0004ff60: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f isruption. - no │ │ │ -0004ff70: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed. │ │ │ -0004ff80: 202d 2070 6163 6b61 6765 5f69 6e65 7475 - package_inetu │ │ │ -0004ff90: 7469 6c73 2d74 656c 6e65 7464 5f72 656d tils-telnetd_rem │ │ │ -0004ffa0: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072 oved.
< │ │ │ +0004fb80: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +0004fb90: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +0004fbe0: 2d20 6e61 6d65 3a20 456e 7375 7265 2069  - name: Ensure i
│ │ │ +0004fbf0: 6e65 7475 7469 6c73 2d74 656c 6e65 7464  netutils-telnetd
│ │ │ +0004fc00: 2069 7320 7265 6d6f 7665 640a 2020 7061   is removed.  pa
│ │ │ +0004fc10: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ +0004fc20: 2069 6e65 7475 7469 6c73 2d74 656c 6e65   inetutils-telne
│ │ │ +0004fc30: 7464 0a20 2020 2073 7461 7465 3a20 6162  td.    state: ab
│ │ │ +0004fc40: 7365 6e74 0a20 2074 6167 733a 0a20 202d  sent.  tags:.  -
│ │ │ +0004fc50: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +0004fc60: 3628 6129 0a20 202d 204e 4953 542d 3830  6(a).  - NIST-80
│ │ │ +0004fc70: 302d 3533 2d43 4d2d 3728 6129 0a20 202d  0-53-CM-7(a).  -
│ │ │ +0004fc80: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +0004fc90: 3728 6229 0a20 202d 2064 6973 6162 6c65  7(b).  - disable
│ │ │ +0004fca0: 5f73 7472 6174 6567 790a 2020 2d20 6869  _strategy.  - hi
│ │ │ +0004fcb0: 6768 5f73 6576 6572 6974 790a 2020 2d20  gh_severity.  - 
│ │ │ +0004fcc0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +0004fcd0: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +0004fce0: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f  n.  - no_reboot_
│ │ │ +0004fcf0: 6e65 6564 6564 0a20 202d 2070 6163 6b61  needed.  - packa
│ │ │ +0004fd00: 6765 5f69 6e65 7475 7469 6c73 2d74 656c  ge_inetutils-tel
│ │ │ +0004fd10: 6e65 7464 5f72 656d 6f76 6564 0a3c 2f63  netd_removed.
│ │ │ +0004fd30: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 R │ │ │ +0004fdd0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +0004fde0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity:low
Disrup │ │ │ +0004fb60: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +0004fb70: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +0004fbb0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +0004fbc0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
< │ │ │ +0004fec0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +0004fed0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +0004ff20: 696e 636c 7564 6520 7265 6d6f 7665 5f69  include remove_i
│ │ │ +0004ff30: 6e65 7475 7469 6c73 2d74 656c 6e65 7464  netutils-telnetd
│ │ │ +0004ff40: 0a0a 636c 6173 7320 7265 6d6f 7665 5f69  ..class remove_i
│ │ │ +0004ff50: 6e65 7475 7469 6c73 2d74 656c 6e65 7464  netutils-telnetd
│ │ │ +0004ff60: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ +0004ff70: 696e 6574 7574 696c 732d 7465 6c6e 6574  inetutils-telnet
│ │ │ +0004ff80: 6427 3a0a 2020 2020 656e 7375 7265 203d  d':.    ensure =
│ │ │ +0004ff90: 2667 743b 2027 7075 7267 6564 272c 0a20  > 'purged',. 
│ │ │ +0004ffa0: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.Remediatio
│ │ │ -00050940: 6e20 5075 7070 6574 2073 6e69 7070 6574  n Puppet snippet
│ │ │ -00050950: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976   ...
│ │ │ -000509d0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ -00050a60: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -00050a70: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
Complexity:low
Disrup │ │ │ +0004fea0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +0004feb0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +0004fef0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +0004ff00: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexi │ │ │ -000509e0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -000509f0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ -00050a30: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -00050a40: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
include r
│ │ │ -00050a90: 656d 6f76 655f 6e69 730a 0a63 6c61 7373  emove_nis..class
│ │ │ -00050aa0: 2072 656d 6f76 655f 6e69 7320 7b0a 2020   remove_nis {.  
│ │ │ -00050ab0: 7061 636b 6167 6520 7b20 276e 6973 273a  package { 'nis':
│ │ │ -00050ac0: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ -00050ad0: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a  ; 'purged',.  }.
│ │ │ -00050ae0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ -00050af0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -00050ba0: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -00050bb0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
< │ │ │ -00050c30: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -00050c40: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ -00050c60: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ -00050c70: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ -00050c90: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ -00050cb0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ -00050ce0: 3c63 6f64 653e 2d20 6e61 6d65 3a20 456e  - name: En
│ │ │ -00050cf0: 7375 7265 206e 6973 2069 7320 7265 6d6f  sure nis is remo
│ │ │ -00050d00: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ -00050d10: 2020 206e 616d 653a 206e 6973 0a20 2020     name: nis.   
│ │ │ -00050d20: 2073 7461 7465 3a20 6162 7365 6e74 0a20   state: absent. 
│ │ │ -00050d30: 2074 6167 733a 0a20 202d 2064 6973 6162   tags:.  - disab
│ │ │ -00050d40: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -00050d50: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -00050d60: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -00050d70: 6e0a 2020 2d20 6c6f 775f 7365 7665 7269  n.  - low_severi
│ │ │ -00050d80: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -00050d90: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ -00050da0: 6167 655f 6e69 735f 7265 6d6f 7665 640a  age_nis_removed.
│ │ │ +00050940: 6e20 416e 7369 626c 6520 736e 6970 7065  n Ansible snippe
│ │ │ +00050950: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469  t ...
< │ │ │ +00050990: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +000509a0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +000509b0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +000509c0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +000509d0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +000509e0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +000509f0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +00050a30: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +00050a40: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +00050a60: 3c74 643e 6469 7361 626c 653c 2f74 643e disable │ │ │ +00050a70: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 - name: │ │ │ +00050a90: 456e 7375 7265 206e 6973 2069 7320 7265 Ensure nis is re │ │ │ +00050aa0: 6d6f 7665 640a 2020 7061 636b 6167 653a moved. package: │ │ │ +00050ab0: 0a20 2020 206e 616d 653a 206e 6973 0a20 . name: nis. │ │ │ +00050ac0: 2020 2073 7461 7465 3a20 6162 7365 6e74 state: absent │ │ │ +00050ad0: 0a20 2074 6167 733a 0a20 202d 2064 6973 . tags:. - dis │ │ │ +00050ae0: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy. │ │ │ +00050af0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity │ │ │ +00050b00: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt │ │ │ +00050b10: 696f 6e0a 2020 2d20 6c6f 775f 7365 7665 ion. - low_seve │ │ │ +00050b20: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo │ │ │ +00050b30: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa │ │ │ +00050b40: 636b 6167 655f 6e69 735f 7265 6d6f 7665 ckage_nis_remove │ │ │ +00050b50: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c d.
< │ │ │ +00050b60: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +00050c10: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +00050c20: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
Complexity │ │ │ +00050cb0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +00050cd0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +00050ce0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +00050cf0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +00050d00: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +00050d20: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ +00050d50: 636f 6465 3e69 6e63 6c75 6465 2072 656d  code>include rem
│ │ │ +00050d60: 6f76 655f 6e69 730a 0a63 6c61 7373 2072  ove_nis..class r
│ │ │ +00050d70: 656d 6f76 655f 6e69 7320 7b0a 2020 7061  emove_nis {.  pa
│ │ │ +00050d80: 636b 6167 6520 7b20 276e 6973 273a 0a20  ckage { 'nis':. 
│ │ │ +00050d90: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ +00050da0: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a  'purged',.  }.}.
│ │ │  00050db0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediatio │ │ │ -00051e70: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ -00051e80: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
│ │ │ -00051f00: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -00051f10: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -00051f20: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -00051f60: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -00051f70: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -00051f90: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -00051fa0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include r
│ │ │ -00051fc0: 656d 6f76 655f 7465 6c6e 6574 642d 7373  emove_telnetd-ss
│ │ │ -00051fd0: 6c0a 0a63 6c61 7373 2072 656d 6f76 655f  l..class remove_
│ │ │ -00051fe0: 7465 6c6e 6574 642d 7373 6c20 7b0a 2020  telnetd-ssl {.  
│ │ │ -00051ff0: 7061 636b 6167 6520 7b20 2774 656c 6e65  package { 'telne
│ │ │ -00052000: 7464 2d73 736c 273a 0a20 2020 2065 6e73  td-ssl':.    ens
│ │ │ -00052010: 7572 6520 3d26 6774 3b20 2770 7572 6765  ure => 'purge
│ │ │ -00052020: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Reme │ │ │ -000520e0: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible │ │ │ -000520f0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -00052100: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
< │ │ │ -00052190: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -000521a0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -000521f0: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ -00052230: 6e61 6d65 3a20 456e 7375 7265 2074 656c  name: Ensure tel
│ │ │ -00052240: 6e65 7464 2d73 736c 2069 7320 7265 6d6f  netd-ssl is remo
│ │ │ -00052250: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ -00052260: 2020 206e 616d 653a 2074 656c 6e65 7464     name: telnetd
│ │ │ -00052270: 2d73 736c 0a20 2020 2073 7461 7465 3a20  -ssl.    state: 
│ │ │ -00052280: 6162 7365 6e74 0a20 2074 6167 733a 0a20  absent.  tags:. 
│ │ │ -00052290: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -000522a0: 4d2d 3628 6129 0a20 202d 204e 4953 542d  M-6(a).  - NIST-
│ │ │ -000522b0: 3830 302d 3533 2d43 4d2d 3728 6129 0a20  800-53-CM-7(a). 
│ │ │ -000522c0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -000522d0: 4d2d 3728 6229 0a20 202d 2064 6973 6162  M-7(b).  - disab
│ │ │ -000522e0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -000522f0: 6869 6768 5f73 6576 6572 6974 790a 2020  high_severity.  
│ │ │ -00052300: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -00052310: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -00052320: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f  ion.  - no_reboo
│ │ │ -00052330: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ -00052340: 6b61 6765 5f74 656c 6e65 7464 2d73 736c  kage_telnetd-ssl
│ │ │ -00052350: 5f72 656d 6f76 6564 0a3c 2f63 6f64 653e  _removed.
│ │ │ +00051e70: 6e20 416e 7369 626c 6520 736e 6970 7065  n Ansible snippe
│ │ │ +00051e80: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469  t ...
< │ │ │ +00051ec0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +00051ed0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +00051ee0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +00051ef0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +00051f00: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ +00051f90: 3c74 643e 6469 7361 626c 653c 2f74 643e │ │ │ +00051fa0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
C │ │ │ -00052180: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -000521b0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -000521c0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -00052200: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -00052210: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complex │ │ │ +00051f10: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +00051f20: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ +00051f60: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +00051f70: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
disable
- name: │ │ │ +00051fc0: 456e 7375 7265 2074 656c 6e65 7464 2d73 Ensure telnetd-s │ │ │ +00051fd0: 736c 2069 7320 7265 6d6f 7665 640a 2020 sl is removed. │ │ │ +00051fe0: 7061 636b 6167 653a 0a20 2020 206e 616d package:. nam │ │ │ +00051ff0: 653a 2074 656c 6e65 7464 2d73 736c 0a20 e: telnetd-ssl. │ │ │ +00052000: 2020 2073 7461 7465 3a20 6162 7365 6e74 state: absent │ │ │ +00052010: 0a20 2074 6167 733a 0a20 202d 204e 4953 . tags:. - NIS │ │ │ +00052020: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a) │ │ │ +00052030: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53 │ │ │ +00052040: 2d43 4d2d 3728 6129 0a20 202d 204e 4953 -CM-7(a). - NIS │ │ │ +00052050: 542d 3830 302d 3533 2d43 4d2d 3728 6229 T-800-53-CM-7(b) │ │ │ +00052060: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str │ │ │ +00052070: 6174 6567 790a 2020 2d20 6869 6768 5f73 ategy. - high_s │ │ │ +00052080: 6576 6572 6974 790a 2020 2d20 6c6f 775f everity. - low_ │ │ │ +00052090: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l │ │ │ +000520a0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption. │ │ │ +000520b0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need │ │ │ +000520c0: 6564 0a20 202d 2070 6163 6b61 6765 5f74 ed. - package_t │ │ │ +000520d0: 656c 6e65 7464 2d73 736c 5f72 656d 6f76 elnetd-ssl_remov │ │ │ +000520e0: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e ed.
│ │ │ +000520f0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediation │ │ │ +000521a0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +000521b0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
< │ │ │ +00052230: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +00052240: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +00052260: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +00052270: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +00052290: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +000522b0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ +000522e0: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ +000522f0: 6d6f 7665 5f74 656c 6e65 7464 2d73 736c  move_telnetd-ssl
│ │ │ +00052300: 0a0a 636c 6173 7320 7265 6d6f 7665 5f74  ..class remove_t
│ │ │ +00052310: 656c 6e65 7464 2d73 736c 207b 0a20 2070  elnetd-ssl {.  p
│ │ │ +00052320: 6163 6b61 6765 207b 2027 7465 6c6e 6574  ackage { 'telnet
│ │ │ +00052330: 642d 7373 6c27 3a0a 2020 2020 656e 7375  d-ssl':.    ensu
│ │ │ +00052340: 7265 203d 2667 743b 2027 7075 7267 6564  re => 'purged
│ │ │ +00052350: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │  00052360: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
R │ │ │ -00053420: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ -00053430: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
< │ │ │ -00053510: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -00053520: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -00053570: 696e 636c 7564 6520 7265 6d6f 7665 5f74  include remove_t
│ │ │ -00053580: 656c 6e65 7464 0a0a 636c 6173 7320 7265  elnetd..class re
│ │ │ -00053590: 6d6f 7665 5f74 656c 6e65 7464 207b 0a20  move_telnetd {. 
│ │ │ -000535a0: 2070 6163 6b61 6765 207b 2027 7465 6c6e   package { 'teln
│ │ │ -000535b0: 6574 6427 3a0a 2020 2020 656e 7375 7265  etd':.    ensure
│ │ │ -000535c0: 203d 2667 743b 2027 7075 7267 6564 272c   => 'purged',
│ │ │ -000535d0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.Remedia
│ │ │ -00053690: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69  tion Ansible sni
│ │ │ -000536a0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e  ppet ...
│ │ │ -000536b0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Complexity:low
Disrup │ │ │ -000534f0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -00053500: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -00053540: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -00053550: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Comp │ │ │ -00053730: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -00053740: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -00053760: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -00053780: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -00053790: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ -000537d0: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ -000537e0: 653a 2045 6e73 7572 6520 7465 6c6e 6574  e: Ensure telnet
│ │ │ -000537f0: 6420 6973 2072 656d 6f76 6564 0a20 2070  d is removed.  p
│ │ │ -00053800: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65  ackage:.    name
│ │ │ -00053810: 3a20 7465 6c6e 6574 640a 2020 2020 7374  : telnetd.    st
│ │ │ -00053820: 6174 653a 2061 6273 656e 740a 2020 7461  ate: absent.  ta
│ │ │ -00053830: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030  gs:.  - NIST-800
│ │ │ -00053840: 2d35 332d 434d 2d36 2861 290a 2020 2d20  -53-CM-6(a).  - 
│ │ │ -00053850: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ -00053860: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ -00053870: 2d35 332d 434d 2d37 2862 290a 2020 2d20  -53-CM-7(b).  - 
│ │ │ -00053880: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ -00053890: 0a20 202d 2068 6967 685f 7365 7665 7269  .  - high_severi
│ │ │ -000538a0: 7479 0a20 202d 206c 6f77 5f63 6f6d 706c  ty.  - low_compl
│ │ │ -000538b0: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -000538c0: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f  sruption.  - no_
│ │ │ -000538d0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -000538e0: 2d20 7061 636b 6167 655f 7465 6c6e 6574  - package_telnet
│ │ │ -000538f0: 645f 7265 6d6f 7665 640a 3c2f 636f 6465  d_removed.
Complexity: │ │ │ +00053510: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +00053520: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
- name: Ensure 
│ │ │ +00053580: 7465 6c6e 6574 6420 6973 2072 656d 6f76  telnetd is remov
│ │ │ +00053590: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ +000535a0: 2020 6e61 6d65 3a20 7465 6c6e 6574 640a    name: telnetd.
│ │ │ +000535b0: 2020 2020 7374 6174 653a 2061 6273 656e      state: absen
│ │ │ +000535c0: 740a 2020 7461 6773 3a0a 2020 2d20 4e49  t.  tags:.  - NI
│ │ │ +000535d0: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +000535e0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +000535f0: 332d 434d 2d37 2861 290a 2020 2d20 4e49  3-CM-7(a).  - NI
│ │ │ +00053600: 5354 2d38 3030 2d35 332d 434d 2d37 2862  ST-800-53-CM-7(b
│ │ │ +00053610: 290a 2020 2d20 6469 7361 626c 655f 7374  ).  - disable_st
│ │ │ +00053620: 7261 7465 6779 0a20 202d 2068 6967 685f  rategy.  - high_
│ │ │ +00053630: 7365 7665 7269 7479 0a20 202d 206c 6f77  severity.  - low
│ │ │ +00053640: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +00053650: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +00053660: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +00053670: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ +00053680: 7465 6c6e 6574 645f 7265 6d6f 7665 640a  telnetd_removed.
│ │ │ +00053690: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation Pu │ │ │ +00053750: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ +00053760: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low
Disru │ │ │ +000534f0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +00053500: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +00053540: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +00053550: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ +000537e0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +00053800: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +00053850: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ +00053880: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ +000537f0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +00053810: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +00053860: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ +00053870: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ +000538a0: 655f 7465 6c6e 6574 640a 0a63 6c61 7373  e_telnetd..class
│ │ │ +000538b0: 2072 656d 6f76 655f 7465 6c6e 6574 6420   remove_telnetd 
│ │ │ +000538c0: 7b0a 2020 7061 636b 6167 6520 7b20 2774  {.  package { 't
│ │ │ +000538d0: 656c 6e65 7464 273a 0a20 2020 2065 6e73  elnetd':.    ens
│ │ │ +000538e0: 7572 6520 3d26 6774 3b20 2770 7572 6765  ure => 'purge
│ │ │ +000538f0: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure inetutils-telnetd is removed │ │ │ │ package: │ │ │ │ @@ -1238,14 +1226,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_inetutils-telnetd_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_inetutils-telnetd │ │ │ │ + │ │ │ │ +class remove_inetutils-telnetd { │ │ │ │ + package { 'inetutils-telnetd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove inetutils-telnetd │ │ │ │ @@ -1258,26 +1258,14 @@ │ │ │ │ ****** RRuullee? ?  UUnniinnssttaallll tthhee nniiss ppaacckkaaggee ? ? _[[_rr_ee_ff_]] ****** │ │ │ │ The support for Yellowpages should not be installed unless it is required. │ │ │ │ NIS is the historical SUN service for central account management, │ │ │ │ Rationale: more and more replaced by LDAP. NIS does not support efficiently │ │ │ │ security constraints, ACL, etc. and should not be used. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_nis_removed │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_nis │ │ │ │ - │ │ │ │ -class remove_nis { │ │ │ │ - package { 'nis': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure nis is removed │ │ │ │ package: │ │ │ │ @@ -1286,14 +1274,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_nis_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_nis │ │ │ │ + │ │ │ │ +class remove_nis { │ │ │ │ + package { 'nis': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove nis │ │ │ │ @@ -1324,26 +1324,14 @@ │ │ │ │ SR 2.7, SR 3.1, SR 3.5, SR 3.8, SR 4.1, SR 4.3, SR │ │ │ │ 5.1, SR 5.2, SR 5.3, SR 7.1, SR 7.6 │ │ │ │ A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1, │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.13.2.1, A.14.1.3, A.14.2.2, A.14.2.3, A.14.2.4, │ │ │ │ A.6.2.1, A.6.2.2, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_telnetd-ssl │ │ │ │ - │ │ │ │ -class remove_telnetd-ssl { │ │ │ │ - package { 'telnetd-ssl': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure telnetd-ssl is removed │ │ │ │ package: │ │ │ │ @@ -1355,14 +1343,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_telnetd-ssl_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_telnetd-ssl │ │ │ │ + │ │ │ │ +class remove_telnetd-ssl { │ │ │ │ + package { 'telnetd-ssl': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove telnetd-ssl │ │ │ │ @@ -1394,26 +1394,14 @@ │ │ │ │ SR 2.7, SR 3.1, SR 3.5, SR 3.8, SR 4.1, SR 4.3, SR │ │ │ │ 5.1, SR 5.2, SR 5.3, SR 7.1, SR 7.6 │ │ │ │ A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1, │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.13.2.1, A.14.1.3, A.14.2.2, A.14.2.3, A.14.2.4, │ │ │ │ A.6.2.1, A.6.2.2, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_telnetd │ │ │ │ - │ │ │ │ -class remove_telnetd { │ │ │ │ - package { 'telnetd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure telnetd is removed │ │ │ │ package: │ │ │ │ @@ -1425,14 +1413,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_telnetd_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_telnetd │ │ │ │ + │ │ │ │ +class remove_telnetd { │ │ │ │ + package { 'telnetd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove telnetd │ │ ├── ./usr/share/doc/ssg-debderived/ssg-ubuntu1604-guide-anssi_np_nt28_restrictive.html │ │ │ @@ -28244,131 +28244,131 @@ │ │ │ 0006e530: 6172 6765 743d 2223 6964 6d39 3434 3322 arget="#idm9443" │ │ │ 0006e540: 2074 6162 696e 6465 783d 2230 2220 726f tabindex="0" ro │ │ │ 0006e550: 6c65 3d22 6275 7474 6f6e 2220 6172 6961 le="button" aria │ │ │ 0006e560: 2d65 7870 616e 6465 643d 2266 616c 7365 -expanded="false │ │ │ 0006e570: 2220 7469 746c 653d 2241 6374 6976 6174 " title="Activat │ │ │ 0006e580: 6520 746f 2072 6576 6561 6c22 2068 7265 e to reveal" hre │ │ │ 0006e590: 663d 2223 2122 3e52 656d 6564 6961 7469 f="#!">Remediati │ │ │ -0006e5a0: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep │ │ │ -0006e5b0: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ... │ │ │ -0006e5c0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
<
│ │ │ -0006e600: 636f 6465 3e0a 5b5b 7061 636b 6167 6573  code>.[[packages
│ │ │ -0006e610: 5d5d 0a6e 616d 6520 3d20 2263 726f 6e22  ]].name = "cron"
│ │ │ -0006e620: 0a76 6572 7369 6f6e 203d 2022 2a22 0a3c  .version = "*".<
│ │ │ -0006e630: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pup │ │ │ -0006e6f0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ -0006e700: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
< │ │ │ -0006e780: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -0006e7a0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -0006e7f0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
include install
│ │ │ -0006e840: 5f63 726f 6e0a 0a63 6c61 7373 2069 6e73  _cron..class ins
│ │ │ -0006e850: 7461 6c6c 5f63 726f 6e20 7b0a 2020 7061  tall_cron {.  pa
│ │ │ -0006e860: 636b 6167 6520 7b20 2763 726f 6e27 3a0a  ckage { 'cron':.
│ │ │ -0006e870: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -0006e880: 2027 696e 7374 616c 6c65 6427 2c0a 2020   'installed',.  
│ │ │ -0006e890: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediatio │ │ │ -0006e950: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ -0006e960: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
< │ │ │ -0006e9a0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -0006e9b0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -0006e9c0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -0006e9d0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -0006e9e0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Disruption:Strategy: │ │ │ -0006ea70: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c < │ │ │ -0006ea80: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
low
Disr │ │ │ -0006e7b0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -0006e7c0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -0006e800: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ -0006e810: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complex │ │ │ -0006e9f0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -0006ea00: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ -0006ea40: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -0006ea50: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
enable
- name: G
│ │ │ -0006eaa0: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ -0006eab0: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ -0006eac0: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ -0006ead0: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ -0006eae0: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ -0006eaf0: 3533 2d43 4d2d 3628 6129 0a20 202d 2050  53-CM-6(a).  - P
│ │ │ -0006eb00: 4349 2d44 5353 7634 2d32 2e32 0a20 202d  CI-DSSv4-2.2.  -
│ │ │ -0006eb10: 2050 4349 2d44 5353 7634 2d32 2e32 2e36   PCI-DSSv4-2.2.6
│ │ │ -0006eb20: 0a20 202d 2065 6e61 626c 655f 7374 7261  .  - enable_stra
│ │ │ -0006eb30: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ -0006eb40: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -0006eb50: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ -0006eb60: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ -0006eb70: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -0006eb80: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ -0006eb90: 6372 6f6e 5f69 6e73 7461 6c6c 6564 0a0a  cron_installed..
│ │ │ -0006eba0: 2d20 6e61 6d65 3a20 456e 7375 7265 2063  - name: Ensure c
│ │ │ -0006ebb0: 726f 6e20 6973 2069 6e73 7461 6c6c 6564  ron is installed
│ │ │ -0006ebc0: 0a20 2070 6163 6b61 6765 3a0a 2020 2020  .  package:.    
│ │ │ -0006ebd0: 6e61 6d65 3a20 6372 6f6e 0a20 2020 2073  name: cron.    s
│ │ │ -0006ebe0: 7461 7465 3a20 7072 6573 656e 740a 2020  tate: present.  
│ │ │ -0006ebf0: 7768 656e 3a20 2722 6c69 6e75 782d 6261  when: '"linux-ba
│ │ │ -0006ec00: 7365 2220 696e 2061 6e73 6962 6c65 5f66  se" in ansible_f
│ │ │ -0006ec10: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ -0006ec20: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ -0006ec30: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ -0006ec40: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ -0006ec50: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ -0006ec60: 2e32 2e36 0a20 202d 2065 6e61 626c 655f  .2.6.  - enable_
│ │ │ -0006ec70: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -0006ec80: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -0006ec90: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -0006eca0: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ -0006ecb0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -0006ecc0: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ -0006ecd0: 6167 655f 6372 6f6e 5f69 6e73 7461 6c6c  age_cron_install
│ │ │ -0006ece0: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e  ed.
│ │ │ +0006e5a0: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ +0006e5b0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +0006e5f0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ +0006e660: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +0006e680: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +0006e6b0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ +0006e6d0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ +0006e640: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +0006e650: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +0006e690: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +0006e6a0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
- name: │ │ │ +0006e6f0: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ +0006e700: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ +0006e710: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ +0006e720: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ +0006e730: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800 │ │ │ +0006e740: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). - │ │ │ +0006e750: 5043 492d 4453 5376 342d 322e 320a 2020 PCI-DSSv4-2.2. │ │ │ +0006e760: 2d20 5043 492d 4453 5376 342d 322e 322e - PCI-DSSv4-2.2. │ │ │ +0006e770: 360a 2020 2d20 656e 6162 6c65 5f73 7472 6. - enable_str │ │ │ +0006e780: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co │ │ │ +0006e790: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low │ │ │ +0006e7a0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. - │ │ │ +0006e7b0: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity. │ │ │ +0006e7c0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ +0006e7d0: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package │ │ │ +0006e7e0: 5f63 726f 6e5f 696e 7374 616c 6c65 640a _cron_installed. │ │ │ +0006e7f0: 0a2d 206e 616d 653a 2045 6e73 7572 6520 .- name: Ensure │ │ │ +0006e800: 6372 6f6e 2069 7320 696e 7374 616c 6c65 cron is installe │ │ │ +0006e810: 640a 2020 7061 636b 6167 653a 0a20 2020 d. package:. │ │ │ +0006e820: 206e 616d 653a 2063 726f 6e0a 2020 2020 name: cron. │ │ │ +0006e830: 7374 6174 653a 2070 7265 7365 6e74 0a20 state: present. │ │ │ +0006e840: 2077 6865 6e3a 2027 226c 696e 7578 2d62 when: '"linux-b │ │ │ +0006e850: 6173 6522 2069 6e20 616e 7369 626c 655f ase" in ansible_ │ │ │ +0006e860: 6661 6374 732e 7061 636b 6167 6573 270a facts.packages'. │ │ │ +0006e870: 2020 7461 6773 3a0a 2020 2d20 4e49 5354 tags:. - NIST │ │ │ +0006e880: 2d38 3030 2d35 332d 434d 2d36 2861 290a -800-53-CM-6(a). │ │ │ +0006e890: 2020 2d20 5043 492d 4453 5376 342d 322e - PCI-DSSv4-2. │ │ │ +0006e8a0: 320a 2020 2d20 5043 492d 4453 5376 342d 2. - PCI-DSSv4- │ │ │ +0006e8b0: 322e 322e 360a 2020 2d20 656e 6162 6c65 2.2.6. - enable │ │ │ +0006e8c0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo │ │ │ +0006e8d0: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. - │ │ │ +0006e8e0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption. │ │ │ +0006e8f0: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever │ │ │ +0006e900: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo │ │ │ +0006e910: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac │ │ │ +0006e920: 6b61 6765 5f63 726f 6e5f 696e 7374 616c kage_cron_instal │ │ │ +0006e930: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265 led.
Remediatio │ │ │ +0006e9f0: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ +0006ea00: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
│ │ │ +0006ea80: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +0006ea90: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +0006eaa0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +0006eae0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +0006eaf0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +0006eb10: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ +0006eb30: 3c63 6f64 653e 696e 636c 7564 6520 696e  include in
│ │ │ +0006eb40: 7374 616c 6c5f 6372 6f6e 0a0a 636c 6173  stall_cron..clas
│ │ │ +0006eb50: 7320 696e 7374 616c 6c5f 6372 6f6e 207b  s install_cron {
│ │ │ +0006eb60: 0a20 2070 6163 6b61 6765 207b 2027 6372  .  package { 'cr
│ │ │ +0006eb70: 6f6e 273a 0a20 2020 2065 6e73 7572 6520  on':.    ensure 
│ │ │ +0006eb80: 3d26 6774 3b20 2769 6e73 7461 6c6c 6564  => 'installed
│ │ │ +0006eb90: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │ +0006eba0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Remed │ │ │ +0006ec50: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B │ │ │ +0006ec60: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet │ │ │ +0006ec70: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...

.[[pack │ │ │ +0006ecc0: 6167 6573 5d5d 0a6e 616d 6520 3d20 2263 ages]].name = "c │ │ │ +0006ecd0: 726f 6e22 0a76 6572 7369 6f6e 203d 2022 ron".version = " │ │ │ +0006ece0: 2a22 0a3c 2f63 6f64 653e 3c2f 7072 653e *".

│ │ │ 0006ecf0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediation │ │ │ -00070210: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -00070220: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
Complexity │ │ │ -000702b0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -000702d0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -000702e0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -000702f0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -00070300: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -00070320: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ -00070350: 636f 6465 3e69 6e63 6c75 6465 2072 656d  code>include rem
│ │ │ -00070360: 6f76 655f 696e 6574 7574 696c 732d 7465  ove_inetutils-te
│ │ │ -00070370: 6c6e 6574 640a 0a63 6c61 7373 2072 656d  lnetd..class rem
│ │ │ -00070380: 6f76 655f 696e 6574 7574 696c 732d 7465  ove_inetutils-te
│ │ │ -00070390: 6c6e 6574 6420 7b0a 2020 7061 636b 6167  lnetd {.  packag
│ │ │ -000703a0: 6520 7b20 2769 6e65 7475 7469 6c73 2d74  e { 'inetutils-t
│ │ │ -000703b0: 656c 6e65 7464 273a 0a20 2020 2065 6e73  elnetd':.    ens
│ │ │ -000703c0: 7572 6520 3d26 6774 3b20 2770 7572 6765  ure => 'purge
│ │ │ -000703d0: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Reme │ │ │ -00070490: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible │ │ │ -000704a0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -000704b0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
< │ │ │ -00070540: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -00070550: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -000705a0: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ -000705e0: 6e61 6d65 3a20 456e 7375 7265 2069 6e65  name: Ensure ine
│ │ │ -000705f0: 7475 7469 6c73 2d74 656c 6e65 7464 2069  tutils-telnetd i
│ │ │ -00070600: 7320 7265 6d6f 7665 640a 2020 7061 636b  s removed.  pack
│ │ │ -00070610: 6167 653a 0a20 2020 206e 616d 653a 2069  age:.    name: i
│ │ │ -00070620: 6e65 7475 7469 6c73 2d74 656c 6e65 7464  netutils-telnetd
│ │ │ -00070630: 0a20 2020 2073 7461 7465 3a20 6162 7365  .    state: abse
│ │ │ -00070640: 6e74 0a20 2074 6167 733a 0a20 202d 204e  nt.  tags:.  - N
│ │ │ -00070650: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -00070660: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ -00070670: 3533 2d43 4d2d 3728 6129 0a20 202d 204e  53-CM-7(a).  - N
│ │ │ -00070680: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ -00070690: 6229 0a20 202d 2064 6973 6162 6c65 5f73  b).  - disable_s
│ │ │ -000706a0: 7472 6174 6567 790a 2020 2d20 6869 6768  trategy.  - high
│ │ │ -000706b0: 5f73 6576 6572 6974 790a 2020 2d20 6c6f  _severity.  - lo
│ │ │ -000706c0: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -000706d0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -000706e0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -000706f0: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -00070700: 5f69 6e65 7475 7469 6c73 2d74 656c 6e65  _inetutils-telne
│ │ │ -00070710: 7464 5f72 656d 6f76 6564 0a3c 2f63 6f64  td_removed.
< │ │ │ +000702a0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ +000702e0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 disable
C │ │ │ -00070530: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -00070560: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -00070570: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -000705b0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -000705c0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexit │ │ │ +000702b0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ +000702d0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ +00070300: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +00070320: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
│ │ │ +00070350: 3c63 6f64 653e 2d20 6e61 6d65 3a20 456e  - name: En
│ │ │ +00070360: 7375 7265 2069 6e65 7475 7469 6c73 2d74  sure inetutils-t
│ │ │ +00070370: 656c 6e65 7464 2069 7320 7265 6d6f 7665  elnetd is remove
│ │ │ +00070380: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ +00070390: 206e 616d 653a 2069 6e65 7475 7469 6c73   name: inetutils
│ │ │ +000703a0: 2d74 656c 6e65 7464 0a20 2020 2073 7461  -telnetd.    sta
│ │ │ +000703b0: 7465 3a20 6162 7365 6e74 0a20 2074 6167  te: absent.  tag
│ │ │ +000703c0: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +000703d0: 3533 2d43 4d2d 3628 6129 0a20 202d 204e  53-CM-6(a).  - N
│ │ │ +000703e0: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ +000703f0: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ +00070400: 3533 2d43 4d2d 3728 6229 0a20 202d 2064  53-CM-7(b).  - d
│ │ │ +00070410: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ +00070420: 2020 2d20 6869 6768 5f73 6576 6572 6974    - high_severit
│ │ │ +00070430: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +00070440: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +00070450: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72  ruption.  - no_r
│ │ │ +00070460: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +00070470: 2070 6163 6b61 6765 5f69 6e65 7475 7469   package_inetuti
│ │ │ +00070480: 6c73 2d74 656c 6e65 7464 5f72 656d 6f76  ls-telnetd_remov
│ │ │ +00070490: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e  ed.
│ │ │ +000704a0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediation │ │ │ +00070550: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +00070560: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
< │ │ │ +000705e0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +000705f0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +00070610: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +00070620: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +00070640: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +00070660: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ +00070690: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ +000706a0: 6d6f 7665 5f69 6e65 7475 7469 6c73 2d74  move_inetutils-t
│ │ │ +000706b0: 656c 6e65 7464 0a0a 636c 6173 7320 7265  elnetd..class re
│ │ │ +000706c0: 6d6f 7665 5f69 6e65 7475 7469 6c73 2d74  move_inetutils-t
│ │ │ +000706d0: 656c 6e65 7464 207b 0a20 2070 6163 6b61  elnetd {.  packa
│ │ │ +000706e0: 6765 207b 2027 696e 6574 7574 696c 732d  ge { 'inetutils-
│ │ │ +000706f0: 7465 6c6e 6574 6427 3a0a 2020 2020 656e  telnetd':.    en
│ │ │ +00070700: 7375 7265 203d 2667 743b 2027 7075 7267  sure => 'purg
│ │ │ +00070710: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ed',.  }.}.
Reme │ │ │ -000710b0: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -000710c0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
low< │ │ │ -00071170: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -000711c0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ -00071200: 6c75 6465 2072 656d 6f76 655f 6e69 730a  lude remove_nis.
│ │ │ -00071210: 0a63 6c61 7373 2072 656d 6f76 655f 6e69  .class remove_ni
│ │ │ -00071220: 7320 7b0a 2020 7061 636b 6167 6520 7b20  s {.  package { 
│ │ │ -00071230: 276e 6973 273a 0a20 2020 2065 6e73 7572  'nis':.    ensur
│ │ │ -00071240: 6520 3d26 6774 3b20 2770 7572 6765 6427  e => 'purged'
│ │ │ -00071250: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ -00071260: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remedi
│ │ │ -00071310: 6174 696f 6e20 416e 7369 626c 6520 736e  ation Ansible sn
│ │ │ -00071320: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
Co │ │ │ -00071150: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -00071180: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -000711a0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -000711b0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -000711d0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -000711e0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Com │ │ │ -000713b0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -000713e0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -00071400: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -00071410: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -00071430: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -00071440: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -00071460: 6d65 3a20 456e 7375 7265 206e 6973 2069  me: Ensure nis i
│ │ │ -00071470: 7320 7265 6d6f 7665 640a 2020 7061 636b  s removed.  pack
│ │ │ -00071480: 6167 653a 0a20 2020 206e 616d 653a 206e  age:.    name: n
│ │ │ -00071490: 6973 0a20 2020 2073 7461 7465 3a20 6162  is.    state: ab
│ │ │ -000714a0: 7365 6e74 0a20 2074 6167 733a 0a20 202d  sent.  tags:.  -
│ │ │ -000714b0: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ -000714c0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -000714d0: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -000714e0: 7275 7074 696f 6e0a 2020 2d20 6c6f 775f  ruption.  - low_
│ │ │ -000714f0: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -00071500: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -00071510: 2d20 7061 636b 6167 655f 6e69 735f 7265  - package_nis_re
│ │ │ -00071520: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70  moved.

< │ │ │ +000710d0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
< │ │ │ +00071160: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +00071170: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +000711c0: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ +00071200: 6e61 6d65 3a20 456e 7375 7265 206e 6973  name: Ensure nis
│ │ │ +00071210: 2069 7320 7265 6d6f 7665 640a 2020 7061   is removed.  pa
│ │ │ +00071220: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ +00071230: 206e 6973 0a20 2020 2073 7461 7465 3a20   nis.    state: 
│ │ │ +00071240: 6162 7365 6e74 0a20 2074 6167 733a 0a20  absent.  tags:. 
│ │ │ +00071250: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ +00071260: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +00071270: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +00071280: 6973 7275 7074 696f 6e0a 2020 2d20 6c6f  isruption.  - lo
│ │ │ +00071290: 775f 7365 7665 7269 7479 0a20 202d 206e  w_severity.  - n
│ │ │ +000712a0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +000712b0: 2020 2d20 7061 636b 6167 655f 6e69 735f    - package_nis_
│ │ │ +000712c0: 7265 6d6f 7665 640a 3c2f 636f 6465 3e3c  removed.<
│ │ │ +000712d0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remedi
│ │ │ +00071380: 6174 696f 6e20 5075 7070 6574 2073 6e69  ation Puppet sni
│ │ │ +00071390: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e  ppet ...
│ │ │ +000713a0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
C │ │ │ +00071150: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +00071180: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +00071190: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +000711d0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ +000711e0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Comp │ │ │ +00071420: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +00071430: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +00071450: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +00071470: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +00071480: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +000714c0: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +000714d0: 6465 2072 656d 6f76 655f 6e69 730a 0a63  de remove_nis..c
│ │ │ +000714e0: 6c61 7373 2072 656d 6f76 655f 6e69 7320  lass remove_nis 
│ │ │ +000714f0: 7b0a 2020 7061 636b 6167 6520 7b20 276e  {.  package { 'n
│ │ │ +00071500: 6973 273a 0a20 2020 2065 6e73 7572 6520  is':.    ensure 
│ │ │ +00071510: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ +00071520: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Re │ │ │ -00071ea0: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -00071eb0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -00071ec0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
│ │ │ -00071f50: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
i
│ │ │ -00071ff0: 6e63 6c75 6465 2072 656d 6f76 655f 6e74  nclude remove_nt
│ │ │ -00072000: 7064 6174 650a 0a63 6c61 7373 2072 656d  pdate..class rem
│ │ │ -00072010: 6f76 655f 6e74 7064 6174 6520 7b0a 2020  ove_ntpdate {.  
│ │ │ -00072020: 7061 636b 6167 6520 7b20 276e 7470 6461  package { 'ntpda
│ │ │ -00072030: 7465 273a 0a20 2020 2065 6e73 7572 6520  te':.    ensure 
│ │ │ -00072040: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ -00072050: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remediat │ │ │ -00072110: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip │ │ │ -00072120: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -00072130: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -00072140: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -00072150: 7365 2220 6964 3d22 6964 6d39 3635 3422 se" id="idm9654" │ │ │ -00072160: 3e3c 7461 626c 6520 636c 6173 733d 2274 >
│ │ │ -00071f40: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -00071f70: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -00071f80: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -00071fc0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ -00071fd0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
│ │ │ -000721d0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -000721f0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -00072220: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -000721b0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -000721c0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -000721e0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -00072200: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -00072210: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -00072250: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -00072260: 3a20 456e 7375 7265 206e 7470 6461 7465 : Ensure ntpdate │ │ │ -00072270: 2069 7320 7265 6d6f 7665 640a 2020 7061 is removed. pa │ │ │ -00072280: 636b 6167 653a 0a20 2020 206e 616d 653a ckage:. name: │ │ │ -00072290: 206e 7470 6461 7465 0a20 2020 2073 7461 ntpdate. sta │ │ │ -000722a0: 7465 3a20 6162 7365 6e74 0a20 2074 6167 te: absent. tag │ │ │ -000722b0: 733a 0a20 202d 2064 6973 6162 6c65 5f73 s:. - disable_s │ │ │ -000722c0: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_ │ │ │ -000722d0: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l │ │ │ -000722e0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption. │ │ │ -000722f0: 2d20 6c6f 775f 7365 7665 7269 7479 0a20 - low_severity. │ │ │ -00072300: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee │ │ │ -00072310: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_ │ │ │ -00072320: 6e74 7064 6174 655f 7265 6d6f 7665 640a ntpdate_removed. │ │ │ +00071ea0: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ +00071eb0: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
< │ │ │ +00071f90: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +00071fa0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +00071ff0: 2d20 6e61 6d65 3a20 456e 7375 7265 206e  - name: Ensure n
│ │ │ +00072000: 7470 6461 7465 2069 7320 7265 6d6f 7665  tpdate is remove
│ │ │ +00072010: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ +00072020: 206e 616d 653a 206e 7470 6461 7465 0a20   name: ntpdate. 
│ │ │ +00072030: 2020 2073 7461 7465 3a20 6162 7365 6e74     state: absent
│ │ │ +00072040: 0a20 2074 6167 733a 0a20 202d 2064 6973  .  tags:.  - dis
│ │ │ +00072050: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +00072060: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +00072070: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +00072080: 696f 6e0a 2020 2d20 6c6f 775f 7365 7665  ion.  - low_seve
│ │ │ +00072090: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +000720a0: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ +000720b0: 636b 6167 655f 6e74 7064 6174 655f 7265  ckage_ntpdate_re
│ │ │ +000720c0: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70  moved.

Remediat │ │ │ +00072180: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ +00072190: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +000721d0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
Complexity:low
Disrup │ │ │ +00071f70: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +00071f80: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +00071fc0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +00071fd0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
< │ │ │ +00072240: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +00072260: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +00072290: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ +00072220: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +00072230: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +00072270: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +00072280: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ +000722d0: 2072 656d 6f76 655f 6e74 7064 6174 650a remove_ntpdate. │ │ │ +000722e0: 0a63 6c61 7373 2072 656d 6f76 655f 6e74 .class remove_nt │ │ │ +000722f0: 7064 6174 6520 7b0a 2020 7061 636b 6167 pdate {. packag │ │ │ +00072300: 6520 7b20 276e 7470 6461 7465 273a 0a20 e { 'ntpdate':. │ │ │ +00072310: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure => │ │ │ +00072320: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a 'purged',. }.}. │ │ │ 00072330: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64

Remediation Pu │ │ │ -00073400: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ -00073410: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ -00073490: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -000734b0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -00073500: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -00073530: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -000734a0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -000734c0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -00073510: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -00073520: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ -00073550: 655f 7465 6c6e 6574 642d 7373 6c0a 0a63  e_telnetd-ssl..c
│ │ │ -00073560: 6c61 7373 2072 656d 6f76 655f 7465 6c6e  lass remove_teln
│ │ │ -00073570: 6574 642d 7373 6c20 7b0a 2020 7061 636b  etd-ssl {.  pack
│ │ │ -00073580: 6167 6520 7b20 2774 656c 6e65 7464 2d73  age { 'telnetd-s
│ │ │ -00073590: 736c 273a 0a20 2020 2065 6e73 7572 6520  sl':.    ensure 
│ │ │ -000735a0: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ -000735b0: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remediat │ │ │ -00073670: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip │ │ │ -00073680: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -00073690: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -000736a0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -000736b0: 7365 2220 6964 3d22 6964 6d39 3735 3522 se" id="idm9755" │ │ │ -000736c0: 3e3c 7461 626c 6520 636c 6173 733d 2274 > │ │ │ -00073730: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -00073750: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -00073780: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -00073710: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -00073720: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -00073740: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -00073760: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -00073770: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -000737b0: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -000737c0: 3a20 456e 7375 7265 2074 656c 6e65 7464 : Ensure telnetd │ │ │ -000737d0: 2d73 736c 2069 7320 7265 6d6f 7665 640a -ssl is removed. │ │ │ -000737e0: 2020 7061 636b 6167 653a 0a20 2020 206e package:. n │ │ │ -000737f0: 616d 653a 2074 656c 6e65 7464 2d73 736c ame: telnetd-ssl │ │ │ -00073800: 0a20 2020 2073 7461 7465 3a20 6162 7365 . state: abse │ │ │ -00073810: 6e74 0a20 2074 6167 733a 0a20 202d 204e nt. tags:. - N │ │ │ -00073820: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6( │ │ │ -00073830: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800- │ │ │ -00073840: 3533 2d43 4d2d 3728 6129 0a20 202d 204e 53-CM-7(a). - N │ │ │ -00073850: 4953 542d 3830 302d 3533 2d43 4d2d 3728 IST-800-53-CM-7( │ │ │ -00073860: 6229 0a20 202d 2064 6973 6162 6c65 5f73 b). - disable_s │ │ │ -00073870: 7472 6174 6567 790a 2020 2d20 6869 6768 trategy. - high │ │ │ -00073880: 5f73 6576 6572 6974 790a 2020 2d20 6c6f _severity. - lo │ │ │ -00073890: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. - │ │ │ -000738a0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption. │ │ │ -000738b0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ -000738c0: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package │ │ │ -000738d0: 5f74 656c 6e65 7464 2d73 736c 5f72 656d _telnetd-ssl_rem │ │ │ -000738e0: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072 oved.Remediation An │ │ │ +00073400: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ +00073410: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity: │ │ │ +000734a0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +000734c0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +000734e0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +00073510: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +00073520: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Ensu
│ │ │ +00073550: 7265 2074 656c 6e65 7464 2d73 736c 2069  re telnetd-ssl i
│ │ │ +00073560: 7320 7265 6d6f 7665 640a 2020 7061 636b  s removed.  pack
│ │ │ +00073570: 6167 653a 0a20 2020 206e 616d 653a 2074  age:.    name: t
│ │ │ +00073580: 656c 6e65 7464 2d73 736c 0a20 2020 2073  elnetd-ssl.    s
│ │ │ +00073590: 7461 7465 3a20 6162 7365 6e74 0a20 2074  tate: absent.  t
│ │ │ +000735a0: 6167 733a 0a20 202d 204e 4953 542d 3830  ags:.  - NIST-80
│ │ │ +000735b0: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ +000735c0: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +000735d0: 3728 6129 0a20 202d 204e 4953 542d 3830  7(a).  - NIST-80
│ │ │ +000735e0: 302d 3533 2d43 4d2d 3728 6229 0a20 202d  0-53-CM-7(b).  -
│ │ │ +000735f0: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ +00073600: 790a 2020 2d20 6869 6768 5f73 6576 6572  y.  - high_sever
│ │ │ +00073610: 6974 790a 2020 2d20 6c6f 775f 636f 6d70  ity.  - low_comp
│ │ │ +00073620: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +00073630: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f  isruption.  - no
│ │ │ +00073640: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +00073650: 202d 2070 6163 6b61 6765 5f74 656c 6e65   - package_telne
│ │ │ +00073660: 7464 2d73 736c 5f72 656d 6f76 6564 0a3c  td-ssl_removed.<
│ │ │ +00073670: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pup │ │ │ +00073730: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ +00073740: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
< │ │ │ +000737c0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +000737e0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +00073830: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +00073860: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include remove
│ │ │ +00073880: 5f74 656c 6e65 7464 2d73 736c 0a0a 636c  _telnetd-ssl..cl
│ │ │ +00073890: 6173 7320 7265 6d6f 7665 5f74 656c 6e65  ass remove_telne
│ │ │ +000738a0: 7464 2d73 736c 207b 0a20 2070 6163 6b61  td-ssl {.  packa
│ │ │ +000738b0: 6765 207b 2027 7465 6c6e 6574 642d 7373  ge { 'telnetd-ss
│ │ │ +000738c0: 6c27 3a0a 2020 2020 656e 7375 7265 203d  l':.    ensure =
│ │ │ +000738d0: 2667 743b 2027 7075 7267 6564 272c 0a20  > 'purged',. 
│ │ │ +000738e0: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.Remed
│ │ │ -000749b0: 6961 7469 6f6e 2050 7570 7065 7420 736e  iation Puppet sn
│ │ │ -000749c0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
low
Disr │ │ │ +000737f0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +00073800: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +00073840: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +00073850: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
Com │ │ │ -00074a50: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -00074a80: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -00074aa0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -00074ab0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -00074ad0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -00074ae0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -00074b00: 7564 6520 7265 6d6f 7665 5f74 656c 6e65  ude remove_telne
│ │ │ -00074b10: 7464 0a0a 636c 6173 7320 7265 6d6f 7665  td..class remove
│ │ │ -00074b20: 5f74 656c 6e65 7464 207b 0a20 2070 6163  _telnetd {.  pac
│ │ │ -00074b30: 6b61 6765 207b 2027 7465 6c6e 6574 6427  kage { 'telnetd'
│ │ │ -00074b40: 3a0a 2020 2020 656e 7375 7265 203d 2667  :.    ensure =&g
│ │ │ -00074b50: 743b 2027 7075 7267 6564 272c 0a20 207d  t; 'purged',.  }
│ │ │ -00074b60: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ -00074b70: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediation │ │ │ -00074c20: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ -00074c30: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
│ │ │ -00074cb0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -00074cc0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -00074cd0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -00074d10: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -00074d20: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -00074d40: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -00074d50: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: E
│ │ │ -00074d70: 6e73 7572 6520 7465 6c6e 6574 6420 6973  nsure telnetd is
│ │ │ -00074d80: 2072 656d 6f76 6564 0a20 2070 6163 6b61   removed.  packa
│ │ │ -00074d90: 6765 3a0a 2020 2020 6e61 6d65 3a20 7465  ge:.    name: te
│ │ │ -00074da0: 6c6e 6574 640a 2020 2020 7374 6174 653a  lnetd.    state:
│ │ │ -00074db0: 2061 6273 656e 740a 2020 7461 6773 3a0a   absent.  tags:.
│ │ │ -00074dc0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -00074dd0: 434d 2d36 2861 290a 2020 2d20 4e49 5354  CM-6(a).  - NIST
│ │ │ -00074de0: 2d38 3030 2d35 332d 434d 2d37 2861 290a  -800-53-CM-7(a).
│ │ │ -00074df0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -00074e00: 434d 2d37 2862 290a 2020 2d20 6469 7361  CM-7(b).  - disa
│ │ │ -00074e10: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -00074e20: 2068 6967 685f 7365 7665 7269 7479 0a20   high_severity. 
│ │ │ -00074e30: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -00074e40: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -00074e50: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f  tion.  - no_rebo
│ │ │ -00074e60: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ -00074e70: 636b 6167 655f 7465 6c6e 6574 645f 7265  ckage_telnetd_re
│ │ │ -00074e80: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70  moved.

low< │ │ │ +00074a70: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +00074ac0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ +00074b00: 616d 653a 2045 6e73 7572 6520 7465 6c6e  ame: Ensure teln
│ │ │ +00074b10: 6574 6420 6973 2072 656d 6f76 6564 0a20  etd is removed. 
│ │ │ +00074b20: 2070 6163 6b61 6765 3a0a 2020 2020 6e61   package:.    na
│ │ │ +00074b30: 6d65 3a20 7465 6c6e 6574 640a 2020 2020  me: telnetd.    
│ │ │ +00074b40: 7374 6174 653a 2061 6273 656e 740a 2020  state: absent.  
│ │ │ +00074b50: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ +00074b60: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ +00074b70: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +00074b80: 2d37 2861 290a 2020 2d20 4e49 5354 2d38  -7(a).  - NIST-8
│ │ │ +00074b90: 3030 2d35 332d 434d 2d37 2862 290a 2020  00-53-CM-7(b).  
│ │ │ +00074ba0: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ +00074bb0: 6779 0a20 202d 2068 6967 685f 7365 7665  gy.  - high_seve
│ │ │ +00074bc0: 7269 7479 0a20 202d 206c 6f77 5f63 6f6d  rity.  - low_com
│ │ │ +00074bd0: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +00074be0: 6469 7372 7570 7469 6f6e 0a20 202d 206e  disruption.  - n
│ │ │ +00074bf0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +00074c00: 2020 2d20 7061 636b 6167 655f 7465 6c6e    - package_teln
│ │ │ +00074c10: 6574 645f 7265 6d6f 7665 640a 3c2f 636f  etd_removed.
< │ │ │ +00074c30: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +00074c40: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +00074c50: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +00074c60: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +00074c70: 646d 3938 3535 2220 7461 6269 6e64 6578 dm9855" tabindex │ │ │ +00074c80: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ +00074c90: 6e22 2061 7269 612d 6578 7061 6e64 6564 n" aria-expanded │ │ │ +00074ca0: 3d22 6661 6c73 6522 2074 6974 6c65 3d22 ="false" title=" │ │ │ +00074cb0: 4163 7469 7661 7465 2074 6f20 7265 7665 Activate to reve │ │ │ +00074cc0: 616c 2220 6872 6566 3d22 2321 223e 5265 al" href="#!">Re │ │ │ +00074cd0: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ +00074ce0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +00074cf0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co │ │ │ +00074a50: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +00074a80: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +00074aa0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +00074ab0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +00074ad0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +00074ae0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
│ │ │ +00074d80: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
i
│ │ │ +00074e20: 6e63 6c75 6465 2072 656d 6f76 655f 7465  nclude remove_te
│ │ │ +00074e30: 6c6e 6574 640a 0a63 6c61 7373 2072 656d  lnetd..class rem
│ │ │ +00074e40: 6f76 655f 7465 6c6e 6574 6420 7b0a 2020  ove_telnetd {.  
│ │ │ +00074e50: 7061 636b 6167 6520 7b20 2774 656c 6e65  package { 'telne
│ │ │ +00074e60: 7464 273a 0a20 2020 2065 6e73 7572 6520  td':.    ensure 
│ │ │ +00074e70: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ +00074e80: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Reme │ │ │ -00076e30: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild │ │ │ -00076e40: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe │ │ │ -00076e50: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -00076e90: 3c70 7265 3e3c 636f 6465 3e0a 5b5b 7061
.[[pa
│ │ │ -00076ea0: 636b 6167 6573 5d5d 0a6e 616d 6520 3d20  ckages]].name = 
│ │ │ -00076eb0: 226e 7470 220a 7665 7273 696f 6e20 3d20  "ntp".version = 
│ │ │ -00076ec0: 222a 220a 3c2f 636f 6465 3e3c 2f70 7265  "*".
Remediati │ │ │ -00076f80: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -00076f90: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -00076fd0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
│ │ │ +00074d70: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +00074da0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +00074db0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +00074df0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +00074e00: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ -00077040: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -00077060: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -00077090: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -000770b0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -00077020: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -00077030: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -00077070: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -00077080: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ -000770d0: 696e 7374 616c 6c5f 6e74 700a 0a63 6c61 install_ntp..cla │ │ │ -000770e0: 7373 2069 6e73 7461 6c6c 5f6e 7470 207b ss install_ntp { │ │ │ -000770f0: 0a20 2070 6163 6b61 6765 207b 2027 6e74 . package { 'nt │ │ │ -00077100: 7027 3a0a 2020 2020 656e 7375 7265 203d p':. ensure = │ │ │ -00077110: 2667 743b 2027 696e 7374 616c 6c65 6427 > 'installed' │ │ │ -00077120: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.< │ │ │ -00077130: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remed │ │ │ -000771e0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s │ │ │ -000771f0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -00077290: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -000772a0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -000772f0: 3c74 723e 3c74 683e 5374 7261 7465 6779
- n
│ │ │ -00077330: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ -00077340: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ -00077350: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ -00077360: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ -00077370: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ -00077380: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ -00077390: 0a20 202d 2050 4349 2d44 5353 2d52 6571  .  - PCI-DSS-Req
│ │ │ -000773a0: 2d31 302e 340a 2020 2d20 656e 6162 6c65  -10.4.  - enable
│ │ │ -000773b0: 5f73 7472 6174 6567 790a 2020 2d20 6869  _strategy.  - hi
│ │ │ -000773c0: 6768 5f73 6576 6572 6974 790a 2020 2d20  gh_severity.  - 
│ │ │ -000773d0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -000773e0: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -000773f0: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f  n.  - no_reboot_
│ │ │ -00077400: 6e65 6564 6564 0a20 202d 2070 6163 6b61  needed.  - packa
│ │ │ -00077410: 6765 5f6e 7470 5f69 6e73 7461 6c6c 6564  ge_ntp_installed
│ │ │ -00077420: 0a0a 2d20 6e61 6d65 3a20 456e 7375 7265  ..- name: Ensure
│ │ │ -00077430: 206e 7470 2069 7320 696e 7374 616c 6c65   ntp is installe
│ │ │ -00077440: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ -00077450: 206e 616d 653a 206e 7470 0a20 2020 2073   name: ntp.    s
│ │ │ -00077460: 7461 7465 3a20 7072 6573 656e 740a 2020  tate: present.  
│ │ │ -00077470: 7768 656e 3a20 2722 6c69 6e75 782d 6261  when: '"linux-ba
│ │ │ -00077480: 7365 2220 696e 2061 6e73 6962 6c65 5f66  se" in ansible_f
│ │ │ -00077490: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ -000774a0: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ -000774b0: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ -000774c0: 202d 2050 4349 2d44 5353 2d52 6571 2d31   - PCI-DSS-Req-1
│ │ │ -000774d0: 302e 340a 2020 2d20 656e 6162 6c65 5f73  0.4.  - enable_s
│ │ │ -000774e0: 7472 6174 6567 790a 2020 2d20 6869 6768  trategy.  - high
│ │ │ -000774f0: 5f73 6576 6572 6974 790a 2020 2d20 6c6f  _severity.  - lo
│ │ │ -00077500: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -00077510: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -00077520: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -00077530: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -00077540: 5f6e 7470 5f69 6e73 7461 6c6c 6564 0a3c  _ntp_installed.<
│ │ │ +00076e30: 6469 6174 696f 6e20 416e 7369 626c 6520  diation Ansible 
│ │ │ +00076e40: 736e 6970 7065 7420 e287 b23c 2f61 3e3c  snippet ...<
│ │ │ +00076e50: 6272 3e3c 6469 7620 636c 6173 733d 2270  br>
C │ │ │ -00077280: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -000772b0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -000772c0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -00077300: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ -00077310: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
│ │ │ +00076ee0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
- 
│ │ │ +00076f80: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ +00076f90: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ +00076fa0: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ +00076fb0: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ +00076fc0: 6f0a 2020 7461 6773 3a0a 2020 2d20 4e49  o.  tags:.  - NI
│ │ │ +00076fd0: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +00076fe0: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ +00076ff0: 712d 3130 2e34 0a20 202d 2065 6e61 626c  q-10.4.  - enabl
│ │ │ +00077000: 655f 7374 7261 7465 6779 0a20 202d 2068  e_strategy.  - h
│ │ │ +00077010: 6967 685f 7365 7665 7269 7479 0a20 202d  igh_severity.  -
│ │ │ +00077020: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +00077030: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +00077040: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74  on.  - no_reboot
│ │ │ +00077050: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ +00077060: 6167 655f 6e74 705f 696e 7374 616c 6c65  age_ntp_installe
│ │ │ +00077070: 640a 0a2d 206e 616d 653a 2045 6e73 7572  d..- name: Ensur
│ │ │ +00077080: 6520 6e74 7020 6973 2069 6e73 7461 6c6c  e ntp is install
│ │ │ +00077090: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ +000770a0: 2020 6e61 6d65 3a20 6e74 700a 2020 2020    name: ntp.    
│ │ │ +000770b0: 7374 6174 653a 2070 7265 7365 6e74 0a20  state: present. 
│ │ │ +000770c0: 2077 6865 6e3a 2027 226c 696e 7578 2d62   when: '"linux-b
│ │ │ +000770d0: 6173 6522 2069 6e20 616e 7369 626c 655f  ase" in ansible_
│ │ │ +000770e0: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ +000770f0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ +00077100: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ +00077110: 2020 2d20 5043 492d 4453 532d 5265 712d    - PCI-DSS-Req-
│ │ │ +00077120: 3130 2e34 0a20 202d 2065 6e61 626c 655f  10.4.  - enable_
│ │ │ +00077130: 7374 7261 7465 6779 0a20 202d 2068 6967  strategy.  - hig
│ │ │ +00077140: 685f 7365 7665 7269 7479 0a20 202d 206c  h_severity.  - l
│ │ │ +00077150: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +00077160: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +00077170: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +00077180: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ +00077190: 655f 6e74 705f 696e 7374 616c 6c65 640a  e_ntp_installed.
│ │ │ +000771a0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation P │ │ │ +00077260: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ +00077270: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ +00077330: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +00077340: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
│ │ │ +00076ed0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +00076f00: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +00076f10: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +00076f50: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ +00076f60: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexity │ │ │ +00077300: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ +00077320: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ +00077350: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ +00077370: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
include inst
│ │ │ +000773b0: 616c 6c5f 6e74 700a 0a63 6c61 7373 2069  all_ntp..class i
│ │ │ +000773c0: 6e73 7461 6c6c 5f6e 7470 207b 0a20 2070  nstall_ntp {.  p
│ │ │ +000773d0: 6163 6b61 6765 207b 2027 6e74 7027 3a0a  ackage { 'ntp':.
│ │ │ +000773e0: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +000773f0: 2027 696e 7374 616c 6c65 6427 2c0a 2020   'installed',.  
│ │ │ +00077400: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ +000774c0: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep │ │ │ +000774d0: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ... │ │ │ +000774e0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ +00077520: 3c63 6f64 653e 0a5b 5b70 6163 6b61 6765  .[[package
│ │ │ +00077530: 735d 5d0a 6e61 6d65 203d 2022 6e74 7022  s]].name = "ntp"
│ │ │ +00077540: 0a76 6572 7369 6f6e 203d 2022 2a22 0a3c  .version = "*".<
│ │ │  00077550: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation │ │ │ -00078740: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin │ │ │ -00078750: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
.[customizati
│ │ │ -000787b0: 6f6e 732e 7365 7276 6963 6573 5d0a 656e  ons.services].en
│ │ │ -000787c0: 6162 6c65 6420 3d20 5b22 6e74 7022 5d0a  abled = ["ntp"].
│ │ │ -000787d0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation P │ │ │ -00078890: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ -000788a0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ -00078930: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -00078950: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -00078960: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -00078970: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -00078980: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -000789a0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
include enab
│ │ │ -000789e0: 6c65 5f6e 7470 0a0a 636c 6173 7320 656e  le_ntp..class en
│ │ │ -000789f0: 6162 6c65 5f6e 7470 207b 0a20 2073 6572  able_ntp {.  ser
│ │ │ -00078a00: 7669 6365 207b 276e 7470 273a 0a20 2020  vice {'ntp':.   
│ │ │ -00078a10: 2065 6e61 626c 6520 3d26 6774 3b20 7472   enable => tr
│ │ │ -00078a20: 7565 2c0a 2020 2020 656e 7375 7265 203d  ue,.    ensure =
│ │ │ -00078a30: 2667 743b 2027 7275 6e6e 696e 6727 2c0a  > 'running',.
│ │ │ -00078a40: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ -00078b00: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ -00078b10: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -00078b20: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -00078ba0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -00078bd0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -00078bf0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -00078c00: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -00078c20: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ -00078c40: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ -00078c50: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ -00078c60: 636b 6167 6520 6661 6374 730a 2020 7061  ckage facts.  pa
│ │ │ -00078c70: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ -00078c80: 206d 616e 6167 6572 3a20 6175 746f 0a20   manager: auto. 
│ │ │ -00078c90: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ -00078ca0: 3830 302d 3533 2d41 552d 3828 3129 2861  800-53-AU-8(1)(a
│ │ │ -00078cb0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -00078cc0: 332d 434d 2d36 2861 290a 2020 2d20 5043  3-CM-6(a).  - PC
│ │ │ -00078cd0: 492d 4453 532d 5265 712d 3130 2e34 0a20  I-DSS-Req-10.4. 
│ │ │ -00078ce0: 202d 2050 4349 2d44 5353 7634 2d31 302e   - PCI-DSSv4-10.
│ │ │ -00078cf0: 360a 2020 2d20 5043 492d 4453 5376 342d  6.  - PCI-DSSv4-
│ │ │ -00078d00: 3130 2e36 2e31 0a20 202d 2065 6e61 626c  10.6.1.  - enabl
│ │ │ -00078d10: 655f 7374 7261 7465 6779 0a20 202d 2068  e_strategy.  - h
│ │ │ -00078d20: 6967 685f 7365 7665 7269 7479 0a20 202d  igh_severity.  -
│ │ │ -00078d30: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -00078d40: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -00078d50: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74  on.  - no_reboot
│ │ │ -00078d60: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ -00078d70: 6963 655f 6e74 705f 656e 6162 6c65 640a  ice_ntp_enabled.
│ │ │ -00078d80: 0a2d 206e 616d 653a 2045 6e61 626c 6520  .- name: Enable 
│ │ │ -00078d90: 7468 6520 4e54 5020 4461 656d 6f6e 202d  the NTP Daemon -
│ │ │ -00078da0: 2045 6e61 626c 6520 7365 7276 6963 6520   Enable service 
│ │ │ -00078db0: 6e74 700a 2020 626c 6f63 6b3a 0a0a 2020  ntp.  block:..  
│ │ │ -00078dc0: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ -00078dd0: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ -00078de0: 0a20 2020 2070 6163 6b61 6765 5f66 6163  .    package_fac
│ │ │ -00078df0: 7473 3a0a 2020 2020 2020 6d61 6e61 6765  ts:.      manage
│ │ │ -00078e00: 723a 2061 7574 6f0a 0a20 202d 206e 616d  r: auto..  - nam
│ │ │ -00078e10: 653a 2045 6e61 626c 6520 7468 6520 4e54  e: Enable the NT
│ │ │ -00078e20: 5020 4461 656d 6f6e 202d 2045 6e61 626c  P Daemon - Enabl
│ │ │ -00078e30: 6520 5365 7276 6963 6520 6e74 700a 2020  e Service ntp.  
│ │ │ -00078e40: 2020 616e 7369 626c 652e 6275 696c 7469    ansible.builti
│ │ │ -00078e50: 6e2e 7379 7374 656d 643a 0a20 2020 2020  n.systemd:.     
│ │ │ -00078e60: 206e 616d 653a 206e 7470 0a20 2020 2020   name: ntp.     
│ │ │ -00078e70: 2065 6e61 626c 6564 3a20 7472 7565 0a20   enabled: true. 
│ │ │ -00078e80: 2020 2020 2073 7461 7465 3a20 7374 6172       state: star
│ │ │ -00078e90: 7465 640a 2020 2020 2020 6d61 736b 6564  ted.      masked
│ │ │ -00078ea0: 3a20 6661 6c73 650a 2020 2020 7768 656e  : false.    when
│ │ │ -00078eb0: 3a0a 2020 2020 2d20 2722 6e74 7022 2069  :.    - '"ntp" i
│ │ │ -00078ec0: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ -00078ed0: 7061 636b 6167 6573 270a 2020 7768 656e  packages'.  when
│ │ │ -00078ee0: 3a0a 2020 2d20 2722 6c69 6e75 782d 6261  :.  - '"linux-ba
│ │ │ -00078ef0: 7365 2220 696e 2061 6e73 6962 6c65 5f66  se" in ansible_f
│ │ │ -00078f00: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ -00078f10: 202d 2027 226e 7470 2220 696e 2061 6e73   - '"ntp" in ans
│ │ │ -00078f20: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -00078f30: 6765 7327 0a20 2074 6167 733a 0a20 202d  ges'.  tags:.  -
│ │ │ -00078f40: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ -00078f50: 3828 3129 2861 290a 2020 2d20 4e49 5354  8(1)(a).  - NIST
│ │ │ -00078f60: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ -00078f70: 2020 2d20 5043 492d 4453 532d 5265 712d    - PCI-DSS-Req-
│ │ │ -00078f80: 3130 2e34 0a20 202d 2050 4349 2d44 5353  10.4.  - PCI-DSS
│ │ │ -00078f90: 7634 2d31 302e 360a 2020 2d20 5043 492d  v4-10.6.  - PCI-
│ │ │ -00078fa0: 4453 5376 342d 3130 2e36 2e31 0a20 202d  DSSv4-10.6.1.  -
│ │ │ -00078fb0: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ -00078fc0: 0a20 202d 2068 6967 685f 7365 7665 7269  .  - high_severi
│ │ │ -00078fd0: 7479 0a20 202d 206c 6f77 5f63 6f6d 706c  ty.  - low_compl
│ │ │ -00078fe0: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -00078ff0: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f  sruption.  - no_
│ │ │ -00079000: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -00079010: 2d20 7365 7276 6963 655f 6e74 705f 656e  - service_ntp_en
│ │ │ -00079020: 6162 6c65 640a 3c2f 636f 6465 3e3c 2f70  abled.


│ │ │ +000787d0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +000787e0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +000787f0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +00078830: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +00078840: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +00078860: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ +00078880: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761  - name: Ga
│ │ │ +00078890: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ +000788a0: 2066 6163 7473 0a20 2070 6163 6b61 6765   facts.  package
│ │ │ +000788b0: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61  _facts:.    mana
│ │ │ +000788c0: 6765 723a 2061 7574 6f0a 2020 7461 6773  ger: auto.  tags
│ │ │ +000788d0: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ +000788e0: 332d 4155 2d38 2831 2928 6129 0a20 202d  3-AU-8(1)(a).  -
│ │ │ +000788f0: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +00078900: 3628 6129 0a20 202d 2050 4349 2d44 5353  6(a).  - PCI-DSS
│ │ │ +00078910: 2d52 6571 2d31 302e 340a 2020 2d20 5043  -Req-10.4.  - PC
│ │ │ +00078920: 492d 4453 5376 342d 3130 2e36 0a20 202d  I-DSSv4-10.6.  -
│ │ │ +00078930: 2050 4349 2d44 5353 7634 2d31 302e 362e   PCI-DSSv4-10.6.
│ │ │ +00078940: 310a 2020 2d20 656e 6162 6c65 5f73 7472  1.  - enable_str
│ │ │ +00078950: 6174 6567 790a 2020 2d20 6869 6768 5f73  ategy.  - high_s
│ │ │ +00078960: 6576 6572 6974 790a 2020 2d20 6c6f 775f  everity.  - low_
│ │ │ +00078970: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ +00078980: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ +00078990: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +000789a0: 6564 0a20 202d 2073 6572 7669 6365 5f6e  ed.  - service_n
│ │ │ +000789b0: 7470 5f65 6e61 626c 6564 0a0a 2d20 6e61  tp_enabled..- na
│ │ │ +000789c0: 6d65 3a20 456e 6162 6c65 2074 6865 204e  me: Enable the N
│ │ │ +000789d0: 5450 2044 6165 6d6f 6e20 2d20 456e 6162  TP Daemon - Enab
│ │ │ +000789e0: 6c65 2073 6572 7669 6365 206e 7470 0a20  le service ntp. 
│ │ │ +000789f0: 2062 6c6f 636b 3a0a 0a20 202d 206e 616d   block:..  - nam
│ │ │ +00078a00: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ +00078a10: 636b 6167 6520 6661 6374 730a 2020 2020  ckage facts.    
│ │ │ +00078a20: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ +00078a30: 2020 2020 206d 616e 6167 6572 3a20 6175       manager: au
│ │ │ +00078a40: 746f 0a0a 2020 2d20 6e61 6d65 3a20 456e  to..  - name: En
│ │ │ +00078a50: 6162 6c65 2074 6865 204e 5450 2044 6165  able the NTP Dae
│ │ │ +00078a60: 6d6f 6e20 2d20 456e 6162 6c65 2053 6572  mon - Enable Ser
│ │ │ +00078a70: 7669 6365 206e 7470 0a20 2020 2061 6e73  vice ntp.    ans
│ │ │ +00078a80: 6962 6c65 2e62 7569 6c74 696e 2e73 7973  ible.builtin.sys
│ │ │ +00078a90: 7465 6d64 3a0a 2020 2020 2020 6e61 6d65  temd:.      name
│ │ │ +00078aa0: 3a20 6e74 700a 2020 2020 2020 656e 6162  : ntp.      enab
│ │ │ +00078ab0: 6c65 643a 2074 7275 650a 2020 2020 2020  led: true.      
│ │ │ +00078ac0: 7374 6174 653a 2073 7461 7274 6564 0a20  state: started. 
│ │ │ +00078ad0: 2020 2020 206d 6173 6b65 643a 2066 616c       masked: fal
│ │ │ +00078ae0: 7365 0a20 2020 2077 6865 6e3a 0a20 2020  se.    when:.   
│ │ │ +00078af0: 202d 2027 226e 7470 2220 696e 2061 6e73   - '"ntp" in ans
│ │ │ +00078b00: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ +00078b10: 6765 7327 0a20 2077 6865 6e3a 0a20 202d  ges'.  when:.  -
│ │ │ +00078b20: 2027 226c 696e 7578 2d62 6173 6522 2069   '"linux-base" i
│ │ │ +00078b30: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +00078b40: 7061 636b 6167 6573 270a 2020 2d20 2722  packages'.  - '"
│ │ │ +00078b50: 6e74 7022 2069 6e20 616e 7369 626c 655f  ntp" in ansible_
│ │ │ +00078b60: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ +00078b70: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ +00078b80: 2d38 3030 2d35 332d 4155 2d38 2831 2928  -800-53-AU-8(1)(
│ │ │ +00078b90: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ +00078ba0: 3533 2d43 4d2d 3628 6129 0a20 202d 2050  53-CM-6(a).  - P
│ │ │ +00078bb0: 4349 2d44 5353 2d52 6571 2d31 302e 340a  CI-DSS-Req-10.4.
│ │ │ +00078bc0: 2020 2d20 5043 492d 4453 5376 342d 3130    - PCI-DSSv4-10
│ │ │ +00078bd0: 2e36 0a20 202d 2050 4349 2d44 5353 7634  .6.  - PCI-DSSv4
│ │ │ +00078be0: 2d31 302e 362e 310a 2020 2d20 656e 6162  -10.6.1.  - enab
│ │ │ +00078bf0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +00078c00: 6869 6768 5f73 6576 6572 6974 790a 2020  high_severity.  
│ │ │ +00078c10: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +00078c20: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +00078c30: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f  ion.  - no_reboo
│ │ │ +00078c40: 745f 6e65 6564 6564 0a20 202d 2073 6572  t_needed.  - ser
│ │ │ +00078c50: 7669 6365 5f6e 7470 5f65 6e61 626c 6564  vice_ntp_enabled
│ │ │ +00078c60: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +00078d20: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +00078d30: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ +00078db0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +00078dc0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +00078de0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +00078df0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +00078e10: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +00078e30: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:enable
<
│ │ │ +00078e60: 636f 6465 3e69 6e63 6c75 6465 2065 6e61  code>include ena
│ │ │ +00078e70: 626c 655f 6e74 700a 0a63 6c61 7373 2065  ble_ntp..class e
│ │ │ +00078e80: 6e61 626c 655f 6e74 7020 7b0a 2020 7365  nable_ntp {.  se
│ │ │ +00078e90: 7276 6963 6520 7b27 6e74 7027 3a0a 2020  rvice {'ntp':.  
│ │ │ +00078ea0: 2020 656e 6162 6c65 203d 2667 743b 2074    enable => t
│ │ │ +00078eb0: 7275 652c 0a20 2020 2065 6e73 7572 6520  rue,.    ensure 
│ │ │ +00078ec0: 3d26 6774 3b20 2772 756e 6e69 6e67 272c  => 'running',
│ │ │ +00078ed0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.
Remedi │ │ │ +00078f90: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl │ │ │ +00078fa0: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet │ │ │ +00078fb0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...

.[custo │ │ │ +00079000: 6d69 7a61 7469 6f6e 732e 7365 7276 6963 mizations.servic │ │ │ +00079010: 6573 5d0a 656e 6162 6c65 6420 3d20 5b22 es].enabled = [" │ │ │ +00079020: 6e74 7022 5d0a 3c2f 636f 6465 3e3c 2f70 ntp"].

Reme │ │ │ -0007a310: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild │ │ │ -0007a320: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe │ │ │ -0007a330: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -0007a370: 3c70 7265 3e3c 636f 6465 3e0a 5b63 7573
.[cus
│ │ │ -0007a380: 746f 6d69 7a61 7469 6f6e 732e 7365 7276  tomizations.serv
│ │ │ -0007a390: 6963 6573 5d0a 656e 6162 6c65 6420 3d20  ices].enabled = 
│ │ │ -0007a3a0: 5b22 7379 7374 656d 642d 7469 6d65 7379  ["systemd-timesy
│ │ │ -0007a3b0: 6e63 6422 5d0a 3c2f 636f 6465 3e3c 2f70  ncd"].

Remedia │ │ │ -0007a470: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ -0007a480: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -0007a490: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -0007a4a0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -0007a4b0: 7365 2220 6964 3d22 6964 6d31 3034 3730 se" id="idm10470 │ │ │ -0007a4c0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ -0007a510: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -0007a520: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -0007a540: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -0007a560: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -0007a570: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ -0007a5b0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ -0007a5c0: 6520 656e 6162 6c65 5f73 7973 7465 6d64 e enable_systemd │ │ │ -0007a5d0: 2d74 696d 6573 796e 6364 0a0a 636c 6173 -timesyncd..clas │ │ │ -0007a5e0: 7320 656e 6162 6c65 5f73 7973 7465 6d64 s enable_systemd │ │ │ -0007a5f0: 2d74 696d 6573 796e 6364 207b 0a20 2073 -timesyncd {. s │ │ │ -0007a600: 6572 7669 6365 207b 2773 7973 7465 6d64 ervice {'systemd │ │ │ -0007a610: 2d74 696d 6573 796e 6364 273a 0a20 2020 -timesyncd':. │ │ │ -0007a620: 2065 6e61 626c 6520 3d26 6774 3b20 7472 enable => tr │ │ │ -0007a630: 7565 2c0a 2020 2020 656e 7375 7265 203d ue,. ensure = │ │ │ -0007a640: 2667 743b 2027 7275 6e6e 696e 6727 2c0a > 'running',. │ │ │ -0007a650: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.

Remedia │ │ │ -0007a710: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ -0007a720: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -0007a730: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -0007a7b0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -0007a7e0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -0007a800: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -0007a810: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -0007a830: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ -0007a850: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ -0007a860: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ -0007a870: 636b 6167 6520 6661 6374 730a 2020 7061  ckage facts.  pa
│ │ │ -0007a880: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ -0007a890: 206d 616e 6167 6572 3a20 6175 746f 0a20   manager: auto. 
│ │ │ -0007a8a0: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ -0007a8b0: 3830 302d 3533 2d41 552d 3828 3129 2861  800-53-AU-8(1)(a
│ │ │ -0007a8c0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -0007a8d0: 332d 434d 2d36 2861 290a 2020 2d20 5043  3-CM-6(a).  - PC
│ │ │ -0007a8e0: 492d 4453 532d 5265 712d 3130 2e34 0a20  I-DSS-Req-10.4. 
│ │ │ -0007a8f0: 202d 2050 4349 2d44 5353 7634 2d31 302e   - PCI-DSSv4-10.
│ │ │ -0007a900: 360a 2020 2d20 5043 492d 4453 5376 342d  6.  - PCI-DSSv4-
│ │ │ -0007a910: 3130 2e36 2e31 0a20 202d 2065 6e61 626c  10.6.1.  - enabl
│ │ │ -0007a920: 655f 7374 7261 7465 6779 0a20 202d 2068  e_strategy.  - h
│ │ │ -0007a930: 6967 685f 7365 7665 7269 7479 0a20 202d  igh_severity.  -
│ │ │ -0007a940: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -0007a950: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -0007a960: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74  on.  - no_reboot
│ │ │ -0007a970: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ -0007a980: 6963 655f 7469 6d65 7379 6e63 645f 656e  ice_timesyncd_en
│ │ │ -0007a990: 6162 6c65 640a 0a2d 206e 616d 653a 2045  abled..- name: E
│ │ │ -0007a9a0: 6e61 626c 6520 7379 7374 656d 645f 7469  nable systemd_ti
│ │ │ -0007a9b0: 6d65 7379 6e63 6420 5365 7276 6963 6520  mesyncd Service 
│ │ │ -0007a9c0: 2d20 456e 6162 6c65 2073 6572 7669 6365  - Enable service
│ │ │ -0007a9d0: 2073 7973 7465 6d64 2d74 696d 6573 796e   systemd-timesyn
│ │ │ -0007a9e0: 6364 0a20 2062 6c6f 636b 3a0a 0a20 202d  cd.  block:..  -
│ │ │ -0007a9f0: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ -0007aa00: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ -0007aa10: 2020 2020 7061 636b 6167 655f 6661 6374      package_fact
│ │ │ -0007aa20: 733a 0a20 2020 2020 206d 616e 6167 6572  s:.      manager
│ │ │ -0007aa30: 3a20 6175 746f 0a0a 2020 2d20 6e61 6d65  : auto..  - name
│ │ │ -0007aa40: 3a20 456e 6162 6c65 2073 7973 7465 6d64  : Enable systemd
│ │ │ -0007aa50: 5f74 696d 6573 796e 6364 2053 6572 7669  _timesyncd Servi
│ │ │ -0007aa60: 6365 202d 2045 6e61 626c 6520 5365 7276  ce - Enable Serv
│ │ │ -0007aa70: 6963 6520 7379 7374 656d 642d 7469 6d65  ice systemd-time
│ │ │ -0007aa80: 7379 6e63 640a 2020 2020 616e 7369 626c  syncd.    ansibl
│ │ │ -0007aa90: 652e 6275 696c 7469 6e2e 7379 7374 656d  e.builtin.system
│ │ │ -0007aaa0: 643a 0a20 2020 2020 206e 616d 653a 2073  d:.      name: s
│ │ │ -0007aab0: 7973 7465 6d64 2d74 696d 6573 796e 6364  ystemd-timesyncd
│ │ │ -0007aac0: 0a20 2020 2020 2065 6e61 626c 6564 3a20  .      enabled: 
│ │ │ -0007aad0: 7472 7565 0a20 2020 2020 2073 7461 7465  true.      state
│ │ │ -0007aae0: 3a20 7374 6172 7465 640a 2020 2020 2020  : started.      
│ │ │ -0007aaf0: 6d61 736b 6564 3a20 6661 6c73 650a 2020  masked: false.  
│ │ │ -0007ab00: 2020 7768 656e 3a0a 2020 2020 2d20 2722    when:.    - '"
│ │ │ -0007ab10: 7379 7374 656d 6422 2069 6e20 616e 7369  systemd" in ansi
│ │ │ -0007ab20: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -0007ab30: 6573 270a 2020 7768 656e 3a0a 2020 2d20  es'.  when:.  - 
│ │ │ -0007ab40: 2722 6c69 6e75 782d 6261 7365 2220 696e  '"linux-base" in
│ │ │ -0007ab50: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ -0007ab60: 6163 6b61 6765 7327 0a20 202d 2028 206e  ackages'.  - ( n
│ │ │ -0007ab70: 6f74 2028 2022 6368 726f 6e79 2220 696e  ot ( "chrony" in
│ │ │ -0007ab80: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ -0007ab90: 6163 6b61 6765 7320 2920 616e 6420 6e6f  ackages ) and no
│ │ │ -0007aba0: 7420 2820 226e 7470 2220 696e 2061 6e73  t ( "ntp" in ans
│ │ │ -0007abb0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -0007abc0: 6765 730a 2020 2020 2920 290a 2020 7461  ges.    ) ).  ta
│ │ │ -0007abd0: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030  gs:.  - NIST-800
│ │ │ -0007abe0: 2d35 332d 4155 2d38 2831 2928 6129 0a20  -53-AU-8(1)(a). 
│ │ │ -0007abf0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -0007ac00: 4d2d 3628 6129 0a20 202d 2050 4349 2d44  M-6(a).  - PCI-D
│ │ │ -0007ac10: 5353 2d52 6571 2d31 302e 340a 2020 2d20  SS-Req-10.4.  - 
│ │ │ -0007ac20: 5043 492d 4453 5376 342d 3130 2e36 0a20  PCI-DSSv4-10.6. 
│ │ │ -0007ac30: 202d 2050 4349 2d44 5353 7634 2d31 302e   - PCI-DSSv4-10.
│ │ │ -0007ac40: 362e 310a 2020 2d20 656e 6162 6c65 5f73  6.1.  - enable_s
│ │ │ -0007ac50: 7472 6174 6567 790a 2020 2d20 6869 6768  trategy.  - high
│ │ │ -0007ac60: 5f73 6576 6572 6974 790a 2020 2d20 6c6f  _severity.  - lo
│ │ │ -0007ac70: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -0007ac80: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -0007ac90: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -0007aca0: 6564 6564 0a20 202d 2073 6572 7669 6365  eded.  - service
│ │ │ -0007acb0: 5f74 696d 6573 796e 6364 5f65 6e61 626c  _timesyncd_enabl
│ │ │ -0007acc0: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e  ed.
│ │ │ +0007a310: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible │ │ │ +0007a320: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +0007a330: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ +0007a3c0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
- 
│ │ │ +0007a460: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ +0007a470: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ +0007a480: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ +0007a490: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ +0007a4a0: 6f0a 2020 7461 6773 3a0a 2020 2d20 4e49  o.  tags:.  - NI
│ │ │ +0007a4b0: 5354 2d38 3030 2d35 332d 4155 2d38 2831  ST-800-53-AU-8(1
│ │ │ +0007a4c0: 2928 6129 0a20 202d 204e 4953 542d 3830  )(a).  - NIST-80
│ │ │ +0007a4d0: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ +0007a4e0: 2050 4349 2d44 5353 2d52 6571 2d31 302e   PCI-DSS-Req-10.
│ │ │ +0007a4f0: 340a 2020 2d20 5043 492d 4453 5376 342d  4.  - PCI-DSSv4-
│ │ │ +0007a500: 3130 2e36 0a20 202d 2050 4349 2d44 5353  10.6.  - PCI-DSS
│ │ │ +0007a510: 7634 2d31 302e 362e 310a 2020 2d20 656e  v4-10.6.1.  - en
│ │ │ +0007a520: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +0007a530: 2d20 6869 6768 5f73 6576 6572 6974 790a  - high_severity.
│ │ │ +0007a540: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +0007a550: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +0007a560: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562  ption.  - no_reb
│ │ │ +0007a570: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ +0007a580: 6572 7669 6365 5f74 696d 6573 796e 6364  ervice_timesyncd
│ │ │ +0007a590: 5f65 6e61 626c 6564 0a0a 2d20 6e61 6d65  _enabled..- name
│ │ │ +0007a5a0: 3a20 456e 6162 6c65 2073 7973 7465 6d64  : Enable systemd
│ │ │ +0007a5b0: 5f74 696d 6573 796e 6364 2053 6572 7669  _timesyncd Servi
│ │ │ +0007a5c0: 6365 202d 2045 6e61 626c 6520 7365 7276  ce - Enable serv
│ │ │ +0007a5d0: 6963 6520 7379 7374 656d 642d 7469 6d65  ice systemd-time
│ │ │ +0007a5e0: 7379 6e63 640a 2020 626c 6f63 6b3a 0a0a  syncd.  block:..
│ │ │ +0007a5f0: 2020 2d20 6e61 6d65 3a20 4761 7468 6572    - name: Gather
│ │ │ +0007a600: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ +0007a610: 7473 0a20 2020 2070 6163 6b61 6765 5f66  ts.    package_f
│ │ │ +0007a620: 6163 7473 3a0a 2020 2020 2020 6d61 6e61  acts:.      mana
│ │ │ +0007a630: 6765 723a 2061 7574 6f0a 0a20 202d 206e  ger: auto..  - n
│ │ │ +0007a640: 616d 653a 2045 6e61 626c 6520 7379 7374  ame: Enable syst
│ │ │ +0007a650: 656d 645f 7469 6d65 7379 6e63 6420 5365  emd_timesyncd Se
│ │ │ +0007a660: 7276 6963 6520 2d20 456e 6162 6c65 2053  rvice - Enable S
│ │ │ +0007a670: 6572 7669 6365 2073 7973 7465 6d64 2d74  ervice systemd-t
│ │ │ +0007a680: 696d 6573 796e 6364 0a20 2020 2061 6e73  imesyncd.    ans
│ │ │ +0007a690: 6962 6c65 2e62 7569 6c74 696e 2e73 7973  ible.builtin.sys
│ │ │ +0007a6a0: 7465 6d64 3a0a 2020 2020 2020 6e61 6d65  temd:.      name
│ │ │ +0007a6b0: 3a20 7379 7374 656d 642d 7469 6d65 7379  : systemd-timesy
│ │ │ +0007a6c0: 6e63 640a 2020 2020 2020 656e 6162 6c65  ncd.      enable
│ │ │ +0007a6d0: 643a 2074 7275 650a 2020 2020 2020 7374  d: true.      st
│ │ │ +0007a6e0: 6174 653a 2073 7461 7274 6564 0a20 2020  ate: started.   
│ │ │ +0007a6f0: 2020 206d 6173 6b65 643a 2066 616c 7365     masked: false
│ │ │ +0007a700: 0a20 2020 2077 6865 6e3a 0a20 2020 202d  .    when:.    -
│ │ │ +0007a710: 2027 2273 7973 7465 6d64 2220 696e 2061   '"systemd" in a
│ │ │ +0007a720: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +0007a730: 6b61 6765 7327 0a20 2077 6865 6e3a 0a20  kages'.  when:. 
│ │ │ +0007a740: 202d 2027 226c 696e 7578 2d62 6173 6522   - '"linux-base"
│ │ │ +0007a750: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ +0007a760: 732e 7061 636b 6167 6573 270a 2020 2d20  s.packages'.  - 
│ │ │ +0007a770: 2820 6e6f 7420 2820 2263 6872 6f6e 7922  ( not ( "chrony"
│ │ │ +0007a780: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ +0007a790: 732e 7061 636b 6167 6573 2029 2061 6e64  s.packages ) and
│ │ │ +0007a7a0: 206e 6f74 2028 2022 6e74 7022 2069 6e20   not ( "ntp" in 
│ │ │ +0007a7b0: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ +0007a7c0: 636b 6167 6573 0a20 2020 2029 2029 0a20  ckages.    ) ). 
│ │ │ +0007a7d0: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ +0007a7e0: 3830 302d 3533 2d41 552d 3828 3129 2861  800-53-AU-8(1)(a
│ │ │ +0007a7f0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +0007a800: 332d 434d 2d36 2861 290a 2020 2d20 5043  3-CM-6(a).  - PC
│ │ │ +0007a810: 492d 4453 532d 5265 712d 3130 2e34 0a20  I-DSS-Req-10.4. 
│ │ │ +0007a820: 202d 2050 4349 2d44 5353 7634 2d31 302e   - PCI-DSSv4-10.
│ │ │ +0007a830: 360a 2020 2d20 5043 492d 4453 5376 342d  6.  - PCI-DSSv4-
│ │ │ +0007a840: 3130 2e36 2e31 0a20 202d 2065 6e61 626c  10.6.1.  - enabl
│ │ │ +0007a850: 655f 7374 7261 7465 6779 0a20 202d 2068  e_strategy.  - h
│ │ │ +0007a860: 6967 685f 7365 7665 7269 7479 0a20 202d  igh_severity.  -
│ │ │ +0007a870: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +0007a880: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +0007a890: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74  on.  - no_reboot
│ │ │ +0007a8a0: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ +0007a8b0: 6963 655f 7469 6d65 7379 6e63 645f 656e  ice_timesyncd_en
│ │ │ +0007a8c0: 6162 6c65 640a 3c2f 636f 6465 3e3c 2f70  abled.

Remedia │ │ │ +0007a980: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ +0007a990: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +0007a9a0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +0007a9b0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +0007a9c0: 7365 2220 6964 3d22 6964 6d31 3034 3730 se" id="idm10470 │ │ │ +0007a9d0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
│ │ │ +0007a3b0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +0007a3e0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +0007a3f0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +0007a430: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ +0007a440: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Comp │ │ │ +0007aa20: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +0007aa30: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +0007aa50: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +0007aa70: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +0007aa80: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ +0007aac0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ +0007aad0: 6520 656e 6162 6c65 5f73 7973 7465 6d64 e enable_systemd │ │ │ +0007aae0: 2d74 696d 6573 796e 6364 0a0a 636c 6173 -timesyncd..clas │ │ │ +0007aaf0: 7320 656e 6162 6c65 5f73 7973 7465 6d64 s enable_systemd │ │ │ +0007ab00: 2d74 696d 6573 796e 6364 207b 0a20 2073 -timesyncd {. s │ │ │ +0007ab10: 6572 7669 6365 207b 2773 7973 7465 6d64 ervice {'systemd │ │ │ +0007ab20: 2d74 696d 6573 796e 6364 273a 0a20 2020 -timesyncd':. │ │ │ +0007ab30: 2065 6e61 626c 6520 3d26 6774 3b20 7472 enable => tr │ │ │ +0007ab40: 7565 2c0a 2020 2020 656e 7375 7265 203d ue,. ensure = │ │ │ +0007ab50: 2667 743b 2027 7275 6e6e 696e 6727 2c0a > 'running',. │ │ │ +0007ab60: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.

Remedia │ │ │ +0007ac20: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu │ │ │ +0007ac30: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet . │ │ │ +0007ac40: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
.[custom │ │ │ +0007ac90: 697a 6174 696f 6e73 2e73 6572 7669 6365 izations.service │ │ │ +0007aca0: 735d 0a65 6e61 626c 6564 203d 205b 2273 s].enabled = ["s │ │ │ +0007acb0: 7973 7465 6d64 2d74 696d 6573 796e 6364 ystemd-timesyncd │ │ │ +0007acc0: 225d 0a3c 2f63 6f64 653e 3c2f 7072 653e "].
│ │ │ 0007acd0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediation O │ │ │ -000892c0: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint │ │ │ -000892d0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -000892e0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.[[packages]].
│ │ │ -00089330: 6e61 6d65 203d 2022 6175 6469 7464 220a  name = "auditd".
│ │ │ -00089340: 7665 7273 696f 6e20 3d20 222a 220a 3c2f  version = "*".
Remediation Pup │ │ │ -00089410: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ -00089420: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -000894a0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -000894c0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -00089510: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ -00089540: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include instal
│ │ │ -00089560: 6c5f 6175 6469 7464 0a0a 636c 6173 7320  l_auditd..class 
│ │ │ -00089570: 696e 7374 616c 6c5f 6175 6469 7464 207b  install_auditd {
│ │ │ -00089580: 0a20 2070 6163 6b61 6765 207b 2027 6175  .  package { 'au
│ │ │ -00089590: 6469 7464 273a 0a20 2020 2065 6e73 7572  ditd':.    ensur
│ │ │ -000895a0: 6520 3d26 6774 3b20 2769 6e73 7461 6c6c  e => 'install
│ │ │ -000895b0: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ed',.  }.}.
Re │ │ │ -00089670: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -00089680: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
Complexity:< │ │ │ -000894b0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -000894d0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -00089520: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ -00089530: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
Complexity: │ │ │ -00089760: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -00089770: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ -000897c0: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ -000897d0: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ -000897e0: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ -000897f0: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ -00089800: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ -00089810: 4e49 5354 2d38 3030 2d35 332d 4143 2d37  NIST-800-53-AC-7
│ │ │ -00089820: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ -00089830: 2d35 332d 4155 2d31 3228 3229 0a20 202d  -53-AU-12(2).  -
│ │ │ -00089840: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ -00089850: 3134 0a20 202d 204e 4953 542d 3830 302d  14.  - NIST-800-
│ │ │ -00089860: 3533 2d41 552d 3228 6129 0a20 202d 204e  53-AU-2(a).  - N
│ │ │ -00089870: 4953 542d 3830 302d 3533 2d41 552d 3728  IST-800-53-AU-7(
│ │ │ -00089880: 3129 0a20 202d 204e 4953 542d 3830 302d  1).  - NIST-800-
│ │ │ -00089890: 3533 2d41 552d 3728 3229 0a20 202d 204e  53-AU-7(2).  - N
│ │ │ -000898a0: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -000898b0: 6129 0a20 202d 2050 4349 2d44 5353 2d52  a).  - PCI-DSS-R
│ │ │ -000898c0: 6571 2d31 302e 310a 2020 2d20 5043 492d  eq-10.1.  - PCI-
│ │ │ -000898d0: 4453 5376 342d 3130 2e32 0a20 202d 2050  DSSv4-10.2.  - P
│ │ │ -000898e0: 4349 2d44 5353 7634 2d31 302e 322e 310a  CI-DSSv4-10.2.1.
│ │ │ -000898f0: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -00089900: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -00089910: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -00089920: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -00089930: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -00089940: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -00089950: 6564 0a20 202d 2070 6163 6b61 6765 5f61  ed.  - package_a
│ │ │ -00089960: 7564 6974 5f69 6e73 7461 6c6c 6564 0a0a  udit_installed..
│ │ │ -00089970: 2d20 6e61 6d65 3a20 456e 7375 7265 2061  - name: Ensure a
│ │ │ -00089980: 7564 6974 6420 6973 2069 6e73 7461 6c6c  uditd is install
│ │ │ -00089990: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ -000899a0: 2020 6e61 6d65 3a20 6175 6469 7464 0a20    name: auditd. 
│ │ │ -000899b0: 2020 2073 7461 7465 3a20 7072 6573 656e     state: presen
│ │ │ -000899c0: 740a 2020 7768 656e 3a20 2722 6c69 6e75  t.  when: '"linu
│ │ │ -000899d0: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ -000899e0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -000899f0: 7327 0a20 2074 6167 733a 0a20 202d 204e  s'.  tags:.  - N
│ │ │ -00089a00: 4953 542d 3830 302d 3533 2d41 432d 3728  IST-800-53-AC-7(
│ │ │ -00089a10: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ -00089a20: 3533 2d41 552d 3132 2832 290a 2020 2d20  53-AU-12(2).  - 
│ │ │ -00089a30: 4e49 5354 2d38 3030 2d35 332d 4155 2d31  NIST-800-53-AU-1
│ │ │ -00089a40: 340a 2020 2d20 4e49 5354 2d38 3030 2d35  4.  - NIST-800-5
│ │ │ -00089a50: 332d 4155 2d32 2861 290a 2020 2d20 4e49  3-AU-2(a).  - NI
│ │ │ -00089a60: 5354 2d38 3030 2d35 332d 4155 2d37 2831  ST-800-53-AU-7(1
│ │ │ -00089a70: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -00089a80: 332d 4155 2d37 2832 290a 2020 2d20 4e49  3-AU-7(2).  - NI
│ │ │ -00089a90: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ -00089aa0: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ -00089ab0: 712d 3130 2e31 0a20 202d 2050 4349 2d44  q-10.1.  - PCI-D
│ │ │ -00089ac0: 5353 7634 2d31 302e 320a 2020 2d20 5043  SSv4-10.2.  - PC
│ │ │ -00089ad0: 492d 4453 5376 342d 3130 2e32 2e31 0a20  I-DSSv4-10.2.1. 
│ │ │ -00089ae0: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ -00089af0: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ -00089b00: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -00089b10: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ -00089b20: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ -00089b30: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -00089b40: 640a 2020 2d20 7061 636b 6167 655f 6175  d.  - package_au
│ │ │ -00089b50: 6469 745f 696e 7374 616c 6c65 640a 3c2f  dit_installed.Remediation A
│ │ │ +000892c0: 6e73 6962 6c65 2073 6e69 7070 6574 20e2  nsible snippet .
│ │ │ +000892d0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063  ..
< │ │ │ +00089350: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ +00089390: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 enable
low
Disru │ │ │ -00089740: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -00089750: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -00089790: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ -000897a0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexit │ │ │ +00089360: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ +00089380: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ +000893b0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +000893d0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
<
│ │ │ +00089400: 636f 6465 3e2d 206e 616d 653a 2047 6174  code>- name: Gat
│ │ │ +00089410: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ +00089420: 6661 6374 730a 2020 7061 636b 6167 655f  facts.  package_
│ │ │ +00089430: 6661 6374 733a 0a20 2020 206d 616e 6167  facts:.    manag
│ │ │ +00089440: 6572 3a20 6175 746f 0a20 2074 6167 733a  er: auto.  tags:
│ │ │ +00089450: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +00089460: 2d41 432d 3728 6129 0a20 202d 204e 4953  -AC-7(a).  - NIS
│ │ │ +00089470: 542d 3830 302d 3533 2d41 552d 3132 2832  T-800-53-AU-12(2
│ │ │ +00089480: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +00089490: 332d 4155 2d31 340a 2020 2d20 4e49 5354  3-AU-14.  - NIST
│ │ │ +000894a0: 2d38 3030 2d35 332d 4155 2d32 2861 290a  -800-53-AU-2(a).
│ │ │ +000894b0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +000894c0: 4155 2d37 2831 290a 2020 2d20 4e49 5354  AU-7(1).  - NIST
│ │ │ +000894d0: 2d38 3030 2d35 332d 4155 2d37 2832 290a  -800-53-AU-7(2).
│ │ │ +000894e0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +000894f0: 434d 2d36 2861 290a 2020 2d20 5043 492d  CM-6(a).  - PCI-
│ │ │ +00089500: 4453 532d 5265 712d 3130 2e31 0a20 202d  DSS-Req-10.1.  -
│ │ │ +00089510: 2050 4349 2d44 5353 7634 2d31 302e 320a   PCI-DSSv4-10.2.
│ │ │ +00089520: 2020 2d20 5043 492d 4453 5376 342d 3130    - PCI-DSSv4-10
│ │ │ +00089530: 2e32 2e31 0a20 202d 2065 6e61 626c 655f  .2.1.  - enable_
│ │ │ +00089540: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ +00089550: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +00089560: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +00089570: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ +00089580: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ +00089590: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ +000895a0: 6167 655f 6175 6469 745f 696e 7374 616c  age_audit_instal
│ │ │ +000895b0: 6c65 640a 0a2d 206e 616d 653a 2045 6e73  led..- name: Ens
│ │ │ +000895c0: 7572 6520 6175 6469 7464 2069 7320 696e  ure auditd is in
│ │ │ +000895d0: 7374 616c 6c65 640a 2020 7061 636b 6167  stalled.  packag
│ │ │ +000895e0: 653a 0a20 2020 206e 616d 653a 2061 7564  e:.    name: aud
│ │ │ +000895f0: 6974 640a 2020 2020 7374 6174 653a 2070  itd.    state: p
│ │ │ +00089600: 7265 7365 6e74 0a20 2077 6865 6e3a 2027  resent.  when: '
│ │ │ +00089610: 226c 696e 7578 2d62 6173 6522 2069 6e20  "linux-base" in 
│ │ │ +00089620: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ +00089630: 636b 6167 6573 270a 2020 7461 6773 3a0a  ckages'.  tags:.
│ │ │ +00089640: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +00089650: 4143 2d37 2861 290a 2020 2d20 4e49 5354  AC-7(a).  - NIST
│ │ │ +00089660: 2d38 3030 2d35 332d 4155 2d31 3228 3229  -800-53-AU-12(2)
│ │ │ +00089670: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +00089680: 2d41 552d 3134 0a20 202d 204e 4953 542d  -AU-14.  - NIST-
│ │ │ +00089690: 3830 302d 3533 2d41 552d 3228 6129 0a20  800-53-AU-2(a). 
│ │ │ +000896a0: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ +000896b0: 552d 3728 3129 0a20 202d 204e 4953 542d  U-7(1).  - NIST-
│ │ │ +000896c0: 3830 302d 3533 2d41 552d 3728 3229 0a20  800-53-AU-7(2). 
│ │ │ +000896d0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +000896e0: 4d2d 3628 6129 0a20 202d 2050 4349 2d44  M-6(a).  - PCI-D
│ │ │ +000896f0: 5353 2d52 6571 2d31 302e 310a 2020 2d20  SS-Req-10.1.  - 
│ │ │ +00089700: 5043 492d 4453 5376 342d 3130 2e32 0a20  PCI-DSSv4-10.2. 
│ │ │ +00089710: 202d 2050 4349 2d44 5353 7634 2d31 302e   - PCI-DSSv4-10.
│ │ │ +00089720: 322e 310a 2020 2d20 656e 6162 6c65 5f73  2.1.  - enable_s
│ │ │ +00089730: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ +00089740: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ +00089750: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ +00089760: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ +00089770: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ +00089780: 6e65 6564 6564 0a20 202d 2070 6163 6b61  needed.  - packa
│ │ │ +00089790: 6765 5f61 7564 6974 5f69 6e73 7461 6c6c  ge_audit_install
│ │ │ +000897a0: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e  ed.
│ │ │ +000897b0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ +00089860: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ +00089870: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +000898b0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +000898c0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +000898d0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +000898e0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +000898f0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +00089900: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +00089910: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +00089950: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +00089960: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +00089980: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ +00089990: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include i
│ │ │ +000899b0: 6e73 7461 6c6c 5f61 7564 6974 640a 0a63  nstall_auditd..c
│ │ │ +000899c0: 6c61 7373 2069 6e73 7461 6c6c 5f61 7564  lass install_aud
│ │ │ +000899d0: 6974 6420 7b0a 2020 7061 636b 6167 6520  itd {.  package 
│ │ │ +000899e0: 7b20 2761 7564 6974 6427 3a0a 2020 2020  { 'auditd':.    
│ │ │ +000899f0: 656e 7375 7265 203d 2667 743b 2027 696e  ensure => 'in
│ │ │ +00089a00: 7374 616c 6c65 6427 2c0a 2020 7d0a 7d0a  stalled',.  }.}.
│ │ │ +00089a10: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation O │ │ │ +00089ad0: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint │ │ │ +00089ae0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +00089af0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.[[packages]].
│ │ │ +00089b40: 6e61 6d65 203d 2022 6175 6469 7464 220a  name = "auditd".
│ │ │ +00089b50: 7665 7273 696f 6e20 3d20 222a 220a 3c2f  version = "*".
Remediat │ │ │ -0008b8b0: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue │ │ │ -0008b8c0: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet .. │ │ │ -0008b8d0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
.[customi
│ │ │ -0008b920: 7a61 7469 6f6e 732e 7365 7276 6963 6573  zations.services
│ │ │ -0008b930: 5d0a 656e 6162 6c65 6420 3d20 5b22 6175  ].enabled = ["au
│ │ │ -0008b940: 6469 7464 225d 0a3c 2f63 6f64 653e 3c2f  ditd"].
Remedi │ │ │ -0008ba00: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ -0008ba10: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -0008ba20: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -0008baa0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -0008bad0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -0008baf0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -0008bb00: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -0008bb20: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ -0008bb40: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -0008bb50: 6465 2065 6e61 626c 655f 6175 6469 7464  de enable_auditd
│ │ │ -0008bb60: 0a0a 636c 6173 7320 656e 6162 6c65 5f61  ..class enable_a
│ │ │ -0008bb70: 7564 6974 6420 7b0a 2020 7365 7276 6963  uditd {.  servic
│ │ │ -0008bb80: 6520 7b27 6175 6469 7464 273a 0a20 2020  e {'auditd':.   
│ │ │ -0008bb90: 2065 6e61 626c 6520 3d26 6774 3b20 7472   enable => tr
│ │ │ -0008bba0: 7565 2c0a 2020 2020 656e 7375 7265 203d  ue,.    ensure =
│ │ │ -0008bbb0: 2667 743b 2027 7275 6e6e 696e 6727 2c0a  > 'running',.
│ │ │ -0008bbc0: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ -0008bc80: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ -0008bc90: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -0008bca0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -0008bd20: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -0008bd50: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -0008bd70: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -0008bd80: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -0008bda0: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ -0008bdc0: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ -0008bdd0: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ -0008bde0: 636b 6167 6520 6661 6374 730a 2020 7061  ckage facts.  pa
│ │ │ -0008bdf0: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ -0008be00: 206d 616e 6167 6572 3a20 6175 746f 0a20   manager: auto. 
│ │ │ -0008be10: 2074 6167 733a 0a20 202d 2043 4a49 532d   tags:.  - CJIS-
│ │ │ -0008be20: 352e 342e 312e 310a 2020 2d20 4e49 5354  5.4.1.1.  - NIST
│ │ │ -0008be30: 2d38 3030 2d31 3731 2d33 2e33 2e31 0a20  -800-171-3.3.1. 
│ │ │ -0008be40: 202d 204e 4953 542d 3830 302d 3137 312d   - NIST-800-171-
│ │ │ -0008be50: 332e 332e 320a 2020 2d20 4e49 5354 2d38  3.3.2.  - NIST-8
│ │ │ -0008be60: 3030 2d31 3731 2d33 2e33 2e36 0a20 202d  00-171-3.3.6.  -
│ │ │ -0008be70: 204e 4953 542d 3830 302d 3533 2d41 432d   NIST-800-53-AC-
│ │ │ -0008be80: 3228 6729 0a20 202d 204e 4953 542d 3830  2(g).  - NIST-80
│ │ │ -0008be90: 302d 3533 2d41 432d 3628 3929 0a20 202d  0-53-AC-6(9).  -
│ │ │ -0008bea0: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ -0008beb0: 3130 0a20 202d 204e 4953 542d 3830 302d  10.  - NIST-800-
│ │ │ -0008bec0: 3533 2d41 552d 3132 2863 290a 2020 2d20  53-AU-12(c).  - 
│ │ │ -0008bed0: 4e49 5354 2d38 3030 2d35 332d 4155 2d31  NIST-800-53-AU-1
│ │ │ -0008bee0: 3428 3129 0a20 202d 204e 4953 542d 3830  4(1).  - NIST-80
│ │ │ -0008bef0: 302d 3533 2d41 552d 3228 6429 0a20 202d  0-53-AU-2(d).  -
│ │ │ -0008bf00: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ -0008bf10: 330a 2020 2d20 4e49 5354 2d38 3030 2d35  3.  - NIST-800-5
│ │ │ -0008bf20: 332d 434d 2d36 2861 290a 2020 2d20 4e49  3-CM-6(a).  - NI
│ │ │ -0008bf30: 5354 2d38 3030 2d35 332d 5349 2d34 2832  ST-800-53-SI-4(2
│ │ │ -0008bf40: 3329 0a20 202d 2050 4349 2d44 5353 2d52  3).  - PCI-DSS-R
│ │ │ -0008bf50: 6571 2d31 302e 310a 2020 2d20 5043 492d  eq-10.1.  - PCI-
│ │ │ -0008bf60: 4453 5376 342d 3130 2e32 0a20 202d 2050  DSSv4-10.2.  - P
│ │ │ -0008bf70: 4349 2d44 5353 7634 2d31 302e 322e 310a  CI-DSSv4-10.2.1.
│ │ │ -0008bf80: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -0008bf90: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -0008bfa0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -0008bfb0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -0008bfc0: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -0008bfd0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -0008bfe0: 6564 0a20 202d 2073 6572 7669 6365 5f61  ed.  - service_a
│ │ │ -0008bff0: 7564 6974 645f 656e 6162 6c65 640a 0a2d  uditd_enabled..-
│ │ │ -0008c000: 206e 616d 653a 2045 6e61 626c 6520 6175   name: Enable au
│ │ │ -0008c010: 6469 7464 2053 6572 7669 6365 202d 2045  ditd Service - E
│ │ │ -0008c020: 6e61 626c 6520 7365 7276 6963 6520 6175  nable service au
│ │ │ -0008c030: 6469 7464 0a20 2062 6c6f 636b 3a0a 0a20  ditd.  block:.. 
│ │ │ -0008c040: 202d 206e 616d 653a 2047 6174 6865 7220   - name: Gather 
│ │ │ -0008c050: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ -0008c060: 730a 2020 2020 7061 636b 6167 655f 6661  s.    package_fa
│ │ │ -0008c070: 6374 733a 0a20 2020 2020 206d 616e 6167  cts:.      manag
│ │ │ -0008c080: 6572 3a20 6175 746f 0a0a 2020 2d20 6e61  er: auto..  - na
│ │ │ -0008c090: 6d65 3a20 456e 6162 6c65 2061 7564 6974  me: Enable audit
│ │ │ -0008c0a0: 6420 5365 7276 6963 6520 2d20 456e 6162  d Service - Enab
│ │ │ -0008c0b0: 6c65 2053 6572 7669 6365 2061 7564 6974  le Service audit
│ │ │ -0008c0c0: 640a 2020 2020 616e 7369 626c 652e 6275  d.    ansible.bu
│ │ │ -0008c0d0: 696c 7469 6e2e 7379 7374 656d 643a 0a20  iltin.systemd:. 
│ │ │ -0008c0e0: 2020 2020 206e 616d 653a 2061 7564 6974       name: audit
│ │ │ -0008c0f0: 640a 2020 2020 2020 656e 6162 6c65 643a  d.      enabled:
│ │ │ -0008c100: 2074 7275 650a 2020 2020 2020 7374 6174   true.      stat
│ │ │ -0008c110: 653a 2073 7461 7274 6564 0a20 2020 2020  e: started.     
│ │ │ -0008c120: 206d 6173 6b65 643a 2066 616c 7365 0a20   masked: false. 
│ │ │ -0008c130: 2020 2077 6865 6e3a 0a20 2020 202d 2027     when:.    - '
│ │ │ -0008c140: 2261 7564 6974 6422 2069 6e20 616e 7369  "auditd" in ansi
│ │ │ -0008c150: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -0008c160: 6573 270a 2020 7768 656e 3a0a 2020 2d20  es'.  when:.  - 
│ │ │ -0008c170: 2722 6c69 6e75 782d 6261 7365 2220 696e  '"linux-base" in
│ │ │ -0008c180: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ -0008c190: 6163 6b61 6765 7327 0a20 202d 2027 2261  ackages'.  - '"a
│ │ │ -0008c1a0: 7564 6974 6422 2069 6e20 616e 7369 626c  uditd" in ansibl
│ │ │ -0008c1b0: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ -0008c1c0: 270a 2020 7461 6773 3a0a 2020 2d20 434a  '.  tags:.  - CJ
│ │ │ -0008c1d0: 4953 2d35 2e34 2e31 2e31 0a20 202d 204e  IS-5.4.1.1.  - N
│ │ │ -0008c1e0: 4953 542d 3830 302d 3137 312d 332e 332e  IST-800-171-3.3.
│ │ │ -0008c1f0: 310a 2020 2d20 4e49 5354 2d38 3030 2d31  1.  - NIST-800-1
│ │ │ -0008c200: 3731 2d33 2e33 2e32 0a20 202d 204e 4953  71-3.3.2.  - NIS
│ │ │ -0008c210: 542d 3830 302d 3137 312d 332e 332e 360a  T-800-171-3.3.6.
│ │ │ -0008c220: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -0008c230: 4143 2d32 2867 290a 2020 2d20 4e49 5354  AC-2(g).  - NIST
│ │ │ -0008c240: 2d38 3030 2d35 332d 4143 2d36 2839 290a  -800-53-AC-6(9).
│ │ │ -0008c250: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -0008c260: 4155 2d31 300a 2020 2d20 4e49 5354 2d38  AU-10.  - NIST-8
│ │ │ -0008c270: 3030 2d35 332d 4155 2d31 3228 6329 0a20  00-53-AU-12(c). 
│ │ │ -0008c280: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ -0008c290: 552d 3134 2831 290a 2020 2d20 4e49 5354  U-14(1).  - NIST
│ │ │ -0008c2a0: 2d38 3030 2d35 332d 4155 2d32 2864 290a  -800-53-AU-2(d).
│ │ │ -0008c2b0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -0008c2c0: 4155 2d33 0a20 202d 204e 4953 542d 3830  AU-3.  - NIST-80
│ │ │ -0008c2d0: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ -0008c2e0: 204e 4953 542d 3830 302d 3533 2d53 492d   NIST-800-53-SI-
│ │ │ -0008c2f0: 3428 3233 290a 2020 2d20 5043 492d 4453  4(23).  - PCI-DS
│ │ │ -0008c300: 532d 5265 712d 3130 2e31 0a20 202d 2050  S-Req-10.1.  - P
│ │ │ -0008c310: 4349 2d44 5353 7634 2d31 302e 320a 2020  CI-DSSv4-10.2.  
│ │ │ -0008c320: 2d20 5043 492d 4453 5376 342d 3130 2e32  - PCI-DSSv4-10.2
│ │ │ -0008c330: 2e31 0a20 202d 2065 6e61 626c 655f 7374  .1.  - enable_st
│ │ │ -0008c340: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ -0008c350: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ -0008c360: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ -0008c370: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ -0008c380: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ -0008c390: 6565 6465 640a 2020 2d20 7365 7276 6963  eeded.  - servic
│ │ │ -0008c3a0: 655f 6175 6469 7464 5f65 6e61 626c 6564  e_auditd_enabled
│ │ │ +0008b8b0: 696f 6e20 416e 7369 626c 6520 736e 6970  ion Ansible snip
│ │ │ +0008b8c0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c  pet ...
< │ │ │ +0008b8d0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +0008b8e0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +0008b8f0: 7365 2220 6964 3d22 6964 6d31 3335 3439 se" id="idm13549 │ │ │ +0008b900: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ +0008b950: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +0008b960: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +0008b980: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +0008b9a0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +0008b9b0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ +0008b9f0: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +0008ba00: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ +0008ba10: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac │ │ │ +0008ba20: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ +0008ba30: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto. │ │ │ +0008ba40: 7461 6773 3a0a 2020 2d20 434a 4953 2d35 tags:. - CJIS-5 │ │ │ +0008ba50: 2e34 2e31 2e31 0a20 202d 204e 4953 542d .4.1.1. - NIST- │ │ │ +0008ba60: 3830 302d 3137 312d 332e 332e 310a 2020 800-171-3.3.1. │ │ │ +0008ba70: 2d20 4e49 5354 2d38 3030 2d31 3731 2d33 - NIST-800-171-3 │ │ │ +0008ba80: 2e33 2e32 0a20 202d 204e 4953 542d 3830 .3.2. - NIST-80 │ │ │ +0008ba90: 302d 3137 312d 332e 332e 360a 2020 2d20 0-171-3.3.6. - │ │ │ +0008baa0: 4e49 5354 2d38 3030 2d35 332d 4143 2d32 NIST-800-53-AC-2 │ │ │ +0008bab0: 2867 290a 2020 2d20 4e49 5354 2d38 3030 (g). - NIST-800 │ │ │ +0008bac0: 2d35 332d 4143 2d36 2839 290a 2020 2d20 -53-AC-6(9). - │ │ │ +0008bad0: 4e49 5354 2d38 3030 2d35 332d 4155 2d31 NIST-800-53-AU-1 │ │ │ +0008bae0: 300a 2020 2d20 4e49 5354 2d38 3030 2d35 0. - NIST-800-5 │ │ │ +0008baf0: 332d 4155 2d31 3228 6329 0a20 202d 204e 3-AU-12(c). - N │ │ │ +0008bb00: 4953 542d 3830 302d 3533 2d41 552d 3134 IST-800-53-AU-14 │ │ │ +0008bb10: 2831 290a 2020 2d20 4e49 5354 2d38 3030 (1). - NIST-800 │ │ │ +0008bb20: 2d35 332d 4155 2d32 2864 290a 2020 2d20 -53-AU-2(d). - │ │ │ +0008bb30: 4e49 5354 2d38 3030 2d35 332d 4155 2d33 NIST-800-53-AU-3 │ │ │ +0008bb40: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53 │ │ │ +0008bb50: 2d43 4d2d 3628 6129 0a20 202d 204e 4953 -CM-6(a). - NIS │ │ │ +0008bb60: 542d 3830 302d 3533 2d53 492d 3428 3233 T-800-53-SI-4(23 │ │ │ +0008bb70: 290a 2020 2d20 5043 492d 4453 532d 5265 ). - PCI-DSS-Re │ │ │ +0008bb80: 712d 3130 2e31 0a20 202d 2050 4349 2d44 q-10.1. - PCI-D │ │ │ +0008bb90: 5353 7634 2d31 302e 320a 2020 2d20 5043 SSv4-10.2. - PC │ │ │ +0008bba0: 492d 4453 5376 342d 3130 2e32 2e31 0a20 I-DSSv4-10.2.1. │ │ │ +0008bbb0: 202d 2065 6e61 626c 655f 7374 7261 7465 - enable_strate │ │ │ +0008bbc0: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl │ │ │ +0008bbd0: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di │ │ │ +0008bbe0: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med │ │ │ +0008bbf0: 6975 6d5f 7365 7665 7269 7479 0a20 202d ium_severity. - │ │ │ +0008bc00: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede │ │ │ +0008bc10: 640a 2020 2d20 7365 7276 6963 655f 6175 d. - service_au │ │ │ +0008bc20: 6469 7464 5f65 6e61 626c 6564 0a0a 2d20 ditd_enabled..- │ │ │ +0008bc30: 6e61 6d65 3a20 456e 6162 6c65 2061 7564 name: Enable aud │ │ │ +0008bc40: 6974 6420 5365 7276 6963 6520 2d20 456e itd Service - En │ │ │ +0008bc50: 6162 6c65 2073 6572 7669 6365 2061 7564 able service aud │ │ │ +0008bc60: 6974 640a 2020 626c 6f63 6b3a 0a0a 2020 itd. block:.. │ │ │ +0008bc70: 2d20 6e61 6d65 3a20 4761 7468 6572 2074 - name: Gather t │ │ │ +0008bc80: 6865 2070 6163 6b61 6765 2066 6163 7473 he package facts │ │ │ +0008bc90: 0a20 2020 2070 6163 6b61 6765 5f66 6163 . package_fac │ │ │ +0008bca0: 7473 3a0a 2020 2020 2020 6d61 6e61 6765 ts:. manage │ │ │ +0008bcb0: 723a 2061 7574 6f0a 0a20 202d 206e 616d r: auto.. - nam │ │ │ +0008bcc0: 653a 2045 6e61 626c 6520 6175 6469 7464 e: Enable auditd │ │ │ +0008bcd0: 2053 6572 7669 6365 202d 2045 6e61 626c Service - Enabl │ │ │ +0008bce0: 6520 5365 7276 6963 6520 6175 6469 7464 e Service auditd │ │ │ +0008bcf0: 0a20 2020 2061 6e73 6962 6c65 2e62 7569 . ansible.bui │ │ │ +0008bd00: 6c74 696e 2e73 7973 7465 6d64 3a0a 2020 ltin.systemd:. │ │ │ +0008bd10: 2020 2020 6e61 6d65 3a20 6175 6469 7464 name: auditd │ │ │ +0008bd20: 0a20 2020 2020 2065 6e61 626c 6564 3a20 . enabled: │ │ │ +0008bd30: 7472 7565 0a20 2020 2020 2073 7461 7465 true. state │ │ │ +0008bd40: 3a20 7374 6172 7465 640a 2020 2020 2020 : started. │ │ │ +0008bd50: 6d61 736b 6564 3a20 6661 6c73 650a 2020 masked: false. │ │ │ +0008bd60: 2020 7768 656e 3a0a 2020 2020 2d20 2722 when:. - '" │ │ │ +0008bd70: 6175 6469 7464 2220 696e 2061 6e73 6962 auditd" in ansib │ │ │ +0008bd80: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package │ │ │ +0008bd90: 7327 0a20 2077 6865 6e3a 0a20 202d 2027 s'. when:. - ' │ │ │ +0008bda0: 226c 696e 7578 2d62 6173 6522 2069 6e20 "linux-base" in │ │ │ +0008bdb0: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa │ │ │ +0008bdc0: 636b 6167 6573 270a 2020 2d20 2722 6175 ckages'. - '"au │ │ │ +0008bdd0: 6469 7464 2220 696e 2061 6e73 6962 6c65 ditd" in ansible │ │ │ +0008bde0: 5f66 6163 7473 2e70 6163 6b61 6765 7327 _facts.packages' │ │ │ +0008bdf0: 0a20 2074 6167 733a 0a20 202d 2043 4a49 . tags:. - CJI │ │ │ +0008be00: 532d 352e 342e 312e 310a 2020 2d20 4e49 S-5.4.1.1. - NI │ │ │ +0008be10: 5354 2d38 3030 2d31 3731 2d33 2e33 2e31 ST-800-171-3.3.1 │ │ │ +0008be20: 0a20 202d 204e 4953 542d 3830 302d 3137 . - NIST-800-17 │ │ │ +0008be30: 312d 332e 332e 320a 2020 2d20 4e49 5354 1-3.3.2. - NIST │ │ │ +0008be40: 2d38 3030 2d31 3731 2d33 2e33 2e36 0a20 -800-171-3.3.6. │ │ │ +0008be50: 202d 204e 4953 542d 3830 302d 3533 2d41 - NIST-800-53-A │ │ │ +0008be60: 432d 3228 6729 0a20 202d 204e 4953 542d C-2(g). - NIST- │ │ │ +0008be70: 3830 302d 3533 2d41 432d 3628 3929 0a20 800-53-AC-6(9). │ │ │ +0008be80: 202d 204e 4953 542d 3830 302d 3533 2d41 - NIST-800-53-A │ │ │ +0008be90: 552d 3130 0a20 202d 204e 4953 542d 3830 U-10. - NIST-80 │ │ │ +0008bea0: 302d 3533 2d41 552d 3132 2863 290a 2020 0-53-AU-12(c). │ │ │ +0008beb0: 2d20 4e49 5354 2d38 3030 2d35 332d 4155 - NIST-800-53-AU │ │ │ +0008bec0: 2d31 3428 3129 0a20 202d 204e 4953 542d -14(1). - NIST- │ │ │ +0008bed0: 3830 302d 3533 2d41 552d 3228 6429 0a20 800-53-AU-2(d). │ │ │ +0008bee0: 202d 204e 4953 542d 3830 302d 3533 2d41 - NIST-800-53-A │ │ │ +0008bef0: 552d 330a 2020 2d20 4e49 5354 2d38 3030 U-3. - NIST-800 │ │ │ +0008bf00: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). - │ │ │ +0008bf10: 4e49 5354 2d38 3030 2d35 332d 5349 2d34 NIST-800-53-SI-4 │ │ │ +0008bf20: 2832 3329 0a20 202d 2050 4349 2d44 5353 (23). - PCI-DSS │ │ │ +0008bf30: 2d52 6571 2d31 302e 310a 2020 2d20 5043 -Req-10.1. - PC │ │ │ +0008bf40: 492d 4453 5376 342d 3130 2e32 0a20 202d I-DSSv4-10.2. - │ │ │ +0008bf50: 2050 4349 2d44 5353 7634 2d31 302e 322e PCI-DSSv4-10.2. │ │ │ +0008bf60: 310a 2020 2d20 656e 6162 6c65 5f73 7472 1. - enable_str │ │ │ +0008bf70: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co │ │ │ +0008bf80: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low │ │ │ +0008bf90: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. - │ │ │ +0008bfa0: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity. │ │ │ +0008bfb0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ +0008bfc0: 6564 6564 0a20 202d 2073 6572 7669 6365 eded. - service │ │ │ +0008bfd0: 5f61 7564 6974 645f 656e 6162 6c65 640a _auditd_enabled. │ │ │ +0008bfe0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
Remediation P │ │ │ +0008c0a0: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ +0008c0b0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ +0008c140: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +0008c160: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +0008c170: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +0008c180: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +0008c190: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +0008c1b0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
include enab
│ │ │ +0008c1f0: 6c65 5f61 7564 6974 640a 0a63 6c61 7373  le_auditd..class
│ │ │ +0008c200: 2065 6e61 626c 655f 6175 6469 7464 207b   enable_auditd {
│ │ │ +0008c210: 0a20 2073 6572 7669 6365 207b 2761 7564  .  service {'aud
│ │ │ +0008c220: 6974 6427 3a0a 2020 2020 656e 6162 6c65  itd':.    enable
│ │ │ +0008c230: 203d 2667 743b 2074 7275 652c 0a20 2020   => true,.   
│ │ │ +0008c240: 2065 6e73 7572 6520 3d26 6774 3b20 2772   ensure => 'r
│ │ │ +0008c250: 756e 6e69 6e67 272c 0a20 207d 0a7d 0a3c  unning',.  }.}.<
│ │ │ +0008c260: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation OS │ │ │ +0008c320: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint │ │ │ +0008c330: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +0008c340: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
.[customization
│ │ │ +0008c390: 732e 7365 7276 6963 6573 5d0a 656e 6162  s.services].enab
│ │ │ +0008c3a0: 6c65 6420 3d20 5b22 6175 6469 7464 225d  led = ["auditd"]
│ │ │  0008c3b0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -3658,14 +3641,31 @@ │ │ │ │ - PCI-DSSv4-2.2.6 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_cron_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_cron │ │ │ │ + │ │ │ │ +class install_cron { │ │ │ │ + package { 'cron': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "cron" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -3703,26 +3703,14 @@ │ │ │ │ SR 2.7, SR 3.1, SR 3.5, SR 3.8, SR 4.1, SR 4.3, SR │ │ │ │ 5.1, SR 5.2, SR 5.3, SR 7.1, SR 7.6 │ │ │ │ A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1, │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.13.2.1, A.14.1.3, A.14.2.2, A.14.2.3, A.14.2.4, │ │ │ │ A.6.2.1, A.6.2.2, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_inetutils-telnetd │ │ │ │ - │ │ │ │ -class remove_inetutils-telnetd { │ │ │ │ - package { 'inetutils-telnetd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure inetutils-telnetd is removed │ │ │ │ package: │ │ │ │ @@ -3734,14 +3722,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_inetutils-telnetd_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_inetutils-telnetd │ │ │ │ + │ │ │ │ +class remove_inetutils-telnetd { │ │ │ │ + package { 'inetutils-telnetd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove inetutils-telnetd │ │ │ │ @@ -3754,26 +3754,14 @@ │ │ │ │ ****** RRuullee? ?  UUnniinnssttaallll tthhee nniiss ppaacckkaaggee ? ? _[[_rr_ee_ff_]] ****** │ │ │ │ The support for Yellowpages should not be installed unless it is required. │ │ │ │ NIS is the historical SUN service for central account management, │ │ │ │ Rationale: more and more replaced by LDAP. NIS does not support efficiently │ │ │ │ security constraints, ACL, etc. and should not be used. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_nis_removed │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_nis │ │ │ │ - │ │ │ │ -class remove_nis { │ │ │ │ - package { 'nis': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure nis is removed │ │ │ │ package: │ │ │ │ @@ -3782,14 +3770,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_nis_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_nis │ │ │ │ + │ │ │ │ +class remove_nis { │ │ │ │ + package { 'nis': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove nis │ │ │ │ @@ -3803,26 +3803,14 @@ │ │ │ │ ntpdate is a historical ntp synchronization client for unixes. It sould be │ │ │ │ uninstalled. │ │ │ │ ntpdate is an old not security-compliant ntp client. It should be │ │ │ │ Rationale: replaced by modern ntp clients such as ntpd, able to use │ │ │ │ cryptographic mechanisms integrated in NTP. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_ntpdate_removed │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_ntpdate │ │ │ │ - │ │ │ │ -class remove_ntpdate { │ │ │ │ - package { 'ntpdate': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure ntpdate is removed │ │ │ │ package: │ │ │ │ @@ -3831,14 +3819,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_ntpdate_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_ntpdate │ │ │ │ + │ │ │ │ +class remove_ntpdate { │ │ │ │ + package { 'ntpdate': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove ntpdate │ │ │ │ @@ -3869,26 +3869,14 @@ │ │ │ │ SR 2.7, SR 3.1, SR 3.5, SR 3.8, SR 4.1, SR 4.3, SR │ │ │ │ 5.1, SR 5.2, SR 5.3, SR 7.1, SR 7.6 │ │ │ │ A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1, │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.13.2.1, A.14.1.3, A.14.2.2, A.14.2.3, A.14.2.4, │ │ │ │ A.6.2.1, A.6.2.2, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_telnetd-ssl │ │ │ │ - │ │ │ │ -class remove_telnetd-ssl { │ │ │ │ - package { 'telnetd-ssl': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure telnetd-ssl is removed │ │ │ │ package: │ │ │ │ @@ -3900,14 +3888,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_telnetd-ssl_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_telnetd-ssl │ │ │ │ + │ │ │ │ +class remove_telnetd-ssl { │ │ │ │ + package { 'telnetd-ssl': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove telnetd-ssl │ │ │ │ @@ -3939,26 +3939,14 @@ │ │ │ │ SR 2.7, SR 3.1, SR 3.5, SR 3.8, SR 4.1, SR 4.3, SR │ │ │ │ 5.1, SR 5.2, SR 5.3, SR 7.1, SR 7.6 │ │ │ │ A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1, │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.13.2.1, A.14.1.3, A.14.2.2, A.14.2.3, A.14.2.4, │ │ │ │ A.6.2.1, A.6.2.2, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_telnetd │ │ │ │ - │ │ │ │ -class remove_telnetd { │ │ │ │ - package { 'telnetd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure telnetd is removed │ │ │ │ package: │ │ │ │ @@ -3970,14 +3958,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_telnetd_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_telnetd │ │ │ │ + │ │ │ │ +class remove_telnetd { │ │ │ │ + package { 'telnetd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove telnetd │ │ │ │ @@ -4052,31 +4052,14 @@ │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_0_9 4.3.3.3.9, 4.3.3.5.8, 4.3.4.4.7, 4.4.2.1, 4.4.2.2, │ │ │ │ References: 4.4.2.4 │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "ntp" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_ntp │ │ │ │ - │ │ │ │ -class install_ntp { │ │ │ │ - package { 'ntp': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -4101,14 +4084,31 @@ │ │ │ │ - PCI-DSS-Req-10.4 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_ntp_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_ntp │ │ │ │ + │ │ │ │ +class install_ntp { │ │ │ │ + package { 'ntp': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "ntp" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -4142,31 +4142,14 @@ │ │ │ │ 4.4.2.4 │ │ │ │ References: _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a), AU-8(1)(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ _p_c_i_d_s_s_4 10.6.1, 10.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["ntp"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_ntp │ │ │ │ - │ │ │ │ -class enable_ntp { │ │ │ │ - service {'ntp': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -4210,14 +4193,31 @@ │ │ │ │ - PCI-DSSv4-10.6.1 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - service_ntp_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_ntp │ │ │ │ + │ │ │ │ +class enable_ntp { │ │ │ │ + service {'ntp': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["ntp"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -4255,31 +4255,14 @@ │ │ │ │ 4.4.2.4 │ │ │ │ References: _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a), AU-8(1)(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ _p_c_i_d_s_s_4 10.6.1, 10.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["systemd-timesyncd"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_systemd-timesyncd │ │ │ │ - │ │ │ │ -class enable_systemd-timesyncd { │ │ │ │ - service {'systemd-timesyncd': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -4325,14 +4308,31 @@ │ │ │ │ - PCI-DSSv4-10.6.1 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - service_timesyncd_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_systemd-timesyncd │ │ │ │ + │ │ │ │ +class enable_systemd-timesyncd { │ │ │ │ + service {'systemd-timesyncd': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["systemd-timesyncd"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -5237,31 +5237,14 @@ │ │ │ │ 000349-GPOS-00137, SRG-OS-000350-GPOS-00138, SRG-OS- │ │ │ │ 000351-GPOS-00139, SRG-OS-000352-GPOS-00140, SRG-OS- │ │ │ │ 000353-GPOS-00141, SRG-OS-000354-GPOS-00142, SRG-OS- │ │ │ │ 000358-GPOS-00145, SRG-OS-000365-GPOS-00152, SRG-OS- │ │ │ │ 000392-GPOS-00172, SRG-OS-000475-GPOS-00220 │ │ │ │ _a_n_s_s_i R33, R73 │ │ │ │ _p_c_i_d_s_s_4 10.2.1, 10.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "auditd" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_auditd │ │ │ │ - │ │ │ │ -class install_auditd { │ │ │ │ - package { 'auditd': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -5302,14 +5285,31 @@ │ │ │ │ - PCI-DSSv4-10.2.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_audit_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_auditd │ │ │ │ + │ │ │ │ +class install_auditd { │ │ │ │ + package { 'auditd': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "auditd" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -5385,31 +5385,14 @@ │ │ │ │ SRG-OS-000358-GPOS-00145, SRG-OS-000365-GPOS-00152, │ │ │ │ SRG-OS-000392-GPOS-00172, SRG-OS-000475-GPOS-00220 │ │ │ │ SRG-APP-000095-CTR-000170, SRG-APP-000409-CTR- │ │ │ │ _a_p_p_-_s_r_g_-_c_t_r 000990, SRG-APP-000508-CTR-001300, SRG-APP-000510- │ │ │ │ CTR-001310 │ │ │ │ _a_n_s_s_i R33, R73 │ │ │ │ _p_c_i_d_s_s_4 10.2.1, 10.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["auditd"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_auditd │ │ │ │ - │ │ │ │ -class enable_auditd { │ │ │ │ - service {'auditd': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -5475,14 +5458,31 @@ │ │ │ │ - PCI-DSSv4-10.2.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_auditd_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_auditd │ │ │ │ + │ │ │ │ +class enable_auditd { │ │ │ │ + service {'auditd': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["auditd"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ ├── ./usr/share/doc/ssg-debderived/ssg-ubuntu1604-guide-standard.html │ │ │ @@ -19807,127 +19807,127 @@ │ │ │ 0004d5e0: 6172 6765 743d 2223 6964 6d34 3733 3522 arget="#idm4735" │ │ │ 0004d5f0: 2074 6162 696e 6465 783d 2230 2220 726f tabindex="0" ro │ │ │ 0004d600: 6c65 3d22 6275 7474 6f6e 2220 6172 6961 le="button" aria │ │ │ 0004d610: 2d65 7870 616e 6465 643d 2266 616c 7365 -expanded="false │ │ │ 0004d620: 2220 7469 746c 653d 2241 6374 6976 6174 " title="Activat │ │ │ 0004d630: 6520 746f 2072 6576 6561 6c22 2068 7265 e to reveal" hre │ │ │ 0004d640: 663d 2223 2122 3e52 656d 6564 6961 7469 f="#!">Remediati │ │ │ -0004d650: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep │ │ │ -0004d660: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ... │ │ │ -0004d670: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
<
│ │ │ -0004d6b0: 636f 6465 3e0a 5b5b 7061 636b 6167 6573  code>.[[packages
│ │ │ -0004d6c0: 5d5d 0a6e 616d 6520 3d20 2272 7379 736c  ]].name = "rsysl
│ │ │ -0004d6d0: 6f67 220a 7665 7273 696f 6e20 3d20 222a  og".version = "*
│ │ │ -0004d6e0: 220a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  ".
< │ │ │ -0004d6f0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -0004d7a0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -0004d7b0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
Complexity │ │ │ -0004d840: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -0004d860: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -0004d870: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -0004d880: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -0004d890: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -0004d8b0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
include inst
│ │ │ -0004d8f0: 616c 6c5f 7273 7973 6c6f 670a 0a63 6c61  all_rsyslog..cla
│ │ │ -0004d900: 7373 2069 6e73 7461 6c6c 5f72 7379 736c  ss install_rsysl
│ │ │ -0004d910: 6f67 207b 0a20 2070 6163 6b61 6765 207b  og {.  package {
│ │ │ -0004d920: 2027 7273 7973 6c6f 6727 3a0a 2020 2020   'rsyslog':.    
│ │ │ -0004d930: 656e 7375 7265 203d 2667 743b 2027 696e  ensure => 'in
│ │ │ -0004d940: 7374 616c 6c65 6427 2c0a 2020 7d0a 7d0a  stalled',.  }.}.
│ │ │ -0004d950: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation An │ │ │ -0004da10: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -0004da20: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity: │ │ │ -0004dab0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -0004dad0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ -0004daf0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ -0004db20: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -0004db30: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ -0004db40: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ -0004db60: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ -0004db70: 6374 730a 2020 7061 636b 6167 655f 6661  cts.  package_fa
│ │ │ -0004db80: 6374 733a 0a20 2020 206d 616e 6167 6572  cts:.    manager
│ │ │ -0004db90: 3a20 6175 746f 0a20 2074 6167 733a 0a20  : auto.  tags:. 
│ │ │ -0004dba0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -0004dbb0: 4d2d 3628 6129 0a20 202d 2065 6e61 626c  M-6(a).  - enabl
│ │ │ -0004dbc0: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ -0004dbd0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ -0004dbe0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -0004dbf0: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ -0004dc00: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -0004dc10: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ -0004dc20: 636b 6167 655f 7273 7973 6c6f 675f 696e  ckage_rsyslog_in
│ │ │ -0004dc30: 7374 616c 6c65 640a 0a2d 206e 616d 653a  stalled..- name:
│ │ │ -0004dc40: 2045 6e73 7572 6520 7273 7973 6c6f 6720   Ensure rsyslog 
│ │ │ -0004dc50: 6973 2069 6e73 7461 6c6c 6564 0a20 2070  is installed.  p
│ │ │ -0004dc60: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65  ackage:.    name
│ │ │ -0004dc70: 3a20 7273 7973 6c6f 670a 2020 2020 7374  : rsyslog.    st
│ │ │ -0004dc80: 6174 653a 2070 7265 7365 6e74 0a20 2077  ate: present.  w
│ │ │ -0004dc90: 6865 6e3a 2027 226c 696e 7578 2d62 6173  hen: '"linux-bas
│ │ │ -0004dca0: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ -0004dcb0: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ -0004dcc0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ -0004dcd0: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ -0004dce0: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ -0004dcf0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -0004dd00: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -0004dd10: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ -0004dd20: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ -0004dd30: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -0004dd40: 0a20 202d 2070 6163 6b61 6765 5f72 7379  .  - package_rsy
│ │ │ -0004dd50: 736c 6f67 5f69 6e73 7461 6c6c 6564 0a3c  slog_installed.<
│ │ │ +0004d650: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070  on Ansible snipp
│ │ │ +0004d660: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64  et ...
│ │ │ +0004d6a0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ +0004d710: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +0004d730: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +0004d760: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ +0004d780: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ +0004d6f0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +0004d700: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +0004d740: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +0004d750: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
- name: │ │ │ +0004d7a0: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ +0004d7b0: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ +0004d7c0: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ +0004d7d0: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ +0004d7e0: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800 │ │ │ +0004d7f0: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). - │ │ │ +0004d800: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy. │ │ │ +0004d810: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi │ │ │ +0004d820: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru │ │ │ +0004d830: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium │ │ │ +0004d840: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no │ │ │ +0004d850: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed. │ │ │ +0004d860: 202d 2070 6163 6b61 6765 5f72 7379 736c - package_rsysl │ │ │ +0004d870: 6f67 5f69 6e73 7461 6c6c 6564 0a0a 2d20 og_installed..- │ │ │ +0004d880: 6e61 6d65 3a20 456e 7375 7265 2072 7379 name: Ensure rsy │ │ │ +0004d890: 736c 6f67 2069 7320 696e 7374 616c 6c65 slog is installe │ │ │ +0004d8a0: 640a 2020 7061 636b 6167 653a 0a20 2020 d. package:. │ │ │ +0004d8b0: 206e 616d 653a 2072 7379 736c 6f67 0a20 name: rsyslog. │ │ │ +0004d8c0: 2020 2073 7461 7465 3a20 7072 6573 656e state: presen │ │ │ +0004d8d0: 740a 2020 7768 656e 3a20 2722 6c69 6e75 t. when: '"linu │ │ │ +0004d8e0: 782d 6261 7365 2220 696e 2061 6e73 6962 x-base" in ansib │ │ │ +0004d8f0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package │ │ │ +0004d900: 7327 0a20 2074 6167 733a 0a20 202d 204e s'. tags:. - N │ │ │ +0004d910: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6( │ │ │ +0004d920: 6129 0a20 202d 2065 6e61 626c 655f 7374 a). - enable_st │ │ │ +0004d930: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c │ │ │ +0004d940: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo │ │ │ +0004d950: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. - │ │ │ +0004d960: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity │ │ │ +0004d970: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n │ │ │ +0004d980: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag │ │ │ +0004d990: 655f 7273 7973 6c6f 675f 696e 7374 616c e_rsyslog_instal │ │ │ +0004d9a0: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265 led.
Remediatio │ │ │ +0004da60: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ +0004da70: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
│ │ │ +0004daf0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +0004db00: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +0004db10: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +0004db50: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +0004db60: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +0004db80: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ +0004dba0: 3c63 6f64 653e 696e 636c 7564 6520 696e  include in
│ │ │ +0004dbb0: 7374 616c 6c5f 7273 7973 6c6f 670a 0a63  stall_rsyslog..c
│ │ │ +0004dbc0: 6c61 7373 2069 6e73 7461 6c6c 5f72 7379  lass install_rsy
│ │ │ +0004dbd0: 736c 6f67 207b 0a20 2070 6163 6b61 6765  slog {.  package
│ │ │ +0004dbe0: 207b 2027 7273 7973 6c6f 6727 3a0a 2020   { 'rsyslog':.  
│ │ │ +0004dbf0: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ +0004dc00: 696e 7374 616c 6c65 6427 2c0a 2020 7d0a  installed',.  }.
│ │ │ +0004dc10: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ +0004dc20: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +0004dcd0: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin │ │ │ +0004dce0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
.[[packages]].
│ │ │ +0004dd40: 6e61 6d65 203d 2022 7273 7973 6c6f 6722  name = "rsyslog"
│ │ │ +0004dd50: 0a76 6572 7369 6f6e 203d 2022 2a22 0a3c  .version = "*".<
│ │ │  0004dd60: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation │ │ │ -0004ef60: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ -0004ef70: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
.[customizati
│ │ │ -0004efd0: 6f6e 732e 7365 7276 6963 6573 5d0a 656e  ons.services].en
│ │ │ -0004efe0: 6162 6c65 6420 3d20 5b22 7273 7973 6c6f  abled = ["rsyslo
│ │ │ -0004eff0: 6722 5d0a 3c2f 636f 6465 3e3c 2f70 7265  g"].
Remediatio │ │ │ -0004f0b0: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ -0004f0c0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
│ │ │ -0004f140: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -0004f150: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -0004f160: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -0004f1a0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -0004f1b0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -0004f1d0: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ -0004f1f0: 3c63 6f64 653e 696e 636c 7564 6520 656e  include en
│ │ │ -0004f200: 6162 6c65 5f72 7379 736c 6f67 0a0a 636c  able_rsyslog..cl
│ │ │ -0004f210: 6173 7320 656e 6162 6c65 5f72 7379 736c  ass enable_rsysl
│ │ │ -0004f220: 6f67 207b 0a20 2073 6572 7669 6365 207b  og {.  service {
│ │ │ -0004f230: 2772 7379 736c 6f67 273a 0a20 2020 2065  'rsyslog':.    e
│ │ │ -0004f240: 6e61 626c 6520 3d26 6774 3b20 7472 7565  nable => true
│ │ │ -0004f250: 2c0a 2020 2020 656e 7375 7265 203d 2667  ,.    ensure =&g
│ │ │ -0004f260: 743b 2027 7275 6e6e 696e 6727 2c0a 2020  t; 'running',.  
│ │ │ -0004f270: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediatio │ │ │ -0004f330: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ -0004f340: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
< │ │ │ -0004f380: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -0004f390: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -0004f3a0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -0004f3b0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -0004f3c0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -0004f3d0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -0004f3e0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -0004f420: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -0004f430: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -0004f450: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ -0004f460: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ -0004f480: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ -0004f490: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ -0004f4a0: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ -0004f4b0: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ -0004f4c0: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ -0004f4d0: 3533 2d41 552d 3428 3129 0a20 202d 204e  53-AU-4(1).  - N
│ │ │ -0004f4e0: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -0004f4f0: 6129 0a20 202d 2065 6e61 626c 655f 7374  a).  - enable_st
│ │ │ -0004f500: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ -0004f510: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ -0004f520: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ -0004f530: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ -0004f540: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ -0004f550: 6565 6465 640a 2020 2d20 7365 7276 6963  eeded.  - servic
│ │ │ -0004f560: 655f 7273 7973 6c6f 675f 656e 6162 6c65  e_rsyslog_enable
│ │ │ -0004f570: 640a 0a2d 206e 616d 653a 2045 6e61 626c  d..- name: Enabl
│ │ │ -0004f580: 6520 7273 7973 6c6f 6720 5365 7276 6963  e rsyslog Servic
│ │ │ -0004f590: 6520 2d20 456e 6162 6c65 2073 6572 7669  e - Enable servi
│ │ │ -0004f5a0: 6365 2072 7379 736c 6f67 0a20 2062 6c6f  ce rsyslog.  blo
│ │ │ -0004f5b0: 636b 3a0a 0a20 202d 206e 616d 653a 2047  ck:..  - name: G
│ │ │ -0004f5c0: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ -0004f5d0: 6520 6661 6374 730a 2020 2020 7061 636b  e facts.    pack
│ │ │ -0004f5e0: 6167 655f 6661 6374 733a 0a20 2020 2020  age_facts:.     
│ │ │ -0004f5f0: 206d 616e 6167 6572 3a20 6175 746f 0a0a   manager: auto..
│ │ │ -0004f600: 2020 2d20 6e61 6d65 3a20 456e 6162 6c65    - name: Enable
│ │ │ -0004f610: 2072 7379 736c 6f67 2053 6572 7669 6365   rsyslog Service
│ │ │ -0004f620: 202d 2045 6e61 626c 6520 5365 7276 6963   - Enable Servic
│ │ │ -0004f630: 6520 7273 7973 6c6f 670a 2020 2020 616e  e rsyslog.    an
│ │ │ -0004f640: 7369 626c 652e 6275 696c 7469 6e2e 7379  sible.builtin.sy
│ │ │ -0004f650: 7374 656d 643a 0a20 2020 2020 206e 616d  stemd:.      nam
│ │ │ -0004f660: 653a 2072 7379 736c 6f67 0a20 2020 2020  e: rsyslog.     
│ │ │ -0004f670: 2065 6e61 626c 6564 3a20 7472 7565 0a20   enabled: true. 
│ │ │ -0004f680: 2020 2020 2073 7461 7465 3a20 7374 6172       state: star
│ │ │ -0004f690: 7465 640a 2020 2020 2020 6d61 736b 6564  ted.      masked
│ │ │ -0004f6a0: 3a20 6661 6c73 650a 2020 2020 7768 656e  : false.    when
│ │ │ -0004f6b0: 3a0a 2020 2020 2d20 2722 7273 7973 6c6f  :.    - '"rsyslo
│ │ │ -0004f6c0: 6722 2069 6e20 616e 7369 626c 655f 6661  g" in ansible_fa
│ │ │ -0004f6d0: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ -0004f6e0: 7768 656e 3a20 2722 6c69 6e75 782d 6261  when: '"linux-ba
│ │ │ -0004f6f0: 7365 2220 696e 2061 6e73 6962 6c65 5f66  se" in ansible_f
│ │ │ -0004f700: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ -0004f710: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ -0004f720: 3830 302d 3533 2d41 552d 3428 3129 0a20  800-53-AU-4(1). 
│ │ │ -0004f730: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -0004f740: 4d2d 3628 6129 0a20 202d 2065 6e61 626c  M-6(a).  - enabl
│ │ │ -0004f750: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ -0004f760: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ -0004f770: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -0004f780: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ -0004f790: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -0004f7a0: 6f74 5f6e 6565 6465 640a 2020 2d20 7365  ot_needed.  - se
│ │ │ -0004f7b0: 7276 6963 655f 7273 7973 6c6f 675f 656e  rvice_rsyslog_en
│ │ │ -0004f7c0: 6162 6c65 640a 3c2f 636f 6465 3e3c 2f70  abled.


│ │ │ +0004eff0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +0004f000: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +0004f010: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +0004f050: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +0004f060: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +0004f080: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ +0004f0a0: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761  - name: Ga
│ │ │ +0004f0b0: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ +0004f0c0: 2066 6163 7473 0a20 2070 6163 6b61 6765   facts.  package
│ │ │ +0004f0d0: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61  _facts:.    mana
│ │ │ +0004f0e0: 6765 723a 2061 7574 6f0a 2020 7461 6773  ger: auto.  tags
│ │ │ +0004f0f0: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ +0004f100: 332d 4155 2d34 2831 290a 2020 2d20 4e49  3-AU-4(1).  - NI
│ │ │ +0004f110: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +0004f120: 290a 2020 2d20 656e 6162 6c65 5f73 7472  ).  - enable_str
│ │ │ +0004f130: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ +0004f140: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +0004f150: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +0004f160: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ +0004f170: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ +0004f180: 6564 6564 0a20 202d 2073 6572 7669 6365  eded.  - service
│ │ │ +0004f190: 5f72 7379 736c 6f67 5f65 6e61 626c 6564  _rsyslog_enabled
│ │ │ +0004f1a0: 0a0a 2d20 6e61 6d65 3a20 456e 6162 6c65  ..- name: Enable
│ │ │ +0004f1b0: 2072 7379 736c 6f67 2053 6572 7669 6365   rsyslog Service
│ │ │ +0004f1c0: 202d 2045 6e61 626c 6520 7365 7276 6963   - Enable servic
│ │ │ +0004f1d0: 6520 7273 7973 6c6f 670a 2020 626c 6f63  e rsyslog.  bloc
│ │ │ +0004f1e0: 6b3a 0a0a 2020 2d20 6e61 6d65 3a20 4761  k:..  - name: Ga
│ │ │ +0004f1f0: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ +0004f200: 2066 6163 7473 0a20 2020 2070 6163 6b61   facts.    packa
│ │ │ +0004f210: 6765 5f66 6163 7473 3a0a 2020 2020 2020  ge_facts:.      
│ │ │ +0004f220: 6d61 6e61 6765 723a 2061 7574 6f0a 0a20  manager: auto.. 
│ │ │ +0004f230: 202d 206e 616d 653a 2045 6e61 626c 6520   - name: Enable 
│ │ │ +0004f240: 7273 7973 6c6f 6720 5365 7276 6963 6520  rsyslog Service 
│ │ │ +0004f250: 2d20 456e 6162 6c65 2053 6572 7669 6365  - Enable Service
│ │ │ +0004f260: 2072 7379 736c 6f67 0a20 2020 2061 6e73   rsyslog.    ans
│ │ │ +0004f270: 6962 6c65 2e62 7569 6c74 696e 2e73 7973  ible.builtin.sys
│ │ │ +0004f280: 7465 6d64 3a0a 2020 2020 2020 6e61 6d65  temd:.      name
│ │ │ +0004f290: 3a20 7273 7973 6c6f 670a 2020 2020 2020  : rsyslog.      
│ │ │ +0004f2a0: 656e 6162 6c65 643a 2074 7275 650a 2020  enabled: true.  
│ │ │ +0004f2b0: 2020 2020 7374 6174 653a 2073 7461 7274      state: start
│ │ │ +0004f2c0: 6564 0a20 2020 2020 206d 6173 6b65 643a  ed.      masked:
│ │ │ +0004f2d0: 2066 616c 7365 0a20 2020 2077 6865 6e3a   false.    when:
│ │ │ +0004f2e0: 0a20 2020 202d 2027 2272 7379 736c 6f67  .    - '"rsyslog
│ │ │ +0004f2f0: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ +0004f300: 7473 2e70 6163 6b61 6765 7327 0a20 2077  ts.packages'.  w
│ │ │ +0004f310: 6865 6e3a 2027 226c 696e 7578 2d62 6173  hen: '"linux-bas
│ │ │ +0004f320: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ +0004f330: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ +0004f340: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ +0004f350: 3030 2d35 332d 4155 2d34 2831 290a 2020  00-53-AU-4(1).  
│ │ │ +0004f360: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +0004f370: 2d36 2861 290a 2020 2d20 656e 6162 6c65  -6(a).  - enable
│ │ │ +0004f380: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ +0004f390: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ +0004f3a0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ +0004f3b0: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ +0004f3c0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ +0004f3d0: 745f 6e65 6564 6564 0a20 202d 2073 6572  t_needed.  - ser
│ │ │ +0004f3e0: 7669 6365 5f72 7379 736c 6f67 5f65 6e61  vice_rsyslog_ena
│ │ │ +0004f3f0: 626c 6564 0a3c 2f63 6f64 653e 3c2f 7072  bled.
Remediati │ │ │ +0004f4b0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ +0004f4c0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
< │ │ │ +0004f500: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +0004f510: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +0004f520: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +0004f530: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +0004f540: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +0004f550: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +0004f560: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +0004f5a0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +0004f5b0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +0004f5d0: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ +0004f5e0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include e
│ │ │ +0004f600: 6e61 626c 655f 7273 7973 6c6f 670a 0a63  nable_rsyslog..c
│ │ │ +0004f610: 6c61 7373 2065 6e61 626c 655f 7273 7973  lass enable_rsys
│ │ │ +0004f620: 6c6f 6720 7b0a 2020 7365 7276 6963 6520  log {.  service 
│ │ │ +0004f630: 7b27 7273 7973 6c6f 6727 3a0a 2020 2020  {'rsyslog':.    
│ │ │ +0004f640: 656e 6162 6c65 203d 2667 743b 2074 7275  enable => tru
│ │ │ +0004f650: 652c 0a20 2020 2065 6e73 7572 6520 3d26  e,.    ensure =&
│ │ │ +0004f660: 6774 3b20 2772 756e 6e69 6e67 272c 0a20  gt; 'running',. 
│ │ │ +0004f670: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.
Remediati │ │ │ +0004f730: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep │ │ │ +0004f740: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ... │ │ │ +0004f750: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
<
│ │ │ +0004f790: 636f 6465 3e0a 5b63 7573 746f 6d69 7a61  code>.[customiza
│ │ │ +0004f7a0: 7469 6f6e 732e 7365 7276 6963 6573 5d0a  tions.services].
│ │ │ +0004f7b0: 656e 6162 6c65 6420 3d20 5b22 7273 7973  enabled = ["rsys
│ │ │ +0004f7c0: 6c6f 6722 5d0a 3c2f 636f 6465 3e3c 2f70  log"].

Remediation OS │ │ │ -0006d980: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint │ │ │ -0006d990: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -0006d9a0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>

│ │ │ -0006d9e0: 0a5b 5b70 6163 6b61 6765 735d 5d0a 6e61  .[[packages]].na
│ │ │ -0006d9f0: 6d65 203d 2022 6372 6f6e 220a 7665 7273  me = "cron".vers
│ │ │ -0006da00: 696f 6e20 3d20 222a 220a 3c2f 636f 6465  ion = "*".
Reme │ │ │ -0006dac0: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -0006dad0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
low< │ │ │ -0006db80: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -0006dbd0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ -0006db60: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -0006db90: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -0006dbb0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -0006dbc0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -0006dbe0: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ -0006dbf0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -0006dc10: 7564 6520 696e 7374 616c 6c5f 6372 6f6e  ude install_cron
│ │ │ -0006dc20: 0a0a 636c 6173 7320 696e 7374 616c 6c5f  ..class install_
│ │ │ -0006dc30: 6372 6f6e 207b 0a20 2070 6163 6b61 6765  cron {.  package
│ │ │ -0006dc40: 207b 2027 6372 6f6e 273a 0a20 2020 2065   { 'cron':.    e
│ │ │ -0006dc50: 6e73 7572 6520 3d26 6774 3b20 2769 6e73  nsure => 'ins
│ │ │ -0006dc60: 7461 6c6c 6564 272c 0a20 207d 0a7d 0a3c  talled',.  }.}.<
│ │ │ -0006dc70: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Ans │ │ │ -0006dd30: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -0006dd40: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ -0006ddc0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -0006dde0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -0006de30: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ -0006de60: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Gather
│ │ │ -0006de80: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ -0006de90: 7473 0a20 2070 6163 6b61 6765 5f66 6163  ts.  package_fac
│ │ │ -0006dea0: 7473 3a0a 2020 2020 6d61 6e61 6765 723a  ts:.    manager:
│ │ │ -0006deb0: 2061 7574 6f0a 2020 7461 6773 3a0a 2020   auto.  tags:.  
│ │ │ -0006dec0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -0006ded0: 2d36 2861 290a 2020 2d20 5043 492d 4453  -6(a).  - PCI-DS
│ │ │ -0006dee0: 5376 342d 322e 320a 2020 2d20 5043 492d  Sv4-2.2.  - PCI-
│ │ │ -0006def0: 4453 5376 342d 322e 322e 360a 2020 2d20  DSSv4-2.2.6.  - 
│ │ │ -0006df00: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ -0006df10: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -0006df20: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -0006df30: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -0006df40: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -0006df50: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -0006df60: 202d 2070 6163 6b61 6765 5f63 726f 6e5f   - package_cron_
│ │ │ -0006df70: 696e 7374 616c 6c65 640a 0a2d 206e 616d  installed..- nam
│ │ │ -0006df80: 653a 2045 6e73 7572 6520 6372 6f6e 2069  e: Ensure cron i
│ │ │ -0006df90: 7320 696e 7374 616c 6c65 640a 2020 7061  s installed.  pa
│ │ │ -0006dfa0: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ -0006dfb0: 2063 726f 6e0a 2020 2020 7374 6174 653a   cron.    state:
│ │ │ -0006dfc0: 2070 7265 7365 6e74 0a20 2077 6865 6e3a   present.  when:
│ │ │ -0006dfd0: 2027 226c 696e 7578 2d62 6173 6522 2069   '"linux-base" i
│ │ │ -0006dfe0: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ -0006dff0: 7061 636b 6167 6573 270a 2020 7461 6773  packages'.  tags
│ │ │ -0006e000: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ -0006e010: 332d 434d 2d36 2861 290a 2020 2d20 5043  3-CM-6(a).  - PC
│ │ │ -0006e020: 492d 4453 5376 342d 322e 320a 2020 2d20  I-DSSv4-2.2.  - 
│ │ │ -0006e030: 5043 492d 4453 5376 342d 322e 322e 360a  PCI-DSSv4-2.2.6.
│ │ │ -0006e040: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -0006e050: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -0006e060: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -0006e070: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -0006e080: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -0006e090: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -0006e0a0: 6564 0a20 202d 2070 6163 6b61 6765 5f63  ed.  - package_c
│ │ │ -0006e0b0: 726f 6e5f 696e 7374 616c 6c65 640a 3c2f  ron_installed.Remediation An
│ │ │ +0006d980: 7369 626c 6520 736e 6970 7065 7420 e287  sible snippet ..
│ │ │ +0006d990: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c  .
low< │ │ │ +0006da60: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr> │ │ │ +0006dab0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -0006ddd0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -0006ddf0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -0006de40: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ -0006de50: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
Complexity: │ │ │ +0006da20: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ +0006da40: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ +0006da90: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +0006daa0: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
- name: Gathe
│ │ │ +0006dad0: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ +0006dae0: 6374 730a 2020 7061 636b 6167 655f 6661  cts.  package_fa
│ │ │ +0006daf0: 6374 733a 0a20 2020 206d 616e 6167 6572  cts:.    manager
│ │ │ +0006db00: 3a20 6175 746f 0a20 2074 6167 733a 0a20  : auto.  tags:. 
│ │ │ +0006db10: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +0006db20: 4d2d 3628 6129 0a20 202d 2050 4349 2d44  M-6(a).  - PCI-D
│ │ │ +0006db30: 5353 7634 2d32 2e32 0a20 202d 2050 4349  SSv4-2.2.  - PCI
│ │ │ +0006db40: 2d44 5353 7634 2d32 2e32 2e36 0a20 202d  -DSSv4-2.2.6.  -
│ │ │ +0006db50: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ +0006db60: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +0006db70: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +0006db80: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +0006db90: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +0006dba0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +0006dbb0: 2020 2d20 7061 636b 6167 655f 6372 6f6e    - package_cron
│ │ │ +0006dbc0: 5f69 6e73 7461 6c6c 6564 0a0a 2d20 6e61  _installed..- na
│ │ │ +0006dbd0: 6d65 3a20 456e 7375 7265 2063 726f 6e20  me: Ensure cron 
│ │ │ +0006dbe0: 6973 2069 6e73 7461 6c6c 6564 0a20 2070  is installed.  p
│ │ │ +0006dbf0: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65  ackage:.    name
│ │ │ +0006dc00: 3a20 6372 6f6e 0a20 2020 2073 7461 7465  : cron.    state
│ │ │ +0006dc10: 3a20 7072 6573 656e 740a 2020 7768 656e  : present.  when
│ │ │ +0006dc20: 3a20 2722 6c69 6e75 782d 6261 7365 2220  : '"linux-base" 
│ │ │ +0006dc30: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +0006dc40: 2e70 6163 6b61 6765 7327 0a20 2074 6167  .packages'.  tag
│ │ │ +0006dc50: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +0006dc60: 3533 2d43 4d2d 3628 6129 0a20 202d 2050  53-CM-6(a).  - P
│ │ │ +0006dc70: 4349 2d44 5353 7634 2d32 2e32 0a20 202d  CI-DSSv4-2.2.  -
│ │ │ +0006dc80: 2050 4349 2d44 5353 7634 2d32 2e32 2e36   PCI-DSSv4-2.2.6
│ │ │ +0006dc90: 0a20 202d 2065 6e61 626c 655f 7374 7261  .  - enable_stra
│ │ │ +0006dca0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +0006dcb0: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +0006dcc0: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ +0006dcd0: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ +0006dce0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +0006dcf0: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ +0006dd00: 6372 6f6e 5f69 6e73 7461 6c6c 6564 0a3c  cron_installed.<
│ │ │ +0006dd10: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pup │ │ │ +0006ddd0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ +0006dde0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
< │ │ │ +0006de60: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +0006de80: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +0006ded0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
include install
│ │ │ +0006df20: 5f63 726f 6e0a 0a63 6c61 7373 2069 6e73  _cron..class ins
│ │ │ +0006df30: 7461 6c6c 5f63 726f 6e20 7b0a 2020 7061  tall_cron {.  pa
│ │ │ +0006df40: 636b 6167 6520 7b20 2763 726f 6e27 3a0a  ckage { 'cron':.
│ │ │ +0006df50: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +0006df60: 2027 696e 7374 616c 6c65 6427 2c0a 2020   'installed',.  
│ │ │ +0006df70: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediatio │ │ │ +0006e030: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr │ │ │ +0006e040: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...< │ │ │ +0006e050: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
.[[packages]
│ │ │ +0006e0a0: 5d0a 6e61 6d65 203d 2022 6372 6f6e 220a  ].name = "cron".
│ │ │ +0006e0b0: 7665 7273 696f 6e20 3d20 222a 220a 3c2f  version = "*".
Remediation OS │ │ │ -0006f270: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint │ │ │ -0006f280: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -0006f290: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>

│ │ │ -0006f2d0: 0a5b 6375 7374 6f6d 697a 6174 696f 6e73  .[customizations
│ │ │ -0006f2e0: 2e73 6572 7669 6365 735d 0a65 6e61 626c  .services].enabl
│ │ │ -0006f2f0: 6564 203d 205b 2263 726f 6e22 5d0a 3c2f  ed = ["cron"].
│ │ │ -0006f3b0: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ -0006f3c0: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
low
Disr │ │ │ +0006de90: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +0006dea0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +0006dee0: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ +0006def0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complexity: │ │ │ -0006f4a0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -0006f4b0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ -0006f500: 696e 636c 7564 6520 656e 6162 6c65 5f63  include enable_c
│ │ │ -0006f510: 726f 6e0a 0a63 6c61 7373 2065 6e61 626c  ron..class enabl
│ │ │ -0006f520: 655f 6372 6f6e 207b 0a20 2073 6572 7669  e_cron {.  servi
│ │ │ -0006f530: 6365 207b 2763 726f 6e27 3a0a 2020 2020  ce {'cron':.    
│ │ │ -0006f540: 656e 6162 6c65 203d 2667 743b 2074 7275  enable => tru
│ │ │ -0006f550: 652c 0a20 2020 2065 6e73 7572 6520 3d26  e,.    ensure =&
│ │ │ -0006f560: 6774 3b20 2772 756e 6e69 6e67 272c 0a20  gt; 'running',. 
│ │ │ -0006f570: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.Remediati
│ │ │ -0006f630: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070  on Ansible snipp
│ │ │ -0006f640: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64  et ...
│ │ │ -0006f680: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
low
Disru │ │ │ -0006f480: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -0006f490: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -0006f4d0: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ -0006f4e0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
< │ │ │ -0006f6f0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -0006f710: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -0006f740: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -0006f760: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -0006f6d0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -0006f6e0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -0006f720: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -0006f730: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
- name: │ │ │ -0006f780: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ -0006f790: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ -0006f7a0: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ -0006f7b0: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ -0006f7c0: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800 │ │ │ -0006f7d0: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). - │ │ │ -0006f7e0: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy. │ │ │ -0006f7f0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi │ │ │ -0006f800: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru │ │ │ -0006f810: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium │ │ │ -0006f820: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no │ │ │ -0006f830: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed. │ │ │ -0006f840: 202d 2073 6572 7669 6365 5f63 726f 6e5f - service_cron_ │ │ │ -0006f850: 656e 6162 6c65 640a 0a2d 206e 616d 653a enabled..- name: │ │ │ -0006f860: 2045 6e61 626c 6520 6372 6f6e 2053 6572 Enable cron Ser │ │ │ -0006f870: 7669 6365 202d 2045 6e61 626c 6520 7365 vice - Enable se │ │ │ -0006f880: 7276 6963 6520 6372 6f6e 0a20 2062 6c6f rvice cron. blo │ │ │ -0006f890: 636b 3a0a 0a20 202d 206e 616d 653a 2047 ck:.. - name: G │ │ │ -0006f8a0: 6174 6865 7220 7468 6520 7061 636b 6167 ather the packag │ │ │ -0006f8b0: 6520 6661 6374 730a 2020 2020 7061 636b e facts. pack │ │ │ -0006f8c0: 6167 655f 6661 6374 733a 0a20 2020 2020 age_facts:. │ │ │ -0006f8d0: 206d 616e 6167 6572 3a20 6175 746f 0a0a manager: auto.. │ │ │ -0006f8e0: 2020 2d20 6e61 6d65 3a20 456e 6162 6c65 - name: Enable │ │ │ -0006f8f0: 2063 726f 6e20 5365 7276 6963 6520 2d20 cron Service - │ │ │ -0006f900: 456e 6162 6c65 2053 6572 7669 6365 2063 Enable Service c │ │ │ -0006f910: 726f 6e0a 2020 2020 616e 7369 626c 652e ron. ansible. │ │ │ -0006f920: 6275 696c 7469 6e2e 7379 7374 656d 643a builtin.systemd: │ │ │ -0006f930: 0a20 2020 2020 206e 616d 653a 2063 726f . name: cro │ │ │ -0006f940: 6e0a 2020 2020 2020 656e 6162 6c65 643a n. enabled: │ │ │ -0006f950: 2074 7275 650a 2020 2020 2020 7374 6174 true. stat │ │ │ -0006f960: 653a 2073 7461 7274 6564 0a20 2020 2020 e: started. │ │ │ -0006f970: 206d 6173 6b65 643a 2066 616c 7365 0a20 masked: false. │ │ │ -0006f980: 2020 2077 6865 6e3a 0a20 2020 202d 2027 when:. - ' │ │ │ -0006f990: 2263 726f 6e22 2069 6e20 616e 7369 626c "cron" in ansibl │ │ │ -0006f9a0: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages │ │ │ -0006f9b0: 270a 2020 7768 656e 3a20 2722 6c69 6e75 '. when: '"linu │ │ │ -0006f9c0: 782d 6261 7365 2220 696e 2061 6e73 6962 x-base" in ansib │ │ │ -0006f9d0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package │ │ │ -0006f9e0: 7327 0a20 2074 6167 733a 0a20 202d 204e s'. tags:. - N │ │ │ -0006f9f0: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6( │ │ │ -0006fa00: 6129 0a20 202d 2065 6e61 626c 655f 7374 a). - enable_st │ │ │ -0006fa10: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c │ │ │ -0006fa20: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo │ │ │ -0006fa30: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. - │ │ │ -0006fa40: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity │ │ │ -0006fa50: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n │ │ │ -0006fa60: 6565 6465 640a 2020 2d20 7365 7276 6963 eeded. - servic │ │ │ -0006fa70: 655f 6372 6f6e 5f65 6e61 626c 6564 0a3c e_cron_enabled.< │ │ │ +0006f260: 223e 5265 6d65 6469 6174 696f 6e20 416e ">Remediation An │ │ │ +0006f270: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ +0006f280: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity: │ │ │ +0006f310: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +0006f330: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +0006f350: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +0006f380: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +0006f390: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ +0006f3a0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ +0006f3c0: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ +0006f3d0: 6374 730a 2020 7061 636b 6167 655f 6661  cts.  package_fa
│ │ │ +0006f3e0: 6374 733a 0a20 2020 206d 616e 6167 6572  cts:.    manager
│ │ │ +0006f3f0: 3a20 6175 746f 0a20 2074 6167 733a 0a20  : auto.  tags:. 
│ │ │ +0006f400: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +0006f410: 4d2d 3628 6129 0a20 202d 2065 6e61 626c  M-6(a).  - enabl
│ │ │ +0006f420: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ +0006f430: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +0006f440: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +0006f450: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ +0006f460: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +0006f470: 6f74 5f6e 6565 6465 640a 2020 2d20 7365  ot_needed.  - se
│ │ │ +0006f480: 7276 6963 655f 6372 6f6e 5f65 6e61 626c  rvice_cron_enabl
│ │ │ +0006f490: 6564 0a0a 2d20 6e61 6d65 3a20 456e 6162  ed..- name: Enab
│ │ │ +0006f4a0: 6c65 2063 726f 6e20 5365 7276 6963 6520  le cron Service 
│ │ │ +0006f4b0: 2d20 456e 6162 6c65 2073 6572 7669 6365  - Enable service
│ │ │ +0006f4c0: 2063 726f 6e0a 2020 626c 6f63 6b3a 0a0a   cron.  block:..
│ │ │ +0006f4d0: 2020 2d20 6e61 6d65 3a20 4761 7468 6572    - name: Gather
│ │ │ +0006f4e0: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ +0006f4f0: 7473 0a20 2020 2070 6163 6b61 6765 5f66  ts.    package_f
│ │ │ +0006f500: 6163 7473 3a0a 2020 2020 2020 6d61 6e61  acts:.      mana
│ │ │ +0006f510: 6765 723a 2061 7574 6f0a 0a20 202d 206e  ger: auto..  - n
│ │ │ +0006f520: 616d 653a 2045 6e61 626c 6520 6372 6f6e  ame: Enable cron
│ │ │ +0006f530: 2053 6572 7669 6365 202d 2045 6e61 626c   Service - Enabl
│ │ │ +0006f540: 6520 5365 7276 6963 6520 6372 6f6e 0a20  e Service cron. 
│ │ │ +0006f550: 2020 2061 6e73 6962 6c65 2e62 7569 6c74     ansible.built
│ │ │ +0006f560: 696e 2e73 7973 7465 6d64 3a0a 2020 2020  in.systemd:.    
│ │ │ +0006f570: 2020 6e61 6d65 3a20 6372 6f6e 0a20 2020    name: cron.   
│ │ │ +0006f580: 2020 2065 6e61 626c 6564 3a20 7472 7565     enabled: true
│ │ │ +0006f590: 0a20 2020 2020 2073 7461 7465 3a20 7374  .      state: st
│ │ │ +0006f5a0: 6172 7465 640a 2020 2020 2020 6d61 736b  arted.      mask
│ │ │ +0006f5b0: 6564 3a20 6661 6c73 650a 2020 2020 7768  ed: false.    wh
│ │ │ +0006f5c0: 656e 3a0a 2020 2020 2d20 2722 6372 6f6e  en:.    - '"cron
│ │ │ +0006f5d0: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ +0006f5e0: 7473 2e70 6163 6b61 6765 7327 0a20 2077  ts.packages'.  w
│ │ │ +0006f5f0: 6865 6e3a 2027 226c 696e 7578 2d62 6173  hen: '"linux-bas
│ │ │ +0006f600: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ +0006f610: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ +0006f620: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ +0006f630: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ +0006f640: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ +0006f650: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +0006f660: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +0006f670: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ +0006f680: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ +0006f690: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +0006f6a0: 0a20 202d 2073 6572 7669 6365 5f63 726f  .  - service_cro
│ │ │ +0006f6b0: 6e5f 656e 6162 6c65 640a 3c2f 636f 6465  n_enabled.
Reme │ │ │ +0006f770: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ +0006f780: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
low< │ │ │ +0006f830: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +0006f880: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ +0006f810: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +0006f840: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +0006f860: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +0006f870: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +0006f890: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ +0006f8a0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +0006f8c0: 7564 6520 656e 6162 6c65 5f63 726f 6e0a  ude enable_cron.
│ │ │ +0006f8d0: 0a63 6c61 7373 2065 6e61 626c 655f 6372  .class enable_cr
│ │ │ +0006f8e0: 6f6e 207b 0a20 2073 6572 7669 6365 207b  on {.  service {
│ │ │ +0006f8f0: 2763 726f 6e27 3a0a 2020 2020 656e 6162  'cron':.    enab
│ │ │ +0006f900: 6c65 203d 2667 743b 2074 7275 652c 0a20  le => true,. 
│ │ │ +0006f910: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ +0006f920: 2772 756e 6e69 6e67 272c 0a20 207d 0a7d  'running',.  }.}
│ │ │ +0006f930: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation O │ │ │ +0006f9f0: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint │ │ │ +0006fa00: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +0006fa10: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.[customization
│ │ │ +0006fa60: 732e 7365 7276 6963 6573 5d0a 656e 6162  s.services].enab
│ │ │ +0006fa70: 6c65 6420 3d20 5b22 6372 6f6e 225d 0a3c  led = ["cron"].<
│ │ │  0006fa80: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remedi │ │ │ -00071050: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ -00071060: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -00071070: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Comp │ │ │ -000710f0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -00071100: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -00071120: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -00071140: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -00071150: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ -00071190: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -000711a0: 6465 2072 656d 6f76 655f 696e 6574 7574  de remove_inetut
│ │ │ -000711b0: 696c 732d 7465 6c6e 6574 640a 0a63 6c61  ils-telnetd..cla
│ │ │ -000711c0: 7373 2072 656d 6f76 655f 696e 6574 7574  ss remove_inetut
│ │ │ -000711d0: 696c 732d 7465 6c6e 6574 6420 7b0a 2020  ils-telnetd {.  
│ │ │ -000711e0: 7061 636b 6167 6520 7b20 2769 6e65 7475  package { 'inetu
│ │ │ -000711f0: 7469 6c73 2d74 656c 6e65 7464 273a 0a20  tils-telnetd':. 
│ │ │ -00071200: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ -00071210: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a  'purged',.  }.}.
│ │ │ -00071220: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation An │ │ │ -000712e0: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -000712f0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity: │ │ │ -00071380: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -000713a0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ -000713c0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ -000713f0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -00071400: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Ensu
│ │ │ -00071430: 7265 2069 6e65 7475 7469 6c73 2d74 656c  re inetutils-tel
│ │ │ -00071440: 6e65 7464 2069 7320 7265 6d6f 7665 640a  netd is removed.
│ │ │ -00071450: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ -00071460: 616d 653a 2069 6e65 7475 7469 6c73 2d74  ame: inetutils-t
│ │ │ -00071470: 656c 6e65 7464 0a20 2020 2073 7461 7465  elnetd.    state
│ │ │ -00071480: 3a20 6162 7365 6e74 0a20 2074 6167 733a  : absent.  tags:
│ │ │ -00071490: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -000714a0: 2d43 4d2d 3628 6129 0a20 202d 204e 4953  -CM-6(a).  - NIS
│ │ │ -000714b0: 542d 3830 302d 3533 2d43 4d2d 3728 6129  T-800-53-CM-7(a)
│ │ │ -000714c0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -000714d0: 2d43 4d2d 3728 6229 0a20 202d 2064 6973  -CM-7(b).  - dis
│ │ │ -000714e0: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -000714f0: 2d20 6869 6768 5f73 6576 6572 6974 790a  - high_severity.
│ │ │ -00071500: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -00071510: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -00071520: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562  ption.  - no_reb
│ │ │ -00071530: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ -00071540: 6163 6b61 6765 5f69 6e65 7475 7469 6c73  ackage_inetutils
│ │ │ -00071550: 2d74 656c 6e65 7464 5f72 656d 6f76 6564  -telnetd_removed
│ │ │ +00071050: 6174 696f 6e20 416e 7369 626c 6520 736e  ation Ansible sn
│ │ │ +00071060: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
Com │ │ │ +000710f0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +00071120: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +00071140: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +00071150: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +00071170: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +00071180: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +000711a0: 6d65 3a20 456e 7375 7265 2069 6e65 7475  me: Ensure inetu
│ │ │ +000711b0: 7469 6c73 2d74 656c 6e65 7464 2069 7320  tils-telnetd is 
│ │ │ +000711c0: 7265 6d6f 7665 640a 2020 7061 636b 6167  removed.  packag
│ │ │ +000711d0: 653a 0a20 2020 206e 616d 653a 2069 6e65  e:.    name: ine
│ │ │ +000711e0: 7475 7469 6c73 2d74 656c 6e65 7464 0a20  tutils-telnetd. 
│ │ │ +000711f0: 2020 2073 7461 7465 3a20 6162 7365 6e74     state: absent
│ │ │ +00071200: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ +00071210: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ +00071220: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +00071230: 2d43 4d2d 3728 6129 0a20 202d 204e 4953  -CM-7(a).  - NIS
│ │ │ +00071240: 542d 3830 302d 3533 2d43 4d2d 3728 6229  T-800-53-CM-7(b)
│ │ │ +00071250: 0a20 202d 2064 6973 6162 6c65 5f73 7472  .  - disable_str
│ │ │ +00071260: 6174 6567 790a 2020 2d20 6869 6768 5f73  ategy.  - high_s
│ │ │ +00071270: 6576 6572 6974 790a 2020 2d20 6c6f 775f  everity.  - low_
│ │ │ +00071280: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ +00071290: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ +000712a0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +000712b0: 6564 0a20 202d 2070 6163 6b61 6765 5f69  ed.  - package_i
│ │ │ +000712c0: 6e65 7475 7469 6c73 2d74 656c 6e65 7464  netutils-telnetd
│ │ │ +000712d0: 5f72 656d 6f76 6564 0a3c 2f63 6f64 653e  _removed.
│ │ │ +000712e0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Remed │ │ │ +00071390: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ +000713a0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Com │ │ │ +00071430: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +00071460: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +00071480: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +00071490: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +000714b0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +000714c0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +000714e0: 7564 6520 7265 6d6f 7665 5f69 6e65 7475  ude remove_inetu
│ │ │ +000714f0: 7469 6c73 2d74 656c 6e65 7464 0a0a 636c  tils-telnetd..cl
│ │ │ +00071500: 6173 7320 7265 6d6f 7665 5f69 6e65 7475  ass remove_inetu
│ │ │ +00071510: 7469 6c73 2d74 656c 6e65 7464 207b 0a20  tils-telnetd {. 
│ │ │ +00071520: 2070 6163 6b61 6765 207b 2027 696e 6574   package { 'inet
│ │ │ +00071530: 7574 696c 732d 7465 6c6e 6574 6427 3a0a  utils-telnetd':.
│ │ │ +00071540: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +00071550: 2027 7075 7267 6564 272c 0a20 207d 0a7d   'purged',.  }.}
│ │ │  00071560: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation Pu │ │ │ -00071f00: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ -00071f10: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ -00071f90: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -00071fb0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -00072000: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -00072030: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -00071fa0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -00071fc0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -00072010: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -00072020: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ -00072050: 655f 6e69 730a 0a63 6c61 7373 2072 656d  e_nis..class rem
│ │ │ -00072060: 6f76 655f 6e69 7320 7b0a 2020 7061 636b  ove_nis {.  pack
│ │ │ -00072070: 6167 6520 7b20 276e 6973 273a 0a20 2020  age { 'nis':.   
│ │ │ -00072080: 2065 6e73 7572 6520 3d26 6774 3b20 2770   ensure => 'p
│ │ │ -00072090: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f  urged',.  }.}.
│ │ │ -00072150: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi │ │ │ -00072160: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...< │ │ │ -00072170: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
< │ │ │ -000721f0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -00072210: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -00072260: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ -00072290: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Ensure
│ │ │ -000722b0: 206e 6973 2069 7320 7265 6d6f 7665 640a   nis is removed.
│ │ │ -000722c0: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ -000722d0: 616d 653a 206e 6973 0a20 2020 2073 7461  ame: nis.    sta
│ │ │ -000722e0: 7465 3a20 6162 7365 6e74 0a20 2074 6167  te: absent.  tag
│ │ │ -000722f0: 733a 0a20 202d 2064 6973 6162 6c65 5f73  s:.  - disable_s
│ │ │ -00072300: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ -00072310: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -00072320: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -00072330: 2d20 6c6f 775f 7365 7665 7269 7479 0a20  - low_severity. 
│ │ │ -00072340: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -00072350: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ -00072360: 6e69 735f 7265 6d6f 7665 640a 3c2f 636f  nis_removed.Remediation An
│ │ │ +00071f00: 7369 626c 6520 736e 6970 7065 7420 e287  sible snippet ..
│ │ │ +00071f10: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c  .
low< │ │ │ +00071fe0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>
low
Disr │ │ │ -00072220: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -00072230: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -00072270: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ -00072280: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
Complexity: │ │ │ +00071fa0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ +00071fc0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ +00072010: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +00072020: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Ensu
│ │ │ +00072050: 7265 206e 6973 2069 7320 7265 6d6f 7665  re nis is remove
│ │ │ +00072060: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ +00072070: 206e 616d 653a 206e 6973 0a20 2020 2073   name: nis.    s
│ │ │ +00072080: 7461 7465 3a20 6162 7365 6e74 0a20 2074  tate: absent.  t
│ │ │ +00072090: 6167 733a 0a20 202d 2064 6973 6162 6c65  ags:.  - disable
│ │ │ +000720a0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ +000720b0: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ +000720c0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ +000720d0: 2020 2d20 6c6f 775f 7365 7665 7269 7479    - low_severity
│ │ │ +000720e0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +000720f0: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ +00072100: 655f 6e69 735f 7265 6d6f 7665 640a 3c2f  e_nis_removed.
│ │ │ +000721c0: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ +000721d0: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
Complexity: │ │ │ +000722b0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +000722c0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ +00072320: 6e69 730a 0a63 6c61 7373 2072 656d 6f76  nis..class remov
│ │ │ +00072330: 655f 6e69 7320 7b0a 2020 7061 636b 6167  e_nis {.  packag
│ │ │ +00072340: 6520 7b20 276e 6973 273a 0a20 2020 2065  e { 'nis':.    e
│ │ │ +00072350: 6e73 7572 6520 3d26 6774 3b20 2770 7572  nsure => 'pur
│ │ │ +00072360: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ged',.  }.}.
< │ │ │ 00072380: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 00072390: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 000723a0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 000723b0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 000723c0: 646d 3936 3436 2220 7461 6269 6e64 6578 dm9646" tabindex │ │ │ 000723d0: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ @@ -29385,87 +29385,87 @@ │ │ │ 00072c80: 6574 3d22 2369 646d 3936 3533 2220 7461 et="#idm9653" ta │ │ │ 00072c90: 6269 6e64 6578 3d22 3022 2072 6f6c 653d bindex="0" role= │ │ │ 00072ca0: 2262 7574 746f 6e22 2061 7269 612d 6578 "button" aria-ex │ │ │ 00072cb0: 7061 6e64 6564 3d22 6661 6c73 6522 2074 panded="false" t │ │ │ 00072cc0: 6974 6c65 3d22 4163 7469 7661 7465 2074 itle="Activate t │ │ │ 00072cd0: 6f20 7265 7665 616c 2220 6872 6566 3d22 o reveal" href=" │ │ │ 00072ce0: 2321 223e 5265 6d65 6469 6174 696f 6e20 #!">Remediation │ │ │ -00072cf0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -00072d00: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -00072dc0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -00072dd0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
low
Disru │ │ │ +00072290: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +000722a0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +000722e0: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +000722f0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complexity │ │ │ -00072d90: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ -00072db0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ -00072de0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ -00072e00: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ -00072e30: 636f 6465 3e69 6e63 6c75 6465 2072 656d  code>include rem
│ │ │ -00072e40: 6f76 655f 6e74 7064 6174 650a 0a63 6c61  ove_ntpdate..cla
│ │ │ -00072e50: 7373 2072 656d 6f76 655f 6e74 7064 6174  ss remove_ntpdat
│ │ │ -00072e60: 6520 7b0a 2020 7061 636b 6167 6520 7b20  e {.  package { 
│ │ │ -00072e70: 276e 7470 6461 7465 273a 0a20 2020 2065  'ntpdate':.    e
│ │ │ -00072e80: 6e73 7572 6520 3d26 6774 3b20 2770 7572  nsure => 'pur
│ │ │ -00072e90: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ged',.  }.}.
< │ │ │ -00072eb0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -00072ec0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -00072ed0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -00072ee0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -00072ef0: 646d 3936 3534 2220 7461 6269 6e64 6578 dm9654" tabindex │ │ │ -00072f00: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ -00072f10: 6e22 2061 7269 612d 6578 7061 6e64 6564 n" aria-expanded │ │ │ -00072f20: 3d22 6661 6c73 6522 2074 6974 6c65 3d22 ="false" title=" │ │ │ -00072f30: 4163 7469 7661 7465 2074 6f20 7265 7665 Activate to reve │ │ │ -00072f40: 616c 2220 6872 6566 3d22 2321 223e 5265 al" href="#!">Re │ │ │ -00072f50: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -00072f60: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...

< │ │ │ -00073040: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -00073050: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -000730a0: 2d20 6e61 6d65 3a20 456e 7375 7265 206e  - name: Ensure n
│ │ │ -000730b0: 7470 6461 7465 2069 7320 7265 6d6f 7665  tpdate is remove
│ │ │ -000730c0: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ -000730d0: 206e 616d 653a 206e 7470 6461 7465 0a20   name: ntpdate. 
│ │ │ -000730e0: 2020 2073 7461 7465 3a20 6162 7365 6e74     state: absent
│ │ │ -000730f0: 0a20 2074 6167 733a 0a20 202d 2064 6973  .  tags:.  - dis
│ │ │ -00073100: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -00073110: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -00073120: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -00073130: 696f 6e0a 2020 2d20 6c6f 775f 7365 7665  ion.  - low_seve
│ │ │ -00073140: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -00073150: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ -00073160: 636b 6167 655f 6e74 7064 6174 655f 7265  ckage_ntpdate_re
│ │ │ -00073170: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70  moved.


< │ │ │ +00072d80: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ +00072dc0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 disable
Complexity:low
Disrup │ │ │ -00073020: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -00073030: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -00073070: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -00073080: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexit │ │ │ +00072d90: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ +00072db0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ +00072de0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +00072e00: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
│ │ │ +00072e30: 3c63 6f64 653e 2d20 6e61 6d65 3a20 456e  - name: En
│ │ │ +00072e40: 7375 7265 206e 7470 6461 7465 2069 7320  sure ntpdate is 
│ │ │ +00072e50: 7265 6d6f 7665 640a 2020 7061 636b 6167  removed.  packag
│ │ │ +00072e60: 653a 0a20 2020 206e 616d 653a 206e 7470  e:.    name: ntp
│ │ │ +00072e70: 6461 7465 0a20 2020 2073 7461 7465 3a20  date.    state: 
│ │ │ +00072e80: 6162 7365 6e74 0a20 2074 6167 733a 0a20  absent.  tags:. 
│ │ │ +00072e90: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ +00072ea0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +00072eb0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +00072ec0: 6973 7275 7074 696f 6e0a 2020 2d20 6c6f  isruption.  - lo
│ │ │ +00072ed0: 775f 7365 7665 7269 7479 0a20 202d 206e  w_severity.  - n
│ │ │ +00072ee0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +00072ef0: 2020 2d20 7061 636b 6167 655f 6e74 7064    - package_ntpd
│ │ │ +00072f00: 6174 655f 7265 6d6f 7665 640a 3c2f 636f  ate_removed.
< │ │ │ +00072f20: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +00072f30: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +00072f40: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +00072f50: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +00072f60: 646d 3936 3534 2220 7461 6269 6e64 6578 dm9654" tabindex │ │ │ +00072f70: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ +00072f80: 6e22 2061 7269 612d 6578 7061 6e64 6564 n" aria-expanded │ │ │ +00072f90: 3d22 6661 6c73 6522 2074 6974 6c65 3d22 ="false" title=" │ │ │ +00072fa0: 4163 7469 7661 7465 2074 6f20 7265 7665 Activate to reve │ │ │ +00072fb0: 616c 2220 6872 6566 3d22 2321 223e 5265 al" href="#!">Re │ │ │ +00072fc0: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ +00072fd0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +00072fe0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
│ │ │ +00073070: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
i
│ │ │ +00073110: 6e63 6c75 6465 2072 656d 6f76 655f 6e74  nclude remove_nt
│ │ │ +00073120: 7064 6174 650a 0a63 6c61 7373 2072 656d  pdate..class rem
│ │ │ +00073130: 6f76 655f 6e74 7064 6174 6520 7b0a 2020  ove_ntpdate {.  
│ │ │ +00073140: 7061 636b 6167 6520 7b20 276e 7470 6461  package { 'ntpda
│ │ │ +00073150: 7465 273a 0a20 2020 2065 6e73 7572 6520  te':.    ensure 
│ │ │ +00073160: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ +00073170: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remediat │ │ │ -00074240: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ -00074250: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -00074290: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
│ │ │ +00073060: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +00073090: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +000730a0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +000730e0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +000730f0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ -00074300: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -00074320: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -00074350: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -000742e0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -000742f0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -00074330: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -00074340: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ -00074390: 2072 656d 6f76 655f 7465 6c6e 6574 642d remove_telnetd- │ │ │ -000743a0: 7373 6c0a 0a63 6c61 7373 2072 656d 6f76 ssl..class remov │ │ │ -000743b0: 655f 7465 6c6e 6574 642d 7373 6c20 7b0a e_telnetd-ssl {. │ │ │ -000743c0: 2020 7061 636b 6167 6520 7b20 2774 656c package { 'tel │ │ │ -000743d0: 6e65 7464 2d73 736c 273a 0a20 2020 2065 netd-ssl':. e │ │ │ -000743e0: 6e73 7572 6520 3d26 6774 3b20 2770 7572 nsure => 'pur │ │ │ -000743f0: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f ged',. }.}.

< │ │ │ -00074410: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -00074420: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -00074430: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -00074440: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -00074450: 646d 3937 3535 2220 7461 6269 6e64 6578 dm9755" tabindex │ │ │ -00074460: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ -00074470: 6e22 2061 7269 612d 6578 7061 6e64 6564 n" aria-expanded │ │ │ -00074480: 3d22 6661 6c73 6522 2074 6974 6c65 3d22 ="false" title=" │ │ │ -00074490: 4163 7469 7661 7465 2074 6f20 7265 7665 Activate to reve │ │ │ -000744a0: 616c 2220 6872 6566 3d22 2321 223e 5265 al" href="#!">Re │ │ │ -000744b0: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -000744c0: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
< │ │ │ -000745a0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -000745b0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -00074600: 2d20 6e61 6d65 3a20 456e 7375 7265 2074  - name: Ensure t
│ │ │ -00074610: 656c 6e65 7464 2d73 736c 2069 7320 7265  elnetd-ssl is re
│ │ │ -00074620: 6d6f 7665 640a 2020 7061 636b 6167 653a  moved.  package:
│ │ │ -00074630: 0a20 2020 206e 616d 653a 2074 656c 6e65  .    name: telne
│ │ │ -00074640: 7464 2d73 736c 0a20 2020 2073 7461 7465  td-ssl.    state
│ │ │ -00074650: 3a20 6162 7365 6e74 0a20 2074 6167 733a  : absent.  tags:
│ │ │ -00074660: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -00074670: 2d43 4d2d 3628 6129 0a20 202d 204e 4953  -CM-6(a).  - NIS
│ │ │ -00074680: 542d 3830 302d 3533 2d43 4d2d 3728 6129  T-800-53-CM-7(a)
│ │ │ -00074690: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -000746a0: 2d43 4d2d 3728 6229 0a20 202d 2064 6973  -CM-7(b).  - dis
│ │ │ -000746b0: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -000746c0: 2d20 6869 6768 5f73 6576 6572 6974 790a  - high_severity.
│ │ │ -000746d0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -000746e0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -000746f0: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562  ption.  - no_reb
│ │ │ -00074700: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ -00074710: 6163 6b61 6765 5f74 656c 6e65 7464 2d73  ackage_telnetd-s
│ │ │ -00074720: 736c 5f72 656d 6f76 6564 0a3c 2f63 6f64  sl_removed.
< │ │ │ +00074260: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +00074270: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +00074280: 7365 2220 6964 3d22 6964 6d39 3735 3422 se" id="idm9754" │ │ │ +00074290: 3e3c 7461 626c 6520 636c 6173 733d 2274 >
Complexity:low
Disrup │ │ │ -00074580: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -00074590: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -000745d0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -000745e0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +00074300: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +00074320: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +00074350: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +000742e0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +000742f0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +00074310: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +00074330: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +00074340: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +00074380: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +00074390: 3a20 456e 7375 7265 2074 656c 6e65 7464 : Ensure telnetd │ │ │ +000743a0: 2d73 736c 2069 7320 7265 6d6f 7665 640a -ssl is removed. │ │ │ +000743b0: 2020 7061 636b 6167 653a 0a20 2020 206e package:. n │ │ │ +000743c0: 616d 653a 2074 656c 6e65 7464 2d73 736c ame: telnetd-ssl │ │ │ +000743d0: 0a20 2020 2073 7461 7465 3a20 6162 7365 . state: abse │ │ │ +000743e0: 6e74 0a20 2074 6167 733a 0a20 202d 204e nt. tags:. - N │ │ │ +000743f0: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6( │ │ │ +00074400: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800- │ │ │ +00074410: 3533 2d43 4d2d 3728 6129 0a20 202d 204e 53-CM-7(a). - N │ │ │ +00074420: 4953 542d 3830 302d 3533 2d43 4d2d 3728 IST-800-53-CM-7( │ │ │ +00074430: 6229 0a20 202d 2064 6973 6162 6c65 5f73 b). - disable_s │ │ │ +00074440: 7472 6174 6567 790a 2020 2d20 6869 6768 trategy. - high │ │ │ +00074450: 5f73 6576 6572 6974 790a 2020 2d20 6c6f _severity. - lo │ │ │ +00074460: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. - │ │ │ +00074470: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption. │ │ │ +00074480: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ +00074490: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package │ │ │ +000744a0: 5f74 656c 6e65 7464 2d73 736c 5f72 656d _telnetd-ssl_rem │ │ │ +000744b0: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072 oved.
Remediati │ │ │ +00074570: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ +00074580: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
< │ │ │ +000745c0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +000745d0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +000745e0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +000745f0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +00074600: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +00074610: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +00074620: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +00074660: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +00074670: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +00074690: 3c74 643e 6469 7361 626c 653c 2f74 643e disable │ │ │ +000746a0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 include │ │ │ +000746c0: 7265 6d6f 7665 5f74 656c 6e65 7464 2d73 remove_telnetd-s │ │ │ +000746d0: 736c 0a0a 636c 6173 7320 7265 6d6f 7665 sl..class remove │ │ │ +000746e0: 5f74 656c 6e65 7464 2d73 736c 207b 0a20 _telnetd-ssl {. │ │ │ +000746f0: 2070 6163 6b61 6765 207b 2027 7465 6c6e package { 'teln │ │ │ +00074700: 6574 642d 7373 6c27 3a0a 2020 2020 656e etd-ssl':. en │ │ │ +00074710: 7375 7265 203d 2667 743b 2027 7075 7267 sure => 'purg │ │ │ +00074720: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Remediation Pup │ │ │ -00075800: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ -00075810: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
< │ │ │ -00075890: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -000758b0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -00075900: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ -00075930: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include remove
│ │ │ -00075950: 5f74 656c 6e65 7464 0a0a 636c 6173 7320  _telnetd..class 
│ │ │ -00075960: 7265 6d6f 7665 5f74 656c 6e65 7464 207b  remove_telnetd {
│ │ │ -00075970: 0a20 2070 6163 6b61 6765 207b 2027 7465  .  package { 'te
│ │ │ -00075980: 6c6e 6574 6427 3a0a 2020 2020 656e 7375  lnetd':.    ensu
│ │ │ -00075990: 7265 203d 2667 743b 2027 7075 7267 6564  re => 'purged
│ │ │ -000759a0: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │ -000759b0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Remed │ │ │ -00075a60: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s │ │ │ -00075a70: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
low
Disr │ │ │ -000758c0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -000758d0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -00075910: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ -00075920: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
low< │ │ │ -00075b20: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -00075b70: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ -00075bb0: 616d 653a 2045 6e73 7572 6520 7465 6c6e  ame: Ensure teln
│ │ │ -00075bc0: 6574 6420 6973 2072 656d 6f76 6564 0a20  etd is removed. 
│ │ │ -00075bd0: 2070 6163 6b61 6765 3a0a 2020 2020 6e61   package:.    na
│ │ │ -00075be0: 6d65 3a20 7465 6c6e 6574 640a 2020 2020  me: telnetd.    
│ │ │ -00075bf0: 7374 6174 653a 2061 6273 656e 740a 2020  state: absent.  
│ │ │ -00075c00: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ -00075c10: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ -00075c20: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -00075c30: 2d37 2861 290a 2020 2d20 4e49 5354 2d38  -7(a).  - NIST-8
│ │ │ -00075c40: 3030 2d35 332d 434d 2d37 2862 290a 2020  00-53-CM-7(b).  
│ │ │ -00075c50: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ -00075c60: 6779 0a20 202d 2068 6967 685f 7365 7665  gy.  - high_seve
│ │ │ -00075c70: 7269 7479 0a20 202d 206c 6f77 5f63 6f6d  rity.  - low_com
│ │ │ -00075c80: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -00075c90: 6469 7372 7570 7469 6f6e 0a20 202d 206e  disruption.  - n
│ │ │ -00075ca0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -00075cb0: 2020 2d20 7061 636b 6167 655f 7465 6c6e    - package_teln
│ │ │ -00075cc0: 6574 645f 7265 6d6f 7665 640a 3c2f 636f  etd_removed.Remediation Ans
│ │ │ +00075800: 6962 6c65 2073 6e69 7070 6574 20e2 87b2  ible snippet ...
│ │ │ +00075810: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61  
Co │ │ │ -00075b00: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -00075b30: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -00075b50: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -00075b60: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -00075b80: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -00075b90: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
│ │ │ +00075890: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +000758b0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +00075900: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ +00075930: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ +000758a0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +000758c0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +00075910: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ +00075920: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
- name: Ensur
│ │ │ +00075950: 6520 7465 6c6e 6574 6420 6973 2072 656d  e telnetd is rem
│ │ │ +00075960: 6f76 6564 0a20 2070 6163 6b61 6765 3a0a  oved.  package:.
│ │ │ +00075970: 2020 2020 6e61 6d65 3a20 7465 6c6e 6574      name: telnet
│ │ │ +00075980: 640a 2020 2020 7374 6174 653a 2061 6273  d.    state: abs
│ │ │ +00075990: 656e 740a 2020 7461 6773 3a0a 2020 2d20  ent.  tags:.  - 
│ │ │ +000759a0: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ +000759b0: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ +000759c0: 2d35 332d 434d 2d37 2861 290a 2020 2d20  -53-CM-7(a).  - 
│ │ │ +000759d0: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ +000759e0: 2862 290a 2020 2d20 6469 7361 626c 655f  (b).  - disable_
│ │ │ +000759f0: 7374 7261 7465 6779 0a20 202d 2068 6967  strategy.  - hig
│ │ │ +00075a00: 685f 7365 7665 7269 7479 0a20 202d 206c  h_severity.  - l
│ │ │ +00075a10: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +00075a20: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +00075a30: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +00075a40: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ +00075a50: 655f 7465 6c6e 6574 645f 7265 6d6f 7665  e_telnetd_remove
│ │ │ +00075a60: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +00075a70: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +00075b20: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +00075b30: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
Complexity │ │ │ +00075bc0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +00075be0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +00075bf0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +00075c00: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +00075c10: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +00075c30: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ +00075c60: 636f 6465 3e69 6e63 6c75 6465 2072 656d  code>include rem
│ │ │ +00075c70: 6f76 655f 7465 6c6e 6574 640a 0a63 6c61  ove_telnetd..cla
│ │ │ +00075c80: 7373 2072 656d 6f76 655f 7465 6c6e 6574  ss remove_telnet
│ │ │ +00075c90: 6420 7b0a 2020 7061 636b 6167 6520 7b20  d {.  package { 
│ │ │ +00075ca0: 2774 656c 6e65 7464 273a 0a20 2020 2065  'telnetd':.    e
│ │ │ +00075cb0: 6e73 7572 6520 3d26 6774 3b20 2770 7572  nsure => 'pur
│ │ │ +00075cc0: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ged',.  }.}.
< │ │ │ 00075ce0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 00075cf0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 00075d00: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 00075d10: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 00075d20: 646d 3938 3536 2220 7461 6269 6e64 6578 dm9856" tabindex │ │ │ 00075d30: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ @@ -30657,129 +30657,129 @@ │ │ │ 00077c00: 7365 2220 6461 7461 2d74 6172 6765 743d se" data-target= │ │ │ 00077c10: 2223 6964 6d31 3033 3431 2220 7461 6269 "#idm10341" tabi │ │ │ 00077c20: 6e64 6578 3d22 3022 2072 6f6c 653d 2262 ndex="0" role="b │ │ │ 00077c30: 7574 746f 6e22 2061 7269 612d 6578 7061 utton" aria-expa │ │ │ 00077c40: 6e64 6564 3d22 6661 6c73 6522 2074 6974 nded="false" tit │ │ │ 00077c50: 6c65 3d22 4163 7469 7661 7465 2074 6f20 le="Activate to │ │ │ 00077c60: 7265 7665 616c 2220 6872 6566 3d22 2321 reveal" href="#! │ │ │ -00077c70: 223e 5265 6d65 6469 6174 696f 6e20 4f53 ">Remediation OS │ │ │ -00077c80: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint │ │ │ -00077c90: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -00077ca0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
.[[packages]].n
│ │ │ -00077cf0: 616d 6520 3d20 226e 7470 220a 7665 7273  ame = "ntp".vers
│ │ │ -00077d00: 696f 6e20 3d20 222a 220a 3c2f 636f 6465  ion = "*".
Rem │ │ │ -00077dc0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ -00077dd0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -00077de0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ -00077e70: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
in
│ │ │ -00077f10: 636c 7564 6520 696e 7374 616c 6c5f 6e74  clude install_nt
│ │ │ -00077f20: 700a 0a63 6c61 7373 2069 6e73 7461 6c6c  p..class install
│ │ │ -00077f30: 5f6e 7470 207b 0a20 2070 6163 6b61 6765  _ntp {.  package
│ │ │ -00077f40: 207b 2027 6e74 7027 3a0a 2020 2020 656e   { 'ntp':.    en
│ │ │ -00077f50: 7375 7265 203d 2667 743b 2027 696e 7374  sure => 'inst
│ │ │ -00077f60: 616c 6c65 6427 2c0a 2020 7d0a 7d0a 3c2f  alled',.  }.}.
Remediation Ans │ │ │ -00078030: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -00078040: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low< │ │ │ -00078110: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr> │ │ │ -00078160: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
│ │ │ -00077e60: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -00077e90: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -00077ea0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -00077ee0: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ -00077ef0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexity: │ │ │ -000780d0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ -000780f0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ -00078140: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -00078150: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
- name: Gathe
│ │ │ -00078180: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ -00078190: 6374 730a 2020 7061 636b 6167 655f 6661  cts.  package_fa
│ │ │ -000781a0: 6374 733a 0a20 2020 206d 616e 6167 6572  cts:.    manager
│ │ │ -000781b0: 3a20 6175 746f 0a20 2074 6167 733a 0a20  : auto.  tags:. 
│ │ │ -000781c0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -000781d0: 4d2d 3628 6129 0a20 202d 2050 4349 2d44  M-6(a).  - PCI-D
│ │ │ -000781e0: 5353 2d52 6571 2d31 302e 340a 2020 2d20  SS-Req-10.4.  - 
│ │ │ -000781f0: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ -00078200: 2020 2d20 6869 6768 5f73 6576 6572 6974    - high_severit
│ │ │ -00078210: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -00078220: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -00078230: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72  ruption.  - no_r
│ │ │ -00078240: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -00078250: 2070 6163 6b61 6765 5f6e 7470 5f69 6e73   package_ntp_ins
│ │ │ -00078260: 7461 6c6c 6564 0a0a 2d20 6e61 6d65 3a20  talled..- name: 
│ │ │ -00078270: 456e 7375 7265 206e 7470 2069 7320 696e  Ensure ntp is in
│ │ │ -00078280: 7374 616c 6c65 640a 2020 7061 636b 6167  stalled.  packag
│ │ │ -00078290: 653a 0a20 2020 206e 616d 653a 206e 7470  e:.    name: ntp
│ │ │ -000782a0: 0a20 2020 2073 7461 7465 3a20 7072 6573  .    state: pres
│ │ │ -000782b0: 656e 740a 2020 7768 656e 3a20 2722 6c69  ent.  when: '"li
│ │ │ -000782c0: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ -000782d0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -000782e0: 6765 7327 0a20 2074 6167 733a 0a20 202d  ges'.  tags:.  -
│ │ │ -000782f0: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -00078300: 3628 6129 0a20 202d 2050 4349 2d44 5353  6(a).  - PCI-DSS
│ │ │ -00078310: 2d52 6571 2d31 302e 340a 2020 2d20 656e  -Req-10.4.  - en
│ │ │ -00078320: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -00078330: 2d20 6869 6768 5f73 6576 6572 6974 790a  - high_severity.
│ │ │ -00078340: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -00078350: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -00078360: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562  ption.  - no_reb
│ │ │ -00078370: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ -00078380: 6163 6b61 6765 5f6e 7470 5f69 6e73 7461  ackage_ntp_insta
│ │ │ -00078390: 6c6c 6564 0a3c 2f63 6f64 653e 3c2f 7072  lled.Remediation An
│ │ │ +00077c80: 7369 626c 6520 736e 6970 7065 7420 e287  sible snippet ..
│ │ │ +00077c90: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c  .
Complexity │ │ │ +00077d20: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +00077d40: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +00077d50: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +00077d60: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +00077d70: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +00077d90: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
- name: Gath
│ │ │ +00077dd0: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ +00077de0: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ +00077df0: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ +00077e00: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ +00077e10: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +00077e20: 434d 2d36 2861 290a 2020 2d20 5043 492d  CM-6(a).  - PCI-
│ │ │ +00077e30: 4453 532d 5265 712d 3130 2e34 0a20 202d  DSS-Req-10.4.  -
│ │ │ +00077e40: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ +00077e50: 0a20 202d 2068 6967 685f 7365 7665 7269  .  - high_severi
│ │ │ +00077e60: 7479 0a20 202d 206c 6f77 5f63 6f6d 706c  ty.  - low_compl
│ │ │ +00077e70: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +00077e80: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f  sruption.  - no_
│ │ │ +00077e90: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +00077ea0: 2d20 7061 636b 6167 655f 6e74 705f 696e  - package_ntp_in
│ │ │ +00077eb0: 7374 616c 6c65 640a 0a2d 206e 616d 653a  stalled..- name:
│ │ │ +00077ec0: 2045 6e73 7572 6520 6e74 7020 6973 2069   Ensure ntp is i
│ │ │ +00077ed0: 6e73 7461 6c6c 6564 0a20 2070 6163 6b61  nstalled.  packa
│ │ │ +00077ee0: 6765 3a0a 2020 2020 6e61 6d65 3a20 6e74  ge:.    name: nt
│ │ │ +00077ef0: 700a 2020 2020 7374 6174 653a 2070 7265  p.    state: pre
│ │ │ +00077f00: 7365 6e74 0a20 2077 6865 6e3a 2027 226c  sent.  when: '"l
│ │ │ +00077f10: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ +00077f20: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +00077f30: 6167 6573 270a 2020 7461 6773 3a0a 2020  ages'.  tags:.  
│ │ │ +00077f40: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +00077f50: 2d36 2861 290a 2020 2d20 5043 492d 4453  -6(a).  - PCI-DS
│ │ │ +00077f60: 532d 5265 712d 3130 2e34 0a20 202d 2065  S-Req-10.4.  - e
│ │ │ +00077f70: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ +00077f80: 202d 2068 6967 685f 7365 7665 7269 7479   - high_severity
│ │ │ +00077f90: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +00077fa0: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +00077fb0: 7570 7469 6f6e 0a20 202d 206e 6f5f 7265  uption.  - no_re
│ │ │ +00077fc0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +00077fd0: 7061 636b 6167 655f 6e74 705f 696e 7374  package_ntp_inst
│ │ │ +00077fe0: 616c 6c65 640a 3c2f 636f 6465 3e3c 2f70  alled.

Remedia │ │ │ +000780a0: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ +000780b0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +000780c0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +000780d0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +000780e0: 7365 2220 6964 3d22 6964 6d31 3033 3432 se" id="idm10342 │ │ │ +000780f0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ +00078140: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +00078150: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +00078170: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +00078190: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +000781a0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ +000781e0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ +000781f0: 6520 696e 7374 616c 6c5f 6e74 700a 0a63 e install_ntp..c │ │ │ +00078200: 6c61 7373 2069 6e73 7461 6c6c 5f6e 7470 lass install_ntp │ │ │ +00078210: 207b 0a20 2070 6163 6b61 6765 207b 2027 {. package { ' │ │ │ +00078220: 6e74 7027 3a0a 2020 2020 656e 7375 7265 ntp':. ensure │ │ │ +00078230: 203d 2667 743b 2027 696e 7374 616c 6c65 => 'installe │ │ │ +00078240: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 d',. }.}.
Rem │ │ │ +00078300: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild │ │ │ +00078310: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp │ │ │ +00078320: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[[p
│ │ │ +00078370: 6163 6b61 6765 735d 5d0a 6e61 6d65 203d  ackages]].name =
│ │ │ +00078380: 2022 6e74 7022 0a76 6572 7369 6f6e 203d   "ntp".version =
│ │ │ +00078390: 2022 2a22 0a3c 2f63 6f64 653e 3c2f 7072   "*".
Remedi │ │ │ -00079580: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl │ │ │ -00079590: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet │ │ │ -000795a0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...

.[custo │ │ │ -000795f0: 6d69 7a61 7469 6f6e 732e 7365 7276 6963 mizations.servic │ │ │ -00079600: 6573 5d0a 656e 6162 6c65 6420 3d20 5b22 es].enabled = [" │ │ │ -00079610: 6e74 7022 5d0a 3c2f 636f 6465 3e3c 2f70 ntp"].

Remedia │ │ │ -000796d0: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ -000796e0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -000796f0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -00079700: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -00079710: 7365 2220 6964 3d22 6964 6d31 3034 3136 se" id="idm10416 │ │ │ -00079720: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ -00079770: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -00079780: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -000797a0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -000797c0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -000797d0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ -00079810: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ -00079820: 6520 656e 6162 6c65 5f6e 7470 0a0a 636c e enable_ntp..cl │ │ │ -00079830: 6173 7320 656e 6162 6c65 5f6e 7470 207b ass enable_ntp { │ │ │ -00079840: 0a20 2073 6572 7669 6365 207b 276e 7470 . service {'ntp │ │ │ -00079850: 273a 0a20 2020 2065 6e61 626c 6520 3d26 ':. enable =& │ │ │ -00079860: 6774 3b20 7472 7565 2c0a 2020 2020 656e gt; true,. en │ │ │ -00079870: 7375 7265 203d 2667 743b 2027 7275 6e6e sure => 'runn │ │ │ -00079880: 696e 6727 2c0a 2020 7d0a 7d0a 3c2f 636f ing',. }.}.
< │ │ │ -000798a0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -000798b0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -000798c0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -000798d0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -000798e0: 646d 3130 3431 3722 2074 6162 696e 6465 dm10417" tabinde │ │ │ -000798f0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -00079900: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -00079910: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -00079920: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -00079930: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -00079940: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ -00079950: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
< │ │ │ -000799e0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -00079a00: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -00079a50: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
- name: Gather 
│ │ │ -00079aa0: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ -00079ab0: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ -00079ac0: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ -00079ad0: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ -00079ae0: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ -00079af0: 3828 3129 2861 290a 2020 2d20 4e49 5354  8(1)(a).  - NIST
│ │ │ -00079b00: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ -00079b10: 2020 2d20 5043 492d 4453 532d 5265 712d    - PCI-DSS-Req-
│ │ │ -00079b20: 3130 2e34 0a20 202d 2050 4349 2d44 5353  10.4.  - PCI-DSS
│ │ │ -00079b30: 7634 2d31 302e 360a 2020 2d20 5043 492d  v4-10.6.  - PCI-
│ │ │ -00079b40: 4453 5376 342d 3130 2e36 2e31 0a20 202d  DSSv4-10.6.1.  -
│ │ │ -00079b50: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ -00079b60: 0a20 202d 2068 6967 685f 7365 7665 7269  .  - high_severi
│ │ │ -00079b70: 7479 0a20 202d 206c 6f77 5f63 6f6d 706c  ty.  - low_compl
│ │ │ -00079b80: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -00079b90: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f  sruption.  - no_
│ │ │ -00079ba0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -00079bb0: 2d20 7365 7276 6963 655f 6e74 705f 656e  - service_ntp_en
│ │ │ -00079bc0: 6162 6c65 640a 0a2d 206e 616d 653a 2045  abled..- name: E
│ │ │ -00079bd0: 6e61 626c 6520 7468 6520 4e54 5020 4461  nable the NTP Da
│ │ │ -00079be0: 656d 6f6e 202d 2045 6e61 626c 6520 7365  emon - Enable se
│ │ │ -00079bf0: 7276 6963 6520 6e74 700a 2020 626c 6f63  rvice ntp.  bloc
│ │ │ -00079c00: 6b3a 0a0a 2020 2d20 6e61 6d65 3a20 4761  k:..  - name: Ga
│ │ │ -00079c10: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ -00079c20: 2066 6163 7473 0a20 2020 2070 6163 6b61   facts.    packa
│ │ │ -00079c30: 6765 5f66 6163 7473 3a0a 2020 2020 2020  ge_facts:.      
│ │ │ -00079c40: 6d61 6e61 6765 723a 2061 7574 6f0a 0a20  manager: auto.. 
│ │ │ -00079c50: 202d 206e 616d 653a 2045 6e61 626c 6520   - name: Enable 
│ │ │ -00079c60: 7468 6520 4e54 5020 4461 656d 6f6e 202d  the NTP Daemon -
│ │ │ -00079c70: 2045 6e61 626c 6520 5365 7276 6963 6520   Enable Service 
│ │ │ -00079c80: 6e74 700a 2020 2020 616e 7369 626c 652e  ntp.    ansible.
│ │ │ -00079c90: 6275 696c 7469 6e2e 7379 7374 656d 643a  builtin.systemd:
│ │ │ -00079ca0: 0a20 2020 2020 206e 616d 653a 206e 7470  .      name: ntp
│ │ │ -00079cb0: 0a20 2020 2020 2065 6e61 626c 6564 3a20  .      enabled: 
│ │ │ -00079cc0: 7472 7565 0a20 2020 2020 2073 7461 7465  true.      state
│ │ │ -00079cd0: 3a20 7374 6172 7465 640a 2020 2020 2020  : started.      
│ │ │ -00079ce0: 6d61 736b 6564 3a20 6661 6c73 650a 2020  masked: false.  
│ │ │ -00079cf0: 2020 7768 656e 3a0a 2020 2020 2d20 2722    when:.    - '"
│ │ │ -00079d00: 6e74 7022 2069 6e20 616e 7369 626c 655f  ntp" in ansible_
│ │ │ -00079d10: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -00079d20: 2020 7768 656e 3a0a 2020 2d20 2722 6c69    when:.  - '"li
│ │ │ -00079d30: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ -00079d40: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -00079d50: 6765 7327 0a20 202d 2027 226e 7470 2220  ges'.  - '"ntp" 
│ │ │ -00079d60: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -00079d70: 2e70 6163 6b61 6765 7327 0a20 2074 6167  .packages'.  tag
│ │ │ -00079d80: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ -00079d90: 3533 2d41 552d 3828 3129 2861 290a 2020  53-AU-8(1)(a).  
│ │ │ -00079da0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -00079db0: 2d36 2861 290a 2020 2d20 5043 492d 4453  -6(a).  - PCI-DS
│ │ │ -00079dc0: 532d 5265 712d 3130 2e34 0a20 202d 2050  S-Req-10.4.  - P
│ │ │ -00079dd0: 4349 2d44 5353 7634 2d31 302e 360a 2020  CI-DSSv4-10.6.  
│ │ │ -00079de0: 2d20 5043 492d 4453 5376 342d 3130 2e36  - PCI-DSSv4-10.6
│ │ │ -00079df0: 2e31 0a20 202d 2065 6e61 626c 655f 7374  .1.  - enable_st
│ │ │ -00079e00: 7261 7465 6779 0a20 202d 2068 6967 685f  rategy.  - high_
│ │ │ -00079e10: 7365 7665 7269 7479 0a20 202d 206c 6f77  severity.  - low
│ │ │ -00079e20: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -00079e30: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -00079e40: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -00079e50: 6465 640a 2020 2d20 7365 7276 6963 655f  ded.  - service_
│ │ │ -00079e60: 6e74 705f 656e 6162 6c65 640a 3c2f 636f  ntp_enabled.
low
Disr │ │ │ -00079a10: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -00079a20: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -00079a60: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ -00079a70: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
low< │ │ │ +00079640: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +00079690: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ +00079620: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +00079650: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +00079670: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +00079680: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +000796a0: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ +000796b0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +000796d0: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ +000796e0: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ +000796f0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ +00079700: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ +00079710: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ +00079720: 2d38 3030 2d35 332d 4155 2d38 2831 2928  -800-53-AU-8(1)(
│ │ │ +00079730: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ +00079740: 3533 2d43 4d2d 3628 6129 0a20 202d 2050  53-CM-6(a).  - P
│ │ │ +00079750: 4349 2d44 5353 2d52 6571 2d31 302e 340a  CI-DSS-Req-10.4.
│ │ │ +00079760: 2020 2d20 5043 492d 4453 5376 342d 3130    - PCI-DSSv4-10
│ │ │ +00079770: 2e36 0a20 202d 2050 4349 2d44 5353 7634  .6.  - PCI-DSSv4
│ │ │ +00079780: 2d31 302e 362e 310a 2020 2d20 656e 6162  -10.6.1.  - enab
│ │ │ +00079790: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +000797a0: 6869 6768 5f73 6576 6572 6974 790a 2020  high_severity.  
│ │ │ +000797b0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +000797c0: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +000797d0: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f  ion.  - no_reboo
│ │ │ +000797e0: 745f 6e65 6564 6564 0a20 202d 2073 6572  t_needed.  - ser
│ │ │ +000797f0: 7669 6365 5f6e 7470 5f65 6e61 626c 6564  vice_ntp_enabled
│ │ │ +00079800: 0a0a 2d20 6e61 6d65 3a20 456e 6162 6c65  ..- name: Enable
│ │ │ +00079810: 2074 6865 204e 5450 2044 6165 6d6f 6e20   the NTP Daemon 
│ │ │ +00079820: 2d20 456e 6162 6c65 2073 6572 7669 6365  - Enable service
│ │ │ +00079830: 206e 7470 0a20 2062 6c6f 636b 3a0a 0a20   ntp.  block:.. 
│ │ │ +00079840: 202d 206e 616d 653a 2047 6174 6865 7220   - name: Gather 
│ │ │ +00079850: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ +00079860: 730a 2020 2020 7061 636b 6167 655f 6661  s.    package_fa
│ │ │ +00079870: 6374 733a 0a20 2020 2020 206d 616e 6167  cts:.      manag
│ │ │ +00079880: 6572 3a20 6175 746f 0a0a 2020 2d20 6e61  er: auto..  - na
│ │ │ +00079890: 6d65 3a20 456e 6162 6c65 2074 6865 204e  me: Enable the N
│ │ │ +000798a0: 5450 2044 6165 6d6f 6e20 2d20 456e 6162  TP Daemon - Enab
│ │ │ +000798b0: 6c65 2053 6572 7669 6365 206e 7470 0a20  le Service ntp. 
│ │ │ +000798c0: 2020 2061 6e73 6962 6c65 2e62 7569 6c74     ansible.built
│ │ │ +000798d0: 696e 2e73 7973 7465 6d64 3a0a 2020 2020  in.systemd:.    
│ │ │ +000798e0: 2020 6e61 6d65 3a20 6e74 700a 2020 2020    name: ntp.    
│ │ │ +000798f0: 2020 656e 6162 6c65 643a 2074 7275 650a    enabled: true.
│ │ │ +00079900: 2020 2020 2020 7374 6174 653a 2073 7461        state: sta
│ │ │ +00079910: 7274 6564 0a20 2020 2020 206d 6173 6b65  rted.      maske
│ │ │ +00079920: 643a 2066 616c 7365 0a20 2020 2077 6865  d: false.    whe
│ │ │ +00079930: 6e3a 0a20 2020 202d 2027 226e 7470 2220  n:.    - '"ntp" 
│ │ │ +00079940: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +00079950: 2e70 6163 6b61 6765 7327 0a20 2077 6865  .packages'.  whe
│ │ │ +00079960: 6e3a 0a20 202d 2027 226c 696e 7578 2d62  n:.  - '"linux-b
│ │ │ +00079970: 6173 6522 2069 6e20 616e 7369 626c 655f  ase" in ansible_
│ │ │ +00079980: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ +00079990: 2020 2d20 2722 6e74 7022 2069 6e20 616e    - '"ntp" in an
│ │ │ +000799a0: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +000799b0: 6167 6573 270a 2020 7461 6773 3a0a 2020  ages'.  tags:.  
│ │ │ +000799c0: 2d20 4e49 5354 2d38 3030 2d35 332d 4155  - NIST-800-53-AU
│ │ │ +000799d0: 2d38 2831 2928 6129 0a20 202d 204e 4953  -8(1)(a).  - NIS
│ │ │ +000799e0: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ +000799f0: 0a20 202d 2050 4349 2d44 5353 2d52 6571  .  - PCI-DSS-Req
│ │ │ +00079a00: 2d31 302e 340a 2020 2d20 5043 492d 4453  -10.4.  - PCI-DS
│ │ │ +00079a10: 5376 342d 3130 2e36 0a20 202d 2050 4349  Sv4-10.6.  - PCI
│ │ │ +00079a20: 2d44 5353 7634 2d31 302e 362e 310a 2020  -DSSv4-10.6.1.  
│ │ │ +00079a30: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ +00079a40: 790a 2020 2d20 6869 6768 5f73 6576 6572  y.  - high_sever
│ │ │ +00079a50: 6974 790a 2020 2d20 6c6f 775f 636f 6d70  ity.  - low_comp
│ │ │ +00079a60: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +00079a70: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f  isruption.  - no
│ │ │ +00079a80: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +00079a90: 202d 2073 6572 7669 6365 5f6e 7470 5f65   - service_ntp_e
│ │ │ +00079aa0: 6e61 626c 6564 0a3c 2f63 6f64 653e 3c2f  nabled.
Remedi │ │ │ +00079b60: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ +00079b70: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +00079b80: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +00079c00: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +00079c30: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +00079c50: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +00079c60: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +00079c80: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ +00079ca0: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +00079cb0: 6465 2065 6e61 626c 655f 6e74 700a 0a63  de enable_ntp..c
│ │ │ +00079cc0: 6c61 7373 2065 6e61 626c 655f 6e74 7020  lass enable_ntp 
│ │ │ +00079cd0: 7b0a 2020 7365 7276 6963 6520 7b27 6e74  {.  service {'nt
│ │ │ +00079ce0: 7027 3a0a 2020 2020 656e 6162 6c65 203d  p':.    enable =
│ │ │ +00079cf0: 2667 743b 2074 7275 652c 0a20 2020 2065  > true,.    e
│ │ │ +00079d00: 6e73 7572 6520 3d26 6774 3b20 2772 756e  nsure => 'run
│ │ │ +00079d10: 6e69 6e67 272c 0a20 207d 0a7d 0a3c 2f63  ning',.  }.}.
│ │ │ +00079d30: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +00079dd0: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu │ │ │ +00079de0: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn │ │ │ +00079df0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.
│ │ │ +00079e40: 5b63 7573 746f 6d69 7a61 7469 6f6e 732e  [customizations.
│ │ │ +00079e50: 7365 7276 6963 6573 5d0a 656e 6162 6c65  services].enable
│ │ │ +00079e60: 6420 3d20 5b22 6e74 7022 5d0a 3c2f 636f  d = ["ntp"].
< │ │ │ 00079e80: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 00079e90: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 00079ea0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 00079eb0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 00079ec0: 646d 3130 3431 3822 2074 6162 696e 6465 dm10418" tabinde │ │ │ 00079ed0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ @@ -31503,170 +31503,170 @@ │ │ │ 0007b0e0: 7365 2220 6461 7461 2d74 6172 6765 743d se" data-target= │ │ │ 0007b0f0: 2223 6964 6d31 3034 3639 2220 7461 6269 "#idm10469" tabi │ │ │ 0007b100: 6e64 6578 3d22 3022 2072 6f6c 653d 2262 ndex="0" role="b │ │ │ 0007b110: 7574 746f 6e22 2061 7269 612d 6578 7061 utton" aria-expa │ │ │ 0007b120: 6e64 6564 3d22 6661 6c73 6522 2074 6974 nded="false" tit │ │ │ 0007b130: 6c65 3d22 4163 7469 7661 7465 2074 6f20 le="Activate to │ │ │ 0007b140: 7265 7665 616c 2220 6872 6566 3d22 2321 reveal" href="#! │ │ │ -0007b150: 223e 5265 6d65 6469 6174 696f 6e20 4f53 ">Remediation OS │ │ │ -0007b160: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint │ │ │ -0007b170: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -0007b180: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
.[customization
│ │ │ -0007b1d0: 732e 7365 7276 6963 6573 5d0a 656e 6162  s.services].enab
│ │ │ -0007b1e0: 6c65 6420 3d20 5b22 7379 7374 656d 642d  led = ["systemd-
│ │ │ -0007b1f0: 7469 6d65 7379 6e63 6422 5d0a 3c2f 636f  timesyncd"].
< │ │ │ -0007b210: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -0007b220: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -0007b230: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -0007b240: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -0007b250: 646d 3130 3437 3022 2074 6162 696e 6465 dm10470" tabinde │ │ │ -0007b260: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -0007b270: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -0007b280: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -0007b290: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -0007b2a0: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -0007b2b0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ -0007b2c0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity: │ │ │ -0007b3a0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -0007b3b0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ -0007b400: 696e 636c 7564 6520 656e 6162 6c65 5f73  include enable_s
│ │ │ -0007b410: 7973 7465 6d64 2d74 696d 6573 796e 6364  ystemd-timesyncd
│ │ │ -0007b420: 0a0a 636c 6173 7320 656e 6162 6c65 5f73  ..class enable_s
│ │ │ -0007b430: 7973 7465 6d64 2d74 696d 6573 796e 6364  ystemd-timesyncd
│ │ │ -0007b440: 207b 0a20 2073 6572 7669 6365 207b 2773   {.  service {'s
│ │ │ -0007b450: 7973 7465 6d64 2d74 696d 6573 796e 6364  ystemd-timesyncd
│ │ │ -0007b460: 273a 0a20 2020 2065 6e61 626c 6520 3d26  ':.    enable =&
│ │ │ -0007b470: 6774 3b20 7472 7565 2c0a 2020 2020 656e  gt; true,.    en
│ │ │ -0007b480: 7375 7265 203d 2667 743b 2027 7275 6e6e  sure => 'runn
│ │ │ -0007b490: 696e 6727 2c0a 2020 7d0a 7d0a 3c2f 636f  ing',.  }.}.
< │ │ │ -0007b4b0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -0007b4c0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -0007b4d0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -0007b4e0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -0007b4f0: 646d 3130 3437 3122 2074 6162 696e 6465 dm10471" tabinde │ │ │ -0007b500: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -0007b510: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -0007b520: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -0007b530: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -0007b540: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -0007b550: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ -0007b560: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
low
Disru │ │ │ -0007b380: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -0007b390: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -0007b3d0: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ -0007b3e0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
< │ │ │ -0007b5f0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -0007b610: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -0007b660: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
- name: Gather 
│ │ │ -0007b6b0: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ -0007b6c0: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ -0007b6d0: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ -0007b6e0: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ -0007b6f0: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ -0007b700: 3828 3129 2861 290a 2020 2d20 4e49 5354  8(1)(a).  - NIST
│ │ │ -0007b710: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ -0007b720: 2020 2d20 5043 492d 4453 532d 5265 712d    - PCI-DSS-Req-
│ │ │ -0007b730: 3130 2e34 0a20 202d 2050 4349 2d44 5353  10.4.  - PCI-DSS
│ │ │ -0007b740: 7634 2d31 302e 360a 2020 2d20 5043 492d  v4-10.6.  - PCI-
│ │ │ -0007b750: 4453 5376 342d 3130 2e36 2e31 0a20 202d  DSSv4-10.6.1.  -
│ │ │ -0007b760: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ -0007b770: 0a20 202d 2068 6967 685f 7365 7665 7269  .  - high_severi
│ │ │ -0007b780: 7479 0a20 202d 206c 6f77 5f63 6f6d 706c  ty.  - low_compl
│ │ │ -0007b790: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -0007b7a0: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f  sruption.  - no_
│ │ │ -0007b7b0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -0007b7c0: 2d20 7365 7276 6963 655f 7469 6d65 7379  - service_timesy
│ │ │ -0007b7d0: 6e63 645f 656e 6162 6c65 640a 0a2d 206e  ncd_enabled..- n
│ │ │ -0007b7e0: 616d 653a 2045 6e61 626c 6520 7379 7374  ame: Enable syst
│ │ │ -0007b7f0: 656d 645f 7469 6d65 7379 6e63 6420 5365  emd_timesyncd Se
│ │ │ -0007b800: 7276 6963 6520 2d20 456e 6162 6c65 2073  rvice - Enable s
│ │ │ -0007b810: 6572 7669 6365 2073 7973 7465 6d64 2d74  ervice systemd-t
│ │ │ -0007b820: 696d 6573 796e 6364 0a20 2062 6c6f 636b  imesyncd.  block
│ │ │ -0007b830: 3a0a 0a20 202d 206e 616d 653a 2047 6174  :..  - name: Gat
│ │ │ -0007b840: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ -0007b850: 6661 6374 730a 2020 2020 7061 636b 6167  facts.    packag
│ │ │ -0007b860: 655f 6661 6374 733a 0a20 2020 2020 206d  e_facts:.      m
│ │ │ -0007b870: 616e 6167 6572 3a20 6175 746f 0a0a 2020  anager: auto..  
│ │ │ -0007b880: 2d20 6e61 6d65 3a20 456e 6162 6c65 2073  - name: Enable s
│ │ │ -0007b890: 7973 7465 6d64 5f74 696d 6573 796e 6364  ystemd_timesyncd
│ │ │ -0007b8a0: 2053 6572 7669 6365 202d 2045 6e61 626c   Service - Enabl
│ │ │ -0007b8b0: 6520 5365 7276 6963 6520 7379 7374 656d  e Service system
│ │ │ -0007b8c0: 642d 7469 6d65 7379 6e63 640a 2020 2020  d-timesyncd.    
│ │ │ -0007b8d0: 616e 7369 626c 652e 6275 696c 7469 6e2e  ansible.builtin.
│ │ │ -0007b8e0: 7379 7374 656d 643a 0a20 2020 2020 206e  systemd:.      n
│ │ │ -0007b8f0: 616d 653a 2073 7973 7465 6d64 2d74 696d  ame: systemd-tim
│ │ │ -0007b900: 6573 796e 6364 0a20 2020 2020 2065 6e61  esyncd.      ena
│ │ │ -0007b910: 626c 6564 3a20 7472 7565 0a20 2020 2020  bled: true.     
│ │ │ -0007b920: 2073 7461 7465 3a20 7374 6172 7465 640a   state: started.
│ │ │ -0007b930: 2020 2020 2020 6d61 736b 6564 3a20 6661        masked: fa
│ │ │ -0007b940: 6c73 650a 2020 2020 7768 656e 3a0a 2020  lse.    when:.  
│ │ │ -0007b950: 2020 2d20 2722 7379 7374 656d 6422 2069    - '"systemd" i
│ │ │ -0007b960: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ -0007b970: 7061 636b 6167 6573 270a 2020 7768 656e  packages'.  when
│ │ │ -0007b980: 3a0a 2020 2d20 2722 6c69 6e75 782d 6261  :.  - '"linux-ba
│ │ │ -0007b990: 7365 2220 696e 2061 6e73 6962 6c65 5f66  se" in ansible_f
│ │ │ -0007b9a0: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ -0007b9b0: 202d 2028 206e 6f74 2028 2022 6368 726f   - ( not ( "chro
│ │ │ -0007b9c0: 6e79 2220 696e 2061 6e73 6962 6c65 5f66  ny" in ansible_f
│ │ │ -0007b9d0: 6163 7473 2e70 6163 6b61 6765 7320 2920  acts.packages ) 
│ │ │ -0007b9e0: 616e 6420 6e6f 7420 2820 226e 7470 2220  and not ( "ntp" 
│ │ │ -0007b9f0: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -0007ba00: 2e70 6163 6b61 6765 730a 2020 2020 2920  .packages.    ) 
│ │ │ -0007ba10: 290a 2020 7461 6773 3a0a 2020 2d20 4e49  ).  tags:.  - NI
│ │ │ -0007ba20: 5354 2d38 3030 2d35 332d 4155 2d38 2831  ST-800-53-AU-8(1
│ │ │ -0007ba30: 2928 6129 0a20 202d 204e 4953 542d 3830  )(a).  - NIST-80
│ │ │ -0007ba40: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ -0007ba50: 2050 4349 2d44 5353 2d52 6571 2d31 302e   PCI-DSS-Req-10.
│ │ │ -0007ba60: 340a 2020 2d20 5043 492d 4453 5376 342d  4.  - PCI-DSSv4-
│ │ │ -0007ba70: 3130 2e36 0a20 202d 2050 4349 2d44 5353  10.6.  - PCI-DSS
│ │ │ -0007ba80: 7634 2d31 302e 362e 310a 2020 2d20 656e  v4-10.6.1.  - en
│ │ │ -0007ba90: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -0007baa0: 2d20 6869 6768 5f73 6576 6572 6974 790a  - high_severity.
│ │ │ -0007bab0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -0007bac0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -0007bad0: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562  ption.  - no_reb
│ │ │ -0007bae0: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ -0007baf0: 6572 7669 6365 5f74 696d 6573 796e 6364  ervice_timesyncd
│ │ │ -0007bb00: 5f65 6e61 626c 6564 0a3c 2f63 6f64 653e  _enabled.
│ │ │ +0007b150: 223e 5265 6d65 6469 6174 696f 6e20 416e  ">Remediation An
│ │ │ +0007b160: 7369 626c 6520 736e 6970 7065 7420 e287  sible snippet ..
│ │ │ +0007b170: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c  .
< │ │ │ +0007b230: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +0007b240: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
low
Disr │ │ │ -0007b620: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -0007b630: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -0007b670: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ -0007b680: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complexity │ │ │ +0007b200: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ +0007b220: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ +0007b250: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ +0007b270: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
- name: Gath
│ │ │ +0007b2b0: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ +0007b2c0: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ +0007b2d0: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ +0007b2e0: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ +0007b2f0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +0007b300: 4155 2d38 2831 2928 6129 0a20 202d 204e  AU-8(1)(a).  - N
│ │ │ +0007b310: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ +0007b320: 6129 0a20 202d 2050 4349 2d44 5353 2d52  a).  - PCI-DSS-R
│ │ │ +0007b330: 6571 2d31 302e 340a 2020 2d20 5043 492d  eq-10.4.  - PCI-
│ │ │ +0007b340: 4453 5376 342d 3130 2e36 0a20 202d 2050  DSSv4-10.6.  - P
│ │ │ +0007b350: 4349 2d44 5353 7634 2d31 302e 362e 310a  CI-DSSv4-10.6.1.
│ │ │ +0007b360: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ +0007b370: 6567 790a 2020 2d20 6869 6768 5f73 6576  egy.  - high_sev
│ │ │ +0007b380: 6572 6974 790a 2020 2d20 6c6f 775f 636f  erity.  - low_co
│ │ │ +0007b390: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +0007b3a0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +0007b3b0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +0007b3c0: 0a20 202d 2073 6572 7669 6365 5f74 696d  .  - service_tim
│ │ │ +0007b3d0: 6573 796e 6364 5f65 6e61 626c 6564 0a0a  esyncd_enabled..
│ │ │ +0007b3e0: 2d20 6e61 6d65 3a20 456e 6162 6c65 2073  - name: Enable s
│ │ │ +0007b3f0: 7973 7465 6d64 5f74 696d 6573 796e 6364  ystemd_timesyncd
│ │ │ +0007b400: 2053 6572 7669 6365 202d 2045 6e61 626c   Service - Enabl
│ │ │ +0007b410: 6520 7365 7276 6963 6520 7379 7374 656d  e service system
│ │ │ +0007b420: 642d 7469 6d65 7379 6e63 640a 2020 626c  d-timesyncd.  bl
│ │ │ +0007b430: 6f63 6b3a 0a0a 2020 2d20 6e61 6d65 3a20  ock:..  - name: 
│ │ │ +0007b440: 4761 7468 6572 2074 6865 2070 6163 6b61  Gather the packa
│ │ │ +0007b450: 6765 2066 6163 7473 0a20 2020 2070 6163  ge facts.    pac
│ │ │ +0007b460: 6b61 6765 5f66 6163 7473 3a0a 2020 2020  kage_facts:.    
│ │ │ +0007b470: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ +0007b480: 0a20 202d 206e 616d 653a 2045 6e61 626c  .  - name: Enabl
│ │ │ +0007b490: 6520 7379 7374 656d 645f 7469 6d65 7379  e systemd_timesy
│ │ │ +0007b4a0: 6e63 6420 5365 7276 6963 6520 2d20 456e  ncd Service - En
│ │ │ +0007b4b0: 6162 6c65 2053 6572 7669 6365 2073 7973  able Service sys
│ │ │ +0007b4c0: 7465 6d64 2d74 696d 6573 796e 6364 0a20  temd-timesyncd. 
│ │ │ +0007b4d0: 2020 2061 6e73 6962 6c65 2e62 7569 6c74     ansible.built
│ │ │ +0007b4e0: 696e 2e73 7973 7465 6d64 3a0a 2020 2020  in.systemd:.    
│ │ │ +0007b4f0: 2020 6e61 6d65 3a20 7379 7374 656d 642d    name: systemd-
│ │ │ +0007b500: 7469 6d65 7379 6e63 640a 2020 2020 2020  timesyncd.      
│ │ │ +0007b510: 656e 6162 6c65 643a 2074 7275 650a 2020  enabled: true.  
│ │ │ +0007b520: 2020 2020 7374 6174 653a 2073 7461 7274      state: start
│ │ │ +0007b530: 6564 0a20 2020 2020 206d 6173 6b65 643a  ed.      masked:
│ │ │ +0007b540: 2066 616c 7365 0a20 2020 2077 6865 6e3a   false.    when:
│ │ │ +0007b550: 0a20 2020 202d 2027 2273 7973 7465 6d64  .    - '"systemd
│ │ │ +0007b560: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ +0007b570: 7473 2e70 6163 6b61 6765 7327 0a20 2077  ts.packages'.  w
│ │ │ +0007b580: 6865 6e3a 0a20 202d 2027 226c 696e 7578  hen:.  - '"linux
│ │ │ +0007b590: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ +0007b5a0: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +0007b5b0: 270a 2020 2d20 2820 6e6f 7420 2820 2263  '.  - ( not ( "c
│ │ │ +0007b5c0: 6872 6f6e 7922 2069 6e20 616e 7369 626c  hrony" in ansibl
│ │ │ +0007b5d0: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +0007b5e0: 2029 2061 6e64 206e 6f74 2028 2022 6e74   ) and not ( "nt
│ │ │ +0007b5f0: 7022 2069 6e20 616e 7369 626c 655f 6661  p" in ansible_fa
│ │ │ +0007b600: 6374 732e 7061 636b 6167 6573 0a20 2020  cts.packages.   
│ │ │ +0007b610: 2029 2029 0a20 2074 6167 733a 0a20 202d   ) ).  tags:.  -
│ │ │ +0007b620: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ +0007b630: 3828 3129 2861 290a 2020 2d20 4e49 5354  8(1)(a).  - NIST
│ │ │ +0007b640: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ +0007b650: 2020 2d20 5043 492d 4453 532d 5265 712d    - PCI-DSS-Req-
│ │ │ +0007b660: 3130 2e34 0a20 202d 2050 4349 2d44 5353  10.4.  - PCI-DSS
│ │ │ +0007b670: 7634 2d31 302e 360a 2020 2d20 5043 492d  v4-10.6.  - PCI-
│ │ │ +0007b680: 4453 5376 342d 3130 2e36 2e31 0a20 202d  DSSv4-10.6.1.  -
│ │ │ +0007b690: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ +0007b6a0: 0a20 202d 2068 6967 685f 7365 7665 7269  .  - high_severi
│ │ │ +0007b6b0: 7479 0a20 202d 206c 6f77 5f63 6f6d 706c  ty.  - low_compl
│ │ │ +0007b6c0: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +0007b6d0: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f  sruption.  - no_
│ │ │ +0007b6e0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +0007b6f0: 2d20 7365 7276 6963 655f 7469 6d65 7379  - service_timesy
│ │ │ +0007b700: 6e63 645f 656e 6162 6c65 640a 3c2f 636f  ncd_enabled.
< │ │ │ +0007b720: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +0007b730: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +0007b740: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +0007b750: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +0007b760: 646d 3130 3437 3022 2074 6162 696e 6465 dm10470" tabinde │ │ │ +0007b770: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +0007b780: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +0007b790: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +0007b7a0: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +0007b7b0: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +0007b7c0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +0007b7d0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity: │ │ │ +0007b8b0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +0007b8c0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ +0007b910: 696e 636c 7564 6520 656e 6162 6c65 5f73  include enable_s
│ │ │ +0007b920: 7973 7465 6d64 2d74 696d 6573 796e 6364  ystemd-timesyncd
│ │ │ +0007b930: 0a0a 636c 6173 7320 656e 6162 6c65 5f73  ..class enable_s
│ │ │ +0007b940: 7973 7465 6d64 2d74 696d 6573 796e 6364  ystemd-timesyncd
│ │ │ +0007b950: 207b 0a20 2073 6572 7669 6365 207b 2773   {.  service {'s
│ │ │ +0007b960: 7973 7465 6d64 2d74 696d 6573 796e 6364  ystemd-timesyncd
│ │ │ +0007b970: 273a 0a20 2020 2065 6e61 626c 6520 3d26  ':.    enable =&
│ │ │ +0007b980: 6774 3b20 7472 7565 2c0a 2020 2020 656e  gt; true,.    en
│ │ │ +0007b990: 7375 7265 203d 2667 743b 2027 7275 6e6e  sure => 'runn
│ │ │ +0007b9a0: 696e 6727 2c0a 2020 7d0a 7d0a 3c2f 636f  ing',.  }.}.
< │ │ │ +0007b9c0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +0007b9d0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +0007b9e0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +0007b9f0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +0007ba00: 646d 3130 3437 3122 2074 6162 696e 6465 dm10471" tabinde │ │ │ +0007ba10: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +0007ba20: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +0007ba30: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +0007ba40: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +0007ba50: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +0007ba60: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui │ │ │ +0007ba70: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni │ │ │ +0007ba80: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +0007ba90: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
.[
│ │ │ +0007bad0: 6375 7374 6f6d 697a 6174 696f 6e73 2e73  customizations.s
│ │ │ +0007bae0: 6572 7669 6365 735d 0a65 6e61 626c 6564  ervices].enabled
│ │ │ +0007baf0: 203d 205b 2273 7973 7465 6d64 2d74 696d   = ["systemd-tim
│ │ │ +0007bb00: 6573 796e 6364 225d 0a3c 2f63 6f64 653e  esyncd"].
│ │ │  0007bb10: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Remedia │ │ │ -0008a100: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu │ │ │ -0008a110: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet . │ │ │ -0008a120: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
.[[packa │ │ │ -0008a170: 6765 735d 5d0a 6e61 6d65 203d 2022 6175 ges]].name = "au │ │ │ -0008a180: 6469 7464 220a 7665 7273 696f 6e20 3d20 ditd".version = │ │ │ -0008a190: 222a 220a 3c2f 636f 6465 3e3c 2f70 7265 "*".
Remediati │ │ │ -0008a250: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -0008a260: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -0008a2a0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
low
Disru │ │ │ +0007b890: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +0007b8a0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +0007b8e0: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ +0007b8f0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
< │ │ │ -0008a310: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -0008a330: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -0008a360: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -0008a380: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -0008a2f0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -0008a300: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -0008a340: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -0008a350: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ -0008a3a0: 696e 7374 616c 6c5f 6175 6469 7464 0a0a install_auditd.. │ │ │ -0008a3b0: 636c 6173 7320 696e 7374 616c 6c5f 6175 class install_au │ │ │ -0008a3c0: 6469 7464 207b 0a20 2070 6163 6b61 6765 ditd {. package │ │ │ -0008a3d0: 207b 2027 6175 6469 7464 273a 0a20 2020 { 'auditd':. │ │ │ -0008a3e0: 2065 6e73 7572 6520 3d26 6774 3b20 2769 ensure => 'i │ │ │ -0008a3f0: 6e73 7461 6c6c 6564 272c 0a20 207d 0a7d nstalled',. }.} │ │ │ -0008a400: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .Remediation │ │ │ -0008a4c0: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -0008a4d0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -0008a550: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -0008a560: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -0008a570: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -0008a5b0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -0008a5c0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -0008a5e0: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ -0008a600: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761  - name: Ga
│ │ │ -0008a610: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ -0008a620: 2066 6163 7473 0a20 2070 6163 6b61 6765   facts.  package
│ │ │ -0008a630: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61  _facts:.    mana
│ │ │ -0008a640: 6765 723a 2061 7574 6f0a 2020 7461 6773  ger: auto.  tags
│ │ │ -0008a650: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ -0008a660: 332d 4143 2d37 2861 290a 2020 2d20 4e49  3-AC-7(a).  - NI
│ │ │ -0008a670: 5354 2d38 3030 2d35 332d 4155 2d31 3228  ST-800-53-AU-12(
│ │ │ -0008a680: 3229 0a20 202d 204e 4953 542d 3830 302d  2).  - NIST-800-
│ │ │ -0008a690: 3533 2d41 552d 3134 0a20 202d 204e 4953  53-AU-14.  - NIS
│ │ │ -0008a6a0: 542d 3830 302d 3533 2d41 552d 3228 6129  T-800-53-AU-2(a)
│ │ │ -0008a6b0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -0008a6c0: 2d41 552d 3728 3129 0a20 202d 204e 4953  -AU-7(1).  - NIS
│ │ │ -0008a6d0: 542d 3830 302d 3533 2d41 552d 3728 3229  T-800-53-AU-7(2)
│ │ │ -0008a6e0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -0008a6f0: 2d43 4d2d 3628 6129 0a20 202d 2050 4349  -CM-6(a).  - PCI
│ │ │ -0008a700: 2d44 5353 2d52 6571 2d31 302e 310a 2020  -DSS-Req-10.1.  
│ │ │ -0008a710: 2d20 5043 492d 4453 5376 342d 3130 2e32  - PCI-DSSv4-10.2
│ │ │ -0008a720: 0a20 202d 2050 4349 2d44 5353 7634 2d31  .  - PCI-DSSv4-1
│ │ │ -0008a730: 302e 322e 310a 2020 2d20 656e 6162 6c65  0.2.1.  - enable
│ │ │ -0008a740: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ -0008a750: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -0008a760: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -0008a770: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ -0008a780: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ -0008a790: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ -0008a7a0: 6b61 6765 5f61 7564 6974 5f69 6e73 7461  kage_audit_insta
│ │ │ -0008a7b0: 6c6c 6564 0a0a 2d20 6e61 6d65 3a20 456e  lled..- name: En
│ │ │ -0008a7c0: 7375 7265 2061 7564 6974 6420 6973 2069  sure auditd is i
│ │ │ -0008a7d0: 6e73 7461 6c6c 6564 0a20 2070 6163 6b61  nstalled.  packa
│ │ │ -0008a7e0: 6765 3a0a 2020 2020 6e61 6d65 3a20 6175  ge:.    name: au
│ │ │ -0008a7f0: 6469 7464 0a20 2020 2073 7461 7465 3a20  ditd.    state: 
│ │ │ -0008a800: 7072 6573 656e 740a 2020 7768 656e 3a20  present.  when: 
│ │ │ -0008a810: 2722 6c69 6e75 782d 6261 7365 2220 696e  '"linux-base" in
│ │ │ -0008a820: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ -0008a830: 6163 6b61 6765 7327 0a20 2074 6167 733a  ackages'.  tags:
│ │ │ -0008a840: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -0008a850: 2d41 432d 3728 6129 0a20 202d 204e 4953  -AC-7(a).  - NIS
│ │ │ -0008a860: 542d 3830 302d 3533 2d41 552d 3132 2832  T-800-53-AU-12(2
│ │ │ -0008a870: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -0008a880: 332d 4155 2d31 340a 2020 2d20 4e49 5354  3-AU-14.  - NIST
│ │ │ -0008a890: 2d38 3030 2d35 332d 4155 2d32 2861 290a  -800-53-AU-2(a).
│ │ │ -0008a8a0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -0008a8b0: 4155 2d37 2831 290a 2020 2d20 4e49 5354  AU-7(1).  - NIST
│ │ │ -0008a8c0: 2d38 3030 2d35 332d 4155 2d37 2832 290a  -800-53-AU-7(2).
│ │ │ -0008a8d0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -0008a8e0: 434d 2d36 2861 290a 2020 2d20 5043 492d  CM-6(a).  - PCI-
│ │ │ -0008a8f0: 4453 532d 5265 712d 3130 2e31 0a20 202d  DSS-Req-10.1.  -
│ │ │ -0008a900: 2050 4349 2d44 5353 7634 2d31 302e 320a   PCI-DSSv4-10.2.
│ │ │ -0008a910: 2020 2d20 5043 492d 4453 5376 342d 3130    - PCI-DSSv4-10
│ │ │ -0008a920: 2e32 2e31 0a20 202d 2065 6e61 626c 655f  .2.1.  - enable_
│ │ │ -0008a930: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -0008a940: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -0008a950: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -0008a960: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ -0008a970: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -0008a980: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ -0008a990: 6167 655f 6175 6469 745f 696e 7374 616c  age_audit_instal
│ │ │ -0008a9a0: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265  led.

│ │ │ +0008a120: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +0008a1a0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +0008a1d0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +0008a1f0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +0008a200: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +0008a220: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ +0008a240: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ +0008a250: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ +0008a260: 636b 6167 6520 6661 6374 730a 2020 7061  ckage facts.  pa
│ │ │ +0008a270: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ +0008a280: 206d 616e 6167 6572 3a20 6175 746f 0a20   manager: auto. 
│ │ │ +0008a290: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ +0008a2a0: 3830 302d 3533 2d41 432d 3728 6129 0a20  800-53-AC-7(a). 
│ │ │ +0008a2b0: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ +0008a2c0: 552d 3132 2832 290a 2020 2d20 4e49 5354  U-12(2).  - NIST
│ │ │ +0008a2d0: 2d38 3030 2d35 332d 4155 2d31 340a 2020  -800-53-AU-14.  
│ │ │ +0008a2e0: 2d20 4e49 5354 2d38 3030 2d35 332d 4155  - NIST-800-53-AU
│ │ │ +0008a2f0: 2d32 2861 290a 2020 2d20 4e49 5354 2d38  -2(a).  - NIST-8
│ │ │ +0008a300: 3030 2d35 332d 4155 2d37 2831 290a 2020  00-53-AU-7(1).  
│ │ │ +0008a310: 2d20 4e49 5354 2d38 3030 2d35 332d 4155  - NIST-800-53-AU
│ │ │ +0008a320: 2d37 2832 290a 2020 2d20 4e49 5354 2d38  -7(2).  - NIST-8
│ │ │ +0008a330: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ +0008a340: 2d20 5043 492d 4453 532d 5265 712d 3130  - PCI-DSS-Req-10
│ │ │ +0008a350: 2e31 0a20 202d 2050 4349 2d44 5353 7634  .1.  - PCI-DSSv4
│ │ │ +0008a360: 2d31 302e 320a 2020 2d20 5043 492d 4453  -10.2.  - PCI-DS
│ │ │ +0008a370: 5376 342d 3130 2e32 2e31 0a20 202d 2065  Sv4-10.2.1.  - e
│ │ │ +0008a380: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ +0008a390: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +0008a3a0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +0008a3b0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +0008a3c0: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +0008a3d0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +0008a3e0: 2d20 7061 636b 6167 655f 6175 6469 745f  - package_audit_
│ │ │ +0008a3f0: 696e 7374 616c 6c65 640a 0a2d 206e 616d  installed..- nam
│ │ │ +0008a400: 653a 2045 6e73 7572 6520 6175 6469 7464  e: Ensure auditd
│ │ │ +0008a410: 2069 7320 696e 7374 616c 6c65 640a 2020   is installed.  
│ │ │ +0008a420: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ +0008a430: 653a 2061 7564 6974 640a 2020 2020 7374  e: auditd.    st
│ │ │ +0008a440: 6174 653a 2070 7265 7365 6e74 0a20 2077  ate: present.  w
│ │ │ +0008a450: 6865 6e3a 2027 226c 696e 7578 2d62 6173  hen: '"linux-bas
│ │ │ +0008a460: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ +0008a470: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ +0008a480: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ +0008a490: 3030 2d35 332d 4143 2d37 2861 290a 2020  00-53-AC-7(a).  
│ │ │ +0008a4a0: 2d20 4e49 5354 2d38 3030 2d35 332d 4155  - NIST-800-53-AU
│ │ │ +0008a4b0: 2d31 3228 3229 0a20 202d 204e 4953 542d  -12(2).  - NIST-
│ │ │ +0008a4c0: 3830 302d 3533 2d41 552d 3134 0a20 202d  800-53-AU-14.  -
│ │ │ +0008a4d0: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ +0008a4e0: 3228 6129 0a20 202d 204e 4953 542d 3830  2(a).  - NIST-80
│ │ │ +0008a4f0: 302d 3533 2d41 552d 3728 3129 0a20 202d  0-53-AU-7(1).  -
│ │ │ +0008a500: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ +0008a510: 3728 3229 0a20 202d 204e 4953 542d 3830  7(2).  - NIST-80
│ │ │ +0008a520: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ +0008a530: 2050 4349 2d44 5353 2d52 6571 2d31 302e   PCI-DSS-Req-10.
│ │ │ +0008a540: 310a 2020 2d20 5043 492d 4453 5376 342d  1.  - PCI-DSSv4-
│ │ │ +0008a550: 3130 2e32 0a20 202d 2050 4349 2d44 5353  10.2.  - PCI-DSS
│ │ │ +0008a560: 7634 2d31 302e 322e 310a 2020 2d20 656e  v4-10.2.1.  - en
│ │ │ +0008a570: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +0008a580: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +0008a590: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +0008a5a0: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ +0008a5b0: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +0008a5c0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +0008a5d0: 2070 6163 6b61 6765 5f61 7564 6974 5f69   package_audit_i
│ │ │ +0008a5e0: 6e73 7461 6c6c 6564 0a3c 2f63 6f64 653e  nstalled.
│ │ │ +0008a5f0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ +0008a6a0: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ +0008a6b0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ +0008a750: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +0008a760: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +0008a7b0: 3c74 723e 3c74 683e 5374 7261 7465 6779
inc
│ │ │ +0008a7f0: 6c75 6465 2069 6e73 7461 6c6c 5f61 7564  lude install_aud
│ │ │ +0008a800: 6974 640a 0a63 6c61 7373 2069 6e73 7461  itd..class insta
│ │ │ +0008a810: 6c6c 5f61 7564 6974 6420 7b0a 2020 7061  ll_auditd {.  pa
│ │ │ +0008a820: 636b 6167 6520 7b20 2761 7564 6974 6427  ckage { 'auditd'
│ │ │ +0008a830: 3a0a 2020 2020 656e 7375 7265 203d 2667  :.    ensure =&g
│ │ │ +0008a840: 743b 2027 696e 7374 616c 6c65 6427 2c0a  t; 'installed',.
│ │ │ +0008a850: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ +0008a910: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu │ │ │ +0008a920: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet . │ │ │ +0008a930: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
.[[packa │ │ │ +0008a980: 6765 735d 5d0a 6e61 6d65 203d 2022 6175 ges]].name = "au │ │ │ +0008a990: 6469 7464 220a 7665 7273 696f 6e20 3d20 ditd".version = │ │ │ +0008a9a0: 222a 220a 3c2f 636f 6465 3e3c 2f70 7265 "*".
Re │ │ │ -0008c6f0: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil │ │ │ -0008c700: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip │ │ │ -0008c710: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -0008c720: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -0008c730: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -0008c740: 7365 2220 6964 3d22 6964 6d31 3335 3439 se" id="idm13549 │ │ │ -0008c750: 223e 3c70 7265 3e3c 636f 6465 3e0a 5b63 ">
.[c
│ │ │ -0008c760: 7573 746f 6d69 7a61 7469 6f6e 732e 7365  ustomizations.se
│ │ │ -0008c770: 7276 6963 6573 5d0a 656e 6162 6c65 6420  rvices].enabled 
│ │ │ -0008c780: 3d20 5b22 6175 6469 7464 225d 0a3c 2f63  = ["auditd"].
│ │ │ -0008c7a0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ -0008c840: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ -0008c850: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
C │ │ │ +0008a740: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +0008a770: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +0008a780: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +0008a7c0: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ +0008a7d0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
< │ │ │ -0008c8e0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -0008c900: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -0008c950: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
include enable_
│ │ │ -0008c9a0: 6175 6469 7464 0a0a 636c 6173 7320 656e  auditd..class en
│ │ │ -0008c9b0: 6162 6c65 5f61 7564 6974 6420 7b0a 2020  able_auditd {.  
│ │ │ -0008c9c0: 7365 7276 6963 6520 7b27 6175 6469 7464  service {'auditd
│ │ │ -0008c9d0: 273a 0a20 2020 2065 6e61 626c 6520 3d26  ':.    enable =&
│ │ │ -0008c9e0: 6774 3b20 7472 7565 2c0a 2020 2020 656e  gt; true,.    en
│ │ │ -0008c9f0: 7375 7265 203d 2667 743b 2027 7275 6e6e  sure => 'runn
│ │ │ -0008ca00: 696e 6727 2c0a 2020 7d0a 7d0a 3c2f 636f  ing',.  }.}.
< │ │ │ -0008ca20: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -0008ca30: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -0008ca40: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -0008ca50: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -0008ca60: 646d 3133 3535 3122 2074 6162 696e 6465 dm13551" tabinde │ │ │ -0008ca70: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -0008ca80: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -0008ca90: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -0008caa0: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -0008cab0: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -0008cac0: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ -0008cad0: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
low
Disr │ │ │ -0008c910: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -0008c920: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -0008c960: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ -0008c970: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
< │ │ │ -0008cb60: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -0008cb80: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -0008cbd0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
- name: Gather 
│ │ │ -0008cc20: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ -0008cc30: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ -0008cc40: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ -0008cc50: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ -0008cc60: 2043 4a49 532d 352e 342e 312e 310a 2020   CJIS-5.4.1.1.  
│ │ │ -0008cc70: 2d20 4e49 5354 2d38 3030 2d31 3731 2d33  - NIST-800-171-3
│ │ │ -0008cc80: 2e33 2e31 0a20 202d 204e 4953 542d 3830  .3.1.  - NIST-80
│ │ │ -0008cc90: 302d 3137 312d 332e 332e 320a 2020 2d20  0-171-3.3.2.  - 
│ │ │ -0008cca0: 4e49 5354 2d38 3030 2d31 3731 2d33 2e33  NIST-800-171-3.3
│ │ │ -0008ccb0: 2e36 0a20 202d 204e 4953 542d 3830 302d  .6.  - NIST-800-
│ │ │ -0008ccc0: 3533 2d41 432d 3228 6729 0a20 202d 204e  53-AC-2(g).  - N
│ │ │ -0008ccd0: 4953 542d 3830 302d 3533 2d41 432d 3628  IST-800-53-AC-6(
│ │ │ -0008cce0: 3929 0a20 202d 204e 4953 542d 3830 302d  9).  - NIST-800-
│ │ │ -0008ccf0: 3533 2d41 552d 3130 0a20 202d 204e 4953  53-AU-10.  - NIS
│ │ │ -0008cd00: 542d 3830 302d 3533 2d41 552d 3132 2863  T-800-53-AU-12(c
│ │ │ -0008cd10: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -0008cd20: 332d 4155 2d31 3428 3129 0a20 202d 204e  3-AU-14(1).  - N
│ │ │ -0008cd30: 4953 542d 3830 302d 3533 2d41 552d 3228  IST-800-53-AU-2(
│ │ │ -0008cd40: 6429 0a20 202d 204e 4953 542d 3830 302d  d).  - NIST-800-
│ │ │ -0008cd50: 3533 2d41 552d 330a 2020 2d20 4e49 5354  53-AU-3.  - NIST
│ │ │ -0008cd60: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ -0008cd70: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -0008cd80: 5349 2d34 2832 3329 0a20 202d 2050 4349  SI-4(23).  - PCI
│ │ │ -0008cd90: 2d44 5353 2d52 6571 2d31 302e 310a 2020  -DSS-Req-10.1.  
│ │ │ -0008cda0: 2d20 5043 492d 4453 5376 342d 3130 2e32  - PCI-DSSv4-10.2
│ │ │ -0008cdb0: 0a20 202d 2050 4349 2d44 5353 7634 2d31  .  - PCI-DSSv4-1
│ │ │ -0008cdc0: 302e 322e 310a 2020 2d20 656e 6162 6c65  0.2.1.  - enable
│ │ │ -0008cdd0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ -0008cde0: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -0008cdf0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -0008ce00: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ -0008ce10: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ -0008ce20: 745f 6e65 6564 6564 0a20 202d 2073 6572  t_needed.  - ser
│ │ │ -0008ce30: 7669 6365 5f61 7564 6974 645f 656e 6162  vice_auditd_enab
│ │ │ -0008ce40: 6c65 640a 0a2d 206e 616d 653a 2045 6e61  led..- name: Ena
│ │ │ -0008ce50: 626c 6520 6175 6469 7464 2053 6572 7669  ble auditd Servi
│ │ │ -0008ce60: 6365 202d 2045 6e61 626c 6520 7365 7276  ce - Enable serv
│ │ │ -0008ce70: 6963 6520 6175 6469 7464 0a20 2062 6c6f  ice auditd.  blo
│ │ │ -0008ce80: 636b 3a0a 0a20 202d 206e 616d 653a 2047  ck:..  - name: G
│ │ │ -0008ce90: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ -0008cea0: 6520 6661 6374 730a 2020 2020 7061 636b  e facts.    pack
│ │ │ -0008ceb0: 6167 655f 6661 6374 733a 0a20 2020 2020  age_facts:.     
│ │ │ -0008cec0: 206d 616e 6167 6572 3a20 6175 746f 0a0a   manager: auto..
│ │ │ -0008ced0: 2020 2d20 6e61 6d65 3a20 456e 6162 6c65    - name: Enable
│ │ │ -0008cee0: 2061 7564 6974 6420 5365 7276 6963 6520   auditd Service 
│ │ │ -0008cef0: 2d20 456e 6162 6c65 2053 6572 7669 6365  - Enable Service
│ │ │ -0008cf00: 2061 7564 6974 640a 2020 2020 616e 7369   auditd.    ansi
│ │ │ -0008cf10: 626c 652e 6275 696c 7469 6e2e 7379 7374  ble.builtin.syst
│ │ │ -0008cf20: 656d 643a 0a20 2020 2020 206e 616d 653a  emd:.      name:
│ │ │ -0008cf30: 2061 7564 6974 640a 2020 2020 2020 656e   auditd.      en
│ │ │ -0008cf40: 6162 6c65 643a 2074 7275 650a 2020 2020  abled: true.    
│ │ │ -0008cf50: 2020 7374 6174 653a 2073 7461 7274 6564    state: started
│ │ │ -0008cf60: 0a20 2020 2020 206d 6173 6b65 643a 2066  .      masked: f
│ │ │ -0008cf70: 616c 7365 0a20 2020 2077 6865 6e3a 0a20  alse.    when:. 
│ │ │ -0008cf80: 2020 202d 2027 2261 7564 6974 6422 2069     - '"auditd" i
│ │ │ -0008cf90: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ -0008cfa0: 7061 636b 6167 6573 270a 2020 7768 656e  packages'.  when
│ │ │ -0008cfb0: 3a0a 2020 2d20 2722 6c69 6e75 782d 6261  :.  - '"linux-ba
│ │ │ -0008cfc0: 7365 2220 696e 2061 6e73 6962 6c65 5f66  se" in ansible_f
│ │ │ -0008cfd0: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ -0008cfe0: 202d 2027 2261 7564 6974 6422 2069 6e20   - '"auditd" in 
│ │ │ -0008cff0: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -0008d000: 636b 6167 6573 270a 2020 7461 6773 3a0a  ckages'.  tags:.
│ │ │ -0008d010: 2020 2d20 434a 4953 2d35 2e34 2e31 2e31    - CJIS-5.4.1.1
│ │ │ -0008d020: 0a20 202d 204e 4953 542d 3830 302d 3137  .  - NIST-800-17
│ │ │ -0008d030: 312d 332e 332e 310a 2020 2d20 4e49 5354  1-3.3.1.  - NIST
│ │ │ -0008d040: 2d38 3030 2d31 3731 2d33 2e33 2e32 0a20  -800-171-3.3.2. 
│ │ │ -0008d050: 202d 204e 4953 542d 3830 302d 3137 312d   - NIST-800-171-
│ │ │ -0008d060: 332e 332e 360a 2020 2d20 4e49 5354 2d38  3.3.6.  - NIST-8
│ │ │ -0008d070: 3030 2d35 332d 4143 2d32 2867 290a 2020  00-53-AC-2(g).  
│ │ │ -0008d080: 2d20 4e49 5354 2d38 3030 2d35 332d 4143  - NIST-800-53-AC
│ │ │ -0008d090: 2d36 2839 290a 2020 2d20 4e49 5354 2d38  -6(9).  - NIST-8
│ │ │ -0008d0a0: 3030 2d35 332d 4155 2d31 300a 2020 2d20  00-53-AU-10.  - 
│ │ │ -0008d0b0: 4e49 5354 2d38 3030 2d35 332d 4155 2d31  NIST-800-53-AU-1
│ │ │ -0008d0c0: 3228 6329 0a20 202d 204e 4953 542d 3830  2(c).  - NIST-80
│ │ │ -0008d0d0: 302d 3533 2d41 552d 3134 2831 290a 2020  0-53-AU-14(1).  
│ │ │ -0008d0e0: 2d20 4e49 5354 2d38 3030 2d35 332d 4155  - NIST-800-53-AU
│ │ │ -0008d0f0: 2d32 2864 290a 2020 2d20 4e49 5354 2d38  -2(d).  - NIST-8
│ │ │ -0008d100: 3030 2d35 332d 4155 2d33 0a20 202d 204e  00-53-AU-3.  - N
│ │ │ -0008d110: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -0008d120: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ -0008d130: 3533 2d53 492d 3428 3233 290a 2020 2d20  53-SI-4(23).  - 
│ │ │ -0008d140: 5043 492d 4453 532d 5265 712d 3130 2e31  PCI-DSS-Req-10.1
│ │ │ -0008d150: 0a20 202d 2050 4349 2d44 5353 7634 2d31  .  - PCI-DSSv4-1
│ │ │ -0008d160: 302e 320a 2020 2d20 5043 492d 4453 5376  0.2.  - PCI-DSSv
│ │ │ -0008d170: 342d 3130 2e32 2e31 0a20 202d 2065 6e61  4-10.2.1.  - ena
│ │ │ -0008d180: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -0008d190: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -0008d1a0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -0008d1b0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -0008d1c0: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -0008d1d0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -0008d1e0: 7365 7276 6963 655f 6175 6469 7464 5f65  service_auditd_e
│ │ │ -0008d1f0: 6e61 626c 6564 0a3c 2f63 6f64 653e 3c2f  nabled.
low
Disr │ │ │ -0008cb90: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -0008cba0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -0008cbe0: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ -0008cbf0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complexity: │ │ │ +0008c7e0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +0008c7f0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ +0008c840: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ +0008c850: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ +0008c860: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ +0008c870: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ +0008c880: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ +0008c890: 434a 4953 2d35 2e34 2e31 2e31 0a20 202d  CJIS-5.4.1.1.  -
│ │ │ +0008c8a0: 204e 4953 542d 3830 302d 3137 312d 332e   NIST-800-171-3.
│ │ │ +0008c8b0: 332e 310a 2020 2d20 4e49 5354 2d38 3030  3.1.  - NIST-800
│ │ │ +0008c8c0: 2d31 3731 2d33 2e33 2e32 0a20 202d 204e  -171-3.3.2.  - N
│ │ │ +0008c8d0: 4953 542d 3830 302d 3137 312d 332e 332e  IST-800-171-3.3.
│ │ │ +0008c8e0: 360a 2020 2d20 4e49 5354 2d38 3030 2d35  6.  - NIST-800-5
│ │ │ +0008c8f0: 332d 4143 2d32 2867 290a 2020 2d20 4e49  3-AC-2(g).  - NI
│ │ │ +0008c900: 5354 2d38 3030 2d35 332d 4143 2d36 2839  ST-800-53-AC-6(9
│ │ │ +0008c910: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +0008c920: 332d 4155 2d31 300a 2020 2d20 4e49 5354  3-AU-10.  - NIST
│ │ │ +0008c930: 2d38 3030 2d35 332d 4155 2d31 3228 6329  -800-53-AU-12(c)
│ │ │ +0008c940: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +0008c950: 2d41 552d 3134 2831 290a 2020 2d20 4e49  -AU-14(1).  - NI
│ │ │ +0008c960: 5354 2d38 3030 2d35 332d 4155 2d32 2864  ST-800-53-AU-2(d
│ │ │ +0008c970: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +0008c980: 332d 4155 2d33 0a20 202d 204e 4953 542d  3-AU-3.  - NIST-
│ │ │ +0008c990: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ +0008c9a0: 202d 204e 4953 542d 3830 302d 3533 2d53   - NIST-800-53-S
│ │ │ +0008c9b0: 492d 3428 3233 290a 2020 2d20 5043 492d  I-4(23).  - PCI-
│ │ │ +0008c9c0: 4453 532d 5265 712d 3130 2e31 0a20 202d  DSS-Req-10.1.  -
│ │ │ +0008c9d0: 2050 4349 2d44 5353 7634 2d31 302e 320a   PCI-DSSv4-10.2.
│ │ │ +0008c9e0: 2020 2d20 5043 492d 4453 5376 342d 3130    - PCI-DSSv4-10
│ │ │ +0008c9f0: 2e32 2e31 0a20 202d 2065 6e61 626c 655f  .2.1.  - enable_
│ │ │ +0008ca00: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ +0008ca10: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +0008ca20: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +0008ca30: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ +0008ca40: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ +0008ca50: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ +0008ca60: 6963 655f 6175 6469 7464 5f65 6e61 626c  ice_auditd_enabl
│ │ │ +0008ca70: 6564 0a0a 2d20 6e61 6d65 3a20 456e 6162  ed..- name: Enab
│ │ │ +0008ca80: 6c65 2061 7564 6974 6420 5365 7276 6963  le auditd Servic
│ │ │ +0008ca90: 6520 2d20 456e 6162 6c65 2073 6572 7669  e - Enable servi
│ │ │ +0008caa0: 6365 2061 7564 6974 640a 2020 626c 6f63  ce auditd.  bloc
│ │ │ +0008cab0: 6b3a 0a0a 2020 2d20 6e61 6d65 3a20 4761  k:..  - name: Ga
│ │ │ +0008cac0: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ +0008cad0: 2066 6163 7473 0a20 2020 2070 6163 6b61   facts.    packa
│ │ │ +0008cae0: 6765 5f66 6163 7473 3a0a 2020 2020 2020  ge_facts:.      
│ │ │ +0008caf0: 6d61 6e61 6765 723a 2061 7574 6f0a 0a20  manager: auto.. 
│ │ │ +0008cb00: 202d 206e 616d 653a 2045 6e61 626c 6520   - name: Enable 
│ │ │ +0008cb10: 6175 6469 7464 2053 6572 7669 6365 202d  auditd Service -
│ │ │ +0008cb20: 2045 6e61 626c 6520 5365 7276 6963 6520   Enable Service 
│ │ │ +0008cb30: 6175 6469 7464 0a20 2020 2061 6e73 6962  auditd.    ansib
│ │ │ +0008cb40: 6c65 2e62 7569 6c74 696e 2e73 7973 7465  le.builtin.syste
│ │ │ +0008cb50: 6d64 3a0a 2020 2020 2020 6e61 6d65 3a20  md:.      name: 
│ │ │ +0008cb60: 6175 6469 7464 0a20 2020 2020 2065 6e61  auditd.      ena
│ │ │ +0008cb70: 626c 6564 3a20 7472 7565 0a20 2020 2020  bled: true.     
│ │ │ +0008cb80: 2073 7461 7465 3a20 7374 6172 7465 640a   state: started.
│ │ │ +0008cb90: 2020 2020 2020 6d61 736b 6564 3a20 6661        masked: fa
│ │ │ +0008cba0: 6c73 650a 2020 2020 7768 656e 3a0a 2020  lse.    when:.  
│ │ │ +0008cbb0: 2020 2d20 2722 6175 6469 7464 2220 696e    - '"auditd" in
│ │ │ +0008cbc0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ +0008cbd0: 6163 6b61 6765 7327 0a20 2077 6865 6e3a  ackages'.  when:
│ │ │ +0008cbe0: 0a20 202d 2027 226c 696e 7578 2d62 6173  .  - '"linux-bas
│ │ │ +0008cbf0: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ +0008cc00: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ +0008cc10: 2d20 2722 6175 6469 7464 2220 696e 2061  - '"auditd" in a
│ │ │ +0008cc20: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +0008cc30: 6b61 6765 7327 0a20 2074 6167 733a 0a20  kages'.  tags:. 
│ │ │ +0008cc40: 202d 2043 4a49 532d 352e 342e 312e 310a   - CJIS-5.4.1.1.
│ │ │ +0008cc50: 2020 2d20 4e49 5354 2d38 3030 2d31 3731    - NIST-800-171
│ │ │ +0008cc60: 2d33 2e33 2e31 0a20 202d 204e 4953 542d  -3.3.1.  - NIST-
│ │ │ +0008cc70: 3830 302d 3137 312d 332e 332e 320a 2020  800-171-3.3.2.  
│ │ │ +0008cc80: 2d20 4e49 5354 2d38 3030 2d31 3731 2d33  - NIST-800-171-3
│ │ │ +0008cc90: 2e33 2e36 0a20 202d 204e 4953 542d 3830  .3.6.  - NIST-80
│ │ │ +0008cca0: 302d 3533 2d41 432d 3228 6729 0a20 202d  0-53-AC-2(g).  -
│ │ │ +0008ccb0: 204e 4953 542d 3830 302d 3533 2d41 432d   NIST-800-53-AC-
│ │ │ +0008ccc0: 3628 3929 0a20 202d 204e 4953 542d 3830  6(9).  - NIST-80
│ │ │ +0008ccd0: 302d 3533 2d41 552d 3130 0a20 202d 204e  0-53-AU-10.  - N
│ │ │ +0008cce0: 4953 542d 3830 302d 3533 2d41 552d 3132  IST-800-53-AU-12
│ │ │ +0008ccf0: 2863 290a 2020 2d20 4e49 5354 2d38 3030  (c).  - NIST-800
│ │ │ +0008cd00: 2d35 332d 4155 2d31 3428 3129 0a20 202d  -53-AU-14(1).  -
│ │ │ +0008cd10: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ +0008cd20: 3228 6429 0a20 202d 204e 4953 542d 3830  2(d).  - NIST-80
│ │ │ +0008cd30: 302d 3533 2d41 552d 330a 2020 2d20 4e49  0-53-AU-3.  - NI
│ │ │ +0008cd40: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +0008cd50: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +0008cd60: 332d 5349 2d34 2832 3329 0a20 202d 2050  3-SI-4(23).  - P
│ │ │ +0008cd70: 4349 2d44 5353 2d52 6571 2d31 302e 310a  CI-DSS-Req-10.1.
│ │ │ +0008cd80: 2020 2d20 5043 492d 4453 5376 342d 3130    - PCI-DSSv4-10
│ │ │ +0008cd90: 2e32 0a20 202d 2050 4349 2d44 5353 7634  .2.  - PCI-DSSv4
│ │ │ +0008cda0: 2d31 302e 322e 310a 2020 2d20 656e 6162  -10.2.1.  - enab
│ │ │ +0008cdb0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +0008cdc0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +0008cdd0: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +0008cde0: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ +0008cdf0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +0008ce00: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ +0008ce10: 6572 7669 6365 5f61 7564 6974 645f 656e  ervice_auditd_en
│ │ │ +0008ce20: 6162 6c65 640a 3c2f 636f 6465 3e3c 2f70  abled.

Remedia │ │ │ +0008cee0: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ +0008cef0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +0008cf00: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +0008cf10: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +0008cf20: 7365 2220 6964 3d22 6964 6d31 3335 3530 se" id="idm13550 │ │ │ +0008cf30: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
low
Disru │ │ │ +0008c7c0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +0008c7d0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +0008c810: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ +0008c820: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Comp │ │ │ +0008cf80: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +0008cf90: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +0008cfb0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +0008cfd0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +0008cfe0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ +0008d020: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ +0008d030: 6520 656e 6162 6c65 5f61 7564 6974 640a e enable_auditd. │ │ │ +0008d040: 0a63 6c61 7373 2065 6e61 626c 655f 6175 .class enable_au │ │ │ +0008d050: 6469 7464 207b 0a20 2073 6572 7669 6365 ditd {. service │ │ │ +0008d060: 207b 2761 7564 6974 6427 3a0a 2020 2020 {'auditd':. │ │ │ +0008d070: 656e 6162 6c65 203d 2667 743b 2074 7275 enable => tru │ │ │ +0008d080: 652c 0a20 2020 2065 6e73 7572 6520 3d26 e,. ensure =& │ │ │ +0008d090: 6774 3b20 2772 756e 6e69 6e67 272c 0a20 gt; 'running',. │ │ │ +0008d0a0: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.
Remediat │ │ │ +0008d160: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue │ │ │ +0008d170: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet .. │ │ │ +0008d180: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
.[customi
│ │ │ +0008d1d0: 7a61 7469 6f6e 732e 7365 7276 6963 6573  zations.services
│ │ │ +0008d1e0: 5d0a 656e 6162 6c65 6420 3d20 5b22 6175  ].enabled = ["au
│ │ │ +0008d1f0: 6469 7464 225d 0a3c 2f63 6f64 653e 3c2f  ditd"].
'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -1691,14 +1674,31 @@ │ │ │ │ - NIST-800-53-CM-6(a) │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_rsyslog_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_rsyslog │ │ │ │ + │ │ │ │ +class install_rsyslog { │ │ │ │ + package { 'rsyslog': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "rsyslog" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -1729,31 +1729,14 @@ │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9, SR 6.1, │ │ │ │ SR 6.2, SR 7.1, SR 7.2 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.3, A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, │ │ │ │ A.12.7.1, A.14.2.7, A.15.2.1, A.15.2.2, A.17.2.1 │ │ │ │ _n_i_s_t CM-6(a), AU-4(1) │ │ │ │ _n_i_s_t_-_c_s_f DE.CM-1, DE.CM-3, DE.CM-7, ID.SC-4, PR.DS-4, PR.PT-1 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00227 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["rsyslog"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_rsyslog │ │ │ │ - │ │ │ │ -class enable_rsyslog { │ │ │ │ - service {'rsyslog': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -1789,14 +1772,31 @@ │ │ │ │ - NIST-800-53-CM-6(a) │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_rsyslog_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_rsyslog │ │ │ │ + │ │ │ │ +class enable_rsyslog { │ │ │ │ + service {'rsyslog': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["rsyslog"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -3593,31 +3593,14 @@ │ │ │ │ SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, │ │ │ │ A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00227 │ │ │ │ _p_c_i_d_s_s_4 2.2.6, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "cron" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_cron │ │ │ │ - │ │ │ │ -class install_cron { │ │ │ │ - package { 'cron': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -3644,14 +3627,31 @@ │ │ │ │ - PCI-DSSv4-2.2.6 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_cron_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_cron │ │ │ │ + │ │ │ │ +class install_cron { │ │ │ │ + package { 'cron': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "cron" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -3687,31 +3687,14 @@ │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 1.3, SR 1.4, SR 1.5, SR 1.6, SR 1.7, SR 1.8, SR │ │ │ │ 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR 2.5, SR 2.6, │ │ │ │ SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, │ │ │ │ A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["cron"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_cron │ │ │ │ - │ │ │ │ -class enable_cron { │ │ │ │ - service {'cron': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -3745,14 +3728,31 @@ │ │ │ │ - NIST-800-53-CM-6(a) │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_cron_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_cron │ │ │ │ + │ │ │ │ +class enable_cron { │ │ │ │ + service {'cron': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["cron"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -3795,26 +3795,14 @@ │ │ │ │ SR 2.7, SR 3.1, SR 3.5, SR 3.8, SR 4.1, SR 4.3, SR │ │ │ │ 5.1, SR 5.2, SR 5.3, SR 7.1, SR 7.6 │ │ │ │ A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1, │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.13.2.1, A.14.1.3, A.14.2.2, A.14.2.3, A.14.2.4, │ │ │ │ A.6.2.1, A.6.2.2, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_inetutils-telnetd │ │ │ │ - │ │ │ │ -class remove_inetutils-telnetd { │ │ │ │ - package { 'inetutils-telnetd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure inetutils-telnetd is removed │ │ │ │ package: │ │ │ │ @@ -3826,14 +3814,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_inetutils-telnetd_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_inetutils-telnetd │ │ │ │ + │ │ │ │ +class remove_inetutils-telnetd { │ │ │ │ + package { 'inetutils-telnetd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove inetutils-telnetd │ │ │ │ @@ -3846,26 +3846,14 @@ │ │ │ │ ****** RRuullee? ?  UUnniinnssttaallll tthhee nniiss ppaacckkaaggee ? ? _[[_rr_ee_ff_]] ****** │ │ │ │ The support for Yellowpages should not be installed unless it is required. │ │ │ │ NIS is the historical SUN service for central account management, │ │ │ │ Rationale: more and more replaced by LDAP. NIS does not support efficiently │ │ │ │ security constraints, ACL, etc. and should not be used. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_nis_removed │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_nis │ │ │ │ - │ │ │ │ -class remove_nis { │ │ │ │ - package { 'nis': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure nis is removed │ │ │ │ package: │ │ │ │ @@ -3874,14 +3862,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_nis_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_nis │ │ │ │ + │ │ │ │ +class remove_nis { │ │ │ │ + package { 'nis': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove nis │ │ │ │ @@ -3895,26 +3895,14 @@ │ │ │ │ ntpdate is a historical ntp synchronization client for unixes. It sould be │ │ │ │ uninstalled. │ │ │ │ ntpdate is an old not security-compliant ntp client. It should be │ │ │ │ Rationale: replaced by modern ntp clients such as ntpd, able to use │ │ │ │ cryptographic mechanisms integrated in NTP. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_ntpdate_removed │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_ntpdate │ │ │ │ - │ │ │ │ -class remove_ntpdate { │ │ │ │ - package { 'ntpdate': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure ntpdate is removed │ │ │ │ package: │ │ │ │ @@ -3923,14 +3911,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_ntpdate_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_ntpdate │ │ │ │ + │ │ │ │ +class remove_ntpdate { │ │ │ │ + package { 'ntpdate': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove ntpdate │ │ │ │ @@ -3961,26 +3961,14 @@ │ │ │ │ SR 2.7, SR 3.1, SR 3.5, SR 3.8, SR 4.1, SR 4.3, SR │ │ │ │ 5.1, SR 5.2, SR 5.3, SR 7.1, SR 7.6 │ │ │ │ A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1, │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.13.2.1, A.14.1.3, A.14.2.2, A.14.2.3, A.14.2.4, │ │ │ │ A.6.2.1, A.6.2.2, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_telnetd-ssl │ │ │ │ - │ │ │ │ -class remove_telnetd-ssl { │ │ │ │ - package { 'telnetd-ssl': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure telnetd-ssl is removed │ │ │ │ package: │ │ │ │ @@ -3992,14 +3980,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_telnetd-ssl_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_telnetd-ssl │ │ │ │ + │ │ │ │ +class remove_telnetd-ssl { │ │ │ │ + package { 'telnetd-ssl': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove telnetd-ssl │ │ │ │ @@ -4031,26 +4031,14 @@ │ │ │ │ SR 2.7, SR 3.1, SR 3.5, SR 3.8, SR 4.1, SR 4.3, SR │ │ │ │ 5.1, SR 5.2, SR 5.3, SR 7.1, SR 7.6 │ │ │ │ A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1, │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.13.2.1, A.14.1.3, A.14.2.2, A.14.2.3, A.14.2.4, │ │ │ │ A.6.2.1, A.6.2.2, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_telnetd │ │ │ │ - │ │ │ │ -class remove_telnetd { │ │ │ │ - package { 'telnetd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure telnetd is removed │ │ │ │ package: │ │ │ │ @@ -4062,14 +4050,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_telnetd_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_telnetd │ │ │ │ + │ │ │ │ +class remove_telnetd { │ │ │ │ + package { 'telnetd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove telnetd │ │ │ │ @@ -4144,31 +4144,14 @@ │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_0_9 4.3.3.3.9, 4.3.3.5.8, 4.3.4.4.7, 4.4.2.1, 4.4.2.2, │ │ │ │ References: 4.4.2.4 │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "ntp" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_ntp │ │ │ │ - │ │ │ │ -class install_ntp { │ │ │ │ - package { 'ntp': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -4193,14 +4176,31 @@ │ │ │ │ - PCI-DSS-Req-10.4 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_ntp_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_ntp │ │ │ │ + │ │ │ │ +class install_ntp { │ │ │ │ + package { 'ntp': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "ntp" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -4234,31 +4234,14 @@ │ │ │ │ 4.4.2.4 │ │ │ │ References: _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a), AU-8(1)(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ _p_c_i_d_s_s_4 10.6.1, 10.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["ntp"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_ntp │ │ │ │ - │ │ │ │ -class enable_ntp { │ │ │ │ - service {'ntp': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -4302,14 +4285,31 @@ │ │ │ │ - PCI-DSSv4-10.6.1 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - service_ntp_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_ntp │ │ │ │ + │ │ │ │ +class enable_ntp { │ │ │ │ + service {'ntp': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["ntp"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -4347,31 +4347,14 @@ │ │ │ │ 4.4.2.4 │ │ │ │ References: _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a), AU-8(1)(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ _p_c_i_d_s_s_4 10.6.1, 10.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["systemd-timesyncd"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_systemd-timesyncd │ │ │ │ - │ │ │ │ -class enable_systemd-timesyncd { │ │ │ │ - service {'systemd-timesyncd': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -4417,14 +4400,31 @@ │ │ │ │ - PCI-DSSv4-10.6.1 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - service_timesyncd_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_systemd-timesyncd │ │ │ │ + │ │ │ │ +class enable_systemd-timesyncd { │ │ │ │ + service {'systemd-timesyncd': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["systemd-timesyncd"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -5329,31 +5329,14 @@ │ │ │ │ 000349-GPOS-00137, SRG-OS-000350-GPOS-00138, SRG-OS- │ │ │ │ 000351-GPOS-00139, SRG-OS-000352-GPOS-00140, SRG-OS- │ │ │ │ 000353-GPOS-00141, SRG-OS-000354-GPOS-00142, SRG-OS- │ │ │ │ 000358-GPOS-00145, SRG-OS-000365-GPOS-00152, SRG-OS- │ │ │ │ 000392-GPOS-00172, SRG-OS-000475-GPOS-00220 │ │ │ │ _a_n_s_s_i R33, R73 │ │ │ │ _p_c_i_d_s_s_4 10.2.1, 10.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "auditd" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_auditd │ │ │ │ - │ │ │ │ -class install_auditd { │ │ │ │ - package { 'auditd': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -5394,14 +5377,31 @@ │ │ │ │ - PCI-DSSv4-10.2.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_audit_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_auditd │ │ │ │ + │ │ │ │ +class install_auditd { │ │ │ │ + package { 'auditd': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "auditd" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -5477,31 +5477,14 @@ │ │ │ │ SRG-OS-000358-GPOS-00145, SRG-OS-000365-GPOS-00152, │ │ │ │ SRG-OS-000392-GPOS-00172, SRG-OS-000475-GPOS-00220 │ │ │ │ SRG-APP-000095-CTR-000170, SRG-APP-000409-CTR- │ │ │ │ _a_p_p_-_s_r_g_-_c_t_r 000990, SRG-APP-000508-CTR-001300, SRG-APP-000510- │ │ │ │ CTR-001310 │ │ │ │ _a_n_s_s_i R33, R73 │ │ │ │ _p_c_i_d_s_s_4 10.2.1, 10.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["auditd"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_auditd │ │ │ │ - │ │ │ │ -class enable_auditd { │ │ │ │ - service {'auditd': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -5567,14 +5550,31 @@ │ │ │ │ - PCI-DSSv4-10.2.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_auditd_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_auditd │ │ │ │ + │ │ │ │ +class enable_auditd { │ │ │ │ + service {'auditd': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["auditd"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ ├── ./usr/share/doc/ssg-debderived/ssg-ubuntu1804-guide-anssi_np_nt28_average.html │ │ │ @@ -28240,95 +28240,95 @@ │ │ │ 0006e4f0: 7267 6574 3d22 2369 646d 3131 3238 3422 rget="#idm11284" │ │ │ 0006e500: 2074 6162 696e 6465 783d 2230 2220 726f tabindex="0" ro │ │ │ 0006e510: 6c65 3d22 6275 7474 6f6e 2220 6172 6961 le="button" aria │ │ │ 0006e520: 2d65 7870 616e 6465 643d 2266 616c 7365 -expanded="false │ │ │ 0006e530: 2220 7469 746c 653d 2241 6374 6976 6174 " title="Activat │ │ │ 0006e540: 6520 746f 2072 6576 6561 6c22 2068 7265 e to reveal" hre │ │ │ 0006e550: 663d 2223 2122 3e52 656d 6564 6961 7469 f="#!">Remediati │ │ │ -0006e560: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -0006e570: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -0006e5b0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -0006e620: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -0006e640: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -0006e670: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -0006e600: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -0006e610: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -0006e650: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -0006e660: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ -0006e6b0: 2072 656d 6f76 655f 696e 6574 7574 696c remove_inetutil │ │ │ -0006e6c0: 732d 7465 6c6e 6574 640a 0a63 6c61 7373 s-telnetd..class │ │ │ -0006e6d0: 2072 656d 6f76 655f 696e 6574 7574 696c remove_inetutil │ │ │ -0006e6e0: 732d 7465 6c6e 6574 6420 7b0a 2020 7061 s-telnetd {. pa │ │ │ -0006e6f0: 636b 6167 6520 7b20 2769 6e65 7475 7469 ckage { 'inetuti │ │ │ -0006e700: 6c73 2d74 656c 6e65 7464 273a 0a20 2020 ls-telnetd':. │ │ │ -0006e710: 2065 6e73 7572 6520 3d26 6774 3b20 2770 ensure => 'p │ │ │ -0006e720: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f urged',. }.}.

Remediation Ans │ │ │ -0006e7f0: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -0006e800: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ -0006e890: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -0006e8b0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ -0006e8d0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ -0006e900: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -0006e910: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Ensu
│ │ │ -0006e940: 7265 2069 6e65 7475 7469 6c73 2d74 656c  re inetutils-tel
│ │ │ -0006e950: 6e65 7464 2069 7320 7265 6d6f 7665 640a  netd is removed.
│ │ │ -0006e960: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ -0006e970: 616d 653a 2069 6e65 7475 7469 6c73 2d74  ame: inetutils-t
│ │ │ -0006e980: 656c 6e65 7464 0a20 2020 2073 7461 7465  elnetd.    state
│ │ │ -0006e990: 3a20 6162 7365 6e74 0a20 2074 6167 733a  : absent.  tags:
│ │ │ -0006e9a0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -0006e9b0: 2d43 4d2d 3628 6129 0a20 202d 204e 4953  -CM-6(a).  - NIS
│ │ │ -0006e9c0: 542d 3830 302d 3533 2d43 4d2d 3728 6129  T-800-53-CM-7(a)
│ │ │ -0006e9d0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -0006e9e0: 2d43 4d2d 3728 6229 0a20 202d 2064 6973  -CM-7(b).  - dis
│ │ │ -0006e9f0: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -0006ea00: 2d20 6869 6768 5f73 6576 6572 6974 790a  - high_severity.
│ │ │ -0006ea10: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -0006ea20: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -0006ea30: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562  ption.  - no_reb
│ │ │ -0006ea40: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ -0006ea50: 6163 6b61 6765 5f69 6e65 7475 7469 6c73  ackage_inetutils
│ │ │ -0006ea60: 2d74 656c 6e65 7464 5f72 656d 6f76 6564  -telnetd_removed
│ │ │ +0006e560: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070  on Ansible snipp
│ │ │ +0006e570: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64  et ...
│ │ │ +0006e620: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +0006e640: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +0006e670: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +0006e600: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +0006e610: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +0006e630: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +0006e650: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +0006e660: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +0006e6a0: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +0006e6b0: 3a20 456e 7375 7265 2069 6e65 7475 7469 : Ensure inetuti │ │ │ +0006e6c0: 6c73 2d74 656c 6e65 7464 2069 7320 7265 ls-telnetd is re │ │ │ +0006e6d0: 6d6f 7665 640a 2020 7061 636b 6167 653a moved. package: │ │ │ +0006e6e0: 0a20 2020 206e 616d 653a 2069 6e65 7475 . name: inetu │ │ │ +0006e6f0: 7469 6c73 2d74 656c 6e65 7464 0a20 2020 tils-telnetd. │ │ │ +0006e700: 2073 7461 7465 3a20 6162 7365 6e74 0a20 state: absent. │ │ │ +0006e710: 2074 6167 733a 0a20 202d 204e 4953 542d tags:. - NIST- │ │ │ +0006e720: 3830 302d 3533 2d43 4d2d 3628 6129 0a20 800-53-CM-6(a). │ │ │ +0006e730: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C │ │ │ +0006e740: 4d2d 3728 6129 0a20 202d 204e 4953 542d M-7(a). - NIST- │ │ │ +0006e750: 3830 302d 3533 2d43 4d2d 3728 6229 0a20 800-53-CM-7(b). │ │ │ +0006e760: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat │ │ │ +0006e770: 6567 790a 2020 2d20 6869 6768 5f73 6576 egy. - high_sev │ │ │ +0006e780: 6572 6974 790a 2020 2d20 6c6f 775f 636f erity. - low_co │ │ │ +0006e790: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low │ │ │ +0006e7a0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. - │ │ │ +0006e7b0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed │ │ │ +0006e7c0: 0a20 202d 2070 6163 6b61 6765 5f69 6e65 . - package_ine │ │ │ +0006e7d0: 7475 7469 6c73 2d74 656c 6e65 7464 5f72 tutils-telnetd_r │ │ │ +0006e7e0: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f emoved.
Remedi │ │ │ +0006e8a0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ +0006e8b0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +0006e8c0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +0006e940: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +0006e970: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +0006e990: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +0006e9a0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +0006e9c0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +0006e9d0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +0006e9f0: 7564 6520 7265 6d6f 7665 5f69 6e65 7475  ude remove_inetu
│ │ │ +0006ea00: 7469 6c73 2d74 656c 6e65 7464 0a0a 636c  tils-telnetd..cl
│ │ │ +0006ea10: 6173 7320 7265 6d6f 7665 5f69 6e65 7475  ass remove_inetu
│ │ │ +0006ea20: 7469 6c73 2d74 656c 6e65 7464 207b 0a20  tils-telnetd {. 
│ │ │ +0006ea30: 2070 6163 6b61 6765 207b 2027 696e 6574   package { 'inet
│ │ │ +0006ea40: 7574 696c 732d 7465 6c6e 6574 6427 3a0a  utils-telnetd':.
│ │ │ +0006ea50: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +0006ea60: 2027 7075 7267 6564 272c 0a20 207d 0a7d   'purged',.  }.}
│ │ │  0006ea70: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediatio │ │ │ -0006f410: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ -0006f420: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -0006f460: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -0006f470: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -0006f480: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -0006f490: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -0006f4a0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -0006f4b0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -0006f4c0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -0006f500: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -0006f510: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -0006f530: 3c74 643e 6469 7361 626c 653c 2f74 643e disable │ │ │ -0006f540: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 include │ │ │ -0006f560: 7265 6d6f 7665 5f6e 6973 0a0a 636c 6173 remove_nis..clas │ │ │ -0006f570: 7320 7265 6d6f 7665 5f6e 6973 207b 0a20 s remove_nis {. │ │ │ -0006f580: 2070 6163 6b61 6765 207b 2027 6e69 7327 package { 'nis' │ │ │ -0006f590: 3a0a 2020 2020 656e 7375 7265 203d 2667 :. ensure =&g │ │ │ -0006f5a0: 743b 2027 7075 7267 6564 272c 0a20 207d t; 'purged',. } │ │ │ -0006f5b0: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}. │ │ │ -0006f5c0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ -0006f670: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ -0006f680: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -0006f6c0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -0006f730: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -0006f750: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -0006f780: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -0006f710: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -0006f720: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -0006f760: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -0006f770: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

- name: │ │ │ -0006f7c0: 2045 6e73 7572 6520 6e69 7320 6973 2072 Ensure nis is r │ │ │ -0006f7d0: 656d 6f76 6564 0a20 2070 6163 6b61 6765 emoved. package │ │ │ -0006f7e0: 3a0a 2020 2020 6e61 6d65 3a20 6e69 730a :. name: nis. │ │ │ -0006f7f0: 2020 2020 7374 6174 653a 2061 6273 656e state: absen │ │ │ -0006f800: 740a 2020 7461 6773 3a0a 2020 2d20 6469 t. tags:. - di │ │ │ -0006f810: 7361 626c 655f 7374 7261 7465 6779 0a20 sable_strategy. │ │ │ -0006f820: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit │ │ │ -0006f830: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup │ │ │ -0006f840: 7469 6f6e 0a20 202d 206c 6f77 5f73 6576 tion. - low_sev │ │ │ -0006f850: 6572 6974 790a 2020 2d20 6e6f 5f72 6562 erity. - no_reb │ │ │ -0006f860: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p │ │ │ -0006f870: 6163 6b61 6765 5f6e 6973 5f72 656d 6f76 ackage_nis_remov │ │ │ -0006f880: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e ed. │ │ │ +0006f410: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ +0006f420: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +0006f460: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ +0006f4d0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +0006f4f0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +0006f520: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ +0006f4b0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +0006f4c0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +0006f500: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +0006f510: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

- name: │ │ │ +0006f560: 2045 6e73 7572 6520 6e69 7320 6973 2072 Ensure nis is r │ │ │ +0006f570: 656d 6f76 6564 0a20 2070 6163 6b61 6765 emoved. package │ │ │ +0006f580: 3a0a 2020 2020 6e61 6d65 3a20 6e69 730a :. name: nis. │ │ │ +0006f590: 2020 2020 7374 6174 653a 2061 6273 656e state: absen │ │ │ +0006f5a0: 740a 2020 7461 6773 3a0a 2020 2d20 6469 t. tags:. - di │ │ │ +0006f5b0: 7361 626c 655f 7374 7261 7465 6779 0a20 sable_strategy. │ │ │ +0006f5c0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit │ │ │ +0006f5d0: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup │ │ │ +0006f5e0: 7469 6f6e 0a20 202d 206c 6f77 5f73 6576 tion. - low_sev │ │ │ +0006f5f0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562 erity. - no_reb │ │ │ +0006f600: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p │ │ │ +0006f610: 6163 6b61 6765 5f6e 6973 5f72 656d 6f76 ackage_nis_remov │ │ │ +0006f620: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e ed. │ │ │ +0006f630: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22

Remediatio │ │ │ +0006f6e0: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ +0006f6f0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +0006f730: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +0006f740: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +0006f750: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +0006f760: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +0006f770: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +0006f780: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +0006f790: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +0006f7d0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +0006f7e0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +0006f800: 3c74 643e 6469 7361 626c 653c 2f74 643e disable │ │ │ +0006f810: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 include │ │ │ +0006f830: 7265 6d6f 7665 5f6e 6973 0a0a 636c 6173 remove_nis..clas │ │ │ +0006f840: 7320 7265 6d6f 7665 5f6e 6973 207b 0a20 s remove_nis {. │ │ │ +0006f850: 2070 6163 6b61 6765 207b 2027 6e69 7327 package { 'nis' │ │ │ +0006f860: 3a0a 2020 2020 656e 7375 7265 203d 2667 :. ensure =&g │ │ │ +0006f870: 743b 2027 7075 7267 6564 272c 0a20 207d t; 'purged',. } │ │ │ +0006f880: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}. │ │ │ 0006f890: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
R │ │ │ -00070200: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ -00070210: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity: │ │ │ -000702f0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -00070300: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ -00070360: 6e74 7064 6174 650a 0a63 6c61 7373 2072  ntpdate..class r
│ │ │ -00070370: 656d 6f76 655f 6e74 7064 6174 6520 7b0a  emove_ntpdate {.
│ │ │ -00070380: 2020 7061 636b 6167 6520 7b20 276e 7470    package { 'ntp
│ │ │ -00070390: 6461 7465 273a 0a20 2020 2065 6e73 7572  date':.    ensur
│ │ │ -000703a0: 6520 3d26 6774 3b20 2770 7572 6765 6427  e => 'purged'
│ │ │ -000703b0: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ -000703c0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remed
│ │ │ -00070470: 6961 7469 6f6e 2041 6e73 6962 6c65 2073  iation Ansible s
│ │ │ -00070480: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62  nippet ...
low
Disru │ │ │ -000702d0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -000702e0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -00070320: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ -00070330: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
< │ │ │ -00070520: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -00070530: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -00070580: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ -000705c0: 6e61 6d65 3a20 456e 7375 7265 206e 7470  name: Ensure ntp
│ │ │ -000705d0: 6461 7465 2069 7320 7265 6d6f 7665 640a  date is removed.
│ │ │ -000705e0: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ -000705f0: 616d 653a 206e 7470 6461 7465 0a20 2020  ame: ntpdate.   
│ │ │ -00070600: 2073 7461 7465 3a20 6162 7365 6e74 0a20   state: absent. 
│ │ │ -00070610: 2074 6167 733a 0a20 202d 2064 6973 6162   tags:.  - disab
│ │ │ -00070620: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -00070630: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -00070640: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -00070650: 6e0a 2020 2d20 6c6f 775f 7365 7665 7269  n.  - low_severi
│ │ │ -00070660: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -00070670: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ -00070680: 6167 655f 6e74 7064 6174 655f 7265 6d6f  age_ntpdate_remo
│ │ │ -00070690: 7665 640a 3c2f 636f 6465 3e3c 2f70 7265  ved.

C │ │ │ -00070510: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -00070540: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -00070550: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -00070590: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -000705a0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
< │ │ │ +000702a0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +000702c0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +00070310: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +00070340: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Ensure
│ │ │ +00070360: 206e 7470 6461 7465 2069 7320 7265 6d6f   ntpdate is remo
│ │ │ +00070370: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ +00070380: 2020 206e 616d 653a 206e 7470 6461 7465     name: ntpdate
│ │ │ +00070390: 0a20 2020 2073 7461 7465 3a20 6162 7365  .    state: abse
│ │ │ +000703a0: 6e74 0a20 2074 6167 733a 0a20 202d 2064  nt.  tags:.  - d
│ │ │ +000703b0: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ +000703c0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +000703d0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +000703e0: 7074 696f 6e0a 2020 2d20 6c6f 775f 7365  ption.  - low_se
│ │ │ +000703f0: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +00070400: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +00070410: 7061 636b 6167 655f 6e74 7064 6174 655f  package_ntpdate_
│ │ │ +00070420: 7265 6d6f 7665 640a 3c2f 636f 6465 3e3c  removed.<
│ │ │ +00070430: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remed
│ │ │ +000704e0: 6961 7469 6f6e 2050 7570 7065 7420 736e  iation Puppet sn
│ │ │ +000704f0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
low
Disr │ │ │ +000702d0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +000702e0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +00070320: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +00070330: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
low< │ │ │ +000705a0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +000705f0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ +00070630: 6c75 6465 2072 656d 6f76 655f 6e74 7064  lude remove_ntpd
│ │ │ +00070640: 6174 650a 0a63 6c61 7373 2072 656d 6f76  ate..class remov
│ │ │ +00070650: 655f 6e74 7064 6174 6520 7b0a 2020 7061  e_ntpdate {.  pa
│ │ │ +00070660: 636b 6167 6520 7b20 276e 7470 6461 7465  ckage { 'ntpdate
│ │ │ +00070670: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ +00070680: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ +00070690: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remedi │ │ │ -00071760: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ -00071770: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -00071780: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Co │ │ │ +00070580: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +000705b0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +000705d0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +000705e0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +00070600: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +00070610: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Com │ │ │ -00071800: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -00071830: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -00071850: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -00071860: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -00071880: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -00071890: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -000718b0: 7564 6520 7265 6d6f 7665 5f74 656c 6e65  ude remove_telne
│ │ │ -000718c0: 7464 2d73 736c 0a0a 636c 6173 7320 7265  td-ssl..class re
│ │ │ -000718d0: 6d6f 7665 5f74 656c 6e65 7464 2d73 736c  move_telnetd-ssl
│ │ │ -000718e0: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ -000718f0: 7465 6c6e 6574 642d 7373 6c27 3a0a 2020  telnetd-ssl':.  
│ │ │ -00071900: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ -00071910: 7075 7267 6564 272c 0a20 207d 0a7d 0a3c  purged',.  }.}.<
│ │ │ -00071920: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation An │ │ │ -000719e0: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -000719f0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ -00071a80: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -00071aa0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -00071ab0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -00071ac0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -00071ad0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -00071af0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ -00071b20: 636f 6465 3e2d 206e 616d 653a 2045 6e73  code>- name: Ens
│ │ │ -00071b30: 7572 6520 7465 6c6e 6574 642d 7373 6c20  ure telnetd-ssl 
│ │ │ -00071b40: 6973 2072 656d 6f76 6564 0a20 2070 6163  is removed.  pac
│ │ │ -00071b50: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20  kage:.    name: 
│ │ │ -00071b60: 7465 6c6e 6574 642d 7373 6c0a 2020 2020  telnetd-ssl.    
│ │ │ -00071b70: 7374 6174 653a 2061 6273 656e 740a 2020  state: absent.  
│ │ │ -00071b80: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ -00071b90: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ -00071ba0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -00071bb0: 2d37 2861 290a 2020 2d20 4e49 5354 2d38  -7(a).  - NIST-8
│ │ │ -00071bc0: 3030 2d35 332d 434d 2d37 2862 290a 2020  00-53-CM-7(b).  
│ │ │ -00071bd0: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ -00071be0: 6779 0a20 202d 2068 6967 685f 7365 7665  gy.  - high_seve
│ │ │ -00071bf0: 7269 7479 0a20 202d 206c 6f77 5f63 6f6d  rity.  - low_com
│ │ │ -00071c00: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -00071c10: 6469 7372 7570 7469 6f6e 0a20 202d 206e  disruption.  - n
│ │ │ -00071c20: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -00071c30: 2020 2d20 7061 636b 6167 655f 7465 6c6e    - package_teln
│ │ │ -00071c40: 6574 642d 7373 6c5f 7265 6d6f 7665 640a  etd-ssl_removed.
│ │ │ +00071760: 6174 696f 6e20 416e 7369 626c 6520 736e  ation Ansible sn
│ │ │ +00071770: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
low< │ │ │ +00071820: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +00071870: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ +000718b0: 616d 653a 2045 6e73 7572 6520 7465 6c6e  ame: Ensure teln
│ │ │ +000718c0: 6574 642d 7373 6c20 6973 2072 656d 6f76  etd-ssl is remov
│ │ │ +000718d0: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ +000718e0: 2020 6e61 6d65 3a20 7465 6c6e 6574 642d    name: telnetd-
│ │ │ +000718f0: 7373 6c0a 2020 2020 7374 6174 653a 2061  ssl.    state: a
│ │ │ +00071900: 6273 656e 740a 2020 7461 6773 3a0a 2020  bsent.  tags:.  
│ │ │ +00071910: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +00071920: 2d36 2861 290a 2020 2d20 4e49 5354 2d38  -6(a).  - NIST-8
│ │ │ +00071930: 3030 2d35 332d 434d 2d37 2861 290a 2020  00-53-CM-7(a).  
│ │ │ +00071940: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +00071950: 2d37 2862 290a 2020 2d20 6469 7361 626c  -7(b).  - disabl
│ │ │ +00071960: 655f 7374 7261 7465 6779 0a20 202d 2068  e_strategy.  - h
│ │ │ +00071970: 6967 685f 7365 7665 7269 7479 0a20 202d  igh_severity.  -
│ │ │ +00071980: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +00071990: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +000719a0: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74  on.  - no_reboot
│ │ │ +000719b0: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ +000719c0: 6167 655f 7465 6c6e 6574 642d 7373 6c5f  age_telnetd-ssl_
│ │ │ +000719d0: 7265 6d6f 7665 640a 3c2f 636f 6465 3e3c  removed.<
│ │ │ +000719e0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remed
│ │ │ +00071a90: 6961 7469 6f6e 2050 7570 7065 7420 736e  iation Puppet sn
│ │ │ +00071aa0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
Co │ │ │ +00071800: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +00071830: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +00071850: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +00071860: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +00071880: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +00071890: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
low< │ │ │ +00071b50: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +00071ba0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ +00071be0: 6c75 6465 2072 656d 6f76 655f 7465 6c6e  lude remove_teln
│ │ │ +00071bf0: 6574 642d 7373 6c0a 0a63 6c61 7373 2072  etd-ssl..class r
│ │ │ +00071c00: 656d 6f76 655f 7465 6c6e 6574 642d 7373  emove_telnetd-ss
│ │ │ +00071c10: 6c20 7b0a 2020 7061 636b 6167 6520 7b20  l {.  package { 
│ │ │ +00071c20: 2774 656c 6e65 7464 2d73 736c 273a 0a20  'telnetd-ssl':. 
│ │ │ +00071c30: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ +00071c40: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a  'purged',.  }.}.
│ │ │  00071c50: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remedi │ │ │ -00072d20: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ -00072d30: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -00072d40: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Co │ │ │ +00071b30: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +00071b60: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +00071b80: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +00071b90: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +00071bb0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +00071bc0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Com │ │ │ -00072dc0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -00072df0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -00072e10: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -00072e20: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -00072e40: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -00072e50: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -00072e70: 7564 6520 7265 6d6f 7665 5f74 656c 6e65  ude remove_telne
│ │ │ -00072e80: 7464 0a0a 636c 6173 7320 7265 6d6f 7665  td..class remove
│ │ │ -00072e90: 5f74 656c 6e65 7464 207b 0a20 2070 6163  _telnetd {.  pac
│ │ │ -00072ea0: 6b61 6765 207b 2027 7465 6c6e 6574 6427  kage { 'telnetd'
│ │ │ -00072eb0: 3a0a 2020 2020 656e 7375 7265 203d 2667  :.    ensure =&g
│ │ │ -00072ec0: 743b 2027 7075 7267 6564 272c 0a20 207d  t; 'purged',.  }
│ │ │ -00072ed0: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ -00072ee0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ -00072f90: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ -00072fa0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -00072fe0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -00073050: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -00073070: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -000730a0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -00073030: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -00073040: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -00073080: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -00073090: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

- name: │ │ │ -000730e0: 2045 6e73 7572 6520 7465 6c6e 6574 6420 Ensure telnetd │ │ │ -000730f0: 6973 2072 656d 6f76 6564 0a20 2070 6163 is removed. pac │ │ │ -00073100: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20 kage:. name: │ │ │ -00073110: 7465 6c6e 6574 640a 2020 2020 7374 6174 telnetd. stat │ │ │ -00073120: 653a 2061 6273 656e 740a 2020 7461 6773 e: absent. tags │ │ │ -00073130: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35 :. - NIST-800-5 │ │ │ -00073140: 332d 434d 2d36 2861 290a 2020 2d20 4e49 3-CM-6(a). - NI │ │ │ -00073150: 5354 2d38 3030 2d35 332d 434d 2d37 2861 ST-800-53-CM-7(a │ │ │ -00073160: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5 │ │ │ -00073170: 332d 434d 2d37 2862 290a 2020 2d20 6469 3-CM-7(b). - di │ │ │ -00073180: 7361 626c 655f 7374 7261 7465 6779 0a20 sable_strategy. │ │ │ -00073190: 202d 2068 6967 685f 7365 7665 7269 7479 - high_severity │ │ │ -000731a0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex │ │ │ -000731b0: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr │ │ │ -000731c0: 7570 7469 6f6e 0a20 202d 206e 6f5f 7265 uption. - no_re │ │ │ -000731d0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. - │ │ │ -000731e0: 7061 636b 6167 655f 7465 6c6e 6574 645f package_telnetd_ │ │ │ -000731f0: 7265 6d6f 7665 640a 3c2f 636f 6465 3e3c removed.< │ │ │ +00072d20: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn │ │ │ +00072d30: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...

low< │ │ │ +00072de0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +00072e30: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ +00072e70: 616d 653a 2045 6e73 7572 6520 7465 6c6e  ame: Ensure teln
│ │ │ +00072e80: 6574 6420 6973 2072 656d 6f76 6564 0a20  etd is removed. 
│ │ │ +00072e90: 2070 6163 6b61 6765 3a0a 2020 2020 6e61   package:.    na
│ │ │ +00072ea0: 6d65 3a20 7465 6c6e 6574 640a 2020 2020  me: telnetd.    
│ │ │ +00072eb0: 7374 6174 653a 2061 6273 656e 740a 2020  state: absent.  
│ │ │ +00072ec0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ +00072ed0: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ +00072ee0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +00072ef0: 2d37 2861 290a 2020 2d20 4e49 5354 2d38  -7(a).  - NIST-8
│ │ │ +00072f00: 3030 2d35 332d 434d 2d37 2862 290a 2020  00-53-CM-7(b).  
│ │ │ +00072f10: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ +00072f20: 6779 0a20 202d 2068 6967 685f 7365 7665  gy.  - high_seve
│ │ │ +00072f30: 7269 7479 0a20 202d 206c 6f77 5f63 6f6d  rity.  - low_com
│ │ │ +00072f40: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +00072f50: 6469 7372 7570 7469 6f6e 0a20 202d 206e  disruption.  - n
│ │ │ +00072f60: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +00072f70: 2020 2d20 7061 636b 6167 655f 7465 6c6e    - package_teln
│ │ │ +00072f80: 6574 645f 7265 6d6f 7665 640a 3c2f 636f  etd_removed.
< │ │ │ +00072fa0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +00072fb0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +00072fc0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +00072fd0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +00072fe0: 646d 3131 3530 3422 2074 6162 696e 6465 dm11504" tabinde │ │ │ +00072ff0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +00073000: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +00073010: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +00073020: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +00073030: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +00073040: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +00073050: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Co │ │ │ +00072dc0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +00072df0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +00072e10: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +00072e20: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +00072e40: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +00072e50: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complexity: │ │ │ +00073130: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +00073140: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ +000731a0: 7465 6c6e 6574 640a 0a63 6c61 7373 2072  telnetd..class r
│ │ │ +000731b0: 656d 6f76 655f 7465 6c6e 6574 6420 7b0a  emove_telnetd {.
│ │ │ +000731c0: 2020 7061 636b 6167 6520 7b20 2774 656c    package { 'tel
│ │ │ +000731d0: 6e65 7464 273a 0a20 2020 2065 6e73 7572  netd':.    ensur
│ │ │ +000731e0: 6520 3d26 6774 3b20 2770 7572 6765 6427  e => 'purged'
│ │ │ +000731f0: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │  00073200: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
│ │ │ -000751a0: 5265 6d65 6469 6174 696f 6e20 4f53 4275  Remediation OSBu
│ │ │ -000751b0: 696c 6420 426c 7565 7072 696e 7420 736e  ild Blueprint sn
│ │ │ -000751c0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
.
│ │ │ -00075210: 5b5b 7061 636b 6167 6573 5d5d 0a6e 616d  [[packages]].nam
│ │ │ -00075220: 6520 3d20 226e 7470 220a 7665 7273 696f  e = "ntp".versio
│ │ │ -00075230: 6e20 3d20 222a 220a 3c2f 636f 6465 3e3c  n = "*".<
│ │ │ -00075240: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remed │ │ │ -000752f0: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ -00075300: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low
Disru │ │ │ +00073110: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +00073120: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +00073160: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +00073170: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
low< │ │ │ -000753b0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -00075400: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ -00075390: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -000753c0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -000753e0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -000753f0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -00075410: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ -00075420: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -00075440: 7564 6520 696e 7374 616c 6c5f 6e74 700a  ude install_ntp.
│ │ │ -00075450: 0a63 6c61 7373 2069 6e73 7461 6c6c 5f6e  .class install_n
│ │ │ -00075460: 7470 207b 0a20 2070 6163 6b61 6765 207b  tp {.  package {
│ │ │ -00075470: 2027 6e74 7027 3a0a 2020 2020 656e 7375   'ntp':.    ensu
│ │ │ -00075480: 7265 203d 2667 743b 2027 696e 7374 616c  re => 'instal
│ │ │ -00075490: 6c65 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  led',.  }.}.
< │ │ │ -000754b0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -000754c0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -000754d0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -000754e0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -000754f0: 646d 3131 3939 3222 2074 6162 696e 6465 dm11992" tabinde │ │ │ -00075500: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -00075510: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -00075520: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -00075530: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -00075540: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -00075550: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ -00075560: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
< │ │ │ -000755f0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -00075610: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -00075660: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
- name: Gather 
│ │ │ -000756b0: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ -000756c0: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ -000756d0: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ -000756e0: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ -000756f0: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -00075700: 3628 6129 0a20 202d 2050 4349 2d44 5353  6(a).  - PCI-DSS
│ │ │ -00075710: 2d52 6571 2d31 302e 340a 2020 2d20 656e  -Req-10.4.  - en
│ │ │ -00075720: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -00075730: 2d20 6869 6768 5f73 6576 6572 6974 790a  - high_severity.
│ │ │ -00075740: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -00075750: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -00075760: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562  ption.  - no_reb
│ │ │ -00075770: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ -00075780: 6163 6b61 6765 5f6e 7470 5f69 6e73 7461  ackage_ntp_insta
│ │ │ -00075790: 6c6c 6564 0a0a 2d20 6e61 6d65 3a20 456e  lled..- name: En
│ │ │ -000757a0: 7375 7265 206e 7470 2069 7320 696e 7374  sure ntp is inst
│ │ │ -000757b0: 616c 6c65 640a 2020 7061 636b 6167 653a  alled.  package:
│ │ │ -000757c0: 0a20 2020 206e 616d 653a 206e 7470 0a20  .    name: ntp. 
│ │ │ -000757d0: 2020 2073 7461 7465 3a20 7072 6573 656e     state: presen
│ │ │ -000757e0: 740a 2020 7768 656e 3a20 2722 6c69 6e75  t.  when: '"linu
│ │ │ -000757f0: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ -00075800: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -00075810: 7327 0a20 2074 6167 733a 0a20 202d 204e  s'.  tags:.  - N
│ │ │ -00075820: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -00075830: 6129 0a20 202d 2050 4349 2d44 5353 2d52  a).  - PCI-DSS-R
│ │ │ -00075840: 6571 2d31 302e 340a 2020 2d20 656e 6162  eq-10.4.  - enab
│ │ │ -00075850: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -00075860: 6869 6768 5f73 6576 6572 6974 790a 2020  high_severity.  
│ │ │ -00075870: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -00075880: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -00075890: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f  ion.  - no_reboo
│ │ │ -000758a0: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ -000758b0: 6b61 6765 5f6e 7470 5f69 6e73 7461 6c6c  kage_ntp_install
│ │ │ -000758c0: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e  ed.
│ │ │ +000751a0: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi │ │ │ +000751b0: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...< │ │ │ +000751c0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
low
Disr │ │ │ -00075620: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -00075630: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -00075670: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ -00075680: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ +00075240: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +00075260: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +000752b0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ +000752e0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Gather
│ │ │ +00075300: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ +00075310: 7473 0a20 2070 6163 6b61 6765 5f66 6163  ts.  package_fac
│ │ │ +00075320: 7473 3a0a 2020 2020 6d61 6e61 6765 723a  ts:.    manager:
│ │ │ +00075330: 2061 7574 6f0a 2020 7461 6773 3a0a 2020   auto.  tags:.  
│ │ │ +00075340: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +00075350: 2d36 2861 290a 2020 2d20 5043 492d 4453  -6(a).  - PCI-DS
│ │ │ +00075360: 532d 5265 712d 3130 2e34 0a20 202d 2065  S-Req-10.4.  - e
│ │ │ +00075370: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ +00075380: 202d 2068 6967 685f 7365 7665 7269 7479   - high_severity
│ │ │ +00075390: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +000753a0: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +000753b0: 7570 7469 6f6e 0a20 202d 206e 6f5f 7265  uption.  - no_re
│ │ │ +000753c0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +000753d0: 7061 636b 6167 655f 6e74 705f 696e 7374  package_ntp_inst
│ │ │ +000753e0: 616c 6c65 640a 0a2d 206e 616d 653a 2045  alled..- name: E
│ │ │ +000753f0: 6e73 7572 6520 6e74 7020 6973 2069 6e73  nsure ntp is ins
│ │ │ +00075400: 7461 6c6c 6564 0a20 2070 6163 6b61 6765  talled.  package
│ │ │ +00075410: 3a0a 2020 2020 6e61 6d65 3a20 6e74 700a  :.    name: ntp.
│ │ │ +00075420: 2020 2020 7374 6174 653a 2070 7265 7365      state: prese
│ │ │ +00075430: 6e74 0a20 2077 6865 6e3a 2027 226c 696e  nt.  when: '"lin
│ │ │ +00075440: 7578 2d62 6173 6522 2069 6e20 616e 7369  ux-base" in ansi
│ │ │ +00075450: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ +00075460: 6573 270a 2020 7461 6773 3a0a 2020 2d20  es'.  tags:.  - 
│ │ │ +00075470: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ +00075480: 2861 290a 2020 2d20 5043 492d 4453 532d  (a).  - PCI-DSS-
│ │ │ +00075490: 5265 712d 3130 2e34 0a20 202d 2065 6e61  Req-10.4.  - ena
│ │ │ +000754a0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +000754b0: 2068 6967 685f 7365 7665 7269 7479 0a20   high_severity. 
│ │ │ +000754c0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +000754d0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +000754e0: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f  tion.  - no_rebo
│ │ │ +000754f0: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ +00075500: 636b 6167 655f 6e74 705f 696e 7374 616c  ckage_ntp_instal
│ │ │ +00075510: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265  led.
Remediati │ │ │ +000755d0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ +000755e0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +00075620: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
Complexity:< │ │ │ +00075250: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +00075270: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +000752c0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ +000752d0: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
< │ │ │ +00075690: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +000756b0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +000756e0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ +00075700: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ +00075670: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +00075680: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +000756c0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +000756d0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ +00075720: 696e 7374 616c 6c5f 6e74 700a 0a63 6c61 install_ntp..cla │ │ │ +00075730: 7373 2069 6e73 7461 6c6c 5f6e 7470 207b ss install_ntp { │ │ │ +00075740: 0a20 2070 6163 6b61 6765 207b 2027 6e74 . package { 'nt │ │ │ +00075750: 7027 3a0a 2020 2020 656e 7375 7265 203d p':. ensure = │ │ │ +00075760: 2667 743b 2027 696e 7374 616c 6c65 6427 > 'installed' │ │ │ +00075770: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.< │ │ │ +00075780: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remed │ │ │ +00075830: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B │ │ │ +00075840: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet │ │ │ +00075850: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +00075890: 7072 653e 3c63 6f64 653e 0a5b 5b70 6163 pre>.[[pac │ │ │ +000758a0: 6b61 6765 735d 5d0a 6e61 6d65 203d 2022 kages]].name = " │ │ │ +000758b0: 6e74 7022 0a76 6572 7369 6f6e 203d 2022 ntp".version = " │ │ │ +000758c0: 2a22 0a3c 2f63 6f64 653e 3c2f 7072 653e *".
│ │ │ 000758d0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure inetutils-telnetd is removed │ │ │ │ package: │ │ │ │ @@ -3637,14 +3625,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_inetutils-telnetd_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_inetutils-telnetd │ │ │ │ + │ │ │ │ +class remove_inetutils-telnetd { │ │ │ │ + package { 'inetutils-telnetd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove inetutils-telnetd │ │ │ │ @@ -3657,26 +3657,14 @@ │ │ │ │ ****** RRuullee? ?  UUnniinnssttaallll tthhee nniiss ppaacckkaaggee ? ? _[[_rr_ee_ff_]] ****** │ │ │ │ The support for Yellowpages should not be installed unless it is required. │ │ │ │ NIS is the historical SUN service for central account management, │ │ │ │ Rationale: more and more replaced by LDAP. NIS does not support efficiently │ │ │ │ security constraints, ACL, etc. and should not be used. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_nis_removed │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_nis │ │ │ │ - │ │ │ │ -class remove_nis { │ │ │ │ - package { 'nis': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure nis is removed │ │ │ │ package: │ │ │ │ @@ -3685,14 +3673,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_nis_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_nis │ │ │ │ + │ │ │ │ +class remove_nis { │ │ │ │ + package { 'nis': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove nis │ │ │ │ @@ -3706,26 +3706,14 @@ │ │ │ │ ntpdate is a historical ntp synchronization client for unixes. It sould be │ │ │ │ uninstalled. │ │ │ │ ntpdate is an old not security-compliant ntp client. It should be │ │ │ │ Rationale: replaced by modern ntp clients such as ntpd, able to use │ │ │ │ cryptographic mechanisms integrated in NTP. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_ntpdate_removed │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_ntpdate │ │ │ │ - │ │ │ │ -class remove_ntpdate { │ │ │ │ - package { 'ntpdate': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure ntpdate is removed │ │ │ │ package: │ │ │ │ @@ -3734,14 +3722,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_ntpdate_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_ntpdate │ │ │ │ + │ │ │ │ +class remove_ntpdate { │ │ │ │ + package { 'ntpdate': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove ntpdate │ │ │ │ @@ -3772,26 +3772,14 @@ │ │ │ │ SR 2.7, SR 3.1, SR 3.5, SR 3.8, SR 4.1, SR 4.3, SR │ │ │ │ 5.1, SR 5.2, SR 5.3, SR 7.1, SR 7.6 │ │ │ │ A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1, │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.13.2.1, A.14.1.3, A.14.2.2, A.14.2.3, A.14.2.4, │ │ │ │ A.6.2.1, A.6.2.2, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_telnetd-ssl │ │ │ │ - │ │ │ │ -class remove_telnetd-ssl { │ │ │ │ - package { 'telnetd-ssl': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure telnetd-ssl is removed │ │ │ │ package: │ │ │ │ @@ -3803,14 +3791,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_telnetd-ssl_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_telnetd-ssl │ │ │ │ + │ │ │ │ +class remove_telnetd-ssl { │ │ │ │ + package { 'telnetd-ssl': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove telnetd-ssl │ │ │ │ @@ -3842,26 +3842,14 @@ │ │ │ │ SR 2.7, SR 3.1, SR 3.5, SR 3.8, SR 4.1, SR 4.3, SR │ │ │ │ 5.1, SR 5.2, SR 5.3, SR 7.1, SR 7.6 │ │ │ │ A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1, │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.13.2.1, A.14.1.3, A.14.2.2, A.14.2.3, A.14.2.4, │ │ │ │ A.6.2.1, A.6.2.2, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_telnetd │ │ │ │ - │ │ │ │ -class remove_telnetd { │ │ │ │ - package { 'telnetd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure telnetd is removed │ │ │ │ package: │ │ │ │ @@ -3873,14 +3861,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_telnetd_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_telnetd │ │ │ │ + │ │ │ │ +class remove_telnetd { │ │ │ │ + package { 'telnetd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove telnetd │ │ │ │ @@ -3955,31 +3955,14 @@ │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_0_9 4.3.3.3.9, 4.3.3.5.8, 4.3.4.4.7, 4.4.2.1, 4.4.2.2, │ │ │ │ References: 4.4.2.4 │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "ntp" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_ntp │ │ │ │ - │ │ │ │ -class install_ntp { │ │ │ │ - package { 'ntp': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -4004,14 +3987,31 @@ │ │ │ │ - PCI-DSS-Req-10.4 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_ntp_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_ntp │ │ │ │ + │ │ │ │ +class install_ntp { │ │ │ │ + package { 'ntp': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "ntp" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ ├── ./usr/share/doc/ssg-debderived/ssg-ubuntu1804-guide-anssi_np_nt28_high.html │ │ │ @@ -28685,131 +28685,131 @@ │ │ │ 000700c0: 6765 743d 2223 6964 6d31 3130 3932 2220 get="#idm11092" │ │ │ 000700d0: 7461 6269 6e64 6578 3d22 3022 2072 6f6c tabindex="0" rol │ │ │ 000700e0: 653d 2262 7574 746f 6e22 2061 7269 612d e="button" aria- │ │ │ 000700f0: 6578 7061 6e64 6564 3d22 6661 6c73 6522 expanded="false" │ │ │ 00070100: 2074 6974 6c65 3d22 4163 7469 7661 7465 title="Activate │ │ │ 00070110: 2074 6f20 7265 7665 616c 2220 6872 6566 to reveal" href │ │ │ 00070120: 3d22 2321 223e 5265 6d65 6469 6174 696f ="#!">Remediatio │ │ │ -00070130: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr │ │ │ -00070140: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...< │ │ │ -00070150: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
<
│ │ │ -00070190: 636f 6465 3e0a 5b5b 7061 636b 6167 6573  code>.[[packages
│ │ │ -000701a0: 5d5d 0a6e 616d 6520 3d20 2263 726f 6e22  ]].name = "cron"
│ │ │ -000701b0: 0a76 6572 7369 6f6e 203d 2022 2a22 0a3c  .version = "*".<
│ │ │ -000701c0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ -00070280: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ -00070290: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ -00070320: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -00070340: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ -00070360: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ -00070390: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -000703a0: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ -000703b0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include insta
│ │ │ -000703d0: 6c6c 5f63 726f 6e0a 0a63 6c61 7373 2069  ll_cron..class i
│ │ │ -000703e0: 6e73 7461 6c6c 5f63 726f 6e20 7b0a 2020  nstall_cron {.  
│ │ │ -000703f0: 7061 636b 6167 6520 7b20 2763 726f 6e27  package { 'cron'
│ │ │ -00070400: 3a0a 2020 2020 656e 7375 7265 203d 2667  :.    ensure =&g
│ │ │ -00070410: 743b 2027 696e 7374 616c 6c65 6427 2c0a  t; 'installed',.
│ │ │ -00070420: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ -000704e0: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ -000704f0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -00070500: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -00070580: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -000705b0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -000705d0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -000705e0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -00070600: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ -00070620: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ -00070630: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ -00070640: 636b 6167 6520 6661 6374 730a 2020 7061  ckage facts.  pa
│ │ │ -00070650: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ -00070660: 206d 616e 6167 6572 3a20 6175 746f 0a20   manager: auto. 
│ │ │ -00070670: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ -00070680: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ -00070690: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ -000706a0: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ -000706b0: 2e32 2e36 0a20 202d 2065 6e61 626c 655f  .2.6.  - enable_
│ │ │ -000706c0: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -000706d0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -000706e0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -000706f0: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ -00070700: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -00070710: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ -00070720: 6167 655f 6372 6f6e 5f69 6e73 7461 6c6c  age_cron_install
│ │ │ -00070730: 6564 0a0a 2d20 6e61 6d65 3a20 456e 7375  ed..- name: Ensu
│ │ │ -00070740: 7265 2063 726f 6e20 6973 2069 6e73 7461  re cron is insta
│ │ │ -00070750: 6c6c 6564 0a20 2070 6163 6b61 6765 3a0a  lled.  package:.
│ │ │ -00070760: 2020 2020 6e61 6d65 3a20 6372 6f6e 0a20      name: cron. 
│ │ │ -00070770: 2020 2073 7461 7465 3a20 7072 6573 656e     state: presen
│ │ │ -00070780: 740a 2020 7768 656e 3a20 2722 6c69 6e75  t.  when: '"linu
│ │ │ -00070790: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ -000707a0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -000707b0: 7327 0a20 2074 6167 733a 0a20 202d 204e  s'.  tags:.  - N
│ │ │ -000707c0: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -000707d0: 6129 0a20 202d 2050 4349 2d44 5353 7634  a).  - PCI-DSSv4
│ │ │ -000707e0: 2d32 2e32 0a20 202d 2050 4349 2d44 5353  -2.2.  - PCI-DSS
│ │ │ -000707f0: 7634 2d32 2e32 2e36 0a20 202d 2065 6e61  v4-2.2.6.  - ena
│ │ │ -00070800: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -00070810: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -00070820: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -00070830: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -00070840: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -00070850: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -00070860: 7061 636b 6167 655f 6372 6f6e 5f69 6e73  package_cron_ins
│ │ │ -00070870: 7461 6c6c 6564 0a3c 2f63 6f64 653e 3c2f  talled.
│ │ │ +00070180: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ +000701f0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +00070210: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +00070240: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ +00070260: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ +000701d0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +000701e0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +00070220: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +00070230: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
- name: │ │ │ +00070280: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ +00070290: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ +000702a0: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ +000702b0: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ +000702c0: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800 │ │ │ +000702d0: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). - │ │ │ +000702e0: 5043 492d 4453 5376 342d 322e 320a 2020 PCI-DSSv4-2.2. │ │ │ +000702f0: 2d20 5043 492d 4453 5376 342d 322e 322e - PCI-DSSv4-2.2. │ │ │ +00070300: 360a 2020 2d20 656e 6162 6c65 5f73 7472 6. - enable_str │ │ │ +00070310: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co │ │ │ +00070320: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low │ │ │ +00070330: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. - │ │ │ +00070340: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity. │ │ │ +00070350: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ +00070360: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package │ │ │ +00070370: 5f63 726f 6e5f 696e 7374 616c 6c65 640a _cron_installed. │ │ │ +00070380: 0a2d 206e 616d 653a 2045 6e73 7572 6520 .- name: Ensure │ │ │ +00070390: 6372 6f6e 2069 7320 696e 7374 616c 6c65 cron is installe │ │ │ +000703a0: 640a 2020 7061 636b 6167 653a 0a20 2020 d. package:. │ │ │ +000703b0: 206e 616d 653a 2063 726f 6e0a 2020 2020 name: cron. │ │ │ +000703c0: 7374 6174 653a 2070 7265 7365 6e74 0a20 state: present. │ │ │ +000703d0: 2077 6865 6e3a 2027 226c 696e 7578 2d62 when: '"linux-b │ │ │ +000703e0: 6173 6522 2069 6e20 616e 7369 626c 655f ase" in ansible_ │ │ │ +000703f0: 6661 6374 732e 7061 636b 6167 6573 270a facts.packages'. │ │ │ +00070400: 2020 7461 6773 3a0a 2020 2d20 4e49 5354 tags:. - NIST │ │ │ +00070410: 2d38 3030 2d35 332d 434d 2d36 2861 290a -800-53-CM-6(a). │ │ │ +00070420: 2020 2d20 5043 492d 4453 5376 342d 322e - PCI-DSSv4-2. │ │ │ +00070430: 320a 2020 2d20 5043 492d 4453 5376 342d 2. - PCI-DSSv4- │ │ │ +00070440: 322e 322e 360a 2020 2d20 656e 6162 6c65 2.2.6. - enable │ │ │ +00070450: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo │ │ │ +00070460: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. - │ │ │ +00070470: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption. │ │ │ +00070480: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever │ │ │ +00070490: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo │ │ │ +000704a0: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac │ │ │ +000704b0: 6b61 6765 5f63 726f 6e5f 696e 7374 616c kage_cron_instal │ │ │ +000704c0: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265 led.
Remediati │ │ │ +00070580: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ +00070590: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +000705d0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ +00070640: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +00070660: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +00070690: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ +000706b0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ +00070620: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +00070630: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +00070670: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +00070680: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ +000706d0: 696e 7374 616c 6c5f 6372 6f6e 0a0a 636c install_cron..cl │ │ │ +000706e0: 6173 7320 696e 7374 616c 6c5f 6372 6f6e ass install_cron │ │ │ +000706f0: 207b 0a20 2070 6163 6b61 6765 207b 2027 {. package { ' │ │ │ +00070700: 6372 6f6e 273a 0a20 2020 2065 6e73 7572 cron':. ensur │ │ │ +00070710: 6520 3d26 6774 3b20 2769 6e73 7461 6c6c e => 'install │ │ │ +00070720: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Re │ │ │ +000707e0: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil │ │ │ +000707f0: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip │ │ │ +00070800: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +00070810: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +00070820: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +00070830: 7365 2220 6964 3d22 6964 6d31 3130 3934 se" id="idm11094 │ │ │ +00070840: 223e 3c70 7265 3e3c 636f 6465 3e0a 5b5b ">
.[[
│ │ │ +00070850: 7061 636b 6167 6573 5d5d 0a6e 616d 6520  packages]].name 
│ │ │ +00070860: 3d20 2263 726f 6e22 0a76 6572 7369 6f6e  = "cron".version
│ │ │ +00070870: 203d 2022 2a22 0a3c 2f63 6f64 653e 3c2f   = "*".
Reme │ │ │ -00071da0: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -00071db0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -00071e50: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -00071e60: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -00071eb0: 3c74 723e 3c74 683e 5374 7261 7465 6779
in
│ │ │ -00071ef0: 636c 7564 6520 7265 6d6f 7665 5f69 6e65  clude remove_ine
│ │ │ -00071f00: 7475 7469 6c73 2d74 656c 6e65 7464 0a0a  tutils-telnetd..
│ │ │ -00071f10: 636c 6173 7320 7265 6d6f 7665 5f69 6e65  class remove_ine
│ │ │ -00071f20: 7475 7469 6c73 2d74 656c 6e65 7464 207b  tutils-telnetd {
│ │ │ -00071f30: 0a20 2070 6163 6b61 6765 207b 2027 696e  .  package { 'in
│ │ │ -00071f40: 6574 7574 696c 732d 7465 6c6e 6574 6427  etutils-telnetd'
│ │ │ -00071f50: 3a0a 2020 2020 656e 7375 7265 203d 2667  :.    ensure =&g
│ │ │ -00071f60: 743b 2027 7075 7267 6564 272c 0a20 207d  t; 'purged',.  }
│ │ │ -00071f70: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ -00071f80: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediatio │ │ │ -00072030: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ -00072040: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -00072080: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
C │ │ │ -00071e40: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -00071e70: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -00071e80: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -00071ec0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -00071ed0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
< │ │ │ -000720f0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -00072110: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -00072140: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -000720d0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -000720e0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -00072120: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -00072130: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

- name: │ │ │ -00072180: 2045 6e73 7572 6520 696e 6574 7574 696c Ensure inetutil │ │ │ -00072190: 732d 7465 6c6e 6574 6420 6973 2072 656d s-telnetd is rem │ │ │ -000721a0: 6f76 6564 0a20 2070 6163 6b61 6765 3a0a oved. package:. │ │ │ -000721b0: 2020 2020 6e61 6d65 3a20 696e 6574 7574 name: inetut │ │ │ -000721c0: 696c 732d 7465 6c6e 6574 640a 2020 2020 ils-telnetd. │ │ │ -000721d0: 7374 6174 653a 2061 6273 656e 740a 2020 state: absent. │ │ │ -000721e0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8 │ │ │ -000721f0: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a). │ │ │ -00072200: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM │ │ │ -00072210: 2d37 2861 290a 2020 2d20 4e49 5354 2d38 -7(a). - NIST-8 │ │ │ -00072220: 3030 2d35 332d 434d 2d37 2862 290a 2020 00-53-CM-7(b). │ │ │ -00072230: 2d20 6469 7361 626c 655f 7374 7261 7465 - disable_strate │ │ │ -00072240: 6779 0a20 202d 2068 6967 685f 7365 7665 gy. - high_seve │ │ │ -00072250: 7269 7479 0a20 202d 206c 6f77 5f63 6f6d rity. - low_com │ │ │ -00072260: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_ │ │ │ -00072270: 6469 7372 7570 7469 6f6e 0a20 202d 206e disruption. - n │ │ │ -00072280: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed. │ │ │ -00072290: 2020 2d20 7061 636b 6167 655f 696e 6574 - package_inet │ │ │ -000722a0: 7574 696c 732d 7465 6c6e 6574 645f 7265 utils-telnetd_re │ │ │ -000722b0: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70 moved.

< │ │ │ +00071dc0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ +00071e50: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
-
│ │ │ +00071ef0: 206e 616d 653a 2045 6e73 7572 6520 696e   name: Ensure in
│ │ │ +00071f00: 6574 7574 696c 732d 7465 6c6e 6574 6420  etutils-telnetd 
│ │ │ +00071f10: 6973 2072 656d 6f76 6564 0a20 2070 6163  is removed.  pac
│ │ │ +00071f20: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20  kage:.    name: 
│ │ │ +00071f30: 696e 6574 7574 696c 732d 7465 6c6e 6574  inetutils-telnet
│ │ │ +00071f40: 640a 2020 2020 7374 6174 653a 2061 6273  d.    state: abs
│ │ │ +00071f50: 656e 740a 2020 7461 6773 3a0a 2020 2d20  ent.  tags:.  - 
│ │ │ +00071f60: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ +00071f70: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ +00071f80: 2d35 332d 434d 2d37 2861 290a 2020 2d20  -53-CM-7(a).  - 
│ │ │ +00071f90: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ +00071fa0: 2862 290a 2020 2d20 6469 7361 626c 655f  (b).  - disable_
│ │ │ +00071fb0: 7374 7261 7465 6779 0a20 202d 2068 6967  strategy.  - hig
│ │ │ +00071fc0: 685f 7365 7665 7269 7479 0a20 202d 206c  h_severity.  - l
│ │ │ +00071fd0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +00071fe0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +00071ff0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +00072000: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ +00072010: 655f 696e 6574 7574 696c 732d 7465 6c6e  e_inetutils-teln
│ │ │ +00072020: 6574 645f 7265 6d6f 7665 640a 3c2f 636f  etd_removed.
< │ │ │ +00072040: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +00072050: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +00072060: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +00072070: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +00072080: 646d 3131 3238 3522 2074 6162 696e 6465 dm11285" tabinde │ │ │ +00072090: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +000720a0: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +000720b0: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +000720c0: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +000720d0: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +000720e0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +000720f0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
│ │ │ +00071e40: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +00071e70: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +00071e80: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +00071ec0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +00071ed0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexity: │ │ │ +000721d0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +000721e0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ +00072240: 696e 6574 7574 696c 732d 7465 6c6e 6574  inetutils-telnet
│ │ │ +00072250: 640a 0a63 6c61 7373 2072 656d 6f76 655f  d..class remove_
│ │ │ +00072260: 696e 6574 7574 696c 732d 7465 6c6e 6574  inetutils-telnet
│ │ │ +00072270: 6420 7b0a 2020 7061 636b 6167 6520 7b20  d {.  package { 
│ │ │ +00072280: 2769 6e65 7475 7469 6c73 2d74 656c 6e65  'inetutils-telne
│ │ │ +00072290: 7464 273a 0a20 2020 2065 6e73 7572 6520  td':.    ensure 
│ │ │ +000722a0: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ +000722b0: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remed │ │ │ -00072c50: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ -00072c60: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low
Disru │ │ │ +000721b0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +000721c0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +00072200: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +00072210: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
low< │ │ │ -00072d10: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -00072d60: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ -00072da0: 6c75 6465 2072 656d 6f76 655f 6e69 730a  lude remove_nis.
│ │ │ -00072db0: 0a63 6c61 7373 2072 656d 6f76 655f 6e69  .class remove_ni
│ │ │ -00072dc0: 7320 7b0a 2020 7061 636b 6167 6520 7b20  s {.  package { 
│ │ │ -00072dd0: 276e 6973 273a 0a20 2020 2065 6e73 7572  'nis':.    ensur
│ │ │ -00072de0: 6520 3d26 6774 3b20 2770 7572 6765 6427  e => 'purged'
│ │ │ -00072df0: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ -00072e00: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remed
│ │ │ -00072eb0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073  iation Ansible s
│ │ │ -00072ec0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62  nippet ...
Co │ │ │ -00072cf0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -00072d20: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -00072d40: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -00072d50: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -00072d70: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -00072d80: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
< │ │ │ -00072f60: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -00072f70: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -00072fc0: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ -00073000: 6e61 6d65 3a20 456e 7375 7265 206e 6973  name: Ensure nis
│ │ │ -00073010: 2069 7320 7265 6d6f 7665 640a 2020 7061   is removed.  pa
│ │ │ -00073020: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ -00073030: 206e 6973 0a20 2020 2073 7461 7465 3a20   nis.    state: 
│ │ │ -00073040: 6162 7365 6e74 0a20 2074 6167 733a 0a20  absent.  tags:. 
│ │ │ -00073050: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ -00073060: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -00073070: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -00073080: 6973 7275 7074 696f 6e0a 2020 2d20 6c6f  isruption.  - lo
│ │ │ -00073090: 775f 7365 7665 7269 7479 0a20 202d 206e  w_severity.  - n
│ │ │ -000730a0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -000730b0: 2020 2d20 7061 636b 6167 655f 6e69 735f    - package_nis_
│ │ │ -000730c0: 7265 6d6f 7665 640a 3c2f 636f 6465 3e3c  removed.<
│ │ │ +00072c50: 6961 7469 6f6e 2041 6e73 6962 6c65 2073  iation Ansible s
│ │ │ +00072c60: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62  nippet ...
C │ │ │ -00072f50: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -00072f80: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -00072f90: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -00072fd0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -00072fe0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
< │ │ │ +00072d00: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +00072d10: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +00072d60: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ +00072da0: 6e61 6d65 3a20 456e 7375 7265 206e 6973  name: Ensure nis
│ │ │ +00072db0: 2069 7320 7265 6d6f 7665 640a 2020 7061   is removed.  pa
│ │ │ +00072dc0: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ +00072dd0: 206e 6973 0a20 2020 2073 7461 7465 3a20   nis.    state: 
│ │ │ +00072de0: 6162 7365 6e74 0a20 2074 6167 733a 0a20  absent.  tags:. 
│ │ │ +00072df0: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ +00072e00: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +00072e10: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +00072e20: 6973 7275 7074 696f 6e0a 2020 2d20 6c6f  isruption.  - lo
│ │ │ +00072e30: 775f 7365 7665 7269 7479 0a20 202d 206e  w_severity.  - n
│ │ │ +00072e40: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +00072e50: 2020 2d20 7061 636b 6167 655f 6e69 735f    - package_nis_
│ │ │ +00072e60: 7265 6d6f 7665 640a 3c2f 636f 6465 3e3c  removed.<
│ │ │ +00072e70: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remed
│ │ │ +00072f20: 6961 7469 6f6e 2050 7570 7065 7420 736e  iation Puppet sn
│ │ │ +00072f30: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
C │ │ │ +00072cf0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +00072d20: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +00072d30: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +00072d70: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ +00072d80: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
low< │ │ │ +00072fe0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +00073030: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ +00073070: 6c75 6465 2072 656d 6f76 655f 6e69 730a  lude remove_nis.
│ │ │ +00073080: 0a63 6c61 7373 2072 656d 6f76 655f 6e69  .class remove_ni
│ │ │ +00073090: 7320 7b0a 2020 7061 636b 6167 6520 7b20  s {.  package { 
│ │ │ +000730a0: 276e 6973 273a 0a20 2020 2065 6e73 7572  'nis':.    ensur
│ │ │ +000730b0: 6520 3d26 6774 3b20 2770 7572 6765 6427  e => 'purged'
│ │ │ +000730c0: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │  000730d0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remediation 
│ │ │ -00073a50: 5075 7070 6574 2073 6e69 7070 6574 20e2  Puppet snippet .
│ │ │ -00073a60: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063  ..
< │ │ │ -00073ae0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ -00073b20: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 disable
Co │ │ │ +00072fc0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +00072ff0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +00073010: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +00073020: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +00073040: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +00073050: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complexit │ │ │ -00073af0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ -00073b10: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ -00073b40: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -00073b60: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
│ │ │ -00073b90: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ -00073ba0: 6d6f 7665 5f6e 7470 6461 7465 0a0a 636c  move_ntpdate..cl
│ │ │ -00073bb0: 6173 7320 7265 6d6f 7665 5f6e 7470 6461  ass remove_ntpda
│ │ │ -00073bc0: 7465 207b 0a20 2070 6163 6b61 6765 207b  te {.  package {
│ │ │ -00073bd0: 2027 6e74 7064 6174 6527 3a0a 2020 2020   'ntpdate':.    
│ │ │ -00073be0: 656e 7375 7265 203d 2667 743b 2027 7075  ensure => 'pu
│ │ │ -00073bf0: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63  rged',.  }.}.
│ │ │ -00073c10: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ -00073cb0: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi │ │ │ -00073cc0: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...< │ │ │ -00073cd0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -00073d50: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -00073d70: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -00073dc0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -00073df0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -00073d60: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -00073d80: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -00073dd0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -00073de0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
- name: Ensur
│ │ │ -00073e10: 6520 6e74 7064 6174 6520 6973 2072 656d  e ntpdate is rem
│ │ │ -00073e20: 6f76 6564 0a20 2070 6163 6b61 6765 3a0a  oved.  package:.
│ │ │ -00073e30: 2020 2020 6e61 6d65 3a20 6e74 7064 6174      name: ntpdat
│ │ │ -00073e40: 650a 2020 2020 7374 6174 653a 2061 6273  e.    state: abs
│ │ │ -00073e50: 656e 740a 2020 7461 6773 3a0a 2020 2d20  ent.  tags:.  - 
│ │ │ -00073e60: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ -00073e70: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -00073e80: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -00073e90: 7570 7469 6f6e 0a20 202d 206c 6f77 5f73  uption.  - low_s
│ │ │ -00073ea0: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ -00073eb0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -00073ec0: 2070 6163 6b61 6765 5f6e 7470 6461 7465   package_ntpdate
│ │ │ -00073ed0: 5f72 656d 6f76 6564 0a3c 2f63 6f64 653e  _removed.
│ │ │ +00073a50: 416e 7369 626c 6520 736e 6970 7065 7420  Ansible snippet 
│ │ │ +00073a60: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620  ...
│ │ │ +00073ae0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +00073af0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +00073b00: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +00073b40: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +00073b50: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +00073b70: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +00073b80: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: E
│ │ │ +00073ba0: 6e73 7572 6520 6e74 7064 6174 6520 6973  nsure ntpdate is
│ │ │ +00073bb0: 2072 656d 6f76 6564 0a20 2070 6163 6b61   removed.  packa
│ │ │ +00073bc0: 6765 3a0a 2020 2020 6e61 6d65 3a20 6e74  ge:.    name: nt
│ │ │ +00073bd0: 7064 6174 650a 2020 2020 7374 6174 653a  pdate.    state:
│ │ │ +00073be0: 2061 6273 656e 740a 2020 7461 6773 3a0a   absent.  tags:.
│ │ │ +00073bf0: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ +00073c00: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +00073c10: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +00073c20: 6469 7372 7570 7469 6f6e 0a20 202d 206c  disruption.  - l
│ │ │ +00073c30: 6f77 5f73 6576 6572 6974 790a 2020 2d20  ow_severity.  - 
│ │ │ +00073c40: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +00073c50: 0a20 202d 2070 6163 6b61 6765 5f6e 7470  .  - package_ntp
│ │ │ +00073c60: 6461 7465 5f72 656d 6f76 6564 0a3c 2f63  date_removed.
│ │ │ +00073c80: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +00073d20: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ +00073d30: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
< │ │ │ +00073dc0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +00073de0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +00073e30: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +00073e60: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include remove
│ │ │ +00073e80: 5f6e 7470 6461 7465 0a0a 636c 6173 7320  _ntpdate..class 
│ │ │ +00073e90: 7265 6d6f 7665 5f6e 7470 6461 7465 207b  remove_ntpdate {
│ │ │ +00073ea0: 0a20 2070 6163 6b61 6765 207b 2027 6e74  .  package { 'nt
│ │ │ +00073eb0: 7064 6174 6527 3a0a 2020 2020 656e 7375  pdate':.    ensu
│ │ │ +00073ec0: 7265 203d 2667 743b 2027 7075 7267 6564  re => 'purged
│ │ │ +00073ed0: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │  00073ee0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
R │ │ │ -00074fa0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ -00074fb0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
low
Disr │ │ │ +00073df0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +00073e00: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +00073e40: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +00073e50: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
Complexity: │ │ │ -00075090: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -000750a0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ -00075100: 7465 6c6e 6574 642d 7373 6c0a 0a63 6c61  telnetd-ssl..cla
│ │ │ -00075110: 7373 2072 656d 6f76 655f 7465 6c6e 6574  ss remove_telnet
│ │ │ -00075120: 642d 7373 6c20 7b0a 2020 7061 636b 6167  d-ssl {.  packag
│ │ │ -00075130: 6520 7b20 2774 656c 6e65 7464 2d73 736c  e { 'telnetd-ssl
│ │ │ -00075140: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ -00075150: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ -00075160: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ -00075220: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -00075230: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
low
Disru │ │ │ -00075070: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -00075080: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -000750c0: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ -000750d0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -000752e0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -00075300: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -00075330: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -000752c0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -000752d0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -000752f0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -00075310: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -00075320: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -00075360: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -00075370: 3a20 456e 7375 7265 2074 656c 6e65 7464 : Ensure telnetd │ │ │ -00075380: 2d73 736c 2069 7320 7265 6d6f 7665 640a -ssl is removed. │ │ │ -00075390: 2020 7061 636b 6167 653a 0a20 2020 206e package:. n │ │ │ -000753a0: 616d 653a 2074 656c 6e65 7464 2d73 736c ame: telnetd-ssl │ │ │ -000753b0: 0a20 2020 2073 7461 7465 3a20 6162 7365 . state: abse │ │ │ -000753c0: 6e74 0a20 2074 6167 733a 0a20 202d 204e nt. tags:. - N │ │ │ -000753d0: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6( │ │ │ -000753e0: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800- │ │ │ -000753f0: 3533 2d43 4d2d 3728 6129 0a20 202d 204e 53-CM-7(a). - N │ │ │ -00075400: 4953 542d 3830 302d 3533 2d43 4d2d 3728 IST-800-53-CM-7( │ │ │ -00075410: 6229 0a20 202d 2064 6973 6162 6c65 5f73 b). - disable_s │ │ │ -00075420: 7472 6174 6567 790a 2020 2d20 6869 6768 trategy. - high │ │ │ -00075430: 5f73 6576 6572 6974 790a 2020 2d20 6c6f _severity. - lo │ │ │ -00075440: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. - │ │ │ -00075450: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption. │ │ │ -00075460: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ -00075470: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package │ │ │ -00075480: 5f74 656c 6e65 7464 2d73 736c 5f72 656d _telnetd-ssl_rem │ │ │ -00075490: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072 oved.
< │ │ │ +00075040: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +00075060: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +000750b0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +000750e0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Ensure
│ │ │ +00075100: 2074 656c 6e65 7464 2d73 736c 2069 7320   telnetd-ssl is 
│ │ │ +00075110: 7265 6d6f 7665 640a 2020 7061 636b 6167  removed.  packag
│ │ │ +00075120: 653a 0a20 2020 206e 616d 653a 2074 656c  e:.    name: tel
│ │ │ +00075130: 6e65 7464 2d73 736c 0a20 2020 2073 7461  netd-ssl.    sta
│ │ │ +00075140: 7465 3a20 6162 7365 6e74 0a20 2074 6167  te: absent.  tag
│ │ │ +00075150: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +00075160: 3533 2d43 4d2d 3628 6129 0a20 202d 204e  53-CM-6(a).  - N
│ │ │ +00075170: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ +00075180: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ +00075190: 3533 2d43 4d2d 3728 6229 0a20 202d 2064  53-CM-7(b).  - d
│ │ │ +000751a0: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ +000751b0: 2020 2d20 6869 6768 5f73 6576 6572 6974    - high_severit
│ │ │ +000751c0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +000751d0: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +000751e0: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72  ruption.  - no_r
│ │ │ +000751f0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +00075200: 2070 6163 6b61 6765 5f74 656c 6e65 7464   package_telnetd
│ │ │ +00075210: 2d73 736c 5f72 656d 6f76 6564 0a3c 2f63  -ssl_removed.
│ │ │ +00075230: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +000752d0: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ +000752e0: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
low
Disr │ │ │ +00075070: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +00075080: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +000750c0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +000750d0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
< │ │ │ +00075370: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +00075390: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +000753e0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +00075410: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include remove
│ │ │ +00075430: 5f74 656c 6e65 7464 2d73 736c 0a0a 636c  _telnetd-ssl..cl
│ │ │ +00075440: 6173 7320 7265 6d6f 7665 5f74 656c 6e65  ass remove_telne
│ │ │ +00075450: 7464 2d73 736c 207b 0a20 2070 6163 6b61  td-ssl {.  packa
│ │ │ +00075460: 6765 207b 2027 7465 6c6e 6574 642d 7373  ge { 'telnetd-ss
│ │ │ +00075470: 6c27 3a0a 2020 2020 656e 7375 7265 203d  l':.    ensure =
│ │ │ +00075480: 2667 743b 2027 7075 7267 6564 272c 0a20  > 'purged',. 
│ │ │ +00075490: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.R
│ │ │ -00076560: 656d 6564 6961 7469 6f6e 2050 7570 7065  emediation Puppe
│ │ │ -00076570: 7420 736e 6970 7065 7420 e287 b23c 2f61  t snippet ...
low
Disr │ │ │ +000753a0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +000753b0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +000753f0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +00075400: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
Complexity: │ │ │ -00076650: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -00076660: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ -000766c0: 7465 6c6e 6574 640a 0a63 6c61 7373 2072  telnetd..class r
│ │ │ -000766d0: 656d 6f76 655f 7465 6c6e 6574 6420 7b0a  emove_telnetd {.
│ │ │ -000766e0: 2020 7061 636b 6167 6520 7b20 2774 656c    package { 'tel
│ │ │ -000766f0: 6e65 7464 273a 0a20 2020 2065 6e73 7572  netd':.    ensur
│ │ │ -00076700: 6520 3d26 6774 3b20 2770 7572 6765 6427  e => 'purged'
│ │ │ -00076710: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ -00076720: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remed
│ │ │ -000767d0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073  iation Ansible s
│ │ │ -000767e0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62  nippet ...
low
Disru │ │ │ -00076630: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -00076640: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -00076680: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ -00076690: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
< │ │ │ -00076880: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -00076890: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -000768e0: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ -00076920: 6e61 6d65 3a20 456e 7375 7265 2074 656c  name: Ensure tel
│ │ │ -00076930: 6e65 7464 2069 7320 7265 6d6f 7665 640a  netd is removed.
│ │ │ -00076940: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ -00076950: 616d 653a 2074 656c 6e65 7464 0a20 2020  ame: telnetd.   
│ │ │ -00076960: 2073 7461 7465 3a20 6162 7365 6e74 0a20   state: absent. 
│ │ │ -00076970: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ -00076980: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ -00076990: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -000769a0: 4d2d 3728 6129 0a20 202d 204e 4953 542d  M-7(a).  - NIST-
│ │ │ -000769b0: 3830 302d 3533 2d43 4d2d 3728 6229 0a20  800-53-CM-7(b). 
│ │ │ -000769c0: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ -000769d0: 6567 790a 2020 2d20 6869 6768 5f73 6576  egy.  - high_sev
│ │ │ -000769e0: 6572 6974 790a 2020 2d20 6c6f 775f 636f  erity.  - low_co
│ │ │ -000769f0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -00076a00: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -00076a10: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -00076a20: 0a20 202d 2070 6163 6b61 6765 5f74 656c  .  - package_tel
│ │ │ -00076a30: 6e65 7464 5f72 656d 6f76 6564 0a3c 2f63  netd_removed.
C │ │ │ -00076870: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -000768a0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -000768b0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -000768f0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -00076900: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
< │ │ │ +00076600: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +00076620: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +00076670: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +000766a0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Ensure
│ │ │ +000766c0: 2074 656c 6e65 7464 2069 7320 7265 6d6f   telnetd is remo
│ │ │ +000766d0: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ +000766e0: 2020 206e 616d 653a 2074 656c 6e65 7464     name: telnetd
│ │ │ +000766f0: 0a20 2020 2073 7461 7465 3a20 6162 7365  .    state: abse
│ │ │ +00076700: 6e74 0a20 2074 6167 733a 0a20 202d 204e  nt.  tags:.  - N
│ │ │ +00076710: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ +00076720: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ +00076730: 3533 2d43 4d2d 3728 6129 0a20 202d 204e  53-CM-7(a).  - N
│ │ │ +00076740: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ +00076750: 6229 0a20 202d 2064 6973 6162 6c65 5f73  b).  - disable_s
│ │ │ +00076760: 7472 6174 6567 790a 2020 2d20 6869 6768  trategy.  - high
│ │ │ +00076770: 5f73 6576 6572 6974 790a 2020 2d20 6c6f  _severity.  - lo
│ │ │ +00076780: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ +00076790: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ +000767a0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ +000767b0: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ +000767c0: 5f74 656c 6e65 7464 5f72 656d 6f76 6564  _telnetd_removed
│ │ │ +000767d0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +00076890: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +000768a0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ +00076920: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ +00076960: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 disable
low
Disr │ │ │ +00076630: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +00076640: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +00076680: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +00076690: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
Complexit │ │ │ +00076930: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ +00076950: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ +00076980: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +000769a0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
│ │ │ +000769d0: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ +000769e0: 6d6f 7665 5f74 656c 6e65 7464 0a0a 636c  move_telnetd..cl
│ │ │ +000769f0: 6173 7320 7265 6d6f 7665 5f74 656c 6e65  ass remove_telne
│ │ │ +00076a00: 7464 207b 0a20 2070 6163 6b61 6765 207b  td {.  package {
│ │ │ +00076a10: 2027 7465 6c6e 6574 6427 3a0a 2020 2020   'telnetd':.    
│ │ │ +00076a20: 656e 7375 7265 203d 2667 743b 2027 7075  ensure => 'pu
│ │ │ +00076a30: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63  rged',.  }.}.
│ │ │ 00076a50: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Remediation │ │ │ -000789f0: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ -00078a00: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
.[[packages]
│ │ │ -00078a60: 5d0a 6e61 6d65 203d 2022 6e74 7022 0a76  ].name = "ntp".v
│ │ │ -00078a70: 6572 7369 6f6e 203d 2022 2a22 0a3c 2f63  ersion = "*".
│ │ │ -00078a90: 3c61 2063 6c61 7373 3d22 6274 6e20 6274
│ │ │ -00078b30: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ -00078b40: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
< │ │ │ -00078bd0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -00078bf0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -00078c40: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
include install
│ │ │ -00078c90: 5f6e 7470 0a0a 636c 6173 7320 696e 7374  _ntp..class inst
│ │ │ -00078ca0: 616c 6c5f 6e74 7020 7b0a 2020 7061 636b  all_ntp {.  pack
│ │ │ -00078cb0: 6167 6520 7b20 276e 7470 273a 0a20 2020  age { 'ntp':.   
│ │ │ -00078cc0: 2065 6e73 7572 6520 3d26 6774 3b20 2769   ensure => 'i
│ │ │ -00078cd0: 6e73 7461 6c6c 6564 272c 0a20 207d 0a7d  nstalled',.  }.}
│ │ │ -00078ce0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -00078da0: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -00078db0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -00078e30: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ -00078ec0: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
low
Disr │ │ │ -00078c00: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -00078c10: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -00078c50: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ -00078c60: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complexi │ │ │ -00078e40: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -00078e50: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ -00078e90: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -00078ea0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
│ │ │ -00078ee0: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761  - name: Ga
│ │ │ -00078ef0: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ -00078f00: 2066 6163 7473 0a20 2070 6163 6b61 6765   facts.  package
│ │ │ -00078f10: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61  _facts:.    mana
│ │ │ -00078f20: 6765 723a 2061 7574 6f0a 2020 7461 6773  ger: auto.  tags
│ │ │ -00078f30: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ -00078f40: 332d 434d 2d36 2861 290a 2020 2d20 5043  3-CM-6(a).  - PC
│ │ │ -00078f50: 492d 4453 532d 5265 712d 3130 2e34 0a20  I-DSS-Req-10.4. 
│ │ │ -00078f60: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ -00078f70: 6779 0a20 202d 2068 6967 685f 7365 7665  gy.  - high_seve
│ │ │ -00078f80: 7269 7479 0a20 202d 206c 6f77 5f63 6f6d  rity.  - low_com
│ │ │ -00078f90: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -00078fa0: 6469 7372 7570 7469 6f6e 0a20 202d 206e  disruption.  - n
│ │ │ -00078fb0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -00078fc0: 2020 2d20 7061 636b 6167 655f 6e74 705f    - package_ntp_
│ │ │ -00078fd0: 696e 7374 616c 6c65 640a 0a2d 206e 616d  installed..- nam
│ │ │ -00078fe0: 653a 2045 6e73 7572 6520 6e74 7020 6973  e: Ensure ntp is
│ │ │ -00078ff0: 2069 6e73 7461 6c6c 6564 0a20 2070 6163   installed.  pac
│ │ │ -00079000: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20  kage:.    name: 
│ │ │ -00079010: 6e74 700a 2020 2020 7374 6174 653a 2070  ntp.    state: p
│ │ │ -00079020: 7265 7365 6e74 0a20 2077 6865 6e3a 2027  resent.  when: '
│ │ │ -00079030: 226c 696e 7578 2d62 6173 6522 2069 6e20  "linux-base" in 
│ │ │ -00079040: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -00079050: 636b 6167 6573 270a 2020 7461 6773 3a0a  ckages'.  tags:.
│ │ │ -00079060: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -00079070: 434d 2d36 2861 290a 2020 2d20 5043 492d  CM-6(a).  - PCI-
│ │ │ -00079080: 4453 532d 5265 712d 3130 2e34 0a20 202d  DSS-Req-10.4.  -
│ │ │ -00079090: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ -000790a0: 0a20 202d 2068 6967 685f 7365 7665 7269  .  - high_severi
│ │ │ -000790b0: 7479 0a20 202d 206c 6f77 5f63 6f6d 706c  ty.  - low_compl
│ │ │ -000790c0: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -000790d0: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f  sruption.  - no_
│ │ │ -000790e0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -000790f0: 2d20 7061 636b 6167 655f 6e74 705f 696e  - package_ntp_in
│ │ │ -00079100: 7374 616c 6c65 640a 3c2f 636f 6465 3e3c  stalled.<
│ │ │ +000789f0: 2041 6e73 6962 6c65 2073 6e69 7070 6574   Ansible snippet
│ │ │ +00078a00: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976   ...
< │ │ │ +00078a40: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +00078a50: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +00078a60: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +00078a70: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +00078a80: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +00078a90: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +00078aa0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +00078ae0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +00078af0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +00078b10: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ +00078b20: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ +00078b40: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ +00078b50: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ +00078b60: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ +00078b70: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ +00078b80: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +00078b90: 3533 2d43 4d2d 3628 6129 0a20 202d 2050  53-CM-6(a).  - P
│ │ │ +00078ba0: 4349 2d44 5353 2d52 6571 2d31 302e 340a  CI-DSS-Req-10.4.
│ │ │ +00078bb0: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ +00078bc0: 6567 790a 2020 2d20 6869 6768 5f73 6576  egy.  - high_sev
│ │ │ +00078bd0: 6572 6974 790a 2020 2d20 6c6f 775f 636f  erity.  - low_co
│ │ │ +00078be0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +00078bf0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +00078c00: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +00078c10: 0a20 202d 2070 6163 6b61 6765 5f6e 7470  .  - package_ntp
│ │ │ +00078c20: 5f69 6e73 7461 6c6c 6564 0a0a 2d20 6e61  _installed..- na
│ │ │ +00078c30: 6d65 3a20 456e 7375 7265 206e 7470 2069  me: Ensure ntp i
│ │ │ +00078c40: 7320 696e 7374 616c 6c65 640a 2020 7061  s installed.  pa
│ │ │ +00078c50: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ +00078c60: 206e 7470 0a20 2020 2073 7461 7465 3a20   ntp.    state: 
│ │ │ +00078c70: 7072 6573 656e 740a 2020 7768 656e 3a20  present.  when: 
│ │ │ +00078c80: 2722 6c69 6e75 782d 6261 7365 2220 696e  '"linux-base" in
│ │ │ +00078c90: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ +00078ca0: 6163 6b61 6765 7327 0a20 2074 6167 733a  ackages'.  tags:
│ │ │ +00078cb0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +00078cc0: 2d43 4d2d 3628 6129 0a20 202d 2050 4349  -CM-6(a).  - PCI
│ │ │ +00078cd0: 2d44 5353 2d52 6571 2d31 302e 340a 2020  -DSS-Req-10.4.  
│ │ │ +00078ce0: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ +00078cf0: 790a 2020 2d20 6869 6768 5f73 6576 6572  y.  - high_sever
│ │ │ +00078d00: 6974 790a 2020 2d20 6c6f 775f 636f 6d70  ity.  - low_comp
│ │ │ +00078d10: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +00078d20: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f  isruption.  - no
│ │ │ +00078d30: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +00078d40: 202d 2070 6163 6b61 6765 5f6e 7470 5f69   - package_ntp_i
│ │ │ +00078d50: 6e73 7461 6c6c 6564 0a3c 2f63 6f64 653e  nstalled.
│ │ │ +00078d60: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ +00078e10: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ +00078e20: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ +00078ec0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +00078ed0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +00078f20: 3c74 723e 3c74 683e 5374 7261 7465 6779
inc
│ │ │ +00078f60: 6c75 6465 2069 6e73 7461 6c6c 5f6e 7470  lude install_ntp
│ │ │ +00078f70: 0a0a 636c 6173 7320 696e 7374 616c 6c5f  ..class install_
│ │ │ +00078f80: 6e74 7020 7b0a 2020 7061 636b 6167 6520  ntp {.  package 
│ │ │ +00078f90: 7b20 276e 7470 273a 0a20 2020 2065 6e73  { 'ntp':.    ens
│ │ │ +00078fa0: 7572 6520 3d26 6774 3b20 2769 6e73 7461  ure => 'insta
│ │ │ +00078fb0: 6c6c 6564 272c 0a20 207d 0a7d 0a3c 2f63  lled',.  }.}.
│ │ │ +00078fd0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +00079070: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu │ │ │ +00079080: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn │ │ │ +00079090: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.
│ │ │ +000790e0: 5b5b 7061 636b 6167 6573 5d5d 0a6e 616d  [[packages]].nam
│ │ │ +000790f0: 6520 3d20 226e 7470 220a 7665 7273 696f  e = "ntp".versio
│ │ │ +00079100: 6e20 3d20 222a 220a 3c2f 636f 6465 3e3c  n = "*".<
│ │ │  00079110: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Rem │ │ │ -0007a2f0: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild │ │ │ -0007a300: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp │ │ │ -0007a310: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[cu
│ │ │ -0007a360: 7374 6f6d 697a 6174 696f 6e73 2e73 6572  stomizations.ser
│ │ │ -0007a370: 7669 6365 735d 0a65 6e61 626c 6564 203d  vices].enabled =
│ │ │ -0007a380: 205b 226e 7470 225d 0a3c 2f63 6f64 653e   ["ntp"].
│ │ │ -0007a390: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ -0007a440: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -0007a450: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
C │ │ │ +00078eb0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +00078ee0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +00078ef0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +00078f30: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ +00078f40: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
< │ │ │ -0007a4f0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -0007a500: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -0007a550: 3c74 723e 3c74 683e 5374 7261 7465 6779
inc
│ │ │ -0007a590: 6c75 6465 2065 6e61 626c 655f 6e74 700a  lude enable_ntp.
│ │ │ -0007a5a0: 0a63 6c61 7373 2065 6e61 626c 655f 6e74  .class enable_nt
│ │ │ -0007a5b0: 7020 7b0a 2020 7365 7276 6963 6520 7b27  p {.  service {'
│ │ │ -0007a5c0: 6e74 7027 3a0a 2020 2020 656e 6162 6c65  ntp':.    enable
│ │ │ -0007a5d0: 203d 2667 743b 2074 7275 652c 0a20 2020   => true,.   
│ │ │ -0007a5e0: 2065 6e73 7572 6520 3d26 6774 3b20 2772   ensure => 'r
│ │ │ -0007a5f0: 756e 6e69 6e67 272c 0a20 207d 0a7d 0a3c  unning',.  }.}.<
│ │ │ -0007a600: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation An │ │ │ -0007a6c0: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -0007a6d0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ -0007a790: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -0007a7a0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
C │ │ │ -0007a4e0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -0007a510: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -0007a520: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -0007a560: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ -0007a570: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complexity │ │ │ -0007a760: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ -0007a780: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ -0007a7b0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ -0007a7d0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
- name: Gath
│ │ │ -0007a810: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ -0007a820: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ -0007a830: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ -0007a840: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ -0007a850: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -0007a860: 4155 2d38 2831 2928 6129 0a20 202d 204e  AU-8(1)(a).  - N
│ │ │ -0007a870: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -0007a880: 6129 0a20 202d 2050 4349 2d44 5353 2d52  a).  - PCI-DSS-R
│ │ │ -0007a890: 6571 2d31 302e 340a 2020 2d20 5043 492d  eq-10.4.  - PCI-
│ │ │ -0007a8a0: 4453 5376 342d 3130 2e36 0a20 202d 2050  DSSv4-10.6.  - P
│ │ │ -0007a8b0: 4349 2d44 5353 7634 2d31 302e 362e 310a  CI-DSSv4-10.6.1.
│ │ │ -0007a8c0: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -0007a8d0: 6567 790a 2020 2d20 6869 6768 5f73 6576  egy.  - high_sev
│ │ │ -0007a8e0: 6572 6974 790a 2020 2d20 6c6f 775f 636f  erity.  - low_co
│ │ │ -0007a8f0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -0007a900: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -0007a910: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -0007a920: 0a20 202d 2073 6572 7669 6365 5f6e 7470  .  - service_ntp
│ │ │ -0007a930: 5f65 6e61 626c 6564 0a0a 2d20 6e61 6d65  _enabled..- name
│ │ │ -0007a940: 3a20 456e 6162 6c65 2074 6865 204e 5450  : Enable the NTP
│ │ │ -0007a950: 2044 6165 6d6f 6e20 2d20 456e 6162 6c65   Daemon - Enable
│ │ │ -0007a960: 2073 6572 7669 6365 206e 7470 0a20 2062   service ntp.  b
│ │ │ -0007a970: 6c6f 636b 3a0a 0a20 202d 206e 616d 653a  lock:..  - name:
│ │ │ -0007a980: 2047 6174 6865 7220 7468 6520 7061 636b   Gather the pack
│ │ │ -0007a990: 6167 6520 6661 6374 730a 2020 2020 7061  age facts.    pa
│ │ │ -0007a9a0: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ -0007a9b0: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ -0007a9c0: 0a0a 2020 2d20 6e61 6d65 3a20 456e 6162  ..  - name: Enab
│ │ │ -0007a9d0: 6c65 2074 6865 204e 5450 2044 6165 6d6f  le the NTP Daemo
│ │ │ -0007a9e0: 6e20 2d20 456e 6162 6c65 2053 6572 7669  n - Enable Servi
│ │ │ -0007a9f0: 6365 206e 7470 0a20 2020 2061 6e73 6962  ce ntp.    ansib
│ │ │ -0007aa00: 6c65 2e62 7569 6c74 696e 2e73 7973 7465  le.builtin.syste
│ │ │ -0007aa10: 6d64 3a0a 2020 2020 2020 6e61 6d65 3a20  md:.      name: 
│ │ │ -0007aa20: 6e74 700a 2020 2020 2020 656e 6162 6c65  ntp.      enable
│ │ │ -0007aa30: 643a 2074 7275 650a 2020 2020 2020 7374  d: true.      st
│ │ │ -0007aa40: 6174 653a 2073 7461 7274 6564 0a20 2020  ate: started.   
│ │ │ -0007aa50: 2020 206d 6173 6b65 643a 2066 616c 7365     masked: false
│ │ │ -0007aa60: 0a20 2020 2077 6865 6e3a 0a20 2020 202d  .    when:.    -
│ │ │ -0007aa70: 2027 226e 7470 2220 696e 2061 6e73 6962   '"ntp" in ansib
│ │ │ -0007aa80: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -0007aa90: 7327 0a20 2077 6865 6e3a 0a20 202d 2027  s'.  when:.  - '
│ │ │ -0007aaa0: 226c 696e 7578 2d62 6173 6522 2069 6e20  "linux-base" in 
│ │ │ -0007aab0: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -0007aac0: 636b 6167 6573 270a 2020 2d20 2722 6e74  ckages'.  - '"nt
│ │ │ -0007aad0: 7022 2069 6e20 616e 7369 626c 655f 6661  p" in ansible_fa
│ │ │ -0007aae0: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ -0007aaf0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ -0007ab00: 3030 2d35 332d 4155 2d38 2831 2928 6129  00-53-AU-8(1)(a)
│ │ │ -0007ab10: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -0007ab20: 2d43 4d2d 3628 6129 0a20 202d 2050 4349  -CM-6(a).  - PCI
│ │ │ -0007ab30: 2d44 5353 2d52 6571 2d31 302e 340a 2020  -DSS-Req-10.4.  
│ │ │ -0007ab40: 2d20 5043 492d 4453 5376 342d 3130 2e36  - PCI-DSSv4-10.6
│ │ │ -0007ab50: 0a20 202d 2050 4349 2d44 5353 7634 2d31  .  - PCI-DSSv4-1
│ │ │ -0007ab60: 302e 362e 310a 2020 2d20 656e 6162 6c65  0.6.1.  - enable
│ │ │ -0007ab70: 5f73 7472 6174 6567 790a 2020 2d20 6869  _strategy.  - hi
│ │ │ -0007ab80: 6768 5f73 6576 6572 6974 790a 2020 2d20  gh_severity.  - 
│ │ │ -0007ab90: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -0007aba0: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -0007abb0: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f  n.  - no_reboot_
│ │ │ -0007abc0: 6e65 6564 6564 0a20 202d 2073 6572 7669  needed.  - servi
│ │ │ -0007abd0: 6365 5f6e 7470 5f65 6e61 626c 6564 0a3c  ce_ntp_enabled.<
│ │ │ +0007a2f0: 6564 6961 7469 6f6e 2041 6e73 6962 6c65  ediation Ansible
│ │ │ +0007a300: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e   snippet ...
│ │ │ +0007a310: 3c62 723e 3c64 6976 2063 6c61 7373 3d22  
< │ │ │ +0007a3e0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +0007a3f0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
-
│ │ │ +0007a440: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ +0007a450: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ +0007a460: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ +0007a470: 0a20 2020 206d 616e 6167 6572 3a20 6175  .    manager: au
│ │ │ +0007a480: 746f 0a20 2074 6167 733a 0a20 202d 204e  to.  tags:.  - N
│ │ │ +0007a490: 4953 542d 3830 302d 3533 2d41 552d 3828  IST-800-53-AU-8(
│ │ │ +0007a4a0: 3129 2861 290a 2020 2d20 4e49 5354 2d38  1)(a).  - NIST-8
│ │ │ +0007a4b0: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ +0007a4c0: 2d20 5043 492d 4453 532d 5265 712d 3130  - PCI-DSS-Req-10
│ │ │ +0007a4d0: 2e34 0a20 202d 2050 4349 2d44 5353 7634  .4.  - PCI-DSSv4
│ │ │ +0007a4e0: 2d31 302e 360a 2020 2d20 5043 492d 4453  -10.6.  - PCI-DS
│ │ │ +0007a4f0: 5376 342d 3130 2e36 2e31 0a20 202d 2065  Sv4-10.6.1.  - e
│ │ │ +0007a500: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ +0007a510: 202d 2068 6967 685f 7365 7665 7269 7479   - high_severity
│ │ │ +0007a520: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +0007a530: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +0007a540: 7570 7469 6f6e 0a20 202d 206e 6f5f 7265  uption.  - no_re
│ │ │ +0007a550: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +0007a560: 7365 7276 6963 655f 6e74 705f 656e 6162  service_ntp_enab
│ │ │ +0007a570: 6c65 640a 0a2d 206e 616d 653a 2045 6e61  led..- name: Ena
│ │ │ +0007a580: 626c 6520 7468 6520 4e54 5020 4461 656d  ble the NTP Daem
│ │ │ +0007a590: 6f6e 202d 2045 6e61 626c 6520 7365 7276  on - Enable serv
│ │ │ +0007a5a0: 6963 6520 6e74 700a 2020 626c 6f63 6b3a  ice ntp.  block:
│ │ │ +0007a5b0: 0a0a 2020 2d20 6e61 6d65 3a20 4761 7468  ..  - name: Gath
│ │ │ +0007a5c0: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ +0007a5d0: 6163 7473 0a20 2020 2070 6163 6b61 6765  acts.    package
│ │ │ +0007a5e0: 5f66 6163 7473 3a0a 2020 2020 2020 6d61  _facts:.      ma
│ │ │ +0007a5f0: 6e61 6765 723a 2061 7574 6f0a 0a20 202d  nager: auto..  -
│ │ │ +0007a600: 206e 616d 653a 2045 6e61 626c 6520 7468   name: Enable th
│ │ │ +0007a610: 6520 4e54 5020 4461 656d 6f6e 202d 2045  e NTP Daemon - E
│ │ │ +0007a620: 6e61 626c 6520 5365 7276 6963 6520 6e74  nable Service nt
│ │ │ +0007a630: 700a 2020 2020 616e 7369 626c 652e 6275  p.    ansible.bu
│ │ │ +0007a640: 696c 7469 6e2e 7379 7374 656d 643a 0a20  iltin.systemd:. 
│ │ │ +0007a650: 2020 2020 206e 616d 653a 206e 7470 0a20       name: ntp. 
│ │ │ +0007a660: 2020 2020 2065 6e61 626c 6564 3a20 7472       enabled: tr
│ │ │ +0007a670: 7565 0a20 2020 2020 2073 7461 7465 3a20  ue.      state: 
│ │ │ +0007a680: 7374 6172 7465 640a 2020 2020 2020 6d61  started.      ma
│ │ │ +0007a690: 736b 6564 3a20 6661 6c73 650a 2020 2020  sked: false.    
│ │ │ +0007a6a0: 7768 656e 3a0a 2020 2020 2d20 2722 6e74  when:.    - '"nt
│ │ │ +0007a6b0: 7022 2069 6e20 616e 7369 626c 655f 6661  p" in ansible_fa
│ │ │ +0007a6c0: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ +0007a6d0: 7768 656e 3a0a 2020 2d20 2722 6c69 6e75  when:.  - '"linu
│ │ │ +0007a6e0: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ +0007a6f0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +0007a700: 7327 0a20 202d 2027 226e 7470 2220 696e  s'.  - '"ntp" in
│ │ │ +0007a710: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ +0007a720: 6163 6b61 6765 7327 0a20 2074 6167 733a  ackages'.  tags:
│ │ │ +0007a730: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +0007a740: 2d41 552d 3828 3129 2861 290a 2020 2d20  -AU-8(1)(a).  - 
│ │ │ +0007a750: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ +0007a760: 2861 290a 2020 2d20 5043 492d 4453 532d  (a).  - PCI-DSS-
│ │ │ +0007a770: 5265 712d 3130 2e34 0a20 202d 2050 4349  Req-10.4.  - PCI
│ │ │ +0007a780: 2d44 5353 7634 2d31 302e 360a 2020 2d20  -DSSv4-10.6.  - 
│ │ │ +0007a790: 5043 492d 4453 5376 342d 3130 2e36 2e31  PCI-DSSv4-10.6.1
│ │ │ +0007a7a0: 0a20 202d 2065 6e61 626c 655f 7374 7261  .  - enable_stra
│ │ │ +0007a7b0: 7465 6779 0a20 202d 2068 6967 685f 7365  tegy.  - high_se
│ │ │ +0007a7c0: 7665 7269 7479 0a20 202d 206c 6f77 5f63  verity.  - low_c
│ │ │ +0007a7d0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +0007a7e0: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +0007a7f0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +0007a800: 640a 2020 2d20 7365 7276 6963 655f 6e74  d.  - service_nt
│ │ │ +0007a810: 705f 656e 6162 6c65 640a 3c2f 636f 6465  p_enabled.
Rem │ │ │ +0007a8d0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ +0007a8e0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +0007a8f0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
Complexity:low
Disrup │ │ │ +0007a3c0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +0007a3d0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +0007a410: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +0007a420: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
│ │ │ +0007a980: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
in
│ │ │ +0007aa20: 636c 7564 6520 656e 6162 6c65 5f6e 7470  clude enable_ntp
│ │ │ +0007aa30: 0a0a 636c 6173 7320 656e 6162 6c65 5f6e  ..class enable_n
│ │ │ +0007aa40: 7470 207b 0a20 2073 6572 7669 6365 207b  tp {.  service {
│ │ │ +0007aa50: 276e 7470 273a 0a20 2020 2065 6e61 626c  'ntp':.    enabl
│ │ │ +0007aa60: 6520 3d26 6774 3b20 7472 7565 2c0a 2020  e => true,.  
│ │ │ +0007aa70: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ +0007aa80: 7275 6e6e 696e 6727 2c0a 2020 7d0a 7d0a  running',.  }.}.
│ │ │ +0007aa90: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation O │ │ │ +0007ab50: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint │ │ │ +0007ab60: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +0007ab70: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
low< │ │ │ -0007c110: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr> │ │ │ -0007c160: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
│ │ │ +0007a970: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +0007a9a0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +0007a9b0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +0007a9f0: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ +0007aa00: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexity: │ │ │ -0007c0d0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ -0007c0f0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ -0007c140: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -0007c150: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
include enabl
│ │ │ -0007c180: 655f 7379 7374 656d 642d 7469 6d65 7379  e_systemd-timesy
│ │ │ -0007c190: 6e63 640a 0a63 6c61 7373 2065 6e61 626c  ncd..class enabl
│ │ │ -0007c1a0: 655f 7379 7374 656d 642d 7469 6d65 7379  e_systemd-timesy
│ │ │ -0007c1b0: 6e63 6420 7b0a 2020 7365 7276 6963 6520  ncd {.  service 
│ │ │ -0007c1c0: 7b27 7379 7374 656d 642d 7469 6d65 7379  {'systemd-timesy
│ │ │ -0007c1d0: 6e63 6427 3a0a 2020 2020 656e 6162 6c65  ncd':.    enable
│ │ │ -0007c1e0: 203d 2667 743b 2074 7275 652c 0a20 2020   => true,.   
│ │ │ -0007c1f0: 2065 6e73 7572 6520 3d26 6774 3b20 2772   ensure => 'r
│ │ │ -0007c200: 756e 6e69 6e67 272c 0a20 207d 0a7d 0a3c  unning',.  }.}.<
│ │ │ -0007c210: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation An │ │ │ -0007c2d0: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -0007c2e0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ -0007c370: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -0007c390: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -0007c3a0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -0007c3b0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -0007c3c0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -0007c3e0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
- name: Gath
│ │ │ -0007c420: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ -0007c430: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ -0007c440: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ -0007c450: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ -0007c460: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -0007c470: 4155 2d38 2831 2928 6129 0a20 202d 204e  AU-8(1)(a).  - N
│ │ │ -0007c480: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -0007c490: 6129 0a20 202d 2050 4349 2d44 5353 2d52  a).  - PCI-DSS-R
│ │ │ -0007c4a0: 6571 2d31 302e 340a 2020 2d20 5043 492d  eq-10.4.  - PCI-
│ │ │ -0007c4b0: 4453 5376 342d 3130 2e36 0a20 202d 2050  DSSv4-10.6.  - P
│ │ │ -0007c4c0: 4349 2d44 5353 7634 2d31 302e 362e 310a  CI-DSSv4-10.6.1.
│ │ │ -0007c4d0: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -0007c4e0: 6567 790a 2020 2d20 6869 6768 5f73 6576  egy.  - high_sev
│ │ │ -0007c4f0: 6572 6974 790a 2020 2d20 6c6f 775f 636f  erity.  - low_co
│ │ │ -0007c500: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -0007c510: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -0007c520: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -0007c530: 0a20 202d 2073 6572 7669 6365 5f74 696d  .  - service_tim
│ │ │ -0007c540: 6573 796e 6364 5f65 6e61 626c 6564 0a0a  esyncd_enabled..
│ │ │ -0007c550: 2d20 6e61 6d65 3a20 456e 6162 6c65 2073  - name: Enable s
│ │ │ -0007c560: 7973 7465 6d64 5f74 696d 6573 796e 6364  ystemd_timesyncd
│ │ │ -0007c570: 2053 6572 7669 6365 202d 2045 6e61 626c   Service - Enabl
│ │ │ -0007c580: 6520 7365 7276 6963 6520 7379 7374 656d  e service system
│ │ │ -0007c590: 642d 7469 6d65 7379 6e63 640a 2020 626c  d-timesyncd.  bl
│ │ │ -0007c5a0: 6f63 6b3a 0a0a 2020 2d20 6e61 6d65 3a20  ock:..  - name: 
│ │ │ -0007c5b0: 4761 7468 6572 2074 6865 2070 6163 6b61  Gather the packa
│ │ │ -0007c5c0: 6765 2066 6163 7473 0a20 2020 2070 6163  ge facts.    pac
│ │ │ -0007c5d0: 6b61 6765 5f66 6163 7473 3a0a 2020 2020  kage_facts:.    
│ │ │ -0007c5e0: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ -0007c5f0: 0a20 202d 206e 616d 653a 2045 6e61 626c  .  - name: Enabl
│ │ │ -0007c600: 6520 7379 7374 656d 645f 7469 6d65 7379  e systemd_timesy
│ │ │ -0007c610: 6e63 6420 5365 7276 6963 6520 2d20 456e  ncd Service - En
│ │ │ -0007c620: 6162 6c65 2053 6572 7669 6365 2073 7973  able Service sys
│ │ │ -0007c630: 7465 6d64 2d74 696d 6573 796e 6364 0a20  temd-timesyncd. 
│ │ │ -0007c640: 2020 2061 6e73 6962 6c65 2e62 7569 6c74     ansible.built
│ │ │ -0007c650: 696e 2e73 7973 7465 6d64 3a0a 2020 2020  in.systemd:.    
│ │ │ -0007c660: 2020 6e61 6d65 3a20 7379 7374 656d 642d    name: systemd-
│ │ │ -0007c670: 7469 6d65 7379 6e63 640a 2020 2020 2020  timesyncd.      
│ │ │ -0007c680: 656e 6162 6c65 643a 2074 7275 650a 2020  enabled: true.  
│ │ │ -0007c690: 2020 2020 7374 6174 653a 2073 7461 7274      state: start
│ │ │ -0007c6a0: 6564 0a20 2020 2020 206d 6173 6b65 643a  ed.      masked:
│ │ │ -0007c6b0: 2066 616c 7365 0a20 2020 2077 6865 6e3a   false.    when:
│ │ │ -0007c6c0: 0a20 2020 202d 2027 2273 7973 7465 6d64  .    - '"systemd
│ │ │ -0007c6d0: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ -0007c6e0: 7473 2e70 6163 6b61 6765 7327 0a20 2077  ts.packages'.  w
│ │ │ -0007c6f0: 6865 6e3a 0a20 202d 2027 226c 696e 7578  hen:.  - '"linux
│ │ │ -0007c700: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ -0007c710: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ -0007c720: 270a 2020 2d20 2820 6e6f 7420 2820 2263  '.  - ( not ( "c
│ │ │ -0007c730: 6872 6f6e 7922 2069 6e20 616e 7369 626c  hrony" in ansibl
│ │ │ -0007c740: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ -0007c750: 2029 2061 6e64 206e 6f74 2028 2022 6e74   ) and not ( "nt
│ │ │ -0007c760: 7022 2069 6e20 616e 7369 626c 655f 6661  p" in ansible_fa
│ │ │ -0007c770: 6374 732e 7061 636b 6167 6573 0a20 2020  cts.packages.   
│ │ │ -0007c780: 2029 2029 0a20 2074 6167 733a 0a20 202d   ) ).  tags:.  -
│ │ │ -0007c790: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ -0007c7a0: 3828 3129 2861 290a 2020 2d20 4e49 5354  8(1)(a).  - NIST
│ │ │ -0007c7b0: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ -0007c7c0: 2020 2d20 5043 492d 4453 532d 5265 712d    - PCI-DSS-Req-
│ │ │ -0007c7d0: 3130 2e34 0a20 202d 2050 4349 2d44 5353  10.4.  - PCI-DSS
│ │ │ -0007c7e0: 7634 2d31 302e 360a 2020 2d20 5043 492d  v4-10.6.  - PCI-
│ │ │ -0007c7f0: 4453 5376 342d 3130 2e36 2e31 0a20 202d  DSSv4-10.6.1.  -
│ │ │ -0007c800: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ -0007c810: 0a20 202d 2068 6967 685f 7365 7665 7269  .  - high_severi
│ │ │ -0007c820: 7479 0a20 202d 206c 6f77 5f63 6f6d 706c  ty.  - low_compl
│ │ │ -0007c830: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -0007c840: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f  sruption.  - no_
│ │ │ -0007c850: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -0007c860: 2d20 7365 7276 6963 655f 7469 6d65 7379  - service_timesy
│ │ │ -0007c870: 6e63 645f 656e 6162 6c65 640a 3c2f 636f  ncd_enabled.
< │ │ │ +0007bf20: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +0007bf30: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +0007bf40: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +0007bf50: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +0007bf60: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +0007bf70: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +0007bf80: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +0007bfc0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +0007bfd0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +0007bff0: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ +0007c000: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ +0007c020: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ +0007c030: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ +0007c040: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ +0007c050: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ +0007c060: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +0007c070: 3533 2d41 552d 3828 3129 2861 290a 2020  53-AU-8(1)(a).  
│ │ │ +0007c080: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +0007c090: 2d36 2861 290a 2020 2d20 5043 492d 4453  -6(a).  - PCI-DS
│ │ │ +0007c0a0: 532d 5265 712d 3130 2e34 0a20 202d 2050  S-Req-10.4.  - P
│ │ │ +0007c0b0: 4349 2d44 5353 7634 2d31 302e 360a 2020  CI-DSSv4-10.6.  
│ │ │ +0007c0c0: 2d20 5043 492d 4453 5376 342d 3130 2e36  - PCI-DSSv4-10.6
│ │ │ +0007c0d0: 2e31 0a20 202d 2065 6e61 626c 655f 7374  .1.  - enable_st
│ │ │ +0007c0e0: 7261 7465 6779 0a20 202d 2068 6967 685f  rategy.  - high_
│ │ │ +0007c0f0: 7365 7665 7269 7479 0a20 202d 206c 6f77  severity.  - low
│ │ │ +0007c100: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +0007c110: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +0007c120: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +0007c130: 6465 640a 2020 2d20 7365 7276 6963 655f  ded.  - service_
│ │ │ +0007c140: 7469 6d65 7379 6e63 645f 656e 6162 6c65  timesyncd_enable
│ │ │ +0007c150: 640a 0a2d 206e 616d 653a 2045 6e61 626c  d..- name: Enabl
│ │ │ +0007c160: 6520 7379 7374 656d 645f 7469 6d65 7379  e systemd_timesy
│ │ │ +0007c170: 6e63 6420 5365 7276 6963 6520 2d20 456e  ncd Service - En
│ │ │ +0007c180: 6162 6c65 2073 6572 7669 6365 2073 7973  able service sys
│ │ │ +0007c190: 7465 6d64 2d74 696d 6573 796e 6364 0a20  temd-timesyncd. 
│ │ │ +0007c1a0: 2062 6c6f 636b 3a0a 0a20 202d 206e 616d   block:..  - nam
│ │ │ +0007c1b0: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ +0007c1c0: 636b 6167 6520 6661 6374 730a 2020 2020  ckage facts.    
│ │ │ +0007c1d0: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ +0007c1e0: 2020 2020 206d 616e 6167 6572 3a20 6175       manager: au
│ │ │ +0007c1f0: 746f 0a0a 2020 2d20 6e61 6d65 3a20 456e  to..  - name: En
│ │ │ +0007c200: 6162 6c65 2073 7973 7465 6d64 5f74 696d  able systemd_tim
│ │ │ +0007c210: 6573 796e 6364 2053 6572 7669 6365 202d  esyncd Service -
│ │ │ +0007c220: 2045 6e61 626c 6520 5365 7276 6963 6520   Enable Service 
│ │ │ +0007c230: 7379 7374 656d 642d 7469 6d65 7379 6e63  systemd-timesync
│ │ │ +0007c240: 640a 2020 2020 616e 7369 626c 652e 6275  d.    ansible.bu
│ │ │ +0007c250: 696c 7469 6e2e 7379 7374 656d 643a 0a20  iltin.systemd:. 
│ │ │ +0007c260: 2020 2020 206e 616d 653a 2073 7973 7465       name: syste
│ │ │ +0007c270: 6d64 2d74 696d 6573 796e 6364 0a20 2020  md-timesyncd.   
│ │ │ +0007c280: 2020 2065 6e61 626c 6564 3a20 7472 7565     enabled: true
│ │ │ +0007c290: 0a20 2020 2020 2073 7461 7465 3a20 7374  .      state: st
│ │ │ +0007c2a0: 6172 7465 640a 2020 2020 2020 6d61 736b  arted.      mask
│ │ │ +0007c2b0: 6564 3a20 6661 6c73 650a 2020 2020 7768  ed: false.    wh
│ │ │ +0007c2c0: 656e 3a0a 2020 2020 2d20 2722 7379 7374  en:.    - '"syst
│ │ │ +0007c2d0: 656d 6422 2069 6e20 616e 7369 626c 655f  emd" in ansible_
│ │ │ +0007c2e0: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ +0007c2f0: 2020 7768 656e 3a0a 2020 2d20 2722 6c69    when:.  - '"li
│ │ │ +0007c300: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ +0007c310: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ +0007c320: 6765 7327 0a20 202d 2028 206e 6f74 2028  ges'.  - ( not (
│ │ │ +0007c330: 2022 6368 726f 6e79 2220 696e 2061 6e73   "chrony" in ans
│ │ │ +0007c340: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ +0007c350: 6765 7320 2920 616e 6420 6e6f 7420 2820  ges ) and not ( 
│ │ │ +0007c360: 226e 7470 2220 696e 2061 6e73 6962 6c65  "ntp" in ansible
│ │ │ +0007c370: 5f66 6163 7473 2e70 6163 6b61 6765 730a  _facts.packages.
│ │ │ +0007c380: 2020 2020 2920 290a 2020 7461 6773 3a0a      ) ).  tags:.
│ │ │ +0007c390: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +0007c3a0: 4155 2d38 2831 2928 6129 0a20 202d 204e  AU-8(1)(a).  - N
│ │ │ +0007c3b0: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ +0007c3c0: 6129 0a20 202d 2050 4349 2d44 5353 2d52  a).  - PCI-DSS-R
│ │ │ +0007c3d0: 6571 2d31 302e 340a 2020 2d20 5043 492d  eq-10.4.  - PCI-
│ │ │ +0007c3e0: 4453 5376 342d 3130 2e36 0a20 202d 2050  DSSv4-10.6.  - P
│ │ │ +0007c3f0: 4349 2d44 5353 7634 2d31 302e 362e 310a  CI-DSSv4-10.6.1.
│ │ │ +0007c400: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ +0007c410: 6567 790a 2020 2d20 6869 6768 5f73 6576  egy.  - high_sev
│ │ │ +0007c420: 6572 6974 790a 2020 2d20 6c6f 775f 636f  erity.  - low_co
│ │ │ +0007c430: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +0007c440: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +0007c450: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +0007c460: 0a20 202d 2073 6572 7669 6365 5f74 696d  .  - service_tim
│ │ │ +0007c470: 6573 796e 6364 5f65 6e61 626c 6564 0a3c  esyncd_enabled.<
│ │ │ +0007c480: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ +0007c540: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ +0007c550: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ +0007c5e0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +0007c600: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +0007c620: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +0007c650: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +0007c660: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ +0007c670: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include enabl
│ │ │ +0007c690: 655f 7379 7374 656d 642d 7469 6d65 7379  e_systemd-timesy
│ │ │ +0007c6a0: 6e63 640a 0a63 6c61 7373 2065 6e61 626c  ncd..class enabl
│ │ │ +0007c6b0: 655f 7379 7374 656d 642d 7469 6d65 7379  e_systemd-timesy
│ │ │ +0007c6c0: 6e63 6420 7b0a 2020 7365 7276 6963 6520  ncd {.  service 
│ │ │ +0007c6d0: 7b27 7379 7374 656d 642d 7469 6d65 7379  {'systemd-timesy
│ │ │ +0007c6e0: 6e63 6427 3a0a 2020 2020 656e 6162 6c65  ncd':.    enable
│ │ │ +0007c6f0: 203d 2667 743b 2074 7275 652c 0a20 2020   => true,.   
│ │ │ +0007c700: 2065 6e73 7572 6520 3d26 6774 3b20 2772   ensure => 'r
│ │ │ +0007c710: 756e 6e69 6e67 272c 0a20 207d 0a7d 0a3c  unning',.  }.}.<
│ │ │ +0007c720: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation OS │ │ │ +0007c7e0: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint │ │ │ +0007c7f0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +0007c800: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
.[customization
│ │ │ +0007c850: 732e 7365 7276 6963 6573 5d0a 656e 6162  s.services].enab
│ │ │ +0007c860: 6c65 6420 3d20 5b22 7379 7374 656d 642d  led = ["systemd-
│ │ │ +0007c870: 7469 6d65 7379 6e63 6422 5d0a 3c2f 636f  timesyncd"].
< │ │ │ 0007c890: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 0007c8a0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 0007c8b0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 0007c8c0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 0007c8d0: 646d 3132 3132 3122 2074 6162 696e 6465 dm12121" tabinde │ │ │ 0007c8e0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ @@ -35553,153 +35553,153 @@ │ │ │ 0008ae00: 7461 2d74 6172 6765 743d 2223 6964 6d31 ta-target="#idm1 │ │ │ 0008ae10: 3439 3937 2220 7461 6269 6e64 6578 3d22 4997" tabindex=" │ │ │ 0008ae20: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button" │ │ │ 0008ae30: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded=" │ │ │ 0008ae40: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac │ │ │ 0008ae50: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal │ │ │ 0008ae60: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme │ │ │ -0008ae70: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild │ │ │ -0008ae80: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe │ │ │ -0008ae90: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -0008aed0: 3c70 7265 3e3c 636f 6465 3e0a 5b5b 7061
.[[pa
│ │ │ -0008aee0: 636b 6167 6573 5d5d 0a6e 616d 6520 3d20  ckages]].name = 
│ │ │ -0008aef0: 2261 7564 6974 6422 0a76 6572 7369 6f6e  "auditd".version
│ │ │ -0008af00: 203d 2022 2a22 0a3c 2f63 6f64 653e 3c2f   = "*".
Remedi │ │ │ -0008afc0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ -0008afd0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -0008afe0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -0008b060: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -0008b090: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -0008b0b0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -0008b0c0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -0008b0e0: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ -0008b100: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -0008b110: 6465 2069 6e73 7461 6c6c 5f61 7564 6974  de install_audit
│ │ │ -0008b120: 640a 0a63 6c61 7373 2069 6e73 7461 6c6c  d..class install
│ │ │ -0008b130: 5f61 7564 6974 6420 7b0a 2020 7061 636b  _auditd {.  pack
│ │ │ -0008b140: 6167 6520 7b20 2761 7564 6974 6427 3a0a  age { 'auditd':.
│ │ │ -0008b150: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -0008b160: 2027 696e 7374 616c 6c65 6427 2c0a 2020   'installed',.  
│ │ │ -0008b170: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ -0008b230: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -0008b240: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -0008b2f0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -0008b310: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -0008b340: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -0008b2d0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -0008b2e0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -0008b300: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -0008b320: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -0008b330: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

- name: │ │ │ -0008b380: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack │ │ │ -0008b390: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack │ │ │ -0008b3a0: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m │ │ │ -0008b3b0: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t │ │ │ -0008b3c0: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80 │ │ │ -0008b3d0: 302d 3533 2d41 432d 3728 6129 0a20 202d 0-53-AC-7(a). - │ │ │ -0008b3e0: 204e 4953 542d 3830 302d 3533 2d41 552d NIST-800-53-AU- │ │ │ -0008b3f0: 3132 2832 290a 2020 2d20 4e49 5354 2d38 12(2). - NIST-8 │ │ │ -0008b400: 3030 2d35 332d 4155 2d31 340a 2020 2d20 00-53-AU-14. - │ │ │ -0008b410: 4e49 5354 2d38 3030 2d35 332d 4155 2d32 NIST-800-53-AU-2 │ │ │ -0008b420: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800 │ │ │ -0008b430: 2d35 332d 4155 2d37 2831 290a 2020 2d20 -53-AU-7(1). - │ │ │ -0008b440: 4e49 5354 2d38 3030 2d35 332d 4155 2d37 NIST-800-53-AU-7 │ │ │ -0008b450: 2832 290a 2020 2d20 4e49 5354 2d38 3030 (2). - NIST-800 │ │ │ -0008b460: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). - │ │ │ -0008b470: 5043 492d 4453 532d 5265 712d 3130 2e31 PCI-DSS-Req-10.1 │ │ │ -0008b480: 0a20 202d 2050 4349 2d44 5353 7634 2d31 . - PCI-DSSv4-1 │ │ │ -0008b490: 302e 320a 2020 2d20 5043 492d 4453 5376 0.2. - PCI-DSSv │ │ │ -0008b4a0: 342d 3130 2e32 2e31 0a20 202d 2065 6e61 4-10.2.1. - ena │ │ │ -0008b4b0: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. - │ │ │ -0008b4c0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity. │ │ │ -0008b4d0: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti │ │ │ -0008b4e0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365 on. - medium_se │ │ │ -0008b4f0: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re │ │ │ -0008b500: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. - │ │ │ -0008b510: 7061 636b 6167 655f 6175 6469 745f 696e package_audit_in │ │ │ -0008b520: 7374 616c 6c65 640a 0a2d 206e 616d 653a stalled..- name: │ │ │ -0008b530: 2045 6e73 7572 6520 6175 6469 7464 2069 Ensure auditd i │ │ │ -0008b540: 7320 696e 7374 616c 6c65 640a 2020 7061 s installed. pa │ │ │ -0008b550: 636b 6167 653a 0a20 2020 206e 616d 653a ckage:. name: │ │ │ -0008b560: 2061 7564 6974 640a 2020 2020 7374 6174 auditd. stat │ │ │ -0008b570: 653a 2070 7265 7365 6e74 0a20 2077 6865 e: present. whe │ │ │ -0008b580: 6e3a 2027 226c 696e 7578 2d62 6173 6522 n: '"linux-base" │ │ │ -0008b590: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact │ │ │ -0008b5a0: 732e 7061 636b 6167 6573 270a 2020 7461 s.packages'. ta │ │ │ -0008b5b0: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800 │ │ │ -0008b5c0: 2d35 332d 4143 2d37 2861 290a 2020 2d20 -53-AC-7(a). - │ │ │ -0008b5d0: 4e49 5354 2d38 3030 2d35 332d 4155 2d31 NIST-800-53-AU-1 │ │ │ -0008b5e0: 3228 3229 0a20 202d 204e 4953 542d 3830 2(2). - NIST-80 │ │ │ -0008b5f0: 302d 3533 2d41 552d 3134 0a20 202d 204e 0-53-AU-14. - N │ │ │ -0008b600: 4953 542d 3830 302d 3533 2d41 552d 3228 IST-800-53-AU-2( │ │ │ -0008b610: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800- │ │ │ -0008b620: 3533 2d41 552d 3728 3129 0a20 202d 204e 53-AU-7(1). - N │ │ │ -0008b630: 4953 542d 3830 302d 3533 2d41 552d 3728 IST-800-53-AU-7( │ │ │ -0008b640: 3229 0a20 202d 204e 4953 542d 3830 302d 2). - NIST-800- │ │ │ -0008b650: 3533 2d43 4d2d 3628 6129 0a20 202d 2050 53-CM-6(a). - P │ │ │ -0008b660: 4349 2d44 5353 2d52 6571 2d31 302e 310a CI-DSS-Req-10.1. │ │ │ -0008b670: 2020 2d20 5043 492d 4453 5376 342d 3130 - PCI-DSSv4-10 │ │ │ -0008b680: 2e32 0a20 202d 2050 4349 2d44 5353 7634 .2. - PCI-DSSv4 │ │ │ -0008b690: 2d31 302e 322e 310a 2020 2d20 656e 6162 -10.2.1. - enab │ │ │ -0008b6a0: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. - │ │ │ -0008b6b0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity. │ │ │ -0008b6c0: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio │ │ │ -0008b6d0: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576 n. - medium_sev │ │ │ -0008b6e0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562 erity. - no_reb │ │ │ -0008b6f0: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p │ │ │ -0008b700: 6163 6b61 6765 5f61 7564 6974 5f69 6e73 ackage_audit_ins │ │ │ -0008b710: 7461 6c6c 6564 0a3c 2f63 6f64 653e 3c2f talled.< │ │ │ +0008ae90: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>

│ │ │ +0008af20: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
- 
│ │ │ +0008afc0: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ +0008afd0: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ +0008afe0: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ +0008aff0: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ +0008b000: 6f0a 2020 7461 6773 3a0a 2020 2d20 4e49  o.  tags:.  - NI
│ │ │ +0008b010: 5354 2d38 3030 2d35 332d 4143 2d37 2861  ST-800-53-AC-7(a
│ │ │ +0008b020: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +0008b030: 332d 4155 2d31 3228 3229 0a20 202d 204e  3-AU-12(2).  - N
│ │ │ +0008b040: 4953 542d 3830 302d 3533 2d41 552d 3134  IST-800-53-AU-14
│ │ │ +0008b050: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +0008b060: 2d41 552d 3228 6129 0a20 202d 204e 4953  -AU-2(a).  - NIS
│ │ │ +0008b070: 542d 3830 302d 3533 2d41 552d 3728 3129  T-800-53-AU-7(1)
│ │ │ +0008b080: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +0008b090: 2d41 552d 3728 3229 0a20 202d 204e 4953  -AU-7(2).  - NIS
│ │ │ +0008b0a0: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ +0008b0b0: 0a20 202d 2050 4349 2d44 5353 2d52 6571  .  - PCI-DSS-Req
│ │ │ +0008b0c0: 2d31 302e 310a 2020 2d20 5043 492d 4453  -10.1.  - PCI-DS
│ │ │ +0008b0d0: 5376 342d 3130 2e32 0a20 202d 2050 4349  Sv4-10.2.  - PCI
│ │ │ +0008b0e0: 2d44 5353 7634 2d31 302e 322e 310a 2020  -DSSv4-10.2.1.  
│ │ │ +0008b0f0: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ +0008b100: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +0008b110: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +0008b120: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ +0008b130: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ +0008b140: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +0008b150: 0a20 202d 2070 6163 6b61 6765 5f61 7564  .  - package_aud
│ │ │ +0008b160: 6974 5f69 6e73 7461 6c6c 6564 0a0a 2d20  it_installed..- 
│ │ │ +0008b170: 6e61 6d65 3a20 456e 7375 7265 2061 7564  name: Ensure aud
│ │ │ +0008b180: 6974 6420 6973 2069 6e73 7461 6c6c 6564  itd is installed
│ │ │ +0008b190: 0a20 2070 6163 6b61 6765 3a0a 2020 2020  .  package:.    
│ │ │ +0008b1a0: 6e61 6d65 3a20 6175 6469 7464 0a20 2020  name: auditd.   
│ │ │ +0008b1b0: 2073 7461 7465 3a20 7072 6573 656e 740a   state: present.
│ │ │ +0008b1c0: 2020 7768 656e 3a20 2722 6c69 6e75 782d    when: '"linux-
│ │ │ +0008b1d0: 6261 7365 2220 696e 2061 6e73 6962 6c65  base" in ansible
│ │ │ +0008b1e0: 5f66 6163 7473 2e70 6163 6b61 6765 7327  _facts.packages'
│ │ │ +0008b1f0: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ +0008b200: 542d 3830 302d 3533 2d41 432d 3728 6129  T-800-53-AC-7(a)
│ │ │ +0008b210: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +0008b220: 2d41 552d 3132 2832 290a 2020 2d20 4e49  -AU-12(2).  - NI
│ │ │ +0008b230: 5354 2d38 3030 2d35 332d 4155 2d31 340a  ST-800-53-AU-14.
│ │ │ +0008b240: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +0008b250: 4155 2d32 2861 290a 2020 2d20 4e49 5354  AU-2(a).  - NIST
│ │ │ +0008b260: 2d38 3030 2d35 332d 4155 2d37 2831 290a  -800-53-AU-7(1).
│ │ │ +0008b270: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +0008b280: 4155 2d37 2832 290a 2020 2d20 4e49 5354  AU-7(2).  - NIST
│ │ │ +0008b290: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ +0008b2a0: 2020 2d20 5043 492d 4453 532d 5265 712d    - PCI-DSS-Req-
│ │ │ +0008b2b0: 3130 2e31 0a20 202d 2050 4349 2d44 5353  10.1.  - PCI-DSS
│ │ │ +0008b2c0: 7634 2d31 302e 320a 2020 2d20 5043 492d  v4-10.2.  - PCI-
│ │ │ +0008b2d0: 4453 5376 342d 3130 2e32 2e31 0a20 202d  DSSv4-10.2.1.  -
│ │ │ +0008b2e0: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ +0008b2f0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +0008b300: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +0008b310: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +0008b320: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +0008b330: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +0008b340: 2020 2d20 7061 636b 6167 655f 6175 6469    - package_audi
│ │ │ +0008b350: 745f 696e 7374 616c 6c65 640a 3c2f 636f  t_installed.
< │ │ │ +0008b370: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +0008b380: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +0008b390: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +0008b3a0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +0008b3b0: 646d 3134 3939 3822 2074 6162 696e 6465 dm14998" tabinde │ │ │ +0008b3c0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +0008b3d0: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +0008b3e0: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +0008b3f0: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +0008b400: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +0008b410: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +0008b420: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
│ │ │ +0008af10: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +0008af40: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +0008af50: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +0008af90: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ +0008afa0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexity: │ │ │ +0008b500: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +0008b510: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ +0008b560: 696e 636c 7564 6520 696e 7374 616c 6c5f  include install_
│ │ │ +0008b570: 6175 6469 7464 0a0a 636c 6173 7320 696e  auditd..class in
│ │ │ +0008b580: 7374 616c 6c5f 6175 6469 7464 207b 0a20  stall_auditd {. 
│ │ │ +0008b590: 2070 6163 6b61 6765 207b 2027 6175 6469   package { 'audi
│ │ │ +0008b5a0: 7464 273a 0a20 2020 2065 6e73 7572 6520  td':.    ensure 
│ │ │ +0008b5b0: 3d26 6774 3b20 2769 6e73 7461 6c6c 6564  => 'installed
│ │ │ +0008b5c0: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │ +0008b5d0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ +0008b680: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild │ │ │ +0008b690: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe │ │ │ +0008b6a0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +0008b6e0: 3c70 7265 3e3c 636f 6465 3e0a 5b5b 7061
.[[pa
│ │ │ +0008b6f0: 636b 6167 6573 5d5d 0a6e 616d 6520 3d20  ckages]].name = 
│ │ │ +0008b700: 2261 7564 6974 6422 0a76 6572 7369 6f6e  "auditd".version
│ │ │ +0008b710: 203d 2022 2a22 0a3c 2f63 6f64 653e 3c2f   = "*".Remediation OSB
│ │ │ -0008d470: 7569 6c64 2042 6c75 6570 7269 6e74 2073  uild Blueprint s
│ │ │ -0008d480: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62  nippet ...

│ │ │ -0008d4d0: 0a5b 6375 7374 6f6d 697a 6174 696f 6e73  .[customizations
│ │ │ -0008d4e0: 2e73 6572 7669 6365 735d 0a65 6e61 626c  .services].enabl
│ │ │ -0008d4f0: 6564 203d 205b 2261 7564 6974 6422 5d0a  ed = ["auditd"].
│ │ │ -0008d500: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation P │ │ │ -0008d5c0: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ -0008d5d0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ -0008d690: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -0008d6a0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
low
Disru │ │ │ +0008b4e0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +0008b4f0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +0008b530: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ +0008b540: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity │ │ │ -0008d660: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ -0008d680: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ -0008d6b0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ -0008d6d0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
include enab
│ │ │ -0008d710: 6c65 5f61 7564 6974 640a 0a63 6c61 7373  le_auditd..class
│ │ │ -0008d720: 2065 6e61 626c 655f 6175 6469 7464 207b   enable_auditd {
│ │ │ -0008d730: 0a20 2073 6572 7669 6365 207b 2761 7564  .  service {'aud
│ │ │ -0008d740: 6974 6427 3a0a 2020 2020 656e 6162 6c65  itd':.    enable
│ │ │ -0008d750: 203d 2667 743b 2074 7275 652c 0a20 2020   => true,.   
│ │ │ -0008d760: 2065 6e73 7572 6520 3d26 6774 3b20 2772   ensure => 'r
│ │ │ -0008d770: 756e 6e69 6e67 272c 0a20 207d 0a7d 0a3c  unning',.  }.}.<
│ │ │ -0008d780: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation An │ │ │ -0008d840: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -0008d850: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ -0008d8e0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -0008d900: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -0008d910: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -0008d920: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -0008d930: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -0008d950: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
- name: Gath
│ │ │ -0008d990: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ -0008d9a0: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ -0008d9b0: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ -0008d9c0: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ -0008d9d0: 2020 2d20 434a 4953 2d35 2e34 2e31 2e31    - CJIS-5.4.1.1
│ │ │ -0008d9e0: 0a20 202d 204e 4953 542d 3830 302d 3137  .  - NIST-800-17
│ │ │ -0008d9f0: 312d 332e 332e 310a 2020 2d20 4e49 5354  1-3.3.1.  - NIST
│ │ │ -0008da00: 2d38 3030 2d31 3731 2d33 2e33 2e32 0a20  -800-171-3.3.2. 
│ │ │ -0008da10: 202d 204e 4953 542d 3830 302d 3137 312d   - NIST-800-171-
│ │ │ -0008da20: 332e 332e 360a 2020 2d20 4e49 5354 2d38  3.3.6.  - NIST-8
│ │ │ -0008da30: 3030 2d35 332d 4143 2d32 2867 290a 2020  00-53-AC-2(g).  
│ │ │ -0008da40: 2d20 4e49 5354 2d38 3030 2d35 332d 4143  - NIST-800-53-AC
│ │ │ -0008da50: 2d36 2839 290a 2020 2d20 4e49 5354 2d38  -6(9).  - NIST-8
│ │ │ -0008da60: 3030 2d35 332d 4155 2d31 300a 2020 2d20  00-53-AU-10.  - 
│ │ │ -0008da70: 4e49 5354 2d38 3030 2d35 332d 4155 2d31  NIST-800-53-AU-1
│ │ │ -0008da80: 3228 6329 0a20 202d 204e 4953 542d 3830  2(c).  - NIST-80
│ │ │ -0008da90: 302d 3533 2d41 552d 3134 2831 290a 2020  0-53-AU-14(1).  
│ │ │ -0008daa0: 2d20 4e49 5354 2d38 3030 2d35 332d 4155  - NIST-800-53-AU
│ │ │ -0008dab0: 2d32 2864 290a 2020 2d20 4e49 5354 2d38  -2(d).  - NIST-8
│ │ │ -0008dac0: 3030 2d35 332d 4155 2d33 0a20 202d 204e  00-53-AU-3.  - N
│ │ │ -0008dad0: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -0008dae0: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ -0008daf0: 3533 2d53 492d 3428 3233 290a 2020 2d20  53-SI-4(23).  - 
│ │ │ -0008db00: 5043 492d 4453 532d 5265 712d 3130 2e31  PCI-DSS-Req-10.1
│ │ │ -0008db10: 0a20 202d 2050 4349 2d44 5353 7634 2d31  .  - PCI-DSSv4-1
│ │ │ -0008db20: 302e 320a 2020 2d20 5043 492d 4453 5376  0.2.  - PCI-DSSv
│ │ │ -0008db30: 342d 3130 2e32 2e31 0a20 202d 2065 6e61  4-10.2.1.  - ena
│ │ │ -0008db40: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -0008db50: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -0008db60: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -0008db70: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -0008db80: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -0008db90: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -0008dba0: 7365 7276 6963 655f 6175 6469 7464 5f65  service_auditd_e
│ │ │ -0008dbb0: 6e61 626c 6564 0a0a 2d20 6e61 6d65 3a20  nabled..- name: 
│ │ │ -0008dbc0: 456e 6162 6c65 2061 7564 6974 6420 5365  Enable auditd Se
│ │ │ -0008dbd0: 7276 6963 6520 2d20 456e 6162 6c65 2073  rvice - Enable s
│ │ │ -0008dbe0: 6572 7669 6365 2061 7564 6974 640a 2020  ervice auditd.  
│ │ │ -0008dbf0: 626c 6f63 6b3a 0a0a 2020 2d20 6e61 6d65  block:..  - name
│ │ │ -0008dc00: 3a20 4761 7468 6572 2074 6865 2070 6163  : Gather the pac
│ │ │ -0008dc10: 6b61 6765 2066 6163 7473 0a20 2020 2070  kage facts.    p
│ │ │ -0008dc20: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ -0008dc30: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ -0008dc40: 6f0a 0a20 202d 206e 616d 653a 2045 6e61  o..  - name: Ena
│ │ │ -0008dc50: 626c 6520 6175 6469 7464 2053 6572 7669  ble auditd Servi
│ │ │ -0008dc60: 6365 202d 2045 6e61 626c 6520 5365 7276  ce - Enable Serv
│ │ │ -0008dc70: 6963 6520 6175 6469 7464 0a20 2020 2061  ice auditd.    a
│ │ │ -0008dc80: 6e73 6962 6c65 2e62 7569 6c74 696e 2e73  nsible.builtin.s
│ │ │ -0008dc90: 7973 7465 6d64 3a0a 2020 2020 2020 6e61  ystemd:.      na
│ │ │ -0008dca0: 6d65 3a20 6175 6469 7464 0a20 2020 2020  me: auditd.     
│ │ │ -0008dcb0: 2065 6e61 626c 6564 3a20 7472 7565 0a20   enabled: true. 
│ │ │ -0008dcc0: 2020 2020 2073 7461 7465 3a20 7374 6172       state: star
│ │ │ -0008dcd0: 7465 640a 2020 2020 2020 6d61 736b 6564  ted.      masked
│ │ │ -0008dce0: 3a20 6661 6c73 650a 2020 2020 7768 656e  : false.    when
│ │ │ -0008dcf0: 3a0a 2020 2020 2d20 2722 6175 6469 7464  :.    - '"auditd
│ │ │ -0008dd00: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ -0008dd10: 7473 2e70 6163 6b61 6765 7327 0a20 2077  ts.packages'.  w
│ │ │ -0008dd20: 6865 6e3a 0a20 202d 2027 226c 696e 7578  hen:.  - '"linux
│ │ │ -0008dd30: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ -0008dd40: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ -0008dd50: 270a 2020 2d20 2722 6175 6469 7464 2220  '.  - '"auditd" 
│ │ │ -0008dd60: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -0008dd70: 2e70 6163 6b61 6765 7327 0a20 2074 6167  .packages'.  tag
│ │ │ -0008dd80: 733a 0a20 202d 2043 4a49 532d 352e 342e  s:.  - CJIS-5.4.
│ │ │ -0008dd90: 312e 310a 2020 2d20 4e49 5354 2d38 3030  1.1.  - NIST-800
│ │ │ -0008dda0: 2d31 3731 2d33 2e33 2e31 0a20 202d 204e  -171-3.3.1.  - N
│ │ │ -0008ddb0: 4953 542d 3830 302d 3137 312d 332e 332e  IST-800-171-3.3.
│ │ │ -0008ddc0: 320a 2020 2d20 4e49 5354 2d38 3030 2d31  2.  - NIST-800-1
│ │ │ -0008ddd0: 3731 2d33 2e33 2e36 0a20 202d 204e 4953  71-3.3.6.  - NIS
│ │ │ -0008dde0: 542d 3830 302d 3533 2d41 432d 3228 6729  T-800-53-AC-2(g)
│ │ │ -0008ddf0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -0008de00: 2d41 432d 3628 3929 0a20 202d 204e 4953  -AC-6(9).  - NIS
│ │ │ -0008de10: 542d 3830 302d 3533 2d41 552d 3130 0a20  T-800-53-AU-10. 
│ │ │ -0008de20: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ -0008de30: 552d 3132 2863 290a 2020 2d20 4e49 5354  U-12(c).  - NIST
│ │ │ -0008de40: 2d38 3030 2d35 332d 4155 2d31 3428 3129  -800-53-AU-14(1)
│ │ │ -0008de50: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -0008de60: 2d41 552d 3228 6429 0a20 202d 204e 4953  -AU-2(d).  - NIS
│ │ │ -0008de70: 542d 3830 302d 3533 2d41 552d 330a 2020  T-800-53-AU-3.  
│ │ │ -0008de80: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -0008de90: 2d36 2861 290a 2020 2d20 4e49 5354 2d38  -6(a).  - NIST-8
│ │ │ -0008dea0: 3030 2d35 332d 5349 2d34 2832 3329 0a20  00-53-SI-4(23). 
│ │ │ -0008deb0: 202d 2050 4349 2d44 5353 2d52 6571 2d31   - PCI-DSS-Req-1
│ │ │ -0008dec0: 302e 310a 2020 2d20 5043 492d 4453 5376  0.1.  - PCI-DSSv
│ │ │ -0008ded0: 342d 3130 2e32 0a20 202d 2050 4349 2d44  4-10.2.  - PCI-D
│ │ │ -0008dee0: 5353 7634 2d31 302e 322e 310a 2020 2d20  SSv4-10.2.1.  - 
│ │ │ -0008def0: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ -0008df00: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -0008df10: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -0008df20: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -0008df30: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -0008df40: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -0008df50: 202d 2073 6572 7669 6365 5f61 7564 6974   - service_audit
│ │ │ -0008df60: 645f 656e 6162 6c65 640a 3c2f 636f 6465  d_enabled.Remediation Ans
│ │ │ +0008d470: 6962 6c65 2073 6e69 7070 6574 20e2 87b2  ible snippet ...
│ │ │ +0008d480: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61  
Complexity: │ │ │ +0008d510: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +0008d530: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +0008d550: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +0008d580: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +0008d590: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ +0008d5a0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ +0008d5c0: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ +0008d5d0: 6374 730a 2020 7061 636b 6167 655f 6661  cts.  package_fa
│ │ │ +0008d5e0: 6374 733a 0a20 2020 206d 616e 6167 6572  cts:.    manager
│ │ │ +0008d5f0: 3a20 6175 746f 0a20 2074 6167 733a 0a20  : auto.  tags:. 
│ │ │ +0008d600: 202d 2043 4a49 532d 352e 342e 312e 310a   - CJIS-5.4.1.1.
│ │ │ +0008d610: 2020 2d20 4e49 5354 2d38 3030 2d31 3731    - NIST-800-171
│ │ │ +0008d620: 2d33 2e33 2e31 0a20 202d 204e 4953 542d  -3.3.1.  - NIST-
│ │ │ +0008d630: 3830 302d 3137 312d 332e 332e 320a 2020  800-171-3.3.2.  
│ │ │ +0008d640: 2d20 4e49 5354 2d38 3030 2d31 3731 2d33  - NIST-800-171-3
│ │ │ +0008d650: 2e33 2e36 0a20 202d 204e 4953 542d 3830  .3.6.  - NIST-80
│ │ │ +0008d660: 302d 3533 2d41 432d 3228 6729 0a20 202d  0-53-AC-2(g).  -
│ │ │ +0008d670: 204e 4953 542d 3830 302d 3533 2d41 432d   NIST-800-53-AC-
│ │ │ +0008d680: 3628 3929 0a20 202d 204e 4953 542d 3830  6(9).  - NIST-80
│ │ │ +0008d690: 302d 3533 2d41 552d 3130 0a20 202d 204e  0-53-AU-10.  - N
│ │ │ +0008d6a0: 4953 542d 3830 302d 3533 2d41 552d 3132  IST-800-53-AU-12
│ │ │ +0008d6b0: 2863 290a 2020 2d20 4e49 5354 2d38 3030  (c).  - NIST-800
│ │ │ +0008d6c0: 2d35 332d 4155 2d31 3428 3129 0a20 202d  -53-AU-14(1).  -
│ │ │ +0008d6d0: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ +0008d6e0: 3228 6429 0a20 202d 204e 4953 542d 3830  2(d).  - NIST-80
│ │ │ +0008d6f0: 302d 3533 2d41 552d 330a 2020 2d20 4e49  0-53-AU-3.  - NI
│ │ │ +0008d700: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +0008d710: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +0008d720: 332d 5349 2d34 2832 3329 0a20 202d 2050  3-SI-4(23).  - P
│ │ │ +0008d730: 4349 2d44 5353 2d52 6571 2d31 302e 310a  CI-DSS-Req-10.1.
│ │ │ +0008d740: 2020 2d20 5043 492d 4453 5376 342d 3130    - PCI-DSSv4-10
│ │ │ +0008d750: 2e32 0a20 202d 2050 4349 2d44 5353 7634  .2.  - PCI-DSSv4
│ │ │ +0008d760: 2d31 302e 322e 310a 2020 2d20 656e 6162  -10.2.1.  - enab
│ │ │ +0008d770: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +0008d780: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +0008d790: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +0008d7a0: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ +0008d7b0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +0008d7c0: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ +0008d7d0: 6572 7669 6365 5f61 7564 6974 645f 656e  ervice_auditd_en
│ │ │ +0008d7e0: 6162 6c65 640a 0a2d 206e 616d 653a 2045  abled..- name: E
│ │ │ +0008d7f0: 6e61 626c 6520 6175 6469 7464 2053 6572  nable auditd Ser
│ │ │ +0008d800: 7669 6365 202d 2045 6e61 626c 6520 7365  vice - Enable se
│ │ │ +0008d810: 7276 6963 6520 6175 6469 7464 0a20 2062  rvice auditd.  b
│ │ │ +0008d820: 6c6f 636b 3a0a 0a20 202d 206e 616d 653a  lock:..  - name:
│ │ │ +0008d830: 2047 6174 6865 7220 7468 6520 7061 636b   Gather the pack
│ │ │ +0008d840: 6167 6520 6661 6374 730a 2020 2020 7061  age facts.    pa
│ │ │ +0008d850: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ +0008d860: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ +0008d870: 0a0a 2020 2d20 6e61 6d65 3a20 456e 6162  ..  - name: Enab
│ │ │ +0008d880: 6c65 2061 7564 6974 6420 5365 7276 6963  le auditd Servic
│ │ │ +0008d890: 6520 2d20 456e 6162 6c65 2053 6572 7669  e - Enable Servi
│ │ │ +0008d8a0: 6365 2061 7564 6974 640a 2020 2020 616e  ce auditd.    an
│ │ │ +0008d8b0: 7369 626c 652e 6275 696c 7469 6e2e 7379  sible.builtin.sy
│ │ │ +0008d8c0: 7374 656d 643a 0a20 2020 2020 206e 616d  stemd:.      nam
│ │ │ +0008d8d0: 653a 2061 7564 6974 640a 2020 2020 2020  e: auditd.      
│ │ │ +0008d8e0: 656e 6162 6c65 643a 2074 7275 650a 2020  enabled: true.  
│ │ │ +0008d8f0: 2020 2020 7374 6174 653a 2073 7461 7274      state: start
│ │ │ +0008d900: 6564 0a20 2020 2020 206d 6173 6b65 643a  ed.      masked:
│ │ │ +0008d910: 2066 616c 7365 0a20 2020 2077 6865 6e3a   false.    when:
│ │ │ +0008d920: 0a20 2020 202d 2027 2261 7564 6974 6422  .    - '"auditd"
│ │ │ +0008d930: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ +0008d940: 732e 7061 636b 6167 6573 270a 2020 7768  s.packages'.  wh
│ │ │ +0008d950: 656e 3a0a 2020 2d20 2722 6c69 6e75 782d  en:.  - '"linux-
│ │ │ +0008d960: 6261 7365 2220 696e 2061 6e73 6962 6c65  base" in ansible
│ │ │ +0008d970: 5f66 6163 7473 2e70 6163 6b61 6765 7327  _facts.packages'
│ │ │ +0008d980: 0a20 202d 2027 2261 7564 6974 6422 2069  .  - '"auditd" i
│ │ │ +0008d990: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +0008d9a0: 7061 636b 6167 6573 270a 2020 7461 6773  packages'.  tags
│ │ │ +0008d9b0: 3a0a 2020 2d20 434a 4953 2d35 2e34 2e31  :.  - CJIS-5.4.1
│ │ │ +0008d9c0: 2e31 0a20 202d 204e 4953 542d 3830 302d  .1.  - NIST-800-
│ │ │ +0008d9d0: 3137 312d 332e 332e 310a 2020 2d20 4e49  171-3.3.1.  - NI
│ │ │ +0008d9e0: 5354 2d38 3030 2d31 3731 2d33 2e33 2e32  ST-800-171-3.3.2
│ │ │ +0008d9f0: 0a20 202d 204e 4953 542d 3830 302d 3137  .  - NIST-800-17
│ │ │ +0008da00: 312d 332e 332e 360a 2020 2d20 4e49 5354  1-3.3.6.  - NIST
│ │ │ +0008da10: 2d38 3030 2d35 332d 4143 2d32 2867 290a  -800-53-AC-2(g).
│ │ │ +0008da20: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +0008da30: 4143 2d36 2839 290a 2020 2d20 4e49 5354  AC-6(9).  - NIST
│ │ │ +0008da40: 2d38 3030 2d35 332d 4155 2d31 300a 2020  -800-53-AU-10.  
│ │ │ +0008da50: 2d20 4e49 5354 2d38 3030 2d35 332d 4155  - NIST-800-53-AU
│ │ │ +0008da60: 2d31 3228 6329 0a20 202d 204e 4953 542d  -12(c).  - NIST-
│ │ │ +0008da70: 3830 302d 3533 2d41 552d 3134 2831 290a  800-53-AU-14(1).
│ │ │ +0008da80: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +0008da90: 4155 2d32 2864 290a 2020 2d20 4e49 5354  AU-2(d).  - NIST
│ │ │ +0008daa0: 2d38 3030 2d35 332d 4155 2d33 0a20 202d  -800-53-AU-3.  -
│ │ │ +0008dab0: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +0008dac0: 3628 6129 0a20 202d 204e 4953 542d 3830  6(a).  - NIST-80
│ │ │ +0008dad0: 302d 3533 2d53 492d 3428 3233 290a 2020  0-53-SI-4(23).  
│ │ │ +0008dae0: 2d20 5043 492d 4453 532d 5265 712d 3130  - PCI-DSS-Req-10
│ │ │ +0008daf0: 2e31 0a20 202d 2050 4349 2d44 5353 7634  .1.  - PCI-DSSv4
│ │ │ +0008db00: 2d31 302e 320a 2020 2d20 5043 492d 4453  -10.2.  - PCI-DS
│ │ │ +0008db10: 5376 342d 3130 2e32 2e31 0a20 202d 2065  Sv4-10.2.1.  - e
│ │ │ +0008db20: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ +0008db30: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +0008db40: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +0008db50: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +0008db60: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +0008db70: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +0008db80: 2d20 7365 7276 6963 655f 6175 6469 7464  - service_auditd
│ │ │ +0008db90: 5f65 6e61 626c 6564 0a3c 2f63 6f64 653e  _enabled.
│ │ │ +0008dba0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ +0008dc50: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ +0008dc60: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ +0008dd00: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +0008dd10: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +0008dd60: 3c74 723e 3c74 683e 5374 7261 7465 6779
inc
│ │ │ +0008dda0: 6c75 6465 2065 6e61 626c 655f 6175 6469  lude enable_audi
│ │ │ +0008ddb0: 7464 0a0a 636c 6173 7320 656e 6162 6c65  td..class enable
│ │ │ +0008ddc0: 5f61 7564 6974 6420 7b0a 2020 7365 7276  _auditd {.  serv
│ │ │ +0008ddd0: 6963 6520 7b27 6175 6469 7464 273a 0a20  ice {'auditd':. 
│ │ │ +0008dde0: 2020 2065 6e61 626c 6520 3d26 6774 3b20     enable => 
│ │ │ +0008ddf0: 7472 7565 2c0a 2020 2020 656e 7375 7265  true,.    ensure
│ │ │ +0008de00: 203d 2667 743b 2027 7275 6e6e 696e 6727   => 'running'
│ │ │ +0008de10: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ +0008de20: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remed
│ │ │ +0008ded0: 6961 7469 6f6e 204f 5342 7569 6c64 2042  iation OSBuild B
│ │ │ +0008dee0: 6c75 6570 7269 6e74 2073 6e69 7070 6574  lueprint snippet
│ │ │ +0008def0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976   ...
< │ │ │ +0008df30: 7072 653e 3c63 6f64 653e 0a5b 6375 7374 pre>.[cust │ │ │ +0008df40: 6f6d 697a 6174 696f 6e73 2e73 6572 7669 omizations.servi │ │ │ +0008df50: 6365 735d 0a65 6e61 626c 6564 203d 205b ces].enabled = [ │ │ │ +0008df60: 2261 7564 6974 6422 5d0a 3c2f 636f 6465 "auditd"].
'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -3741,14 +3724,31 @@ │ │ │ │ - PCI-DSSv4-2.2.6 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_cron_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_cron │ │ │ │ + │ │ │ │ +class install_cron { │ │ │ │ + package { 'cron': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "cron" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -3786,26 +3786,14 @@ │ │ │ │ SR 2.7, SR 3.1, SR 3.5, SR 3.8, SR 4.1, SR 4.3, SR │ │ │ │ 5.1, SR 5.2, SR 5.3, SR 7.1, SR 7.6 │ │ │ │ A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1, │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.13.2.1, A.14.1.3, A.14.2.2, A.14.2.3, A.14.2.4, │ │ │ │ A.6.2.1, A.6.2.2, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_inetutils-telnetd │ │ │ │ - │ │ │ │ -class remove_inetutils-telnetd { │ │ │ │ - package { 'inetutils-telnetd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure inetutils-telnetd is removed │ │ │ │ package: │ │ │ │ @@ -3817,14 +3805,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_inetutils-telnetd_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_inetutils-telnetd │ │ │ │ + │ │ │ │ +class remove_inetutils-telnetd { │ │ │ │ + package { 'inetutils-telnetd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove inetutils-telnetd │ │ │ │ @@ -3837,26 +3837,14 @@ │ │ │ │ ****** RRuullee? ?  UUnniinnssttaallll tthhee nniiss ppaacckkaaggee ? ? _[[_rr_ee_ff_]] ****** │ │ │ │ The support for Yellowpages should not be installed unless it is required. │ │ │ │ NIS is the historical SUN service for central account management, │ │ │ │ Rationale: more and more replaced by LDAP. NIS does not support efficiently │ │ │ │ security constraints, ACL, etc. and should not be used. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_nis_removed │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_nis │ │ │ │ - │ │ │ │ -class remove_nis { │ │ │ │ - package { 'nis': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure nis is removed │ │ │ │ package: │ │ │ │ @@ -3865,14 +3853,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_nis_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_nis │ │ │ │ + │ │ │ │ +class remove_nis { │ │ │ │ + package { 'nis': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove nis │ │ │ │ @@ -3886,26 +3886,14 @@ │ │ │ │ ntpdate is a historical ntp synchronization client for unixes. It sould be │ │ │ │ uninstalled. │ │ │ │ ntpdate is an old not security-compliant ntp client. It should be │ │ │ │ Rationale: replaced by modern ntp clients such as ntpd, able to use │ │ │ │ cryptographic mechanisms integrated in NTP. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_ntpdate_removed │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_ntpdate │ │ │ │ - │ │ │ │ -class remove_ntpdate { │ │ │ │ - package { 'ntpdate': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure ntpdate is removed │ │ │ │ package: │ │ │ │ @@ -3914,14 +3902,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_ntpdate_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_ntpdate │ │ │ │ + │ │ │ │ +class remove_ntpdate { │ │ │ │ + package { 'ntpdate': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove ntpdate │ │ │ │ @@ -3952,26 +3952,14 @@ │ │ │ │ SR 2.7, SR 3.1, SR 3.5, SR 3.8, SR 4.1, SR 4.3, SR │ │ │ │ 5.1, SR 5.2, SR 5.3, SR 7.1, SR 7.6 │ │ │ │ A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1, │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.13.2.1, A.14.1.3, A.14.2.2, A.14.2.3, A.14.2.4, │ │ │ │ A.6.2.1, A.6.2.2, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_telnetd-ssl │ │ │ │ - │ │ │ │ -class remove_telnetd-ssl { │ │ │ │ - package { 'telnetd-ssl': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure telnetd-ssl is removed │ │ │ │ package: │ │ │ │ @@ -3983,14 +3971,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_telnetd-ssl_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_telnetd-ssl │ │ │ │ + │ │ │ │ +class remove_telnetd-ssl { │ │ │ │ + package { 'telnetd-ssl': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove telnetd-ssl │ │ │ │ @@ -4022,26 +4022,14 @@ │ │ │ │ SR 2.7, SR 3.1, SR 3.5, SR 3.8, SR 4.1, SR 4.3, SR │ │ │ │ 5.1, SR 5.2, SR 5.3, SR 7.1, SR 7.6 │ │ │ │ A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1, │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.13.2.1, A.14.1.3, A.14.2.2, A.14.2.3, A.14.2.4, │ │ │ │ A.6.2.1, A.6.2.2, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_telnetd │ │ │ │ - │ │ │ │ -class remove_telnetd { │ │ │ │ - package { 'telnetd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure telnetd is removed │ │ │ │ package: │ │ │ │ @@ -4053,14 +4041,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_telnetd_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_telnetd │ │ │ │ + │ │ │ │ +class remove_telnetd { │ │ │ │ + package { 'telnetd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove telnetd │ │ │ │ @@ -4135,31 +4135,14 @@ │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_0_9 4.3.3.3.9, 4.3.3.5.8, 4.3.4.4.7, 4.4.2.1, 4.4.2.2, │ │ │ │ References: 4.4.2.4 │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "ntp" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_ntp │ │ │ │ - │ │ │ │ -class install_ntp { │ │ │ │ - package { 'ntp': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -4184,14 +4167,31 @@ │ │ │ │ - PCI-DSS-Req-10.4 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_ntp_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_ntp │ │ │ │ + │ │ │ │ +class install_ntp { │ │ │ │ + package { 'ntp': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "ntp" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -4225,31 +4225,14 @@ │ │ │ │ 4.4.2.4 │ │ │ │ References: _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a), AU-8(1)(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ _p_c_i_d_s_s_4 10.6.1, 10.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["ntp"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_ntp │ │ │ │ - │ │ │ │ -class enable_ntp { │ │ │ │ - service {'ntp': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -4293,14 +4276,31 @@ │ │ │ │ - PCI-DSSv4-10.6.1 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - service_ntp_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_ntp │ │ │ │ + │ │ │ │ +class enable_ntp { │ │ │ │ + service {'ntp': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["ntp"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -4338,31 +4338,14 @@ │ │ │ │ 4.4.2.4 │ │ │ │ References: _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a), AU-8(1)(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ _p_c_i_d_s_s_4 10.6.1, 10.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["systemd-timesyncd"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_systemd-timesyncd │ │ │ │ - │ │ │ │ -class enable_systemd-timesyncd { │ │ │ │ - service {'systemd-timesyncd': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -4408,14 +4391,31 @@ │ │ │ │ - PCI-DSSv4-10.6.1 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - service_timesyncd_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_systemd-timesyncd │ │ │ │ + │ │ │ │ +class enable_systemd-timesyncd { │ │ │ │ + service {'systemd-timesyncd': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["systemd-timesyncd"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -5320,31 +5320,14 @@ │ │ │ │ 000349-GPOS-00137, SRG-OS-000350-GPOS-00138, SRG-OS- │ │ │ │ 000351-GPOS-00139, SRG-OS-000352-GPOS-00140, SRG-OS- │ │ │ │ 000353-GPOS-00141, SRG-OS-000354-GPOS-00142, SRG-OS- │ │ │ │ 000358-GPOS-00145, SRG-OS-000365-GPOS-00152, SRG-OS- │ │ │ │ 000392-GPOS-00172, SRG-OS-000475-GPOS-00220 │ │ │ │ _a_n_s_s_i R33, R73 │ │ │ │ _p_c_i_d_s_s_4 10.2.1, 10.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "auditd" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_auditd │ │ │ │ - │ │ │ │ -class install_auditd { │ │ │ │ - package { 'auditd': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -5385,14 +5368,31 @@ │ │ │ │ - PCI-DSSv4-10.2.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_audit_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_auditd │ │ │ │ + │ │ │ │ +class install_auditd { │ │ │ │ + package { 'auditd': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "auditd" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -5468,31 +5468,14 @@ │ │ │ │ SRG-OS-000358-GPOS-00145, SRG-OS-000365-GPOS-00152, │ │ │ │ SRG-OS-000392-GPOS-00172, SRG-OS-000475-GPOS-00220 │ │ │ │ SRG-APP-000095-CTR-000170, SRG-APP-000409-CTR- │ │ │ │ _a_p_p_-_s_r_g_-_c_t_r 000990, SRG-APP-000508-CTR-001300, SRG-APP-000510- │ │ │ │ CTR-001310 │ │ │ │ _a_n_s_s_i R33, R73 │ │ │ │ _p_c_i_d_s_s_4 10.2.1, 10.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["auditd"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_auditd │ │ │ │ - │ │ │ │ -class enable_auditd { │ │ │ │ - service {'auditd': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -5558,14 +5541,31 @@ │ │ │ │ - PCI-DSSv4-10.2.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_auditd_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_auditd │ │ │ │ + │ │ │ │ +class enable_auditd { │ │ │ │ + service {'auditd': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["auditd"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ ├── ./usr/share/doc/ssg-debderived/ssg-ubuntu1804-guide-anssi_np_nt28_minimal.html │ │ │ @@ -20387,96 +20387,96 @@ │ │ │ 0004fa20: 6522 2064 6174 612d 7461 7267 6574 3d22 e" data-target=" │ │ │ 0004fa30: 2369 646d 3131 3238 3422 2074 6162 696e #idm11284" tabin │ │ │ 0004fa40: 6465 783d 2230 2220 726f 6c65 3d22 6275 dex="0" role="bu │ │ │ 0004fa50: 7474 6f6e 2220 6172 6961 2d65 7870 616e tton" aria-expan │ │ │ 0004fa60: 6465 643d 2266 616c 7365 2220 7469 746c ded="false" titl │ │ │ 0004fa70: 653d 2241 6374 6976 6174 6520 746f 2072 e="Activate to r │ │ │ 0004fa80: 6576 6561 6c22 2068 7265 663d 2223 2122 eveal" href="#!" │ │ │ -0004fa90: 3e52 656d 6564 6961 7469 6f6e 2050 7570 >Remediation Pup │ │ │ -0004faa0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ -0004fab0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
C │ │ │ +0008dcf0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +0008dd20: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +0008dd30: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +0008dd70: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ +0008dd80: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
│ │ │ -0004fb30: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -0004fb50: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -0004fba0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -0004fbd0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -0004fb40: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -0004fb60: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -0004fbb0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -0004fbc0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ -0004fbf0: 655f 696e 6574 7574 696c 732d 7465 6c6e  e_inetutils-teln
│ │ │ -0004fc00: 6574 640a 0a63 6c61 7373 2072 656d 6f76  etd..class remov
│ │ │ -0004fc10: 655f 696e 6574 7574 696c 732d 7465 6c6e  e_inetutils-teln
│ │ │ -0004fc20: 6574 6420 7b0a 2020 7061 636b 6167 6520  etd {.  package 
│ │ │ -0004fc30: 7b20 2769 6e65 7475 7469 6c73 2d74 656c  { 'inetutils-tel
│ │ │ -0004fc40: 6e65 7464 273a 0a20 2020 2065 6e73 7572  netd':.    ensur
│ │ │ -0004fc50: 6520 3d26 6774 3b20 2770 7572 6765 6427  e => 'purged'
│ │ │ -0004fc60: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ -0004fc70: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remed │ │ │ -0004fd20: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s │ │ │ -0004fd30: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -0004fdd0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -0004fde0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -0004fe30: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ -0004fe70: 6e61 6d65 3a20 456e 7375 7265 2069 6e65  name: Ensure ine
│ │ │ -0004fe80: 7475 7469 6c73 2d74 656c 6e65 7464 2069  tutils-telnetd i
│ │ │ -0004fe90: 7320 7265 6d6f 7665 640a 2020 7061 636b  s removed.  pack
│ │ │ -0004fea0: 6167 653a 0a20 2020 206e 616d 653a 2069  age:.    name: i
│ │ │ -0004feb0: 6e65 7475 7469 6c73 2d74 656c 6e65 7464  netutils-telnetd
│ │ │ -0004fec0: 0a20 2020 2073 7461 7465 3a20 6162 7365  .    state: abse
│ │ │ -0004fed0: 6e74 0a20 2074 6167 733a 0a20 202d 204e  nt.  tags:.  - N
│ │ │ -0004fee0: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -0004fef0: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ -0004ff00: 3533 2d43 4d2d 3728 6129 0a20 202d 204e  53-CM-7(a).  - N
│ │ │ -0004ff10: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ -0004ff20: 6229 0a20 202d 2064 6973 6162 6c65 5f73  b).  - disable_s
│ │ │ -0004ff30: 7472 6174 6567 790a 2020 2d20 6869 6768  trategy.  - high
│ │ │ -0004ff40: 5f73 6576 6572 6974 790a 2020 2d20 6c6f  _severity.  - lo
│ │ │ -0004ff50: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -0004ff60: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -0004ff70: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -0004ff80: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -0004ff90: 5f69 6e65 7475 7469 6c73 2d74 656c 6e65  _inetutils-telne
│ │ │ -0004ffa0: 7464 5f72 656d 6f76 6564 0a3c 2f63 6f64  td_removed.Remediation Ans
│ │ │ +0004faa0: 6962 6c65 2073 6e69 7070 6574 20e2 87b2  ible snippet ...
│ │ │ +0004fab0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61  
low< │ │ │ +0004fb80: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>
C │ │ │ -0004fdc0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -0004fdf0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -0004fe00: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -0004fe40: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -0004fe50: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexity: │ │ │ +0004fb40: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ +0004fb60: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ +0004fbb0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +0004fbc0: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Ensu
│ │ │ +0004fbf0: 7265 2069 6e65 7475 7469 6c73 2d74 656c  re inetutils-tel
│ │ │ +0004fc00: 6e65 7464 2069 7320 7265 6d6f 7665 640a  netd is removed.
│ │ │ +0004fc10: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ +0004fc20: 616d 653a 2069 6e65 7475 7469 6c73 2d74  ame: inetutils-t
│ │ │ +0004fc30: 656c 6e65 7464 0a20 2020 2073 7461 7465  elnetd.    state
│ │ │ +0004fc40: 3a20 6162 7365 6e74 0a20 2074 6167 733a  : absent.  tags:
│ │ │ +0004fc50: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +0004fc60: 2d43 4d2d 3628 6129 0a20 202d 204e 4953  -CM-6(a).  - NIS
│ │ │ +0004fc70: 542d 3830 302d 3533 2d43 4d2d 3728 6129  T-800-53-CM-7(a)
│ │ │ +0004fc80: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +0004fc90: 2d43 4d2d 3728 6229 0a20 202d 2064 6973  -CM-7(b).  - dis
│ │ │ +0004fca0: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +0004fcb0: 2d20 6869 6768 5f73 6576 6572 6974 790a  - high_severity.
│ │ │ +0004fcc0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +0004fcd0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +0004fce0: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562  ption.  - no_reb
│ │ │ +0004fcf0: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ +0004fd00: 6163 6b61 6765 5f69 6e65 7475 7469 6c73  ackage_inetutils
│ │ │ +0004fd10: 2d74 656c 6e65 7464 5f72 656d 6f76 6564  -telnetd_removed
│ │ │ +0004fd20: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +0004fde0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +0004fdf0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ +0004fe70: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +0004fe80: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +0004fea0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +0004feb0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +0004fed0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +0004fef0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ +0004ff20: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ +0004ff30: 6d6f 7665 5f69 6e65 7475 7469 6c73 2d74  move_inetutils-t
│ │ │ +0004ff40: 656c 6e65 7464 0a0a 636c 6173 7320 7265  elnetd..class re
│ │ │ +0004ff50: 6d6f 7665 5f69 6e65 7475 7469 6c73 2d74  move_inetutils-t
│ │ │ +0004ff60: 656c 6e65 7464 207b 0a20 2070 6163 6b61  elnetd {.  packa
│ │ │ +0004ff70: 6765 207b 2027 696e 6574 7574 696c 732d  ge { 'inetutils-
│ │ │ +0004ff80: 7465 6c6e 6574 6427 3a0a 2020 2020 656e  telnetd':.    en
│ │ │ +0004ff90: 7375 7265 203d 2667 743b 2027 7075 7267  sure => 'purg
│ │ │ +0004ffa0: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ed',.  }.}.
│ │ │ -00050940: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ -00050950: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
< │ │ │ -000509e0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -00050a00: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -00050a50: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ -00050a80: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include remove
│ │ │ -00050aa0: 5f6e 6973 0a0a 636c 6173 7320 7265 6d6f  _nis..class remo
│ │ │ -00050ab0: 7665 5f6e 6973 207b 0a20 2070 6163 6b61  ve_nis {.  packa
│ │ │ -00050ac0: 6765 207b 2027 6e69 7327 3a0a 2020 2020  ge { 'nis':.    
│ │ │ -00050ad0: 656e 7375 7265 203d 2667 743b 2027 7075  ensure => 'pu
│ │ │ -00050ae0: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63  rged',.  }.}.
│ │ │ -00050b00: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ -00050ba0: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi │ │ │ -00050bb0: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...< │ │ │ -00050bc0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
low
Disr │ │ │ -00050a10: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -00050a20: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -00050a60: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ -00050a70: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
│ │ │ -00050c40: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -00050c60: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -00050cb0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -00050ce0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -00050c50: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -00050c70: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -00050cc0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -00050cd0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
- name: Ensur
│ │ │ -00050d00: 6520 6e69 7320 6973 2072 656d 6f76 6564  e nis is removed
│ │ │ -00050d10: 0a20 2070 6163 6b61 6765 3a0a 2020 2020  .  package:.    
│ │ │ -00050d20: 6e61 6d65 3a20 6e69 730a 2020 2020 7374  name: nis.    st
│ │ │ -00050d30: 6174 653a 2061 6273 656e 740a 2020 7461  ate: absent.  ta
│ │ │ -00050d40: 6773 3a0a 2020 2d20 6469 7361 626c 655f  gs:.  - disable_
│ │ │ -00050d50: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -00050d60: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -00050d70: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -00050d80: 202d 206c 6f77 5f73 6576 6572 6974 790a   - low_severity.
│ │ │ -00050d90: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -00050da0: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -00050db0: 5f6e 6973 5f72 656d 6f76 6564 0a3c 2f63  _nis_removed.
│ │ │ +000509e0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +00050a00: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +00050a50: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ +00050a80: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ +000509f0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +00050a10: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +00050a60: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ +00050a70: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
- name: Ensur
│ │ │ +00050aa0: 6520 6e69 7320 6973 2072 656d 6f76 6564  e nis is removed
│ │ │ +00050ab0: 0a20 2070 6163 6b61 6765 3a0a 2020 2020  .  package:.    
│ │ │ +00050ac0: 6e61 6d65 3a20 6e69 730a 2020 2020 7374  name: nis.    st
│ │ │ +00050ad0: 6174 653a 2061 6273 656e 740a 2020 7461  ate: absent.  ta
│ │ │ +00050ae0: 6773 3a0a 2020 2d20 6469 7361 626c 655f  gs:.  - disable_
│ │ │ +00050af0: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ +00050b00: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +00050b10: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +00050b20: 202d 206c 6f77 5f73 6576 6572 6974 790a   - low_severity.
│ │ │ +00050b30: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ +00050b40: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ +00050b50: 5f6e 6973 5f72 656d 6f76 6564 0a3c 2f63  _nis_removed.
│ │ │ +00050b70: 3c61 2063 6c61 7373 3d22 6274 6e20 6274
│ │ │ +00050c10: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ +00050c20: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
< │ │ │ +00050cb0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +00050cd0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +00050d20: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +00050d50: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include remove
│ │ │ +00050d70: 5f6e 6973 0a0a 636c 6173 7320 7265 6d6f  _nis..class remo
│ │ │ +00050d80: 7665 5f6e 6973 207b 0a20 2070 6163 6b61  ve_nis {.  packa
│ │ │ +00050d90: 6765 207b 2027 6e69 7327 3a0a 2020 2020  ge { 'nis':.    
│ │ │ +00050da0: 656e 7375 7265 203d 2667 743b 2027 7075  ensure => 'pu
│ │ │ +00050db0: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63  rged',.  }.}.
│ │ │ 00050dd0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Remediati │ │ │ -00051e80: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -00051e90: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -00051ed0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
low
Disr │ │ │ +00050ce0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +00050cf0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +00050d30: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +00050d40: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
< │ │ │ -00051f40: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -00051f60: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -00051f90: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -00051f20: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -00051f30: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -00051f70: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -00051f80: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ -00051fd0: 2072 656d 6f76 655f 7465 6c6e 6574 642d remove_telnetd- │ │ │ -00051fe0: 7373 6c0a 0a63 6c61 7373 2072 656d 6f76 ssl..class remov │ │ │ -00051ff0: 655f 7465 6c6e 6574 642d 7373 6c20 7b0a e_telnetd-ssl {. │ │ │ -00052000: 2020 7061 636b 6167 6520 7b20 2774 656c package { 'tel │ │ │ -00052010: 6e65 7464 2d73 736c 273a 0a20 2020 2065 netd-ssl':. e │ │ │ -00052020: 6e73 7572 6520 3d26 6774 3b20 2770 7572 nsure => 'pur │ │ │ -00052030: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f ged',. }.}.

< │ │ │ -00052050: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -00052060: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -00052070: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -00052080: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -00052090: 646d 3131 3430 3422 2074 6162 696e 6465 dm11404" tabinde │ │ │ -000520a0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -000520b0: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -000520c0: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -000520d0: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -000520e0: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -000520f0: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ -00052100: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
< │ │ │ -00052190: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -000521b0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -00052200: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ -00052230: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Ensure
│ │ │ -00052250: 2074 656c 6e65 7464 2d73 736c 2069 7320   telnetd-ssl is 
│ │ │ -00052260: 7265 6d6f 7665 640a 2020 7061 636b 6167  removed.  packag
│ │ │ -00052270: 653a 0a20 2020 206e 616d 653a 2074 656c  e:.    name: tel
│ │ │ -00052280: 6e65 7464 2d73 736c 0a20 2020 2073 7461  netd-ssl.    sta
│ │ │ -00052290: 7465 3a20 6162 7365 6e74 0a20 2074 6167  te: absent.  tag
│ │ │ -000522a0: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ -000522b0: 3533 2d43 4d2d 3628 6129 0a20 202d 204e  53-CM-6(a).  - N
│ │ │ -000522c0: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ -000522d0: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ -000522e0: 3533 2d43 4d2d 3728 6229 0a20 202d 2064  53-CM-7(b).  - d
│ │ │ -000522f0: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ -00052300: 2020 2d20 6869 6768 5f73 6576 6572 6974    - high_severit
│ │ │ -00052310: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -00052320: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -00052330: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72  ruption.  - no_r
│ │ │ -00052340: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -00052350: 2070 6163 6b61 6765 5f74 656c 6e65 7464   package_telnetd
│ │ │ -00052360: 2d73 736c 5f72 656d 6f76 6564 0a3c 2f63  -ssl_removed.
low
Disr │ │ │ -000521c0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -000521d0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -00052210: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ -00052220: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
│ │ │ +00051f40: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +00051f60: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +00051f90: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +00051f20: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +00051f30: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +00051f50: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +00051f70: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +00051f80: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +00051fc0: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +00051fd0: 3a20 456e 7375 7265 2074 656c 6e65 7464 : Ensure telnetd │ │ │ +00051fe0: 2d73 736c 2069 7320 7265 6d6f 7665 640a -ssl is removed. │ │ │ +00051ff0: 2020 7061 636b 6167 653a 0a20 2020 206e package:. n │ │ │ +00052000: 616d 653a 2074 656c 6e65 7464 2d73 736c ame: telnetd-ssl │ │ │ +00052010: 0a20 2020 2073 7461 7465 3a20 6162 7365 . state: abse │ │ │ +00052020: 6e74 0a20 2074 6167 733a 0a20 202d 204e nt. tags:. - N │ │ │ +00052030: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6( │ │ │ +00052040: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800- │ │ │ +00052050: 3533 2d43 4d2d 3728 6129 0a20 202d 204e 53-CM-7(a). - N │ │ │ +00052060: 4953 542d 3830 302d 3533 2d43 4d2d 3728 IST-800-53-CM-7( │ │ │ +00052070: 6229 0a20 202d 2064 6973 6162 6c65 5f73 b). - disable_s │ │ │ +00052080: 7472 6174 6567 790a 2020 2d20 6869 6768 trategy. - high │ │ │ +00052090: 5f73 6576 6572 6974 790a 2020 2d20 6c6f _severity. - lo │ │ │ +000520a0: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. - │ │ │ +000520b0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption. │ │ │ +000520c0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ +000520d0: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package │ │ │ +000520e0: 5f74 656c 6e65 7464 2d73 736c 5f72 656d _telnetd-ssl_rem │ │ │ +000520f0: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072 oved.
Remediat │ │ │ +000521b0: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ +000521c0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +00052270: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +00052290: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +000522c0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +00052250: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +00052260: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +00052280: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +000522a0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +000522b0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +000522f0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ +00052300: 6520 7265 6d6f 7665 5f74 656c 6e65 7464 e remove_telnetd │ │ │ +00052310: 2d73 736c 0a0a 636c 6173 7320 7265 6d6f -ssl..class remo │ │ │ +00052320: 7665 5f74 656c 6e65 7464 2d73 736c 207b ve_telnetd-ssl { │ │ │ +00052330: 0a20 2070 6163 6b61 6765 207b 2027 7465 . package { 'te │ │ │ +00052340: 6c6e 6574 642d 7373 6c27 3a0a 2020 2020 lnetd-ssl':. │ │ │ +00052350: 656e 7375 7265 203d 2667 743b 2027 7075 ensure => 'pu │ │ │ +00052360: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63 rged',. }.}.
│ │ │ 00052380: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Remediati │ │ │ -00053440: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -00053450: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -00053490: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -00053500: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -00053520: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -00053550: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -000534e0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -000534f0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -00053530: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -00053540: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ -00053590: 2072 656d 6f76 655f 7465 6c6e 6574 640a remove_telnetd. │ │ │ -000535a0: 0a63 6c61 7373 2072 656d 6f76 655f 7465 .class remove_te │ │ │ -000535b0: 6c6e 6574 6420 7b0a 2020 7061 636b 6167 lnetd {. packag │ │ │ -000535c0: 6520 7b20 2774 656c 6e65 7464 273a 0a20 e { 'telnetd':. │ │ │ -000535d0: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure => │ │ │ -000535e0: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a 'purged',. }.}. │ │ │ -000535f0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64

Remediation A │ │ │ -000536b0: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet . │ │ │ -000536c0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -00053740: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -00053750: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ -00053770: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ -00053780: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ -000537a0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ -000537c0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ -000537f0: 3c63 6f64 653e 2d20 6e61 6d65 3a20 456e  - name: En
│ │ │ -00053800: 7375 7265 2074 656c 6e65 7464 2069 7320  sure telnetd is 
│ │ │ -00053810: 7265 6d6f 7665 640a 2020 7061 636b 6167  removed.  packag
│ │ │ -00053820: 653a 0a20 2020 206e 616d 653a 2074 656c  e:.    name: tel
│ │ │ -00053830: 6e65 7464 0a20 2020 2073 7461 7465 3a20  netd.    state: 
│ │ │ -00053840: 6162 7365 6e74 0a20 2074 6167 733a 0a20  absent.  tags:. 
│ │ │ -00053850: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -00053860: 4d2d 3628 6129 0a20 202d 204e 4953 542d  M-6(a).  - NIST-
│ │ │ -00053870: 3830 302d 3533 2d43 4d2d 3728 6129 0a20  800-53-CM-7(a). 
│ │ │ -00053880: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -00053890: 4d2d 3728 6229 0a20 202d 2064 6973 6162  M-7(b).  - disab
│ │ │ -000538a0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -000538b0: 6869 6768 5f73 6576 6572 6974 790a 2020  high_severity.  
│ │ │ -000538c0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -000538d0: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -000538e0: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f  ion.  - no_reboo
│ │ │ -000538f0: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ -00053900: 6b61 6765 5f74 656c 6e65 7464 5f72 656d  kage_telnetd_rem
│ │ │ -00053910: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072  oved.
│ │ │ +00053500: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +00053520: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +00053550: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +000534e0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +000534f0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +00053510: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +00053530: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +00053540: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +00053580: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +00053590: 3a20 456e 7375 7265 2074 656c 6e65 7464 : Ensure telnetd │ │ │ +000535a0: 2069 7320 7265 6d6f 7665 640a 2020 7061 is removed. pa │ │ │ +000535b0: 636b 6167 653a 0a20 2020 206e 616d 653a ckage:. name: │ │ │ +000535c0: 2074 656c 6e65 7464 0a20 2020 2073 7461 telnetd. sta │ │ │ +000535d0: 7465 3a20 6162 7365 6e74 0a20 2074 6167 te: absent. tag │ │ │ +000535e0: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800- │ │ │ +000535f0: 3533 2d43 4d2d 3628 6129 0a20 202d 204e 53-CM-6(a). - N │ │ │ +00053600: 4953 542d 3830 302d 3533 2d43 4d2d 3728 IST-800-53-CM-7( │ │ │ +00053610: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800- │ │ │ +00053620: 3533 2d43 4d2d 3728 6229 0a20 202d 2064 53-CM-7(b). - d │ │ │ +00053630: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy. │ │ │ +00053640: 2020 2d20 6869 6768 5f73 6576 6572 6974 - high_severit │ │ │ +00053650: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple │ │ │ +00053660: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis │ │ │ +00053670: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72 ruption. - no_r │ │ │ +00053680: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. - │ │ │ +00053690: 2070 6163 6b61 6765 5f74 656c 6e65 7464 package_telnetd │ │ │ +000536a0: 5f72 656d 6f76 6564 0a3c 2f63 6f64 653e _removed. │ │ │ +000536b0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Reme │ │ │ +00053760: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ +00053770: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ +00053810: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +00053820: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +00053870: 3c74 723e 3c74 683e 5374 7261 7465 6779
in
│ │ │ +000538b0: 636c 7564 6520 7265 6d6f 7665 5f74 656c  clude remove_tel
│ │ │ +000538c0: 6e65 7464 0a0a 636c 6173 7320 7265 6d6f  netd..class remo
│ │ │ +000538d0: 7665 5f74 656c 6e65 7464 207b 0a20 2070  ve_telnetd {.  p
│ │ │ +000538e0: 6163 6b61 6765 207b 2027 7465 6c6e 6574  ackage { 'telnet
│ │ │ +000538f0: 6427 3a0a 2020 2020 656e 7375 7265 203d  d':.    ensure =
│ │ │ +00053900: 2667 743b 2027 7075 7267 6564 272c 0a20  > 'purged',. 
│ │ │ +00053910: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}. 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Ensure inetutils-telnetd is removed
│ │ │ │    package:
│ │ │ │ @@ -1238,14 +1226,26 @@
│ │ │ │    - NIST-800-53-CM-7(b)
│ │ │ │    - disable_strategy
│ │ │ │    - high_severity
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_inetutils-telnetd_removed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_inetutils-telnetd
│ │ │ │ +
│ │ │ │ +class remove_inetutils-telnetd {
│ │ │ │ +  package { 'inetutils-telnetd':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  
│ │ │ │  # CAUTION: This remediation script will remove inetutils-telnetd
│ │ │ │ @@ -1258,26 +1258,14 @@
│ │ │ │  ****** RRuullee? ?  UUnniinnssttaallll tthhee nniiss ppaacckkaaggee ? ? _[[_rr_ee_ff_]] ******
│ │ │ │  The support for Yellowpages should not be installed unless it is required.
│ │ │ │             NIS is the historical SUN service for central account management,
│ │ │ │  Rationale: more and more replaced by LDAP. NIS does not support efficiently
│ │ │ │             security constraints, ACL, etc. and should not be used.
│ │ │ │  Severity:  low
│ │ │ │  Rule ID:   xccdf_org.ssgproject.content_rule_package_nis_removed
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -include remove_nis
│ │ │ │ -
│ │ │ │ -class remove_nis {
│ │ │ │ -  package { 'nis':
│ │ │ │ -    ensure => 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Ensure nis is removed
│ │ │ │    package:
│ │ │ │ @@ -1286,14 +1274,26 @@
│ │ │ │    tags:
│ │ │ │    - disable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - low_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_nis_removed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_nis
│ │ │ │ +
│ │ │ │ +class remove_nis {
│ │ │ │ +  package { 'nis':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  
│ │ │ │  # CAUTION: This remediation script will remove nis
│ │ │ │ @@ -1324,26 +1324,14 @@
│ │ │ │                             SR 2.7, SR 3.1, SR 3.5, SR 3.8, SR 4.1, SR 4.3, SR
│ │ │ │                             5.1, SR 5.2, SR 5.3, SR 7.1, SR 7.6
│ │ │ │                             A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1,
│ │ │ │              _i_s_o_2_7_0_0_1_-_2_0_1_3  A.13.2.1, A.14.1.3, A.14.2.2, A.14.2.3, A.14.2.4,
│ │ │ │                             A.6.2.1, A.6.2.2, A.9.1.2
│ │ │ │              _n_i_s_t           CM-7(a), CM-7(b), CM-6(a)
│ │ │ │              _n_i_s_t_-_c_s_f       PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -include remove_telnetd-ssl
│ │ │ │ -
│ │ │ │ -class remove_telnetd-ssl {
│ │ │ │ -  package { 'telnetd-ssl':
│ │ │ │ -    ensure => 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Ensure telnetd-ssl is removed
│ │ │ │    package:
│ │ │ │ @@ -1355,14 +1343,26 @@
│ │ │ │    - NIST-800-53-CM-7(b)
│ │ │ │    - disable_strategy
│ │ │ │    - high_severity
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_telnetd-ssl_removed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_telnetd-ssl
│ │ │ │ +
│ │ │ │ +class remove_telnetd-ssl {
│ │ │ │ +  package { 'telnetd-ssl':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  
│ │ │ │  # CAUTION: This remediation script will remove telnetd-ssl
│ │ │ │ @@ -1394,26 +1394,14 @@
│ │ │ │                             SR 2.7, SR 3.1, SR 3.5, SR 3.8, SR 4.1, SR 4.3, SR
│ │ │ │                             5.1, SR 5.2, SR 5.3, SR 7.1, SR 7.6
│ │ │ │                             A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1,
│ │ │ │              _i_s_o_2_7_0_0_1_-_2_0_1_3  A.13.2.1, A.14.1.3, A.14.2.2, A.14.2.3, A.14.2.4,
│ │ │ │                             A.6.2.1, A.6.2.2, A.9.1.2
│ │ │ │              _n_i_s_t           CM-7(a), CM-7(b), CM-6(a)
│ │ │ │              _n_i_s_t_-_c_s_f       PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -include remove_telnetd
│ │ │ │ -
│ │ │ │ -class remove_telnetd {
│ │ │ │ -  package { 'telnetd':
│ │ │ │ -    ensure => 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Ensure telnetd is removed
│ │ │ │    package:
│ │ │ │ @@ -1425,14 +1413,26 @@
│ │ │ │    - NIST-800-53-CM-7(b)
│ │ │ │    - disable_strategy
│ │ │ │    - high_severity
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_telnetd_removed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_telnetd
│ │ │ │ +
│ │ │ │ +class remove_telnetd {
│ │ │ │ +  package { 'telnetd':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  
│ │ │ │  # CAUTION: This remediation script will remove telnetd
│ │ ├── ./usr/share/doc/ssg-debderived/ssg-ubuntu1804-guide-anssi_np_nt28_restrictive.html
│ │ │ @@ -28276,131 +28276,131 @@
│ │ │  0006e730: 2d74 6172 6765 743d 2223 6964 6d31 3130  -target="#idm110
│ │ │  0006e740: 3932 2220 7461 6269 6e64 6578 3d22 3022  92" tabindex="0"
│ │ │  0006e750: 2072 6f6c 653d 2262 7574 746f 6e22 2061   role="button" a
│ │ │  0006e760: 7269 612d 6578 7061 6e64 6564 3d22 6661  ria-expanded="fa
│ │ │  0006e770: 6c73 6522 2074 6974 6c65 3d22 4163 7469  lse" title="Acti
│ │ │  0006e780: 7661 7465 2074 6f20 7265 7665 616c 2220  vate to reveal" 
│ │ │  0006e790: 6872 6566 3d22 2321 223e 5265 6d65 6469  href="#!">Remedi
│ │ │ -0006e7a0: 6174 696f 6e20 4f53 4275 696c 6420 426c  ation OSBuild Bl
│ │ │ -0006e7b0: 7565 7072 696e 7420 736e 6970 7065 7420  ueprint snippet 
│ │ │ -0006e7c0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620  ...

.[[pack │ │ │ -0006e810: 6167 6573 5d5d 0a6e 616d 6520 3d20 2263 ages]].name = "c │ │ │ -0006e820: 726f 6e22 0a76 6572 7369 6f6e 203d 2022 ron".version = " │ │ │ -0006e830: 2a22 0a3c 2f63 6f64 653e 3c2f 7072 653e *".

│ │ │ -0006e840: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediatio │ │ │ -0006e8f0: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ -0006e900: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -0006e940: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -0006e950: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -0006e960: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -0006e970: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -0006e980: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ -0006ea10: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c < │ │ │ -0006ea20: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
C │ │ │ +00053800: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +00053830: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +00053840: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +00053880: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ +00053890: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complex │ │ │ -0006e990: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -0006e9a0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ -0006e9e0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -0006e9f0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
enable
include i
│ │ │ -0006ea40: 6e73 7461 6c6c 5f63 726f 6e0a 0a63 6c61  nstall_cron..cla
│ │ │ -0006ea50: 7373 2069 6e73 7461 6c6c 5f63 726f 6e20  ss install_cron 
│ │ │ -0006ea60: 7b0a 2020 7061 636b 6167 6520 7b20 2763  {.  package { 'c
│ │ │ -0006ea70: 726f 6e27 3a0a 2020 2020 656e 7375 7265  ron':.    ensure
│ │ │ -0006ea80: 203d 2667 743b 2027 696e 7374 616c 6c65   => 'installe
│ │ │ -0006ea90: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Rem │ │ │ -0006eb50: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ -0006eb60: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -0006eb70: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -0006ec40: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -0006ec50: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
-
│ │ │ -0006eca0: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ -0006ecb0: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ -0006ecc0: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ -0006ecd0: 0a20 2020 206d 616e 6167 6572 3a20 6175  .    manager: au
│ │ │ -0006ece0: 746f 0a20 2074 6167 733a 0a20 202d 204e  to.  tags:.  - N
│ │ │ -0006ecf0: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -0006ed00: 6129 0a20 202d 2050 4349 2d44 5353 7634  a).  - PCI-DSSv4
│ │ │ -0006ed10: 2d32 2e32 0a20 202d 2050 4349 2d44 5353  -2.2.  - PCI-DSS
│ │ │ -0006ed20: 7634 2d32 2e32 2e36 0a20 202d 2065 6e61  v4-2.2.6.  - ena
│ │ │ -0006ed30: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -0006ed40: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -0006ed50: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -0006ed60: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -0006ed70: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -0006ed80: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -0006ed90: 7061 636b 6167 655f 6372 6f6e 5f69 6e73  package_cron_ins
│ │ │ -0006eda0: 7461 6c6c 6564 0a0a 2d20 6e61 6d65 3a20  talled..- name: 
│ │ │ -0006edb0: 456e 7375 7265 2063 726f 6e20 6973 2069  Ensure cron is i
│ │ │ -0006edc0: 6e73 7461 6c6c 6564 0a20 2070 6163 6b61  nstalled.  packa
│ │ │ -0006edd0: 6765 3a0a 2020 2020 6e61 6d65 3a20 6372  ge:.    name: cr
│ │ │ -0006ede0: 6f6e 0a20 2020 2073 7461 7465 3a20 7072  on.    state: pr
│ │ │ -0006edf0: 6573 656e 740a 2020 7768 656e 3a20 2722  esent.  when: '"
│ │ │ -0006ee00: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ -0006ee10: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ -0006ee20: 6b61 6765 7327 0a20 2074 6167 733a 0a20  kages'.  tags:. 
│ │ │ -0006ee30: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -0006ee40: 4d2d 3628 6129 0a20 202d 2050 4349 2d44  M-6(a).  - PCI-D
│ │ │ -0006ee50: 5353 7634 2d32 2e32 0a20 202d 2050 4349  SSv4-2.2.  - PCI
│ │ │ -0006ee60: 2d44 5353 7634 2d32 2e32 2e36 0a20 202d  -DSSv4-2.2.6.  -
│ │ │ -0006ee70: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ -0006ee80: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -0006ee90: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -0006eea0: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ -0006eeb0: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ -0006eec0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -0006eed0: 2020 2d20 7061 636b 6167 655f 6372 6f6e    - package_cron
│ │ │ -0006eee0: 5f69 6e73 7461 6c6c 6564 0a3c 2f63 6f64  _installed.
Complexity:low
Disrup │ │ │ -0006ec20: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -0006ec30: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -0006ec70: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ -0006ec80: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
low< │ │ │ +0006e860: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +0006e8b0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ +0006e840: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +0006e870: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +0006e890: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +0006e8a0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +0006e8c0: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ +0006e8d0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +0006e8f0: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ +0006e900: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ +0006e910: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ +0006e920: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ +0006e930: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ +0006e940: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ +0006e950: 2020 2d20 5043 492d 4453 5376 342d 322e    - PCI-DSSv4-2.
│ │ │ +0006e960: 320a 2020 2d20 5043 492d 4453 5376 342d  2.  - PCI-DSSv4-
│ │ │ +0006e970: 322e 322e 360a 2020 2d20 656e 6162 6c65  2.2.6.  - enable
│ │ │ +0006e980: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ +0006e990: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ +0006e9a0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ +0006e9b0: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ +0006e9c0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ +0006e9d0: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ +0006e9e0: 6b61 6765 5f63 726f 6e5f 696e 7374 616c  kage_cron_instal
│ │ │ +0006e9f0: 6c65 640a 0a2d 206e 616d 653a 2045 6e73  led..- name: Ens
│ │ │ +0006ea00: 7572 6520 6372 6f6e 2069 7320 696e 7374  ure cron is inst
│ │ │ +0006ea10: 616c 6c65 640a 2020 7061 636b 6167 653a  alled.  package:
│ │ │ +0006ea20: 0a20 2020 206e 616d 653a 2063 726f 6e0a  .    name: cron.
│ │ │ +0006ea30: 2020 2020 7374 6174 653a 2070 7265 7365      state: prese
│ │ │ +0006ea40: 6e74 0a20 2077 6865 6e3a 2027 226c 696e  nt.  when: '"lin
│ │ │ +0006ea50: 7578 2d62 6173 6522 2069 6e20 616e 7369  ux-base" in ansi
│ │ │ +0006ea60: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ +0006ea70: 6573 270a 2020 7461 6773 3a0a 2020 2d20  es'.  tags:.  - 
│ │ │ +0006ea80: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ +0006ea90: 2861 290a 2020 2d20 5043 492d 4453 5376  (a).  - PCI-DSSv
│ │ │ +0006eaa0: 342d 322e 320a 2020 2d20 5043 492d 4453  4-2.2.  - PCI-DS
│ │ │ +0006eab0: 5376 342d 322e 322e 360a 2020 2d20 656e  Sv4-2.2.6.  - en
│ │ │ +0006eac0: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +0006ead0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +0006eae0: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +0006eaf0: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ +0006eb00: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +0006eb10: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +0006eb20: 2070 6163 6b61 6765 5f63 726f 6e5f 696e   package_cron_in
│ │ │ +0006eb30: 7374 616c 6c65 640a 3c2f 636f 6465 3e3c  stalled.<
│ │ │ +0006eb40: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remed │ │ │ +0006ebf0: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ +0006ec00: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ +0006ecb0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +0006ed00: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ +0006ec90: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +0006ecc0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +0006ece0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +0006ecf0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +0006ed10: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ +0006ed20: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +0006ed40: 7564 6520 696e 7374 616c 6c5f 6372 6f6e  ude install_cron
│ │ │ +0006ed50: 0a0a 636c 6173 7320 696e 7374 616c 6c5f  ..class install_
│ │ │ +0006ed60: 6372 6f6e 207b 0a20 2070 6163 6b61 6765  cron {.  package
│ │ │ +0006ed70: 207b 2027 6372 6f6e 273a 0a20 2020 2065   { 'cron':.    e
│ │ │ +0006ed80: 6e73 7572 6520 3d26 6774 3b20 2769 6e73  nsure => 'ins
│ │ │ +0006ed90: 7461 6c6c 6564 272c 0a20 207d 0a7d 0a3c  talled',.  }.}.<
│ │ │ +0006eda0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation OS │ │ │ +0006ee60: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint │ │ │ +0006ee70: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +0006ee80: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
.[[packages]].n
│ │ │ +0006eed0: 616d 6520 3d20 2263 726f 6e22 0a76 6572  ame = "cron".ver
│ │ │ +0006eee0: 7369 6f6e 203d 2022 2a22 0a3c 2f63 6f64  sion = "*".
│ │ │ -00070410: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ -00070420: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
< │ │ │ -000704b0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -000704d0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -00070520: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ -00070550: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include remove
│ │ │ -00070570: 5f69 6e65 7475 7469 6c73 2d74 656c 6e65  _inetutils-telne
│ │ │ -00070580: 7464 0a0a 636c 6173 7320 7265 6d6f 7665  td..class remove
│ │ │ -00070590: 5f69 6e65 7475 7469 6c73 2d74 656c 6e65  _inetutils-telne
│ │ │ -000705a0: 7464 207b 0a20 2070 6163 6b61 6765 207b  td {.  package {
│ │ │ -000705b0: 2027 696e 6574 7574 696c 732d 7465 6c6e   'inetutils-teln
│ │ │ -000705c0: 6574 6427 3a0a 2020 2020 656e 7375 7265  etd':.    ensure
│ │ │ -000705d0: 203d 2667 743b 2027 7075 7267 6564 272c   => 'purged',
│ │ │ -000705e0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.Remedi
│ │ │ -000706a0: 6174 696f 6e20 416e 7369 626c 6520 736e  ation Ansible sn
│ │ │ -000706b0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
low
Disr │ │ │ -000704e0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -000704f0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -00070530: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ -00070540: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
low< │ │ │ -00070760: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -000707b0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ -000707f0: 616d 653a 2045 6e73 7572 6520 696e 6574  ame: Ensure inet
│ │ │ -00070800: 7574 696c 732d 7465 6c6e 6574 6420 6973  utils-telnetd is
│ │ │ -00070810: 2072 656d 6f76 6564 0a20 2070 6163 6b61   removed.  packa
│ │ │ -00070820: 6765 3a0a 2020 2020 6e61 6d65 3a20 696e  ge:.    name: in
│ │ │ -00070830: 6574 7574 696c 732d 7465 6c6e 6574 640a  etutils-telnetd.
│ │ │ -00070840: 2020 2020 7374 6174 653a 2061 6273 656e      state: absen
│ │ │ -00070850: 740a 2020 7461 6773 3a0a 2020 2d20 4e49  t.  tags:.  - NI
│ │ │ -00070860: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ -00070870: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -00070880: 332d 434d 2d37 2861 290a 2020 2d20 4e49  3-CM-7(a).  - NI
│ │ │ -00070890: 5354 2d38 3030 2d35 332d 434d 2d37 2862  ST-800-53-CM-7(b
│ │ │ -000708a0: 290a 2020 2d20 6469 7361 626c 655f 7374  ).  - disable_st
│ │ │ -000708b0: 7261 7465 6779 0a20 202d 2068 6967 685f  rategy.  - high_
│ │ │ -000708c0: 7365 7665 7269 7479 0a20 202d 206c 6f77  severity.  - low
│ │ │ -000708d0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -000708e0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -000708f0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -00070900: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ -00070910: 696e 6574 7574 696c 732d 7465 6c6e 6574  inetutils-telnet
│ │ │ -00070920: 645f 7265 6d6f 7665 640a 3c2f 636f 6465  d_removed.
Co │ │ │ -00070740: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -00070770: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -00070790: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -000707a0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -000707c0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -000707d0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
│ │ │ +000704b0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +000704d0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +00070520: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ +00070550: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ +000704c0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +000704e0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +00070530: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ +00070540: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
- name: Ensur
│ │ │ +00070570: 6520 696e 6574 7574 696c 732d 7465 6c6e  e inetutils-teln
│ │ │ +00070580: 6574 6420 6973 2072 656d 6f76 6564 0a20  etd is removed. 
│ │ │ +00070590: 2070 6163 6b61 6765 3a0a 2020 2020 6e61   package:.    na
│ │ │ +000705a0: 6d65 3a20 696e 6574 7574 696c 732d 7465  me: inetutils-te
│ │ │ +000705b0: 6c6e 6574 640a 2020 2020 7374 6174 653a  lnetd.    state:
│ │ │ +000705c0: 2061 6273 656e 740a 2020 7461 6773 3a0a   absent.  tags:.
│ │ │ +000705d0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +000705e0: 434d 2d36 2861 290a 2020 2d20 4e49 5354  CM-6(a).  - NIST
│ │ │ +000705f0: 2d38 3030 2d35 332d 434d 2d37 2861 290a  -800-53-CM-7(a).
│ │ │ +00070600: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +00070610: 434d 2d37 2862 290a 2020 2d20 6469 7361  CM-7(b).  - disa
│ │ │ +00070620: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +00070630: 2068 6967 685f 7365 7665 7269 7479 0a20   high_severity. 
│ │ │ +00070640: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +00070650: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +00070660: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f  tion.  - no_rebo
│ │ │ +00070670: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ +00070680: 636b 6167 655f 696e 6574 7574 696c 732d  ckage_inetutils-
│ │ │ +00070690: 7465 6c6e 6574 645f 7265 6d6f 7665 640a  telnetd_removed.
│ │ │ +000706a0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation P │ │ │ +00070760: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ +00070770: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ +00070800: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +00070820: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +00070830: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +00070840: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +00070850: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +00070870: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ +000708a0: 636f 6465 3e69 6e63 6c75 6465 2072 656d  code>include rem
│ │ │ +000708b0: 6f76 655f 696e 6574 7574 696c 732d 7465  ove_inetutils-te
│ │ │ +000708c0: 6c6e 6574 640a 0a63 6c61 7373 2072 656d  lnetd..class rem
│ │ │ +000708d0: 6f76 655f 696e 6574 7574 696c 732d 7465  ove_inetutils-te
│ │ │ +000708e0: 6c6e 6574 6420 7b0a 2020 7061 636b 6167  lnetd {.  packag
│ │ │ +000708f0: 6520 7b20 2769 6e65 7475 7469 6c73 2d74  e { 'inetutils-t
│ │ │ +00070900: 656c 6e65 7464 273a 0a20 2020 2065 6e73  elnetd':.    ens
│ │ │ +00070910: 7572 6520 3d26 6774 3b20 2770 7572 6765  ure => 'purge
│ │ │ +00070920: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
R │ │ │ -000712c0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ -000712d0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity: │ │ │ -000713b0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -000713c0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ -00071420: 6e69 730a 0a63 6c61 7373 2072 656d 6f76  nis..class remov
│ │ │ -00071430: 655f 6e69 7320 7b0a 2020 7061 636b 6167  e_nis {.  packag
│ │ │ -00071440: 6520 7b20 276e 6973 273a 0a20 2020 2065  e { 'nis':.    e
│ │ │ -00071450: 6e73 7572 6520 3d26 6774 3b20 2770 7572  nsure => 'pur
│ │ │ -00071460: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ged',.  }.}.
< │ │ │ -00071480: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -00071490: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -000714a0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -000714b0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -000714c0: 646d 3131 3239 3422 2074 6162 696e 6465 dm11294" tabinde │ │ │ -000714d0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -000714e0: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -000714f0: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -00071500: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -00071510: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -00071520: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ -00071530: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
low
Disru │ │ │ -00071390: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -000713a0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -000713e0: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ -000713f0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
< │ │ │ -000715c0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -000715e0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -00071630: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ -00071660: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Ensure
│ │ │ -00071680: 206e 6973 2069 7320 7265 6d6f 7665 640a   nis is removed.
│ │ │ -00071690: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ -000716a0: 616d 653a 206e 6973 0a20 2020 2073 7461  ame: nis.    sta
│ │ │ -000716b0: 7465 3a20 6162 7365 6e74 0a20 2074 6167  te: absent.  tag
│ │ │ -000716c0: 733a 0a20 202d 2064 6973 6162 6c65 5f73  s:.  - disable_s
│ │ │ -000716d0: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ -000716e0: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -000716f0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -00071700: 2d20 6c6f 775f 7365 7665 7269 7479 0a20  - low_severity. 
│ │ │ -00071710: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -00071720: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ -00071730: 6e69 735f 7265 6d6f 7665 640a 3c2f 636f  nis_removed.
low
Disr │ │ │ -000715f0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -00071600: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -00071640: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ -00071650: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
< │ │ │ +00071360: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +00071380: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +000713d0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +00071400: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Ensure
│ │ │ +00071420: 206e 6973 2069 7320 7265 6d6f 7665 640a   nis is removed.
│ │ │ +00071430: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ +00071440: 616d 653a 206e 6973 0a20 2020 2073 7461  ame: nis.    sta
│ │ │ +00071450: 7465 3a20 6162 7365 6e74 0a20 2074 6167  te: absent.  tag
│ │ │ +00071460: 733a 0a20 202d 2064 6973 6162 6c65 5f73  s:.  - disable_s
│ │ │ +00071470: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ +00071480: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ +00071490: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ +000714a0: 2d20 6c6f 775f 7365 7665 7269 7479 0a20  - low_severity. 
│ │ │ +000714b0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +000714c0: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ +000714d0: 6e69 735f 7265 6d6f 7665 640a 3c2f 636f  nis_removed.
< │ │ │ +000714f0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +00071500: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +00071510: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +00071520: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +00071530: 646d 3131 3239 3422 2074 6162 696e 6465 dm11294" tabinde │ │ │ +00071540: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +00071550: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +00071560: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +00071570: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +00071580: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +00071590: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +000715a0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
low
Disr │ │ │ +00071390: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +000713a0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +000713e0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +000713f0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
Complexity: │ │ │ +00071680: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +00071690: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ +000716f0: 6e69 730a 0a63 6c61 7373 2072 656d 6f76  nis..class remov
│ │ │ +00071700: 655f 6e69 7320 7b0a 2020 7061 636b 6167  e_nis {.  packag
│ │ │ +00071710: 6520 7b20 276e 6973 273a 0a20 2020 2065  e { 'nis':.    e
│ │ │ +00071720: 6e73 7572 6520 3d26 6774 3b20 2770 7572  nsure => 'pur
│ │ │ +00071730: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ged',.  }.}.
< │ │ │ 00071750: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 00071760: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 00071770: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 00071780: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 00071790: 646d 3131 3239 3522 2074 6162 696e 6465 dm11295" tabinde │ │ │ 000717a0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ @@ -29190,87 +29190,87 @@ │ │ │ 00072050: 6172 6765 743d 2223 6964 6d31 3133 3032 arget="#idm11302 │ │ │ 00072060: 2220 7461 6269 6e64 6578 3d22 3022 2072 " tabindex="0" r │ │ │ 00072070: 6f6c 653d 2262 7574 746f 6e22 2061 7269 ole="button" ari │ │ │ 00072080: 612d 6578 7061 6e64 6564 3d22 6661 6c73 a-expanded="fals │ │ │ 00072090: 6522 2074 6974 6c65 3d22 4163 7469 7661 e" title="Activa │ │ │ 000720a0: 7465 2074 6f20 7265 7665 616c 2220 6872 te to reveal" hr │ │ │ 000720b0: 6566 3d22 2321 223e 5265 6d65 6469 6174 ef="#!">Remediat │ │ │ -000720c0: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ -000720d0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
low
Disru │ │ │ +00071660: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +00071670: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +000716b0: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +000716c0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -00072180: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -000721a0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -000721d0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -00072160: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -00072170: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -00072190: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -000721b0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -000721c0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -00072200: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ -00072210: 6520 7265 6d6f 7665 5f6e 7470 6461 7465 e remove_ntpdate │ │ │ -00072220: 0a0a 636c 6173 7320 7265 6d6f 7665 5f6e ..class remove_n │ │ │ -00072230: 7470 6461 7465 207b 0a20 2070 6163 6b61 tpdate {. packa │ │ │ -00072240: 6765 207b 2027 6e74 7064 6174 6527 3a0a ge { 'ntpdate':. │ │ │ -00072250: 2020 2020 656e 7375 7265 203d 2667 743b ensure => │ │ │ -00072260: 2027 7075 7267 6564 272c 0a20 207d 0a7d 'purged',. }.} │ │ │ -00072270: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
Remediation │ │ │ -00072330: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -00072340: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -000723c0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -000723d0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -000723e0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -00072420: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -00072430: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -00072450: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -00072460: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: E
│ │ │ -00072480: 6e73 7572 6520 6e74 7064 6174 6520 6973  nsure ntpdate is
│ │ │ -00072490: 2072 656d 6f76 6564 0a20 2070 6163 6b61   removed.  packa
│ │ │ -000724a0: 6765 3a0a 2020 2020 6e61 6d65 3a20 6e74  ge:.    name: nt
│ │ │ -000724b0: 7064 6174 650a 2020 2020 7374 6174 653a  pdate.    state:
│ │ │ -000724c0: 2061 6273 656e 740a 2020 7461 6773 3a0a   absent.  tags:.
│ │ │ -000724d0: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ -000724e0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ -000724f0: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -00072500: 6469 7372 7570 7469 6f6e 0a20 202d 206c  disruption.  - l
│ │ │ -00072510: 6f77 5f73 6576 6572 6974 790a 2020 2d20  ow_severity.  - 
│ │ │ -00072520: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -00072530: 0a20 202d 2070 6163 6b61 6765 5f6e 7470  .  - package_ntp
│ │ │ -00072540: 6461 7465 5f72 656d 6f76 6564 0a3c 2f63  date_removed.
< │ │ │ +000720e0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +000720f0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +00072100: 7365 2220 6964 3d22 6964 6d31 3133 3032 se" id="idm11302 │ │ │ +00072110: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ +00072160: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +00072170: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +00072190: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +000721b0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +000721c0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +00072200: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ +00072210: 653a 2045 6e73 7572 6520 6e74 7064 6174  e: Ensure ntpdat
│ │ │ +00072220: 6520 6973 2072 656d 6f76 6564 0a20 2070  e is removed.  p
│ │ │ +00072230: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65  ackage:.    name
│ │ │ +00072240: 3a20 6e74 7064 6174 650a 2020 2020 7374  : ntpdate.    st
│ │ │ +00072250: 6174 653a 2061 6273 656e 740a 2020 7461  ate: absent.  ta
│ │ │ +00072260: 6773 3a0a 2020 2d20 6469 7361 626c 655f  gs:.  - disable_
│ │ │ +00072270: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ +00072280: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +00072290: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +000722a0: 202d 206c 6f77 5f73 6576 6572 6974 790a   - low_severity.
│ │ │ +000722b0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ +000722c0: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ +000722d0: 5f6e 7470 6461 7465 5f72 656d 6f76 6564  _ntpdate_removed
│ │ │ +000722e0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +000723a0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +000723b0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ +00072430: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +00072440: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +00072460: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +00072470: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +00072490: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +000724b0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ +000724e0: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ +000724f0: 6d6f 7665 5f6e 7470 6461 7465 0a0a 636c  move_ntpdate..cl
│ │ │ +00072500: 6173 7320 7265 6d6f 7665 5f6e 7470 6461  ass remove_ntpda
│ │ │ +00072510: 7465 207b 0a20 2070 6163 6b61 6765 207b  te {.  package {
│ │ │ +00072520: 2027 6e74 7064 6174 6527 3a0a 2020 2020   'ntpdate':.    
│ │ │ +00072530: 656e 7375 7265 203d 2667 743b 2027 7075  ensure => 'pu
│ │ │ +00072540: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63  rged',.  }.}.
│ │ │ 00072560: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Remediation P │ │ │ -00073620: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ -00073630: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ -000736c0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -000736e0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -000736f0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -00073700: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -00073710: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -00073730: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ -00073760: 636f 6465 3e69 6e63 6c75 6465 2072 656d  code>include rem
│ │ │ -00073770: 6f76 655f 7465 6c6e 6574 642d 7373 6c0a  ove_telnetd-ssl.
│ │ │ -00073780: 0a63 6c61 7373 2072 656d 6f76 655f 7465  .class remove_te
│ │ │ -00073790: 6c6e 6574 642d 7373 6c20 7b0a 2020 7061  lnetd-ssl {.  pa
│ │ │ -000737a0: 636b 6167 6520 7b20 2774 656c 6e65 7464  ckage { 'telnetd
│ │ │ -000737b0: 2d73 736c 273a 0a20 2020 2065 6e73 7572  -ssl':.    ensur
│ │ │ -000737c0: 6520 3d26 6774 3b20 2770 7572 6765 6427  e => 'purged'
│ │ │ -000737d0: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ -000737e0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remed │ │ │ -00073890: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s │ │ │ -000738a0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -00073940: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -00073950: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -000739a0: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ -000739e0: 6e61 6d65 3a20 456e 7375 7265 2074 656c  name: Ensure tel
│ │ │ -000739f0: 6e65 7464 2d73 736c 2069 7320 7265 6d6f  netd-ssl is remo
│ │ │ -00073a00: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ -00073a10: 2020 206e 616d 653a 2074 656c 6e65 7464     name: telnetd
│ │ │ -00073a20: 2d73 736c 0a20 2020 2073 7461 7465 3a20  -ssl.    state: 
│ │ │ -00073a30: 6162 7365 6e74 0a20 2074 6167 733a 0a20  absent.  tags:. 
│ │ │ -00073a40: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -00073a50: 4d2d 3628 6129 0a20 202d 204e 4953 542d  M-6(a).  - NIST-
│ │ │ -00073a60: 3830 302d 3533 2d43 4d2d 3728 6129 0a20  800-53-CM-7(a). 
│ │ │ -00073a70: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -00073a80: 4d2d 3728 6229 0a20 202d 2064 6973 6162  M-7(b).  - disab
│ │ │ -00073a90: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -00073aa0: 6869 6768 5f73 6576 6572 6974 790a 2020  high_severity.  
│ │ │ -00073ab0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -00073ac0: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -00073ad0: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f  ion.  - no_reboo
│ │ │ -00073ae0: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ -00073af0: 6b61 6765 5f74 656c 6e65 7464 2d73 736c  kage_telnetd-ssl
│ │ │ -00073b00: 5f72 656d 6f76 6564 0a3c 2f63 6f64 653e  _removed.
│ │ │ +00073610: 2122 3e52 656d 6564 6961 7469 6f6e 2041  !">Remediation A
│ │ │ +00073620: 6e73 6962 6c65 2073 6e69 7070 6574 20e2  nsible snippet .
│ │ │ +00073630: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063  ..
< │ │ │ +000736b0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ +000736f0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 disable
C │ │ │ -00073930: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -00073960: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -00073970: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -000739b0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -000739c0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexit │ │ │ +000736c0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ +000736e0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ +00073710: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +00073730: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
│ │ │ +00073760: 3c63 6f64 653e 2d20 6e61 6d65 3a20 456e  - name: En
│ │ │ +00073770: 7375 7265 2074 656c 6e65 7464 2d73 736c  sure telnetd-ssl
│ │ │ +00073780: 2069 7320 7265 6d6f 7665 640a 2020 7061   is removed.  pa
│ │ │ +00073790: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ +000737a0: 2074 656c 6e65 7464 2d73 736c 0a20 2020   telnetd-ssl.   
│ │ │ +000737b0: 2073 7461 7465 3a20 6162 7365 6e74 0a20   state: absent. 
│ │ │ +000737c0: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ +000737d0: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ +000737e0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +000737f0: 4d2d 3728 6129 0a20 202d 204e 4953 542d  M-7(a).  - NIST-
│ │ │ +00073800: 3830 302d 3533 2d43 4d2d 3728 6229 0a20  800-53-CM-7(b). 
│ │ │ +00073810: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ +00073820: 6567 790a 2020 2d20 6869 6768 5f73 6576  egy.  - high_sev
│ │ │ +00073830: 6572 6974 790a 2020 2d20 6c6f 775f 636f  erity.  - low_co
│ │ │ +00073840: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +00073850: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +00073860: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +00073870: 0a20 202d 2070 6163 6b61 6765 5f74 656c  .  - package_tel
│ │ │ +00073880: 6e65 7464 2d73 736c 5f72 656d 6f76 6564  netd-ssl_removed
│ │ │ +00073890: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +00073950: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +00073960: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ +000739e0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +000739f0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +00073a10: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +00073a20: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +00073a40: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +00073a60: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ +00073a90: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ +00073aa0: 6d6f 7665 5f74 656c 6e65 7464 2d73 736c  move_telnetd-ssl
│ │ │ +00073ab0: 0a0a 636c 6173 7320 7265 6d6f 7665 5f74  ..class remove_t
│ │ │ +00073ac0: 656c 6e65 7464 2d73 736c 207b 0a20 2070  elnetd-ssl {.  p
│ │ │ +00073ad0: 6163 6b61 6765 207b 2027 7465 6c6e 6574  ackage { 'telnet
│ │ │ +00073ae0: 642d 7373 6c27 3a0a 2020 2020 656e 7375  d-ssl':.    ensu
│ │ │ +00073af0: 7265 203d 2667 743b 2027 7075 7267 6564  re => 'purged
│ │ │ +00073b00: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │  00073b10: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Remediation P │ │ │ -00074be0: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ -00074bf0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ -00074c80: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -00074ca0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -00074cb0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -00074cc0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -00074cd0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -00074cf0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ -00074d20: 636f 6465 3e69 6e63 6c75 6465 2072 656d  code>include rem
│ │ │ -00074d30: 6f76 655f 7465 6c6e 6574 640a 0a63 6c61  ove_telnetd..cla
│ │ │ -00074d40: 7373 2072 656d 6f76 655f 7465 6c6e 6574  ss remove_telnet
│ │ │ -00074d50: 6420 7b0a 2020 7061 636b 6167 6520 7b20  d {.  package { 
│ │ │ -00074d60: 2774 656c 6e65 7464 273a 0a20 2020 2065  'telnetd':.    e
│ │ │ -00074d70: 6e73 7572 6520 3d26 6774 3b20 2770 7572  nsure => 'pur
│ │ │ -00074d80: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ged',.  }.}.
< │ │ │ -00074da0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -00074db0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -00074dc0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -00074dd0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -00074de0: 646d 3131 3530 3422 2074 6162 696e 6465 dm11504" tabinde │ │ │ -00074df0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -00074e00: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -00074e10: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -00074e20: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -00074e30: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -00074e40: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ -00074e50: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
< │ │ │ -00074ee0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -00074f00: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -00074f50: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ -00074f80: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Ensure
│ │ │ -00074fa0: 2074 656c 6e65 7464 2069 7320 7265 6d6f   telnetd is remo
│ │ │ -00074fb0: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ -00074fc0: 2020 206e 616d 653a 2074 656c 6e65 7464     name: telnetd
│ │ │ -00074fd0: 0a20 2020 2073 7461 7465 3a20 6162 7365  .    state: abse
│ │ │ -00074fe0: 6e74 0a20 2074 6167 733a 0a20 202d 204e  nt.  tags:.  - N
│ │ │ -00074ff0: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -00075000: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ -00075010: 3533 2d43 4d2d 3728 6129 0a20 202d 204e  53-CM-7(a).  - N
│ │ │ -00075020: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ -00075030: 6229 0a20 202d 2064 6973 6162 6c65 5f73  b).  - disable_s
│ │ │ -00075040: 7472 6174 6567 790a 2020 2d20 6869 6768  trategy.  - high
│ │ │ -00075050: 5f73 6576 6572 6974 790a 2020 2d20 6c6f  _severity.  - lo
│ │ │ -00075060: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -00075070: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -00075080: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -00075090: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -000750a0: 5f74 656c 6e65 7464 5f72 656d 6f76 6564  _telnetd_removed
│ │ │ +00074bd0: 2122 3e52 656d 6564 6961 7469 6f6e 2041  !">Remediation A
│ │ │ +00074be0: 6e73 6962 6c65 2073 6e69 7070 6574 20e2  nsible snippet .
│ │ │ +00074bf0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063  ..
< │ │ │ +00074c70: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ +00074cb0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 disable
low
Disr │ │ │ -00074f10: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -00074f20: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -00074f60: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ -00074f70: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
Complexit │ │ │ +00074c80: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ +00074ca0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ +00074cd0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +00074cf0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
│ │ │ +00074d20: 3c63 6f64 653e 2d20 6e61 6d65 3a20 456e  - name: En
│ │ │ +00074d30: 7375 7265 2074 656c 6e65 7464 2069 7320  sure telnetd is 
│ │ │ +00074d40: 7265 6d6f 7665 640a 2020 7061 636b 6167  removed.  packag
│ │ │ +00074d50: 653a 0a20 2020 206e 616d 653a 2074 656c  e:.    name: tel
│ │ │ +00074d60: 6e65 7464 0a20 2020 2073 7461 7465 3a20  netd.    state: 
│ │ │ +00074d70: 6162 7365 6e74 0a20 2074 6167 733a 0a20  absent.  tags:. 
│ │ │ +00074d80: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +00074d90: 4d2d 3628 6129 0a20 202d 204e 4953 542d  M-6(a).  - NIST-
│ │ │ +00074da0: 3830 302d 3533 2d43 4d2d 3728 6129 0a20  800-53-CM-7(a). 
│ │ │ +00074db0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +00074dc0: 4d2d 3728 6229 0a20 202d 2064 6973 6162  M-7(b).  - disab
│ │ │ +00074dd0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +00074de0: 6869 6768 5f73 6576 6572 6974 790a 2020  high_severity.  
│ │ │ +00074df0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +00074e00: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +00074e10: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f  ion.  - no_reboo
│ │ │ +00074e20: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ +00074e30: 6b61 6765 5f74 656c 6e65 7464 5f72 656d  kage_telnetd_rem
│ │ │ +00074e40: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072  oved.
Remediat │ │ │ +00074f00: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ +00074f10: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +00074fc0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +00074fe0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +00075010: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +00074fa0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +00074fb0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +00074fd0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +00074ff0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +00075000: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +00075040: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ +00075050: 6520 7265 6d6f 7665 5f74 656c 6e65 7464 e remove_telnetd │ │ │ +00075060: 0a0a 636c 6173 7320 7265 6d6f 7665 5f74 ..class remove_t │ │ │ +00075070: 656c 6e65 7464 207b 0a20 2070 6163 6b61 elnetd {. packa │ │ │ +00075080: 6765 207b 2027 7465 6c6e 6574 6427 3a0a ge { 'telnetd':. │ │ │ +00075090: 2020 2020 656e 7375 7265 203d 2667 743b ensure => │ │ │ +000750a0: 2027 7075 7267 6564 272c 0a20 207d 0a7d 'purged',. }.} │ │ │ 000750b0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
Remedia │ │ │ -00077060: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu │ │ │ -00077070: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet . │ │ │ -00077080: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
.[[packa │ │ │ -000770d0: 6765 735d 5d0a 6e61 6d65 203d 2022 6e74 ges]].name = "nt │ │ │ -000770e0: 7022 0a76 6572 7369 6f6e 203d 2022 2a22 p".version = "*" │ │ │ -000770f0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
Remediation │ │ │ -000771b0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -000771c0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -00077240: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -00077250: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ -00077270: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ -00077280: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ -000772a0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ -000772c0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:enable
<
│ │ │ -000772f0: 636f 6465 3e69 6e63 6c75 6465 2069 6e73  code>include ins
│ │ │ -00077300: 7461 6c6c 5f6e 7470 0a0a 636c 6173 7320  tall_ntp..class 
│ │ │ -00077310: 696e 7374 616c 6c5f 6e74 7020 7b0a 2020  install_ntp {.  
│ │ │ -00077320: 7061 636b 6167 6520 7b20 276e 7470 273a  package { 'ntp':
│ │ │ -00077330: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ -00077340: 3b20 2769 6e73 7461 6c6c 6564 272c 0a20  ; 'installed',. 
│ │ │ -00077350: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.
Remediat │ │ │ -00077410: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip │ │ │ -00077420: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -00077430: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -00077440: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -00077450: 7365 2220 6964 3d22 6964 6d31 3139 3932 se" id="idm11992 │ │ │ -00077460: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ -000774b0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -000774c0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -000774e0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -00077500: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -00077510: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ -00077550: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -00077560: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ -00077570: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac │ │ │ -00077580: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ -00077590: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto. │ │ │ -000775a0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8 │ │ │ -000775b0: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a). │ │ │ -000775c0: 2d20 5043 492d 4453 532d 5265 712d 3130 - PCI-DSS-Req-10 │ │ │ -000775d0: 2e34 0a20 202d 2065 6e61 626c 655f 7374 .4. - enable_st │ │ │ -000775e0: 7261 7465 6779 0a20 202d 2068 6967 685f rategy. - high_ │ │ │ -000775f0: 7365 7665 7269 7479 0a20 202d 206c 6f77 severity. - low │ │ │ -00077600: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. - │ │ │ -00077610: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption. │ │ │ -00077620: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee │ │ │ -00077630: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_ │ │ │ -00077640: 6e74 705f 696e 7374 616c 6c65 640a 0a2d ntp_installed..- │ │ │ -00077650: 206e 616d 653a 2045 6e73 7572 6520 6e74 name: Ensure nt │ │ │ -00077660: 7020 6973 2069 6e73 7461 6c6c 6564 0a20 p is installed. │ │ │ -00077670: 2070 6163 6b61 6765 3a0a 2020 2020 6e61 package:. na │ │ │ -00077680: 6d65 3a20 6e74 700a 2020 2020 7374 6174 me: ntp. stat │ │ │ -00077690: 653a 2070 7265 7365 6e74 0a20 2077 6865 e: present. whe │ │ │ -000776a0: 6e3a 2027 226c 696e 7578 2d62 6173 6522 n: '"linux-base" │ │ │ -000776b0: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact │ │ │ -000776c0: 732e 7061 636b 6167 6573 270a 2020 7461 s.packages'. ta │ │ │ -000776d0: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800 │ │ │ -000776e0: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). - │ │ │ -000776f0: 5043 492d 4453 532d 5265 712d 3130 2e34 PCI-DSS-Req-10.4 │ │ │ -00077700: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra │ │ │ -00077710: 7465 6779 0a20 202d 2068 6967 685f 7365 tegy. - high_se │ │ │ -00077720: 7665 7269 7479 0a20 202d 206c 6f77 5f63 verity. - low_c │ │ │ -00077730: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo │ │ │ -00077740: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. - │ │ │ -00077750: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede │ │ │ -00077760: 640a 2020 2d20 7061 636b 6167 655f 6e74 d. - package_nt │ │ │ -00077770: 705f 696e 7374 616c 6c65 640a 3c2f 636f p_installed.
│ │ │ +00077080: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +00077100: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +00077130: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +00077150: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +00077160: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +00077180: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ +000771a0: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ +000771b0: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ +000771c0: 636b 6167 6520 6661 6374 730a 2020 7061  ckage facts.  pa
│ │ │ +000771d0: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ +000771e0: 206d 616e 6167 6572 3a20 6175 746f 0a20   manager: auto. 
│ │ │ +000771f0: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ +00077200: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ +00077210: 202d 2050 4349 2d44 5353 2d52 6571 2d31   - PCI-DSS-Req-1
│ │ │ +00077220: 302e 340a 2020 2d20 656e 6162 6c65 5f73  0.4.  - enable_s
│ │ │ +00077230: 7472 6174 6567 790a 2020 2d20 6869 6768  trategy.  - high
│ │ │ +00077240: 5f73 6576 6572 6974 790a 2020 2d20 6c6f  _severity.  - lo
│ │ │ +00077250: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ +00077260: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ +00077270: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ +00077280: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ +00077290: 5f6e 7470 5f69 6e73 7461 6c6c 6564 0a0a  _ntp_installed..
│ │ │ +000772a0: 2d20 6e61 6d65 3a20 456e 7375 7265 206e  - name: Ensure n
│ │ │ +000772b0: 7470 2069 7320 696e 7374 616c 6c65 640a  tp is installed.
│ │ │ +000772c0: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ +000772d0: 616d 653a 206e 7470 0a20 2020 2073 7461  ame: ntp.    sta
│ │ │ +000772e0: 7465 3a20 7072 6573 656e 740a 2020 7768  te: present.  wh
│ │ │ +000772f0: 656e 3a20 2722 6c69 6e75 782d 6261 7365  en: '"linux-base
│ │ │ +00077300: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ +00077310: 7473 2e70 6163 6b61 6765 7327 0a20 2074  ts.packages'.  t
│ │ │ +00077320: 6167 733a 0a20 202d 204e 4953 542d 3830  ags:.  - NIST-80
│ │ │ +00077330: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ +00077340: 2050 4349 2d44 5353 2d52 6571 2d31 302e   PCI-DSS-Req-10.
│ │ │ +00077350: 340a 2020 2d20 656e 6162 6c65 5f73 7472  4.  - enable_str
│ │ │ +00077360: 6174 6567 790a 2020 2d20 6869 6768 5f73  ategy.  - high_s
│ │ │ +00077370: 6576 6572 6974 790a 2020 2d20 6c6f 775f  everity.  - low_
│ │ │ +00077380: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ +00077390: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ +000773a0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +000773b0: 6564 0a20 202d 2070 6163 6b61 6765 5f6e  ed.  - package_n
│ │ │ +000773c0: 7470 5f69 6e73 7461 6c6c 6564 0a3c 2f63  tp_installed.
│ │ │ +000773e0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +00077480: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ +00077490: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
< │ │ │ +00077520: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +00077540: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +00077590: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
include install
│ │ │ +000775e0: 5f6e 7470 0a0a 636c 6173 7320 696e 7374  _ntp..class inst
│ │ │ +000775f0: 616c 6c5f 6e74 7020 7b0a 2020 7061 636b  all_ntp {.  pack
│ │ │ +00077600: 6167 6520 7b20 276e 7470 273a 0a20 2020  age { 'ntp':.   
│ │ │ +00077610: 2065 6e73 7572 6520 3d26 6774 3b20 2769   ensure => 'i
│ │ │ +00077620: 6e73 7461 6c6c 6564 272c 0a20 207d 0a7d  nstalled',.  }.}
│ │ │ +00077630: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +000776f0: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin │ │ │ +00077700: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
.[[packages]]
│ │ │ +00077760: 0a6e 616d 6520 3d20 226e 7470 220a 7665  .name = "ntp".ve
│ │ │ +00077770: 7273 696f 6e20 3d20 222a 220a 3c2f 636f  rsion = "*".
< │ │ │ 00077790: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 000777a0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 000777b0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 000777c0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 000777d0: 646d 3131 3939 3322 2074 6162 696e 6465 dm11993" tabinde │ │ │ 000777e0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ @@ -30864,158 +30864,158 @@ │ │ │ 000788f0: 6522 2064 6174 612d 7461 7267 6574 3d22 e" data-target=" │ │ │ 00078900: 2369 646d 3132 3036 3422 2074 6162 696e #idm12064" tabin │ │ │ 00078910: 6465 783d 2230 2220 726f 6c65 3d22 6275 dex="0" role="bu │ │ │ 00078920: 7474 6f6e 2220 6172 6961 2d65 7870 616e tton" aria-expan │ │ │ 00078930: 6465 643d 2266 616c 7365 2220 7469 746c ded="false" titl │ │ │ 00078940: 653d 2241 6374 6976 6174 6520 746f 2072 e="Activate to r │ │ │ 00078950: 6576 6561 6c22 2068 7265 663d 2223 2122 eveal" href="#!" │ │ │ -00078960: 3e52 656d 6564 6961 7469 6f6e 204f 5342 >Remediation OSB │ │ │ -00078970: 7569 6c64 2042 6c75 6570 7269 6e74 2073 uild Blueprint s │ │ │ -00078980: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...

│ │ │ -000789d0: 0a5b 6375 7374 6f6d 697a 6174 696f 6e73  .[customizations
│ │ │ -000789e0: 2e73 6572 7669 6365 735d 0a65 6e61 626c  .services].enabl
│ │ │ -000789f0: 6564 203d 205b 226e 7470 225d 0a3c 2f63  ed = ["ntp"].
│ │ │ -00078a10: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ -00078ab0: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ -00078ac0: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
low
Disr │ │ │ +00077550: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +00077560: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +000775a0: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ +000775b0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
< │ │ │ -00078b50: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -00078b70: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -00078bc0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
include enable_
│ │ │ -00078c10: 6e74 700a 0a63 6c61 7373 2065 6e61 626c  ntp..class enabl
│ │ │ -00078c20: 655f 6e74 7020 7b0a 2020 7365 7276 6963  e_ntp {.  servic
│ │ │ -00078c30: 6520 7b27 6e74 7027 3a0a 2020 2020 656e  e {'ntp':.    en
│ │ │ -00078c40: 6162 6c65 203d 2667 743b 2074 7275 652c  able => true,
│ │ │ -00078c50: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ -00078c60: 3b20 2772 756e 6e69 6e67 272c 0a20 207d  ; 'running',.  }
│ │ │ -00078c70: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ -00078c80: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediatio │ │ │ -00078d30: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ -00078d40: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -00078d80: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
low
Disr │ │ │ -00078b80: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -00078b90: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -00078bd0: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ -00078be0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
< │ │ │ -00078df0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -00078e10: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -00078e40: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -00078e60: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -00078dd0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -00078de0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -00078e20: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -00078e30: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
- name: │ │ │ -00078e80: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ -00078e90: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ -00078ea0: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ -00078eb0: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ -00078ec0: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800 │ │ │ -00078ed0: 2d35 332d 4155 2d38 2831 2928 6129 0a20 -53-AU-8(1)(a). │ │ │ -00078ee0: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C │ │ │ -00078ef0: 4d2d 3628 6129 0a20 202d 2050 4349 2d44 M-6(a). - PCI-D │ │ │ -00078f00: 5353 2d52 6571 2d31 302e 340a 2020 2d20 SS-Req-10.4. - │ │ │ -00078f10: 5043 492d 4453 5376 342d 3130 2e36 0a20 PCI-DSSv4-10.6. │ │ │ -00078f20: 202d 2050 4349 2d44 5353 7634 2d31 302e - PCI-DSSv4-10. │ │ │ -00078f30: 362e 310a 2020 2d20 656e 6162 6c65 5f73 6.1. - enable_s │ │ │ -00078f40: 7472 6174 6567 790a 2020 2d20 6869 6768 trategy. - high │ │ │ -00078f50: 5f73 6576 6572 6974 790a 2020 2d20 6c6f _severity. - lo │ │ │ -00078f60: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. - │ │ │ -00078f70: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption. │ │ │ -00078f80: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ -00078f90: 6564 6564 0a20 202d 2073 6572 7669 6365 eded. - service │ │ │ -00078fa0: 5f6e 7470 5f65 6e61 626c 6564 0a0a 2d20 _ntp_enabled..- │ │ │ -00078fb0: 6e61 6d65 3a20 456e 6162 6c65 2074 6865 name: Enable the │ │ │ -00078fc0: 204e 5450 2044 6165 6d6f 6e20 2d20 456e NTP Daemon - En │ │ │ -00078fd0: 6162 6c65 2073 6572 7669 6365 206e 7470 able service ntp │ │ │ -00078fe0: 0a20 2062 6c6f 636b 3a0a 0a20 202d 206e . block:.. - n │ │ │ -00078ff0: 616d 653a 2047 6174 6865 7220 7468 6520 ame: Gather the │ │ │ -00079000: 7061 636b 6167 6520 6661 6374 730a 2020 package facts. │ │ │ -00079010: 2020 7061 636b 6167 655f 6661 6374 733a package_facts: │ │ │ -00079020: 0a20 2020 2020 206d 616e 6167 6572 3a20 . manager: │ │ │ -00079030: 6175 746f 0a0a 2020 2d20 6e61 6d65 3a20 auto.. - name: │ │ │ -00079040: 456e 6162 6c65 2074 6865 204e 5450 2044 Enable the NTP D │ │ │ -00079050: 6165 6d6f 6e20 2d20 456e 6162 6c65 2053 aemon - Enable S │ │ │ -00079060: 6572 7669 6365 206e 7470 0a20 2020 2061 ervice ntp. a │ │ │ -00079070: 6e73 6962 6c65 2e62 7569 6c74 696e 2e73 nsible.builtin.s │ │ │ -00079080: 7973 7465 6d64 3a0a 2020 2020 2020 6e61 ystemd:. na │ │ │ -00079090: 6d65 3a20 6e74 700a 2020 2020 2020 656e me: ntp. en │ │ │ -000790a0: 6162 6c65 643a 2074 7275 650a 2020 2020 abled: true. │ │ │ -000790b0: 2020 7374 6174 653a 2073 7461 7274 6564 state: started │ │ │ -000790c0: 0a20 2020 2020 206d 6173 6b65 643a 2066 . masked: f │ │ │ -000790d0: 616c 7365 0a20 2020 2077 6865 6e3a 0a20 alse. when:. │ │ │ -000790e0: 2020 202d 2027 226e 7470 2220 696e 2061 - '"ntp" in a │ │ │ -000790f0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac │ │ │ -00079100: 6b61 6765 7327 0a20 2077 6865 6e3a 0a20 kages'. when:. │ │ │ -00079110: 202d 2027 226c 696e 7578 2d62 6173 6522 - '"linux-base" │ │ │ -00079120: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact │ │ │ -00079130: 732e 7061 636b 6167 6573 270a 2020 2d20 s.packages'. - │ │ │ -00079140: 2722 6e74 7022 2069 6e20 616e 7369 626c '"ntp" in ansibl │ │ │ -00079150: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages │ │ │ -00079160: 270a 2020 7461 6773 3a0a 2020 2d20 4e49 '. tags:. - NI │ │ │ -00079170: 5354 2d38 3030 2d35 332d 4155 2d38 2831 ST-800-53-AU-8(1 │ │ │ -00079180: 2928 6129 0a20 202d 204e 4953 542d 3830 )(a). - NIST-80 │ │ │ -00079190: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). - │ │ │ -000791a0: 2050 4349 2d44 5353 2d52 6571 2d31 302e PCI-DSS-Req-10. │ │ │ -000791b0: 340a 2020 2d20 5043 492d 4453 5376 342d 4. - PCI-DSSv4- │ │ │ -000791c0: 3130 2e36 0a20 202d 2050 4349 2d44 5353 10.6. - PCI-DSS │ │ │ -000791d0: 7634 2d31 302e 362e 310a 2020 2d20 656e v4-10.6.1. - en │ │ │ -000791e0: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy. │ │ │ -000791f0: 2d20 6869 6768 5f73 6576 6572 6974 790a - high_severity. │ │ │ -00079200: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi │ │ │ -00079210: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru │ │ │ -00079220: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562 ption. - no_reb │ │ │ -00079230: 6f6f 745f 6e65 6564 6564 0a20 202d 2073 oot_needed. - s │ │ │ -00079240: 6572 7669 6365 5f6e 7470 5f65 6e61 626c ervice_ntp_enabl │ │ │ -00079250: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e ed.
│ │ │ +00078960: 3e52 656d 6564 6961 7469 6f6e 2041 6e73 >Remediation Ans │ │ │ +00078970: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ +00078980: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ +00078a10: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +00078a30: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +00078a50: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +00078a80: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +00078a90: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ +00078aa0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ +00078ac0: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ +00078ad0: 6374 730a 2020 7061 636b 6167 655f 6661  cts.  package_fa
│ │ │ +00078ae0: 6374 733a 0a20 2020 206d 616e 6167 6572  cts:.    manager
│ │ │ +00078af0: 3a20 6175 746f 0a20 2074 6167 733a 0a20  : auto.  tags:. 
│ │ │ +00078b00: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ +00078b10: 552d 3828 3129 2861 290a 2020 2d20 4e49  U-8(1)(a).  - NI
│ │ │ +00078b20: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +00078b30: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ +00078b40: 712d 3130 2e34 0a20 202d 2050 4349 2d44  q-10.4.  - PCI-D
│ │ │ +00078b50: 5353 7634 2d31 302e 360a 2020 2d20 5043  SSv4-10.6.  - PC
│ │ │ +00078b60: 492d 4453 5376 342d 3130 2e36 2e31 0a20  I-DSSv4-10.6.1. 
│ │ │ +00078b70: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ +00078b80: 6779 0a20 202d 2068 6967 685f 7365 7665  gy.  - high_seve
│ │ │ +00078b90: 7269 7479 0a20 202d 206c 6f77 5f63 6f6d  rity.  - low_com
│ │ │ +00078ba0: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +00078bb0: 6469 7372 7570 7469 6f6e 0a20 202d 206e  disruption.  - n
│ │ │ +00078bc0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +00078bd0: 2020 2d20 7365 7276 6963 655f 6e74 705f    - service_ntp_
│ │ │ +00078be0: 656e 6162 6c65 640a 0a2d 206e 616d 653a  enabled..- name:
│ │ │ +00078bf0: 2045 6e61 626c 6520 7468 6520 4e54 5020   Enable the NTP 
│ │ │ +00078c00: 4461 656d 6f6e 202d 2045 6e61 626c 6520  Daemon - Enable 
│ │ │ +00078c10: 7365 7276 6963 6520 6e74 700a 2020 626c  service ntp.  bl
│ │ │ +00078c20: 6f63 6b3a 0a0a 2020 2d20 6e61 6d65 3a20  ock:..  - name: 
│ │ │ +00078c30: 4761 7468 6572 2074 6865 2070 6163 6b61  Gather the packa
│ │ │ +00078c40: 6765 2066 6163 7473 0a20 2020 2070 6163  ge facts.    pac
│ │ │ +00078c50: 6b61 6765 5f66 6163 7473 3a0a 2020 2020  kage_facts:.    
│ │ │ +00078c60: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ +00078c70: 0a20 202d 206e 616d 653a 2045 6e61 626c  .  - name: Enabl
│ │ │ +00078c80: 6520 7468 6520 4e54 5020 4461 656d 6f6e  e the NTP Daemon
│ │ │ +00078c90: 202d 2045 6e61 626c 6520 5365 7276 6963   - Enable Servic
│ │ │ +00078ca0: 6520 6e74 700a 2020 2020 616e 7369 626c  e ntp.    ansibl
│ │ │ +00078cb0: 652e 6275 696c 7469 6e2e 7379 7374 656d  e.builtin.system
│ │ │ +00078cc0: 643a 0a20 2020 2020 206e 616d 653a 206e  d:.      name: n
│ │ │ +00078cd0: 7470 0a20 2020 2020 2065 6e61 626c 6564  tp.      enabled
│ │ │ +00078ce0: 3a20 7472 7565 0a20 2020 2020 2073 7461  : true.      sta
│ │ │ +00078cf0: 7465 3a20 7374 6172 7465 640a 2020 2020  te: started.    
│ │ │ +00078d00: 2020 6d61 736b 6564 3a20 6661 6c73 650a    masked: false.
│ │ │ +00078d10: 2020 2020 7768 656e 3a0a 2020 2020 2d20      when:.    - 
│ │ │ +00078d20: 2722 6e74 7022 2069 6e20 616e 7369 626c  '"ntp" in ansibl
│ │ │ +00078d30: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +00078d40: 270a 2020 7768 656e 3a0a 2020 2d20 2722  '.  when:.  - '"
│ │ │ +00078d50: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ +00078d60: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +00078d70: 6b61 6765 7327 0a20 202d 2027 226e 7470  kages'.  - '"ntp
│ │ │ +00078d80: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ +00078d90: 7473 2e70 6163 6b61 6765 7327 0a20 2074  ts.packages'.  t
│ │ │ +00078da0: 6167 733a 0a20 202d 204e 4953 542d 3830  ags:.  - NIST-80
│ │ │ +00078db0: 302d 3533 2d41 552d 3828 3129 2861 290a  0-53-AU-8(1)(a).
│ │ │ +00078dc0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +00078dd0: 434d 2d36 2861 290a 2020 2d20 5043 492d  CM-6(a).  - PCI-
│ │ │ +00078de0: 4453 532d 5265 712d 3130 2e34 0a20 202d  DSS-Req-10.4.  -
│ │ │ +00078df0: 2050 4349 2d44 5353 7634 2d31 302e 360a   PCI-DSSv4-10.6.
│ │ │ +00078e00: 2020 2d20 5043 492d 4453 5376 342d 3130    - PCI-DSSv4-10
│ │ │ +00078e10: 2e36 2e31 0a20 202d 2065 6e61 626c 655f  .6.1.  - enable_
│ │ │ +00078e20: 7374 7261 7465 6779 0a20 202d 2068 6967  strategy.  - hig
│ │ │ +00078e30: 685f 7365 7665 7269 7479 0a20 202d 206c  h_severity.  - l
│ │ │ +00078e40: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +00078e50: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +00078e60: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +00078e70: 6565 6465 640a 2020 2d20 7365 7276 6963  eeded.  - servic
│ │ │ +00078e80: 655f 6e74 705f 656e 6162 6c65 640a 3c2f  e_ntp_enabled.
Remediation Pup │ │ │ +00078f50: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ +00078f60: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ +00078fe0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +00079000: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +00079050: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ +00079080: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include enable
│ │ │ +000790a0: 5f6e 7470 0a0a 636c 6173 7320 656e 6162  _ntp..class enab
│ │ │ +000790b0: 6c65 5f6e 7470 207b 0a20 2073 6572 7669  le_ntp {.  servi
│ │ │ +000790c0: 6365 207b 276e 7470 273a 0a20 2020 2065  ce {'ntp':.    e
│ │ │ +000790d0: 6e61 626c 6520 3d26 6774 3b20 7472 7565  nable => true
│ │ │ +000790e0: 2c0a 2020 2020 656e 7375 7265 203d 2667  ,.    ensure =&g
│ │ │ +000790f0: 743b 2027 7275 6e6e 696e 6727 2c0a 2020  t; 'running',.  
│ │ │ +00079100: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ +000791c0: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep │ │ │ +000791d0: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ... │ │ │ +000791e0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ +00079220: 3c63 6f64 653e 0a5b 6375 7374 6f6d 697a  .[customiz
│ │ │ +00079230: 6174 696f 6e73 2e73 6572 7669 6365 735d  ations.services]
│ │ │ +00079240: 0a65 6e61 626c 6564 203d 205b 226e 7470  .enabled = ["ntp
│ │ │ +00079250: 225d 0a3c 2f63 6f64 653e 3c2f 7072 653e  "].
│ │ │ 00079260: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remedia │ │ │ -0007a540: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu │ │ │ -0007a550: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet . │ │ │ -0007a560: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
.[custom │ │ │ -0007a5b0: 697a 6174 696f 6e73 2e73 6572 7669 6365 izations.service │ │ │ -0007a5c0: 735d 0a65 6e61 626c 6564 203d 205b 2273 s].enabled = ["s │ │ │ -0007a5d0: 7973 7465 6d64 2d74 696d 6573 796e 6364 ystemd-timesyncd │ │ │ -0007a5e0: 225d 0a3c 2f63 6f64 653e 3c2f 7072 653e "]. │ │ │ -0007a5f0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ -0007a6a0: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ -0007a6b0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -0007a6f0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -0007a700: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -0007a710: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -0007a720: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -0007a730: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ -0007a7c0: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c < │ │ │ -0007a7d0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
Complexity:< │ │ │ +00078ff0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +00079010: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +00079060: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ +00079070: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
Complex │ │ │ -0007a740: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -0007a750: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ -0007a790: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -0007a7a0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
enable
include e
│ │ │ -0007a7f0: 6e61 626c 655f 7379 7374 656d 642d 7469  nable_systemd-ti
│ │ │ -0007a800: 6d65 7379 6e63 640a 0a63 6c61 7373 2065  mesyncd..class e
│ │ │ -0007a810: 6e61 626c 655f 7379 7374 656d 642d 7469  nable_systemd-ti
│ │ │ -0007a820: 6d65 7379 6e63 6420 7b0a 2020 7365 7276  mesyncd {.  serv
│ │ │ -0007a830: 6963 6520 7b27 7379 7374 656d 642d 7469  ice {'systemd-ti
│ │ │ -0007a840: 6d65 7379 6e63 6427 3a0a 2020 2020 656e  mesyncd':.    en
│ │ │ -0007a850: 6162 6c65 203d 2667 743b 2074 7275 652c  able => true,
│ │ │ -0007a860: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ -0007a870: 3b20 2772 756e 6e69 6e67 272c 0a20 207d  ; 'running',.  }
│ │ │ -0007a880: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ -0007a890: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ -0007a940: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ -0007a950: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -0007a990: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -0007aa00: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -0007aa20: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -0007aa50: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -0007aa70: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -0007a9e0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -0007a9f0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -0007aa30: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -0007aa40: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
- name: │ │ │ -0007aa90: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ -0007aaa0: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ -0007aab0: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ -0007aac0: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ -0007aad0: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800 │ │ │ -0007aae0: 2d35 332d 4155 2d38 2831 2928 6129 0a20 -53-AU-8(1)(a). │ │ │ -0007aaf0: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C │ │ │ -0007ab00: 4d2d 3628 6129 0a20 202d 2050 4349 2d44 M-6(a). - PCI-D │ │ │ -0007ab10: 5353 2d52 6571 2d31 302e 340a 2020 2d20 SS-Req-10.4. - │ │ │ -0007ab20: 5043 492d 4453 5376 342d 3130 2e36 0a20 PCI-DSSv4-10.6. │ │ │ -0007ab30: 202d 2050 4349 2d44 5353 7634 2d31 302e - PCI-DSSv4-10. │ │ │ -0007ab40: 362e 310a 2020 2d20 656e 6162 6c65 5f73 6.1. - enable_s │ │ │ -0007ab50: 7472 6174 6567 790a 2020 2d20 6869 6768 trategy. - high │ │ │ -0007ab60: 5f73 6576 6572 6974 790a 2020 2d20 6c6f _severity. - lo │ │ │ -0007ab70: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. - │ │ │ -0007ab80: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption. │ │ │ -0007ab90: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ -0007aba0: 6564 6564 0a20 202d 2073 6572 7669 6365 eded. - service │ │ │ -0007abb0: 5f74 696d 6573 796e 6364 5f65 6e61 626c _timesyncd_enabl │ │ │ -0007abc0: 6564 0a0a 2d20 6e61 6d65 3a20 456e 6162 ed..- name: Enab │ │ │ -0007abd0: 6c65 2073 7973 7465 6d64 5f74 696d 6573 le systemd_times │ │ │ -0007abe0: 796e 6364 2053 6572 7669 6365 202d 2045 yncd Service - E │ │ │ -0007abf0: 6e61 626c 6520 7365 7276 6963 6520 7379 nable service sy │ │ │ -0007ac00: 7374 656d 642d 7469 6d65 7379 6e63 640a stemd-timesyncd. │ │ │ -0007ac10: 2020 626c 6f63 6b3a 0a0a 2020 2d20 6e61 block:.. - na │ │ │ -0007ac20: 6d65 3a20 4761 7468 6572 2074 6865 2070 me: Gather the p │ │ │ -0007ac30: 6163 6b61 6765 2066 6163 7473 0a20 2020 ackage facts. │ │ │ -0007ac40: 2070 6163 6b61 6765 5f66 6163 7473 3a0a package_facts:. │ │ │ -0007ac50: 2020 2020 2020 6d61 6e61 6765 723a 2061 manager: a │ │ │ -0007ac60: 7574 6f0a 0a20 202d 206e 616d 653a 2045 uto.. - name: E │ │ │ -0007ac70: 6e61 626c 6520 7379 7374 656d 645f 7469 nable systemd_ti │ │ │ -0007ac80: 6d65 7379 6e63 6420 5365 7276 6963 6520 mesyncd Service │ │ │ -0007ac90: 2d20 456e 6162 6c65 2053 6572 7669 6365 - Enable Service │ │ │ -0007aca0: 2073 7973 7465 6d64 2d74 696d 6573 796e systemd-timesyn │ │ │ -0007acb0: 6364 0a20 2020 2061 6e73 6962 6c65 2e62 cd. ansible.b │ │ │ -0007acc0: 7569 6c74 696e 2e73 7973 7465 6d64 3a0a uiltin.systemd:. │ │ │ -0007acd0: 2020 2020 2020 6e61 6d65 3a20 7379 7374 name: syst │ │ │ -0007ace0: 656d 642d 7469 6d65 7379 6e63 640a 2020 emd-timesyncd. │ │ │ -0007acf0: 2020 2020 656e 6162 6c65 643a 2074 7275 enabled: tru │ │ │ -0007ad00: 650a 2020 2020 2020 7374 6174 653a 2073 e. state: s │ │ │ -0007ad10: 7461 7274 6564 0a20 2020 2020 206d 6173 tarted. mas │ │ │ -0007ad20: 6b65 643a 2066 616c 7365 0a20 2020 2077 ked: false. w │ │ │ -0007ad30: 6865 6e3a 0a20 2020 202d 2027 2273 7973 hen:. - '"sys │ │ │ -0007ad40: 7465 6d64 2220 696e 2061 6e73 6962 6c65 temd" in ansible │ │ │ -0007ad50: 5f66 6163 7473 2e70 6163 6b61 6765 7327 _facts.packages' │ │ │ -0007ad60: 0a20 2077 6865 6e3a 0a20 202d 2027 226c . when:. - '"l │ │ │ -0007ad70: 696e 7578 2d62 6173 6522 2069 6e20 616e inux-base" in an │ │ │ -0007ad80: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack │ │ │ -0007ad90: 6167 6573 270a 2020 2d20 2820 6e6f 7420 ages'. - ( not │ │ │ -0007ada0: 2820 2263 6872 6f6e 7922 2069 6e20 616e ( "chrony" in an │ │ │ -0007adb0: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack │ │ │ -0007adc0: 6167 6573 2029 2061 6e64 206e 6f74 2028 ages ) and not ( │ │ │ -0007add0: 2022 6e74 7022 2069 6e20 616e 7369 626c "ntp" in ansibl │ │ │ -0007ade0: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages │ │ │ -0007adf0: 0a20 2020 2029 2029 0a20 2074 6167 733a . ) ). tags: │ │ │ -0007ae00: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53 │ │ │ -0007ae10: 2d41 552d 3828 3129 2861 290a 2020 2d20 -AU-8(1)(a). - │ │ │ -0007ae20: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6 │ │ │ -0007ae30: 2861 290a 2020 2d20 5043 492d 4453 532d (a). - PCI-DSS- │ │ │ -0007ae40: 5265 712d 3130 2e34 0a20 202d 2050 4349 Req-10.4. - PCI │ │ │ -0007ae50: 2d44 5353 7634 2d31 302e 360a 2020 2d20 -DSSv4-10.6. - │ │ │ -0007ae60: 5043 492d 4453 5376 342d 3130 2e36 2e31 PCI-DSSv4-10.6.1 │ │ │ -0007ae70: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra │ │ │ -0007ae80: 7465 6779 0a20 202d 2068 6967 685f 7365 tegy. - high_se │ │ │ -0007ae90: 7665 7269 7479 0a20 202d 206c 6f77 5f63 verity. - low_c │ │ │ -0007aea0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo │ │ │ -0007aeb0: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. - │ │ │ -0007aec0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede │ │ │ -0007aed0: 640a 2020 2d20 7365 7276 6963 655f 7469 d. - service_ti │ │ │ -0007aee0: 6d65 7379 6e63 645f 656e 6162 6c65 640a mesyncd_enabled. │ │ │ +0007a540: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ +0007a550: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +0007a560: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +0007a5e0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +0007a610: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +0007a630: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +0007a640: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +0007a660: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ +0007a680: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ +0007a690: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ +0007a6a0: 636b 6167 6520 6661 6374 730a 2020 7061  ckage facts.  pa
│ │ │ +0007a6b0: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ +0007a6c0: 206d 616e 6167 6572 3a20 6175 746f 0a20   manager: auto. 
│ │ │ +0007a6d0: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ +0007a6e0: 3830 302d 3533 2d41 552d 3828 3129 2861  800-53-AU-8(1)(a
│ │ │ +0007a6f0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +0007a700: 332d 434d 2d36 2861 290a 2020 2d20 5043  3-CM-6(a).  - PC
│ │ │ +0007a710: 492d 4453 532d 5265 712d 3130 2e34 0a20  I-DSS-Req-10.4. 
│ │ │ +0007a720: 202d 2050 4349 2d44 5353 7634 2d31 302e   - PCI-DSSv4-10.
│ │ │ +0007a730: 360a 2020 2d20 5043 492d 4453 5376 342d  6.  - PCI-DSSv4-
│ │ │ +0007a740: 3130 2e36 2e31 0a20 202d 2065 6e61 626c  10.6.1.  - enabl
│ │ │ +0007a750: 655f 7374 7261 7465 6779 0a20 202d 2068  e_strategy.  - h
│ │ │ +0007a760: 6967 685f 7365 7665 7269 7479 0a20 202d  igh_severity.  -
│ │ │ +0007a770: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +0007a780: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +0007a790: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74  on.  - no_reboot
│ │ │ +0007a7a0: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ +0007a7b0: 6963 655f 7469 6d65 7379 6e63 645f 656e  ice_timesyncd_en
│ │ │ +0007a7c0: 6162 6c65 640a 0a2d 206e 616d 653a 2045  abled..- name: E
│ │ │ +0007a7d0: 6e61 626c 6520 7379 7374 656d 645f 7469  nable systemd_ti
│ │ │ +0007a7e0: 6d65 7379 6e63 6420 5365 7276 6963 6520  mesyncd Service 
│ │ │ +0007a7f0: 2d20 456e 6162 6c65 2073 6572 7669 6365  - Enable service
│ │ │ +0007a800: 2073 7973 7465 6d64 2d74 696d 6573 796e   systemd-timesyn
│ │ │ +0007a810: 6364 0a20 2062 6c6f 636b 3a0a 0a20 202d  cd.  block:..  -
│ │ │ +0007a820: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ +0007a830: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ +0007a840: 2020 2020 7061 636b 6167 655f 6661 6374      package_fact
│ │ │ +0007a850: 733a 0a20 2020 2020 206d 616e 6167 6572  s:.      manager
│ │ │ +0007a860: 3a20 6175 746f 0a0a 2020 2d20 6e61 6d65  : auto..  - name
│ │ │ +0007a870: 3a20 456e 6162 6c65 2073 7973 7465 6d64  : Enable systemd
│ │ │ +0007a880: 5f74 696d 6573 796e 6364 2053 6572 7669  _timesyncd Servi
│ │ │ +0007a890: 6365 202d 2045 6e61 626c 6520 5365 7276  ce - Enable Serv
│ │ │ +0007a8a0: 6963 6520 7379 7374 656d 642d 7469 6d65  ice systemd-time
│ │ │ +0007a8b0: 7379 6e63 640a 2020 2020 616e 7369 626c  syncd.    ansibl
│ │ │ +0007a8c0: 652e 6275 696c 7469 6e2e 7379 7374 656d  e.builtin.system
│ │ │ +0007a8d0: 643a 0a20 2020 2020 206e 616d 653a 2073  d:.      name: s
│ │ │ +0007a8e0: 7973 7465 6d64 2d74 696d 6573 796e 6364  ystemd-timesyncd
│ │ │ +0007a8f0: 0a20 2020 2020 2065 6e61 626c 6564 3a20  .      enabled: 
│ │ │ +0007a900: 7472 7565 0a20 2020 2020 2073 7461 7465  true.      state
│ │ │ +0007a910: 3a20 7374 6172 7465 640a 2020 2020 2020  : started.      
│ │ │ +0007a920: 6d61 736b 6564 3a20 6661 6c73 650a 2020  masked: false.  
│ │ │ +0007a930: 2020 7768 656e 3a0a 2020 2020 2d20 2722    when:.    - '"
│ │ │ +0007a940: 7379 7374 656d 6422 2069 6e20 616e 7369  systemd" in ansi
│ │ │ +0007a950: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ +0007a960: 6573 270a 2020 7768 656e 3a0a 2020 2d20  es'.  when:.  - 
│ │ │ +0007a970: 2722 6c69 6e75 782d 6261 7365 2220 696e  '"linux-base" in
│ │ │ +0007a980: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ +0007a990: 6163 6b61 6765 7327 0a20 202d 2028 206e  ackages'.  - ( n
│ │ │ +0007a9a0: 6f74 2028 2022 6368 726f 6e79 2220 696e  ot ( "chrony" in
│ │ │ +0007a9b0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ +0007a9c0: 6163 6b61 6765 7320 2920 616e 6420 6e6f  ackages ) and no
│ │ │ +0007a9d0: 7420 2820 226e 7470 2220 696e 2061 6e73  t ( "ntp" in ans
│ │ │ +0007a9e0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ +0007a9f0: 6765 730a 2020 2020 2920 290a 2020 7461  ges.    ) ).  ta
│ │ │ +0007aa00: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030  gs:.  - NIST-800
│ │ │ +0007aa10: 2d35 332d 4155 2d38 2831 2928 6129 0a20  -53-AU-8(1)(a). 
│ │ │ +0007aa20: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +0007aa30: 4d2d 3628 6129 0a20 202d 2050 4349 2d44  M-6(a).  - PCI-D
│ │ │ +0007aa40: 5353 2d52 6571 2d31 302e 340a 2020 2d20  SS-Req-10.4.  - 
│ │ │ +0007aa50: 5043 492d 4453 5376 342d 3130 2e36 0a20  PCI-DSSv4-10.6. 
│ │ │ +0007aa60: 202d 2050 4349 2d44 5353 7634 2d31 302e   - PCI-DSSv4-10.
│ │ │ +0007aa70: 362e 310a 2020 2d20 656e 6162 6c65 5f73  6.1.  - enable_s
│ │ │ +0007aa80: 7472 6174 6567 790a 2020 2d20 6869 6768  trategy.  - high
│ │ │ +0007aa90: 5f73 6576 6572 6974 790a 2020 2d20 6c6f  _severity.  - lo
│ │ │ +0007aaa0: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ +0007aab0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ +0007aac0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ +0007aad0: 6564 6564 0a20 202d 2073 6572 7669 6365  eded.  - service
│ │ │ +0007aae0: 5f74 696d 6573 796e 6364 5f65 6e61 626c  _timesyncd_enabl
│ │ │ +0007aaf0: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e  ed.
│ │ │ +0007ab00: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ +0007abb0: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ +0007abc0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +0007ac00: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +0007ac10: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +0007ac20: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +0007ac30: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +0007ac40: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +0007ac50: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +0007ac60: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +0007aca0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +0007acb0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +0007acd0: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ +0007ace0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include e
│ │ │ +0007ad00: 6e61 626c 655f 7379 7374 656d 642d 7469  nable_systemd-ti
│ │ │ +0007ad10: 6d65 7379 6e63 640a 0a63 6c61 7373 2065  mesyncd..class e
│ │ │ +0007ad20: 6e61 626c 655f 7379 7374 656d 642d 7469  nable_systemd-ti
│ │ │ +0007ad30: 6d65 7379 6e63 6420 7b0a 2020 7365 7276  mesyncd {.  serv
│ │ │ +0007ad40: 6963 6520 7b27 7379 7374 656d 642d 7469  ice {'systemd-ti
│ │ │ +0007ad50: 6d65 7379 6e63 6427 3a0a 2020 2020 656e  mesyncd':.    en
│ │ │ +0007ad60: 6162 6c65 203d 2667 743b 2074 7275 652c  able => true,
│ │ │ +0007ad70: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ +0007ad80: 3b20 2772 756e 6e69 6e67 272c 0a20 207d  ; 'running',.  }
│ │ │ +0007ad90: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ +0007ada0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ +0007ae50: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr │ │ │ +0007ae60: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...< │ │ │ +0007ae70: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
<
│ │ │ +0007aeb0: 636f 6465 3e0a 5b63 7573 746f 6d69 7a61  code>.[customiza
│ │ │ +0007aec0: 7469 6f6e 732e 7365 7276 6963 6573 5d0a  tions.services].
│ │ │ +0007aed0: 656e 6162 6c65 6420 3d20 5b22 7379 7374  enabled = ["syst
│ │ │ +0007aee0: 656d 642d 7469 6d65 7379 6e63 6422 5d0a  emd-timesyncd"].
│ │ │  0007aef0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
│ │ │ -000894e0: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu │ │ │ -000894f0: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn │ │ │ -00089500: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.
│ │ │ -00089550: 5b5b 7061 636b 6167 6573 5d5d 0a6e 616d  [[packages]].nam
│ │ │ -00089560: 6520 3d20 2261 7564 6974 6422 0a76 6572  e = "auditd".ver
│ │ │ -00089570: 7369 6f6e 203d 2022 2a22 0a3c 2f63 6f64  sion = "*".
Re │ │ │ -00089630: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -00089640: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -00089650: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -00089720: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -00089730: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
i
│ │ │ -00089780: 6e63 6c75 6465 2069 6e73 7461 6c6c 5f61  nclude install_a
│ │ │ -00089790: 7564 6974 640a 0a63 6c61 7373 2069 6e73  uditd..class ins
│ │ │ -000897a0: 7461 6c6c 5f61 7564 6974 6420 7b0a 2020  tall_auditd {.  
│ │ │ -000897b0: 7061 636b 6167 6520 7b20 2761 7564 6974  package { 'audit
│ │ │ -000897c0: 6427 3a0a 2020 2020 656e 7375 7265 203d  d':.    ensure =
│ │ │ -000897d0: 2667 743b 2027 696e 7374 616c 6c65 6427  > 'installed'
│ │ │ -000897e0: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ -000897f0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remed
│ │ │ -000898a0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073  iation Ansible s
│ │ │ -000898b0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62  nippet ...
Complexity:low
Disrup │ │ │ -00089700: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -00089710: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -00089750: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ -00089760: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ -00089950: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -00089960: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -000899b0: 3c74 723e 3c74 683e 5374 7261 7465 6779
- n
│ │ │ -000899f0: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ -00089a00: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ -00089a10: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ -00089a20: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ -00089a30: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ -00089a40: 542d 3830 302d 3533 2d41 432d 3728 6129  T-800-53-AC-7(a)
│ │ │ -00089a50: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -00089a60: 2d41 552d 3132 2832 290a 2020 2d20 4e49  -AU-12(2).  - NI
│ │ │ -00089a70: 5354 2d38 3030 2d35 332d 4155 2d31 340a  ST-800-53-AU-14.
│ │ │ -00089a80: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -00089a90: 4155 2d32 2861 290a 2020 2d20 4e49 5354  AU-2(a).  - NIST
│ │ │ -00089aa0: 2d38 3030 2d35 332d 4155 2d37 2831 290a  -800-53-AU-7(1).
│ │ │ -00089ab0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -00089ac0: 4155 2d37 2832 290a 2020 2d20 4e49 5354  AU-7(2).  - NIST
│ │ │ -00089ad0: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ -00089ae0: 2020 2d20 5043 492d 4453 532d 5265 712d    - PCI-DSS-Req-
│ │ │ -00089af0: 3130 2e31 0a20 202d 2050 4349 2d44 5353  10.1.  - PCI-DSS
│ │ │ -00089b00: 7634 2d31 302e 320a 2020 2d20 5043 492d  v4-10.2.  - PCI-
│ │ │ -00089b10: 4453 5376 342d 3130 2e32 2e31 0a20 202d  DSSv4-10.2.1.  -
│ │ │ -00089b20: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ -00089b30: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -00089b40: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -00089b50: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ -00089b60: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ -00089b70: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -00089b80: 2020 2d20 7061 636b 6167 655f 6175 6469    - package_audi
│ │ │ -00089b90: 745f 696e 7374 616c 6c65 640a 0a2d 206e  t_installed..- n
│ │ │ -00089ba0: 616d 653a 2045 6e73 7572 6520 6175 6469  ame: Ensure audi
│ │ │ -00089bb0: 7464 2069 7320 696e 7374 616c 6c65 640a  td is installed.
│ │ │ -00089bc0: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ -00089bd0: 616d 653a 2061 7564 6974 640a 2020 2020  ame: auditd.    
│ │ │ -00089be0: 7374 6174 653a 2070 7265 7365 6e74 0a20  state: present. 
│ │ │ -00089bf0: 2077 6865 6e3a 2027 226c 696e 7578 2d62   when: '"linux-b
│ │ │ -00089c00: 6173 6522 2069 6e20 616e 7369 626c 655f  ase" in ansible_
│ │ │ -00089c10: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -00089c20: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ -00089c30: 2d38 3030 2d35 332d 4143 2d37 2861 290a  -800-53-AC-7(a).
│ │ │ -00089c40: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -00089c50: 4155 2d31 3228 3229 0a20 202d 204e 4953  AU-12(2).  - NIS
│ │ │ -00089c60: 542d 3830 302d 3533 2d41 552d 3134 0a20  T-800-53-AU-14. 
│ │ │ -00089c70: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ -00089c80: 552d 3228 6129 0a20 202d 204e 4953 542d  U-2(a).  - NIST-
│ │ │ -00089c90: 3830 302d 3533 2d41 552d 3728 3129 0a20  800-53-AU-7(1). 
│ │ │ -00089ca0: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ -00089cb0: 552d 3728 3229 0a20 202d 204e 4953 542d  U-7(2).  - NIST-
│ │ │ -00089cc0: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ -00089cd0: 202d 2050 4349 2d44 5353 2d52 6571 2d31   - PCI-DSS-Req-1
│ │ │ -00089ce0: 302e 310a 2020 2d20 5043 492d 4453 5376  0.1.  - PCI-DSSv
│ │ │ -00089cf0: 342d 3130 2e32 0a20 202d 2050 4349 2d44  4-10.2.  - PCI-D
│ │ │ -00089d00: 5353 7634 2d31 302e 322e 310a 2020 2d20  SSv4-10.2.1.  - 
│ │ │ -00089d10: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ -00089d20: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -00089d30: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -00089d40: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -00089d50: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -00089d60: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -00089d70: 202d 2070 6163 6b61 6765 5f61 7564 6974   - package_audit
│ │ │ -00089d80: 5f69 6e73 7461 6c6c 6564 0a3c 2f63 6f64  _installed.
C │ │ │ -00089940: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -00089970: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -00089980: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -000899c0: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ -000899d0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
│ │ │ +00089580: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +000895a0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +000895f0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ +00089620: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Gather
│ │ │ +00089640: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ +00089650: 7473 0a20 2070 6163 6b61 6765 5f66 6163  ts.  package_fac
│ │ │ +00089660: 7473 3a0a 2020 2020 6d61 6e61 6765 723a  ts:.    manager:
│ │ │ +00089670: 2061 7574 6f0a 2020 7461 6773 3a0a 2020   auto.  tags:.  
│ │ │ +00089680: 2d20 4e49 5354 2d38 3030 2d35 332d 4143  - NIST-800-53-AC
│ │ │ +00089690: 2d37 2861 290a 2020 2d20 4e49 5354 2d38  -7(a).  - NIST-8
│ │ │ +000896a0: 3030 2d35 332d 4155 2d31 3228 3229 0a20  00-53-AU-12(2). 
│ │ │ +000896b0: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ +000896c0: 552d 3134 0a20 202d 204e 4953 542d 3830  U-14.  - NIST-80
│ │ │ +000896d0: 302d 3533 2d41 552d 3228 6129 0a20 202d  0-53-AU-2(a).  -
│ │ │ +000896e0: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ +000896f0: 3728 3129 0a20 202d 204e 4953 542d 3830  7(1).  - NIST-80
│ │ │ +00089700: 302d 3533 2d41 552d 3728 3229 0a20 202d  0-53-AU-7(2).  -
│ │ │ +00089710: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +00089720: 3628 6129 0a20 202d 2050 4349 2d44 5353  6(a).  - PCI-DSS
│ │ │ +00089730: 2d52 6571 2d31 302e 310a 2020 2d20 5043  -Req-10.1.  - PC
│ │ │ +00089740: 492d 4453 5376 342d 3130 2e32 0a20 202d  I-DSSv4-10.2.  -
│ │ │ +00089750: 2050 4349 2d44 5353 7634 2d31 302e 322e   PCI-DSSv4-10.2.
│ │ │ +00089760: 310a 2020 2d20 656e 6162 6c65 5f73 7472  1.  - enable_str
│ │ │ +00089770: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ +00089780: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +00089790: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +000897a0: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ +000897b0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ +000897c0: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ +000897d0: 5f61 7564 6974 5f69 6e73 7461 6c6c 6564  _audit_installed
│ │ │ +000897e0: 0a0a 2d20 6e61 6d65 3a20 456e 7375 7265  ..- name: Ensure
│ │ │ +000897f0: 2061 7564 6974 6420 6973 2069 6e73 7461   auditd is insta
│ │ │ +00089800: 6c6c 6564 0a20 2070 6163 6b61 6765 3a0a  lled.  package:.
│ │ │ +00089810: 2020 2020 6e61 6d65 3a20 6175 6469 7464      name: auditd
│ │ │ +00089820: 0a20 2020 2073 7461 7465 3a20 7072 6573  .    state: pres
│ │ │ +00089830: 656e 740a 2020 7768 656e 3a20 2722 6c69  ent.  when: '"li
│ │ │ +00089840: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ +00089850: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ +00089860: 6765 7327 0a20 2074 6167 733a 0a20 202d  ges'.  tags:.  -
│ │ │ +00089870: 204e 4953 542d 3830 302d 3533 2d41 432d   NIST-800-53-AC-
│ │ │ +00089880: 3728 6129 0a20 202d 204e 4953 542d 3830  7(a).  - NIST-80
│ │ │ +00089890: 302d 3533 2d41 552d 3132 2832 290a 2020  0-53-AU-12(2).  
│ │ │ +000898a0: 2d20 4e49 5354 2d38 3030 2d35 332d 4155  - NIST-800-53-AU
│ │ │ +000898b0: 2d31 340a 2020 2d20 4e49 5354 2d38 3030  -14.  - NIST-800
│ │ │ +000898c0: 2d35 332d 4155 2d32 2861 290a 2020 2d20  -53-AU-2(a).  - 
│ │ │ +000898d0: 4e49 5354 2d38 3030 2d35 332d 4155 2d37  NIST-800-53-AU-7
│ │ │ +000898e0: 2831 290a 2020 2d20 4e49 5354 2d38 3030  (1).  - NIST-800
│ │ │ +000898f0: 2d35 332d 4155 2d37 2832 290a 2020 2d20  -53-AU-7(2).  - 
│ │ │ +00089900: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ +00089910: 2861 290a 2020 2d20 5043 492d 4453 532d  (a).  - PCI-DSS-
│ │ │ +00089920: 5265 712d 3130 2e31 0a20 202d 2050 4349  Req-10.1.  - PCI
│ │ │ +00089930: 2d44 5353 7634 2d31 302e 320a 2020 2d20  -DSSv4-10.2.  - 
│ │ │ +00089940: 5043 492d 4453 5376 342d 3130 2e32 2e31  PCI-DSSv4-10.2.1
│ │ │ +00089950: 0a20 202d 2065 6e61 626c 655f 7374 7261  .  - enable_stra
│ │ │ +00089960: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +00089970: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +00089980: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ +00089990: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ +000899a0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +000899b0: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ +000899c0: 6175 6469 745f 696e 7374 616c 6c65 640a  audit_installed.
│ │ │ +000899d0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation P │ │ │ +00089a90: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ +00089aa0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ +00089b60: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +00089b70: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
Complexity:< │ │ │ +00089590: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +000895b0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +00089600: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ +00089610: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
Complexity │ │ │ +00089b30: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ +00089b50: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ +00089b80: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ +00089ba0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
include inst
│ │ │ +00089be0: 616c 6c5f 6175 6469 7464 0a0a 636c 6173  all_auditd..clas
│ │ │ +00089bf0: 7320 696e 7374 616c 6c5f 6175 6469 7464  s install_auditd
│ │ │ +00089c00: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ +00089c10: 6175 6469 7464 273a 0a20 2020 2065 6e73  auditd':.    ens
│ │ │ +00089c20: 7572 6520 3d26 6774 3b20 2769 6e73 7461  ure => 'insta
│ │ │ +00089c30: 6c6c 6564 272c 0a20 207d 0a7d 0a3c 2f63  lled',.  }.}.
│ │ │ +00089c50: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +00089cf0: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu │ │ │ +00089d00: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn │ │ │ +00089d10: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.
│ │ │ +00089d60: 5b5b 7061 636b 6167 6573 5d5d 0a6e 616d  [[packages]].nam
│ │ │ +00089d70: 6520 3d20 2261 7564 6974 6422 0a76 6572  e = "auditd".ver
│ │ │ +00089d80: 7369 6f6e 203d 2022 2a22 0a3c 2f63 6f64  sion = "*".
Remediation │ │ │ -0008bae0: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ -0008baf0: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
.[customizat
│ │ │ -0008bb50: 696f 6e73 2e73 6572 7669 6365 735d 0a65  ions.services].e
│ │ │ -0008bb60: 6e61 626c 6564 203d 205b 2261 7564 6974  nabled = ["audit
│ │ │ -0008bb70: 6422 5d0a 3c2f 636f 6465 3e3c 2f70 7265  d"].
Remediati │ │ │ -0008bc30: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -0008bc40: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -0008bc80: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -0008bcf0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -0008bd10: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -0008bd40: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -0008bd60: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -0008bcd0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -0008bce0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -0008bd20: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -0008bd30: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ -0008bd80: 656e 6162 6c65 5f61 7564 6974 640a 0a63 enable_auditd..c │ │ │ -0008bd90: 6c61 7373 2065 6e61 626c 655f 6175 6469 lass enable_audi │ │ │ -0008bda0: 7464 207b 0a20 2073 6572 7669 6365 207b td {. service { │ │ │ -0008bdb0: 2761 7564 6974 6427 3a0a 2020 2020 656e 'auditd':. en │ │ │ -0008bdc0: 6162 6c65 203d 2667 743b 2074 7275 652c able => true, │ │ │ -0008bdd0: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure => │ │ │ -0008bde0: 3b20 2772 756e 6e69 6e67 272c 0a20 207d ; 'running',. } │ │ │ -0008bdf0: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}. │ │ │ -0008be00: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ -0008beb0: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ -0008bec0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -0008bf00: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -0008bf70: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -0008bf90: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -0008bfc0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -0008bfe0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -0008bf50: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -0008bf60: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -0008bfa0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -0008bfb0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
- name: │ │ │ -0008c000: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ -0008c010: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ -0008c020: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ -0008c030: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ -0008c040: 6773 3a0a 2020 2d20 434a 4953 2d35 2e34 gs:. - CJIS-5.4 │ │ │ -0008c050: 2e31 2e31 0a20 202d 204e 4953 542d 3830 .1.1. - NIST-80 │ │ │ -0008c060: 302d 3137 312d 332e 332e 310a 2020 2d20 0-171-3.3.1. - │ │ │ -0008c070: 4e49 5354 2d38 3030 2d31 3731 2d33 2e33 NIST-800-171-3.3 │ │ │ -0008c080: 2e32 0a20 202d 204e 4953 542d 3830 302d .2. - NIST-800- │ │ │ -0008c090: 3137 312d 332e 332e 360a 2020 2d20 4e49 171-3.3.6. - NI │ │ │ -0008c0a0: 5354 2d38 3030 2d35 332d 4143 2d32 2867 ST-800-53-AC-2(g │ │ │ -0008c0b0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5 │ │ │ -0008c0c0: 332d 4143 2d36 2839 290a 2020 2d20 4e49 3-AC-6(9). - NI │ │ │ -0008c0d0: 5354 2d38 3030 2d35 332d 4155 2d31 300a ST-800-53-AU-10. │ │ │ -0008c0e0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53- │ │ │ -0008c0f0: 4155 2d31 3228 6329 0a20 202d 204e 4953 AU-12(c). - NIS │ │ │ -0008c100: 542d 3830 302d 3533 2d41 552d 3134 2831 T-800-53-AU-14(1 │ │ │ -0008c110: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5 │ │ │ -0008c120: 332d 4155 2d32 2864 290a 2020 2d20 4e49 3-AU-2(d). - NI │ │ │ -0008c130: 5354 2d38 3030 2d35 332d 4155 2d33 0a20 ST-800-53-AU-3. │ │ │ -0008c140: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C │ │ │ -0008c150: 4d2d 3628 6129 0a20 202d 204e 4953 542d M-6(a). - NIST- │ │ │ -0008c160: 3830 302d 3533 2d53 492d 3428 3233 290a 800-53-SI-4(23). │ │ │ -0008c170: 2020 2d20 5043 492d 4453 532d 5265 712d - PCI-DSS-Req- │ │ │ -0008c180: 3130 2e31 0a20 202d 2050 4349 2d44 5353 10.1. - PCI-DSS │ │ │ -0008c190: 7634 2d31 302e 320a 2020 2d20 5043 492d v4-10.2. - PCI- │ │ │ -0008c1a0: 4453 5376 342d 3130 2e32 2e31 0a20 202d DSSv4-10.2.1. - │ │ │ -0008c1b0: 2065 6e61 626c 655f 7374 7261 7465 6779 enable_strategy │ │ │ -0008c1c0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex │ │ │ -0008c1d0: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr │ │ │ -0008c1e0: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu │ │ │ -0008c1f0: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n │ │ │ -0008c200: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed. │ │ │ -0008c210: 2020 2d20 7365 7276 6963 655f 6175 6469 - service_audi │ │ │ -0008c220: 7464 5f65 6e61 626c 6564 0a0a 2d20 6e61 td_enabled..- na │ │ │ -0008c230: 6d65 3a20 456e 6162 6c65 2061 7564 6974 me: Enable audit │ │ │ -0008c240: 6420 5365 7276 6963 6520 2d20 456e 6162 d Service - Enab │ │ │ -0008c250: 6c65 2073 6572 7669 6365 2061 7564 6974 le service audit │ │ │ -0008c260: 640a 2020 626c 6f63 6b3a 0a0a 2020 2d20 d. block:.. - │ │ │ -0008c270: 6e61 6d65 3a20 4761 7468 6572 2074 6865 name: Gather the │ │ │ -0008c280: 2070 6163 6b61 6765 2066 6163 7473 0a20 package facts. │ │ │ -0008c290: 2020 2070 6163 6b61 6765 5f66 6163 7473 package_facts │ │ │ -0008c2a0: 3a0a 2020 2020 2020 6d61 6e61 6765 723a :. manager: │ │ │ -0008c2b0: 2061 7574 6f0a 0a20 202d 206e 616d 653a auto.. - name: │ │ │ -0008c2c0: 2045 6e61 626c 6520 6175 6469 7464 2053 Enable auditd S │ │ │ -0008c2d0: 6572 7669 6365 202d 2045 6e61 626c 6520 ervice - Enable │ │ │ -0008c2e0: 5365 7276 6963 6520 6175 6469 7464 0a20 Service auditd. │ │ │ -0008c2f0: 2020 2061 6e73 6962 6c65 2e62 7569 6c74 ansible.built │ │ │ -0008c300: 696e 2e73 7973 7465 6d64 3a0a 2020 2020 in.systemd:. │ │ │ -0008c310: 2020 6e61 6d65 3a20 6175 6469 7464 0a20 name: auditd. │ │ │ -0008c320: 2020 2020 2065 6e61 626c 6564 3a20 7472 enabled: tr │ │ │ -0008c330: 7565 0a20 2020 2020 2073 7461 7465 3a20 ue. state: │ │ │ -0008c340: 7374 6172 7465 640a 2020 2020 2020 6d61 started. ma │ │ │ -0008c350: 736b 6564 3a20 6661 6c73 650a 2020 2020 sked: false. │ │ │ -0008c360: 7768 656e 3a0a 2020 2020 2d20 2722 6175 when:. - '"au │ │ │ -0008c370: 6469 7464 2220 696e 2061 6e73 6962 6c65 ditd" in ansible │ │ │ -0008c380: 5f66 6163 7473 2e70 6163 6b61 6765 7327 _facts.packages' │ │ │ -0008c390: 0a20 2077 6865 6e3a 0a20 202d 2027 226c . when:. - '"l │ │ │ -0008c3a0: 696e 7578 2d62 6173 6522 2069 6e20 616e inux-base" in an │ │ │ -0008c3b0: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack │ │ │ -0008c3c0: 6167 6573 270a 2020 2d20 2722 6175 6469 ages'. - '"audi │ │ │ -0008c3d0: 7464 2220 696e 2061 6e73 6962 6c65 5f66 td" in ansible_f │ │ │ -0008c3e0: 6163 7473 2e70 6163 6b61 6765 7327 0a20 acts.packages'. │ │ │ -0008c3f0: 2074 6167 733a 0a20 202d 2043 4a49 532d tags:. - CJIS- │ │ │ -0008c400: 352e 342e 312e 310a 2020 2d20 4e49 5354 5.4.1.1. - NIST │ │ │ -0008c410: 2d38 3030 2d31 3731 2d33 2e33 2e31 0a20 -800-171-3.3.1. │ │ │ -0008c420: 202d 204e 4953 542d 3830 302d 3137 312d - NIST-800-171- │ │ │ -0008c430: 332e 332e 320a 2020 2d20 4e49 5354 2d38 3.3.2. - NIST-8 │ │ │ -0008c440: 3030 2d31 3731 2d33 2e33 2e36 0a20 202d 00-171-3.3.6. - │ │ │ -0008c450: 204e 4953 542d 3830 302d 3533 2d41 432d NIST-800-53-AC- │ │ │ -0008c460: 3228 6729 0a20 202d 204e 4953 542d 3830 2(g). - NIST-80 │ │ │ -0008c470: 302d 3533 2d41 432d 3628 3929 0a20 202d 0-53-AC-6(9). - │ │ │ -0008c480: 204e 4953 542d 3830 302d 3533 2d41 552d NIST-800-53-AU- │ │ │ -0008c490: 3130 0a20 202d 204e 4953 542d 3830 302d 10. - NIST-800- │ │ │ -0008c4a0: 3533 2d41 552d 3132 2863 290a 2020 2d20 53-AU-12(c). - │ │ │ -0008c4b0: 4e49 5354 2d38 3030 2d35 332d 4155 2d31 NIST-800-53-AU-1 │ │ │ -0008c4c0: 3428 3129 0a20 202d 204e 4953 542d 3830 4(1). - NIST-80 │ │ │ -0008c4d0: 302d 3533 2d41 552d 3228 6429 0a20 202d 0-53-AU-2(d). - │ │ │ -0008c4e0: 204e 4953 542d 3830 302d 3533 2d41 552d NIST-800-53-AU- │ │ │ -0008c4f0: 330a 2020 2d20 4e49 5354 2d38 3030 2d35 3. - NIST-800-5 │ │ │ -0008c500: 332d 434d 2d36 2861 290a 2020 2d20 4e49 3-CM-6(a). - NI │ │ │ -0008c510: 5354 2d38 3030 2d35 332d 5349 2d34 2832 ST-800-53-SI-4(2 │ │ │ -0008c520: 3329 0a20 202d 2050 4349 2d44 5353 2d52 3). - PCI-DSS-R │ │ │ -0008c530: 6571 2d31 302e 310a 2020 2d20 5043 492d eq-10.1. - PCI- │ │ │ -0008c540: 4453 5376 342d 3130 2e32 0a20 202d 2050 DSSv4-10.2. - P │ │ │ -0008c550: 4349 2d44 5353 7634 2d31 302e 322e 310a CI-DSSv4-10.2.1. │ │ │ -0008c560: 2020 2d20 656e 6162 6c65 5f73 7472 6174 - enable_strat │ │ │ -0008c570: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp │ │ │ -0008c580: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d │ │ │ -0008c590: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me │ │ │ -0008c5a0: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity. │ │ │ -0008c5b0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need │ │ │ -0008c5c0: 6564 0a20 202d 2073 6572 7669 6365 5f61 ed. - service_a │ │ │ -0008c5d0: 7564 6974 645f 656e 6162 6c65 640a 3c2f uditd_enabled.
< │ │ │ +0008bb30: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +0008bb40: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +0008bb50: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +0008bb60: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +0008bb70: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +0008bb80: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +0008bb90: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +0008bbd0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +0008bbe0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +0008bc00: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ +0008bc10: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ +0008bc30: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ +0008bc40: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ +0008bc50: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ +0008bc60: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ +0008bc70: 733a 0a20 202d 2043 4a49 532d 352e 342e  s:.  - CJIS-5.4.
│ │ │ +0008bc80: 312e 310a 2020 2d20 4e49 5354 2d38 3030  1.1.  - NIST-800
│ │ │ +0008bc90: 2d31 3731 2d33 2e33 2e31 0a20 202d 204e  -171-3.3.1.  - N
│ │ │ +0008bca0: 4953 542d 3830 302d 3137 312d 332e 332e  IST-800-171-3.3.
│ │ │ +0008bcb0: 320a 2020 2d20 4e49 5354 2d38 3030 2d31  2.  - NIST-800-1
│ │ │ +0008bcc0: 3731 2d33 2e33 2e36 0a20 202d 204e 4953  71-3.3.6.  - NIS
│ │ │ +0008bcd0: 542d 3830 302d 3533 2d41 432d 3228 6729  T-800-53-AC-2(g)
│ │ │ +0008bce0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +0008bcf0: 2d41 432d 3628 3929 0a20 202d 204e 4953  -AC-6(9).  - NIS
│ │ │ +0008bd00: 542d 3830 302d 3533 2d41 552d 3130 0a20  T-800-53-AU-10. 
│ │ │ +0008bd10: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ +0008bd20: 552d 3132 2863 290a 2020 2d20 4e49 5354  U-12(c).  - NIST
│ │ │ +0008bd30: 2d38 3030 2d35 332d 4155 2d31 3428 3129  -800-53-AU-14(1)
│ │ │ +0008bd40: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +0008bd50: 2d41 552d 3228 6429 0a20 202d 204e 4953  -AU-2(d).  - NIS
│ │ │ +0008bd60: 542d 3830 302d 3533 2d41 552d 330a 2020  T-800-53-AU-3.  
│ │ │ +0008bd70: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +0008bd80: 2d36 2861 290a 2020 2d20 4e49 5354 2d38  -6(a).  - NIST-8
│ │ │ +0008bd90: 3030 2d35 332d 5349 2d34 2832 3329 0a20  00-53-SI-4(23). 
│ │ │ +0008bda0: 202d 2050 4349 2d44 5353 2d52 6571 2d31   - PCI-DSS-Req-1
│ │ │ +0008bdb0: 302e 310a 2020 2d20 5043 492d 4453 5376  0.1.  - PCI-DSSv
│ │ │ +0008bdc0: 342d 3130 2e32 0a20 202d 2050 4349 2d44  4-10.2.  - PCI-D
│ │ │ +0008bdd0: 5353 7634 2d31 302e 322e 310a 2020 2d20  SSv4-10.2.1.  - 
│ │ │ +0008bde0: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ +0008bdf0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +0008be00: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +0008be10: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ +0008be20: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +0008be30: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +0008be40: 202d 2073 6572 7669 6365 5f61 7564 6974   - service_audit
│ │ │ +0008be50: 645f 656e 6162 6c65 640a 0a2d 206e 616d  d_enabled..- nam
│ │ │ +0008be60: 653a 2045 6e61 626c 6520 6175 6469 7464  e: Enable auditd
│ │ │ +0008be70: 2053 6572 7669 6365 202d 2045 6e61 626c   Service - Enabl
│ │ │ +0008be80: 6520 7365 7276 6963 6520 6175 6469 7464  e service auditd
│ │ │ +0008be90: 0a20 2062 6c6f 636b 3a0a 0a20 202d 206e  .  block:..  - n
│ │ │ +0008bea0: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ +0008beb0: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ +0008bec0: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ +0008bed0: 0a20 2020 2020 206d 616e 6167 6572 3a20  .      manager: 
│ │ │ +0008bee0: 6175 746f 0a0a 2020 2d20 6e61 6d65 3a20  auto..  - name: 
│ │ │ +0008bef0: 456e 6162 6c65 2061 7564 6974 6420 5365  Enable auditd Se
│ │ │ +0008bf00: 7276 6963 6520 2d20 456e 6162 6c65 2053  rvice - Enable S
│ │ │ +0008bf10: 6572 7669 6365 2061 7564 6974 640a 2020  ervice auditd.  
│ │ │ +0008bf20: 2020 616e 7369 626c 652e 6275 696c 7469    ansible.builti
│ │ │ +0008bf30: 6e2e 7379 7374 656d 643a 0a20 2020 2020  n.systemd:.     
│ │ │ +0008bf40: 206e 616d 653a 2061 7564 6974 640a 2020   name: auditd.  
│ │ │ +0008bf50: 2020 2020 656e 6162 6c65 643a 2074 7275      enabled: tru
│ │ │ +0008bf60: 650a 2020 2020 2020 7374 6174 653a 2073  e.      state: s
│ │ │ +0008bf70: 7461 7274 6564 0a20 2020 2020 206d 6173  tarted.      mas
│ │ │ +0008bf80: 6b65 643a 2066 616c 7365 0a20 2020 2077  ked: false.    w
│ │ │ +0008bf90: 6865 6e3a 0a20 2020 202d 2027 2261 7564  hen:.    - '"aud
│ │ │ +0008bfa0: 6974 6422 2069 6e20 616e 7369 626c 655f  itd" in ansible_
│ │ │ +0008bfb0: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ +0008bfc0: 2020 7768 656e 3a0a 2020 2d20 2722 6c69    when:.  - '"li
│ │ │ +0008bfd0: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ +0008bfe0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ +0008bff0: 6765 7327 0a20 202d 2027 2261 7564 6974  ges'.  - '"audit
│ │ │ +0008c000: 6422 2069 6e20 616e 7369 626c 655f 6661  d" in ansible_fa
│ │ │ +0008c010: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ +0008c020: 7461 6773 3a0a 2020 2d20 434a 4953 2d35  tags:.  - CJIS-5
│ │ │ +0008c030: 2e34 2e31 2e31 0a20 202d 204e 4953 542d  .4.1.1.  - NIST-
│ │ │ +0008c040: 3830 302d 3137 312d 332e 332e 310a 2020  800-171-3.3.1.  
│ │ │ +0008c050: 2d20 4e49 5354 2d38 3030 2d31 3731 2d33  - NIST-800-171-3
│ │ │ +0008c060: 2e33 2e32 0a20 202d 204e 4953 542d 3830  .3.2.  - NIST-80
│ │ │ +0008c070: 302d 3137 312d 332e 332e 360a 2020 2d20  0-171-3.3.6.  - 
│ │ │ +0008c080: 4e49 5354 2d38 3030 2d35 332d 4143 2d32  NIST-800-53-AC-2
│ │ │ +0008c090: 2867 290a 2020 2d20 4e49 5354 2d38 3030  (g).  - NIST-800
│ │ │ +0008c0a0: 2d35 332d 4143 2d36 2839 290a 2020 2d20  -53-AC-6(9).  - 
│ │ │ +0008c0b0: 4e49 5354 2d38 3030 2d35 332d 4155 2d31  NIST-800-53-AU-1
│ │ │ +0008c0c0: 300a 2020 2d20 4e49 5354 2d38 3030 2d35  0.  - NIST-800-5
│ │ │ +0008c0d0: 332d 4155 2d31 3228 6329 0a20 202d 204e  3-AU-12(c).  - N
│ │ │ +0008c0e0: 4953 542d 3830 302d 3533 2d41 552d 3134  IST-800-53-AU-14
│ │ │ +0008c0f0: 2831 290a 2020 2d20 4e49 5354 2d38 3030  (1).  - NIST-800
│ │ │ +0008c100: 2d35 332d 4155 2d32 2864 290a 2020 2d20  -53-AU-2(d).  - 
│ │ │ +0008c110: 4e49 5354 2d38 3030 2d35 332d 4155 2d33  NIST-800-53-AU-3
│ │ │ +0008c120: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +0008c130: 2d43 4d2d 3628 6129 0a20 202d 204e 4953  -CM-6(a).  - NIS
│ │ │ +0008c140: 542d 3830 302d 3533 2d53 492d 3428 3233  T-800-53-SI-4(23
│ │ │ +0008c150: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ +0008c160: 712d 3130 2e31 0a20 202d 2050 4349 2d44  q-10.1.  - PCI-D
│ │ │ +0008c170: 5353 7634 2d31 302e 320a 2020 2d20 5043  SSv4-10.2.  - PC
│ │ │ +0008c180: 492d 4453 5376 342d 3130 2e32 2e31 0a20  I-DSSv4-10.2.1. 
│ │ │ +0008c190: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ +0008c1a0: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +0008c1b0: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +0008c1c0: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +0008c1d0: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +0008c1e0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +0008c1f0: 640a 2020 2d20 7365 7276 6963 655f 6175  d.  - service_au
│ │ │ +0008c200: 6469 7464 5f65 6e61 626c 6564 0a3c 2f63  ditd_enabled.
│ │ │ +0008c220: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +0008c2c0: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ +0008c2d0: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
< │ │ │ +0008c360: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +0008c380: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +0008c3d0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
include enable_
│ │ │ +0008c420: 6175 6469 7464 0a0a 636c 6173 7320 656e  auditd..class en
│ │ │ +0008c430: 6162 6c65 5f61 7564 6974 6420 7b0a 2020  able_auditd {.  
│ │ │ +0008c440: 7365 7276 6963 6520 7b27 6175 6469 7464  service {'auditd
│ │ │ +0008c450: 273a 0a20 2020 2065 6e61 626c 6520 3d26  ':.    enable =&
│ │ │ +0008c460: 6774 3b20 7472 7565 2c0a 2020 2020 656e  gt; true,.    en
│ │ │ +0008c470: 7375 7265 203d 2667 743b 2027 7275 6e6e  sure => 'runn
│ │ │ +0008c480: 696e 6727 2c0a 2020 7d0a 7d0a 3c2f 636f  ing',.  }.}.
< │ │ │ +0008c4a0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +0008c4b0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +0008c4c0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +0008c4d0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +0008c4e0: 646d 3135 3230 3022 2074 6162 696e 6465 dm15200" tabinde │ │ │ +0008c4f0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +0008c500: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +0008c510: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +0008c520: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +0008c530: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +0008c540: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui │ │ │ +0008c550: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni │ │ │ +0008c560: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +0008c570: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
.[
│ │ │ +0008c5b0: 6375 7374 6f6d 697a 6174 696f 6e73 2e73  customizations.s
│ │ │ +0008c5c0: 6572 7669 6365 735d 0a65 6e61 626c 6564  ervices].enabled
│ │ │ +0008c5d0: 203d 205b 2261 7564 6974 6422 5d0a 3c2f   = ["auditd"].
'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -3663,14 +3646,31 @@ │ │ │ │ - PCI-DSSv4-2.2.6 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_cron_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_cron │ │ │ │ + │ │ │ │ +class install_cron { │ │ │ │ + package { 'cron': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "cron" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -3708,26 +3708,14 @@ │ │ │ │ SR 2.7, SR 3.1, SR 3.5, SR 3.8, SR 4.1, SR 4.3, SR │ │ │ │ 5.1, SR 5.2, SR 5.3, SR 7.1, SR 7.6 │ │ │ │ A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1, │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.13.2.1, A.14.1.3, A.14.2.2, A.14.2.3, A.14.2.4, │ │ │ │ A.6.2.1, A.6.2.2, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_inetutils-telnetd │ │ │ │ - │ │ │ │ -class remove_inetutils-telnetd { │ │ │ │ - package { 'inetutils-telnetd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure inetutils-telnetd is removed │ │ │ │ package: │ │ │ │ @@ -3739,14 +3727,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_inetutils-telnetd_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_inetutils-telnetd │ │ │ │ + │ │ │ │ +class remove_inetutils-telnetd { │ │ │ │ + package { 'inetutils-telnetd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove inetutils-telnetd │ │ │ │ @@ -3759,26 +3759,14 @@ │ │ │ │ ****** RRuullee? ?  UUnniinnssttaallll tthhee nniiss ppaacckkaaggee ? ? _[[_rr_ee_ff_]] ****** │ │ │ │ The support for Yellowpages should not be installed unless it is required. │ │ │ │ NIS is the historical SUN service for central account management, │ │ │ │ Rationale: more and more replaced by LDAP. NIS does not support efficiently │ │ │ │ security constraints, ACL, etc. and should not be used. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_nis_removed │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_nis │ │ │ │ - │ │ │ │ -class remove_nis { │ │ │ │ - package { 'nis': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure nis is removed │ │ │ │ package: │ │ │ │ @@ -3787,14 +3775,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_nis_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_nis │ │ │ │ + │ │ │ │ +class remove_nis { │ │ │ │ + package { 'nis': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove nis │ │ │ │ @@ -3808,26 +3808,14 @@ │ │ │ │ ntpdate is a historical ntp synchronization client for unixes. It sould be │ │ │ │ uninstalled. │ │ │ │ ntpdate is an old not security-compliant ntp client. It should be │ │ │ │ Rationale: replaced by modern ntp clients such as ntpd, able to use │ │ │ │ cryptographic mechanisms integrated in NTP. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_ntpdate_removed │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_ntpdate │ │ │ │ - │ │ │ │ -class remove_ntpdate { │ │ │ │ - package { 'ntpdate': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure ntpdate is removed │ │ │ │ package: │ │ │ │ @@ -3836,14 +3824,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_ntpdate_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_ntpdate │ │ │ │ + │ │ │ │ +class remove_ntpdate { │ │ │ │ + package { 'ntpdate': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove ntpdate │ │ │ │ @@ -3874,26 +3874,14 @@ │ │ │ │ SR 2.7, SR 3.1, SR 3.5, SR 3.8, SR 4.1, SR 4.3, SR │ │ │ │ 5.1, SR 5.2, SR 5.3, SR 7.1, SR 7.6 │ │ │ │ A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1, │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.13.2.1, A.14.1.3, A.14.2.2, A.14.2.3, A.14.2.4, │ │ │ │ A.6.2.1, A.6.2.2, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_telnetd-ssl │ │ │ │ - │ │ │ │ -class remove_telnetd-ssl { │ │ │ │ - package { 'telnetd-ssl': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure telnetd-ssl is removed │ │ │ │ package: │ │ │ │ @@ -3905,14 +3893,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_telnetd-ssl_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_telnetd-ssl │ │ │ │ + │ │ │ │ +class remove_telnetd-ssl { │ │ │ │ + package { 'telnetd-ssl': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove telnetd-ssl │ │ │ │ @@ -3944,26 +3944,14 @@ │ │ │ │ SR 2.7, SR 3.1, SR 3.5, SR 3.8, SR 4.1, SR 4.3, SR │ │ │ │ 5.1, SR 5.2, SR 5.3, SR 7.1, SR 7.6 │ │ │ │ A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1, │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.13.2.1, A.14.1.3, A.14.2.2, A.14.2.3, A.14.2.4, │ │ │ │ A.6.2.1, A.6.2.2, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_telnetd │ │ │ │ - │ │ │ │ -class remove_telnetd { │ │ │ │ - package { 'telnetd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure telnetd is removed │ │ │ │ package: │ │ │ │ @@ -3975,14 +3963,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_telnetd_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_telnetd │ │ │ │ + │ │ │ │ +class remove_telnetd { │ │ │ │ + package { 'telnetd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove telnetd │ │ │ │ @@ -4057,31 +4057,14 @@ │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_0_9 4.3.3.3.9, 4.3.3.5.8, 4.3.4.4.7, 4.4.2.1, 4.4.2.2, │ │ │ │ References: 4.4.2.4 │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "ntp" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_ntp │ │ │ │ - │ │ │ │ -class install_ntp { │ │ │ │ - package { 'ntp': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -4106,14 +4089,31 @@ │ │ │ │ - PCI-DSS-Req-10.4 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_ntp_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_ntp │ │ │ │ + │ │ │ │ +class install_ntp { │ │ │ │ + package { 'ntp': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "ntp" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -4147,31 +4147,14 @@ │ │ │ │ 4.4.2.4 │ │ │ │ References: _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a), AU-8(1)(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ _p_c_i_d_s_s_4 10.6.1, 10.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["ntp"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_ntp │ │ │ │ - │ │ │ │ -class enable_ntp { │ │ │ │ - service {'ntp': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -4215,14 +4198,31 @@ │ │ │ │ - PCI-DSSv4-10.6.1 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - service_ntp_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_ntp │ │ │ │ + │ │ │ │ +class enable_ntp { │ │ │ │ + service {'ntp': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["ntp"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -4260,31 +4260,14 @@ │ │ │ │ 4.4.2.4 │ │ │ │ References: _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a), AU-8(1)(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ _p_c_i_d_s_s_4 10.6.1, 10.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["systemd-timesyncd"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_systemd-timesyncd │ │ │ │ - │ │ │ │ -class enable_systemd-timesyncd { │ │ │ │ - service {'systemd-timesyncd': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -4330,14 +4313,31 @@ │ │ │ │ - PCI-DSSv4-10.6.1 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - service_timesyncd_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_systemd-timesyncd │ │ │ │ + │ │ │ │ +class enable_systemd-timesyncd { │ │ │ │ + service {'systemd-timesyncd': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["systemd-timesyncd"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -5242,31 +5242,14 @@ │ │ │ │ 000349-GPOS-00137, SRG-OS-000350-GPOS-00138, SRG-OS- │ │ │ │ 000351-GPOS-00139, SRG-OS-000352-GPOS-00140, SRG-OS- │ │ │ │ 000353-GPOS-00141, SRG-OS-000354-GPOS-00142, SRG-OS- │ │ │ │ 000358-GPOS-00145, SRG-OS-000365-GPOS-00152, SRG-OS- │ │ │ │ 000392-GPOS-00172, SRG-OS-000475-GPOS-00220 │ │ │ │ _a_n_s_s_i R33, R73 │ │ │ │ _p_c_i_d_s_s_4 10.2.1, 10.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "auditd" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_auditd │ │ │ │ - │ │ │ │ -class install_auditd { │ │ │ │ - package { 'auditd': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -5307,14 +5290,31 @@ │ │ │ │ - PCI-DSSv4-10.2.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_audit_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_auditd │ │ │ │ + │ │ │ │ +class install_auditd { │ │ │ │ + package { 'auditd': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "auditd" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -5390,31 +5390,14 @@ │ │ │ │ SRG-OS-000358-GPOS-00145, SRG-OS-000365-GPOS-00152, │ │ │ │ SRG-OS-000392-GPOS-00172, SRG-OS-000475-GPOS-00220 │ │ │ │ SRG-APP-000095-CTR-000170, SRG-APP-000409-CTR- │ │ │ │ _a_p_p_-_s_r_g_-_c_t_r 000990, SRG-APP-000508-CTR-001300, SRG-APP-000510- │ │ │ │ CTR-001310 │ │ │ │ _a_n_s_s_i R33, R73 │ │ │ │ _p_c_i_d_s_s_4 10.2.1, 10.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["auditd"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_auditd │ │ │ │ - │ │ │ │ -class enable_auditd { │ │ │ │ - service {'auditd': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -5480,14 +5463,31 @@ │ │ │ │ - PCI-DSSv4-10.2.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_auditd_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_auditd │ │ │ │ + │ │ │ │ +class enable_auditd { │ │ │ │ + service {'auditd': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["auditd"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ ├── ./usr/share/doc/ssg-debderived/ssg-ubuntu1804-guide-cis.html │ │ │ @@ -52981,190 +52981,190 @@ │ │ │ 000cef40: 6574 3d22 2369 646d 3135 3139 3822 2074 et="#idm15198" t │ │ │ 000cef50: 6162 696e 6465 783d 2230 2220 726f 6c65 abindex="0" role │ │ │ 000cef60: 3d22 6275 7474 6f6e 2220 6172 6961 2d65 ="button" aria-e │ │ │ 000cef70: 7870 616e 6465 643d 2266 616c 7365 2220 xpanded="false" │ │ │ 000cef80: 7469 746c 653d 2241 6374 6976 6174 6520 title="Activate │ │ │ 000cef90: 746f 2072 6576 6561 6c22 2068 7265 663d to reveal" href= │ │ │ 000cefa0: 2223 2122 3e52 656d 6564 6961 7469 6f6e "#!">Remediation │ │ │ -000cefb0: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ -000cefc0: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
.[customizat
│ │ │ -000cf020: 696f 6e73 2e73 6572 7669 6365 735d 0a65  ions.services].e
│ │ │ -000cf030: 6e61 626c 6564 203d 205b 2261 7564 6974  nabled = ["audit
│ │ │ -000cf040: 6422 5d0a 3c2f 636f 6465 3e3c 2f70 7265  d"].
Remediati │ │ │ -000cf100: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -000cf110: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -000cf150: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
low
Disr │ │ │ +0008c390: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +0008c3a0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +0008c3e0: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ +0008c3f0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
< │ │ │ -000cf1c0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -000cf1e0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -000cf210: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -000cf230: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -000cf1a0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -000cf1b0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -000cf1f0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -000cf200: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ -000cf250: 656e 6162 6c65 5f61 7564 6974 640a 0a63 enable_auditd..c │ │ │ -000cf260: 6c61 7373 2065 6e61 626c 655f 6175 6469 lass enable_audi │ │ │ -000cf270: 7464 207b 0a20 2073 6572 7669 6365 207b td {. service { │ │ │ -000cf280: 2761 7564 6974 6427 3a0a 2020 2020 656e 'auditd':. en │ │ │ -000cf290: 6162 6c65 203d 2667 743b 2074 7275 652c able => true, │ │ │ -000cf2a0: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure => │ │ │ -000cf2b0: 3b20 2772 756e 6e69 6e67 272c 0a20 207d ; 'running',. } │ │ │ -000cf2c0: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}. │ │ │ -000cf2d0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ -000cf380: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ -000cf390: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -000cf3d0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -000cf440: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -000cf460: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -000cf490: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -000cf4b0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -000cf420: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -000cf430: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -000cf470: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -000cf480: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
- name: │ │ │ -000cf4d0: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ -000cf4e0: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ -000cf4f0: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ -000cf500: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ -000cf510: 6773 3a0a 2020 2d20 434a 4953 2d35 2e34 gs:. - CJIS-5.4 │ │ │ -000cf520: 2e31 2e31 0a20 202d 204e 4953 542d 3830 .1.1. - NIST-80 │ │ │ -000cf530: 302d 3137 312d 332e 332e 310a 2020 2d20 0-171-3.3.1. - │ │ │ -000cf540: 4e49 5354 2d38 3030 2d31 3731 2d33 2e33 NIST-800-171-3.3 │ │ │ -000cf550: 2e32 0a20 202d 204e 4953 542d 3830 302d .2. - NIST-800- │ │ │ -000cf560: 3137 312d 332e 332e 360a 2020 2d20 4e49 171-3.3.6. - NI │ │ │ -000cf570: 5354 2d38 3030 2d35 332d 4143 2d32 2867 ST-800-53-AC-2(g │ │ │ -000cf580: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5 │ │ │ -000cf590: 332d 4143 2d36 2839 290a 2020 2d20 4e49 3-AC-6(9). - NI │ │ │ -000cf5a0: 5354 2d38 3030 2d35 332d 4155 2d31 300a ST-800-53-AU-10. │ │ │ -000cf5b0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53- │ │ │ -000cf5c0: 4155 2d31 3228 6329 0a20 202d 204e 4953 AU-12(c). - NIS │ │ │ -000cf5d0: 542d 3830 302d 3533 2d41 552d 3134 2831 T-800-53-AU-14(1 │ │ │ -000cf5e0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5 │ │ │ -000cf5f0: 332d 4155 2d32 2864 290a 2020 2d20 4e49 3-AU-2(d). - NI │ │ │ -000cf600: 5354 2d38 3030 2d35 332d 4155 2d33 0a20 ST-800-53-AU-3. │ │ │ -000cf610: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C │ │ │ -000cf620: 4d2d 3628 6129 0a20 202d 204e 4953 542d M-6(a). - NIST- │ │ │ -000cf630: 3830 302d 3533 2d53 492d 3428 3233 290a 800-53-SI-4(23). │ │ │ -000cf640: 2020 2d20 5043 492d 4453 532d 5265 712d - PCI-DSS-Req- │ │ │ -000cf650: 3130 2e31 0a20 202d 2050 4349 2d44 5353 10.1. - PCI-DSS │ │ │ -000cf660: 7634 2d31 302e 320a 2020 2d20 5043 492d v4-10.2. - PCI- │ │ │ -000cf670: 4453 5376 342d 3130 2e32 2e31 0a20 202d DSSv4-10.2.1. - │ │ │ -000cf680: 2065 6e61 626c 655f 7374 7261 7465 6779 enable_strategy │ │ │ -000cf690: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex │ │ │ -000cf6a0: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr │ │ │ -000cf6b0: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu │ │ │ -000cf6c0: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n │ │ │ -000cf6d0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed. │ │ │ -000cf6e0: 2020 2d20 7365 7276 6963 655f 6175 6469 - service_audi │ │ │ -000cf6f0: 7464 5f65 6e61 626c 6564 0a0a 2d20 6e61 td_enabled..- na │ │ │ -000cf700: 6d65 3a20 456e 6162 6c65 2061 7564 6974 me: Enable audit │ │ │ -000cf710: 6420 5365 7276 6963 6520 2d20 456e 6162 d Service - Enab │ │ │ -000cf720: 6c65 2073 6572 7669 6365 2061 7564 6974 le service audit │ │ │ -000cf730: 640a 2020 626c 6f63 6b3a 0a0a 2020 2d20 d. block:.. - │ │ │ -000cf740: 6e61 6d65 3a20 4761 7468 6572 2074 6865 name: Gather the │ │ │ -000cf750: 2070 6163 6b61 6765 2066 6163 7473 0a20 package facts. │ │ │ -000cf760: 2020 2070 6163 6b61 6765 5f66 6163 7473 package_facts │ │ │ -000cf770: 3a0a 2020 2020 2020 6d61 6e61 6765 723a :. manager: │ │ │ -000cf780: 2061 7574 6f0a 0a20 202d 206e 616d 653a auto.. - name: │ │ │ -000cf790: 2045 6e61 626c 6520 6175 6469 7464 2053 Enable auditd S │ │ │ -000cf7a0: 6572 7669 6365 202d 2045 6e61 626c 6520 ervice - Enable │ │ │ -000cf7b0: 5365 7276 6963 6520 6175 6469 7464 0a20 Service auditd. │ │ │ -000cf7c0: 2020 2061 6e73 6962 6c65 2e62 7569 6c74 ansible.built │ │ │ -000cf7d0: 696e 2e73 7973 7465 6d64 3a0a 2020 2020 in.systemd:. │ │ │ -000cf7e0: 2020 6e61 6d65 3a20 6175 6469 7464 0a20 name: auditd. │ │ │ -000cf7f0: 2020 2020 2065 6e61 626c 6564 3a20 7472 enabled: tr │ │ │ -000cf800: 7565 0a20 2020 2020 2073 7461 7465 3a20 ue. state: │ │ │ -000cf810: 7374 6172 7465 640a 2020 2020 2020 6d61 started. ma │ │ │ -000cf820: 736b 6564 3a20 6661 6c73 650a 2020 2020 sked: false. │ │ │ -000cf830: 7768 656e 3a0a 2020 2020 2d20 2722 6175 when:. - '"au │ │ │ -000cf840: 6469 7464 2220 696e 2061 6e73 6962 6c65 ditd" in ansible │ │ │ -000cf850: 5f66 6163 7473 2e70 6163 6b61 6765 7327 _facts.packages' │ │ │ -000cf860: 0a20 2077 6865 6e3a 0a20 202d 2027 226c . when:. - '"l │ │ │ -000cf870: 696e 7578 2d62 6173 6522 2069 6e20 616e inux-base" in an │ │ │ -000cf880: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack │ │ │ -000cf890: 6167 6573 270a 2020 2d20 2722 6175 6469 ages'. - '"audi │ │ │ -000cf8a0: 7464 2220 696e 2061 6e73 6962 6c65 5f66 td" in ansible_f │ │ │ -000cf8b0: 6163 7473 2e70 6163 6b61 6765 7327 0a20 acts.packages'. │ │ │ -000cf8c0: 2074 6167 733a 0a20 202d 2043 4a49 532d tags:. - CJIS- │ │ │ -000cf8d0: 352e 342e 312e 310a 2020 2d20 4e49 5354 5.4.1.1. - NIST │ │ │ -000cf8e0: 2d38 3030 2d31 3731 2d33 2e33 2e31 0a20 -800-171-3.3.1. │ │ │ -000cf8f0: 202d 204e 4953 542d 3830 302d 3137 312d - NIST-800-171- │ │ │ -000cf900: 332e 332e 320a 2020 2d20 4e49 5354 2d38 3.3.2. - NIST-8 │ │ │ -000cf910: 3030 2d31 3731 2d33 2e33 2e36 0a20 202d 00-171-3.3.6. - │ │ │ -000cf920: 204e 4953 542d 3830 302d 3533 2d41 432d NIST-800-53-AC- │ │ │ -000cf930: 3228 6729 0a20 202d 204e 4953 542d 3830 2(g). - NIST-80 │ │ │ -000cf940: 302d 3533 2d41 432d 3628 3929 0a20 202d 0-53-AC-6(9). - │ │ │ -000cf950: 204e 4953 542d 3830 302d 3533 2d41 552d NIST-800-53-AU- │ │ │ -000cf960: 3130 0a20 202d 204e 4953 542d 3830 302d 10. - NIST-800- │ │ │ -000cf970: 3533 2d41 552d 3132 2863 290a 2020 2d20 53-AU-12(c). - │ │ │ -000cf980: 4e49 5354 2d38 3030 2d35 332d 4155 2d31 NIST-800-53-AU-1 │ │ │ -000cf990: 3428 3129 0a20 202d 204e 4953 542d 3830 4(1). - NIST-80 │ │ │ -000cf9a0: 302d 3533 2d41 552d 3228 6429 0a20 202d 0-53-AU-2(d). - │ │ │ -000cf9b0: 204e 4953 542d 3830 302d 3533 2d41 552d NIST-800-53-AU- │ │ │ -000cf9c0: 330a 2020 2d20 4e49 5354 2d38 3030 2d35 3. - NIST-800-5 │ │ │ -000cf9d0: 332d 434d 2d36 2861 290a 2020 2d20 4e49 3-CM-6(a). - NI │ │ │ -000cf9e0: 5354 2d38 3030 2d35 332d 5349 2d34 2832 ST-800-53-SI-4(2 │ │ │ -000cf9f0: 3329 0a20 202d 2050 4349 2d44 5353 2d52 3). - PCI-DSS-R │ │ │ -000cfa00: 6571 2d31 302e 310a 2020 2d20 5043 492d eq-10.1. - PCI- │ │ │ -000cfa10: 4453 5376 342d 3130 2e32 0a20 202d 2050 DSSv4-10.2. - P │ │ │ -000cfa20: 4349 2d44 5353 7634 2d31 302e 322e 310a CI-DSSv4-10.2.1. │ │ │ -000cfa30: 2020 2d20 656e 6162 6c65 5f73 7472 6174 - enable_strat │ │ │ -000cfa40: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp │ │ │ -000cfa50: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d │ │ │ -000cfa60: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me │ │ │ -000cfa70: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity. │ │ │ -000cfa80: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need │ │ │ -000cfa90: 6564 0a20 202d 2073 6572 7669 6365 5f61 ed. - service_a │ │ │ -000cfaa0: 7564 6974 645f 656e 6162 6c65 640a 3c2f uditd_enabled.
< │ │ │ +000cf000: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +000cf010: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +000cf020: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +000cf030: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +000cf040: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +000cf050: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +000cf060: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +000cf0a0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +000cf0b0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +000cf0d0: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ +000cf0e0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ +000cf100: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ +000cf110: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ +000cf120: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ +000cf130: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ +000cf140: 733a 0a20 202d 2043 4a49 532d 352e 342e  s:.  - CJIS-5.4.
│ │ │ +000cf150: 312e 310a 2020 2d20 4e49 5354 2d38 3030  1.1.  - NIST-800
│ │ │ +000cf160: 2d31 3731 2d33 2e33 2e31 0a20 202d 204e  -171-3.3.1.  - N
│ │ │ +000cf170: 4953 542d 3830 302d 3137 312d 332e 332e  IST-800-171-3.3.
│ │ │ +000cf180: 320a 2020 2d20 4e49 5354 2d38 3030 2d31  2.  - NIST-800-1
│ │ │ +000cf190: 3731 2d33 2e33 2e36 0a20 202d 204e 4953  71-3.3.6.  - NIS
│ │ │ +000cf1a0: 542d 3830 302d 3533 2d41 432d 3228 6729  T-800-53-AC-2(g)
│ │ │ +000cf1b0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +000cf1c0: 2d41 432d 3628 3929 0a20 202d 204e 4953  -AC-6(9).  - NIS
│ │ │ +000cf1d0: 542d 3830 302d 3533 2d41 552d 3130 0a20  T-800-53-AU-10. 
│ │ │ +000cf1e0: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ +000cf1f0: 552d 3132 2863 290a 2020 2d20 4e49 5354  U-12(c).  - NIST
│ │ │ +000cf200: 2d38 3030 2d35 332d 4155 2d31 3428 3129  -800-53-AU-14(1)
│ │ │ +000cf210: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +000cf220: 2d41 552d 3228 6429 0a20 202d 204e 4953  -AU-2(d).  - NIS
│ │ │ +000cf230: 542d 3830 302d 3533 2d41 552d 330a 2020  T-800-53-AU-3.  
│ │ │ +000cf240: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +000cf250: 2d36 2861 290a 2020 2d20 4e49 5354 2d38  -6(a).  - NIST-8
│ │ │ +000cf260: 3030 2d35 332d 5349 2d34 2832 3329 0a20  00-53-SI-4(23). 
│ │ │ +000cf270: 202d 2050 4349 2d44 5353 2d52 6571 2d31   - PCI-DSS-Req-1
│ │ │ +000cf280: 302e 310a 2020 2d20 5043 492d 4453 5376  0.1.  - PCI-DSSv
│ │ │ +000cf290: 342d 3130 2e32 0a20 202d 2050 4349 2d44  4-10.2.  - PCI-D
│ │ │ +000cf2a0: 5353 7634 2d31 302e 322e 310a 2020 2d20  SSv4-10.2.1.  - 
│ │ │ +000cf2b0: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ +000cf2c0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +000cf2d0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +000cf2e0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ +000cf2f0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +000cf300: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +000cf310: 202d 2073 6572 7669 6365 5f61 7564 6974   - service_audit
│ │ │ +000cf320: 645f 656e 6162 6c65 640a 0a2d 206e 616d  d_enabled..- nam
│ │ │ +000cf330: 653a 2045 6e61 626c 6520 6175 6469 7464  e: Enable auditd
│ │ │ +000cf340: 2053 6572 7669 6365 202d 2045 6e61 626c   Service - Enabl
│ │ │ +000cf350: 6520 7365 7276 6963 6520 6175 6469 7464  e service auditd
│ │ │ +000cf360: 0a20 2062 6c6f 636b 3a0a 0a20 202d 206e  .  block:..  - n
│ │ │ +000cf370: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ +000cf380: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ +000cf390: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ +000cf3a0: 0a20 2020 2020 206d 616e 6167 6572 3a20  .      manager: 
│ │ │ +000cf3b0: 6175 746f 0a0a 2020 2d20 6e61 6d65 3a20  auto..  - name: 
│ │ │ +000cf3c0: 456e 6162 6c65 2061 7564 6974 6420 5365  Enable auditd Se
│ │ │ +000cf3d0: 7276 6963 6520 2d20 456e 6162 6c65 2053  rvice - Enable S
│ │ │ +000cf3e0: 6572 7669 6365 2061 7564 6974 640a 2020  ervice auditd.  
│ │ │ +000cf3f0: 2020 616e 7369 626c 652e 6275 696c 7469    ansible.builti
│ │ │ +000cf400: 6e2e 7379 7374 656d 643a 0a20 2020 2020  n.systemd:.     
│ │ │ +000cf410: 206e 616d 653a 2061 7564 6974 640a 2020   name: auditd.  
│ │ │ +000cf420: 2020 2020 656e 6162 6c65 643a 2074 7275      enabled: tru
│ │ │ +000cf430: 650a 2020 2020 2020 7374 6174 653a 2073  e.      state: s
│ │ │ +000cf440: 7461 7274 6564 0a20 2020 2020 206d 6173  tarted.      mas
│ │ │ +000cf450: 6b65 643a 2066 616c 7365 0a20 2020 2077  ked: false.    w
│ │ │ +000cf460: 6865 6e3a 0a20 2020 202d 2027 2261 7564  hen:.    - '"aud
│ │ │ +000cf470: 6974 6422 2069 6e20 616e 7369 626c 655f  itd" in ansible_
│ │ │ +000cf480: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ +000cf490: 2020 7768 656e 3a0a 2020 2d20 2722 6c69    when:.  - '"li
│ │ │ +000cf4a0: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ +000cf4b0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ +000cf4c0: 6765 7327 0a20 202d 2027 2261 7564 6974  ges'.  - '"audit
│ │ │ +000cf4d0: 6422 2069 6e20 616e 7369 626c 655f 6661  d" in ansible_fa
│ │ │ +000cf4e0: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ +000cf4f0: 7461 6773 3a0a 2020 2d20 434a 4953 2d35  tags:.  - CJIS-5
│ │ │ +000cf500: 2e34 2e31 2e31 0a20 202d 204e 4953 542d  .4.1.1.  - NIST-
│ │ │ +000cf510: 3830 302d 3137 312d 332e 332e 310a 2020  800-171-3.3.1.  
│ │ │ +000cf520: 2d20 4e49 5354 2d38 3030 2d31 3731 2d33  - NIST-800-171-3
│ │ │ +000cf530: 2e33 2e32 0a20 202d 204e 4953 542d 3830  .3.2.  - NIST-80
│ │ │ +000cf540: 302d 3137 312d 332e 332e 360a 2020 2d20  0-171-3.3.6.  - 
│ │ │ +000cf550: 4e49 5354 2d38 3030 2d35 332d 4143 2d32  NIST-800-53-AC-2
│ │ │ +000cf560: 2867 290a 2020 2d20 4e49 5354 2d38 3030  (g).  - NIST-800
│ │ │ +000cf570: 2d35 332d 4143 2d36 2839 290a 2020 2d20  -53-AC-6(9).  - 
│ │ │ +000cf580: 4e49 5354 2d38 3030 2d35 332d 4155 2d31  NIST-800-53-AU-1
│ │ │ +000cf590: 300a 2020 2d20 4e49 5354 2d38 3030 2d35  0.  - NIST-800-5
│ │ │ +000cf5a0: 332d 4155 2d31 3228 6329 0a20 202d 204e  3-AU-12(c).  - N
│ │ │ +000cf5b0: 4953 542d 3830 302d 3533 2d41 552d 3134  IST-800-53-AU-14
│ │ │ +000cf5c0: 2831 290a 2020 2d20 4e49 5354 2d38 3030  (1).  - NIST-800
│ │ │ +000cf5d0: 2d35 332d 4155 2d32 2864 290a 2020 2d20  -53-AU-2(d).  - 
│ │ │ +000cf5e0: 4e49 5354 2d38 3030 2d35 332d 4155 2d33  NIST-800-53-AU-3
│ │ │ +000cf5f0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +000cf600: 2d43 4d2d 3628 6129 0a20 202d 204e 4953  -CM-6(a).  - NIS
│ │ │ +000cf610: 542d 3830 302d 3533 2d53 492d 3428 3233  T-800-53-SI-4(23
│ │ │ +000cf620: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ +000cf630: 712d 3130 2e31 0a20 202d 2050 4349 2d44  q-10.1.  - PCI-D
│ │ │ +000cf640: 5353 7634 2d31 302e 320a 2020 2d20 5043  SSv4-10.2.  - PC
│ │ │ +000cf650: 492d 4453 5376 342d 3130 2e32 2e31 0a20  I-DSSv4-10.2.1. 
│ │ │ +000cf660: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ +000cf670: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +000cf680: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +000cf690: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +000cf6a0: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +000cf6b0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +000cf6c0: 640a 2020 2d20 7365 7276 6963 655f 6175  d.  - service_au
│ │ │ +000cf6d0: 6469 7464 5f65 6e61 626c 6564 0a3c 2f63  ditd_enabled.
│ │ │ +000cf6f0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +000cf790: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ +000cf7a0: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
< │ │ │ +000cf830: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +000cf850: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +000cf8a0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
include enable_
│ │ │ +000cf8f0: 6175 6469 7464 0a0a 636c 6173 7320 656e  auditd..class en
│ │ │ +000cf900: 6162 6c65 5f61 7564 6974 6420 7b0a 2020  able_auditd {.  
│ │ │ +000cf910: 7365 7276 6963 6520 7b27 6175 6469 7464  service {'auditd
│ │ │ +000cf920: 273a 0a20 2020 2065 6e61 626c 6520 3d26  ':.    enable =&
│ │ │ +000cf930: 6774 3b20 7472 7565 2c0a 2020 2020 656e  gt; true,.    en
│ │ │ +000cf940: 7375 7265 203d 2667 743b 2027 7275 6e6e  sure => 'runn
│ │ │ +000cf950: 696e 6727 2c0a 2020 7d0a 7d0a 3c2f 636f  ing',.  }.}.
< │ │ │ +000cf970: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +000cf980: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +000cf990: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +000cf9a0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +000cf9b0: 646d 3135 3230 3022 2074 6162 696e 6465 dm15200" tabinde │ │ │ +000cf9c0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +000cf9d0: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +000cf9e0: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +000cf9f0: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +000cfa00: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +000cfa10: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui │ │ │ +000cfa20: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni │ │ │ +000cfa30: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +000cfa40: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
.[
│ │ │ +000cfa80: 6375 7374 6f6d 697a 6174 696f 6e73 2e73  customizations.s
│ │ │ +000cfa90: 6572 7669 6365 735d 0a65 6e61 626c 6564  ervices].enabled
│ │ │ +000cfaa0: 203d 205b 2261 7564 6974 6422 5d0a 3c2f   = ["auditd"].
true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -10118,14 +10101,31 @@ │ │ │ │ - PCI-DSSv4-10.2.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_auditd_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_auditd │ │ │ │ + │ │ │ │ +class enable_auditd { │ │ │ │ + service {'auditd': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["auditd"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ ├── ./usr/share/doc/ssg-debderived/ssg-ubuntu1804-guide-standard.html │ │ │ @@ -19838,128 +19838,128 @@ │ │ │ 0004d7d0: 6461 7461 2d74 6172 6765 743d 2223 6964 data-target="#id │ │ │ 0004d7e0: 6d34 3935 3822 2074 6162 696e 6465 783d m4958" tabindex= │ │ │ 0004d7f0: 2230 2220 726f 6c65 3d22 6275 7474 6f6e "0" role="button │ │ │ 0004d800: 2220 6172 6961 2d65 7870 616e 6465 643d " aria-expanded= │ │ │ 0004d810: 2266 616c 7365 2220 7469 746c 653d 2241 "false" title="A │ │ │ 0004d820: 6374 6976 6174 6520 746f 2072 6576 6561 ctivate to revea │ │ │ 0004d830: 6c22 2068 7265 663d 2223 2122 3e52 656d l" href="#!">Rem │ │ │ -0004d840: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild │ │ │ -0004d850: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp │ │ │ -0004d860: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -0004d8a0: 3c70 7265 3e3c 636f 6465 3e0a 5b5b 7061
.[[pa
│ │ │ -0004d8b0: 636b 6167 6573 5d5d 0a6e 616d 6520 3d20  ckages]].name = 
│ │ │ -0004d8c0: 2272 7379 736c 6f67 220a 7665 7273 696f  "rsyslog".versio
│ │ │ -0004d8d0: 6e20 3d20 222a 220a 3c2f 636f 6465 3e3c  n = "*".<
│ │ │ -0004d8e0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remedi
│ │ │ -0004d990: 6174 696f 6e20 5075 7070 6574 2073 6e69  ation Puppet sni
│ │ │ -0004d9a0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e  ppet ...
│ │ │ -0004d9b0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
low
Disr │ │ │ +000cf860: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +000cf870: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +000cf8b0: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ +000cf8c0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Comp │ │ │ -0004da30: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -0004da40: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -0004da60: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -0004da80: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -0004da90: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ -0004dad0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ -0004dae0: 6520 696e 7374 616c 6c5f 7273 7973 6c6f e install_rsyslo │ │ │ -0004daf0: 670a 0a63 6c61 7373 2069 6e73 7461 6c6c g..class install │ │ │ -0004db00: 5f72 7379 736c 6f67 207b 0a20 2070 6163 _rsyslog {. pac │ │ │ -0004db10: 6b61 6765 207b 2027 7273 7973 6c6f 6727 kage { 'rsyslog' │ │ │ -0004db20: 3a0a 2020 2020 656e 7375 7265 203d 2667 :. ensure =&g │ │ │ -0004db30: 743b 2027 696e 7374 616c 6c65 6427 2c0a t; 'installed',. │ │ │ -0004db40: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.

Remediat │ │ │ -0004dc00: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip │ │ │ -0004dc10: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -0004dc20: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -0004dc30: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -0004dc40: 7365 2220 6964 3d22 6964 6d34 3936 3022 se" id="idm4960" │ │ │ -0004dc50: 3e3c 7461 626c 6520 636c 6173 733d 2274 > │ │ │ -0004dcc0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -0004dce0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -0004dd10: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -0004dca0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -0004dcb0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -0004dcd0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -0004dcf0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -0004dd00: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

- name: │ │ │ -0004dd50: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack │ │ │ -0004dd60: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack │ │ │ -0004dd70: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m │ │ │ -0004dd80: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t │ │ │ -0004dd90: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80 │ │ │ -0004dda0: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). - │ │ │ -0004ddb0: 2065 6e61 626c 655f 7374 7261 7465 6779 enable_strategy │ │ │ -0004ddc0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex │ │ │ -0004ddd0: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr │ │ │ -0004dde0: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu │ │ │ -0004ddf0: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n │ │ │ -0004de00: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed. │ │ │ -0004de10: 2020 2d20 7061 636b 6167 655f 7273 7973 - package_rsys │ │ │ -0004de20: 6c6f 675f 696e 7374 616c 6c65 640a 0a2d log_installed..- │ │ │ -0004de30: 206e 616d 653a 2045 6e73 7572 6520 7273 name: Ensure rs │ │ │ -0004de40: 7973 6c6f 6720 6973 2069 6e73 7461 6c6c yslog is install │ │ │ -0004de50: 6564 0a20 2070 6163 6b61 6765 3a0a 2020 ed. package:. │ │ │ -0004de60: 2020 6e61 6d65 3a20 7273 7973 6c6f 670a name: rsyslog. │ │ │ -0004de70: 2020 2020 7374 6174 653a 2070 7265 7365 state: prese │ │ │ -0004de80: 6e74 0a20 2077 6865 6e3a 2027 226c 696e nt. when: '"lin │ │ │ -0004de90: 7578 2d62 6173 6522 2069 6e20 616e 7369 ux-base" in ansi │ │ │ -0004dea0: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag │ │ │ -0004deb0: 6573 270a 2020 7461 6773 3a0a 2020 2d20 es'. tags:. - │ │ │ -0004dec0: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6 │ │ │ -0004ded0: 2861 290a 2020 2d20 656e 6162 6c65 5f73 (a). - enable_s │ │ │ -0004dee0: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_ │ │ │ -0004def0: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l │ │ │ -0004df00: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption. │ │ │ -0004df10: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit │ │ │ -0004df20: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_ │ │ │ -0004df30: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa │ │ │ -0004df40: 6765 5f72 7379 736c 6f67 5f69 6e73 7461 ge_rsyslog_insta │ │ │ -0004df50: 6c6c 6564 0a3c 2f63 6f64 653e 3c2f 7072 lled. │ │ │ +0004d860: 3c62 723e 3c64 6976 2063 6c61 7373 3d22

│ │ │ +0004d8f0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
- 
│ │ │ +0004d990: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ +0004d9a0: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ +0004d9b0: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ +0004d9c0: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ +0004d9d0: 6f0a 2020 7461 6773 3a0a 2020 2d20 4e49  o.  tags:.  - NI
│ │ │ +0004d9e0: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +0004d9f0: 290a 2020 2d20 656e 6162 6c65 5f73 7472  ).  - enable_str
│ │ │ +0004da00: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ +0004da10: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +0004da20: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +0004da30: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ +0004da40: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ +0004da50: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ +0004da60: 5f72 7379 736c 6f67 5f69 6e73 7461 6c6c  _rsyslog_install
│ │ │ +0004da70: 6564 0a0a 2d20 6e61 6d65 3a20 456e 7375  ed..- name: Ensu
│ │ │ +0004da80: 7265 2072 7379 736c 6f67 2069 7320 696e  re rsyslog is in
│ │ │ +0004da90: 7374 616c 6c65 640a 2020 7061 636b 6167  stalled.  packag
│ │ │ +0004daa0: 653a 0a20 2020 206e 616d 653a 2072 7379  e:.    name: rsy
│ │ │ +0004dab0: 736c 6f67 0a20 2020 2073 7461 7465 3a20  slog.    state: 
│ │ │ +0004dac0: 7072 6573 656e 740a 2020 7768 656e 3a20  present.  when: 
│ │ │ +0004dad0: 2722 6c69 6e75 782d 6261 7365 2220 696e  '"linux-base" in
│ │ │ +0004dae0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ +0004daf0: 6163 6b61 6765 7327 0a20 2074 6167 733a  ackages'.  tags:
│ │ │ +0004db00: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +0004db10: 2d43 4d2d 3628 6129 0a20 202d 2065 6e61  -CM-6(a).  - ena
│ │ │ +0004db20: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +0004db30: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +0004db40: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +0004db50: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ +0004db60: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +0004db70: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +0004db80: 7061 636b 6167 655f 7273 7973 6c6f 675f  package_rsyslog_
│ │ │ +0004db90: 696e 7374 616c 6c65 640a 3c2f 636f 6465  installed.
Reme │ │ │ +0004dc50: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ +0004dc60: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
│ │ │ +0004d8e0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +0004d910: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +0004d920: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +0004d960: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ +0004d970: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
low< │ │ │ +0004dd10: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +0004dd60: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ +0004dcf0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +0004dd20: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +0004dd40: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +0004dd50: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +0004dd70: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ +0004dd80: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +0004dda0: 7564 6520 696e 7374 616c 6c5f 7273 7973  ude install_rsys
│ │ │ +0004ddb0: 6c6f 670a 0a63 6c61 7373 2069 6e73 7461  log..class insta
│ │ │ +0004ddc0: 6c6c 5f72 7379 736c 6f67 207b 0a20 2070  ll_rsyslog {.  p
│ │ │ +0004ddd0: 6163 6b61 6765 207b 2027 7273 7973 6c6f  ackage { 'rsyslo
│ │ │ +0004dde0: 6727 3a0a 2020 2020 656e 7375 7265 203d  g':.    ensure =
│ │ │ +0004ddf0: 2667 743b 2027 696e 7374 616c 6c65 6427  > 'installed'
│ │ │ +0004de00: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ +0004de10: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remedi │ │ │ +0004dec0: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl │ │ │ +0004ded0: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet │ │ │ +0004dee0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
.[[packa │ │ │ +0004df30: 6765 735d 5d0a 6e61 6d65 203d 2022 7273 ges]].name = "rs │ │ │ +0004df40: 7973 6c6f 6722 0a76 6572 7369 6f6e 203d yslog".version = │ │ │ +0004df50: 2022 2a22 0a3c 2f63 6f64 653e 3c2f 7072 "*".
Remed │ │ │ -0004f150: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B │ │ │ -0004f160: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet │ │ │ -0004f170: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...

.[custo │ │ │ -0004f1c0: 6d69 7a61 7469 6f6e 732e 7365 7276 6963 mizations.servic │ │ │ -0004f1d0: 6573 5d0a 656e 6162 6c65 6420 3d20 5b22 es].enabled = [" │ │ │ -0004f1e0: 7273 7973 6c6f 6722 5d0a 3c2f 636f 6465 rsyslog"].

Reme │ │ │ -0004f2a0: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -0004f2b0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
low< │ │ │ -0004f360: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -0004f3b0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ -0004f340: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -0004f370: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -0004f390: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -0004f3a0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -0004f3c0: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ -0004f3d0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -0004f3f0: 7564 6520 656e 6162 6c65 5f72 7379 736c  ude enable_rsysl
│ │ │ -0004f400: 6f67 0a0a 636c 6173 7320 656e 6162 6c65  og..class enable
│ │ │ -0004f410: 5f72 7379 736c 6f67 207b 0a20 2073 6572  _rsyslog {.  ser
│ │ │ -0004f420: 7669 6365 207b 2772 7379 736c 6f67 273a  vice {'rsyslog':
│ │ │ -0004f430: 0a20 2020 2065 6e61 626c 6520 3d26 6774  .    enable =>
│ │ │ -0004f440: 3b20 7472 7565 2c0a 2020 2020 656e 7375  ; true,.    ensu
│ │ │ -0004f450: 7265 203d 2667 743b 2027 7275 6e6e 696e  re => 'runnin
│ │ │ -0004f460: 6727 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  g',.  }.}.
Reme │ │ │ -0004f520: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible │ │ │ -0004f530: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -0004f540: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
< │ │ │ -0004f5d0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -0004f5e0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -0004f630: 3c74 723e 3c74 683e 5374 7261 7465 6779
- n
│ │ │ -0004f670: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ -0004f680: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ -0004f690: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ -0004f6a0: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ -0004f6b0: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ -0004f6c0: 542d 3830 302d 3533 2d41 552d 3428 3129  T-800-53-AU-4(1)
│ │ │ -0004f6d0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -0004f6e0: 2d43 4d2d 3628 6129 0a20 202d 2065 6e61  -CM-6(a).  - ena
│ │ │ -0004f6f0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -0004f700: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -0004f710: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -0004f720: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -0004f730: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -0004f740: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -0004f750: 7365 7276 6963 655f 7273 7973 6c6f 675f  service_rsyslog_
│ │ │ -0004f760: 656e 6162 6c65 640a 0a2d 206e 616d 653a  enabled..- name:
│ │ │ -0004f770: 2045 6e61 626c 6520 7273 7973 6c6f 6720   Enable rsyslog 
│ │ │ -0004f780: 5365 7276 6963 6520 2d20 456e 6162 6c65  Service - Enable
│ │ │ -0004f790: 2073 6572 7669 6365 2072 7379 736c 6f67   service rsyslog
│ │ │ -0004f7a0: 0a20 2062 6c6f 636b 3a0a 0a20 202d 206e  .  block:..  - n
│ │ │ -0004f7b0: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ -0004f7c0: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ -0004f7d0: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ -0004f7e0: 0a20 2020 2020 206d 616e 6167 6572 3a20  .      manager: 
│ │ │ -0004f7f0: 6175 746f 0a0a 2020 2d20 6e61 6d65 3a20  auto..  - name: 
│ │ │ -0004f800: 456e 6162 6c65 2072 7379 736c 6f67 2053  Enable rsyslog S
│ │ │ -0004f810: 6572 7669 6365 202d 2045 6e61 626c 6520  ervice - Enable 
│ │ │ -0004f820: 5365 7276 6963 6520 7273 7973 6c6f 670a  Service rsyslog.
│ │ │ -0004f830: 2020 2020 616e 7369 626c 652e 6275 696c      ansible.buil
│ │ │ -0004f840: 7469 6e2e 7379 7374 656d 643a 0a20 2020  tin.systemd:.   
│ │ │ -0004f850: 2020 206e 616d 653a 2072 7379 736c 6f67     name: rsyslog
│ │ │ -0004f860: 0a20 2020 2020 2065 6e61 626c 6564 3a20  .      enabled: 
│ │ │ -0004f870: 7472 7565 0a20 2020 2020 2073 7461 7465  true.      state
│ │ │ -0004f880: 3a20 7374 6172 7465 640a 2020 2020 2020  : started.      
│ │ │ -0004f890: 6d61 736b 6564 3a20 6661 6c73 650a 2020  masked: false.  
│ │ │ -0004f8a0: 2020 7768 656e 3a0a 2020 2020 2d20 2722    when:.    - '"
│ │ │ -0004f8b0: 7273 7973 6c6f 6722 2069 6e20 616e 7369  rsyslog" in ansi
│ │ │ -0004f8c0: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -0004f8d0: 6573 270a 2020 7768 656e 3a20 2722 6c69  es'.  when: '"li
│ │ │ -0004f8e0: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ -0004f8f0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -0004f900: 6765 7327 0a20 2074 6167 733a 0a20 202d  ges'.  tags:.  -
│ │ │ -0004f910: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ -0004f920: 3428 3129 0a20 202d 204e 4953 542d 3830  4(1).  - NIST-80
│ │ │ -0004f930: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ -0004f940: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ -0004f950: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -0004f960: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -0004f970: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ -0004f980: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ -0004f990: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -0004f9a0: 2020 2d20 7365 7276 6963 655f 7273 7973    - service_rsys
│ │ │ -0004f9b0: 6c6f 675f 656e 6162 6c65 640a 3c2f 636f  log_enabled.
C │ │ │ -0004f5c0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -0004f5f0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -0004f600: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -0004f640: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ -0004f650: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
low< │ │ │ +0004f210: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +0004f260: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ +0004f1f0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +0004f220: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +0004f240: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +0004f250: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +0004f270: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ +0004f280: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +0004f2a0: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ +0004f2b0: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ +0004f2c0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ +0004f2d0: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ +0004f2e0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ +0004f2f0: 2d38 3030 2d35 332d 4155 2d34 2831 290a  -800-53-AU-4(1).
│ │ │ +0004f300: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +0004f310: 434d 2d36 2861 290a 2020 2d20 656e 6162  CM-6(a).  - enab
│ │ │ +0004f320: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +0004f330: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +0004f340: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +0004f350: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ +0004f360: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +0004f370: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ +0004f380: 6572 7669 6365 5f72 7379 736c 6f67 5f65  ervice_rsyslog_e
│ │ │ +0004f390: 6e61 626c 6564 0a0a 2d20 6e61 6d65 3a20  nabled..- name: 
│ │ │ +0004f3a0: 456e 6162 6c65 2072 7379 736c 6f67 2053  Enable rsyslog S
│ │ │ +0004f3b0: 6572 7669 6365 202d 2045 6e61 626c 6520  ervice - Enable 
│ │ │ +0004f3c0: 7365 7276 6963 6520 7273 7973 6c6f 670a  service rsyslog.
│ │ │ +0004f3d0: 2020 626c 6f63 6b3a 0a0a 2020 2d20 6e61    block:..  - na
│ │ │ +0004f3e0: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ +0004f3f0: 6163 6b61 6765 2066 6163 7473 0a20 2020  ackage facts.   
│ │ │ +0004f400: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ +0004f410: 2020 2020 2020 6d61 6e61 6765 723a 2061        manager: a
│ │ │ +0004f420: 7574 6f0a 0a20 202d 206e 616d 653a 2045  uto..  - name: E
│ │ │ +0004f430: 6e61 626c 6520 7273 7973 6c6f 6720 5365  nable rsyslog Se
│ │ │ +0004f440: 7276 6963 6520 2d20 456e 6162 6c65 2053  rvice - Enable S
│ │ │ +0004f450: 6572 7669 6365 2072 7379 736c 6f67 0a20  ervice rsyslog. 
│ │ │ +0004f460: 2020 2061 6e73 6962 6c65 2e62 7569 6c74     ansible.built
│ │ │ +0004f470: 696e 2e73 7973 7465 6d64 3a0a 2020 2020  in.systemd:.    
│ │ │ +0004f480: 2020 6e61 6d65 3a20 7273 7973 6c6f 670a    name: rsyslog.
│ │ │ +0004f490: 2020 2020 2020 656e 6162 6c65 643a 2074        enabled: t
│ │ │ +0004f4a0: 7275 650a 2020 2020 2020 7374 6174 653a  rue.      state:
│ │ │ +0004f4b0: 2073 7461 7274 6564 0a20 2020 2020 206d   started.      m
│ │ │ +0004f4c0: 6173 6b65 643a 2066 616c 7365 0a20 2020  asked: false.   
│ │ │ +0004f4d0: 2077 6865 6e3a 0a20 2020 202d 2027 2272   when:.    - '"r
│ │ │ +0004f4e0: 7379 736c 6f67 2220 696e 2061 6e73 6962  syslog" in ansib
│ │ │ +0004f4f0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +0004f500: 7327 0a20 2077 6865 6e3a 2027 226c 696e  s'.  when: '"lin
│ │ │ +0004f510: 7578 2d62 6173 6522 2069 6e20 616e 7369  ux-base" in ansi
│ │ │ +0004f520: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ +0004f530: 6573 270a 2020 7461 6773 3a0a 2020 2d20  es'.  tags:.  - 
│ │ │ +0004f540: 4e49 5354 2d38 3030 2d35 332d 4155 2d34  NIST-800-53-AU-4
│ │ │ +0004f550: 2831 290a 2020 2d20 4e49 5354 2d38 3030  (1).  - NIST-800
│ │ │ +0004f560: 2d35 332d 434d 2d36 2861 290a 2020 2d20  -53-CM-6(a).  - 
│ │ │ +0004f570: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ +0004f580: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +0004f590: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +0004f5a0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ +0004f5b0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +0004f5c0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +0004f5d0: 202d 2073 6572 7669 6365 5f72 7379 736c   - service_rsysl
│ │ │ +0004f5e0: 6f67 5f65 6e61 626c 6564 0a3c 2f63 6f64  og_enabled.
Rem │ │ │ +0004f6a0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ +0004f6b0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +0004f6c0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
< │ │ │ +0004f750: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +0004f760: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +0004f7b0: 3c74 723e 3c74 683e 5374 7261 7465 6779
inc
│ │ │ +0004f7f0: 6c75 6465 2065 6e61 626c 655f 7273 7973  lude enable_rsys
│ │ │ +0004f800: 6c6f 670a 0a63 6c61 7373 2065 6e61 626c  log..class enabl
│ │ │ +0004f810: 655f 7273 7973 6c6f 6720 7b0a 2020 7365  e_rsyslog {.  se
│ │ │ +0004f820: 7276 6963 6520 7b27 7273 7973 6c6f 6727  rvice {'rsyslog'
│ │ │ +0004f830: 3a0a 2020 2020 656e 6162 6c65 203d 2667  :.    enable =&g
│ │ │ +0004f840: 743b 2074 7275 652c 0a20 2020 2065 6e73  t; true,.    ens
│ │ │ +0004f850: 7572 6520 3d26 6774 3b20 2772 756e 6e69  ure => 'runni
│ │ │ +0004f860: 6e67 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ng',.  }.}.
Rem │ │ │ +0004f920: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild │ │ │ +0004f930: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp │ │ │ +0004f940: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +0004f980: 3c70 7265 3e3c 636f 6465 3e0a 5b63 7573
.[cus
│ │ │ +0004f990: 746f 6d69 7a61 7469 6f6e 732e 7365 7276  tomizations.serv
│ │ │ +0004f9a0: 6963 6573 5d0a 656e 6162 6c65 6420 3d20  ices].enabled = 
│ │ │ +0004f9b0: 5b22 7273 7973 6c6f 6722 5d0a 3c2f 636f  ["rsyslog"].
< │ │ │ 0004f9d0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 0004f9e0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 0004f9f0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 0004fa00: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 0004fa10: 646d 3530 3437 2220 7461 6269 6e64 6578 dm5047" tabindex │ │ │ 0004fa20: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ @@ -28082,131 +28082,131 @@ │ │ │ 0006db10: 743d 2223 6964 6d31 3130 3932 2220 7461 t="#idm11092" ta │ │ │ 0006db20: 6269 6e64 6578 3d22 3022 2072 6f6c 653d bindex="0" role= │ │ │ 0006db30: 2262 7574 746f 6e22 2061 7269 612d 6578 "button" aria-ex │ │ │ 0006db40: 7061 6e64 6564 3d22 6661 6c73 6522 2074 panded="false" t │ │ │ 0006db50: 6974 6c65 3d22 4163 7469 7661 7465 2074 itle="Activate t │ │ │ 0006db60: 6f20 7265 7665 616c 2220 6872 6566 3d22 o reveal" href=" │ │ │ 0006db70: 2321 223e 5265 6d65 6469 6174 696f 6e20 #!">Remediation │ │ │ -0006db80: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin │ │ │ -0006db90: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
.[[packages]]
│ │ │ -0006dbf0: 0a6e 616d 6520 3d20 2263 726f 6e22 0a76  .name = "cron".v
│ │ │ -0006dc00: 6572 7369 6f6e 203d 2022 2a22 0a3c 2f63  ersion = "*".
│ │ │ -0006dc20: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ -0006dcc0: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ -0006dcd0: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
C │ │ │ +0004f740: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +0004f770: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +0004f780: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +0004f7c0: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ +0004f7d0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
< │ │ │ -0006dd60: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -0006dd80: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -0006ddd0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
include install
│ │ │ -0006de20: 5f63 726f 6e0a 0a63 6c61 7373 2069 6e73  _cron..class ins
│ │ │ -0006de30: 7461 6c6c 5f63 726f 6e20 7b0a 2020 7061  tall_cron {.  pa
│ │ │ -0006de40: 636b 6167 6520 7b20 2763 726f 6e27 3a0a  ckage { 'cron':.
│ │ │ -0006de50: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -0006de60: 2027 696e 7374 616c 6c65 6427 2c0a 2020   'installed',.  
│ │ │ -0006de70: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ -0006df30: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -0006df40: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
low
Disr │ │ │ -0006dd90: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -0006dda0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -0006dde0: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ -0006ddf0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -0006dff0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -0006e010: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -0006e040: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -0006dfd0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -0006dfe0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -0006e000: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -0006e020: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -0006e030: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

- name: │ │ │ -0006e080: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack │ │ │ -0006e090: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack │ │ │ -0006e0a0: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m │ │ │ -0006e0b0: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t │ │ │ -0006e0c0: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80 │ │ │ -0006e0d0: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). - │ │ │ -0006e0e0: 2050 4349 2d44 5353 7634 2d32 2e32 0a20 PCI-DSSv4-2.2. │ │ │ -0006e0f0: 202d 2050 4349 2d44 5353 7634 2d32 2e32 - PCI-DSSv4-2.2 │ │ │ -0006e100: 2e36 0a20 202d 2065 6e61 626c 655f 7374 .6. - enable_st │ │ │ -0006e110: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c │ │ │ -0006e120: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo │ │ │ -0006e130: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. - │ │ │ -0006e140: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity │ │ │ -0006e150: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n │ │ │ -0006e160: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag │ │ │ -0006e170: 655f 6372 6f6e 5f69 6e73 7461 6c6c 6564 e_cron_installed │ │ │ -0006e180: 0a0a 2d20 6e61 6d65 3a20 456e 7375 7265 ..- name: Ensure │ │ │ -0006e190: 2063 726f 6e20 6973 2069 6e73 7461 6c6c cron is install │ │ │ -0006e1a0: 6564 0a20 2070 6163 6b61 6765 3a0a 2020 ed. package:. │ │ │ -0006e1b0: 2020 6e61 6d65 3a20 6372 6f6e 0a20 2020 name: cron. │ │ │ -0006e1c0: 2073 7461 7465 3a20 7072 6573 656e 740a state: present. │ │ │ -0006e1d0: 2020 7768 656e 3a20 2722 6c69 6e75 782d when: '"linux- │ │ │ -0006e1e0: 6261 7365 2220 696e 2061 6e73 6962 6c65 base" in ansible │ │ │ -0006e1f0: 5f66 6163 7473 2e70 6163 6b61 6765 7327 _facts.packages' │ │ │ -0006e200: 0a20 2074 6167 733a 0a20 202d 204e 4953 . tags:. - NIS │ │ │ -0006e210: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a) │ │ │ -0006e220: 0a20 202d 2050 4349 2d44 5353 7634 2d32 . - PCI-DSSv4-2 │ │ │ -0006e230: 2e32 0a20 202d 2050 4349 2d44 5353 7634 .2. - PCI-DSSv4 │ │ │ -0006e240: 2d32 2e32 2e36 0a20 202d 2065 6e61 626c -2.2.6. - enabl │ │ │ -0006e250: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l │ │ │ -0006e260: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity. │ │ │ -0006e270: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption │ │ │ -0006e280: 0a20 202d 206d 6564 6975 6d5f 7365 7665 . - medium_seve │ │ │ -0006e290: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo │ │ │ -0006e2a0: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa │ │ │ -0006e2b0: 636b 6167 655f 6372 6f6e 5f69 6e73 7461 ckage_cron_insta │ │ │ -0006e2c0: 6c6c 6564 0a3c 2f63 6f64 653e 3c2f 7072 lled.

│ │ │ +0006dc10: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +0006dc20: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +0006dc30: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +0006dc70: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +0006dc80: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +0006dca0: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ +0006dcc0: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761  - name: Ga
│ │ │ +0006dcd0: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ +0006dce0: 2066 6163 7473 0a20 2070 6163 6b61 6765   facts.  package
│ │ │ +0006dcf0: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61  _facts:.    mana
│ │ │ +0006dd00: 6765 723a 2061 7574 6f0a 2020 7461 6773  ger: auto.  tags
│ │ │ +0006dd10: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ +0006dd20: 332d 434d 2d36 2861 290a 2020 2d20 5043  3-CM-6(a).  - PC
│ │ │ +0006dd30: 492d 4453 5376 342d 322e 320a 2020 2d20  I-DSSv4-2.2.  - 
│ │ │ +0006dd40: 5043 492d 4453 5376 342d 322e 322e 360a  PCI-DSSv4-2.2.6.
│ │ │ +0006dd50: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ +0006dd60: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +0006dd70: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +0006dd80: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ +0006dd90: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ +0006dda0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +0006ddb0: 6564 0a20 202d 2070 6163 6b61 6765 5f63  ed.  - package_c
│ │ │ +0006ddc0: 726f 6e5f 696e 7374 616c 6c65 640a 0a2d  ron_installed..-
│ │ │ +0006ddd0: 206e 616d 653a 2045 6e73 7572 6520 6372   name: Ensure cr
│ │ │ +0006dde0: 6f6e 2069 7320 696e 7374 616c 6c65 640a  on is installed.
│ │ │ +0006ddf0: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ +0006de00: 616d 653a 2063 726f 6e0a 2020 2020 7374  ame: cron.    st
│ │ │ +0006de10: 6174 653a 2070 7265 7365 6e74 0a20 2077  ate: present.  w
│ │ │ +0006de20: 6865 6e3a 2027 226c 696e 7578 2d62 6173  hen: '"linux-bas
│ │ │ +0006de30: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ +0006de40: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ +0006de50: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ +0006de60: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ +0006de70: 2d20 5043 492d 4453 5376 342d 322e 320a  - PCI-DSSv4-2.2.
│ │ │ +0006de80: 2020 2d20 5043 492d 4453 5376 342d 322e    - PCI-DSSv4-2.
│ │ │ +0006de90: 322e 360a 2020 2d20 656e 6162 6c65 5f73  2.6.  - enable_s
│ │ │ +0006dea0: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ +0006deb0: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ +0006dec0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ +0006ded0: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ +0006dee0: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ +0006def0: 6e65 6564 6564 0a20 202d 2070 6163 6b61  needed.  - packa
│ │ │ +0006df00: 6765 5f63 726f 6e5f 696e 7374 616c 6c65  ge_cron_installe
│ │ │ +0006df10: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +0006df20: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +0006dfd0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +0006dfe0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +0006e060: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +0006e070: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +0006e080: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +0006e0c0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +0006e0d0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +0006e0f0: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ +0006e110: 3c63 6f64 653e 696e 636c 7564 6520 696e  include in
│ │ │ +0006e120: 7374 616c 6c5f 6372 6f6e 0a0a 636c 6173  stall_cron..clas
│ │ │ +0006e130: 7320 696e 7374 616c 6c5f 6372 6f6e 207b  s install_cron {
│ │ │ +0006e140: 0a20 2070 6163 6b61 6765 207b 2027 6372  .  package { 'cr
│ │ │ +0006e150: 6f6e 273a 0a20 2020 2065 6e73 7572 6520  on':.    ensure 
│ │ │ +0006e160: 3d26 6774 3b20 2769 6e73 7461 6c6c 6564  => 'installed
│ │ │ +0006e170: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │ +0006e180: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ +0006e230: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild │ │ │ +0006e240: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe │ │ │ +0006e250: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +0006e290: 3c70 7265 3e3c 636f 6465 3e0a 5b5b 7061
.[[pa
│ │ │ +0006e2a0: 636b 6167 6573 5d5d 0a6e 616d 6520 3d20  ckages]].name = 
│ │ │ +0006e2b0: 2263 726f 6e22 0a76 6572 7369 6f6e 203d  "cron".version =
│ │ │ +0006e2c0: 2022 2a22 0a3c 2f63 6f64 653e 3c2f 7072   "*".
Rem │ │ │ -0006f470: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild │ │ │ -0006f480: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp │ │ │ -0006f490: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[cu
│ │ │ -0006f4e0: 7374 6f6d 697a 6174 696f 6e73 2e73 6572  stomizations.ser
│ │ │ -0006f4f0: 7669 6365 735d 0a65 6e61 626c 6564 203d  vices].enabled =
│ │ │ -0006f500: 205b 2263 726f 6e22 5d0a 3c2f 636f 6465   ["cron"].
Rem │ │ │ -0006f5c0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ -0006f5d0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -0006f5e0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ -0006f670: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
in
│ │ │ -0006f710: 636c 7564 6520 656e 6162 6c65 5f63 726f  clude enable_cro
│ │ │ -0006f720: 6e0a 0a63 6c61 7373 2065 6e61 626c 655f  n..class enable_
│ │ │ -0006f730: 6372 6f6e 207b 0a20 2073 6572 7669 6365  cron {.  service
│ │ │ -0006f740: 207b 2763 726f 6e27 3a0a 2020 2020 656e   {'cron':.    en
│ │ │ -0006f750: 6162 6c65 203d 2667 743b 2074 7275 652c  able => true,
│ │ │ -0006f760: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ -0006f770: 3b20 2772 756e 6e69 6e67 272c 0a20 207d  ; 'running',.  }
│ │ │ -0006f780: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ -0006f790: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediatio │ │ │ -0006f840: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ -0006f850: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -0006f890: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
│ │ │ -0006f660: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -0006f690: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -0006f6a0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -0006f6e0: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ -0006f6f0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
< │ │ │ -0006f900: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -0006f920: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -0006f950: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -0006f970: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -0006f8e0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -0006f8f0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -0006f930: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -0006f940: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
- name: │ │ │ -0006f990: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ -0006f9a0: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ -0006f9b0: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ -0006f9c0: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ -0006f9d0: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800 │ │ │ -0006f9e0: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). - │ │ │ -0006f9f0: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy. │ │ │ -0006fa00: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi │ │ │ -0006fa10: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru │ │ │ -0006fa20: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium │ │ │ -0006fa30: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no │ │ │ -0006fa40: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed. │ │ │ -0006fa50: 202d 2073 6572 7669 6365 5f63 726f 6e5f - service_cron_ │ │ │ -0006fa60: 656e 6162 6c65 640a 0a2d 206e 616d 653a enabled..- name: │ │ │ -0006fa70: 2045 6e61 626c 6520 6372 6f6e 2053 6572 Enable cron Ser │ │ │ -0006fa80: 7669 6365 202d 2045 6e61 626c 6520 7365 vice - Enable se │ │ │ -0006fa90: 7276 6963 6520 6372 6f6e 0a20 2062 6c6f rvice cron. blo │ │ │ -0006faa0: 636b 3a0a 0a20 202d 206e 616d 653a 2047 ck:.. - name: G │ │ │ -0006fab0: 6174 6865 7220 7468 6520 7061 636b 6167 ather the packag │ │ │ -0006fac0: 6520 6661 6374 730a 2020 2020 7061 636b e facts. pack │ │ │ -0006fad0: 6167 655f 6661 6374 733a 0a20 2020 2020 age_facts:. │ │ │ -0006fae0: 206d 616e 6167 6572 3a20 6175 746f 0a0a manager: auto.. │ │ │ -0006faf0: 2020 2d20 6e61 6d65 3a20 456e 6162 6c65 - name: Enable │ │ │ -0006fb00: 2063 726f 6e20 5365 7276 6963 6520 2d20 cron Service - │ │ │ -0006fb10: 456e 6162 6c65 2053 6572 7669 6365 2063 Enable Service c │ │ │ -0006fb20: 726f 6e0a 2020 2020 616e 7369 626c 652e ron. ansible. │ │ │ -0006fb30: 6275 696c 7469 6e2e 7379 7374 656d 643a builtin.systemd: │ │ │ -0006fb40: 0a20 2020 2020 206e 616d 653a 2063 726f . name: cro │ │ │ -0006fb50: 6e0a 2020 2020 2020 656e 6162 6c65 643a n. enabled: │ │ │ -0006fb60: 2074 7275 650a 2020 2020 2020 7374 6174 true. stat │ │ │ -0006fb70: 653a 2073 7461 7274 6564 0a20 2020 2020 e: started. │ │ │ -0006fb80: 206d 6173 6b65 643a 2066 616c 7365 0a20 masked: false. │ │ │ -0006fb90: 2020 2077 6865 6e3a 0a20 2020 202d 2027 when:. - ' │ │ │ -0006fba0: 2263 726f 6e22 2069 6e20 616e 7369 626c "cron" in ansibl │ │ │ -0006fbb0: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages │ │ │ -0006fbc0: 270a 2020 7768 656e 3a20 2722 6c69 6e75 '. when: '"linu │ │ │ -0006fbd0: 782d 6261 7365 2220 696e 2061 6e73 6962 x-base" in ansib │ │ │ -0006fbe0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package │ │ │ -0006fbf0: 7327 0a20 2074 6167 733a 0a20 202d 204e s'. tags:. - N │ │ │ -0006fc00: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6( │ │ │ -0006fc10: 6129 0a20 202d 2065 6e61 626c 655f 7374 a). - enable_st │ │ │ -0006fc20: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c │ │ │ -0006fc30: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo │ │ │ -0006fc40: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. - │ │ │ -0006fc50: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity │ │ │ -0006fc60: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n │ │ │ -0006fc70: 6565 6465 640a 2020 2d20 7365 7276 6963 eeded. - servic │ │ │ -0006fc80: 655f 6372 6f6e 5f65 6e61 626c 6564 0a3c e_cron_enabled.< │ │ │ +0006f470: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ +0006f480: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +0006f490: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ +0006f560: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +0006f570: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
-
│ │ │ +0006f5c0: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ +0006f5d0: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ +0006f5e0: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ +0006f5f0: 0a20 2020 206d 616e 6167 6572 3a20 6175  .    manager: au
│ │ │ +0006f600: 746f 0a20 2074 6167 733a 0a20 202d 204e  to.  tags:.  - N
│ │ │ +0006f610: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ +0006f620: 6129 0a20 202d 2065 6e61 626c 655f 7374  a).  - enable_st
│ │ │ +0006f630: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +0006f640: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +0006f650: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +0006f660: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ +0006f670: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +0006f680: 6565 6465 640a 2020 2d20 7365 7276 6963  eeded.  - servic
│ │ │ +0006f690: 655f 6372 6f6e 5f65 6e61 626c 6564 0a0a  e_cron_enabled..
│ │ │ +0006f6a0: 2d20 6e61 6d65 3a20 456e 6162 6c65 2063  - name: Enable c
│ │ │ +0006f6b0: 726f 6e20 5365 7276 6963 6520 2d20 456e  ron Service - En
│ │ │ +0006f6c0: 6162 6c65 2073 6572 7669 6365 2063 726f  able service cro
│ │ │ +0006f6d0: 6e0a 2020 626c 6f63 6b3a 0a0a 2020 2d20  n.  block:..  - 
│ │ │ +0006f6e0: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ +0006f6f0: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ +0006f700: 2020 2070 6163 6b61 6765 5f66 6163 7473     package_facts
│ │ │ +0006f710: 3a0a 2020 2020 2020 6d61 6e61 6765 723a  :.      manager:
│ │ │ +0006f720: 2061 7574 6f0a 0a20 202d 206e 616d 653a   auto..  - name:
│ │ │ +0006f730: 2045 6e61 626c 6520 6372 6f6e 2053 6572   Enable cron Ser
│ │ │ +0006f740: 7669 6365 202d 2045 6e61 626c 6520 5365  vice - Enable Se
│ │ │ +0006f750: 7276 6963 6520 6372 6f6e 0a20 2020 2061  rvice cron.    a
│ │ │ +0006f760: 6e73 6962 6c65 2e62 7569 6c74 696e 2e73  nsible.builtin.s
│ │ │ +0006f770: 7973 7465 6d64 3a0a 2020 2020 2020 6e61  ystemd:.      na
│ │ │ +0006f780: 6d65 3a20 6372 6f6e 0a20 2020 2020 2065  me: cron.      e
│ │ │ +0006f790: 6e61 626c 6564 3a20 7472 7565 0a20 2020  nabled: true.   
│ │ │ +0006f7a0: 2020 2073 7461 7465 3a20 7374 6172 7465     state: starte
│ │ │ +0006f7b0: 640a 2020 2020 2020 6d61 736b 6564 3a20  d.      masked: 
│ │ │ +0006f7c0: 6661 6c73 650a 2020 2020 7768 656e 3a0a  false.    when:.
│ │ │ +0006f7d0: 2020 2020 2d20 2722 6372 6f6e 2220 696e      - '"cron" in
│ │ │ +0006f7e0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ +0006f7f0: 6163 6b61 6765 7327 0a20 2077 6865 6e3a  ackages'.  when:
│ │ │ +0006f800: 2027 226c 696e 7578 2d62 6173 6522 2069   '"linux-base" i
│ │ │ +0006f810: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +0006f820: 7061 636b 6167 6573 270a 2020 7461 6773  packages'.  tags
│ │ │ +0006f830: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ +0006f840: 332d 434d 2d36 2861 290a 2020 2d20 656e  3-CM-6(a).  - en
│ │ │ +0006f850: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +0006f860: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +0006f870: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +0006f880: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ +0006f890: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +0006f8a0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +0006f8b0: 2073 6572 7669 6365 5f63 726f 6e5f 656e   service_cron_en
│ │ │ +0006f8c0: 6162 6c65 640a 3c2f 636f 6465 3e3c 2f70  abled.

Remedia │ │ │ +0006f980: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ +0006f990: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +0006f9a0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +0006f9b0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +0006f9c0: 7365 2220 6964 3d22 6964 6d31 3131 3739 se" id="idm11179 │ │ │ +0006f9d0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Complexity:low
Disrup │ │ │ +0006f540: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +0006f550: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +0006f590: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +0006f5a0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Comp │ │ │ +0006fa20: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +0006fa30: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +0006fa50: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +0006fa70: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +0006fa80: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ +0006fac0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ +0006fad0: 6520 656e 6162 6c65 5f63 726f 6e0a 0a63 e enable_cron..c │ │ │ +0006fae0: 6c61 7373 2065 6e61 626c 655f 6372 6f6e lass enable_cron │ │ │ +0006faf0: 207b 0a20 2073 6572 7669 6365 207b 2763 {. service {'c │ │ │ +0006fb00: 726f 6e27 3a0a 2020 2020 656e 6162 6c65 ron':. enable │ │ │ +0006fb10: 203d 2667 743b 2074 7275 652c 0a20 2020 => true,. │ │ │ +0006fb20: 2065 6e73 7572 6520 3d26 6774 3b20 2772 ensure => 'r │ │ │ +0006fb30: 756e 6e69 6e67 272c 0a20 207d 0a7d 0a3c unning',. }.}.< │ │ │ +0006fb40: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>Remediation OS │ │ │ +0006fc00: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint │ │ │ +0006fc10: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +0006fc20: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
.[customization
│ │ │ +0006fc70: 732e 7365 7276 6963 6573 5d0a 656e 6162  s.services].enab
│ │ │ +0006fc80: 6c65 6420 3d20 5b22 6372 6f6e 225d 0a3c  led = ["cron"].<
│ │ │  0006fc90: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Re │ │ │ -00071260: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -00071270: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -00071280: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -00071350: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -00071360: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -000713b0: 696e 636c 7564 6520 7265 6d6f 7665 5f69  include remove_i
│ │ │ -000713c0: 6e65 7475 7469 6c73 2d74 656c 6e65 7464  netutils-telnetd
│ │ │ -000713d0: 0a0a 636c 6173 7320 7265 6d6f 7665 5f69  ..class remove_i
│ │ │ -000713e0: 6e65 7475 7469 6c73 2d74 656c 6e65 7464  netutils-telnetd
│ │ │ -000713f0: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ -00071400: 696e 6574 7574 696c 732d 7465 6c6e 6574  inetutils-telnet
│ │ │ -00071410: 6427 3a0a 2020 2020 656e 7375 7265 203d  d':.    ensure =
│ │ │ -00071420: 2667 743b 2027 7075 7267 6564 272c 0a20  > 'purged',. 
│ │ │ -00071430: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.Remediat
│ │ │ -000714f0: 696f 6e20 416e 7369 626c 6520 736e 6970  ion Ansible snip
│ │ │ -00071500: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c  pet ...
< │ │ │ -00071510: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -00071520: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -00071530: 7365 2220 6964 3d22 6964 6d31 3132 3835 se" id="idm11285 │ │ │ -00071540: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Complexity:low
Disrup │ │ │ -00071330: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -00071340: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -00071380: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -00071390: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Comp │ │ │ -00071590: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -000715a0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -000715c0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -000715e0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -000715f0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ -00071630: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ -00071640: 653a 2045 6e73 7572 6520 696e 6574 7574  e: Ensure inetut
│ │ │ -00071650: 696c 732d 7465 6c6e 6574 6420 6973 2072  ils-telnetd is r
│ │ │ -00071660: 656d 6f76 6564 0a20 2070 6163 6b61 6765  emoved.  package
│ │ │ -00071670: 3a0a 2020 2020 6e61 6d65 3a20 696e 6574  :.    name: inet
│ │ │ -00071680: 7574 696c 732d 7465 6c6e 6574 640a 2020  utils-telnetd.  
│ │ │ -00071690: 2020 7374 6174 653a 2061 6273 656e 740a    state: absent.
│ │ │ -000716a0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ -000716b0: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ -000716c0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -000716d0: 434d 2d37 2861 290a 2020 2d20 4e49 5354  CM-7(a).  - NIST
│ │ │ -000716e0: 2d38 3030 2d35 332d 434d 2d37 2862 290a  -800-53-CM-7(b).
│ │ │ -000716f0: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ -00071700: 7465 6779 0a20 202d 2068 6967 685f 7365  tegy.  - high_se
│ │ │ -00071710: 7665 7269 7479 0a20 202d 206c 6f77 5f63  verity.  - low_c
│ │ │ -00071720: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ -00071730: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ -00071740: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -00071750: 640a 2020 2d20 7061 636b 6167 655f 696e  d.  - package_in
│ │ │ -00071760: 6574 7574 696c 732d 7465 6c6e 6574 645f  etutils-telnetd_
│ │ │ -00071770: 7265 6d6f 7665 640a 3c2f 636f 6465 3e3c  removed.<
│ │ │ +00071260: 6d65 6469 6174 696f 6e20 416e 7369 626c  mediation Ansibl
│ │ │ +00071270: 6520 736e 6970 7065 7420 e287 b23c 2f61  e snippet ...
Complexity: │ │ │ +00071350: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +00071360: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
- name: Ensure 
│ │ │ +000713c0: 696e 6574 7574 696c 732d 7465 6c6e 6574  inetutils-telnet
│ │ │ +000713d0: 6420 6973 2072 656d 6f76 6564 0a20 2070  d is removed.  p
│ │ │ +000713e0: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65  ackage:.    name
│ │ │ +000713f0: 3a20 696e 6574 7574 696c 732d 7465 6c6e  : inetutils-teln
│ │ │ +00071400: 6574 640a 2020 2020 7374 6174 653a 2061  etd.    state: a
│ │ │ +00071410: 6273 656e 740a 2020 7461 6773 3a0a 2020  bsent.  tags:.  
│ │ │ +00071420: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +00071430: 2d36 2861 290a 2020 2d20 4e49 5354 2d38  -6(a).  - NIST-8
│ │ │ +00071440: 3030 2d35 332d 434d 2d37 2861 290a 2020  00-53-CM-7(a).  
│ │ │ +00071450: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +00071460: 2d37 2862 290a 2020 2d20 6469 7361 626c  -7(b).  - disabl
│ │ │ +00071470: 655f 7374 7261 7465 6779 0a20 202d 2068  e_strategy.  - h
│ │ │ +00071480: 6967 685f 7365 7665 7269 7479 0a20 202d  igh_severity.  -
│ │ │ +00071490: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +000714a0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +000714b0: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74  on.  - no_reboot
│ │ │ +000714c0: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ +000714d0: 6167 655f 696e 6574 7574 696c 732d 7465  age_inetutils-te
│ │ │ +000714e0: 6c6e 6574 645f 7265 6d6f 7665 640a 3c2f  lnetd_removed.
Remediation Pup │ │ │ +000715b0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ +000715c0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
low
Disru │ │ │ +00071330: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +00071340: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +00071380: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +00071390: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ +00071640: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +00071660: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +000716b0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ +000716e0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ +00071650: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +00071670: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +000716c0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ +000716d0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ +00071700: 655f 696e 6574 7574 696c 732d 7465 6c6e  e_inetutils-teln
│ │ │ +00071710: 6574 640a 0a63 6c61 7373 2072 656d 6f76  etd..class remov
│ │ │ +00071720: 655f 696e 6574 7574 696c 732d 7465 6c6e  e_inetutils-teln
│ │ │ +00071730: 6574 6420 7b0a 2020 7061 636b 6167 6520  etd {.  package 
│ │ │ +00071740: 7b20 2769 6e65 7475 7469 6c73 2d74 656c  { 'inetutils-tel
│ │ │ +00071750: 6e65 7464 273a 0a20 2020 2065 6e73 7572  netd':.    ensur
│ │ │ +00071760: 6520 3d26 6774 3b20 2770 7572 6765 6427  e => 'purged'
│ │ │ +00071770: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │  00071780: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Rem │ │ │ -00072110: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ -00072120: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -00072130: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ -000721c0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
i
│ │ │ -00072260: 6e63 6c75 6465 2072 656d 6f76 655f 6e69  nclude remove_ni
│ │ │ -00072270: 730a 0a63 6c61 7373 2072 656d 6f76 655f  s..class remove_
│ │ │ -00072280: 6e69 7320 7b0a 2020 7061 636b 6167 6520  nis {.  package 
│ │ │ -00072290: 7b20 276e 6973 273a 0a20 2020 2065 6e73  { 'nis':.    ens
│ │ │ -000722a0: 7572 6520 3d26 6774 3b20 2770 7572 6765  ure => 'purge
│ │ │ -000722b0: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Rem │ │ │ -00072370: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ -00072380: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -00072390: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
│ │ │ -000721b0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -000721e0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -000721f0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -00072230: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ -00072240: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ -00072460: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -00072470: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -000724c0: 2d20 6e61 6d65 3a20 456e 7375 7265 206e  - name: Ensure n
│ │ │ -000724d0: 6973 2069 7320 7265 6d6f 7665 640a 2020  is is removed.  
│ │ │ -000724e0: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ -000724f0: 653a 206e 6973 0a20 2020 2073 7461 7465  e: nis.    state
│ │ │ -00072500: 3a20 6162 7365 6e74 0a20 2074 6167 733a  : absent.  tags:
│ │ │ -00072510: 0a20 202d 2064 6973 6162 6c65 5f73 7472  .  - disable_str
│ │ │ -00072520: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ -00072530: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -00072540: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -00072550: 6c6f 775f 7365 7665 7269 7479 0a20 202d  low_severity.  -
│ │ │ -00072560: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -00072570: 640a 2020 2d20 7061 636b 6167 655f 6e69  d.  - package_ni
│ │ │ -00072580: 735f 7265 6d6f 7665 640a 3c2f 636f 6465  s_removed.
│ │ │ +00072130: 3c62 723e 3c64 6976 2063 6c61 7373 3d22  
Complexity:low
Disrup │ │ │ -00072440: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -00072450: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -00072490: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -000724a0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
< │ │ │ +00072200: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +00072210: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +00072260: 2d20 6e61 6d65 3a20 456e 7375 7265 206e  - name: Ensure n
│ │ │ +00072270: 6973 2069 7320 7265 6d6f 7665 640a 2020  is is removed.  
│ │ │ +00072280: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ +00072290: 653a 206e 6973 0a20 2020 2073 7461 7465  e: nis.    state
│ │ │ +000722a0: 3a20 6162 7365 6e74 0a20 2074 6167 733a  : absent.  tags:
│ │ │ +000722b0: 0a20 202d 2064 6973 6162 6c65 5f73 7472  .  - disable_str
│ │ │ +000722c0: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ +000722d0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +000722e0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +000722f0: 6c6f 775f 7365 7665 7269 7479 0a20 202d  low_severity.  -
│ │ │ +00072300: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +00072310: 640a 2020 2d20 7061 636b 6167 655f 6e69  d.  - package_ni
│ │ │ +00072320: 735f 7265 6d6f 7665 640a 3c2f 636f 6465  s_removed.
Rem │ │ │ +000723e0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ +000723f0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +00072400: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
Complexity:low
Disrup │ │ │ +000721e0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +000721f0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +00072230: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +00072240: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +00072490: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
i
│ │ │ +00072530: 6e63 6c75 6465 2072 656d 6f76 655f 6e69  nclude remove_ni
│ │ │ +00072540: 730a 0a63 6c61 7373 2072 656d 6f76 655f  s..class remove_
│ │ │ +00072550: 6e69 7320 7b0a 2020 7061 636b 6167 6520  nis {.  package 
│ │ │ +00072560: 7b20 276e 6973 273a 0a20 2020 2065 6e73  { 'nis':.    ens
│ │ │ +00072570: 7572 6520 3d26 6774 3b20 2770 7572 6765  ure => 'purge
│ │ │ +00072580: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Remediatio │ │ │ -00072f10: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ -00072f20: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -00072f60: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -00072f70: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -00072f80: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -00072f90: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -00072fa0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ -00073030: 3c74 643e 6469 7361 626c 653c 2f74 643e │ │ │ -00073040: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
│ │ │ +00072480: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +000724b0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +000724c0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +00072500: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +00072510: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complex │ │ │ -00072fb0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -00072fc0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ -00073000: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -00073010: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
disable
include │ │ │ -00073060: 7265 6d6f 7665 5f6e 7470 6461 7465 0a0a remove_ntpdate.. │ │ │ -00073070: 636c 6173 7320 7265 6d6f 7665 5f6e 7470 class remove_ntp │ │ │ -00073080: 6461 7465 207b 0a20 2070 6163 6b61 6765 date {. package │ │ │ -00073090: 207b 2027 6e74 7064 6174 6527 3a0a 2020 { 'ntpdate':. │ │ │ -000730a0: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => ' │ │ │ -000730b0: 7075 7267 6564 272c 0a20 207d 0a7d 0a3c purged',. }.}.< │ │ │ -000730c0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
Remediation An │ │ │ -00073180: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -00073190: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ -00073220: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -00073240: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -00073250: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -00073260: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -00073270: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -00073290: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ -000732c0: 636f 6465 3e2d 206e 616d 653a 2045 6e73  code>- name: Ens
│ │ │ -000732d0: 7572 6520 6e74 7064 6174 6520 6973 2072  ure ntpdate is r
│ │ │ -000732e0: 656d 6f76 6564 0a20 2070 6163 6b61 6765  emoved.  package
│ │ │ -000732f0: 3a0a 2020 2020 6e61 6d65 3a20 6e74 7064  :.    name: ntpd
│ │ │ -00073300: 6174 650a 2020 2020 7374 6174 653a 2061  ate.    state: a
│ │ │ -00073310: 6273 656e 740a 2020 7461 6773 3a0a 2020  bsent.  tags:.  
│ │ │ -00073320: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ -00073330: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ -00073340: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -00073350: 7372 7570 7469 6f6e 0a20 202d 206c 6f77  sruption.  - low
│ │ │ -00073360: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -00073370: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -00073380: 202d 2070 6163 6b61 6765 5f6e 7470 6461   - package_ntpda
│ │ │ -00073390: 7465 5f72 656d 6f76 6564 0a3c 2f63 6f64  te_removed.
│ │ │ +00072f60: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ +00072fd0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +00072ff0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +00073020: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ +00072fb0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +00072fc0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +00073000: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +00073010: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

- name: │ │ │ +00073060: 2045 6e73 7572 6520 6e74 7064 6174 6520 Ensure ntpdate │ │ │ +00073070: 6973 2072 656d 6f76 6564 0a20 2070 6163 is removed. pac │ │ │ +00073080: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20 kage:. name: │ │ │ +00073090: 6e74 7064 6174 650a 2020 2020 7374 6174 ntpdate. stat │ │ │ +000730a0: 653a 2061 6273 656e 740a 2020 7461 6773 e: absent. tags │ │ │ +000730b0: 3a0a 2020 2d20 6469 7361 626c 655f 7374 :. - disable_st │ │ │ +000730c0: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c │ │ │ +000730d0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo │ │ │ +000730e0: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. - │ │ │ +000730f0: 206c 6f77 5f73 6576 6572 6974 790a 2020 low_severity. │ │ │ +00073100: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need │ │ │ +00073110: 6564 0a20 202d 2070 6163 6b61 6765 5f6e ed. - package_n │ │ │ +00073120: 7470 6461 7465 5f72 656d 6f76 6564 0a3c tpdate_removed.< │ │ │ +00073130: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>

Remediation Pu │ │ │ +000731f0: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ +00073200: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ +00073290: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +000732b0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +000732d0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +00073300: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +00073310: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
include remo
│ │ │ +00073340: 7665 5f6e 7470 6461 7465 0a0a 636c 6173  ve_ntpdate..clas
│ │ │ +00073350: 7320 7265 6d6f 7665 5f6e 7470 6461 7465  s remove_ntpdate
│ │ │ +00073360: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ +00073370: 6e74 7064 6174 6527 3a0a 2020 2020 656e  ntpdate':.    en
│ │ │ +00073380: 7375 7265 203d 2667 743b 2027 7075 7267  sure => 'purg
│ │ │ +00073390: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ed',.  }.}.
Remediation Pup │ │ │ -00074470: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ -00074480: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -00074500: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -00074520: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -00074570: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -000745a0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -00074510: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -00074530: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -00074580: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -00074590: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ -000745c0: 655f 7465 6c6e 6574 642d 7373 6c0a 0a63  e_telnetd-ssl..c
│ │ │ -000745d0: 6c61 7373 2072 656d 6f76 655f 7465 6c6e  lass remove_teln
│ │ │ -000745e0: 6574 642d 7373 6c20 7b0a 2020 7061 636b  etd-ssl {.  pack
│ │ │ -000745f0: 6167 6520 7b20 2774 656c 6e65 7464 2d73  age { 'telnetd-s
│ │ │ -00074600: 736c 273a 0a20 2020 2065 6e73 7572 6520  sl':.    ensure 
│ │ │ -00074610: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ -00074620: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ -000746e0: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ -000746f0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -00074700: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -00074780: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -000747b0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -000747d0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -000747e0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -00074800: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -00074810: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -00074830: 6d65 3a20 456e 7375 7265 2074 656c 6e65  me: Ensure telne
│ │ │ -00074840: 7464 2d73 736c 2069 7320 7265 6d6f 7665  td-ssl is remove
│ │ │ -00074850: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ -00074860: 206e 616d 653a 2074 656c 6e65 7464 2d73   name: telnetd-s
│ │ │ -00074870: 736c 0a20 2020 2073 7461 7465 3a20 6162  sl.    state: ab
│ │ │ -00074880: 7365 6e74 0a20 2074 6167 733a 0a20 202d  sent.  tags:.  -
│ │ │ -00074890: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -000748a0: 3628 6129 0a20 202d 204e 4953 542d 3830  6(a).  - NIST-80
│ │ │ -000748b0: 302d 3533 2d43 4d2d 3728 6129 0a20 202d  0-53-CM-7(a).  -
│ │ │ -000748c0: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -000748d0: 3728 6229 0a20 202d 2064 6973 6162 6c65  7(b).  - disable
│ │ │ -000748e0: 5f73 7472 6174 6567 790a 2020 2d20 6869  _strategy.  - hi
│ │ │ -000748f0: 6768 5f73 6576 6572 6974 790a 2020 2d20  gh_severity.  - 
│ │ │ -00074900: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -00074910: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -00074920: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f  n.  - no_reboot_
│ │ │ -00074930: 6e65 6564 6564 0a20 202d 2070 6163 6b61  needed.  - packa
│ │ │ -00074940: 6765 5f74 656c 6e65 7464 2d73 736c 5f72  ge_telnetd-ssl_r
│ │ │ -00074950: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f  emoved.Remediation Ans
│ │ │ +00074470: 6962 6c65 2073 6e69 7070 6574 20e2 87b2  ible snippet ...
│ │ │ +00074480: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61  
Complexity: │ │ │ +00074510: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +00074530: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +00074550: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +00074580: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +00074590: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Ensu
│ │ │ +000745c0: 7265 2074 656c 6e65 7464 2d73 736c 2069  re telnetd-ssl i
│ │ │ +000745d0: 7320 7265 6d6f 7665 640a 2020 7061 636b  s removed.  pack
│ │ │ +000745e0: 6167 653a 0a20 2020 206e 616d 653a 2074  age:.    name: t
│ │ │ +000745f0: 656c 6e65 7464 2d73 736c 0a20 2020 2073  elnetd-ssl.    s
│ │ │ +00074600: 7461 7465 3a20 6162 7365 6e74 0a20 2074  tate: absent.  t
│ │ │ +00074610: 6167 733a 0a20 202d 204e 4953 542d 3830  ags:.  - NIST-80
│ │ │ +00074620: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ +00074630: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +00074640: 3728 6129 0a20 202d 204e 4953 542d 3830  7(a).  - NIST-80
│ │ │ +00074650: 302d 3533 2d43 4d2d 3728 6229 0a20 202d  0-53-CM-7(b).  -
│ │ │ +00074660: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ +00074670: 790a 2020 2d20 6869 6768 5f73 6576 6572  y.  - high_sever
│ │ │ +00074680: 6974 790a 2020 2d20 6c6f 775f 636f 6d70  ity.  - low_comp
│ │ │ +00074690: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +000746a0: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f  isruption.  - no
│ │ │ +000746b0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +000746c0: 202d 2070 6163 6b61 6765 5f74 656c 6e65   - package_telne
│ │ │ +000746d0: 7464 2d73 736c 5f72 656d 6f76 6564 0a3c  td-ssl_removed.<
│ │ │ +000746e0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ +000747a0: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ +000747b0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ +00074840: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +00074860: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +00074880: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +000748b0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +000748c0: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
include remo
│ │ │ +000748f0: 7665 5f74 656c 6e65 7464 2d73 736c 0a0a  ve_telnetd-ssl..
│ │ │ +00074900: 636c 6173 7320 7265 6d6f 7665 5f74 656c  class remove_tel
│ │ │ +00074910: 6e65 7464 2d73 736c 207b 0a20 2070 6163  netd-ssl {.  pac
│ │ │ +00074920: 6b61 6765 207b 2027 7465 6c6e 6574 642d  kage { 'telnetd-
│ │ │ +00074930: 7373 6c27 3a0a 2020 2020 656e 7375 7265  ssl':.    ensure
│ │ │ +00074940: 203d 2667 743b 2027 7075 7267 6564 272c   => 'purged',
│ │ │ +00074950: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.
Remediation Pup │ │ │ -00075a30: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ -00075a40: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -00075ac0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -00075ae0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -00075b30: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -00075b60: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -00075ad0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -00075af0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -00075b40: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -00075b50: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ -00075b80: 655f 7465 6c6e 6574 640a 0a63 6c61 7373  e_telnetd..class
│ │ │ -00075b90: 2072 656d 6f76 655f 7465 6c6e 6574 6420   remove_telnetd 
│ │ │ -00075ba0: 7b0a 2020 7061 636b 6167 6520 7b20 2774  {.  package { 't
│ │ │ -00075bb0: 656c 6e65 7464 273a 0a20 2020 2065 6e73  elnetd':.    ens
│ │ │ -00075bc0: 7572 6520 3d26 6774 3b20 2770 7572 6765  ure => 'purge
│ │ │ -00075bd0: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Rem │ │ │ -00075c90: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ -00075ca0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -00075cb0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -00075d80: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -00075d90: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -00075de0: 2d20 6e61 6d65 3a20 456e 7375 7265 2074  - name: Ensure t
│ │ │ -00075df0: 656c 6e65 7464 2069 7320 7265 6d6f 7665  elnetd is remove
│ │ │ -00075e00: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ -00075e10: 206e 616d 653a 2074 656c 6e65 7464 0a20   name: telnetd. 
│ │ │ -00075e20: 2020 2073 7461 7465 3a20 6162 7365 6e74     state: absent
│ │ │ -00075e30: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ -00075e40: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ -00075e50: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -00075e60: 2d43 4d2d 3728 6129 0a20 202d 204e 4953  -CM-7(a).  - NIS
│ │ │ -00075e70: 542d 3830 302d 3533 2d43 4d2d 3728 6229  T-800-53-CM-7(b)
│ │ │ -00075e80: 0a20 202d 2064 6973 6162 6c65 5f73 7472  .  - disable_str
│ │ │ -00075e90: 6174 6567 790a 2020 2d20 6869 6768 5f73  ategy.  - high_s
│ │ │ -00075ea0: 6576 6572 6974 790a 2020 2d20 6c6f 775f  everity.  - low_
│ │ │ -00075eb0: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -00075ec0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -00075ed0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -00075ee0: 6564 0a20 202d 2070 6163 6b61 6765 5f74  ed.  - package_t
│ │ │ -00075ef0: 656c 6e65 7464 5f72 656d 6f76 6564 0a3c  elnetd_removed.<
│ │ │ +00075a20: 3e52 656d 6564 6961 7469 6f6e 2041 6e73  >Remediation Ans
│ │ │ +00075a30: 6962 6c65 2073 6e69 7070 6574 20e2 87b2  ible snippet ...
│ │ │ +00075a40: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61  
low< │ │ │ +00075b10: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>
Complexity:low
Disrup │ │ │ -00075d60: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -00075d70: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -00075db0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -00075dc0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity: │ │ │ +00075ad0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ +00075af0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ +00075b40: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +00075b50: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Ensu
│ │ │ +00075b80: 7265 2074 656c 6e65 7464 2069 7320 7265  re telnetd is re
│ │ │ +00075b90: 6d6f 7665 640a 2020 7061 636b 6167 653a  moved.  package:
│ │ │ +00075ba0: 0a20 2020 206e 616d 653a 2074 656c 6e65  .    name: telne
│ │ │ +00075bb0: 7464 0a20 2020 2073 7461 7465 3a20 6162  td.    state: ab
│ │ │ +00075bc0: 7365 6e74 0a20 2074 6167 733a 0a20 202d  sent.  tags:.  -
│ │ │ +00075bd0: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +00075be0: 3628 6129 0a20 202d 204e 4953 542d 3830  6(a).  - NIST-80
│ │ │ +00075bf0: 302d 3533 2d43 4d2d 3728 6129 0a20 202d  0-53-CM-7(a).  -
│ │ │ +00075c00: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +00075c10: 3728 6229 0a20 202d 2064 6973 6162 6c65  7(b).  - disable
│ │ │ +00075c20: 5f73 7472 6174 6567 790a 2020 2d20 6869  _strategy.  - hi
│ │ │ +00075c30: 6768 5f73 6576 6572 6974 790a 2020 2d20  gh_severity.  - 
│ │ │ +00075c40: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +00075c50: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +00075c60: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f  n.  - no_reboot_
│ │ │ +00075c70: 6e65 6564 6564 0a20 202d 2070 6163 6b61  needed.  - packa
│ │ │ +00075c80: 6765 5f74 656c 6e65 7464 5f72 656d 6f76  ge_telnetd_remov
│ │ │ +00075c90: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e  ed.
│ │ │ +00075ca0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ +00075d50: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ +00075d60: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +00075da0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +00075db0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +00075dc0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +00075dd0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +00075de0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +00075df0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +00075e00: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +00075e40: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +00075e50: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +00075e70: 3c74 643e 6469 7361 626c 653c 2f74 643e disable │ │ │ +00075e80: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 include │ │ │ +00075ea0: 7265 6d6f 7665 5f74 656c 6e65 7464 0a0a remove_telnetd.. │ │ │ +00075eb0: 636c 6173 7320 7265 6d6f 7665 5f74 656c class remove_tel │ │ │ +00075ec0: 6e65 7464 207b 0a20 2070 6163 6b61 6765 netd {. package │ │ │ +00075ed0: 207b 2027 7465 6c6e 6574 6427 3a0a 2020 { 'telnetd':. │ │ │ +00075ee0: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => ' │ │ │ +00075ef0: 7075 7267 6564 272c 0a20 207d 0a7d 0a3c purged',. }.}.< │ │ │ 00075f00: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
Remediati │ │ │ -00077eb0: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep │ │ │ -00077ec0: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ... │ │ │ -00077ed0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ -00077f10: 3c63 6f64 653e 0a5b 5b70 6163 6b61 6765  .[[package
│ │ │ -00077f20: 735d 5d0a 6e61 6d65 203d 2022 6e74 7022  s]].name = "ntp"
│ │ │ -00077f30: 0a76 6572 7369 6f6e 203d 2022 2a22 0a3c  .version = "*".<
│ │ │ -00077f40: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ -00078000: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ -00078010: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ -000780a0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -000780c0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ -000780e0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ -00078110: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -00078120: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ -00078130: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include insta
│ │ │ -00078150: 6c6c 5f6e 7470 0a0a 636c 6173 7320 696e  ll_ntp..class in
│ │ │ -00078160: 7374 616c 6c5f 6e74 7020 7b0a 2020 7061  stall_ntp {.  pa
│ │ │ -00078170: 636b 6167 6520 7b20 276e 7470 273a 0a20  ckage { 'ntp':. 
│ │ │ -00078180: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ -00078190: 2769 6e73 7461 6c6c 6564 272c 0a20 207d  'installed',.  }
│ │ │ -000781a0: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ -000781b0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ -00078260: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ -00078270: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -000782b0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -00078320: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -00078340: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -00078370: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -00078390: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -00078300: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -00078310: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -00078350: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -00078360: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
- name: │ │ │ -000783b0: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ -000783c0: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ -000783d0: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ -000783e0: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ -000783f0: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800 │ │ │ -00078400: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). - │ │ │ -00078410: 5043 492d 4453 532d 5265 712d 3130 2e34 PCI-DSS-Req-10.4 │ │ │ -00078420: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra │ │ │ -00078430: 7465 6779 0a20 202d 2068 6967 685f 7365 tegy. - high_se │ │ │ -00078440: 7665 7269 7479 0a20 202d 206c 6f77 5f63 verity. - low_c │ │ │ -00078450: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo │ │ │ -00078460: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. - │ │ │ -00078470: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede │ │ │ -00078480: 640a 2020 2d20 7061 636b 6167 655f 6e74 d. - package_nt │ │ │ -00078490: 705f 696e 7374 616c 6c65 640a 0a2d 206e p_installed..- n │ │ │ -000784a0: 616d 653a 2045 6e73 7572 6520 6e74 7020 ame: Ensure ntp │ │ │ -000784b0: 6973 2069 6e73 7461 6c6c 6564 0a20 2070 is installed. p │ │ │ -000784c0: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65 ackage:. name │ │ │ -000784d0: 3a20 6e74 700a 2020 2020 7374 6174 653a : ntp. state: │ │ │ -000784e0: 2070 7265 7365 6e74 0a20 2077 6865 6e3a present. when: │ │ │ -000784f0: 2027 226c 696e 7578 2d62 6173 6522 2069 '"linux-base" i │ │ │ -00078500: 6e20 616e 7369 626c 655f 6661 6374 732e n ansible_facts. │ │ │ -00078510: 7061 636b 6167 6573 270a 2020 7461 6773 packages'. tags │ │ │ -00078520: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35 :. - NIST-800-5 │ │ │ -00078530: 332d 434d 2d36 2861 290a 2020 2d20 5043 3-CM-6(a). - PC │ │ │ -00078540: 492d 4453 532d 5265 712d 3130 2e34 0a20 I-DSS-Req-10.4. │ │ │ -00078550: 202d 2065 6e61 626c 655f 7374 7261 7465 - enable_strate │ │ │ -00078560: 6779 0a20 202d 2068 6967 685f 7365 7665 gy. - high_seve │ │ │ -00078570: 7269 7479 0a20 202d 206c 6f77 5f63 6f6d rity. - low_com │ │ │ -00078580: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_ │ │ │ -00078590: 6469 7372 7570 7469 6f6e 0a20 202d 206e disruption. - n │ │ │ -000785a0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed. │ │ │ -000785b0: 2020 2d20 7061 636b 6167 655f 6e74 705f - package_ntp_ │ │ │ -000785c0: 696e 7374 616c 6c65 640a 3c2f 636f 6465 installed.
│ │ │ +00077f70: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +00077f90: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +00077fc0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +00077f50: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +00077f60: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +00077f80: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +00077fa0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +00077fb0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

- name: │ │ │ +00078000: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack │ │ │ +00078010: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack │ │ │ +00078020: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m │ │ │ +00078030: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t │ │ │ +00078040: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80 │ │ │ +00078050: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). - │ │ │ +00078060: 2050 4349 2d44 5353 2d52 6571 2d31 302e PCI-DSS-Req-10. │ │ │ +00078070: 340a 2020 2d20 656e 6162 6c65 5f73 7472 4. - enable_str │ │ │ +00078080: 6174 6567 790a 2020 2d20 6869 6768 5f73 ategy. - high_s │ │ │ +00078090: 6576 6572 6974 790a 2020 2d20 6c6f 775f everity. - low_ │ │ │ +000780a0: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l │ │ │ +000780b0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption. │ │ │ +000780c0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need │ │ │ +000780d0: 6564 0a20 202d 2070 6163 6b61 6765 5f6e ed. - package_n │ │ │ +000780e0: 7470 5f69 6e73 7461 6c6c 6564 0a0a 2d20 tp_installed..- │ │ │ +000780f0: 6e61 6d65 3a20 456e 7375 7265 206e 7470 name: Ensure ntp │ │ │ +00078100: 2069 7320 696e 7374 616c 6c65 640a 2020 is installed. │ │ │ +00078110: 7061 636b 6167 653a 0a20 2020 206e 616d package:. nam │ │ │ +00078120: 653a 206e 7470 0a20 2020 2073 7461 7465 e: ntp. state │ │ │ +00078130: 3a20 7072 6573 656e 740a 2020 7768 656e : present. when │ │ │ +00078140: 3a20 2722 6c69 6e75 782d 6261 7365 2220 : '"linux-base" │ │ │ +00078150: 696e 2061 6e73 6962 6c65 5f66 6163 7473 in ansible_facts │ │ │ +00078160: 2e70 6163 6b61 6765 7327 0a20 2074 6167 .packages'. tag │ │ │ +00078170: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800- │ │ │ +00078180: 3533 2d43 4d2d 3628 6129 0a20 202d 2050 53-CM-6(a). - P │ │ │ +00078190: 4349 2d44 5353 2d52 6571 2d31 302e 340a CI-DSS-Req-10.4. │ │ │ +000781a0: 2020 2d20 656e 6162 6c65 5f73 7472 6174 - enable_strat │ │ │ +000781b0: 6567 790a 2020 2d20 6869 6768 5f73 6576 egy. - high_sev │ │ │ +000781c0: 6572 6974 790a 2020 2d20 6c6f 775f 636f erity. - low_co │ │ │ +000781d0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low │ │ │ +000781e0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. - │ │ │ +000781f0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed │ │ │ +00078200: 0a20 202d 2070 6163 6b61 6765 5f6e 7470 . - package_ntp │ │ │ +00078210: 5f69 6e73 7461 6c6c 6564 0a3c 2f63 6f64 _installed.

Re │ │ │ +000782d0: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ +000782e0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +000782f0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ +000783c0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +000783d0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
i
│ │ │ +00078420: 6e63 6c75 6465 2069 6e73 7461 6c6c 5f6e  nclude install_n
│ │ │ +00078430: 7470 0a0a 636c 6173 7320 696e 7374 616c  tp..class instal
│ │ │ +00078440: 6c5f 6e74 7020 7b0a 2020 7061 636b 6167  l_ntp {.  packag
│ │ │ +00078450: 6520 7b20 276e 7470 273a 0a20 2020 2065  e { 'ntp':.    e
│ │ │ +00078460: 6e73 7572 6520 3d26 6774 3b20 2769 6e73  nsure => 'ins
│ │ │ +00078470: 7461 6c6c 6564 272c 0a20 207d 0a7d 0a3c  talled',.  }.}.<
│ │ │ +00078480: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation OS │ │ │ +00078540: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint │ │ │ +00078550: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +00078560: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
.[[packages]].n
│ │ │ +000785b0: 616d 6520 3d20 226e 7470 220a 7665 7273  ame = "ntp".vers
│ │ │ +000785c0: 696f 6e20 3d20 222a 220a 3c2f 636f 6465  ion = "*".
R │ │ │ -000797b0: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui │ │ │ -000797c0: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni │ │ │ -000797d0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -000797e0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
.[
│ │ │ -00079820: 6375 7374 6f6d 697a 6174 696f 6e73 2e73  customizations.s
│ │ │ -00079830: 6572 7669 6365 735d 0a65 6e61 626c 6564  ervices].enabled
│ │ │ -00079840: 203d 205b 226e 7470 225d 0a3c 2f63 6f64   = ["ntp"].
Re │ │ │ -00079900: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -00079910: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -00079920: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Complexity:low
Disrup │ │ │ +000783a0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +000783b0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +000783f0: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +00078400: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ -000799f0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -00079a00: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
i
│ │ │ -00079a50: 6e63 6c75 6465 2065 6e61 626c 655f 6e74  nclude enable_nt
│ │ │ -00079a60: 700a 0a63 6c61 7373 2065 6e61 626c 655f  p..class enable_
│ │ │ -00079a70: 6e74 7020 7b0a 2020 7365 7276 6963 6520  ntp {.  service 
│ │ │ -00079a80: 7b27 6e74 7027 3a0a 2020 2020 656e 6162  {'ntp':.    enab
│ │ │ -00079a90: 6c65 203d 2667 743b 2074 7275 652c 0a20  le => true,. 
│ │ │ -00079aa0: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ -00079ab0: 2772 756e 6e69 6e67 272c 0a20 207d 0a7d  'running',.  }.}
│ │ │ -00079ac0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -00079b80: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -00079b90: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -00079c10: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ -00079ca0: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
Complexity:low
Disrup │ │ │ -000799d0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -000799e0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -00079a20: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ -00079a30: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexi │ │ │ -00079c20: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -00079c30: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ -00079c70: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -00079c80: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
│ │ │ -00079cc0: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761  - name: Ga
│ │ │ -00079cd0: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ -00079ce0: 2066 6163 7473 0a20 2070 6163 6b61 6765   facts.  package
│ │ │ -00079cf0: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61  _facts:.    mana
│ │ │ -00079d00: 6765 723a 2061 7574 6f0a 2020 7461 6773  ger: auto.  tags
│ │ │ -00079d10: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ -00079d20: 332d 4155 2d38 2831 2928 6129 0a20 202d  3-AU-8(1)(a).  -
│ │ │ -00079d30: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -00079d40: 3628 6129 0a20 202d 2050 4349 2d44 5353  6(a).  - PCI-DSS
│ │ │ -00079d50: 2d52 6571 2d31 302e 340a 2020 2d20 5043  -Req-10.4.  - PC
│ │ │ -00079d60: 492d 4453 5376 342d 3130 2e36 0a20 202d  I-DSSv4-10.6.  -
│ │ │ -00079d70: 2050 4349 2d44 5353 7634 2d31 302e 362e   PCI-DSSv4-10.6.
│ │ │ -00079d80: 310a 2020 2d20 656e 6162 6c65 5f73 7472  1.  - enable_str
│ │ │ -00079d90: 6174 6567 790a 2020 2d20 6869 6768 5f73  ategy.  - high_s
│ │ │ -00079da0: 6576 6572 6974 790a 2020 2d20 6c6f 775f  everity.  - low_
│ │ │ -00079db0: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -00079dc0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -00079dd0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -00079de0: 6564 0a20 202d 2073 6572 7669 6365 5f6e  ed.  - service_n
│ │ │ -00079df0: 7470 5f65 6e61 626c 6564 0a0a 2d20 6e61  tp_enabled..- na
│ │ │ -00079e00: 6d65 3a20 456e 6162 6c65 2074 6865 204e  me: Enable the N
│ │ │ -00079e10: 5450 2044 6165 6d6f 6e20 2d20 456e 6162  TP Daemon - Enab
│ │ │ -00079e20: 6c65 2073 6572 7669 6365 206e 7470 0a20  le service ntp. 
│ │ │ -00079e30: 2062 6c6f 636b 3a0a 0a20 202d 206e 616d   block:..  - nam
│ │ │ -00079e40: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ -00079e50: 636b 6167 6520 6661 6374 730a 2020 2020  ckage facts.    
│ │ │ -00079e60: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ -00079e70: 2020 2020 206d 616e 6167 6572 3a20 6175       manager: au
│ │ │ -00079e80: 746f 0a0a 2020 2d20 6e61 6d65 3a20 456e  to..  - name: En
│ │ │ -00079e90: 6162 6c65 2074 6865 204e 5450 2044 6165  able the NTP Dae
│ │ │ -00079ea0: 6d6f 6e20 2d20 456e 6162 6c65 2053 6572  mon - Enable Ser
│ │ │ -00079eb0: 7669 6365 206e 7470 0a20 2020 2061 6e73  vice ntp.    ans
│ │ │ -00079ec0: 6962 6c65 2e62 7569 6c74 696e 2e73 7973  ible.builtin.sys
│ │ │ -00079ed0: 7465 6d64 3a0a 2020 2020 2020 6e61 6d65  temd:.      name
│ │ │ -00079ee0: 3a20 6e74 700a 2020 2020 2020 656e 6162  : ntp.      enab
│ │ │ -00079ef0: 6c65 643a 2074 7275 650a 2020 2020 2020  led: true.      
│ │ │ -00079f00: 7374 6174 653a 2073 7461 7274 6564 0a20  state: started. 
│ │ │ -00079f10: 2020 2020 206d 6173 6b65 643a 2066 616c       masked: fal
│ │ │ -00079f20: 7365 0a20 2020 2077 6865 6e3a 0a20 2020  se.    when:.   
│ │ │ -00079f30: 202d 2027 226e 7470 2220 696e 2061 6e73   - '"ntp" in ans
│ │ │ -00079f40: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -00079f50: 6765 7327 0a20 2077 6865 6e3a 0a20 202d  ges'.  when:.  -
│ │ │ -00079f60: 2027 226c 696e 7578 2d62 6173 6522 2069   '"linux-base" i
│ │ │ -00079f70: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ -00079f80: 7061 636b 6167 6573 270a 2020 2d20 2722  packages'.  - '"
│ │ │ -00079f90: 6e74 7022 2069 6e20 616e 7369 626c 655f  ntp" in ansible_
│ │ │ -00079fa0: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -00079fb0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ -00079fc0: 2d38 3030 2d35 332d 4155 2d38 2831 2928  -800-53-AU-8(1)(
│ │ │ -00079fd0: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ -00079fe0: 3533 2d43 4d2d 3628 6129 0a20 202d 2050  53-CM-6(a).  - P
│ │ │ -00079ff0: 4349 2d44 5353 2d52 6571 2d31 302e 340a  CI-DSS-Req-10.4.
│ │ │ -0007a000: 2020 2d20 5043 492d 4453 5376 342d 3130    - PCI-DSSv4-10
│ │ │ -0007a010: 2e36 0a20 202d 2050 4349 2d44 5353 7634  .6.  - PCI-DSSv4
│ │ │ -0007a020: 2d31 302e 362e 310a 2020 2d20 656e 6162  -10.6.1.  - enab
│ │ │ -0007a030: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -0007a040: 6869 6768 5f73 6576 6572 6974 790a 2020  high_severity.  
│ │ │ -0007a050: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -0007a060: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -0007a070: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f  ion.  - no_reboo
│ │ │ -0007a080: 745f 6e65 6564 6564 0a20 202d 2073 6572  t_needed.  - ser
│ │ │ -0007a090: 7669 6365 5f6e 7470 5f65 6e61 626c 6564  vice_ntp_enabled
│ │ │ +000797b0: 656d 6564 6961 7469 6f6e 2041 6e73 6962  emediation Ansib
│ │ │ +000797c0: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f  le snippet ...
< │ │ │ +00079850: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +00079870: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +000798c0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
- name: Gather 
│ │ │ +00079910: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ +00079920: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ +00079930: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ +00079940: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ +00079950: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ +00079960: 3828 3129 2861 290a 2020 2d20 4e49 5354  8(1)(a).  - NIST
│ │ │ +00079970: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ +00079980: 2020 2d20 5043 492d 4453 532d 5265 712d    - PCI-DSS-Req-
│ │ │ +00079990: 3130 2e34 0a20 202d 2050 4349 2d44 5353  10.4.  - PCI-DSS
│ │ │ +000799a0: 7634 2d31 302e 360a 2020 2d20 5043 492d  v4-10.6.  - PCI-
│ │ │ +000799b0: 4453 5376 342d 3130 2e36 2e31 0a20 202d  DSSv4-10.6.1.  -
│ │ │ +000799c0: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ +000799d0: 0a20 202d 2068 6967 685f 7365 7665 7269  .  - high_severi
│ │ │ +000799e0: 7479 0a20 202d 206c 6f77 5f63 6f6d 706c  ty.  - low_compl
│ │ │ +000799f0: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +00079a00: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f  sruption.  - no_
│ │ │ +00079a10: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +00079a20: 2d20 7365 7276 6963 655f 6e74 705f 656e  - service_ntp_en
│ │ │ +00079a30: 6162 6c65 640a 0a2d 206e 616d 653a 2045  abled..- name: E
│ │ │ +00079a40: 6e61 626c 6520 7468 6520 4e54 5020 4461  nable the NTP Da
│ │ │ +00079a50: 656d 6f6e 202d 2045 6e61 626c 6520 7365  emon - Enable se
│ │ │ +00079a60: 7276 6963 6520 6e74 700a 2020 626c 6f63  rvice ntp.  bloc
│ │ │ +00079a70: 6b3a 0a0a 2020 2d20 6e61 6d65 3a20 4761  k:..  - name: Ga
│ │ │ +00079a80: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ +00079a90: 2066 6163 7473 0a20 2020 2070 6163 6b61   facts.    packa
│ │ │ +00079aa0: 6765 5f66 6163 7473 3a0a 2020 2020 2020  ge_facts:.      
│ │ │ +00079ab0: 6d61 6e61 6765 723a 2061 7574 6f0a 0a20  manager: auto.. 
│ │ │ +00079ac0: 202d 206e 616d 653a 2045 6e61 626c 6520   - name: Enable 
│ │ │ +00079ad0: 7468 6520 4e54 5020 4461 656d 6f6e 202d  the NTP Daemon -
│ │ │ +00079ae0: 2045 6e61 626c 6520 5365 7276 6963 6520   Enable Service 
│ │ │ +00079af0: 6e74 700a 2020 2020 616e 7369 626c 652e  ntp.    ansible.
│ │ │ +00079b00: 6275 696c 7469 6e2e 7379 7374 656d 643a  builtin.systemd:
│ │ │ +00079b10: 0a20 2020 2020 206e 616d 653a 206e 7470  .      name: ntp
│ │ │ +00079b20: 0a20 2020 2020 2065 6e61 626c 6564 3a20  .      enabled: 
│ │ │ +00079b30: 7472 7565 0a20 2020 2020 2073 7461 7465  true.      state
│ │ │ +00079b40: 3a20 7374 6172 7465 640a 2020 2020 2020  : started.      
│ │ │ +00079b50: 6d61 736b 6564 3a20 6661 6c73 650a 2020  masked: false.  
│ │ │ +00079b60: 2020 7768 656e 3a0a 2020 2020 2d20 2722    when:.    - '"
│ │ │ +00079b70: 6e74 7022 2069 6e20 616e 7369 626c 655f  ntp" in ansible_
│ │ │ +00079b80: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ +00079b90: 2020 7768 656e 3a0a 2020 2d20 2722 6c69    when:.  - '"li
│ │ │ +00079ba0: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ +00079bb0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ +00079bc0: 6765 7327 0a20 202d 2027 226e 7470 2220  ges'.  - '"ntp" 
│ │ │ +00079bd0: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +00079be0: 2e70 6163 6b61 6765 7327 0a20 2074 6167  .packages'.  tag
│ │ │ +00079bf0: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +00079c00: 3533 2d41 552d 3828 3129 2861 290a 2020  53-AU-8(1)(a).  
│ │ │ +00079c10: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +00079c20: 2d36 2861 290a 2020 2d20 5043 492d 4453  -6(a).  - PCI-DS
│ │ │ +00079c30: 532d 5265 712d 3130 2e34 0a20 202d 2050  S-Req-10.4.  - P
│ │ │ +00079c40: 4349 2d44 5353 7634 2d31 302e 360a 2020  CI-DSSv4-10.6.  
│ │ │ +00079c50: 2d20 5043 492d 4453 5376 342d 3130 2e36  - PCI-DSSv4-10.6
│ │ │ +00079c60: 2e31 0a20 202d 2065 6e61 626c 655f 7374  .1.  - enable_st
│ │ │ +00079c70: 7261 7465 6779 0a20 202d 2068 6967 685f  rategy.  - high_
│ │ │ +00079c80: 7365 7665 7269 7479 0a20 202d 206c 6f77  severity.  - low
│ │ │ +00079c90: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +00079ca0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +00079cb0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +00079cc0: 6465 640a 2020 2d20 7365 7276 6963 655f  ded.  - service_
│ │ │ +00079cd0: 6e74 705f 656e 6162 6c65 640a 3c2f 636f  ntp_enabled.
< │ │ │ +00079cf0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +00079d00: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +00079d10: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +00079d20: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +00079d30: 646d 3132 3036 3522 2074 6162 696e 6465 dm12065" tabinde │ │ │ +00079d40: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +00079d50: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +00079d60: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +00079d70: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +00079d80: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +00079d90: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +00079da0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
low
Disr │ │ │ +00079880: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +00079890: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +000798d0: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ +000798e0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complexity: │ │ │ +00079e80: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +00079e90: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ +00079ee0: 696e 636c 7564 6520 656e 6162 6c65 5f6e  include enable_n
│ │ │ +00079ef0: 7470 0a0a 636c 6173 7320 656e 6162 6c65  tp..class enable
│ │ │ +00079f00: 5f6e 7470 207b 0a20 2073 6572 7669 6365  _ntp {.  service
│ │ │ +00079f10: 207b 276e 7470 273a 0a20 2020 2065 6e61   {'ntp':.    ena
│ │ │ +00079f20: 626c 6520 3d26 6774 3b20 7472 7565 2c0a  ble => true,.
│ │ │ +00079f30: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +00079f40: 2027 7275 6e6e 696e 6727 2c0a 2020 7d0a   'running',.  }.
│ │ │ +00079f50: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ +00079f60: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +0007a010: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ +0007a020: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
.[customizat
│ │ │ +0007a080: 696f 6e73 2e73 6572 7669 6365 735d 0a65  ions.services].e
│ │ │ +0007a090: 6e61 626c 6564 203d 205b 226e 7470 225d  nabled = ["ntp"]
│ │ │  0007a0a0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediati │ │ │ -0007b390: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep │ │ │ -0007b3a0: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ... │ │ │ -0007b3b0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ -0007b3f0: 3c63 6f64 653e 0a5b 6375 7374 6f6d 697a  .[customiz
│ │ │ -0007b400: 6174 696f 6e73 2e73 6572 7669 6365 735d  ations.services]
│ │ │ -0007b410: 0a65 6e61 626c 6564 203d 205b 2273 7973  .enabled = ["sys
│ │ │ -0007b420: 7465 6d64 2d74 696d 6573 796e 6364 225d  temd-timesyncd"]
│ │ │ -0007b430: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -0007b4f0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -0007b500: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -0007b580: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ -0007b5c0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 enable
low
Disru │ │ │ +00079e60: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +00079e70: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +00079eb0: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ +00079ec0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexit │ │ │ -0007b590: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ -0007b5b0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ -0007b5e0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -0007b600: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
<
│ │ │ -0007b630: 636f 6465 3e69 6e63 6c75 6465 2065 6e61  code>include ena
│ │ │ -0007b640: 626c 655f 7379 7374 656d 642d 7469 6d65  ble_systemd-time
│ │ │ -0007b650: 7379 6e63 640a 0a63 6c61 7373 2065 6e61  syncd..class ena
│ │ │ -0007b660: 626c 655f 7379 7374 656d 642d 7469 6d65  ble_systemd-time
│ │ │ -0007b670: 7379 6e63 6420 7b0a 2020 7365 7276 6963  syncd {.  servic
│ │ │ -0007b680: 6520 7b27 7379 7374 656d 642d 7469 6d65  e {'systemd-time
│ │ │ -0007b690: 7379 6e63 6427 3a0a 2020 2020 656e 6162  syncd':.    enab
│ │ │ -0007b6a0: 6c65 203d 2667 743b 2074 7275 652c 0a20  le => true,. 
│ │ │ -0007b6b0: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ -0007b6c0: 2772 756e 6e69 6e67 272c 0a20 207d 0a7d  'running',.  }.}
│ │ │ -0007b6d0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -0007b790: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -0007b7a0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -0007b820: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -0007b830: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -0007b840: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -0007b880: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -0007b890: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -0007b8b0: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ -0007b8d0: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761  - name: Ga
│ │ │ -0007b8e0: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ -0007b8f0: 2066 6163 7473 0a20 2070 6163 6b61 6765   facts.  package
│ │ │ -0007b900: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61  _facts:.    mana
│ │ │ -0007b910: 6765 723a 2061 7574 6f0a 2020 7461 6773  ger: auto.  tags
│ │ │ -0007b920: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ -0007b930: 332d 4155 2d38 2831 2928 6129 0a20 202d  3-AU-8(1)(a).  -
│ │ │ -0007b940: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -0007b950: 3628 6129 0a20 202d 2050 4349 2d44 5353  6(a).  - PCI-DSS
│ │ │ -0007b960: 2d52 6571 2d31 302e 340a 2020 2d20 5043  -Req-10.4.  - PC
│ │ │ -0007b970: 492d 4453 5376 342d 3130 2e36 0a20 202d  I-DSSv4-10.6.  -
│ │ │ -0007b980: 2050 4349 2d44 5353 7634 2d31 302e 362e   PCI-DSSv4-10.6.
│ │ │ -0007b990: 310a 2020 2d20 656e 6162 6c65 5f73 7472  1.  - enable_str
│ │ │ -0007b9a0: 6174 6567 790a 2020 2d20 6869 6768 5f73  ategy.  - high_s
│ │ │ -0007b9b0: 6576 6572 6974 790a 2020 2d20 6c6f 775f  everity.  - low_
│ │ │ -0007b9c0: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -0007b9d0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -0007b9e0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -0007b9f0: 6564 0a20 202d 2073 6572 7669 6365 5f74  ed.  - service_t
│ │ │ -0007ba00: 696d 6573 796e 6364 5f65 6e61 626c 6564  imesyncd_enabled
│ │ │ -0007ba10: 0a0a 2d20 6e61 6d65 3a20 456e 6162 6c65  ..- name: Enable
│ │ │ -0007ba20: 2073 7973 7465 6d64 5f74 696d 6573 796e   systemd_timesyn
│ │ │ -0007ba30: 6364 2053 6572 7669 6365 202d 2045 6e61  cd Service - Ena
│ │ │ -0007ba40: 626c 6520 7365 7276 6963 6520 7379 7374  ble service syst
│ │ │ -0007ba50: 656d 642d 7469 6d65 7379 6e63 640a 2020  emd-timesyncd.  
│ │ │ -0007ba60: 626c 6f63 6b3a 0a0a 2020 2d20 6e61 6d65  block:..  - name
│ │ │ -0007ba70: 3a20 4761 7468 6572 2074 6865 2070 6163  : Gather the pac
│ │ │ -0007ba80: 6b61 6765 2066 6163 7473 0a20 2020 2070  kage facts.    p
│ │ │ -0007ba90: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ -0007baa0: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ -0007bab0: 6f0a 0a20 202d 206e 616d 653a 2045 6e61  o..  - name: Ena
│ │ │ -0007bac0: 626c 6520 7379 7374 656d 645f 7469 6d65  ble systemd_time
│ │ │ -0007bad0: 7379 6e63 6420 5365 7276 6963 6520 2d20  syncd Service - 
│ │ │ -0007bae0: 456e 6162 6c65 2053 6572 7669 6365 2073  Enable Service s
│ │ │ -0007baf0: 7973 7465 6d64 2d74 696d 6573 796e 6364  ystemd-timesyncd
│ │ │ -0007bb00: 0a20 2020 2061 6e73 6962 6c65 2e62 7569  .    ansible.bui
│ │ │ -0007bb10: 6c74 696e 2e73 7973 7465 6d64 3a0a 2020  ltin.systemd:.  
│ │ │ -0007bb20: 2020 2020 6e61 6d65 3a20 7379 7374 656d      name: system
│ │ │ -0007bb30: 642d 7469 6d65 7379 6e63 640a 2020 2020  d-timesyncd.    
│ │ │ -0007bb40: 2020 656e 6162 6c65 643a 2074 7275 650a    enabled: true.
│ │ │ -0007bb50: 2020 2020 2020 7374 6174 653a 2073 7461        state: sta
│ │ │ -0007bb60: 7274 6564 0a20 2020 2020 206d 6173 6b65  rted.      maske
│ │ │ -0007bb70: 643a 2066 616c 7365 0a20 2020 2077 6865  d: false.    whe
│ │ │ -0007bb80: 6e3a 0a20 2020 202d 2027 2273 7973 7465  n:.    - '"syste
│ │ │ -0007bb90: 6d64 2220 696e 2061 6e73 6962 6c65 5f66  md" in ansible_f
│ │ │ -0007bba0: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ -0007bbb0: 2077 6865 6e3a 0a20 202d 2027 226c 696e   when:.  - '"lin
│ │ │ -0007bbc0: 7578 2d62 6173 6522 2069 6e20 616e 7369  ux-base" in ansi
│ │ │ -0007bbd0: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -0007bbe0: 6573 270a 2020 2d20 2820 6e6f 7420 2820  es'.  - ( not ( 
│ │ │ -0007bbf0: 2263 6872 6f6e 7922 2069 6e20 616e 7369  "chrony" in ansi
│ │ │ -0007bc00: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -0007bc10: 6573 2029 2061 6e64 206e 6f74 2028 2022  es ) and not ( "
│ │ │ -0007bc20: 6e74 7022 2069 6e20 616e 7369 626c 655f  ntp" in ansible_
│ │ │ -0007bc30: 6661 6374 732e 7061 636b 6167 6573 0a20  facts.packages. 
│ │ │ -0007bc40: 2020 2029 2029 0a20 2074 6167 733a 0a20     ) ).  tags:. 
│ │ │ -0007bc50: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ -0007bc60: 552d 3828 3129 2861 290a 2020 2d20 4e49  U-8(1)(a).  - NI
│ │ │ -0007bc70: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ -0007bc80: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ -0007bc90: 712d 3130 2e34 0a20 202d 2050 4349 2d44  q-10.4.  - PCI-D
│ │ │ -0007bca0: 5353 7634 2d31 302e 360a 2020 2d20 5043  SSv4-10.6.  - PC
│ │ │ -0007bcb0: 492d 4453 5376 342d 3130 2e36 2e31 0a20  I-DSSv4-10.6.1. 
│ │ │ -0007bcc0: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ -0007bcd0: 6779 0a20 202d 2068 6967 685f 7365 7665  gy.  - high_seve
│ │ │ -0007bce0: 7269 7479 0a20 202d 206c 6f77 5f63 6f6d  rity.  - low_com
│ │ │ -0007bcf0: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -0007bd00: 6469 7372 7570 7469 6f6e 0a20 202d 206e  disruption.  - n
│ │ │ -0007bd10: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -0007bd20: 2020 2d20 7365 7276 6963 655f 7469 6d65    - service_time
│ │ │ -0007bd30: 7379 6e63 645f 656e 6162 6c65 640a 3c2f  syncd_enabled.
│ │ │ +0007b450: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +0007b470: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +0007b4a0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +0007b430: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +0007b440: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +0007b460: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +0007b480: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +0007b490: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

- name: │ │ │ +0007b4e0: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack │ │ │ +0007b4f0: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack │ │ │ +0007b500: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m │ │ │ +0007b510: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t │ │ │ +0007b520: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80 │ │ │ +0007b530: 302d 3533 2d41 552d 3828 3129 2861 290a 0-53-AU-8(1)(a). │ │ │ +0007b540: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53- │ │ │ +0007b550: 434d 2d36 2861 290a 2020 2d20 5043 492d CM-6(a). - PCI- │ │ │ +0007b560: 4453 532d 5265 712d 3130 2e34 0a20 202d DSS-Req-10.4. - │ │ │ +0007b570: 2050 4349 2d44 5353 7634 2d31 302e 360a PCI-DSSv4-10.6. │ │ │ +0007b580: 2020 2d20 5043 492d 4453 5376 342d 3130 - PCI-DSSv4-10 │ │ │ +0007b590: 2e36 2e31 0a20 202d 2065 6e61 626c 655f .6.1. - enable_ │ │ │ +0007b5a0: 7374 7261 7465 6779 0a20 202d 2068 6967 strategy. - hig │ │ │ +0007b5b0: 685f 7365 7665 7269 7479 0a20 202d 206c h_severity. - l │ │ │ +0007b5c0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity. │ │ │ +0007b5d0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption │ │ │ +0007b5e0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n │ │ │ +0007b5f0: 6565 6465 640a 2020 2d20 7365 7276 6963 eeded. - servic │ │ │ +0007b600: 655f 7469 6d65 7379 6e63 645f 656e 6162 e_timesyncd_enab │ │ │ +0007b610: 6c65 640a 0a2d 206e 616d 653a 2045 6e61 led..- name: Ena │ │ │ +0007b620: 626c 6520 7379 7374 656d 645f 7469 6d65 ble systemd_time │ │ │ +0007b630: 7379 6e63 6420 5365 7276 6963 6520 2d20 syncd Service - │ │ │ +0007b640: 456e 6162 6c65 2073 6572 7669 6365 2073 Enable service s │ │ │ +0007b650: 7973 7465 6d64 2d74 696d 6573 796e 6364 ystemd-timesyncd │ │ │ +0007b660: 0a20 2062 6c6f 636b 3a0a 0a20 202d 206e . block:.. - n │ │ │ +0007b670: 616d 653a 2047 6174 6865 7220 7468 6520 ame: Gather the │ │ │ +0007b680: 7061 636b 6167 6520 6661 6374 730a 2020 package facts. │ │ │ +0007b690: 2020 7061 636b 6167 655f 6661 6374 733a package_facts: │ │ │ +0007b6a0: 0a20 2020 2020 206d 616e 6167 6572 3a20 . manager: │ │ │ +0007b6b0: 6175 746f 0a0a 2020 2d20 6e61 6d65 3a20 auto.. - name: │ │ │ +0007b6c0: 456e 6162 6c65 2073 7973 7465 6d64 5f74 Enable systemd_t │ │ │ +0007b6d0: 696d 6573 796e 6364 2053 6572 7669 6365 imesyncd Service │ │ │ +0007b6e0: 202d 2045 6e61 626c 6520 5365 7276 6963 - Enable Servic │ │ │ +0007b6f0: 6520 7379 7374 656d 642d 7469 6d65 7379 e systemd-timesy │ │ │ +0007b700: 6e63 640a 2020 2020 616e 7369 626c 652e ncd. ansible. │ │ │ +0007b710: 6275 696c 7469 6e2e 7379 7374 656d 643a builtin.systemd: │ │ │ +0007b720: 0a20 2020 2020 206e 616d 653a 2073 7973 . name: sys │ │ │ +0007b730: 7465 6d64 2d74 696d 6573 796e 6364 0a20 temd-timesyncd. │ │ │ +0007b740: 2020 2020 2065 6e61 626c 6564 3a20 7472 enabled: tr │ │ │ +0007b750: 7565 0a20 2020 2020 2073 7461 7465 3a20 ue. state: │ │ │ +0007b760: 7374 6172 7465 640a 2020 2020 2020 6d61 started. ma │ │ │ +0007b770: 736b 6564 3a20 6661 6c73 650a 2020 2020 sked: false. │ │ │ +0007b780: 7768 656e 3a0a 2020 2020 2d20 2722 7379 when:. - '"sy │ │ │ +0007b790: 7374 656d 6422 2069 6e20 616e 7369 626c stemd" in ansibl │ │ │ +0007b7a0: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages │ │ │ +0007b7b0: 270a 2020 7768 656e 3a0a 2020 2d20 2722 '. when:. - '" │ │ │ +0007b7c0: 6c69 6e75 782d 6261 7365 2220 696e 2061 linux-base" in a │ │ │ +0007b7d0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac │ │ │ +0007b7e0: 6b61 6765 7327 0a20 202d 2028 206e 6f74 kages'. - ( not │ │ │ +0007b7f0: 2028 2022 6368 726f 6e79 2220 696e 2061 ( "chrony" in a │ │ │ +0007b800: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac │ │ │ +0007b810: 6b61 6765 7320 2920 616e 6420 6e6f 7420 kages ) and not │ │ │ +0007b820: 2820 226e 7470 2220 696e 2061 6e73 6962 ( "ntp" in ansib │ │ │ +0007b830: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package │ │ │ +0007b840: 730a 2020 2020 2920 290a 2020 7461 6773 s. ) ). tags │ │ │ +0007b850: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35 :. - NIST-800-5 │ │ │ +0007b860: 332d 4155 2d38 2831 2928 6129 0a20 202d 3-AU-8(1)(a). - │ │ │ +0007b870: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM- │ │ │ +0007b880: 3628 6129 0a20 202d 2050 4349 2d44 5353 6(a). - PCI-DSS │ │ │ +0007b890: 2d52 6571 2d31 302e 340a 2020 2d20 5043 -Req-10.4. - PC │ │ │ +0007b8a0: 492d 4453 5376 342d 3130 2e36 0a20 202d I-DSSv4-10.6. - │ │ │ +0007b8b0: 2050 4349 2d44 5353 7634 2d31 302e 362e PCI-DSSv4-10.6. │ │ │ +0007b8c0: 310a 2020 2d20 656e 6162 6c65 5f73 7472 1. - enable_str │ │ │ +0007b8d0: 6174 6567 790a 2020 2d20 6869 6768 5f73 ategy. - high_s │ │ │ +0007b8e0: 6576 6572 6974 790a 2020 2d20 6c6f 775f everity. - low_ │ │ │ +0007b8f0: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l │ │ │ +0007b900: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption. │ │ │ +0007b910: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need │ │ │ +0007b920: 6564 0a20 202d 2073 6572 7669 6365 5f74 ed. - service_t │ │ │ +0007b930: 696d 6573 796e 6364 5f65 6e61 626c 6564 imesyncd_enabled │ │ │ +0007b940: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .

Remediation │ │ │ +0007ba00: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +0007ba10: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ +0007ba90: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +0007baa0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +0007bac0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +0007bad0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +0007baf0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +0007bb10: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:enable
<
│ │ │ +0007bb40: 636f 6465 3e69 6e63 6c75 6465 2065 6e61  code>include ena
│ │ │ +0007bb50: 626c 655f 7379 7374 656d 642d 7469 6d65  ble_systemd-time
│ │ │ +0007bb60: 7379 6e63 640a 0a63 6c61 7373 2065 6e61  syncd..class ena
│ │ │ +0007bb70: 626c 655f 7379 7374 656d 642d 7469 6d65  ble_systemd-time
│ │ │ +0007bb80: 7379 6e63 6420 7b0a 2020 7365 7276 6963  syncd {.  servic
│ │ │ +0007bb90: 6520 7b27 7379 7374 656d 642d 7469 6d65  e {'systemd-time
│ │ │ +0007bba0: 7379 6e63 6427 3a0a 2020 2020 656e 6162  syncd':.    enab
│ │ │ +0007bbb0: 6c65 203d 2667 743b 2074 7275 652c 0a20  le => true,. 
│ │ │ +0007bbc0: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ +0007bbd0: 2772 756e 6e69 6e67 272c 0a20 207d 0a7d  'running',.  }.}
│ │ │ +0007bbe0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +0007bca0: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin │ │ │ +0007bcb0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
.[customizati
│ │ │ +0007bd10: 6f6e 732e 7365 7276 6963 6573 5d0a 656e  ons.services].en
│ │ │ +0007bd20: 6162 6c65 6420 3d20 5b22 7379 7374 656d  abled = ["system
│ │ │ +0007bd30: 642d 7469 6d65 7379 6e63 6422 5d0a 3c2f  d-timesyncd"].
Re │ │ │ -0008a330: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil │ │ │ -0008a340: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip │ │ │ -0008a350: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -0008a360: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -0008a370: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -0008a380: 7365 2220 6964 3d22 6964 6d31 3439 3937 se" id="idm14997 │ │ │ -0008a390: 223e 3c70 7265 3e3c 636f 6465 3e0a 5b5b ">
.[[
│ │ │ -0008a3a0: 7061 636b 6167 6573 5d5d 0a6e 616d 6520  packages]].name 
│ │ │ -0008a3b0: 3d20 2261 7564 6974 6422 0a76 6572 7369  = "auditd".versi
│ │ │ -0008a3c0: 6f6e 203d 2022 2a22 0a3c 2f63 6f64 653e  on = "*".
│ │ │ -0008a3d0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ -0008a480: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -0008a490: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -0008a530: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -0008a540: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -0008a590: 3c74 723e 3c74 683e 5374 7261 7465 6779
inc
│ │ │ -0008a5d0: 6c75 6465 2069 6e73 7461 6c6c 5f61 7564  lude install_aud
│ │ │ -0008a5e0: 6974 640a 0a63 6c61 7373 2069 6e73 7461  itd..class insta
│ │ │ -0008a5f0: 6c6c 5f61 7564 6974 6420 7b0a 2020 7061  ll_auditd {.  pa
│ │ │ -0008a600: 636b 6167 6520 7b20 2761 7564 6974 6427  ckage { 'auditd'
│ │ │ -0008a610: 3a0a 2020 2020 656e 7375 7265 203d 2667  :.    ensure =&g
│ │ │ -0008a620: 743b 2027 696e 7374 616c 6c65 6427 2c0a  t; 'installed',.
│ │ │ -0008a630: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ -0008a6f0: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ -0008a700: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -0008a710: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
C │ │ │ -0008a520: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -0008a550: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -0008a560: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -0008a5a0: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ -0008a5b0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Com │ │ │ -0008a790: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -0008a7c0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -0008a7e0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -0008a7f0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -0008a810: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ -0008a830: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ -0008a840: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ -0008a850: 636b 6167 6520 6661 6374 730a 2020 7061  ckage facts.  pa
│ │ │ -0008a860: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ -0008a870: 206d 616e 6167 6572 3a20 6175 746f 0a20   manager: auto. 
│ │ │ -0008a880: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ -0008a890: 3830 302d 3533 2d41 432d 3728 6129 0a20  800-53-AC-7(a). 
│ │ │ -0008a8a0: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ -0008a8b0: 552d 3132 2832 290a 2020 2d20 4e49 5354  U-12(2).  - NIST
│ │ │ -0008a8c0: 2d38 3030 2d35 332d 4155 2d31 340a 2020  -800-53-AU-14.  
│ │ │ -0008a8d0: 2d20 4e49 5354 2d38 3030 2d35 332d 4155  - NIST-800-53-AU
│ │ │ -0008a8e0: 2d32 2861 290a 2020 2d20 4e49 5354 2d38  -2(a).  - NIST-8
│ │ │ -0008a8f0: 3030 2d35 332d 4155 2d37 2831 290a 2020  00-53-AU-7(1).  
│ │ │ -0008a900: 2d20 4e49 5354 2d38 3030 2d35 332d 4155  - NIST-800-53-AU
│ │ │ -0008a910: 2d37 2832 290a 2020 2d20 4e49 5354 2d38  -7(2).  - NIST-8
│ │ │ -0008a920: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ -0008a930: 2d20 5043 492d 4453 532d 5265 712d 3130  - PCI-DSS-Req-10
│ │ │ -0008a940: 2e31 0a20 202d 2050 4349 2d44 5353 7634  .1.  - PCI-DSSv4
│ │ │ -0008a950: 2d31 302e 320a 2020 2d20 5043 492d 4453  -10.2.  - PCI-DS
│ │ │ -0008a960: 5376 342d 3130 2e32 2e31 0a20 202d 2065  Sv4-10.2.1.  - e
│ │ │ -0008a970: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ -0008a980: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -0008a990: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -0008a9a0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ -0008a9b0: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -0008a9c0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -0008a9d0: 2d20 7061 636b 6167 655f 6175 6469 745f  - package_audit_
│ │ │ -0008a9e0: 696e 7374 616c 6c65 640a 0a2d 206e 616d  installed..- nam
│ │ │ -0008a9f0: 653a 2045 6e73 7572 6520 6175 6469 7464  e: Ensure auditd
│ │ │ -0008aa00: 2069 7320 696e 7374 616c 6c65 640a 2020   is installed.  
│ │ │ -0008aa10: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ -0008aa20: 653a 2061 7564 6974 640a 2020 2020 7374  e: auditd.    st
│ │ │ -0008aa30: 6174 653a 2070 7265 7365 6e74 0a20 2077  ate: present.  w
│ │ │ -0008aa40: 6865 6e3a 2027 226c 696e 7578 2d62 6173  hen: '"linux-bas
│ │ │ -0008aa50: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ -0008aa60: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ -0008aa70: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ -0008aa80: 3030 2d35 332d 4143 2d37 2861 290a 2020  00-53-AC-7(a).  
│ │ │ -0008aa90: 2d20 4e49 5354 2d38 3030 2d35 332d 4155  - NIST-800-53-AU
│ │ │ -0008aaa0: 2d31 3228 3229 0a20 202d 204e 4953 542d  -12(2).  - NIST-
│ │ │ -0008aab0: 3830 302d 3533 2d41 552d 3134 0a20 202d  800-53-AU-14.  -
│ │ │ -0008aac0: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ -0008aad0: 3228 6129 0a20 202d 204e 4953 542d 3830  2(a).  - NIST-80
│ │ │ -0008aae0: 302d 3533 2d41 552d 3728 3129 0a20 202d  0-53-AU-7(1).  -
│ │ │ -0008aaf0: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ -0008ab00: 3728 3229 0a20 202d 204e 4953 542d 3830  7(2).  - NIST-80
│ │ │ -0008ab10: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ -0008ab20: 2050 4349 2d44 5353 2d52 6571 2d31 302e   PCI-DSS-Req-10.
│ │ │ -0008ab30: 310a 2020 2d20 5043 492d 4453 5376 342d  1.  - PCI-DSSv4-
│ │ │ -0008ab40: 3130 2e32 0a20 202d 2050 4349 2d44 5353  10.2.  - PCI-DSS
│ │ │ -0008ab50: 7634 2d31 302e 322e 310a 2020 2d20 656e  v4-10.2.1.  - en
│ │ │ -0008ab60: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -0008ab70: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -0008ab80: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -0008ab90: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ -0008aba0: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ -0008abb0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -0008abc0: 2070 6163 6b61 6765 5f61 7564 6974 5f69   package_audit_i
│ │ │ -0008abd0: 6e73 7461 6c6c 6564 0a3c 2f63 6f64 653e  nstalled.
│ │ │ +0008a330: 6d65 6469 6174 696f 6e20 416e 7369 626c  mediation Ansibl
│ │ │ +0008a340: 6520 736e 6970 7065 7420 e287 b23c 2f61  e snippet ...
Complexity: │ │ │ +0008a420: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +0008a430: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ +0008a480: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ +0008a490: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ +0008a4a0: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ +0008a4b0: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ +0008a4c0: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ +0008a4d0: 4e49 5354 2d38 3030 2d35 332d 4143 2d37  NIST-800-53-AC-7
│ │ │ +0008a4e0: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ +0008a4f0: 2d35 332d 4155 2d31 3228 3229 0a20 202d  -53-AU-12(2).  -
│ │ │ +0008a500: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ +0008a510: 3134 0a20 202d 204e 4953 542d 3830 302d  14.  - NIST-800-
│ │ │ +0008a520: 3533 2d41 552d 3228 6129 0a20 202d 204e  53-AU-2(a).  - N
│ │ │ +0008a530: 4953 542d 3830 302d 3533 2d41 552d 3728  IST-800-53-AU-7(
│ │ │ +0008a540: 3129 0a20 202d 204e 4953 542d 3830 302d  1).  - NIST-800-
│ │ │ +0008a550: 3533 2d41 552d 3728 3229 0a20 202d 204e  53-AU-7(2).  - N
│ │ │ +0008a560: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ +0008a570: 6129 0a20 202d 2050 4349 2d44 5353 2d52  a).  - PCI-DSS-R
│ │ │ +0008a580: 6571 2d31 302e 310a 2020 2d20 5043 492d  eq-10.1.  - PCI-
│ │ │ +0008a590: 4453 5376 342d 3130 2e32 0a20 202d 2050  DSSv4-10.2.  - P
│ │ │ +0008a5a0: 4349 2d44 5353 7634 2d31 302e 322e 310a  CI-DSSv4-10.2.1.
│ │ │ +0008a5b0: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ +0008a5c0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +0008a5d0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +0008a5e0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ +0008a5f0: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ +0008a600: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +0008a610: 6564 0a20 202d 2070 6163 6b61 6765 5f61  ed.  - package_a
│ │ │ +0008a620: 7564 6974 5f69 6e73 7461 6c6c 6564 0a0a  udit_installed..
│ │ │ +0008a630: 2d20 6e61 6d65 3a20 456e 7375 7265 2061  - name: Ensure a
│ │ │ +0008a640: 7564 6974 6420 6973 2069 6e73 7461 6c6c  uditd is install
│ │ │ +0008a650: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ +0008a660: 2020 6e61 6d65 3a20 6175 6469 7464 0a20    name: auditd. 
│ │ │ +0008a670: 2020 2073 7461 7465 3a20 7072 6573 656e     state: presen
│ │ │ +0008a680: 740a 2020 7768 656e 3a20 2722 6c69 6e75  t.  when: '"linu
│ │ │ +0008a690: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ +0008a6a0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +0008a6b0: 7327 0a20 2074 6167 733a 0a20 202d 204e  s'.  tags:.  - N
│ │ │ +0008a6c0: 4953 542d 3830 302d 3533 2d41 432d 3728  IST-800-53-AC-7(
│ │ │ +0008a6d0: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ +0008a6e0: 3533 2d41 552d 3132 2832 290a 2020 2d20  53-AU-12(2).  - 
│ │ │ +0008a6f0: 4e49 5354 2d38 3030 2d35 332d 4155 2d31  NIST-800-53-AU-1
│ │ │ +0008a700: 340a 2020 2d20 4e49 5354 2d38 3030 2d35  4.  - NIST-800-5
│ │ │ +0008a710: 332d 4155 2d32 2861 290a 2020 2d20 4e49  3-AU-2(a).  - NI
│ │ │ +0008a720: 5354 2d38 3030 2d35 332d 4155 2d37 2831  ST-800-53-AU-7(1
│ │ │ +0008a730: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +0008a740: 332d 4155 2d37 2832 290a 2020 2d20 4e49  3-AU-7(2).  - NI
│ │ │ +0008a750: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +0008a760: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ +0008a770: 712d 3130 2e31 0a20 202d 2050 4349 2d44  q-10.1.  - PCI-D
│ │ │ +0008a780: 5353 7634 2d31 302e 320a 2020 2d20 5043  SSv4-10.2.  - PC
│ │ │ +0008a790: 492d 4453 5376 342d 3130 2e32 2e31 0a20  I-DSSv4-10.2.1. 
│ │ │ +0008a7a0: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ +0008a7b0: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +0008a7c0: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +0008a7d0: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +0008a7e0: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +0008a7f0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +0008a800: 640a 2020 2d20 7061 636b 6167 655f 6175  d.  - package_au
│ │ │ +0008a810: 6469 745f 696e 7374 616c 6c65 640a 3c2f  dit_installed.
Remediation Pup │ │ │ +0008a8e0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ +0008a8f0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
low
Disru │ │ │ +0008a400: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +0008a410: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +0008a450: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ +0008a460: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +0008a970: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +0008a990: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +0008a9e0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ +0008aa10: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include instal
│ │ │ +0008aa30: 6c5f 6175 6469 7464 0a0a 636c 6173 7320  l_auditd..class 
│ │ │ +0008aa40: 696e 7374 616c 6c5f 6175 6469 7464 207b  install_auditd {
│ │ │ +0008aa50: 0a20 2070 6163 6b61 6765 207b 2027 6175  .  package { 'au
│ │ │ +0008aa60: 6469 7464 273a 0a20 2020 2065 6e73 7572  ditd':.    ensur
│ │ │ +0008aa70: 6520 3d26 6774 3b20 2769 6e73 7461 6c6c  e => 'install
│ │ │ +0008aa80: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ed',.  }.}.
Re │ │ │ +0008ab40: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil │ │ │ +0008ab50: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip │ │ │ +0008ab60: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +0008ab70: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +0008ab80: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +0008ab90: 7365 2220 6964 3d22 6964 6d31 3439 3939 se" id="idm14999 │ │ │ +0008aba0: 223e 3c70 7265 3e3c 636f 6465 3e0a 5b5b ">
.[[
│ │ │ +0008abb0: 7061 636b 6167 6573 5d5d 0a6e 616d 6520  packages]].name 
│ │ │ +0008abc0: 3d20 2261 7564 6974 6422 0a76 6572 7369  = "auditd".versi
│ │ │ +0008abd0: 6f6e 203d 2022 2a22 0a3c 2f63 6f64 653e  on = "*".
│ │ │  0008abe0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Remediation O │ │ │ -0008c930: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint │ │ │ -0008c940: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -0008c950: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.[customizatio
│ │ │ -0008c9a0: 6e73 2e73 6572 7669 6365 735d 0a65 6e61  ns.services].ena
│ │ │ -0008c9b0: 626c 6564 203d 205b 2261 7564 6974 6422  bled = ["auditd"
│ │ │ -0008c9c0: 5d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  ].
< │ │ │ -0008c9d0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -0008ca80: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ -0008ca90: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -0008cb10: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ -0008cba0: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
Complexity:< │ │ │ +0008a980: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +0008a9a0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +0008a9f0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ +0008aa00: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
Complexi │ │ │ -0008cb20: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -0008cb30: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ -0008cb70: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -0008cb80: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
│ │ │ -0008cbc0: 3c63 6f64 653e 696e 636c 7564 6520 656e  include en
│ │ │ -0008cbd0: 6162 6c65 5f61 7564 6974 640a 0a63 6c61  able_auditd..cla
│ │ │ -0008cbe0: 7373 2065 6e61 626c 655f 6175 6469 7464  ss enable_auditd
│ │ │ -0008cbf0: 207b 0a20 2073 6572 7669 6365 207b 2761   {.  service {'a
│ │ │ -0008cc00: 7564 6974 6427 3a0a 2020 2020 656e 6162  uditd':.    enab
│ │ │ -0008cc10: 6c65 203d 2667 743b 2074 7275 652c 0a20  le => true,. 
│ │ │ -0008cc20: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ -0008cc30: 2772 756e 6e69 6e67 272c 0a20 207d 0a7d  'running',.  }.}
│ │ │ -0008cc40: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -0008cd00: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -0008cd10: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -0008cd90: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -0008cda0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -0008cdb0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -0008cdf0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -0008ce00: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -0008ce20: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ -0008ce40: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761  - name: Ga
│ │ │ -0008ce50: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ -0008ce60: 2066 6163 7473 0a20 2070 6163 6b61 6765   facts.  package
│ │ │ -0008ce70: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61  _facts:.    mana
│ │ │ -0008ce80: 6765 723a 2061 7574 6f0a 2020 7461 6773  ger: auto.  tags
│ │ │ -0008ce90: 3a0a 2020 2d20 434a 4953 2d35 2e34 2e31  :.  - CJIS-5.4.1
│ │ │ -0008cea0: 2e31 0a20 202d 204e 4953 542d 3830 302d  .1.  - NIST-800-
│ │ │ -0008ceb0: 3137 312d 332e 332e 310a 2020 2d20 4e49  171-3.3.1.  - NI
│ │ │ -0008cec0: 5354 2d38 3030 2d31 3731 2d33 2e33 2e32  ST-800-171-3.3.2
│ │ │ -0008ced0: 0a20 202d 204e 4953 542d 3830 302d 3137  .  - NIST-800-17
│ │ │ -0008cee0: 312d 332e 332e 360a 2020 2d20 4e49 5354  1-3.3.6.  - NIST
│ │ │ -0008cef0: 2d38 3030 2d35 332d 4143 2d32 2867 290a  -800-53-AC-2(g).
│ │ │ -0008cf00: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -0008cf10: 4143 2d36 2839 290a 2020 2d20 4e49 5354  AC-6(9).  - NIST
│ │ │ -0008cf20: 2d38 3030 2d35 332d 4155 2d31 300a 2020  -800-53-AU-10.  
│ │ │ -0008cf30: 2d20 4e49 5354 2d38 3030 2d35 332d 4155  - NIST-800-53-AU
│ │ │ -0008cf40: 2d31 3228 6329 0a20 202d 204e 4953 542d  -12(c).  - NIST-
│ │ │ -0008cf50: 3830 302d 3533 2d41 552d 3134 2831 290a  800-53-AU-14(1).
│ │ │ -0008cf60: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -0008cf70: 4155 2d32 2864 290a 2020 2d20 4e49 5354  AU-2(d).  - NIST
│ │ │ -0008cf80: 2d38 3030 2d35 332d 4155 2d33 0a20 202d  -800-53-AU-3.  -
│ │ │ -0008cf90: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -0008cfa0: 3628 6129 0a20 202d 204e 4953 542d 3830  6(a).  - NIST-80
│ │ │ -0008cfb0: 302d 3533 2d53 492d 3428 3233 290a 2020  0-53-SI-4(23).  
│ │ │ -0008cfc0: 2d20 5043 492d 4453 532d 5265 712d 3130  - PCI-DSS-Req-10
│ │ │ -0008cfd0: 2e31 0a20 202d 2050 4349 2d44 5353 7634  .1.  - PCI-DSSv4
│ │ │ -0008cfe0: 2d31 302e 320a 2020 2d20 5043 492d 4453  -10.2.  - PCI-DS
│ │ │ -0008cff0: 5376 342d 3130 2e32 2e31 0a20 202d 2065  Sv4-10.2.1.  - e
│ │ │ -0008d000: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ -0008d010: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -0008d020: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -0008d030: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ -0008d040: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -0008d050: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -0008d060: 2d20 7365 7276 6963 655f 6175 6469 7464  - service_auditd
│ │ │ -0008d070: 5f65 6e61 626c 6564 0a0a 2d20 6e61 6d65  _enabled..- name
│ │ │ -0008d080: 3a20 456e 6162 6c65 2061 7564 6974 6420  : Enable auditd 
│ │ │ -0008d090: 5365 7276 6963 6520 2d20 456e 6162 6c65  Service - Enable
│ │ │ -0008d0a0: 2073 6572 7669 6365 2061 7564 6974 640a   service auditd.
│ │ │ -0008d0b0: 2020 626c 6f63 6b3a 0a0a 2020 2d20 6e61    block:..  - na
│ │ │ -0008d0c0: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ -0008d0d0: 6163 6b61 6765 2066 6163 7473 0a20 2020  ackage facts.   
│ │ │ -0008d0e0: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ -0008d0f0: 2020 2020 2020 6d61 6e61 6765 723a 2061        manager: a
│ │ │ -0008d100: 7574 6f0a 0a20 202d 206e 616d 653a 2045  uto..  - name: E
│ │ │ -0008d110: 6e61 626c 6520 6175 6469 7464 2053 6572  nable auditd Ser
│ │ │ -0008d120: 7669 6365 202d 2045 6e61 626c 6520 5365  vice - Enable Se
│ │ │ -0008d130: 7276 6963 6520 6175 6469 7464 0a20 2020  rvice auditd.   
│ │ │ -0008d140: 2061 6e73 6962 6c65 2e62 7569 6c74 696e   ansible.builtin
│ │ │ -0008d150: 2e73 7973 7465 6d64 3a0a 2020 2020 2020  .systemd:.      
│ │ │ -0008d160: 6e61 6d65 3a20 6175 6469 7464 0a20 2020  name: auditd.   
│ │ │ -0008d170: 2020 2065 6e61 626c 6564 3a20 7472 7565     enabled: true
│ │ │ -0008d180: 0a20 2020 2020 2073 7461 7465 3a20 7374  .      state: st
│ │ │ -0008d190: 6172 7465 640a 2020 2020 2020 6d61 736b  arted.      mask
│ │ │ -0008d1a0: 6564 3a20 6661 6c73 650a 2020 2020 7768  ed: false.    wh
│ │ │ -0008d1b0: 656e 3a0a 2020 2020 2d20 2722 6175 6469  en:.    - '"audi
│ │ │ -0008d1c0: 7464 2220 696e 2061 6e73 6962 6c65 5f66  td" in ansible_f
│ │ │ -0008d1d0: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ -0008d1e0: 2077 6865 6e3a 0a20 202d 2027 226c 696e   when:.  - '"lin
│ │ │ -0008d1f0: 7578 2d62 6173 6522 2069 6e20 616e 7369  ux-base" in ansi
│ │ │ -0008d200: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -0008d210: 6573 270a 2020 2d20 2722 6175 6469 7464  es'.  - '"auditd
│ │ │ -0008d220: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ -0008d230: 7473 2e70 6163 6b61 6765 7327 0a20 2074  ts.packages'.  t
│ │ │ -0008d240: 6167 733a 0a20 202d 2043 4a49 532d 352e  ags:.  - CJIS-5.
│ │ │ -0008d250: 342e 312e 310a 2020 2d20 4e49 5354 2d38  4.1.1.  - NIST-8
│ │ │ -0008d260: 3030 2d31 3731 2d33 2e33 2e31 0a20 202d  00-171-3.3.1.  -
│ │ │ -0008d270: 204e 4953 542d 3830 302d 3137 312d 332e   NIST-800-171-3.
│ │ │ -0008d280: 332e 320a 2020 2d20 4e49 5354 2d38 3030  3.2.  - NIST-800
│ │ │ -0008d290: 2d31 3731 2d33 2e33 2e36 0a20 202d 204e  -171-3.3.6.  - N
│ │ │ -0008d2a0: 4953 542d 3830 302d 3533 2d41 432d 3228  IST-800-53-AC-2(
│ │ │ -0008d2b0: 6729 0a20 202d 204e 4953 542d 3830 302d  g).  - NIST-800-
│ │ │ -0008d2c0: 3533 2d41 432d 3628 3929 0a20 202d 204e  53-AC-6(9).  - N
│ │ │ -0008d2d0: 4953 542d 3830 302d 3533 2d41 552d 3130  IST-800-53-AU-10
│ │ │ -0008d2e0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -0008d2f0: 2d41 552d 3132 2863 290a 2020 2d20 4e49  -AU-12(c).  - NI
│ │ │ -0008d300: 5354 2d38 3030 2d35 332d 4155 2d31 3428  ST-800-53-AU-14(
│ │ │ -0008d310: 3129 0a20 202d 204e 4953 542d 3830 302d  1).  - NIST-800-
│ │ │ -0008d320: 3533 2d41 552d 3228 6429 0a20 202d 204e  53-AU-2(d).  - N
│ │ │ -0008d330: 4953 542d 3830 302d 3533 2d41 552d 330a  IST-800-53-AU-3.
│ │ │ -0008d340: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -0008d350: 434d 2d36 2861 290a 2020 2d20 4e49 5354  CM-6(a).  - NIST
│ │ │ -0008d360: 2d38 3030 2d35 332d 5349 2d34 2832 3329  -800-53-SI-4(23)
│ │ │ -0008d370: 0a20 202d 2050 4349 2d44 5353 2d52 6571  .  - PCI-DSS-Req
│ │ │ -0008d380: 2d31 302e 310a 2020 2d20 5043 492d 4453  -10.1.  - PCI-DS
│ │ │ -0008d390: 5376 342d 3130 2e32 0a20 202d 2050 4349  Sv4-10.2.  - PCI
│ │ │ -0008d3a0: 2d44 5353 7634 2d31 302e 322e 310a 2020  -DSSv4-10.2.1.  
│ │ │ -0008d3b0: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ -0008d3c0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -0008d3d0: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -0008d3e0: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ -0008d3f0: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ -0008d400: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -0008d410: 0a20 202d 2073 6572 7669 6365 5f61 7564  .  - service_aud
│ │ │ -0008d420: 6974 645f 656e 6162 6c65 640a 3c2f 636f  itd_enabled.Remediation A
│ │ │ +0008c930: 6e73 6962 6c65 2073 6e69 7070 6574 20e2  nsible snippet .
│ │ │ +0008c940: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063  ..
< │ │ │ +0008c9c0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +0008c9d0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +0008c9f0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +0008ca00: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +0008ca20: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +0008ca40: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:enable
<
│ │ │ +0008ca70: 636f 6465 3e2d 206e 616d 653a 2047 6174  code>- name: Gat
│ │ │ +0008ca80: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ +0008ca90: 6661 6374 730a 2020 7061 636b 6167 655f  facts.  package_
│ │ │ +0008caa0: 6661 6374 733a 0a20 2020 206d 616e 6167  facts:.    manag
│ │ │ +0008cab0: 6572 3a20 6175 746f 0a20 2074 6167 733a  er: auto.  tags:
│ │ │ +0008cac0: 0a20 202d 2043 4a49 532d 352e 342e 312e  .  - CJIS-5.4.1.
│ │ │ +0008cad0: 310a 2020 2d20 4e49 5354 2d38 3030 2d31  1.  - NIST-800-1
│ │ │ +0008cae0: 3731 2d33 2e33 2e31 0a20 202d 204e 4953  71-3.3.1.  - NIS
│ │ │ +0008caf0: 542d 3830 302d 3137 312d 332e 332e 320a  T-800-171-3.3.2.
│ │ │ +0008cb00: 2020 2d20 4e49 5354 2d38 3030 2d31 3731    - NIST-800-171
│ │ │ +0008cb10: 2d33 2e33 2e36 0a20 202d 204e 4953 542d  -3.3.6.  - NIST-
│ │ │ +0008cb20: 3830 302d 3533 2d41 432d 3228 6729 0a20  800-53-AC-2(g). 
│ │ │ +0008cb30: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ +0008cb40: 432d 3628 3929 0a20 202d 204e 4953 542d  C-6(9).  - NIST-
│ │ │ +0008cb50: 3830 302d 3533 2d41 552d 3130 0a20 202d  800-53-AU-10.  -
│ │ │ +0008cb60: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ +0008cb70: 3132 2863 290a 2020 2d20 4e49 5354 2d38  12(c).  - NIST-8
│ │ │ +0008cb80: 3030 2d35 332d 4155 2d31 3428 3129 0a20  00-53-AU-14(1). 
│ │ │ +0008cb90: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ +0008cba0: 552d 3228 6429 0a20 202d 204e 4953 542d  U-2(d).  - NIST-
│ │ │ +0008cbb0: 3830 302d 3533 2d41 552d 330a 2020 2d20  800-53-AU-3.  - 
│ │ │ +0008cbc0: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ +0008cbd0: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ +0008cbe0: 2d35 332d 5349 2d34 2832 3329 0a20 202d  -53-SI-4(23).  -
│ │ │ +0008cbf0: 2050 4349 2d44 5353 2d52 6571 2d31 302e   PCI-DSS-Req-10.
│ │ │ +0008cc00: 310a 2020 2d20 5043 492d 4453 5376 342d  1.  - PCI-DSSv4-
│ │ │ +0008cc10: 3130 2e32 0a20 202d 2050 4349 2d44 5353  10.2.  - PCI-DSS
│ │ │ +0008cc20: 7634 2d31 302e 322e 310a 2020 2d20 656e  v4-10.2.1.  - en
│ │ │ +0008cc30: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +0008cc40: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +0008cc50: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +0008cc60: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ +0008cc70: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +0008cc80: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +0008cc90: 2073 6572 7669 6365 5f61 7564 6974 645f   service_auditd_
│ │ │ +0008cca0: 656e 6162 6c65 640a 0a2d 206e 616d 653a  enabled..- name:
│ │ │ +0008ccb0: 2045 6e61 626c 6520 6175 6469 7464 2053   Enable auditd S
│ │ │ +0008ccc0: 6572 7669 6365 202d 2045 6e61 626c 6520  ervice - Enable 
│ │ │ +0008ccd0: 7365 7276 6963 6520 6175 6469 7464 0a20  service auditd. 
│ │ │ +0008cce0: 2062 6c6f 636b 3a0a 0a20 202d 206e 616d   block:..  - nam
│ │ │ +0008ccf0: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ +0008cd00: 636b 6167 6520 6661 6374 730a 2020 2020  ckage facts.    
│ │ │ +0008cd10: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ +0008cd20: 2020 2020 206d 616e 6167 6572 3a20 6175       manager: au
│ │ │ +0008cd30: 746f 0a0a 2020 2d20 6e61 6d65 3a20 456e  to..  - name: En
│ │ │ +0008cd40: 6162 6c65 2061 7564 6974 6420 5365 7276  able auditd Serv
│ │ │ +0008cd50: 6963 6520 2d20 456e 6162 6c65 2053 6572  ice - Enable Ser
│ │ │ +0008cd60: 7669 6365 2061 7564 6974 640a 2020 2020  vice auditd.    
│ │ │ +0008cd70: 616e 7369 626c 652e 6275 696c 7469 6e2e  ansible.builtin.
│ │ │ +0008cd80: 7379 7374 656d 643a 0a20 2020 2020 206e  systemd:.      n
│ │ │ +0008cd90: 616d 653a 2061 7564 6974 640a 2020 2020  ame: auditd.    
│ │ │ +0008cda0: 2020 656e 6162 6c65 643a 2074 7275 650a    enabled: true.
│ │ │ +0008cdb0: 2020 2020 2020 7374 6174 653a 2073 7461        state: sta
│ │ │ +0008cdc0: 7274 6564 0a20 2020 2020 206d 6173 6b65  rted.      maske
│ │ │ +0008cdd0: 643a 2066 616c 7365 0a20 2020 2077 6865  d: false.    whe
│ │ │ +0008cde0: 6e3a 0a20 2020 202d 2027 2261 7564 6974  n:.    - '"audit
│ │ │ +0008cdf0: 6422 2069 6e20 616e 7369 626c 655f 6661  d" in ansible_fa
│ │ │ +0008ce00: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ +0008ce10: 7768 656e 3a0a 2020 2d20 2722 6c69 6e75  when:.  - '"linu
│ │ │ +0008ce20: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ +0008ce30: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +0008ce40: 7327 0a20 202d 2027 2261 7564 6974 6422  s'.  - '"auditd"
│ │ │ +0008ce50: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ +0008ce60: 732e 7061 636b 6167 6573 270a 2020 7461  s.packages'.  ta
│ │ │ +0008ce70: 6773 3a0a 2020 2d20 434a 4953 2d35 2e34  gs:.  - CJIS-5.4
│ │ │ +0008ce80: 2e31 2e31 0a20 202d 204e 4953 542d 3830  .1.1.  - NIST-80
│ │ │ +0008ce90: 302d 3137 312d 332e 332e 310a 2020 2d20  0-171-3.3.1.  - 
│ │ │ +0008cea0: 4e49 5354 2d38 3030 2d31 3731 2d33 2e33  NIST-800-171-3.3
│ │ │ +0008ceb0: 2e32 0a20 202d 204e 4953 542d 3830 302d  .2.  - NIST-800-
│ │ │ +0008cec0: 3137 312d 332e 332e 360a 2020 2d20 4e49  171-3.3.6.  - NI
│ │ │ +0008ced0: 5354 2d38 3030 2d35 332d 4143 2d32 2867  ST-800-53-AC-2(g
│ │ │ +0008cee0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +0008cef0: 332d 4143 2d36 2839 290a 2020 2d20 4e49  3-AC-6(9).  - NI
│ │ │ +0008cf00: 5354 2d38 3030 2d35 332d 4155 2d31 300a  ST-800-53-AU-10.
│ │ │ +0008cf10: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +0008cf20: 4155 2d31 3228 6329 0a20 202d 204e 4953  AU-12(c).  - NIS
│ │ │ +0008cf30: 542d 3830 302d 3533 2d41 552d 3134 2831  T-800-53-AU-14(1
│ │ │ +0008cf40: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +0008cf50: 332d 4155 2d32 2864 290a 2020 2d20 4e49  3-AU-2(d).  - NI
│ │ │ +0008cf60: 5354 2d38 3030 2d35 332d 4155 2d33 0a20  ST-800-53-AU-3. 
│ │ │ +0008cf70: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +0008cf80: 4d2d 3628 6129 0a20 202d 204e 4953 542d  M-6(a).  - NIST-
│ │ │ +0008cf90: 3830 302d 3533 2d53 492d 3428 3233 290a  800-53-SI-4(23).
│ │ │ +0008cfa0: 2020 2d20 5043 492d 4453 532d 5265 712d    - PCI-DSS-Req-
│ │ │ +0008cfb0: 3130 2e31 0a20 202d 2050 4349 2d44 5353  10.1.  - PCI-DSS
│ │ │ +0008cfc0: 7634 2d31 302e 320a 2020 2d20 5043 492d  v4-10.2.  - PCI-
│ │ │ +0008cfd0: 4453 5376 342d 3130 2e32 2e31 0a20 202d  DSSv4-10.2.1.  -
│ │ │ +0008cfe0: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ +0008cff0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +0008d000: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +0008d010: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +0008d020: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +0008d030: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +0008d040: 2020 2d20 7365 7276 6963 655f 6175 6469    - service_audi
│ │ │ +0008d050: 7464 5f65 6e61 626c 6564 0a3c 2f63 6f64  td_enabled.
Re │ │ │ +0008d110: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ +0008d120: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +0008d130: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ +0008d200: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +0008d210: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
i
│ │ │ +0008d260: 6e63 6c75 6465 2065 6e61 626c 655f 6175  nclude enable_au
│ │ │ +0008d270: 6469 7464 0a0a 636c 6173 7320 656e 6162  ditd..class enab
│ │ │ +0008d280: 6c65 5f61 7564 6974 6420 7b0a 2020 7365  le_auditd {.  se
│ │ │ +0008d290: 7276 6963 6520 7b27 6175 6469 7464 273a  rvice {'auditd':
│ │ │ +0008d2a0: 0a20 2020 2065 6e61 626c 6520 3d26 6774  .    enable =>
│ │ │ +0008d2b0: 3b20 7472 7565 2c0a 2020 2020 656e 7375  ; true,.    ensu
│ │ │ +0008d2c0: 7265 203d 2667 743b 2027 7275 6e6e 696e  re => 'runnin
│ │ │ +0008d2d0: 6727 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  g',.  }.}.
Rem │ │ │ +0008d390: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild │ │ │ +0008d3a0: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp │ │ │ +0008d3b0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[cu
│ │ │ +0008d400: 7374 6f6d 697a 6174 696f 6e73 2e73 6572  stomizations.ser
│ │ │ +0008d410: 7669 6365 735d 0a65 6e61 626c 6564 203d  vices].enabled =
│ │ │ +0008d420: 205b 2261 7564 6974 6422 5d0a 3c2f 636f   ["auditd"].
< │ │ │ 0008d440: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 0008d450: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 0008d460: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 0008d470: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 0008d480: 646d 3135 3230 3122 2074 6162 696e 6465 dm15201" tabinde │ │ │ 0008d490: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ ├── html2text {} │ │ │ │ @@ -1649,31 +1649,14 @@ │ │ │ │ References: 4.4.2.4 │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _o_s_-_s_r_g SRG-OS-000479-GPOS-00224, SRG-OS-000051-GPOS-00024, │ │ │ │ SRG-OS-000480-GPOS-00227 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "rsyslog" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_rsyslog │ │ │ │ - │ │ │ │ -class install_rsyslog { │ │ │ │ - package { 'rsyslog': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -1696,14 +1679,31 @@ │ │ │ │ - NIST-800-53-CM-6(a) │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_rsyslog_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_rsyslog │ │ │ │ + │ │ │ │ +class install_rsyslog { │ │ │ │ + package { 'rsyslog': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "rsyslog" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -1734,31 +1734,14 @@ │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9, SR 6.1, │ │ │ │ SR 6.2, SR 7.1, SR 7.2 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.3, A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, │ │ │ │ A.12.7.1, A.14.2.7, A.15.2.1, A.15.2.2, A.17.2.1 │ │ │ │ _n_i_s_t CM-6(a), AU-4(1) │ │ │ │ _n_i_s_t_-_c_s_f DE.CM-1, DE.CM-3, DE.CM-7, ID.SC-4, PR.DS-4, PR.PT-1 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00227 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["rsyslog"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_rsyslog │ │ │ │ - │ │ │ │ -class enable_rsyslog { │ │ │ │ - service {'rsyslog': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -1794,14 +1777,31 @@ │ │ │ │ - NIST-800-53-CM-6(a) │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_rsyslog_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_rsyslog │ │ │ │ + │ │ │ │ +class enable_rsyslog { │ │ │ │ + service {'rsyslog': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["rsyslog"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -3598,31 +3598,14 @@ │ │ │ │ SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, │ │ │ │ A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00227 │ │ │ │ _p_c_i_d_s_s_4 2.2.6, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "cron" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_cron │ │ │ │ - │ │ │ │ -class install_cron { │ │ │ │ - package { 'cron': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -3649,14 +3632,31 @@ │ │ │ │ - PCI-DSSv4-2.2.6 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_cron_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_cron │ │ │ │ + │ │ │ │ +class install_cron { │ │ │ │ + package { 'cron': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "cron" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -3692,31 +3692,14 @@ │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 1.3, SR 1.4, SR 1.5, SR 1.6, SR 1.7, SR 1.8, SR │ │ │ │ 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR 2.5, SR 2.6, │ │ │ │ SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, │ │ │ │ A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["cron"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_cron │ │ │ │ - │ │ │ │ -class enable_cron { │ │ │ │ - service {'cron': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -3750,14 +3733,31 @@ │ │ │ │ - NIST-800-53-CM-6(a) │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_cron_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_cron │ │ │ │ + │ │ │ │ +class enable_cron { │ │ │ │ + service {'cron': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["cron"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -3800,26 +3800,14 @@ │ │ │ │ SR 2.7, SR 3.1, SR 3.5, SR 3.8, SR 4.1, SR 4.3, SR │ │ │ │ 5.1, SR 5.2, SR 5.3, SR 7.1, SR 7.6 │ │ │ │ A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1, │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.13.2.1, A.14.1.3, A.14.2.2, A.14.2.3, A.14.2.4, │ │ │ │ A.6.2.1, A.6.2.2, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_inetutils-telnetd │ │ │ │ - │ │ │ │ -class remove_inetutils-telnetd { │ │ │ │ - package { 'inetutils-telnetd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure inetutils-telnetd is removed │ │ │ │ package: │ │ │ │ @@ -3831,14 +3819,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_inetutils-telnetd_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_inetutils-telnetd │ │ │ │ + │ │ │ │ +class remove_inetutils-telnetd { │ │ │ │ + package { 'inetutils-telnetd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove inetutils-telnetd │ │ │ │ @@ -3851,26 +3851,14 @@ │ │ │ │ ****** RRuullee? ?  UUnniinnssttaallll tthhee nniiss ppaacckkaaggee ? ? _[[_rr_ee_ff_]] ****** │ │ │ │ The support for Yellowpages should not be installed unless it is required. │ │ │ │ NIS is the historical SUN service for central account management, │ │ │ │ Rationale: more and more replaced by LDAP. NIS does not support efficiently │ │ │ │ security constraints, ACL, etc. and should not be used. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_nis_removed │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_nis │ │ │ │ - │ │ │ │ -class remove_nis { │ │ │ │ - package { 'nis': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure nis is removed │ │ │ │ package: │ │ │ │ @@ -3879,14 +3867,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_nis_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_nis │ │ │ │ + │ │ │ │ +class remove_nis { │ │ │ │ + package { 'nis': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove nis │ │ │ │ @@ -3900,26 +3900,14 @@ │ │ │ │ ntpdate is a historical ntp synchronization client for unixes. It sould be │ │ │ │ uninstalled. │ │ │ │ ntpdate is an old not security-compliant ntp client. It should be │ │ │ │ Rationale: replaced by modern ntp clients such as ntpd, able to use │ │ │ │ cryptographic mechanisms integrated in NTP. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_ntpdate_removed │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_ntpdate │ │ │ │ - │ │ │ │ -class remove_ntpdate { │ │ │ │ - package { 'ntpdate': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure ntpdate is removed │ │ │ │ package: │ │ │ │ @@ -3928,14 +3916,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_ntpdate_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_ntpdate │ │ │ │ + │ │ │ │ +class remove_ntpdate { │ │ │ │ + package { 'ntpdate': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove ntpdate │ │ │ │ @@ -3966,26 +3966,14 @@ │ │ │ │ SR 2.7, SR 3.1, SR 3.5, SR 3.8, SR 4.1, SR 4.3, SR │ │ │ │ 5.1, SR 5.2, SR 5.3, SR 7.1, SR 7.6 │ │ │ │ A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1, │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.13.2.1, A.14.1.3, A.14.2.2, A.14.2.3, A.14.2.4, │ │ │ │ A.6.2.1, A.6.2.2, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_telnetd-ssl │ │ │ │ - │ │ │ │ -class remove_telnetd-ssl { │ │ │ │ - package { 'telnetd-ssl': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure telnetd-ssl is removed │ │ │ │ package: │ │ │ │ @@ -3997,14 +3985,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_telnetd-ssl_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_telnetd-ssl │ │ │ │ + │ │ │ │ +class remove_telnetd-ssl { │ │ │ │ + package { 'telnetd-ssl': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove telnetd-ssl │ │ │ │ @@ -4036,26 +4036,14 @@ │ │ │ │ SR 2.7, SR 3.1, SR 3.5, SR 3.8, SR 4.1, SR 4.3, SR │ │ │ │ 5.1, SR 5.2, SR 5.3, SR 7.1, SR 7.6 │ │ │ │ A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1, │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.13.2.1, A.14.1.3, A.14.2.2, A.14.2.3, A.14.2.4, │ │ │ │ A.6.2.1, A.6.2.2, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_telnetd │ │ │ │ - │ │ │ │ -class remove_telnetd { │ │ │ │ - package { 'telnetd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure telnetd is removed │ │ │ │ package: │ │ │ │ @@ -4067,14 +4055,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_telnetd_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_telnetd │ │ │ │ + │ │ │ │ +class remove_telnetd { │ │ │ │ + package { 'telnetd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove telnetd │ │ │ │ @@ -4149,31 +4149,14 @@ │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_0_9 4.3.3.3.9, 4.3.3.5.8, 4.3.4.4.7, 4.4.2.1, 4.4.2.2, │ │ │ │ References: 4.4.2.4 │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "ntp" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_ntp │ │ │ │ - │ │ │ │ -class install_ntp { │ │ │ │ - package { 'ntp': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -4198,14 +4181,31 @@ │ │ │ │ - PCI-DSS-Req-10.4 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_ntp_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_ntp │ │ │ │ + │ │ │ │ +class install_ntp { │ │ │ │ + package { 'ntp': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "ntp" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -4239,31 +4239,14 @@ │ │ │ │ 4.4.2.4 │ │ │ │ References: _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a), AU-8(1)(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ _p_c_i_d_s_s_4 10.6.1, 10.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["ntp"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_ntp │ │ │ │ - │ │ │ │ -class enable_ntp { │ │ │ │ - service {'ntp': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -4307,14 +4290,31 @@ │ │ │ │ - PCI-DSSv4-10.6.1 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - service_ntp_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_ntp │ │ │ │ + │ │ │ │ +class enable_ntp { │ │ │ │ + service {'ntp': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["ntp"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -4352,31 +4352,14 @@ │ │ │ │ 4.4.2.4 │ │ │ │ References: _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a), AU-8(1)(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ _p_c_i_d_s_s_4 10.6.1, 10.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["systemd-timesyncd"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_systemd-timesyncd │ │ │ │ - │ │ │ │ -class enable_systemd-timesyncd { │ │ │ │ - service {'systemd-timesyncd': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -4422,14 +4405,31 @@ │ │ │ │ - PCI-DSSv4-10.6.1 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - service_timesyncd_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_systemd-timesyncd │ │ │ │ + │ │ │ │ +class enable_systemd-timesyncd { │ │ │ │ + service {'systemd-timesyncd': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["systemd-timesyncd"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -5334,31 +5334,14 @@ │ │ │ │ 000349-GPOS-00137, SRG-OS-000350-GPOS-00138, SRG-OS- │ │ │ │ 000351-GPOS-00139, SRG-OS-000352-GPOS-00140, SRG-OS- │ │ │ │ 000353-GPOS-00141, SRG-OS-000354-GPOS-00142, SRG-OS- │ │ │ │ 000358-GPOS-00145, SRG-OS-000365-GPOS-00152, SRG-OS- │ │ │ │ 000392-GPOS-00172, SRG-OS-000475-GPOS-00220 │ │ │ │ _a_n_s_s_i R33, R73 │ │ │ │ _p_c_i_d_s_s_4 10.2.1, 10.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "auditd" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_auditd │ │ │ │ - │ │ │ │ -class install_auditd { │ │ │ │ - package { 'auditd': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -5399,14 +5382,31 @@ │ │ │ │ - PCI-DSSv4-10.2.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_audit_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_auditd │ │ │ │ + │ │ │ │ +class install_auditd { │ │ │ │ + package { 'auditd': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "auditd" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -5482,31 +5482,14 @@ │ │ │ │ SRG-OS-000358-GPOS-00145, SRG-OS-000365-GPOS-00152, │ │ │ │ SRG-OS-000392-GPOS-00172, SRG-OS-000475-GPOS-00220 │ │ │ │ SRG-APP-000095-CTR-000170, SRG-APP-000409-CTR- │ │ │ │ _a_p_p_-_s_r_g_-_c_t_r 000990, SRG-APP-000508-CTR-001300, SRG-APP-000510- │ │ │ │ CTR-001310 │ │ │ │ _a_n_s_s_i R33, R73 │ │ │ │ _p_c_i_d_s_s_4 10.2.1, 10.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["auditd"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_auditd │ │ │ │ - │ │ │ │ -class enable_auditd { │ │ │ │ - service {'auditd': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -5572,14 +5555,31 @@ │ │ │ │ - PCI-DSSv4-10.2.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_auditd_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_auditd │ │ │ │ + │ │ │ │ +class enable_auditd { │ │ │ │ + service {'auditd': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["auditd"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ ├── ./usr/share/doc/ssg-debderived/ssg-ubuntu2004-guide-cis_level1_server.html │ │ │ @@ -15095,137 +15095,137 @@ │ │ │ 0003af60: 6765 743d 2223 6964 6d32 3736 3322 2074 get="#idm2763" t │ │ │ 0003af70: 6162 696e 6465 783d 2230 2220 726f 6c65 abindex="0" role │ │ │ 0003af80: 3d22 6275 7474 6f6e 2220 6172 6961 2d65 ="button" aria-e │ │ │ 0003af90: 7870 616e 6465 643d 2266 616c 7365 2220 xpanded="false" │ │ │ 0003afa0: 7469 746c 653d 2241 6374 6976 6174 6520 title="Activate │ │ │ 0003afb0: 746f 2072 6576 6561 6c22 2068 7265 663d to reveal" href= │ │ │ 0003afc0: 2223 2122 3e52 656d 6564 6961 7469 6f6e "#!">Remediation │ │ │ -0003afd0: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ -0003afe0: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
.[[packages]]
│ │ │ -0003b040: 0a6e 616d 6520 3d20 2261 6964 6522 0a76  .name = "aide".v
│ │ │ -0003b050: 6572 7369 6f6e 203d 2022 2a22 0a3c 2f63  ersion = "*".
│ │ │ -0003b070: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 R │ │ │ -0003b110: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ -0003b120: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity:low
Disrup │ │ │ +0008d1e0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +0008d1f0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +0008d230: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +0008d240: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ -0003b200: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -0003b210: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
i
│ │ │ -0003b260: 6e63 6c75 6465 2069 6e73 7461 6c6c 5f61  nclude install_a
│ │ │ -0003b270: 6964 650a 0a63 6c61 7373 2069 6e73 7461  ide..class insta
│ │ │ -0003b280: 6c6c 5f61 6964 6520 7b0a 2020 7061 636b  ll_aide {.  pack
│ │ │ -0003b290: 6167 6520 7b20 2761 6964 6527 3a0a 2020  age { 'aide':.  
│ │ │ -0003b2a0: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ -0003b2b0: 696e 7374 616c 6c65 6427 2c0a 2020 7d0a  installed',.  }.
│ │ │ -0003b2c0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ -0003b2d0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -0003b380: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -0003b390: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
< │ │ │ -0003b410: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ -0003b450: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 enable
Complexity:low
Disrup │ │ │ -0003b1e0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -0003b1f0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -0003b230: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ -0003b240: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexit │ │ │ -0003b420: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ -0003b440: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ -0003b470: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -0003b490: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
<
│ │ │ -0003b4c0: 636f 6465 3e2d 206e 616d 653a 2047 6174  code>- name: Gat
│ │ │ -0003b4d0: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ -0003b4e0: 6661 6374 730a 2020 7061 636b 6167 655f  facts.  package_
│ │ │ -0003b4f0: 6661 6374 733a 0a20 2020 206d 616e 6167  facts:.    manag
│ │ │ -0003b500: 6572 3a20 6175 746f 0a20 2074 6167 733a  er: auto.  tags:
│ │ │ -0003b510: 0a20 202d 2043 4a49 532d 352e 3130 2e31  .  - CJIS-5.10.1
│ │ │ -0003b520: 2e33 0a20 202d 2044 4953 412d 5354 4947  .3.  - DISA-STIG
│ │ │ -0003b530: 2d55 4254 552d 3230 2d30 3130 3435 300a  -UBTU-20-010450.
│ │ │ -0003b540: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -0003b550: 434d 2d36 2861 290a 2020 2d20 5043 492d  CM-6(a).  - PCI-
│ │ │ -0003b560: 4453 532d 5265 712d 3131 2e35 0a20 202d  DSS-Req-11.5.  -
│ │ │ -0003b570: 2050 4349 2d44 5353 7634 2d31 312e 352e   PCI-DSSv4-11.5.
│ │ │ -0003b580: 320a 2020 2d20 656e 6162 6c65 5f73 7472  2.  - enable_str
│ │ │ -0003b590: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ -0003b5a0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -0003b5b0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -0003b5c0: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ -0003b5d0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -0003b5e0: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -0003b5f0: 5f61 6964 655f 696e 7374 616c 6c65 640a  _aide_installed.
│ │ │ -0003b600: 0a2d 206e 616d 653a 2045 6e73 7572 6520  .- name: Ensure 
│ │ │ -0003b610: 6169 6465 2069 7320 696e 7374 616c 6c65  aide is installe
│ │ │ -0003b620: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ -0003b630: 206e 616d 653a 2061 6964 650a 2020 2020   name: aide.    
│ │ │ -0003b640: 7374 6174 653a 2070 7265 7365 6e74 0a20  state: present. 
│ │ │ -0003b650: 2077 6865 6e3a 2027 226c 696e 7578 2d62   when: '"linux-b
│ │ │ -0003b660: 6173 6522 2069 6e20 616e 7369 626c 655f  ase" in ansible_
│ │ │ -0003b670: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -0003b680: 2020 7461 6773 3a0a 2020 2d20 434a 4953    tags:.  - CJIS
│ │ │ -0003b690: 2d35 2e31 302e 312e 330a 2020 2d20 4449  -5.10.1.3.  - DI
│ │ │ -0003b6a0: 5341 2d53 5449 472d 5542 5455 2d32 302d  SA-STIG-UBTU-20-
│ │ │ -0003b6b0: 3031 3034 3530 0a20 202d 204e 4953 542d  010450.  - NIST-
│ │ │ -0003b6c0: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ -0003b6d0: 202d 2050 4349 2d44 5353 2d52 6571 2d31   - PCI-DSS-Req-1
│ │ │ -0003b6e0: 312e 350a 2020 2d20 5043 492d 4453 5376  1.5.  - PCI-DSSv
│ │ │ -0003b6f0: 342d 3131 2e35 2e32 0a20 202d 2065 6e61  4-11.5.2.  - ena
│ │ │ -0003b700: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -0003b710: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -0003b720: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -0003b730: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -0003b740: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -0003b750: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -0003b760: 7061 636b 6167 655f 6169 6465 5f69 6e73  package_aide_ins
│ │ │ -0003b770: 7461 6c6c 6564 0a3c 2f63 6f64 653e 3c2f  talled.
│ │ │ +0003b060: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +0003b070: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +0003b080: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +0003b0c0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +0003b0d0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +0003b0f0: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ +0003b110: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761  - name: Ga
│ │ │ +0003b120: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ +0003b130: 2066 6163 7473 0a20 2070 6163 6b61 6765   facts.  package
│ │ │ +0003b140: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61  _facts:.    mana
│ │ │ +0003b150: 6765 723a 2061 7574 6f0a 2020 7461 6773  ger: auto.  tags
│ │ │ +0003b160: 3a0a 2020 2d20 434a 4953 2d35 2e31 302e  :.  - CJIS-5.10.
│ │ │ +0003b170: 312e 330a 2020 2d20 4449 5341 2d53 5449  1.3.  - DISA-STI
│ │ │ +0003b180: 472d 5542 5455 2d32 302d 3031 3034 3530  G-UBTU-20-010450
│ │ │ +0003b190: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +0003b1a0: 2d43 4d2d 3628 6129 0a20 202d 2050 4349  -CM-6(a).  - PCI
│ │ │ +0003b1b0: 2d44 5353 2d52 6571 2d31 312e 350a 2020  -DSS-Req-11.5.  
│ │ │ +0003b1c0: 2d20 5043 492d 4453 5376 342d 3131 2e35  - PCI-DSSv4-11.5
│ │ │ +0003b1d0: 2e32 0a20 202d 2065 6e61 626c 655f 7374  .2.  - enable_st
│ │ │ +0003b1e0: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +0003b1f0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +0003b200: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +0003b210: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ +0003b220: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +0003b230: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ +0003b240: 655f 6169 6465 5f69 6e73 7461 6c6c 6564  e_aide_installed
│ │ │ +0003b250: 0a0a 2d20 6e61 6d65 3a20 456e 7375 7265  ..- name: Ensure
│ │ │ +0003b260: 2061 6964 6520 6973 2069 6e73 7461 6c6c   aide is install
│ │ │ +0003b270: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ +0003b280: 2020 6e61 6d65 3a20 6169 6465 0a20 2020    name: aide.   
│ │ │ +0003b290: 2073 7461 7465 3a20 7072 6573 656e 740a   state: present.
│ │ │ +0003b2a0: 2020 7768 656e 3a20 2722 6c69 6e75 782d    when: '"linux-
│ │ │ +0003b2b0: 6261 7365 2220 696e 2061 6e73 6962 6c65  base" in ansible
│ │ │ +0003b2c0: 5f66 6163 7473 2e70 6163 6b61 6765 7327  _facts.packages'
│ │ │ +0003b2d0: 0a20 2074 6167 733a 0a20 202d 2043 4a49  .  tags:.  - CJI
│ │ │ +0003b2e0: 532d 352e 3130 2e31 2e33 0a20 202d 2044  S-5.10.1.3.  - D
│ │ │ +0003b2f0: 4953 412d 5354 4947 2d55 4254 552d 3230  ISA-STIG-UBTU-20
│ │ │ +0003b300: 2d30 3130 3435 300a 2020 2d20 4e49 5354  -010450.  - NIST
│ │ │ +0003b310: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ +0003b320: 2020 2d20 5043 492d 4453 532d 5265 712d    - PCI-DSS-Req-
│ │ │ +0003b330: 3131 2e35 0a20 202d 2050 4349 2d44 5353  11.5.  - PCI-DSS
│ │ │ +0003b340: 7634 2d31 312e 352e 320a 2020 2d20 656e  v4-11.5.2.  - en
│ │ │ +0003b350: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +0003b360: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +0003b370: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +0003b380: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ +0003b390: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +0003b3a0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +0003b3b0: 2070 6163 6b61 6765 5f61 6964 655f 696e   package_aide_in
│ │ │ +0003b3c0: 7374 616c 6c65 640a 3c2f 636f 6465 3e3c  stalled.<
│ │ │ +0003b3d0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remedi │ │ │ +0003b480: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ +0003b490: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +0003b4a0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Comp │ │ │ +0003b520: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +0003b530: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +0003b550: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +0003b570: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +0003b580: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ +0003b5c0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ +0003b5d0: 6520 696e 7374 616c 6c5f 6169 6465 0a0a e install_aide.. │ │ │ +0003b5e0: 636c 6173 7320 696e 7374 616c 6c5f 6169 class install_ai │ │ │ +0003b5f0: 6465 207b 0a20 2070 6163 6b61 6765 207b de {. package { │ │ │ +0003b600: 2027 6169 6465 273a 0a20 2020 2065 6e73 'aide':. ens │ │ │ +0003b610: 7572 6520 3d26 6774 3b20 2769 6e73 7461 ure => 'insta │ │ │ +0003b620: 6c6c 6564 272c 0a20 207d 0a7d 0a3c 2f63 lled',. }.}.
│ │ │ +0003b640: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 R │ │ │ +0003b6e0: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui │ │ │ +0003b6f0: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni │ │ │ +0003b700: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +0003b710: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
.[[
│ │ │ +0003b750: 7061 636b 6167 6573 5d5d 0a6e 616d 6520  packages]].name 
│ │ │ +0003b760: 3d20 2261 6964 6522 0a76 6572 7369 6f6e  = "aide".version
│ │ │ +0003b770: 203d 2022 2a22 0a3c 2f63 6f64 653e 3c2f   = "*".
R │ │ │ -00041470: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ -00041480: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
< │ │ │ -00041560: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -00041570: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -000415c0: 696e 636c 7564 6520 7265 6d6f 7665 5f70  include remove_p
│ │ │ -000415d0: 7265 6c69 6e6b 0a0a 636c 6173 7320 7265  relink..class re
│ │ │ -000415e0: 6d6f 7665 5f70 7265 6c69 6e6b 207b 0a20  move_prelink {. 
│ │ │ -000415f0: 2070 6163 6b61 6765 207b 2027 7072 656c   package { 'prel
│ │ │ -00041600: 696e 6b27 3a0a 2020 2020 656e 7375 7265  ink':.    ensure
│ │ │ -00041610: 203d 2667 743b 2027 7075 7267 6564 272c   => 'purged',
│ │ │ -00041620: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.Remedia
│ │ │ -000416e0: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69  tion Ansible sni
│ │ │ -000416f0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e  ppet ...
│ │ │ -00041700: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Complexity:low
Disrup │ │ │ -00041540: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -00041550: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -00041590: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -000415a0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -000417a0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -000417f0: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ -00041830: 6e61 6d65 3a20 4368 6563 6b20 4966 2050  name: Check If P
│ │ │ -00041840: 7265 6c69 6e6b 6564 2049 7320 496e 7374  relinked Is Inst
│ │ │ -00041850: 616c 6c65 640a 2020 616e 7369 626c 652e  alled.  ansible.
│ │ │ -00041860: 6275 696c 7469 6e2e 7374 6174 3a0a 2020  builtin.stat:.  
│ │ │ -00041870: 2020 7061 7468 3a20 2f75 7372 2f73 6269    path: /usr/sbi
│ │ │ -00041880: 6e2f 7072 656c 696e 6b0a 2020 2020 6765  n/prelink.    ge
│ │ │ -00041890: 745f 6368 6563 6b73 756d 3a20 6661 6c73  t_checksum: fals
│ │ │ -000418a0: 650a 2020 7265 6769 7374 6572 3a20 7072  e.  register: pr
│ │ │ -000418b0: 656c 696e 6b0a 2020 7461 6773 3a0a 2020  elink.  tags:.  
│ │ │ -000418c0: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ -000418d0: 6779 0a20 202d 206c 6f77 5f64 6973 7275  gy.  - low_disru
│ │ │ -000418e0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -000418f0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -00041900: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ -00041910: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -00041920: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -00041930: 5f70 7265 6c69 6e6b 5f72 656d 6f76 6564  _prelink_removed
│ │ │ -00041940: 0a0a 2d20 6e61 6d65 3a20 5265 7374 6f72  ..- name: Restor
│ │ │ -00041950: 6520 5072 656c 696e 6b65 6420 4269 6e61  e Prelinked Bina
│ │ │ -00041960: 7269 6573 0a20 2061 6e73 6962 6c65 2e62  ries.  ansible.b
│ │ │ -00041970: 7569 6c74 696e 2e63 6f6d 6d61 6e64 3a0a  uiltin.command:.
│ │ │ -00041980: 2020 2020 636d 643a 2070 7265 6c69 6e6b      cmd: prelink
│ │ │ -00041990: 202d 7561 0a20 2077 6865 6e3a 2070 7265   -ua.  when: pre
│ │ │ -000419a0: 6c69 6e6b 2e73 7461 742e 6578 6973 7473  link.stat.exists
│ │ │ -000419b0: 0a20 2074 6167 733a 0a20 202d 2064 6973  .  tags:.  - dis
│ │ │ -000419c0: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -000419d0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -000419e0: 0a20 202d 206d 6564 6975 6d5f 636f 6d70  .  - medium_comp
│ │ │ -000419f0: 6c65 7869 7479 0a20 202d 206d 6564 6975  lexity.  - mediu
│ │ │ -00041a00: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ -00041a10: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -00041a20: 2020 2d20 7061 636b 6167 655f 7072 656c    - package_prel
│ │ │ -00041a30: 696e 6b5f 7265 6d6f 7665 640a 0a2d 206e  ink_removed..- n
│ │ │ -00041a40: 616d 653a 2045 6e73 7572 6520 7072 656c  ame: Ensure prel
│ │ │ -00041a50: 696e 6b20 6973 2052 656d 6f76 6564 0a20  ink is Removed. 
│ │ │ -00041a60: 2061 6e73 6962 6c65 2e62 7569 6c74 696e   ansible.builtin
│ │ │ -00041a70: 2e70 6163 6b61 6765 3a0a 2020 2020 6e61  .package:.    na
│ │ │ -00041a80: 6d65 3a20 7072 656c 696e 6b0a 2020 2020  me: prelink.    
│ │ │ -00041a90: 7374 6174 653a 2061 6273 656e 740a 2020  state: absent.  
│ │ │ -00041aa0: 7461 6773 3a0a 2020 2d20 6469 7361 626c  tags:.  - disabl
│ │ │ -00041ab0: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ -00041ac0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -00041ad0: 2d20 6d65 6469 756d 5f63 6f6d 706c 6578  - medium_complex
│ │ │ -00041ae0: 6974 790a 2020 2d20 6d65 6469 756d 5f73  ity.  - medium_s
│ │ │ -00041af0: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ -00041b00: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -00041b10: 2070 6163 6b61 6765 5f70 7265 6c69 6e6b   package_prelink
│ │ │ -00041b20: 5f72 656d 6f76 6564 0a3c 2f63 6f64 653e  _removed.
│ │ │ +00041470: 656d 6564 6961 7469 6f6e 2041 6e73 6962  emediation Ansib
│ │ │ +00041480: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f  le snippet ...
Comp │ │ │ -00041780: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -00041790: 6d65 6469 756d 3c2f 7464 3e3c 2f74 723e medium
Disrupti │ │ │ -000417b0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -000417c0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -00041800: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -00041810: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexity:low< │ │ │ +00041560: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>
medium
Di │ │ │ +00041540: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ +00041590: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +000415a0: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Chec
│ │ │ +000415d0: 6b20 4966 2050 7265 6c69 6e6b 6564 2049  k If Prelinked I
│ │ │ +000415e0: 7320 496e 7374 616c 6c65 640a 2020 616e  s Installed.  an
│ │ │ +000415f0: 7369 626c 652e 6275 696c 7469 6e2e 7374  sible.builtin.st
│ │ │ +00041600: 6174 3a0a 2020 2020 7061 7468 3a20 2f75  at:.    path: /u
│ │ │ +00041610: 7372 2f73 6269 6e2f 7072 656c 696e 6b0a  sr/sbin/prelink.
│ │ │ +00041620: 2020 2020 6765 745f 6368 6563 6b73 756d      get_checksum
│ │ │ +00041630: 3a20 6661 6c73 650a 2020 7265 6769 7374  : false.  regist
│ │ │ +00041640: 6572 3a20 7072 656c 696e 6b0a 2020 7461  er: prelink.  ta
│ │ │ +00041650: 6773 3a0a 2020 2d20 6469 7361 626c 655f  gs:.  - disable_
│ │ │ +00041660: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ +00041670: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +00041680: 6d65 6469 756d 5f63 6f6d 706c 6578 6974  medium_complexit
│ │ │ +00041690: 790a 2020 2d20 6d65 6469 756d 5f73 6576  y.  - medium_sev
│ │ │ +000416a0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +000416b0: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ +000416c0: 6163 6b61 6765 5f70 7265 6c69 6e6b 5f72  ackage_prelink_r
│ │ │ +000416d0: 656d 6f76 6564 0a0a 2d20 6e61 6d65 3a20  emoved..- name: 
│ │ │ +000416e0: 5265 7374 6f72 6520 5072 656c 696e 6b65  Restore Prelinke
│ │ │ +000416f0: 6420 4269 6e61 7269 6573 0a20 2061 6e73  d Binaries.  ans
│ │ │ +00041700: 6962 6c65 2e62 7569 6c74 696e 2e63 6f6d  ible.builtin.com
│ │ │ +00041710: 6d61 6e64 3a0a 2020 2020 636d 643a 2070  mand:.    cmd: p
│ │ │ +00041720: 7265 6c69 6e6b 202d 7561 0a20 2077 6865  relink -ua.  whe
│ │ │ +00041730: 6e3a 2070 7265 6c69 6e6b 2e73 7461 742e  n: prelink.stat.
│ │ │ +00041740: 6578 6973 7473 0a20 2074 6167 733a 0a20  exists.  tags:. 
│ │ │ +00041750: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ +00041760: 6567 790a 2020 2d20 6c6f 775f 6469 7372  egy.  - low_disr
│ │ │ +00041770: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +00041780: 6d5f 636f 6d70 6c65 7869 7479 0a20 202d  m_complexity.  -
│ │ │ +00041790: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ +000417a0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +000417b0: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ +000417c0: 655f 7072 656c 696e 6b5f 7265 6d6f 7665  e_prelink_remove
│ │ │ +000417d0: 640a 0a2d 206e 616d 653a 2045 6e73 7572  d..- name: Ensur
│ │ │ +000417e0: 6520 7072 656c 696e 6b20 6973 2052 656d  e prelink is Rem
│ │ │ +000417f0: 6f76 6564 0a20 2061 6e73 6962 6c65 2e62  oved.  ansible.b
│ │ │ +00041800: 7569 6c74 696e 2e70 6163 6b61 6765 3a0a  uiltin.package:.
│ │ │ +00041810: 2020 2020 6e61 6d65 3a20 7072 656c 696e      name: prelin
│ │ │ +00041820: 6b0a 2020 2020 7374 6174 653a 2061 6273  k.    state: abs
│ │ │ +00041830: 656e 740a 2020 7461 6773 3a0a 2020 2d20  ent.  tags:.  - 
│ │ │ +00041840: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ +00041850: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +00041860: 696f 6e0a 2020 2d20 6d65 6469 756d 5f63  ion.  - medium_c
│ │ │ +00041870: 6f6d 706c 6578 6974 790a 2020 2d20 6d65  omplexity.  - me
│ │ │ +00041880: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ +00041890: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +000418a0: 6564 0a20 202d 2070 6163 6b61 6765 5f70  ed.  - package_p
│ │ │ +000418b0: 7265 6c69 6e6b 5f72 656d 6f76 6564 0a3c  relink_removed.<
│ │ │ +000418c0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pup │ │ │ +00041980: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ +00041990: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
< │ │ │ +00041a10: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +00041a30: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +00041a80: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +00041ab0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include remove
│ │ │ +00041ad0: 5f70 7265 6c69 6e6b 0a0a 636c 6173 7320  _prelink..class 
│ │ │ +00041ae0: 7265 6d6f 7665 5f70 7265 6c69 6e6b 207b  remove_prelink {
│ │ │ +00041af0: 0a20 2070 6163 6b61 6765 207b 2027 7072  .  package { 'pr
│ │ │ +00041b00: 656c 696e 6b27 3a0a 2020 2020 656e 7375  elink':.    ensu
│ │ │ +00041b10: 7265 203d 2667 743b 2027 7075 7267 6564  re => 'purged
│ │ │ +00041b20: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │  00041b30: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Remedi │ │ │ -00044150: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ -00044160: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -00044170: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
low
Disr │ │ │ +00041a40: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +00041a50: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +00041a90: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +00041aa0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
Comp │ │ │ -000441f0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -00044200: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -00044220: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -00044240: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -00044250: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ -00044290: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -000442a0: 6465 2072 656d 6f76 655f 6764 6d33 0a0a  de remove_gdm3..
│ │ │ -000442b0: 636c 6173 7320 7265 6d6f 7665 5f67 646d  class remove_gdm
│ │ │ -000442c0: 3320 7b0a 2020 7061 636b 6167 6520 7b20  3 {.  package { 
│ │ │ -000442d0: 2767 646d 3327 3a0a 2020 2020 656e 7375  'gdm3':.    ensu
│ │ │ -000442e0: 7265 203d 2667 743b 2027 7075 7267 6564  re => 'purged
│ │ │ -000442f0: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │ -00044300: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Remed │ │ │ -000443b0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s │ │ │ -000443c0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
low< │ │ │ -00044470: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -000444c0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ -00044500: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ -00044510: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ -00044520: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ -00044530: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ -00044540: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ -00044550: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ -00044560: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -00044570: 2d43 4d2d 3728 6129 0a20 202d 204e 4953  -CM-7(a).  - NIS
│ │ │ -00044580: 542d 3830 302d 3533 2d43 4d2d 3728 6229  T-800-53-CM-7(b)
│ │ │ -00044590: 0a20 202d 2064 6973 6162 6c65 5f73 7472  .  - disable_str
│ │ │ -000445a0: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ -000445b0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -000445c0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -000445d0: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ -000445e0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -000445f0: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -00044600: 5f67 646d 5f72 656d 6f76 6564 0a0a 2d20  _gdm_removed..- 
│ │ │ -00044610: 6e61 6d65 3a20 456e 7375 7265 2067 646d  name: Ensure gdm
│ │ │ -00044620: 3320 6973 2072 656d 6f76 6564 0a20 2070  3 is removed.  p
│ │ │ -00044630: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65  ackage:.    name
│ │ │ -00044640: 3a20 6764 6d33 0a20 2020 2073 7461 7465  : gdm3.    state
│ │ │ -00044650: 3a20 6162 7365 6e74 0a20 2077 6865 6e3a  : absent.  when:
│ │ │ -00044660: 2027 2267 646d 3322 2069 6e20 616e 7369   '"gdm3" in ansi
│ │ │ -00044670: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -00044680: 6573 270a 2020 7461 6773 3a0a 2020 2d20  es'.  tags:.  - 
│ │ │ -00044690: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ -000446a0: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ -000446b0: 2d35 332d 434d 2d37 2861 290a 2020 2d20  -53-CM-7(a).  - 
│ │ │ -000446c0: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ -000446d0: 2862 290a 2020 2d20 6469 7361 626c 655f  (b).  - disable_
│ │ │ -000446e0: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -000446f0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -00044700: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -00044710: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ -00044720: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -00044730: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ -00044740: 6167 655f 6764 6d5f 7265 6d6f 7665 640a  age_gdm_removed.
│ │ │ +00044150: 6174 696f 6e20 416e 7369 626c 6520 736e  ation Ansible sn
│ │ │ +00044160: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
Co │ │ │ -00044450: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -00044480: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -000444a0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -000444b0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -000444d0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -000444e0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Com │ │ │ +000441f0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +00044220: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +00044240: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +00044250: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +00044270: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +00044280: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +000442a0: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ +000442b0: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ +000442c0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ +000442d0: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ +000442e0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ +000442f0: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ +00044300: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +00044310: 434d 2d37 2861 290a 2020 2d20 4e49 5354  CM-7(a).  - NIST
│ │ │ +00044320: 2d38 3030 2d35 332d 434d 2d37 2862 290a  -800-53-CM-7(b).
│ │ │ +00044330: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ +00044340: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +00044350: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +00044360: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ +00044370: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ +00044380: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +00044390: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ +000443a0: 6764 6d5f 7265 6d6f 7665 640a 0a2d 206e  gdm_removed..- n
│ │ │ +000443b0: 616d 653a 2045 6e73 7572 6520 6764 6d33  ame: Ensure gdm3
│ │ │ +000443c0: 2069 7320 7265 6d6f 7665 640a 2020 7061   is removed.  pa
│ │ │ +000443d0: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ +000443e0: 2067 646d 330a 2020 2020 7374 6174 653a   gdm3.    state:
│ │ │ +000443f0: 2061 6273 656e 740a 2020 7768 656e 3a20   absent.  when: 
│ │ │ +00044400: 2722 6764 6d33 2220 696e 2061 6e73 6962  '"gdm3" in ansib
│ │ │ +00044410: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +00044420: 7327 0a20 2074 6167 733a 0a20 202d 204e  s'.  tags:.  - N
│ │ │ +00044430: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ +00044440: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ +00044450: 3533 2d43 4d2d 3728 6129 0a20 202d 204e  53-CM-7(a).  - N
│ │ │ +00044460: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ +00044470: 6229 0a20 202d 2064 6973 6162 6c65 5f73  b).  - disable_s
│ │ │ +00044480: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ +00044490: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ +000444a0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ +000444b0: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ +000444c0: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ +000444d0: 6e65 6564 6564 0a20 202d 2070 6163 6b61  needed.  - packa
│ │ │ +000444e0: 6765 5f67 646d 5f72 656d 6f76 6564 0a3c  ge_gdm_removed.<
│ │ │ +000444f0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pup │ │ │ +000445b0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ +000445c0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
< │ │ │ +00044640: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +00044660: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +000446b0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +000446e0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include remove
│ │ │ +00044700: 5f67 646d 330a 0a63 6c61 7373 2072 656d  _gdm3..class rem
│ │ │ +00044710: 6f76 655f 6764 6d33 207b 0a20 2070 6163  ove_gdm3 {.  pac
│ │ │ +00044720: 6b61 6765 207b 2027 6764 6d33 273a 0a20  kage { 'gdm3':. 
│ │ │ +00044730: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ +00044740: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a  'purged',.  }.}.
│ │ │  00044750: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
R │ │ │ -00045be0: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui │ │ │ -00045bf0: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni │ │ │ -00045c00: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -00045c10: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
.[[
│ │ │ -00045c50: 7061 636b 6167 6573 5d5d 0a6e 616d 6520  packages]].name 
│ │ │ -00045c60: 3d20 2273 7564 6f22 0a76 6572 7369 6f6e  = "sudo".version
│ │ │ -00045c70: 203d 2022 2a22 0a3c 2f63 6f64 653e 3c2f   = "*".
Remedia │ │ │ -00045d30: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ -00045d40: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -00045d50: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -00045d60: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -00045d70: 7365 2220 6964 3d22 6964 6d33 3935 3322 se" id="idm3953" │ │ │ -00045d80: 3e3c 7461 626c 6520 636c 6173 733d 2274 >
low
Disr │ │ │ +00044670: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +00044680: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +000446c0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +000446d0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
│ │ │ -00045df0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -00045e10: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -00045e40: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -00045dd0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -00045de0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -00045e00: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -00045e20: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -00045e30: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

include │ │ │ -00045e80: 2069 6e73 7461 6c6c 5f73 7564 6f0a 0a63 install_sudo..c │ │ │ -00045e90: 6c61 7373 2069 6e73 7461 6c6c 5f73 7564 lass install_sud │ │ │ -00045ea0: 6f20 7b0a 2020 7061 636b 6167 6520 7b20 o {. package { │ │ │ -00045eb0: 2773 7564 6f27 3a0a 2020 2020 656e 7375 'sudo':. ensu │ │ │ -00045ec0: 7265 203d 2667 743b 2027 696e 7374 616c re => 'instal │ │ │ -00045ed0: 6c65 6427 2c0a 2020 7d0a 7d0a 3c2f 636f led',. }.}.

< │ │ │ -00045ef0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -00045f00: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -00045f10: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -00045f20: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -00045f30: 646d 3339 3534 2220 7461 6269 6e64 6578 dm3954" tabindex │ │ │ -00045f40: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ -00045f50: 6e22 2061 7269 612d 6578 7061 6e64 6564 n" aria-expanded │ │ │ -00045f60: 3d22 6661 6c73 6522 2074 6974 6c65 3d22 ="false" title=" │ │ │ -00045f70: 4163 7469 7661 7465 2074 6f20 7265 7665 Activate to reve │ │ │ -00045f80: 616c 2220 6872 6566 3d22 2321 223e 5265 al" href="#!">Re │ │ │ -00045f90: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -00045fa0: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
< │ │ │ -00046080: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -00046090: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
-
│ │ │ -000460e0: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ -000460f0: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ -00046100: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ -00046110: 0a20 2020 206d 616e 6167 6572 3a20 6175  .    manager: au
│ │ │ -00046120: 746f 0a20 2074 6167 733a 0a20 202d 204e  to.  tags:.  - N
│ │ │ -00046130: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -00046140: 6129 0a20 202d 2050 4349 2d44 5353 7634  a).  - PCI-DSSv4
│ │ │ -00046150: 2d32 2e32 0a20 202d 2050 4349 2d44 5353  -2.2.  - PCI-DSS
│ │ │ -00046160: 7634 2d32 2e32 2e36 0a20 202d 2065 6e61  v4-2.2.6.  - ena
│ │ │ -00046170: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -00046180: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -00046190: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -000461a0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -000461b0: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -000461c0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -000461d0: 7061 636b 6167 655f 7375 646f 5f69 6e73  package_sudo_ins
│ │ │ -000461e0: 7461 6c6c 6564 0a0a 2d20 6e61 6d65 3a20  talled..- name: 
│ │ │ -000461f0: 456e 7375 7265 2073 7564 6f20 6973 2069  Ensure sudo is i
│ │ │ -00046200: 6e73 7461 6c6c 6564 0a20 2070 6163 6b61  nstalled.  packa
│ │ │ -00046210: 6765 3a0a 2020 2020 6e61 6d65 3a20 7375  ge:.    name: su
│ │ │ -00046220: 646f 0a20 2020 2073 7461 7465 3a20 7072  do.    state: pr
│ │ │ -00046230: 6573 656e 740a 2020 7768 656e 3a20 2722  esent.  when: '"
│ │ │ -00046240: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ -00046250: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ -00046260: 6b61 6765 7327 0a20 2074 6167 733a 0a20  kages'.  tags:. 
│ │ │ -00046270: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -00046280: 4d2d 3628 6129 0a20 202d 2050 4349 2d44  M-6(a).  - PCI-D
│ │ │ -00046290: 5353 7634 2d32 2e32 0a20 202d 2050 4349  SSv4-2.2.  - PCI
│ │ │ -000462a0: 2d44 5353 7634 2d32 2e32 2e36 0a20 202d  -DSSv4-2.2.6.  -
│ │ │ -000462b0: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ -000462c0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -000462d0: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -000462e0: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ -000462f0: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ -00046300: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -00046310: 2020 2d20 7061 636b 6167 655f 7375 646f    - package_sudo
│ │ │ -00046320: 5f69 6e73 7461 6c6c 6564 0a3c 2f63 6f64  _installed.
Complexity:low
Disrup │ │ │ -00046060: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -00046070: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -000460b0: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ -000460c0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexity: │ │ │ +00045cd0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +00045ce0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ +00045d30: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ +00045d40: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ +00045d50: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ +00045d60: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ +00045d70: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ +00045d80: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ +00045d90: 2861 290a 2020 2d20 5043 492d 4453 5376  (a).  - PCI-DSSv
│ │ │ +00045da0: 342d 322e 320a 2020 2d20 5043 492d 4453  4-2.2.  - PCI-DS
│ │ │ +00045db0: 5376 342d 322e 322e 360a 2020 2d20 656e  Sv4-2.2.6.  - en
│ │ │ +00045dc0: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +00045dd0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +00045de0: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +00045df0: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ +00045e00: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +00045e10: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +00045e20: 2070 6163 6b61 6765 5f73 7564 6f5f 696e   package_sudo_in
│ │ │ +00045e30: 7374 616c 6c65 640a 0a2d 206e 616d 653a  stalled..- name:
│ │ │ +00045e40: 2045 6e73 7572 6520 7375 646f 2069 7320   Ensure sudo is 
│ │ │ +00045e50: 696e 7374 616c 6c65 640a 2020 7061 636b  installed.  pack
│ │ │ +00045e60: 6167 653a 0a20 2020 206e 616d 653a 2073  age:.    name: s
│ │ │ +00045e70: 7564 6f0a 2020 2020 7374 6174 653a 2070  udo.    state: p
│ │ │ +00045e80: 7265 7365 6e74 0a20 2077 6865 6e3a 2027  resent.  when: '
│ │ │ +00045e90: 226c 696e 7578 2d62 6173 6522 2069 6e20  "linux-base" in 
│ │ │ +00045ea0: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ +00045eb0: 636b 6167 6573 270a 2020 7461 6773 3a0a  ckages'.  tags:.
│ │ │ +00045ec0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +00045ed0: 434d 2d36 2861 290a 2020 2d20 5043 492d  CM-6(a).  - PCI-
│ │ │ +00045ee0: 4453 5376 342d 322e 320a 2020 2d20 5043  DSSv4-2.2.  - PC
│ │ │ +00045ef0: 492d 4453 5376 342d 322e 322e 360a 2020  I-DSSv4-2.2.6.  
│ │ │ +00045f00: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ +00045f10: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +00045f20: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +00045f30: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ +00045f40: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ +00045f50: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +00045f60: 0a20 202d 2070 6163 6b61 6765 5f73 7564  .  - package_sud
│ │ │ +00045f70: 6f5f 696e 7374 616c 6c65 640a 3c2f 636f  o_installed.
< │ │ │ +00045f90: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +00045fa0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +00045fb0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +00045fc0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +00045fd0: 646d 3339 3533 2220 7461 6269 6e64 6578 dm3953" tabindex │ │ │ +00045fe0: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ +00045ff0: 6e22 2061 7269 612d 6578 7061 6e64 6564 n" aria-expanded │ │ │ +00046000: 3d22 6661 6c73 6522 2074 6974 6c65 3d22 ="false" title=" │ │ │ +00046010: 4163 7469 7661 7465 2074 6f20 7265 7665 Activate to reve │ │ │ +00046020: 616c 2220 6872 6566 3d22 2321 223e 5265 al" href="#!">Re │ │ │ +00046030: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ +00046040: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +00046050: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
low
Disru │ │ │ +00045cb0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +00045cc0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +00045d00: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ +00045d10: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +000460e0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
in
│ │ │ +00046180: 636c 7564 6520 696e 7374 616c 6c5f 7375  clude install_su
│ │ │ +00046190: 646f 0a0a 636c 6173 7320 696e 7374 616c  do..class instal
│ │ │ +000461a0: 6c5f 7375 646f 207b 0a20 2070 6163 6b61  l_sudo {.  packa
│ │ │ +000461b0: 6765 207b 2027 7375 646f 273a 0a20 2020  ge { 'sudo':.   
│ │ │ +000461c0: 2065 6e73 7572 6520 3d26 6774 3b20 2769   ensure => 'i
│ │ │ +000461d0: 6e73 7461 6c6c 6564 272c 0a20 207d 0a7d  nstalled',.  }.}
│ │ │ +000461e0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation O │ │ │ +000462a0: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint │ │ │ +000462b0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +000462c0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.[[packages]].n
│ │ │ +00046310: 616d 6520 3d20 2273 7564 6f22 0a76 6572  ame = "sudo".ver
│ │ │ +00046320: 7369 6f6e 203d 2022 2a22 0a3c 2f63 6f64  sion = "*".
Remediat │ │ │ -000733e0: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue │ │ │ -000733f0: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet .. │ │ │ -00073400: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
│ │ │ -00073440: 3c63 6f64 653e 0a5b 5b70 6163 6b61 6765  .[[package
│ │ │ -00073450: 735d 5d0a 6e61 6d65 203d 2022 6c69 6270  s]].name = "libp
│ │ │ -00073460: 616d 2d70 7771 7561 6c69 7479 220a 7665  am-pwquality".ve
│ │ │ -00073470: 7273 696f 6e20 3d20 222a 220a 3c2f 636f  rsion = "*".
< │ │ │ -00073490: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -000734a0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -000734b0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -000734c0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -000734d0: 646d 3438 3735 2220 7461 6269 6e64 6578 dm4875" tabindex │ │ │ -000734e0: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ -000734f0: 6e22 2061 7269 612d 6578 7061 6e64 6564 n" aria-expanded │ │ │ -00073500: 3d22 6661 6c73 6522 2074 6974 6c65 3d22 ="false" title=" │ │ │ -00073510: 4163 7469 7661 7465 2074 6f20 7265 7665 Activate to reve │ │ │ -00073520: 616c 2220 6872 6566 3d22 2321 223e 5265 al" href="#!">Re │ │ │ -00073530: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -00073540: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -00073550: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
│ │ │ +000460d0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +00046100: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +00046110: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +00046150: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ +00046160: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
│ │ │ -000735e0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
in
│ │ │ -00073680: 636c 7564 6520 696e 7374 616c 6c5f 6c69  clude install_li
│ │ │ -00073690: 6270 616d 2d70 7771 7561 6c69 7479 0a0a  bpam-pwquality..
│ │ │ -000736a0: 636c 6173 7320 696e 7374 616c 6c5f 6c69  class install_li
│ │ │ -000736b0: 6270 616d 2d70 7771 7561 6c69 7479 207b  bpam-pwquality {
│ │ │ -000736c0: 0a20 2070 6163 6b61 6765 207b 2027 6c69  .  package { 'li
│ │ │ -000736d0: 6270 616d 2d70 7771 7561 6c69 7479 273a  bpam-pwquality':
│ │ │ -000736e0: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ -000736f0: 3b20 2769 6e73 7461 6c6c 6564 272c 0a20  ; 'installed',. 
│ │ │ -00073700: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.Remediati
│ │ │ -000737c0: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070  on Ansible snipp
│ │ │ -000737d0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64  et ...
│ │ │ -00073810: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
│ │ │ -000735d0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -00073600: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -00073610: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -00073650: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ -00073660: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
< │ │ │ -00073880: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -000738a0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -000738d0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -000738f0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -00073860: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -00073870: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -000738b0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -000738c0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
- name: │ │ │ -00073910: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ -00073920: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ -00073930: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ -00073940: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ -00073950: 6773 3a0a 2020 2d20 4449 5341 2d53 5449 gs:. - DISA-STI │ │ │ -00073960: 472d 5542 5455 2d32 302d 3031 3030 3537 G-UBTU-20-010057 │ │ │ -00073970: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra │ │ │ -00073980: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com │ │ │ -00073990: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_ │ │ │ -000739a0: 6469 7372 7570 7469 6f6e 0a20 202d 206d disruption. - m │ │ │ -000739b0: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity. │ │ │ -000739c0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee │ │ │ -000739d0: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_ │ │ │ -000739e0: 7061 6d5f 7077 7175 616c 6974 795f 696e pam_pwquality_in │ │ │ -000739f0: 7374 616c 6c65 640a 0a2d 206e 616d 653a stalled..- name: │ │ │ -00073a00: 2045 6e73 7572 6520 6c69 6270 616d 2d70 Ensure libpam-p │ │ │ -00073a10: 7771 7561 6c69 7479 2069 7320 696e 7374 wquality is inst │ │ │ -00073a20: 616c 6c65 640a 2020 7061 636b 6167 653a alled. package: │ │ │ -00073a30: 0a20 2020 206e 616d 653a 206c 6962 7061 . name: libpa │ │ │ -00073a40: 6d2d 7077 7175 616c 6974 790a 2020 2020 m-pwquality. │ │ │ -00073a50: 7374 6174 653a 2070 7265 7365 6e74 0a20 state: present. │ │ │ -00073a60: 2077 6865 6e3a 2027 226c 6962 7061 6d2d when: '"libpam- │ │ │ -00073a70: 7275 6e74 696d 6522 2069 6e20 616e 7369 runtime" in ansi │ │ │ -00073a80: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag │ │ │ -00073a90: 6573 270a 2020 7461 6773 3a0a 2020 2d20 es'. tags:. - │ │ │ -00073aa0: 4449 5341 2d53 5449 472d 5542 5455 2d32 DISA-STIG-UBTU-2 │ │ │ -00073ab0: 302d 3031 3030 3537 0a20 202d 2065 6e61 0-010057. - ena │ │ │ -00073ac0: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. - │ │ │ -00073ad0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity. │ │ │ -00073ae0: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti │ │ │ -00073af0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365 on. - medium_se │ │ │ -00073b00: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re │ │ │ -00073b10: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. - │ │ │ -00073b20: 7061 636b 6167 655f 7061 6d5f 7077 7175 package_pam_pwqu │ │ │ -00073b30: 616c 6974 795f 696e 7374 616c 6c65 640a ality_installed. │ │ │ +000733e0: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip │ │ │ +000733f0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +00073400: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +00073410: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +00073420: 7365 2220 6964 3d22 6964 6d34 3837 3422 se" id="idm4874" │ │ │ +00073430: 3e3c 7461 626c 6520 636c 6173 733d 2274 > │ │ │ +000734a0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +000734c0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +000734f0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +00073480: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +00073490: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +000734b0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +000734d0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +000734e0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

- name: │ │ │ +00073530: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack │ │ │ +00073540: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack │ │ │ +00073550: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m │ │ │ +00073560: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t │ │ │ +00073570: 6167 733a 0a20 202d 2044 4953 412d 5354 ags:. - DISA-ST │ │ │ +00073580: 4947 2d55 4254 552d 3230 2d30 3130 3035 IG-UBTU-20-01005 │ │ │ +00073590: 370a 2020 2d20 656e 6162 6c65 5f73 7472 7. - enable_str │ │ │ +000735a0: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co │ │ │ +000735b0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low │ │ │ +000735c0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. - │ │ │ +000735d0: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity. │ │ │ +000735e0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ +000735f0: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package │ │ │ +00073600: 5f70 616d 5f70 7771 7561 6c69 7479 5f69 _pam_pwquality_i │ │ │ +00073610: 6e73 7461 6c6c 6564 0a0a 2d20 6e61 6d65 nstalled..- name │ │ │ +00073620: 3a20 456e 7375 7265 206c 6962 7061 6d2d : Ensure libpam- │ │ │ +00073630: 7077 7175 616c 6974 7920 6973 2069 6e73 pwquality is ins │ │ │ +00073640: 7461 6c6c 6564 0a20 2070 6163 6b61 6765 talled. package │ │ │ +00073650: 3a0a 2020 2020 6e61 6d65 3a20 6c69 6270 :. name: libp │ │ │ +00073660: 616d 2d70 7771 7561 6c69 7479 0a20 2020 am-pwquality. │ │ │ +00073670: 2073 7461 7465 3a20 7072 6573 656e 740a state: present. │ │ │ +00073680: 2020 7768 656e 3a20 2722 6c69 6270 616d when: '"libpam │ │ │ +00073690: 2d72 756e 7469 6d65 2220 696e 2061 6e73 -runtime" in ans │ │ │ +000736a0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa │ │ │ +000736b0: 6765 7327 0a20 2074 6167 733a 0a20 202d ges'. tags:. - │ │ │ +000736c0: 2044 4953 412d 5354 4947 2d55 4254 552d DISA-STIG-UBTU- │ │ │ +000736d0: 3230 2d30 3130 3035 370a 2020 2d20 656e 20-010057. - en │ │ │ +000736e0: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy. │ │ │ +000736f0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity │ │ │ +00073700: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt │ │ │ +00073710: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s │ │ │ +00073720: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r │ │ │ +00073730: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. - │ │ │ +00073740: 2070 6163 6b61 6765 5f70 616d 5f70 7771 package_pam_pwq │ │ │ +00073750: 7561 6c69 7479 5f69 6e73 7461 6c6c 6564 uality_installed │ │ │ +00073760: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .

Remediation P │ │ │ +00073820: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ +00073830: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity: │ │ │ +000738c0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +000738e0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +00073900: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +00073930: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +00073940: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ +00073950: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include insta
│ │ │ +00073970: 6c6c 5f6c 6962 7061 6d2d 7077 7175 616c  ll_libpam-pwqual
│ │ │ +00073980: 6974 790a 0a63 6c61 7373 2069 6e73 7461  ity..class insta
│ │ │ +00073990: 6c6c 5f6c 6962 7061 6d2d 7077 7175 616c  ll_libpam-pwqual
│ │ │ +000739a0: 6974 7920 7b0a 2020 7061 636b 6167 6520  ity {.  package 
│ │ │ +000739b0: 7b20 276c 6962 7061 6d2d 7077 7175 616c  { 'libpam-pwqual
│ │ │ +000739c0: 6974 7927 3a0a 2020 2020 656e 7375 7265  ity':.    ensure
│ │ │ +000739d0: 203d 2667 743b 2027 696e 7374 616c 6c65   => 'installe
│ │ │ +000739e0: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Reme │ │ │ +00073aa0: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild │ │ │ +00073ab0: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe │ │ │ +00073ac0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
< │ │ │ +00073b00: 7072 653e 3c63 6f64 653e 0a5b 5b70 6163 pre>.[[pac │ │ │ +00073b10: 6b61 6765 735d 5d0a 6e61 6d65 203d 2022 kages]].name = " │ │ │ +00073b20: 6c69 6270 616d 2d70 7771 7561 6c69 7479 libpam-pwquality │ │ │ +00073b30: 220a 7665 7273 696f 6e20 3d20 222a 220a ".version = "*". │ │ │ 00073b40: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
Remediatio │ │ │ -000a4750: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr │ │ │ -000a4760: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...< │ │ │ -000a4770: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
.[[packages]
│ │ │ -000a47c0: 5d0a 6e61 6d65 203d 2022 6170 7061 726d  ].name = "apparm
│ │ │ -000a47d0: 6f72 220a 7665 7273 696f 6e20 3d20 222a  or".version = "*
│ │ │ -000a47e0: 220a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  ".
< │ │ │ -000a47f0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>
Remediation │ │ │ -000a48a0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -000a48b0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
Complexity │ │ │ -000a4940: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -000a4960: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -000a4970: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -000a4980: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -000a4990: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -000a49b0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
include inst
│ │ │ -000a49f0: 616c 6c5f 6170 7061 726d 6f72 0a0a 636c  all_apparmor..cl
│ │ │ -000a4a00: 6173 7320 696e 7374 616c 6c5f 6170 7061  ass install_appa
│ │ │ -000a4a10: 726d 6f72 207b 0a20 2070 6163 6b61 6765  rmor {.  package
│ │ │ -000a4a20: 207b 2027 6170 7061 726d 6f72 273a 0a20   { 'apparmor':. 
│ │ │ -000a4a30: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ -000a4a40: 2769 6e73 7461 6c6c 6564 272c 0a20 207d  'installed',.  }
│ │ │ -000a4a50: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ -000a4a60: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediation │ │ │ -000a4b10: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ -000a4b20: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
│ │ │ -000a4ba0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -000a4bb0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -000a4bc0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -000a4c00: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -000a4c10: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -000a4c30: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ -000a4c50: 3c63 6f64 653e 2d20 6e61 6d65 3a20 456e  - name: En
│ │ │ -000a4c60: 7375 7265 2061 7070 6172 6d6f 7220 6973  sure apparmor is
│ │ │ -000a4c70: 2069 6e73 7461 6c6c 6564 0a20 2070 6163   installed.  pac
│ │ │ -000a4c80: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20  kage:.    name: 
│ │ │ -000a4c90: 6170 7061 726d 6f72 0a20 2020 2073 7461  apparmor.    sta
│ │ │ -000a4ca0: 7465 3a20 7072 6573 656e 740a 2020 7768  te: present.  wh
│ │ │ -000a4cb0: 656e 3a20 616e 7369 626c 655f 7669 7274  en: ansible_virt
│ │ │ -000a4cc0: 7561 6c69 7a61 7469 6f6e 5f74 7970 6520  ualization_type 
│ │ │ -000a4cd0: 6e6f 7420 696e 205b 2264 6f63 6b65 7222  not in ["docker"
│ │ │ -000a4ce0: 2c20 226c 7863 222c 2022 6f70 656e 767a  , "lxc", "openvz
│ │ │ -000a4cf0: 222c 2022 706f 646d 616e 222c 2022 636f  ", "podman", "co
│ │ │ -000a4d00: 6e74 6169 6e65 7222 5d0a 2020 7461 6773  ntainer"].  tags
│ │ │ -000a4d10: 3a0a 2020 2d20 4449 5341 2d53 5449 472d  :.  - DISA-STIG-
│ │ │ -000a4d20: 5542 5455 2d32 302d 3031 3034 3339 0a20  UBTU-20-010439. 
│ │ │ -000a4d30: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ -000a4d40: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ -000a4d50: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -000a4d60: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ -000a4d70: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ -000a4d80: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -000a4d90: 640a 2020 2d20 7061 636b 6167 655f 6170  d.  - package_ap
│ │ │ -000a4da0: 7061 726d 6f72 5f69 6e73 7461 6c6c 6564  parmor_installed
│ │ │ +000a4750: 6e20 416e 7369 626c 6520 736e 6970 7065  n Ansible snippe
│ │ │ +000a4760: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469  t ...
< │ │ │ +000a47a0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +000a47b0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +000a47c0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +000a47d0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +000a47e0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +000a47f0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +000a4800: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +000a4840: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +000a4850: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +000a4870: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ +000a4880: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: E
│ │ │ +000a48a0: 6e73 7572 6520 6170 7061 726d 6f72 2069  nsure apparmor i
│ │ │ +000a48b0: 7320 696e 7374 616c 6c65 640a 2020 7061  s installed.  pa
│ │ │ +000a48c0: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ +000a48d0: 2061 7070 6172 6d6f 720a 2020 2020 7374   apparmor.    st
│ │ │ +000a48e0: 6174 653a 2070 7265 7365 6e74 0a20 2077  ate: present.  w
│ │ │ +000a48f0: 6865 6e3a 2061 6e73 6962 6c65 5f76 6972  hen: ansible_vir
│ │ │ +000a4900: 7475 616c 697a 6174 696f 6e5f 7479 7065  tualization_type
│ │ │ +000a4910: 206e 6f74 2069 6e20 5b22 646f 636b 6572   not in ["docker
│ │ │ +000a4920: 222c 2022 6c78 6322 2c20 226f 7065 6e76  ", "lxc", "openv
│ │ │ +000a4930: 7a22 2c20 2270 6f64 6d61 6e22 2c20 2263  z", "podman", "c
│ │ │ +000a4940: 6f6e 7461 696e 6572 225d 0a20 2074 6167  ontainer"].  tag
│ │ │ +000a4950: 733a 0a20 202d 2044 4953 412d 5354 4947  s:.  - DISA-STIG
│ │ │ +000a4960: 2d55 4254 552d 3230 2d30 3130 3433 390a  -UBTU-20-010439.
│ │ │ +000a4970: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ +000a4980: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +000a4990: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +000a49a0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ +000a49b0: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ +000a49c0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +000a49d0: 6564 0a20 202d 2070 6163 6b61 6765 5f61  ed.  - package_a
│ │ │ +000a49e0: 7070 6172 6d6f 725f 696e 7374 616c 6c65  pparmor_installe
│ │ │ +000a49f0: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +000a4a00: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +000a4ab0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +000a4ac0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
Complexity │ │ │ +000a4b50: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +000a4b70: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +000a4b80: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +000a4b90: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +000a4ba0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +000a4bc0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
include inst
│ │ │ +000a4c00: 616c 6c5f 6170 7061 726d 6f72 0a0a 636c  all_apparmor..cl
│ │ │ +000a4c10: 6173 7320 696e 7374 616c 6c5f 6170 7061  ass install_appa
│ │ │ +000a4c20: 726d 6f72 207b 0a20 2070 6163 6b61 6765  rmor {.  package
│ │ │ +000a4c30: 207b 2027 6170 7061 726d 6f72 273a 0a20   { 'apparmor':. 
│ │ │ +000a4c40: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ +000a4c50: 2769 6e73 7461 6c6c 6564 272c 0a20 207d  'installed',.  }
│ │ │ +000a4c60: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ +000a4c70: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediation │ │ │ +000a4d20: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ +000a4d30: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
Reme │ │ │ -000b6910: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -000b6920: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -000b69c0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -000b69d0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -000b6a20: 3c74 723e 3c74 683e 5374 7261 7465 6779
inc
│ │ │ -000b6a60: 6c75 6465 2069 6e73 7461 6c6c 5f72 7379  lude install_rsy
│ │ │ -000b6a70: 736c 6f67 0a0a 636c 6173 7320 696e 7374  slog..class inst
│ │ │ -000b6a80: 616c 6c5f 7273 7973 6c6f 6720 7b0a 2020  all_rsyslog {.  
│ │ │ -000b6a90: 7061 636b 6167 6520 7b20 2772 7379 736c  package { 'rsysl
│ │ │ -000b6aa0: 6f67 273a 0a20 2020 2065 6e73 7572 6520  og':.    ensure 
│ │ │ -000b6ab0: 3d26 6774 3b20 2769 6e73 7461 6c6c 6564  => 'installed
│ │ │ -000b6ac0: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │ -000b6ad0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ -000b6b80: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible │ │ │ -000b6b90: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -000b6ba0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
C │ │ │ -000b69b0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -000b69e0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -000b69f0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -000b6a30: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ -000b6a40: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
│ │ │ -000b6c30: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
- 
│ │ │ -000b6cd0: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ -000b6ce0: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ -000b6cf0: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ -000b6d00: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ -000b6d10: 6f0a 2020 7461 6773 3a0a 2020 2d20 4e49  o.  tags:.  - NI
│ │ │ -000b6d20: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ -000b6d30: 290a 2020 2d20 656e 6162 6c65 5f73 7472  ).  - enable_str
│ │ │ -000b6d40: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ -000b6d50: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -000b6d60: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -000b6d70: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ -000b6d80: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -000b6d90: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -000b6da0: 5f72 7379 736c 6f67 5f69 6e73 7461 6c6c  _rsyslog_install
│ │ │ -000b6db0: 6564 0a0a 2d20 6e61 6d65 3a20 456e 7375  ed..- name: Ensu
│ │ │ -000b6dc0: 7265 2072 7379 736c 6f67 2069 7320 696e  re rsyslog is in
│ │ │ -000b6dd0: 7374 616c 6c65 640a 2020 7061 636b 6167  stalled.  packag
│ │ │ -000b6de0: 653a 0a20 2020 206e 616d 653a 2072 7379  e:.    name: rsy
│ │ │ -000b6df0: 736c 6f67 0a20 2020 2073 7461 7465 3a20  slog.    state: 
│ │ │ -000b6e00: 7072 6573 656e 740a 2020 7768 656e 3a20  present.  when: 
│ │ │ -000b6e10: 2722 6c69 6e75 782d 6261 7365 2220 696e  '"linux-base" in
│ │ │ -000b6e20: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ -000b6e30: 6163 6b61 6765 7327 0a20 2074 6167 733a  ackages'.  tags:
│ │ │ -000b6e40: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -000b6e50: 2d43 4d2d 3628 6129 0a20 202d 2065 6e61  -CM-6(a).  - ena
│ │ │ -000b6e60: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -000b6e70: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -000b6e80: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -000b6e90: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -000b6ea0: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -000b6eb0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -000b6ec0: 7061 636b 6167 655f 7273 7973 6c6f 675f  package_rsyslog_
│ │ │ -000b6ed0: 696e 7374 616c 6c65 640a 3c2f 636f 6465  installed.
│ │ │ +000b67e0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22  
│ │ │ -000b6c20: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -000b6c50: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -000b6c60: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -000b6ca0: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ -000b6cb0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
< │ │ │ +000b68b0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +000b68c0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
-
│ │ │ +000b6910: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ +000b6920: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ +000b6930: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ +000b6940: 0a20 2020 206d 616e 6167 6572 3a20 6175  .    manager: au
│ │ │ +000b6950: 746f 0a20 2074 6167 733a 0a20 202d 204e  to.  tags:.  - N
│ │ │ +000b6960: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ +000b6970: 6129 0a20 202d 2065 6e61 626c 655f 7374  a).  - enable_st
│ │ │ +000b6980: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +000b6990: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +000b69a0: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +000b69b0: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ +000b69c0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +000b69d0: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ +000b69e0: 655f 7273 7973 6c6f 675f 696e 7374 616c  e_rsyslog_instal
│ │ │ +000b69f0: 6c65 640a 0a2d 206e 616d 653a 2045 6e73  led..- name: Ens
│ │ │ +000b6a00: 7572 6520 7273 7973 6c6f 6720 6973 2069  ure rsyslog is i
│ │ │ +000b6a10: 6e73 7461 6c6c 6564 0a20 2070 6163 6b61  nstalled.  packa
│ │ │ +000b6a20: 6765 3a0a 2020 2020 6e61 6d65 3a20 7273  ge:.    name: rs
│ │ │ +000b6a30: 7973 6c6f 670a 2020 2020 7374 6174 653a  yslog.    state:
│ │ │ +000b6a40: 2070 7265 7365 6e74 0a20 2077 6865 6e3a   present.  when:
│ │ │ +000b6a50: 2027 226c 696e 7578 2d62 6173 6522 2069   '"linux-base" i
│ │ │ +000b6a60: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +000b6a70: 7061 636b 6167 6573 270a 2020 7461 6773  packages'.  tags
│ │ │ +000b6a80: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ +000b6a90: 332d 434d 2d36 2861 290a 2020 2d20 656e  3-CM-6(a).  - en
│ │ │ +000b6aa0: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +000b6ab0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +000b6ac0: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +000b6ad0: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ +000b6ae0: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +000b6af0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +000b6b00: 2070 6163 6b61 6765 5f72 7379 736c 6f67   package_rsyslog
│ │ │ +000b6b10: 5f69 6e73 7461 6c6c 6564 0a3c 2f63 6f64  _installed.
Re │ │ │ +000b6bd0: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ +000b6be0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +000b6bf0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Complexity:low
Disrup │ │ │ +000b6890: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +000b68a0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +000b68e0: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +000b68f0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ +000b6cc0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +000b6cd0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
i
│ │ │ +000b6d20: 6e63 6c75 6465 2069 6e73 7461 6c6c 5f72  nclude install_r
│ │ │ +000b6d30: 7379 736c 6f67 0a0a 636c 6173 7320 696e  syslog..class in
│ │ │ +000b6d40: 7374 616c 6c5f 7273 7973 6c6f 6720 7b0a  stall_rsyslog {.
│ │ │ +000b6d50: 2020 7061 636b 6167 6520 7b20 2772 7379    package { 'rsy
│ │ │ +000b6d60: 736c 6f67 273a 0a20 2020 2065 6e73 7572  slog':.    ensur
│ │ │ +000b6d70: 6520 3d26 6774 3b20 2769 6e73 7461 6c6c  e => 'install
│ │ │ +000b6d80: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ed',.  }.}.
Re │ │ │ +000b6e40: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil │ │ │ +000b6e50: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip │ │ │ +000b6e60: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +000b6e70: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +000b6e80: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +000b6e90: 7365 2220 6964 3d22 6964 6d31 3037 3638 se" id="idm10768 │ │ │ +000b6ea0: 223e 3c70 7265 3e3c 636f 6465 3e0a 5b5b ">
.[[
│ │ │ +000b6eb0: 7061 636b 6167 6573 5d5d 0a6e 616d 6520  packages]].name 
│ │ │ +000b6ec0: 3d20 2272 7379 736c 6f67 220a 7665 7273  = "rsyslog".vers
│ │ │ +000b6ed0: 696f 6e20 3d20 222a 220a 3c2f 636f 6465  ion = "*".
Remediation │ │ │ -000b8250: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin │ │ │ -000b8260: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
.[customizati
│ │ │ -000b82c0: 6f6e 732e 7365 7276 6963 6573 5d0a 656e  ons.services].en
│ │ │ -000b82d0: 6162 6c65 6420 3d20 5b22 7273 7973 6c6f  abled = ["rsyslo
│ │ │ -000b82e0: 6722 5d0a 3c2f 636f 6465 3e3c 2f70 7265  g"].
Remediati │ │ │ -000b83a0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -000b83b0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -000b83f0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
Complexity:low
Disrup │ │ │ +000b6ca0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +000b6cb0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +000b6cf0: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +000b6d00: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ -000b8460: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -000b8480: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -000b84b0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -000b84d0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -000b8440: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -000b8450: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -000b8490: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -000b84a0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ -000b84f0: 656e 6162 6c65 5f72 7379 736c 6f67 0a0a enable_rsyslog.. │ │ │ -000b8500: 636c 6173 7320 656e 6162 6c65 5f72 7379 class enable_rsy │ │ │ -000b8510: 736c 6f67 207b 0a20 2073 6572 7669 6365 slog {. service │ │ │ -000b8520: 207b 2772 7379 736c 6f67 273a 0a20 2020 {'rsyslog':. │ │ │ -000b8530: 2065 6e61 626c 6520 3d26 6774 3b20 7472 enable => tr │ │ │ -000b8540: 7565 2c0a 2020 2020 656e 7375 7265 203d ue,. ensure = │ │ │ -000b8550: 2667 743b 2027 7275 6e6e 696e 6727 2c0a > 'running',. │ │ │ -000b8560: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.

Remedia │ │ │ -000b8620: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ -000b8630: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -000b8640: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -000b86c0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -000b86f0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -000b8710: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -000b8720: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -000b8740: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ -000b8760: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ -000b8770: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ -000b8780: 636b 6167 6520 6661 6374 730a 2020 7061  ckage facts.  pa
│ │ │ -000b8790: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ -000b87a0: 206d 616e 6167 6572 3a20 6175 746f 0a20   manager: auto. 
│ │ │ -000b87b0: 2074 6167 733a 0a20 202d 2044 4953 412d   tags:.  - DISA-
│ │ │ -000b87c0: 5354 4947 2d55 4254 552d 3230 2d30 3130  STIG-UBTU-20-010
│ │ │ -000b87d0: 3433 320a 2020 2d20 4e49 5354 2d38 3030  432.  - NIST-800
│ │ │ -000b87e0: 2d35 332d 4155 2d34 2831 290a 2020 2d20  -53-AU-4(1).  - 
│ │ │ -000b87f0: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ -000b8800: 2861 290a 2020 2d20 656e 6162 6c65 5f73  (a).  - enable_s
│ │ │ -000b8810: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ -000b8820: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -000b8830: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -000b8840: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ -000b8850: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ -000b8860: 6e65 6564 6564 0a20 202d 2073 6572 7669  needed.  - servi
│ │ │ -000b8870: 6365 5f72 7379 736c 6f67 5f65 6e61 626c  ce_rsyslog_enabl
│ │ │ -000b8880: 6564 0a0a 2d20 6e61 6d65 3a20 456e 6162  ed..- name: Enab
│ │ │ -000b8890: 6c65 2072 7379 736c 6f67 2053 6572 7669  le rsyslog Servi
│ │ │ -000b88a0: 6365 202d 2045 6e61 626c 6520 7365 7276  ce - Enable serv
│ │ │ -000b88b0: 6963 6520 7273 7973 6c6f 670a 2020 626c  ice rsyslog.  bl
│ │ │ -000b88c0: 6f63 6b3a 0a0a 2020 2d20 6e61 6d65 3a20  ock:..  - name: 
│ │ │ -000b88d0: 4761 7468 6572 2074 6865 2070 6163 6b61  Gather the packa
│ │ │ -000b88e0: 6765 2066 6163 7473 0a20 2020 2070 6163  ge facts.    pac
│ │ │ -000b88f0: 6b61 6765 5f66 6163 7473 3a0a 2020 2020  kage_facts:.    
│ │ │ -000b8900: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ -000b8910: 0a20 202d 206e 616d 653a 2045 6e61 626c  .  - name: Enabl
│ │ │ -000b8920: 6520 7273 7973 6c6f 6720 5365 7276 6963  e rsyslog Servic
│ │ │ -000b8930: 6520 2d20 456e 6162 6c65 2053 6572 7669  e - Enable Servi
│ │ │ -000b8940: 6365 2072 7379 736c 6f67 0a20 2020 2061  ce rsyslog.    a
│ │ │ -000b8950: 6e73 6962 6c65 2e62 7569 6c74 696e 2e73  nsible.builtin.s
│ │ │ -000b8960: 7973 7465 6d64 3a0a 2020 2020 2020 6e61  ystemd:.      na
│ │ │ -000b8970: 6d65 3a20 7273 7973 6c6f 670a 2020 2020  me: rsyslog.    
│ │ │ -000b8980: 2020 656e 6162 6c65 643a 2074 7275 650a    enabled: true.
│ │ │ -000b8990: 2020 2020 2020 7374 6174 653a 2073 7461        state: sta
│ │ │ -000b89a0: 7274 6564 0a20 2020 2020 206d 6173 6b65  rted.      maske
│ │ │ -000b89b0: 643a 2066 616c 7365 0a20 2020 2077 6865  d: false.    whe
│ │ │ -000b89c0: 6e3a 0a20 2020 202d 2027 2272 7379 736c  n:.    - '"rsysl
│ │ │ -000b89d0: 6f67 2220 696e 2061 6e73 6962 6c65 5f66  og" in ansible_f
│ │ │ -000b89e0: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ -000b89f0: 2077 6865 6e3a 2027 226c 696e 7578 2d62   when: '"linux-b
│ │ │ -000b8a00: 6173 6522 2069 6e20 616e 7369 626c 655f  ase" in ansible_
│ │ │ -000b8a10: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -000b8a20: 2020 7461 6773 3a0a 2020 2d20 4449 5341    tags:.  - DISA
│ │ │ -000b8a30: 2d53 5449 472d 5542 5455 2d32 302d 3031  -STIG-UBTU-20-01
│ │ │ -000b8a40: 3034 3332 0a20 202d 204e 4953 542d 3830  0432.  - NIST-80
│ │ │ -000b8a50: 302d 3533 2d41 552d 3428 3129 0a20 202d  0-53-AU-4(1).  -
│ │ │ -000b8a60: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -000b8a70: 3628 6129 0a20 202d 2065 6e61 626c 655f  6(a).  - enable_
│ │ │ -000b8a80: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -000b8a90: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -000b8aa0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -000b8ab0: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ -000b8ac0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -000b8ad0: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ -000b8ae0: 6963 655f 7273 7973 6c6f 675f 656e 6162  ice_rsyslog_enab
│ │ │ -000b8af0: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265  led.

│ │ │ +000b82e0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +000b82f0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +000b8300: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +000b8340: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +000b8350: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +000b8370: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ +000b8390: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761  - name: Ga
│ │ │ +000b83a0: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ +000b83b0: 2066 6163 7473 0a20 2070 6163 6b61 6765   facts.  package
│ │ │ +000b83c0: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61  _facts:.    mana
│ │ │ +000b83d0: 6765 723a 2061 7574 6f0a 2020 7461 6773  ger: auto.  tags
│ │ │ +000b83e0: 3a0a 2020 2d20 4449 5341 2d53 5449 472d  :.  - DISA-STIG-
│ │ │ +000b83f0: 5542 5455 2d32 302d 3031 3034 3332 0a20  UBTU-20-010432. 
│ │ │ +000b8400: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ +000b8410: 552d 3428 3129 0a20 202d 204e 4953 542d  U-4(1).  - NIST-
│ │ │ +000b8420: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ +000b8430: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ +000b8440: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +000b8450: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +000b8460: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +000b8470: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +000b8480: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +000b8490: 640a 2020 2d20 7365 7276 6963 655f 7273  d.  - service_rs
│ │ │ +000b84a0: 7973 6c6f 675f 656e 6162 6c65 640a 0a2d  yslog_enabled..-
│ │ │ +000b84b0: 206e 616d 653a 2045 6e61 626c 6520 7273   name: Enable rs
│ │ │ +000b84c0: 7973 6c6f 6720 5365 7276 6963 6520 2d20  yslog Service - 
│ │ │ +000b84d0: 456e 6162 6c65 2073 6572 7669 6365 2072  Enable service r
│ │ │ +000b84e0: 7379 736c 6f67 0a20 2062 6c6f 636b 3a0a  syslog.  block:.
│ │ │ +000b84f0: 0a20 202d 206e 616d 653a 2047 6174 6865  .  - name: Gathe
│ │ │ +000b8500: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ +000b8510: 6374 730a 2020 2020 7061 636b 6167 655f  cts.    package_
│ │ │ +000b8520: 6661 6374 733a 0a20 2020 2020 206d 616e  facts:.      man
│ │ │ +000b8530: 6167 6572 3a20 6175 746f 0a0a 2020 2d20  ager: auto..  - 
│ │ │ +000b8540: 6e61 6d65 3a20 456e 6162 6c65 2072 7379  name: Enable rsy
│ │ │ +000b8550: 736c 6f67 2053 6572 7669 6365 202d 2045  slog Service - E
│ │ │ +000b8560: 6e61 626c 6520 5365 7276 6963 6520 7273  nable Service rs
│ │ │ +000b8570: 7973 6c6f 670a 2020 2020 616e 7369 626c  yslog.    ansibl
│ │ │ +000b8580: 652e 6275 696c 7469 6e2e 7379 7374 656d  e.builtin.system
│ │ │ +000b8590: 643a 0a20 2020 2020 206e 616d 653a 2072  d:.      name: r
│ │ │ +000b85a0: 7379 736c 6f67 0a20 2020 2020 2065 6e61  syslog.      ena
│ │ │ +000b85b0: 626c 6564 3a20 7472 7565 0a20 2020 2020  bled: true.     
│ │ │ +000b85c0: 2073 7461 7465 3a20 7374 6172 7465 640a   state: started.
│ │ │ +000b85d0: 2020 2020 2020 6d61 736b 6564 3a20 6661        masked: fa
│ │ │ +000b85e0: 6c73 650a 2020 2020 7768 656e 3a0a 2020  lse.    when:.  
│ │ │ +000b85f0: 2020 2d20 2722 7273 7973 6c6f 6722 2069    - '"rsyslog" i
│ │ │ +000b8600: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +000b8610: 7061 636b 6167 6573 270a 2020 7768 656e  packages'.  when
│ │ │ +000b8620: 3a20 2722 6c69 6e75 782d 6261 7365 2220  : '"linux-base" 
│ │ │ +000b8630: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +000b8640: 2e70 6163 6b61 6765 7327 0a20 2074 6167  .packages'.  tag
│ │ │ +000b8650: 733a 0a20 202d 2044 4953 412d 5354 4947  s:.  - DISA-STIG
│ │ │ +000b8660: 2d55 4254 552d 3230 2d30 3130 3433 320a  -UBTU-20-010432.
│ │ │ +000b8670: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +000b8680: 4155 2d34 2831 290a 2020 2d20 4e49 5354  AU-4(1).  - NIST
│ │ │ +000b8690: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ +000b86a0: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ +000b86b0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +000b86c0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +000b86d0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ +000b86e0: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ +000b86f0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +000b8700: 6564 0a20 202d 2073 6572 7669 6365 5f72  ed.  - service_r
│ │ │ +000b8710: 7379 736c 6f67 5f65 6e61 626c 6564 0a3c  syslog_enabled.<
│ │ │ +000b8720: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ +000b87e0: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ +000b87f0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ +000b8880: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +000b88a0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +000b88c0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +000b88f0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +000b8900: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ +000b8910: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include enabl
│ │ │ +000b8930: 655f 7273 7973 6c6f 670a 0a63 6c61 7373  e_rsyslog..class
│ │ │ +000b8940: 2065 6e61 626c 655f 7273 7973 6c6f 6720   enable_rsyslog 
│ │ │ +000b8950: 7b0a 2020 7365 7276 6963 6520 7b27 7273  {.  service {'rs
│ │ │ +000b8960: 7973 6c6f 6727 3a0a 2020 2020 656e 6162  yslog':.    enab
│ │ │ +000b8970: 6c65 203d 2667 743b 2074 7275 652c 0a20  le => true,. 
│ │ │ +000b8980: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ +000b8990: 2772 756e 6e69 6e67 272c 0a20 207d 0a7d  'running',.  }.}
│ │ │ +000b89a0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +000b8a60: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin │ │ │ +000b8a70: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
.[customizati
│ │ │ +000b8ad0: 6f6e 732e 7365 7276 6963 6573 5d0a 656e  ons.services].en
│ │ │ +000b8ae0: 6162 6c65 6420 3d20 5b22 7273 7973 6c6f  abled = ["rsyslo
│ │ │ +000b8af0: 6722 5d0a 3c2f 636f 6465 3e3c 2f70 7265  g"].
│ │ │ -000c2300: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu │ │ │ -000c2310: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn │ │ │ -000c2320: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.
│ │ │ -000c2370: 5b5b 7061 636b 6167 6573 5d5d 0a6e 616d  [[packages]].nam
│ │ │ -000c2380: 6520 3d20 2269 7074 6162 6c65 732d 7065  e = "iptables-pe
│ │ │ -000c2390: 7273 6973 7465 6e74 220a 7665 7273 696f  rsistent".versio
│ │ │ -000c23a0: 6e20 3d20 222a 220a 3c2f 636f 6465 3e3c  n = "*".<
│ │ │ -000c23b0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remed │ │ │ -000c2460: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ -000c2470: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -000c2520: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -000c2570: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ -000c2500: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -000c2530: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -000c2550: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -000c2560: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -000c2580: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ -000c2590: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -000c25b0: 7564 6520 696e 7374 616c 6c5f 6970 7461  ude install_ipta
│ │ │ -000c25c0: 626c 6573 2d70 6572 7369 7374 656e 740a  bles-persistent.
│ │ │ -000c25d0: 0a63 6c61 7373 2069 6e73 7461 6c6c 5f69  .class install_i
│ │ │ -000c25e0: 7074 6162 6c65 732d 7065 7273 6973 7465  ptables-persiste
│ │ │ -000c25f0: 6e74 207b 0a20 2070 6163 6b61 6765 207b  nt {.  package {
│ │ │ -000c2600: 2027 6970 7461 626c 6573 2d70 6572 7369   'iptables-persi
│ │ │ -000c2610: 7374 656e 7427 3a0a 2020 2020 656e 7375  stent':.    ensu
│ │ │ -000c2620: 7265 203d 2667 743b 2027 696e 7374 616c  re => 'instal
│ │ │ -000c2630: 6c65 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  led',.  }.}.
< │ │ │ -000c2650: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -000c2660: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -000c2670: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -000c2680: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -000c2690: 646d 3131 3730 3422 2074 6162 696e 6465 dm11704" tabinde │ │ │ -000c26a0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -000c26b0: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -000c26c0: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -000c26d0: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -000c26e0: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -000c26f0: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ -000c2700: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
< │ │ │ -000c2790: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -000c27b0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -000c2800: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
- name: Gather 
│ │ │ -000c2850: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ -000c2860: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ -000c2870: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ -000c2880: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ -000c2890: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ -000c28a0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -000c28b0: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -000c28c0: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ -000c28d0: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ -000c28e0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -000c28f0: 2020 2d20 7061 636b 6167 655f 6970 7461    - package_ipta
│ │ │ -000c2900: 626c 6573 2d70 6572 7369 7374 656e 745f  bles-persistent_
│ │ │ -000c2910: 696e 7374 616c 6c65 640a 0a2d 206e 616d  installed..- nam
│ │ │ -000c2920: 653a 2045 6e73 7572 6520 6970 7461 626c  e: Ensure iptabl
│ │ │ -000c2930: 6573 2d70 6572 7369 7374 656e 7420 6973  es-persistent is
│ │ │ -000c2940: 2069 6e73 7461 6c6c 6564 0a20 2070 6163   installed.  pac
│ │ │ -000c2950: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20  kage:.    name: 
│ │ │ -000c2960: 6970 7461 626c 6573 2d70 6572 7369 7374  iptables-persist
│ │ │ -000c2970: 656e 740a 2020 2020 7374 6174 653a 2070  ent.    state: p
│ │ │ -000c2980: 7265 7365 6e74 0a20 2077 6865 6e3a 2027  resent.  when: '
│ │ │ -000c2990: 2269 7074 6162 6c65 7322 2069 6e20 616e  "iptables" in an
│ │ │ -000c29a0: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ -000c29b0: 6167 6573 270a 2020 7461 6773 3a0a 2020  ages'.  tags:.  
│ │ │ -000c29c0: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ -000c29d0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -000c29e0: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -000c29f0: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ -000c2a00: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ -000c2a10: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -000c2a20: 0a20 202d 2070 6163 6b61 6765 5f69 7074  .  - package_ipt
│ │ │ -000c2a30: 6162 6c65 732d 7065 7273 6973 7465 6e74  ables-persistent
│ │ │ -000c2a40: 5f69 6e73 7461 6c6c 6564 0a3c 2f63 6f64  _installed.
low
Disr │ │ │ -000c27c0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -000c27d0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -000c2810: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ -000c2820: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ +000c23a0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +000c23c0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +000c2410: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ +000c2440: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Gather
│ │ │ +000c2460: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ +000c2470: 7473 0a20 2070 6163 6b61 6765 5f66 6163  ts.  package_fac
│ │ │ +000c2480: 7473 3a0a 2020 2020 6d61 6e61 6765 723a  ts:.    manager:
│ │ │ +000c2490: 2061 7574 6f0a 2020 7461 6773 3a0a 2020   auto.  tags:.  
│ │ │ +000c24a0: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ +000c24b0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +000c24c0: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +000c24d0: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ +000c24e0: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ +000c24f0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +000c2500: 0a20 202d 2070 6163 6b61 6765 5f69 7074  .  - package_ipt
│ │ │ +000c2510: 6162 6c65 732d 7065 7273 6973 7465 6e74  ables-persistent
│ │ │ +000c2520: 5f69 6e73 7461 6c6c 6564 0a0a 2d20 6e61  _installed..- na
│ │ │ +000c2530: 6d65 3a20 456e 7375 7265 2069 7074 6162  me: Ensure iptab
│ │ │ +000c2540: 6c65 732d 7065 7273 6973 7465 6e74 2069  les-persistent i
│ │ │ +000c2550: 7320 696e 7374 616c 6c65 640a 2020 7061  s installed.  pa
│ │ │ +000c2560: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ +000c2570: 2069 7074 6162 6c65 732d 7065 7273 6973   iptables-persis
│ │ │ +000c2580: 7465 6e74 0a20 2020 2073 7461 7465 3a20  tent.    state: 
│ │ │ +000c2590: 7072 6573 656e 740a 2020 7768 656e 3a20  present.  when: 
│ │ │ +000c25a0: 2722 6970 7461 626c 6573 2220 696e 2061  '"iptables" in a
│ │ │ +000c25b0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +000c25c0: 6b61 6765 7327 0a20 2074 6167 733a 0a20  kages'.  tags:. 
│ │ │ +000c25d0: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ +000c25e0: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +000c25f0: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +000c2600: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +000c2610: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +000c2620: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +000c2630: 640a 2020 2d20 7061 636b 6167 655f 6970  d.  - package_ip
│ │ │ +000c2640: 7461 626c 6573 2d70 6572 7369 7374 656e  tables-persisten
│ │ │ +000c2650: 745f 696e 7374 616c 6c65 640a 3c2f 636f  t_installed.
< │ │ │ +000c2670: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +000c2680: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +000c2690: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +000c26a0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +000c26b0: 646d 3131 3730 3322 2074 6162 696e 6465 dm11703" tabinde │ │ │ +000c26c0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +000c26d0: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +000c26e0: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +000c26f0: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +000c2700: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +000c2710: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +000c2720: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity:< │ │ │ +000c23b0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +000c23d0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +000c2420: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ +000c2430: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
Complexity: │ │ │ +000c2800: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +000c2810: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ +000c2860: 696e 636c 7564 6520 696e 7374 616c 6c5f  include install_
│ │ │ +000c2870: 6970 7461 626c 6573 2d70 6572 7369 7374  iptables-persist
│ │ │ +000c2880: 656e 740a 0a63 6c61 7373 2069 6e73 7461  ent..class insta
│ │ │ +000c2890: 6c6c 5f69 7074 6162 6c65 732d 7065 7273  ll_iptables-pers
│ │ │ +000c28a0: 6973 7465 6e74 207b 0a20 2070 6163 6b61  istent {.  packa
│ │ │ +000c28b0: 6765 207b 2027 6970 7461 626c 6573 2d70  ge { 'iptables-p
│ │ │ +000c28c0: 6572 7369 7374 656e 7427 3a0a 2020 2020  ersistent':.    
│ │ │ +000c28d0: 656e 7375 7265 203d 2667 743b 2027 696e  ensure => 'in
│ │ │ +000c28e0: 7374 616c 6c65 6427 2c0a 2020 7d0a 7d0a  stalled',.  }.}.
│ │ │ +000c28f0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation O │ │ │ +000c29b0: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint │ │ │ +000c29c0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +000c29d0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.[[packages]].
│ │ │ +000c2a20: 6e61 6d65 203d 2022 6970 7461 626c 6573  name = "iptables
│ │ │ +000c2a30: 2d70 6572 7369 7374 656e 7422 0a76 6572  -persistent".ver
│ │ │ +000c2a40: 7369 6f6e 203d 2022 2a22 0a3c 2f63 6f64  sion = "*".
R │ │ │ -000c3760: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui │ │ │ -000c3770: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni │ │ │ -000c3780: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -000c3790: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
.[
│ │ │ -000c37d0: 5b70 6163 6b61 6765 735d 5d0a 6e61 6d65  [packages]].name
│ │ │ -000c37e0: 203d 2022 6970 7461 626c 6573 220a 7665   = "iptables".ve
│ │ │ -000c37f0: 7273 696f 6e20 3d20 222a 220a 3c2f 636f  rsion = "*".
< │ │ │ -000c3810: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -000c3820: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -000c3830: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -000c3840: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -000c3850: 646d 3131 3732 3422 2074 6162 696e 6465 dm11724" tabinde │ │ │ -000c3860: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -000c3870: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -000c3880: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -000c3890: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -000c38a0: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -000c38b0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ -000c38c0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
low
Disru │ │ │ +000c27e0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +000c27f0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +000c2830: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ +000c2840: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity: │ │ │ -000c39a0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -000c39b0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ -000c3a00: 696e 636c 7564 6520 696e 7374 616c 6c5f  include install_
│ │ │ -000c3a10: 6970 7461 626c 6573 0a0a 636c 6173 7320  iptables..class 
│ │ │ -000c3a20: 696e 7374 616c 6c5f 6970 7461 626c 6573  install_iptables
│ │ │ -000c3a30: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ -000c3a40: 6970 7461 626c 6573 273a 0a20 2020 2065  iptables':.    e
│ │ │ -000c3a50: 6e73 7572 6520 3d26 6774 3b20 2769 6e73  nsure => 'ins
│ │ │ -000c3a60: 7461 6c6c 6564 272c 0a20 207d 0a7d 0a3c  talled',.  }.}.<
│ │ │ -000c3a70: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation An │ │ │ -000c3b30: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -000c3b40: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ -000c3c00: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -000c3c10: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
low
Disru │ │ │ -000c3980: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -000c3990: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -000c39d0: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ -000c39e0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity │ │ │ -000c3bd0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ -000c3bf0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ -000c3c20: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ -000c3c40: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
- name: Gath
│ │ │ -000c3c80: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ -000c3c90: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ -000c3ca0: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ -000c3cb0: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ -000c3cc0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -000c3cd0: 434d 2d36 2861 290a 2020 2d20 5043 492d  CM-6(a).  - PCI-
│ │ │ -000c3ce0: 4453 532d 5265 712d 312e 342e 310a 2020  DSS-Req-1.4.1.  
│ │ │ -000c3cf0: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ -000c3d00: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -000c3d10: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -000c3d20: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ -000c3d30: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ -000c3d40: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -000c3d50: 0a20 202d 2070 6163 6b61 6765 5f69 7074  .  - package_ipt
│ │ │ -000c3d60: 6162 6c65 735f 696e 7374 616c 6c65 640a  ables_installed.
│ │ │ -000c3d70: 0a2d 206e 616d 653a 2045 6e73 7572 6520  .- name: Ensure 
│ │ │ -000c3d80: 6970 7461 626c 6573 2069 7320 696e 7374  iptables is inst
│ │ │ -000c3d90: 616c 6c65 640a 2020 7061 636b 6167 653a  alled.  package:
│ │ │ -000c3da0: 0a20 2020 206e 616d 653a 2069 7074 6162  .    name: iptab
│ │ │ -000c3db0: 6c65 730a 2020 2020 7374 6174 653a 2070  les.    state: p
│ │ │ -000c3dc0: 7265 7365 6e74 0a20 2077 6865 6e3a 2028  resent.  when: (
│ │ │ -000c3dd0: 2022 6c69 6e75 782d 6261 7365 2220 696e   "linux-base" in
│ │ │ -000c3de0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ -000c3df0: 6163 6b61 6765 7320 290a 2020 7461 6773  ackages ).  tags
│ │ │ -000c3e00: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ -000c3e10: 332d 434d 2d36 2861 290a 2020 2d20 5043  3-CM-6(a).  - PC
│ │ │ -000c3e20: 492d 4453 532d 5265 712d 312e 342e 310a  I-DSS-Req-1.4.1.
│ │ │ -000c3e30: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -000c3e40: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -000c3e50: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -000c3e60: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -000c3e70: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -000c3e80: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -000c3e90: 6564 0a20 202d 2070 6163 6b61 6765 5f69  ed.  - package_i
│ │ │ -000c3ea0: 7074 6162 6c65 735f 696e 7374 616c 6c65  ptables_installe
│ │ │ -000c3eb0: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +000c3760: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ +000c3770: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
< │ │ │ +000c3800: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +000c3820: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +000c3870: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
- name: Gather 
│ │ │ +000c38c0: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ +000c38d0: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ +000c38e0: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ +000c38f0: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ +000c3900: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +000c3910: 3628 6129 0a20 202d 2050 4349 2d44 5353  6(a).  - PCI-DSS
│ │ │ +000c3920: 2d52 6571 2d31 2e34 2e31 0a20 202d 2065  -Req-1.4.1.  - e
│ │ │ +000c3930: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ +000c3940: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +000c3950: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +000c3960: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +000c3970: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +000c3980: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +000c3990: 2d20 7061 636b 6167 655f 6970 7461 626c  - package_iptabl
│ │ │ +000c39a0: 6573 5f69 6e73 7461 6c6c 6564 0a0a 2d20  es_installed..- 
│ │ │ +000c39b0: 6e61 6d65 3a20 456e 7375 7265 2069 7074  name: Ensure ipt
│ │ │ +000c39c0: 6162 6c65 7320 6973 2069 6e73 7461 6c6c  ables is install
│ │ │ +000c39d0: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ +000c39e0: 2020 6e61 6d65 3a20 6970 7461 626c 6573    name: iptables
│ │ │ +000c39f0: 0a20 2020 2073 7461 7465 3a20 7072 6573  .    state: pres
│ │ │ +000c3a00: 656e 740a 2020 7768 656e 3a20 2820 226c  ent.  when: ( "l
│ │ │ +000c3a10: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ +000c3a20: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +000c3a30: 6167 6573 2029 0a20 2074 6167 733a 0a20  ages ).  tags:. 
│ │ │ +000c3a40: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +000c3a50: 4d2d 3628 6129 0a20 202d 2050 4349 2d44  M-6(a).  - PCI-D
│ │ │ +000c3a60: 5353 2d52 6571 2d31 2e34 2e31 0a20 202d  SS-Req-1.4.1.  -
│ │ │ +000c3a70: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ +000c3a80: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +000c3a90: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +000c3aa0: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +000c3ab0: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +000c3ac0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +000c3ad0: 2020 2d20 7061 636b 6167 655f 6970 7461    - package_ipta
│ │ │ +000c3ae0: 626c 6573 5f69 6e73 7461 6c6c 6564 0a3c  bles_installed.<
│ │ │ +000c3af0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ +000c3bb0: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ +000c3bc0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low< │ │ │ +000c3c90: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr> │ │ │ +000c3ce0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
low
Disr │ │ │ +000c3830: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +000c3840: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +000c3880: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ +000c3890: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complexity: │ │ │ +000c3c50: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ +000c3c70: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ +000c3cc0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +000c3cd0: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
include insta
│ │ │ +000c3d00: 6c6c 5f69 7074 6162 6c65 730a 0a63 6c61  ll_iptables..cla
│ │ │ +000c3d10: 7373 2069 6e73 7461 6c6c 5f69 7074 6162  ss install_iptab
│ │ │ +000c3d20: 6c65 7320 7b0a 2020 7061 636b 6167 6520  les {.  package 
│ │ │ +000c3d30: 7b20 2769 7074 6162 6c65 7327 3a0a 2020  { 'iptables':.  
│ │ │ +000c3d40: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ +000c3d50: 696e 7374 616c 6c65 6427 2c0a 2020 7d0a  installed',.  }.
│ │ │ +000c3d60: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ +000c3d70: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +000c3e20: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ +000c3e30: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
.[[packages]
│ │ │ +000c3e90: 5d0a 6e61 6d65 203d 2022 6970 7461 626c  ].name = "iptabl
│ │ │ +000c3ea0: 6573 220a 7665 7273 696f 6e20 3d20 222a  es".version = "*
│ │ │ +000c3eb0: 220a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  ".
< │ │ │ 000c3ec0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>
Remedia │ │ │ -000c4a40: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ -000c4a50: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -000c4a60: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -000c4a70: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -000c4a80: 7365 2220 6964 3d22 6964 6d31 3137 3431 se" id="idm11741 │ │ │ -000c4a90: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ -000c4ae0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -000c4af0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -000c4b10: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -000c4b30: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -000c4b40: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ -000c4b80: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -000c4b90: 6465 2072 656d 6f76 655f 6970 7461 626c  de remove_iptabl
│ │ │ -000c4ba0: 6573 2d70 6572 7369 7374 656e 740a 0a63  es-persistent..c
│ │ │ -000c4bb0: 6c61 7373 2072 656d 6f76 655f 6970 7461  lass remove_ipta
│ │ │ -000c4bc0: 626c 6573 2d70 6572 7369 7374 656e 7420  bles-persistent 
│ │ │ -000c4bd0: 7b0a 2020 7061 636b 6167 6520 7b20 2769  {.  package { 'i
│ │ │ -000c4be0: 7074 6162 6c65 732d 7065 7273 6973 7465  ptables-persiste
│ │ │ -000c4bf0: 6e74 273a 0a20 2020 2065 6e73 7572 6520  nt':.    ensure 
│ │ │ -000c4c00: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ -000c4c10: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ -000c4cd0: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ -000c4ce0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -000c4cf0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -000c4d70: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -000c4da0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -000c4dc0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -000c4dd0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -000c4df0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -000c4e00: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -000c4e20: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ -000c4e30: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ -000c4e40: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ -000c4e50: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ -000c4e60: 2020 7461 6773 3a0a 2020 2d20 6469 7361    tags:.  - disa
│ │ │ -000c4e70: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -000c4e80: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -000c4e90: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -000c4ea0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -000c4eb0: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -000c4ec0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -000c4ed0: 7061 636b 6167 655f 6970 7461 626c 6573  package_iptables
│ │ │ -000c4ee0: 2d70 6572 7369 7374 656e 745f 7265 6d6f  -persistent_remo
│ │ │ -000c4ef0: 7665 640a 0a2d 206e 616d 653a 2045 6e73  ved..- name: Ens
│ │ │ -000c4f00: 7572 6520 6970 7461 626c 6573 2d70 6572  ure iptables-per
│ │ │ -000c4f10: 7369 7374 656e 7420 6973 2072 656d 6f76  sistent is remov
│ │ │ -000c4f20: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ -000c4f30: 2020 6e61 6d65 3a20 6970 7461 626c 6573    name: iptables
│ │ │ -000c4f40: 2d70 6572 7369 7374 656e 740a 2020 2020  -persistent.    
│ │ │ -000c4f50: 7374 6174 653a 2061 6273 656e 740a 2020  state: absent.  
│ │ │ -000c4f60: 7768 656e 3a20 2722 7566 7722 2069 6e20  when: '"ufw" in 
│ │ │ -000c4f70: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -000c4f80: 636b 6167 6573 270a 2020 7461 6773 3a0a  ckages'.  tags:.
│ │ │ -000c4f90: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ -000c4fa0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ -000c4fb0: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -000c4fc0: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ -000c4fd0: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ -000c4fe0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -000c4ff0: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ -000c5000: 6970 7461 626c 6573 2d70 6572 7369 7374  iptables-persist
│ │ │ -000c5010: 656e 745f 7265 6d6f 7665 640a 3c2f 636f  ent_removed.
│ │ │ +000c4a60: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +000c4ae0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +000c4b10: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +000c4b30: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +000c4b40: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +000c4b60: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +000c4b70: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +000c4b90: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ +000c4ba0: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ +000c4bb0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ +000c4bc0: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ +000c4bd0: 2020 7461 6773 3a0a 2020 2d20 6469 7361    tags:.  - disa
│ │ │ +000c4be0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +000c4bf0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +000c4c00: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +000c4c10: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ +000c4c20: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +000c4c30: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +000c4c40: 7061 636b 6167 655f 6970 7461 626c 6573  package_iptables
│ │ │ +000c4c50: 2d70 6572 7369 7374 656e 745f 7265 6d6f  -persistent_remo
│ │ │ +000c4c60: 7665 640a 0a2d 206e 616d 653a 2045 6e73  ved..- name: Ens
│ │ │ +000c4c70: 7572 6520 6970 7461 626c 6573 2d70 6572  ure iptables-per
│ │ │ +000c4c80: 7369 7374 656e 7420 6973 2072 656d 6f76  sistent is remov
│ │ │ +000c4c90: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ +000c4ca0: 2020 6e61 6d65 3a20 6970 7461 626c 6573    name: iptables
│ │ │ +000c4cb0: 2d70 6572 7369 7374 656e 740a 2020 2020  -persistent.    
│ │ │ +000c4cc0: 7374 6174 653a 2061 6273 656e 740a 2020  state: absent.  
│ │ │ +000c4cd0: 7768 656e 3a20 2722 7566 7722 2069 6e20  when: '"ufw" in 
│ │ │ +000c4ce0: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ +000c4cf0: 636b 6167 6573 270a 2020 7461 6773 3a0a  ckages'.  tags:.
│ │ │ +000c4d00: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ +000c4d10: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +000c4d20: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +000c4d30: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ +000c4d40: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ +000c4d50: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +000c4d60: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ +000c4d70: 6970 7461 626c 6573 2d70 6572 7369 7374  iptables-persist
│ │ │ +000c4d80: 656e 745f 7265 6d6f 7665 640a 3c2f 636f  ent_removed.
< │ │ │ +000c4da0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +000c4db0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +000c4dc0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +000c4dd0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +000c4de0: 646d 3131 3734 3222 2074 6162 696e 6465 dm11742" tabinde │ │ │ +000c4df0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +000c4e00: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +000c4e10: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +000c4e20: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +000c4e30: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +000c4e40: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +000c4e50: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity: │ │ │ +000c4f30: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +000c4f40: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ +000c4fa0: 6970 7461 626c 6573 2d70 6572 7369 7374  iptables-persist
│ │ │ +000c4fb0: 656e 740a 0a63 6c61 7373 2072 656d 6f76  ent..class remov
│ │ │ +000c4fc0: 655f 6970 7461 626c 6573 2d70 6572 7369  e_iptables-persi
│ │ │ +000c4fd0: 7374 656e 7420 7b0a 2020 7061 636b 6167  stent {.  packag
│ │ │ +000c4fe0: 6520 7b20 2769 7074 6162 6c65 732d 7065  e { 'iptables-pe
│ │ │ +000c4ff0: 7273 6973 7465 6e74 273a 0a20 2020 2065  rsistent':.    e
│ │ │ +000c5000: 6e73 7572 6520 3d26 6774 3b20 2770 7572  nsure => 'pur
│ │ │ +000c5010: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ged',.  }.}.
< │ │ │ 000c5030: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 000c5040: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 000c5050: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 000c5060: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 000c5070: 646d 3131 3734 3322 2074 6162 696e 6465 dm11743" tabinde │ │ │ 000c5080: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ @@ -67064,130 +67064,130 @@ │ │ │ 00105f70: 7461 2d74 6172 6765 743d 2223 6964 6d31 ta-target="#idm1 │ │ │ 00105f80: 3539 3235 2220 7461 6269 6e64 6578 3d22 5925" tabindex=" │ │ │ 00105f90: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button" │ │ │ 00105fa0: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded=" │ │ │ 00105fb0: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac │ │ │ 00105fc0: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal │ │ │ 00105fd0: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme │ │ │ -00105fe0: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild │ │ │ -00105ff0: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe │ │ │ -00106000: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -00106040: 3c70 7265 3e3c 636f 6465 3e0a 5b5b 7061
.[[pa
│ │ │ -00106050: 636b 6167 6573 5d5d 0a6e 616d 6520 3d20  ckages]].name = 
│ │ │ -00106060: 226e 6674 6162 6c65 7322 0a76 6572 7369  "nftables".versi
│ │ │ -00106070: 6f6e 203d 2022 2a22 0a3c 2f63 6f64 653e  on = "*".
│ │ │ -00106080: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ -00106130: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -00106140: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
low
Disru │ │ │ +000c4f10: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +000c4f20: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +000c4f60: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +000c4f70: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
< │ │ │ -001061e0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001061f0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -00106240: 3c74 723e 3c74 683e 5374 7261 7465 6779
inc
│ │ │ -00106280: 6c75 6465 2069 6e73 7461 6c6c 5f6e 6674  lude install_nft
│ │ │ -00106290: 6162 6c65 730a 0a63 6c61 7373 2069 6e73  ables..class ins
│ │ │ -001062a0: 7461 6c6c 5f6e 6674 6162 6c65 7320 7b0a  tall_nftables {.
│ │ │ -001062b0: 2020 7061 636b 6167 6520 7b20 276e 6674    package { 'nft
│ │ │ -001062c0: 6162 6c65 7327 3a0a 2020 2020 656e 7375  ables':.    ensu
│ │ │ -001062d0: 7265 203d 2667 743b 2027 696e 7374 616c  re => 'instal
│ │ │ -001062e0: 6c65 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  led',.  }.}.
< │ │ │ -00106300: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -00106310: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -00106320: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -00106330: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -00106340: 646d 3135 3932 3722 2074 6162 696e 6465 dm15927" tabinde │ │ │ -00106350: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -00106360: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -00106370: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -00106380: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -00106390: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -001063a0: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ -001063b0: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
C │ │ │ -001061d0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -00106200: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -00106210: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -00106250: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ -00106260: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
< │ │ │ -00106440: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -00106460: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -001064b0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
- name: Gather 
│ │ │ -00106500: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ -00106510: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ -00106520: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ -00106530: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ -00106540: 2050 4349 2d44 5353 7634 2d31 2e32 0a20   PCI-DSSv4-1.2. 
│ │ │ -00106550: 202d 2050 4349 2d44 5353 7634 2d31 2e32   - PCI-DSSv4-1.2
│ │ │ -00106560: 2e31 0a20 202d 2065 6e61 626c 655f 7374  .1.  - enable_st
│ │ │ -00106570: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ -00106580: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ -00106590: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ -001065a0: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ -001065b0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ -001065c0: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ -001065d0: 655f 6e66 7461 626c 6573 5f69 6e73 7461  e_nftables_insta
│ │ │ -001065e0: 6c6c 6564 0a0a 2d20 6e61 6d65 3a20 456e  lled..- name: En
│ │ │ -001065f0: 7375 7265 206e 6674 6162 6c65 7320 6973  sure nftables is
│ │ │ -00106600: 2069 6e73 7461 6c6c 6564 0a20 2070 6163   installed.  pac
│ │ │ -00106610: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20  kage:.    name: 
│ │ │ -00106620: 6e66 7461 626c 6573 0a20 2020 2073 7461  nftables.    sta
│ │ │ -00106630: 7465 3a20 7072 6573 656e 740a 2020 7768  te: present.  wh
│ │ │ -00106640: 656e 3a20 2820 226c 696e 7578 2d62 6173  en: ( "linux-bas
│ │ │ -00106650: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ -00106660: 6374 732e 7061 636b 6167 6573 2029 0a20  cts.packages ). 
│ │ │ -00106670: 2074 6167 733a 0a20 202d 2050 4349 2d44   tags:.  - PCI-D
│ │ │ -00106680: 5353 7634 2d31 2e32 0a20 202d 2050 4349  SSv4-1.2.  - PCI
│ │ │ -00106690: 2d44 5353 7634 2d31 2e32 2e31 0a20 202d  -DSSv4-1.2.1.  -
│ │ │ -001066a0: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ -001066b0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -001066c0: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -001066d0: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ -001066e0: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ -001066f0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -00106700: 2020 2d20 7061 636b 6167 655f 6e66 7461    - package_nfta
│ │ │ -00106710: 626c 6573 5f69 6e73 7461 6c6c 6564 0a3c  bles_installed.<
│ │ │ +00105fe0: 6469 6174 696f 6e20 416e 7369 626c 6520  diation Ansible 
│ │ │ +00105ff0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c  snippet ...<
│ │ │ +00106000: 6272 3e3c 6469 7620 636c 6173 733d 2270  br>
low
Disr │ │ │ -00106470: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -00106480: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -001064c0: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ -001064d0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ +00106090: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
- 
│ │ │ +00106130: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ +00106140: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ +00106150: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ +00106160: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ +00106170: 6f0a 2020 7461 6773 3a0a 2020 2d20 5043  o.  tags:.  - PC
│ │ │ +00106180: 492d 4453 5376 342d 312e 320a 2020 2d20  I-DSSv4-1.2.  - 
│ │ │ +00106190: 5043 492d 4453 5376 342d 312e 322e 310a  PCI-DSSv4-1.2.1.
│ │ │ +001061a0: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ +001061b0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +001061c0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +001061d0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ +001061e0: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ +001061f0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +00106200: 6564 0a20 202d 2070 6163 6b61 6765 5f6e  ed.  - package_n
│ │ │ +00106210: 6674 6162 6c65 735f 696e 7374 616c 6c65  ftables_installe
│ │ │ +00106220: 640a 0a2d 206e 616d 653a 2045 6e73 7572  d..- name: Ensur
│ │ │ +00106230: 6520 6e66 7461 626c 6573 2069 7320 696e  e nftables is in
│ │ │ +00106240: 7374 616c 6c65 640a 2020 7061 636b 6167  stalled.  packag
│ │ │ +00106250: 653a 0a20 2020 206e 616d 653a 206e 6674  e:.    name: nft
│ │ │ +00106260: 6162 6c65 730a 2020 2020 7374 6174 653a  ables.    state:
│ │ │ +00106270: 2070 7265 7365 6e74 0a20 2077 6865 6e3a   present.  when:
│ │ │ +00106280: 2028 2022 6c69 6e75 782d 6261 7365 2220   ( "linux-base" 
│ │ │ +00106290: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +001062a0: 2e70 6163 6b61 6765 7320 290a 2020 7461  .packages ).  ta
│ │ │ +001062b0: 6773 3a0a 2020 2d20 5043 492d 4453 5376  gs:.  - PCI-DSSv
│ │ │ +001062c0: 342d 312e 320a 2020 2d20 5043 492d 4453  4-1.2.  - PCI-DS
│ │ │ +001062d0: 5376 342d 312e 322e 310a 2020 2d20 656e  Sv4-1.2.1.  - en
│ │ │ +001062e0: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +001062f0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +00106300: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +00106310: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ +00106320: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +00106330: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +00106340: 2070 6163 6b61 6765 5f6e 6674 6162 6c65   package_nftable
│ │ │ +00106350: 735f 696e 7374 616c 6c65 640a 3c2f 636f  s_installed.
< │ │ │ +00106370: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +00106380: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +00106390: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +001063a0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +001063b0: 646d 3135 3932 3622 2074 6162 696e 6465 dm15926" tabinde │ │ │ +001063c0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +001063d0: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +001063e0: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +001063f0: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +00106400: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +00106410: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +00106420: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
│ │ │ +00106080: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +001060b0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +001060c0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +00106100: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ +00106110: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexity: │ │ │ +00106500: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +00106510: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ +00106560: 696e 636c 7564 6520 696e 7374 616c 6c5f  include install_
│ │ │ +00106570: 6e66 7461 626c 6573 0a0a 636c 6173 7320  nftables..class 
│ │ │ +00106580: 696e 7374 616c 6c5f 6e66 7461 626c 6573  install_nftables
│ │ │ +00106590: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ +001065a0: 6e66 7461 626c 6573 273a 0a20 2020 2065  nftables':.    e
│ │ │ +001065b0: 6e73 7572 6520 3d26 6774 3b20 2769 6e73  nsure => 'ins
│ │ │ +001065c0: 7461 6c6c 6564 272c 0a20 207d 0a7d 0a3c  talled',.  }.}.<
│ │ │ +001065d0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation OS │ │ │ +00106690: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint │ │ │ +001066a0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +001066b0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
.[[packages]].n
│ │ │ +00106700: 616d 6520 3d20 226e 6674 6162 6c65 7322  ame = "nftables"
│ │ │ +00106710: 0a76 6572 7369 6f6e 203d 2022 2a22 0a3c  .version = "*".<
│ │ │  00106720: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ -001072d0: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ -001072e0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low< │ │ │ -001073b0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>
low
Disru │ │ │ +001064e0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +001064f0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +00106530: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ +00106540: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity: │ │ │ -00107370: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ -00107390: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ -001073e0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -001073f0: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
include remo
│ │ │ -00107420: 7665 5f6e 6674 6162 6c65 730a 0a63 6c61  ve_nftables..cla
│ │ │ -00107430: 7373 2072 656d 6f76 655f 6e66 7461 626c  ss remove_nftabl
│ │ │ -00107440: 6573 207b 0a20 2070 6163 6b61 6765 207b  es {.  package {
│ │ │ -00107450: 2027 6e66 7461 626c 6573 273a 0a20 2020   'nftables':.   
│ │ │ -00107460: 2065 6e73 7572 6520 3d26 6774 3b20 2770   ensure => 'p
│ │ │ -00107470: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f  urged',.  }.}.
Remediation Ans │ │ │ -00107540: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -00107550: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ -001075e0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -00107600: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ -00107620: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ -00107650: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -00107660: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Ensu
│ │ │ -00107690: 7265 206e 6674 6162 6c65 7320 6973 2072  re nftables is r
│ │ │ -001076a0: 656d 6f76 6564 0a20 2070 6163 6b61 6765  emoved.  package
│ │ │ -001076b0: 3a0a 2020 2020 6e61 6d65 3a20 6e66 7461  :.    name: nfta
│ │ │ -001076c0: 626c 6573 0a20 2020 2073 7461 7465 3a20  bles.    state: 
│ │ │ -001076d0: 6162 7365 6e74 0a20 2074 6167 733a 0a20  absent.  tags:. 
│ │ │ -001076e0: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ -001076f0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -00107700: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -00107710: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -00107720: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -00107730: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -00107740: 6564 0a20 202d 2070 6163 6b61 6765 5f6e  ed.  - package_n
│ │ │ -00107750: 6674 6162 6c65 735f 7265 6d6f 7665 640a  ftables_removed.
│ │ │ +001072c0: 223e 5265 6d65 6469 6174 696f 6e20 416e  ">Remediation An
│ │ │ +001072d0: 7369 626c 6520 736e 6970 7065 7420 e287  sible snippet ..
│ │ │ +001072e0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c  .
Complexity │ │ │ +00107370: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +00107390: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +001073a0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001073b0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +001073c0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +001073e0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ +00107410: 636f 6465 3e2d 206e 616d 653a 2045 6e73  code>- name: Ens
│ │ │ +00107420: 7572 6520 6e66 7461 626c 6573 2069 7320  ure nftables is 
│ │ │ +00107430: 7265 6d6f 7665 640a 2020 7061 636b 6167  removed.  packag
│ │ │ +00107440: 653a 0a20 2020 206e 616d 653a 206e 6674  e:.    name: nft
│ │ │ +00107450: 6162 6c65 730a 2020 2020 7374 6174 653a  ables.    state:
│ │ │ +00107460: 2061 6273 656e 740a 2020 7461 6773 3a0a   absent.  tags:.
│ │ │ +00107470: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ +00107480: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +00107490: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +001074a0: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ +001074b0: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ +001074c0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +001074d0: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ +001074e0: 6e66 7461 626c 6573 5f72 656d 6f76 6564  nftables_removed
│ │ │ +001074f0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +001075b0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +001075c0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ +00107640: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +00107650: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +00107670: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +00107680: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +001076a0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +001076c0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ +001076f0: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ +00107700: 6d6f 7665 5f6e 6674 6162 6c65 730a 0a63  move_nftables..c
│ │ │ +00107710: 6c61 7373 2072 656d 6f76 655f 6e66 7461  lass remove_nfta
│ │ │ +00107720: 626c 6573 207b 0a20 2070 6163 6b61 6765  bles {.  package
│ │ │ +00107730: 207b 2027 6e66 7461 626c 6573 273a 0a20   { 'nftables':. 
│ │ │ +00107740: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ +00107750: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a  'purged',.  }.}.
│ │ │  00107760: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation │ │ │ -00108340: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ -00108350: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
.[customizat
│ │ │ -001083b0: 696f 6e73 2e73 6572 7669 6365 735d 0a65  ions.services].e
│ │ │ -001083c0: 6e61 626c 6564 203d 205b 226e 6674 6162  nabled = ["nftab
│ │ │ -001083d0: 6c65 7322 5d0a 3c2f 636f 6465 3e3c 2f70  les"].

Remedia │ │ │ -00108490: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ -001084a0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -001084b0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -001084c0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -001084d0: 7365 2220 6964 3d22 6964 6d31 3539 3539 se" id="idm15959 │ │ │ -001084e0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ -00108530: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -00108540: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -00108560: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -00108580: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -00108590: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ -001085d0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ -001085e0: 6520 656e 6162 6c65 5f6e 6674 6162 6c65 e enable_nftable │ │ │ -001085f0: 730a 0a63 6c61 7373 2065 6e61 626c 655f s..class enable_ │ │ │ -00108600: 6e66 7461 626c 6573 207b 0a20 2073 6572 nftables {. ser │ │ │ -00108610: 7669 6365 207b 276e 6674 6162 6c65 7327 vice {'nftables' │ │ │ -00108620: 3a0a 2020 2020 656e 6162 6c65 203d 2667 :. enable =&g │ │ │ -00108630: 743b 2074 7275 652c 0a20 2020 2065 6e73 t; true,. ens │ │ │ -00108640: 7572 6520 3d26 6774 3b20 2772 756e 6e69 ure => 'runni │ │ │ -00108650: 6e67 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ng',. }.}.
Re │ │ │ -00108710: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -00108720: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
Complexity: │ │ │ -00108800: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -00108810: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ -00108860: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ -00108870: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ -00108880: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ -00108890: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ -001088a0: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ -001088b0: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ -001088c0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -001088d0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -001088e0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -001088f0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -00108900: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -00108910: 202d 2073 6572 7669 6365 5f6e 6674 6162   - service_nftab
│ │ │ -00108920: 6c65 735f 656e 6162 6c65 640a 0a2d 206e  les_enabled..- n
│ │ │ -00108930: 616d 653a 2056 6572 6966 7920 6e66 7461  ame: Verify nfta
│ │ │ -00108940: 626c 6573 2053 6572 7669 6365 2069 7320  bles Service is 
│ │ │ -00108950: 456e 6162 6c65 6420 2d20 456e 6162 6c65  Enabled - Enable
│ │ │ -00108960: 2073 6572 7669 6365 206e 6674 6162 6c65   service nftable
│ │ │ -00108970: 730a 2020 626c 6f63 6b3a 0a0a 2020 2d20  s.  block:..  - 
│ │ │ -00108980: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ -00108990: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ -001089a0: 2020 2070 6163 6b61 6765 5f66 6163 7473     package_facts
│ │ │ -001089b0: 3a0a 2020 2020 2020 6d61 6e61 6765 723a  :.      manager:
│ │ │ -001089c0: 2061 7574 6f0a 0a20 202d 206e 616d 653a   auto..  - name:
│ │ │ -001089d0: 2056 6572 6966 7920 6e66 7461 626c 6573   Verify nftables
│ │ │ -001089e0: 2053 6572 7669 6365 2069 7320 456e 6162   Service is Enab
│ │ │ -001089f0: 6c65 6420 2d20 456e 6162 6c65 2053 6572  led - Enable Ser
│ │ │ -00108a00: 7669 6365 206e 6674 6162 6c65 730a 2020  vice nftables.  
│ │ │ -00108a10: 2020 616e 7369 626c 652e 6275 696c 7469    ansible.builti
│ │ │ -00108a20: 6e2e 7379 7374 656d 643a 0a20 2020 2020  n.systemd:.     
│ │ │ -00108a30: 206e 616d 653a 206e 6674 6162 6c65 730a   name: nftables.
│ │ │ -00108a40: 2020 2020 2020 656e 6162 6c65 643a 2074        enabled: t
│ │ │ -00108a50: 7275 650a 2020 2020 2020 7374 6174 653a  rue.      state:
│ │ │ -00108a60: 2073 7461 7274 6564 0a20 2020 2020 206d   started.      m
│ │ │ -00108a70: 6173 6b65 643a 2066 616c 7365 0a20 2020  asked: false.   
│ │ │ -00108a80: 2077 6865 6e3a 0a20 2020 202d 2027 226e   when:.    - '"n
│ │ │ -00108a90: 6674 6162 6c65 7322 2069 6e20 616e 7369  ftables" in ansi
│ │ │ -00108aa0: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -00108ab0: 6573 270a 2020 7768 656e 3a20 2820 226e  es'.  when: ( "n
│ │ │ -00108ac0: 6674 6162 6c65 7322 2069 6e20 616e 7369  ftables" in ansi
│ │ │ -00108ad0: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -00108ae0: 6573 2061 6e64 2022 6c69 6e75 782d 6261  es and "linux-ba
│ │ │ -00108af0: 7365 2220 696e 2061 6e73 6962 6c65 5f66  se" in ansible_f
│ │ │ -00108b00: 6163 7473 2e70 6163 6b61 6765 730a 2020  acts.packages.  
│ │ │ -00108b10: 2020 290a 2020 7461 6773 3a0a 2020 2d20    ).  tags:.  - 
│ │ │ -00108b20: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ -00108b30: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -00108b40: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -00108b50: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -00108b60: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -00108b70: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -00108b80: 202d 2073 6572 7669 6365 5f6e 6674 6162   - service_nftab
│ │ │ -00108b90: 6c65 735f 656e 6162 6c65 640a 3c2f 636f  les_enabled.
< │ │ │ +00108390: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +001083a0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +001083b0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +001083c0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +001083d0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ +00108460: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c < │ │ │ +00108470: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
low
Disru │ │ │ -001087e0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -001087f0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -00108830: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ -00108840: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complex │ │ │ +001083e0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +001083f0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ +00108430: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +00108440: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
enable
- name: G
│ │ │ +00108490: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ +001084a0: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ +001084b0: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ +001084c0: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ +001084d0: 733a 0a20 202d 2065 6e61 626c 655f 7374  s:.  - enable_st
│ │ │ +001084e0: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +001084f0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +00108500: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +00108510: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ +00108520: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +00108530: 6565 6465 640a 2020 2d20 7365 7276 6963  eeded.  - servic
│ │ │ +00108540: 655f 6e66 7461 626c 6573 5f65 6e61 626c  e_nftables_enabl
│ │ │ +00108550: 6564 0a0a 2d20 6e61 6d65 3a20 5665 7269  ed..- name: Veri
│ │ │ +00108560: 6679 206e 6674 6162 6c65 7320 5365 7276  fy nftables Serv
│ │ │ +00108570: 6963 6520 6973 2045 6e61 626c 6564 202d  ice is Enabled -
│ │ │ +00108580: 2045 6e61 626c 6520 7365 7276 6963 6520   Enable service 
│ │ │ +00108590: 6e66 7461 626c 6573 0a20 2062 6c6f 636b  nftables.  block
│ │ │ +001085a0: 3a0a 0a20 202d 206e 616d 653a 2047 6174  :..  - name: Gat
│ │ │ +001085b0: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ +001085c0: 6661 6374 730a 2020 2020 7061 636b 6167  facts.    packag
│ │ │ +001085d0: 655f 6661 6374 733a 0a20 2020 2020 206d  e_facts:.      m
│ │ │ +001085e0: 616e 6167 6572 3a20 6175 746f 0a0a 2020  anager: auto..  
│ │ │ +001085f0: 2d20 6e61 6d65 3a20 5665 7269 6679 206e  - name: Verify n
│ │ │ +00108600: 6674 6162 6c65 7320 5365 7276 6963 6520  ftables Service 
│ │ │ +00108610: 6973 2045 6e61 626c 6564 202d 2045 6e61  is Enabled - Ena
│ │ │ +00108620: 626c 6520 5365 7276 6963 6520 6e66 7461  ble Service nfta
│ │ │ +00108630: 626c 6573 0a20 2020 2061 6e73 6962 6c65  bles.    ansible
│ │ │ +00108640: 2e62 7569 6c74 696e 2e73 7973 7465 6d64  .builtin.systemd
│ │ │ +00108650: 3a0a 2020 2020 2020 6e61 6d65 3a20 6e66  :.      name: nf
│ │ │ +00108660: 7461 626c 6573 0a20 2020 2020 2065 6e61  tables.      ena
│ │ │ +00108670: 626c 6564 3a20 7472 7565 0a20 2020 2020  bled: true.     
│ │ │ +00108680: 2073 7461 7465 3a20 7374 6172 7465 640a   state: started.
│ │ │ +00108690: 2020 2020 2020 6d61 736b 6564 3a20 6661        masked: fa
│ │ │ +001086a0: 6c73 650a 2020 2020 7768 656e 3a0a 2020  lse.    when:.  
│ │ │ +001086b0: 2020 2d20 2722 6e66 7461 626c 6573 2220    - '"nftables" 
│ │ │ +001086c0: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +001086d0: 2e70 6163 6b61 6765 7327 0a20 2077 6865  .packages'.  whe
│ │ │ +001086e0: 6e3a 2028 2022 6e66 7461 626c 6573 2220  n: ( "nftables" 
│ │ │ +001086f0: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +00108700: 2e70 6163 6b61 6765 7320 616e 6420 226c  .packages and "l
│ │ │ +00108710: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ +00108720: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +00108730: 6167 6573 0a20 2020 2029 0a20 2074 6167  ages.    ).  tag
│ │ │ +00108740: 733a 0a20 202d 2065 6e61 626c 655f 7374  s:.  - enable_st
│ │ │ +00108750: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +00108760: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +00108770: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +00108780: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ +00108790: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +001087a0: 6565 6465 640a 2020 2d20 7365 7276 6963  eeded.  - servic
│ │ │ +001087b0: 655f 6e66 7461 626c 6573 5f65 6e61 626c  e_nftables_enabl
│ │ │ +001087c0: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e  ed.
│ │ │ +001087d0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ +00108880: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ +00108890: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +001088d0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +001088e0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +001088f0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +00108900: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +00108910: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +00108920: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +00108930: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +00108970: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +00108980: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +001089a0: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ +001089b0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include e
│ │ │ +001089d0: 6e61 626c 655f 6e66 7461 626c 6573 0a0a  nable_nftables..
│ │ │ +001089e0: 636c 6173 7320 656e 6162 6c65 5f6e 6674  class enable_nft
│ │ │ +001089f0: 6162 6c65 7320 7b0a 2020 7365 7276 6963  ables {.  servic
│ │ │ +00108a00: 6520 7b27 6e66 7461 626c 6573 273a 0a20  e {'nftables':. 
│ │ │ +00108a10: 2020 2065 6e61 626c 6520 3d26 6774 3b20     enable => 
│ │ │ +00108a20: 7472 7565 2c0a 2020 2020 656e 7375 7265  true,.    ensure
│ │ │ +00108a30: 203d 2667 743b 2027 7275 6e6e 696e 6727   => 'running'
│ │ │ +00108a40: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ +00108a50: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remed │ │ │ +00108b00: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B │ │ │ +00108b10: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet │ │ │ +00108b20: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +00108b60: 7072 653e 3c63 6f64 653e 0a5b 6375 7374 pre>.[cust │ │ │ +00108b70: 6f6d 697a 6174 696f 6e73 2e73 6572 7669 omizations.servi │ │ │ +00108b80: 6365 735d 0a65 6e61 626c 6564 203d 205b ces].enabled = [ │ │ │ +00108b90: 226e 6674 6162 6c65 7322 5d0a 3c2f 636f "nftables"].
< │ │ │ 00108bb0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 00108bc0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 00108bd0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 00108be0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 00108bf0: 646d 3135 3936 3122 2074 6162 696e 6465 dm15961" tabinde │ │ │ 00108c00: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ @@ -67984,308 +67984,308 @@ │ │ │ 001098f0: 6461 7461 2d74 6172 6765 743d 2223 6964 data-target="#id │ │ │ 00109900: 6d31 3539 3830 2220 7461 6269 6e64 6578 m15980" tabindex │ │ │ 00109910: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ 00109920: 6e22 2061 7269 612d 6578 7061 6e64 6564 n" aria-expanded │ │ │ 00109930: 3d22 6661 6c73 6522 2074 6974 6c65 3d22 ="false" title=" │ │ │ 00109940: 4163 7469 7661 7465 2074 6f20 7265 7665 Activate to reve │ │ │ 00109950: 616c 2220 6872 6566 3d22 2321 223e 5265 al" href="#!">Re │ │ │ -00109960: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil │ │ │ -00109970: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip │ │ │ -00109980: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -00109990: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -001099a0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -001099b0: 7365 2220 6964 3d22 6964 6d31 3539 3830 se" id="idm15980 │ │ │ -001099c0: 223e 3c70 7265 3e3c 636f 6465 3e0a 5b63 ">
.[c
│ │ │ -001099d0: 7573 746f 6d69 7a61 7469 6f6e 732e 7365  ustomizations.se
│ │ │ -001099e0: 7276 6963 6573 5d0a 6d61 736b 6564 203d  rvices].masked =
│ │ │ -001099f0: 205b 226e 6674 6162 6c65 7322 5d0a 3c2f   ["nftables"].
Remediation Kub │ │ │ -00109ac0: 6572 6e65 7465 7320 736e 6970 7065 7420 ernetes snippet │ │ │ -00109ad0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -00109b50: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -00109b60: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -00109b70: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:medium │ │ │ -00109ba0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb │ │ │ -00109bb0: 6f6f 743a 3c2f 7468 3e3c 7464 3e74 7275 oot:tru │ │ │ -00109bc0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e< │ │ │ -00109bd0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable

apiVers │ │ │ -00109c10: 696f 6e3a 206d 6163 6869 6e65 636f 6e66 ion: machineconf │ │ │ -00109c20: 6967 7572 6174 696f 6e2e 6f70 656e 7368 iguration.opensh │ │ │ -00109c30: 6966 742e 696f 2f76 310a 6b69 6e64 3a20 ift.io/v1.kind: │ │ │ -00109c40: 4d61 6368 696e 6543 6f6e 6669 670a 7370 MachineConfig.sp │ │ │ -00109c50: 6563 3a0a 2020 636f 6e66 6967 3a0a 2020 ec:. config:. │ │ │ -00109c60: 2020 6967 6e69 7469 6f6e 3a0a 2020 2020 ignition:. │ │ │ -00109c70: 2020 7665 7273 696f 6e3a 2033 2e31 2e30 version: 3.1.0 │ │ │ -00109c80: 0a20 2020 2073 7973 7465 6d64 3a0a 2020 . systemd:. │ │ │ -00109c90: 2020 2020 756e 6974 733a 0a20 2020 2020 units:. │ │ │ -00109ca0: 202d 206e 616d 653a 206e 6674 6162 6c65 - name: nftable │ │ │ -00109cb0: 732e 7365 7276 6963 650a 2020 2020 2020 s.service. │ │ │ -00109cc0: 2020 656e 6162 6c65 643a 2066 616c 7365 enabled: false │ │ │ -00109cd0: 0a20 2020 2020 2020 206d 6173 6b3a 2074 . mask: t │ │ │ -00109ce0: 7275 650a 2020 2020 2020 2d20 6e61 6d65 rue. - name │ │ │ -00109cf0: 3a20 6e66 7461 626c 6573 2e73 6f63 6b65 : nftables.socke │ │ │ -00109d00: 740a 2020 2020 2020 2020 656e 6162 6c65 t. enable │ │ │ -00109d10: 643a 2066 616c 7365 0a20 2020 2020 2020 d: false. │ │ │ -00109d20: 206d 6173 6b3a 2074 7275 650a 3c2f 636f mask: true.

< │ │ │ -00109d40: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -00109d50: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -00109d60: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -00109d70: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -00109d80: 646d 3135 3938 3222 2074 6162 696e 6465 dm15982" tabinde │ │ │ -00109d90: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -00109da0: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -00109db0: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -00109dc0: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -00109dd0: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -00109de0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ -00109df0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity: │ │ │ -00109ed0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -00109ee0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ -00109f30: 696e 636c 7564 6520 6469 7361 626c 655f  include disable_
│ │ │ -00109f40: 6e66 7461 626c 6573 0a0a 636c 6173 7320  nftables..class 
│ │ │ -00109f50: 6469 7361 626c 655f 6e66 7461 626c 6573  disable_nftables
│ │ │ -00109f60: 207b 0a20 2073 6572 7669 6365 207b 276e   {.  service {'n
│ │ │ -00109f70: 6674 6162 6c65 7327 3a0a 2020 2020 656e  ftables':.    en
│ │ │ -00109f80: 6162 6c65 203d 2667 743b 2066 616c 7365  able => false
│ │ │ -00109f90: 2c0a 2020 2020 656e 7375 7265 203d 2667  ,.    ensure =&g
│ │ │ -00109fa0: 743b 2027 7374 6f70 7065 6427 2c0a 2020  t; 'stopped',.  
│ │ │ -00109fb0: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ -0010a070: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -0010a080: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
low
Disru │ │ │ -00109eb0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -00109ec0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -00109f00: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ -00109f10: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -0010a130: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -0010a150: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -0010a180: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -0010a110: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -0010a120: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -0010a140: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -0010a160: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -0010a170: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -0010a1b0: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -0010a1c0: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ -0010a1d0: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac │ │ │ -0010a1e0: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ -0010a1f0: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto. │ │ │ -0010a200: 7461 6773 3a0a 2020 2d20 5043 492d 4453 tags:. - PCI-DS │ │ │ -0010a210: 5376 342d 312e 320a 2020 2d20 5043 492d Sv4-1.2. - PCI- │ │ │ -0010a220: 4453 5376 342d 312e 322e 310a 2020 2d20 DSSv4-1.2.1. - │ │ │ -0010a230: 6469 7361 626c 655f 7374 7261 7465 6779 disable_strategy │ │ │ -0010a240: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex │ │ │ -0010a250: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr │ │ │ -0010a260: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu │ │ │ -0010a270: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n │ │ │ -0010a280: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed. │ │ │ -0010a290: 2020 2d20 7365 7276 6963 655f 6e66 7461 - service_nfta │ │ │ -0010a2a0: 626c 6573 5f64 6973 6162 6c65 640a 0a2d bles_disabled..- │ │ │ -0010a2b0: 206e 616d 653a 2056 6572 6966 7920 6e66 name: Verify nf │ │ │ -0010a2c0: 7461 626c 6573 2053 6572 7669 6365 2069 tables Service i │ │ │ -0010a2d0: 7320 4469 7361 626c 6564 202d 2043 6f6c s Disabled - Col │ │ │ -0010a2e0: 6c65 6374 2073 7973 7465 6d64 2053 6572 lect systemd Ser │ │ │ -0010a2f0: 7669 6365 7320 5072 6573 656e 7420 696e vices Present in │ │ │ -0010a300: 0a20 2020 2074 6865 2053 7973 7465 6d0a . the System. │ │ │ -0010a310: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti │ │ │ -0010a320: 6e2e 636f 6d6d 616e 643a 2073 7973 7465 n.command: syste │ │ │ -0010a330: 6d63 746c 202d 7120 6c69 7374 2d75 6e69 mctl -q list-uni │ │ │ -0010a340: 742d 6669 6c65 7320 2d2d 7479 7065 2073 t-files --type s │ │ │ -0010a350: 6572 7669 6365 0a20 2072 6567 6973 7465 ervice. registe │ │ │ -0010a360: 723a 2073 6572 7669 6365 5f65 7869 7374 r: service_exist │ │ │ -0010a370: 730a 2020 6368 616e 6765 645f 7768 656e s. changed_when │ │ │ -0010a380: 3a20 6661 6c73 650a 2020 6661 696c 6564 : false. failed │ │ │ -0010a390: 5f77 6865 6e3a 2073 6572 7669 6365 5f65 _when: service_e │ │ │ -0010a3a0: 7869 7374 732e 7263 206e 6f74 2069 6e20 xists.rc not in │ │ │ -0010a3b0: 5b30 2c20 315d 0a20 2063 6865 636b 5f6d [0, 1]. check_m │ │ │ -0010a3c0: 6f64 653a 2066 616c 7365 0a20 2077 6865 ode: false. whe │ │ │ -0010a3d0: 6e3a 2028 2022 6669 7265 7761 6c6c 6422 n: ( "firewalld" │ │ │ -0010a3e0: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact │ │ │ -0010a3f0: 732e 7061 636b 6167 6573 2061 6e64 2022 s.packages and " │ │ │ -0010a400: 6e66 7461 626c 6573 2220 696e 2061 6e73 nftables" in ans │ │ │ -0010a410: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa │ │ │ -0010a420: 6765 730a 2020 2020 616e 6420 226c 696e ges. and "lin │ │ │ -0010a430: 7578 2d62 6173 6522 2069 6e20 616e 7369 ux-base" in ansi │ │ │ -0010a440: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag │ │ │ -0010a450: 6573 2029 0a20 2074 6167 733a 0a20 202d es ). tags:. - │ │ │ -0010a460: 2050 4349 2d44 5353 7634 2d31 2e32 0a20 PCI-DSSv4-1.2. │ │ │ -0010a470: 202d 2050 4349 2d44 5353 7634 2d31 2e32 - PCI-DSSv4-1.2 │ │ │ -0010a480: 2e31 0a20 202d 2064 6973 6162 6c65 5f73 .1. - disable_s │ │ │ -0010a490: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_ │ │ │ -0010a4a0: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l │ │ │ -0010a4b0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption. │ │ │ -0010a4c0: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit │ │ │ -0010a4d0: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_ │ │ │ -0010a4e0: 6e65 6564 6564 0a20 202d 2073 6572 7669 needed. - servi │ │ │ -0010a4f0: 6365 5f6e 6674 6162 6c65 735f 6469 7361 ce_nftables_disa │ │ │ -0010a500: 626c 6564 0a0a 2d20 6e61 6d65 3a20 5665 bled..- name: Ve │ │ │ -0010a510: 7269 6679 206e 6674 6162 6c65 7320 5365 rify nftables Se │ │ │ -0010a520: 7276 6963 6520 6973 2044 6973 6162 6c65 rvice is Disable │ │ │ -0010a530: 6420 2d20 456e 7375 7265 206e 6674 6162 d - Ensure nftab │ │ │ -0010a540: 6c65 732e 7365 7276 6963 6520 6973 204d les.service is M │ │ │ -0010a550: 6173 6b65 640a 2020 616e 7369 626c 652e asked. ansible. │ │ │ -0010a560: 6275 696c 7469 6e2e 7379 7374 656d 643a builtin.systemd: │ │ │ -0010a570: 0a20 2020 206e 616d 653a 206e 6674 6162 . name: nftab │ │ │ -0010a580: 6c65 732e 7365 7276 6963 650a 2020 2020 les.service. │ │ │ -0010a590: 7374 6174 653a 2073 746f 7070 6564 0a20 state: stopped. │ │ │ -0010a5a0: 2020 2065 6e61 626c 6564 3a20 6661 6c73 enabled: fals │ │ │ -0010a5b0: 650a 2020 2020 6d61 736b 6564 3a20 7472 e. masked: tr │ │ │ -0010a5c0: 7565 0a20 2077 6865 6e3a 0a20 202d 2028 ue. when:. - ( │ │ │ -0010a5d0: 2022 6669 7265 7761 6c6c 6422 2069 6e20 "firewalld" in │ │ │ -0010a5e0: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa │ │ │ -0010a5f0: 636b 6167 6573 2061 6e64 2022 6e66 7461 ckages and "nfta │ │ │ -0010a600: 626c 6573 2220 696e 2061 6e73 6962 6c65 bles" in ansible │ │ │ -0010a610: 5f66 6163 7473 2e70 6163 6b61 6765 730a _facts.packages. │ │ │ -0010a620: 2020 2020 616e 6420 226c 696e 7578 2d62 and "linux-b │ │ │ -0010a630: 6173 6522 2069 6e20 616e 7369 626c 655f ase" in ansible_ │ │ │ -0010a640: 6661 6374 732e 7061 636b 6167 6573 2029 facts.packages ) │ │ │ -0010a650: 0a20 202d 2073 6572 7669 6365 5f65 7869 . - service_exi │ │ │ -0010a660: 7374 732e 7374 646f 7574 5f6c 696e 6573 sts.stdout_lines │ │ │ -0010a670: 2069 7320 7365 6172 6368 2822 6e66 7461 is search("nfta │ │ │ -0010a680: 626c 6573 2e73 6572 7669 6365 222c 206d bles.service", m │ │ │ -0010a690: 756c 7469 6c69 6e65 3d54 7275 6529 0a20 ultiline=True). │ │ │ -0010a6a0: 2074 6167 733a 0a20 202d 2050 4349 2d44 tags:. - PCI-D │ │ │ -0010a6b0: 5353 7634 2d31 2e32 0a20 202d 2050 4349 SSv4-1.2. - PCI │ │ │ -0010a6c0: 2d44 5353 7634 2d31 2e32 2e31 0a20 202d -DSSv4-1.2.1. - │ │ │ -0010a6d0: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg │ │ │ -0010a6e0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple │ │ │ -0010a6f0: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis │ │ │ -0010a700: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi │ │ │ -0010a710: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. - │ │ │ -0010a720: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed │ │ │ -0010a730: 0a20 202d 2073 6572 7669 6365 5f6e 6674 . - service_nft │ │ │ -0010a740: 6162 6c65 735f 6469 7361 626c 6564 0a0a ables_disabled.. │ │ │ -0010a750: 2d20 6e61 6d65 3a20 556e 6974 2053 6f63 - name: Unit Soc │ │ │ -0010a760: 6b65 7420 4578 6973 7473 202d 206e 6674 ket Exists - nft │ │ │ -0010a770: 6162 6c65 732e 736f 636b 6574 0a20 2061 ables.socket. a │ │ │ -0010a780: 6e73 6962 6c65 2e62 7569 6c74 696e 2e63 nsible.builtin.c │ │ │ -0010a790: 6f6d 6d61 6e64 3a20 7379 7374 656d 6374 ommand: systemct │ │ │ -0010a7a0: 6c20 2d71 206c 6973 742d 756e 6974 2d66 l -q list-unit-f │ │ │ -0010a7b0: 696c 6573 206e 6674 6162 6c65 732e 736f iles nftables.so │ │ │ -0010a7c0: 636b 6574 0a20 2072 6567 6973 7465 723a cket. register: │ │ │ -0010a7d0: 2073 6f63 6b65 745f 6669 6c65 5f65 7869 socket_file_exi │ │ │ -0010a7e0: 7374 730a 2020 6368 616e 6765 645f 7768 sts. changed_wh │ │ │ -0010a7f0: 656e 3a20 6661 6c73 650a 2020 6661 696c en: false. fail │ │ │ -0010a800: 6564 5f77 6865 6e3a 2073 6f63 6b65 745f ed_when: socket_ │ │ │ -0010a810: 6669 6c65 5f65 7869 7374 732e 7263 206e file_exists.rc n │ │ │ -0010a820: 6f74 2069 6e20 5b30 2c20 315d 0a20 2063 ot in [0, 1]. c │ │ │ -0010a830: 6865 636b 5f6d 6f64 653a 2066 616c 7365 heck_mode: false │ │ │ -0010a840: 0a20 2077 6865 6e3a 2028 2022 6669 7265 . when: ( "fire │ │ │ -0010a850: 7761 6c6c 6422 2069 6e20 616e 7369 626c walld" in ansibl │ │ │ -0010a860: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages │ │ │ -0010a870: 2061 6e64 2022 6e66 7461 626c 6573 2220 and "nftables" │ │ │ -0010a880: 696e 2061 6e73 6962 6c65 5f66 6163 7473 in ansible_facts │ │ │ -0010a890: 2e70 6163 6b61 6765 730a 2020 2020 616e .packages. an │ │ │ -0010a8a0: 6420 226c 696e 7578 2d62 6173 6522 2069 d "linux-base" i │ │ │ -0010a8b0: 6e20 616e 7369 626c 655f 6661 6374 732e n ansible_facts. │ │ │ -0010a8c0: 7061 636b 6167 6573 2029 0a20 2074 6167 packages ). tag │ │ │ -0010a8d0: 733a 0a20 202d 2050 4349 2d44 5353 7634 s:. - PCI-DSSv4 │ │ │ -0010a8e0: 2d31 2e32 0a20 202d 2050 4349 2d44 5353 -1.2. - PCI-DSS │ │ │ -0010a8f0: 7634 2d31 2e32 2e31 0a20 202d 2064 6973 v4-1.2.1. - dis │ │ │ -0010a900: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy. │ │ │ -0010a910: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity │ │ │ -0010a920: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt │ │ │ -0010a930: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s │ │ │ -0010a940: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r │ │ │ -0010a950: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. - │ │ │ -0010a960: 2073 6572 7669 6365 5f6e 6674 6162 6c65 service_nftable │ │ │ -0010a970: 735f 6469 7361 626c 6564 0a0a 2d20 6e61 s_disabled..- na │ │ │ -0010a980: 6d65 3a20 5665 7269 6679 206e 6674 6162 me: Verify nftab │ │ │ -0010a990: 6c65 7320 5365 7276 6963 6520 6973 2044 les Service is D │ │ │ -0010a9a0: 6973 6162 6c65 6420 2d20 4469 7361 626c isabled - Disabl │ │ │ -0010a9b0: 6520 536f 636b 6574 206e 6674 6162 6c65 e Socket nftable │ │ │ -0010a9c0: 730a 2020 616e 7369 626c 652e 6275 696c s. ansible.buil │ │ │ -0010a9d0: 7469 6e2e 7379 7374 656d 643a 0a20 2020 tin.systemd:. │ │ │ -0010a9e0: 206e 616d 653a 206e 6674 6162 6c65 732e name: nftables. │ │ │ -0010a9f0: 736f 636b 6574 0a20 2020 2065 6e61 626c socket. enabl │ │ │ -0010aa00: 6564 3a20 6661 6c73 650a 2020 2020 7374 ed: false. st │ │ │ -0010aa10: 6174 653a 2073 746f 7070 6564 0a20 2020 ate: stopped. │ │ │ -0010aa20: 206d 6173 6b65 643a 2074 7275 650a 2020 masked: true. │ │ │ -0010aa30: 7768 656e 3a0a 2020 2d20 2820 2266 6972 when:. - ( "fir │ │ │ -0010aa40: 6577 616c 6c64 2220 696e 2061 6e73 6962 ewalld" in ansib │ │ │ -0010aa50: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package │ │ │ -0010aa60: 7320 616e 6420 226e 6674 6162 6c65 7322 s and "nftables" │ │ │ -0010aa70: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact │ │ │ -0010aa80: 732e 7061 636b 6167 6573 0a20 2020 2061 s.packages. a │ │ │ -0010aa90: 6e64 2022 6c69 6e75 782d 6261 7365 2220 nd "linux-base" │ │ │ -0010aaa0: 696e 2061 6e73 6962 6c65 5f66 6163 7473 in ansible_facts │ │ │ -0010aab0: 2e70 6163 6b61 6765 7320 290a 2020 2d20 .packages ). - │ │ │ -0010aac0: 736f 636b 6574 5f66 696c 655f 6578 6973 socket_file_exis │ │ │ -0010aad0: 7473 2e73 7464 6f75 745f 6c69 6e65 7320 ts.stdout_lines │ │ │ -0010aae0: 6973 2073 6561 7263 6828 226e 6674 6162 is search("nftab │ │ │ -0010aaf0: 6c65 732e 736f 636b 6574 222c 206d 756c les.socket", mul │ │ │ -0010ab00: 7469 6c69 6e65 3d54 7275 6529 0a20 2074 tiline=True). t │ │ │ -0010ab10: 6167 733a 0a20 202d 2050 4349 2d44 5353 ags:. - PCI-DSS │ │ │ -0010ab20: 7634 2d31 2e32 0a20 202d 2050 4349 2d44 v4-1.2. - PCI-D │ │ │ -0010ab30: 5353 7634 2d31 2e32 2e31 0a20 202d 2064 SSv4-1.2.1. - d │ │ │ -0010ab40: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy. │ │ │ -0010ab50: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi │ │ │ -0010ab60: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru │ │ │ -0010ab70: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium │ │ │ -0010ab80: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no │ │ │ -0010ab90: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed. │ │ │ -0010aba0: 202d 2073 6572 7669 6365 5f6e 6674 6162 - service_nftab │ │ │ -0010abb0: 6c65 735f 6469 7361 626c 6564 0a3c 2f63 les_disabled.
Complexity: │ │ │ +00109a50: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +00109a60: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
- name: Gather 
│ │ │ +00109ac0: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ +00109ad0: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ +00109ae0: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ +00109af0: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ +00109b00: 2050 4349 2d44 5353 7634 2d31 2e32 0a20   PCI-DSSv4-1.2. 
│ │ │ +00109b10: 202d 2050 4349 2d44 5353 7634 2d31 2e32   - PCI-DSSv4-1.2
│ │ │ +00109b20: 2e31 0a20 202d 2064 6973 6162 6c65 5f73  .1.  - disable_s
│ │ │ +00109b30: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ +00109b40: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ +00109b50: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ +00109b60: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ +00109b70: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ +00109b80: 6e65 6564 6564 0a20 202d 2073 6572 7669  needed.  - servi
│ │ │ +00109b90: 6365 5f6e 6674 6162 6c65 735f 6469 7361  ce_nftables_disa
│ │ │ +00109ba0: 626c 6564 0a0a 2d20 6e61 6d65 3a20 5665  bled..- name: Ve
│ │ │ +00109bb0: 7269 6679 206e 6674 6162 6c65 7320 5365  rify nftables Se
│ │ │ +00109bc0: 7276 6963 6520 6973 2044 6973 6162 6c65  rvice is Disable
│ │ │ +00109bd0: 6420 2d20 436f 6c6c 6563 7420 7379 7374  d - Collect syst
│ │ │ +00109be0: 656d 6420 5365 7276 6963 6573 2050 7265  emd Services Pre
│ │ │ +00109bf0: 7365 6e74 2069 6e0a 2020 2020 7468 6520  sent in.    the 
│ │ │ +00109c00: 5379 7374 656d 0a20 2061 6e73 6962 6c65  System.  ansible
│ │ │ +00109c10: 2e62 7569 6c74 696e 2e63 6f6d 6d61 6e64  .builtin.command
│ │ │ +00109c20: 3a20 7379 7374 656d 6374 6c20 2d71 206c  : systemctl -q l
│ │ │ +00109c30: 6973 742d 756e 6974 2d66 696c 6573 202d  ist-unit-files -
│ │ │ +00109c40: 2d74 7970 6520 7365 7276 6963 650a 2020  -type service.  
│ │ │ +00109c50: 7265 6769 7374 6572 3a20 7365 7276 6963  register: servic
│ │ │ +00109c60: 655f 6578 6973 7473 0a20 2063 6861 6e67  e_exists.  chang
│ │ │ +00109c70: 6564 5f77 6865 6e3a 2066 616c 7365 0a20  ed_when: false. 
│ │ │ +00109c80: 2066 6169 6c65 645f 7768 656e 3a20 7365   failed_when: se
│ │ │ +00109c90: 7276 6963 655f 6578 6973 7473 2e72 6320  rvice_exists.rc 
│ │ │ +00109ca0: 6e6f 7420 696e 205b 302c 2031 5d0a 2020  not in [0, 1].  
│ │ │ +00109cb0: 6368 6563 6b5f 6d6f 6465 3a20 6661 6c73  check_mode: fals
│ │ │ +00109cc0: 650a 2020 7768 656e 3a20 2820 2266 6972  e.  when: ( "fir
│ │ │ +00109cd0: 6577 616c 6c64 2220 696e 2061 6e73 6962  ewalld" in ansib
│ │ │ +00109ce0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +00109cf0: 7320 616e 6420 226e 6674 6162 6c65 7322  s and "nftables"
│ │ │ +00109d00: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ +00109d10: 732e 7061 636b 6167 6573 0a20 2020 2061  s.packages.    a
│ │ │ +00109d20: 6e64 2022 6c69 6e75 782d 6261 7365 2220  nd "linux-base" 
│ │ │ +00109d30: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +00109d40: 2e70 6163 6b61 6765 7320 290a 2020 7461  .packages ).  ta
│ │ │ +00109d50: 6773 3a0a 2020 2d20 5043 492d 4453 5376  gs:.  - PCI-DSSv
│ │ │ +00109d60: 342d 312e 320a 2020 2d20 5043 492d 4453  4-1.2.  - PCI-DS
│ │ │ +00109d70: 5376 342d 312e 322e 310a 2020 2d20 6469  Sv4-1.2.1.  - di
│ │ │ +00109d80: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ +00109d90: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +00109da0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +00109db0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +00109dc0: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +00109dd0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +00109de0: 2d20 7365 7276 6963 655f 6e66 7461 626c  - service_nftabl
│ │ │ +00109df0: 6573 5f64 6973 6162 6c65 640a 0a2d 206e  es_disabled..- n
│ │ │ +00109e00: 616d 653a 2056 6572 6966 7920 6e66 7461  ame: Verify nfta
│ │ │ +00109e10: 626c 6573 2053 6572 7669 6365 2069 7320  bles Service is 
│ │ │ +00109e20: 4469 7361 626c 6564 202d 2045 6e73 7572  Disabled - Ensur
│ │ │ +00109e30: 6520 6e66 7461 626c 6573 2e73 6572 7669  e nftables.servi
│ │ │ +00109e40: 6365 2069 7320 4d61 736b 6564 0a20 2061  ce is Masked.  a
│ │ │ +00109e50: 6e73 6962 6c65 2e62 7569 6c74 696e 2e73  nsible.builtin.s
│ │ │ +00109e60: 7973 7465 6d64 3a0a 2020 2020 6e61 6d65  ystemd:.    name
│ │ │ +00109e70: 3a20 6e66 7461 626c 6573 2e73 6572 7669  : nftables.servi
│ │ │ +00109e80: 6365 0a20 2020 2073 7461 7465 3a20 7374  ce.    state: st
│ │ │ +00109e90: 6f70 7065 640a 2020 2020 656e 6162 6c65  opped.    enable
│ │ │ +00109ea0: 643a 2066 616c 7365 0a20 2020 206d 6173  d: false.    mas
│ │ │ +00109eb0: 6b65 643a 2074 7275 650a 2020 7768 656e  ked: true.  when
│ │ │ +00109ec0: 3a0a 2020 2d20 2820 2266 6972 6577 616c  :.  - ( "firewal
│ │ │ +00109ed0: 6c64 2220 696e 2061 6e73 6962 6c65 5f66  ld" in ansible_f
│ │ │ +00109ee0: 6163 7473 2e70 6163 6b61 6765 7320 616e  acts.packages an
│ │ │ +00109ef0: 6420 226e 6674 6162 6c65 7322 2069 6e20  d "nftables" in 
│ │ │ +00109f00: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ +00109f10: 636b 6167 6573 0a20 2020 2061 6e64 2022  ckages.    and "
│ │ │ +00109f20: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ +00109f30: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +00109f40: 6b61 6765 7320 290a 2020 2d20 7365 7276  kages ).  - serv
│ │ │ +00109f50: 6963 655f 6578 6973 7473 2e73 7464 6f75  ice_exists.stdou
│ │ │ +00109f60: 745f 6c69 6e65 7320 6973 2073 6561 7263  t_lines is searc
│ │ │ +00109f70: 6828 226e 6674 6162 6c65 732e 7365 7276  h("nftables.serv
│ │ │ +00109f80: 6963 6522 2c20 6d75 6c74 696c 696e 653d  ice", multiline=
│ │ │ +00109f90: 5472 7565 290a 2020 7461 6773 3a0a 2020  True).  tags:.  
│ │ │ +00109fa0: 2d20 5043 492d 4453 5376 342d 312e 320a  - PCI-DSSv4-1.2.
│ │ │ +00109fb0: 2020 2d20 5043 492d 4453 5376 342d 312e    - PCI-DSSv4-1.
│ │ │ +00109fc0: 322e 310a 2020 2d20 6469 7361 626c 655f  2.1.  - disable_
│ │ │ +00109fd0: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ +00109fe0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +00109ff0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +0010a000: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ +0010a010: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ +0010a020: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ +0010a030: 6963 655f 6e66 7461 626c 6573 5f64 6973  ice_nftables_dis
│ │ │ +0010a040: 6162 6c65 640a 0a2d 206e 616d 653a 2055  abled..- name: U
│ │ │ +0010a050: 6e69 7420 536f 636b 6574 2045 7869 7374  nit Socket Exist
│ │ │ +0010a060: 7320 2d20 6e66 7461 626c 6573 2e73 6f63  s - nftables.soc
│ │ │ +0010a070: 6b65 740a 2020 616e 7369 626c 652e 6275  ket.  ansible.bu
│ │ │ +0010a080: 696c 7469 6e2e 636f 6d6d 616e 643a 2073  iltin.command: s
│ │ │ +0010a090: 7973 7465 6d63 746c 202d 7120 6c69 7374  ystemctl -q list
│ │ │ +0010a0a0: 2d75 6e69 742d 6669 6c65 7320 6e66 7461  -unit-files nfta
│ │ │ +0010a0b0: 626c 6573 2e73 6f63 6b65 740a 2020 7265  bles.socket.  re
│ │ │ +0010a0c0: 6769 7374 6572 3a20 736f 636b 6574 5f66  gister: socket_f
│ │ │ +0010a0d0: 696c 655f 6578 6973 7473 0a20 2063 6861  ile_exists.  cha
│ │ │ +0010a0e0: 6e67 6564 5f77 6865 6e3a 2066 616c 7365  nged_when: false
│ │ │ +0010a0f0: 0a20 2066 6169 6c65 645f 7768 656e 3a20  .  failed_when: 
│ │ │ +0010a100: 736f 636b 6574 5f66 696c 655f 6578 6973  socket_file_exis
│ │ │ +0010a110: 7473 2e72 6320 6e6f 7420 696e 205b 302c  ts.rc not in [0,
│ │ │ +0010a120: 2031 5d0a 2020 6368 6563 6b5f 6d6f 6465   1].  check_mode
│ │ │ +0010a130: 3a20 6661 6c73 650a 2020 7768 656e 3a20  : false.  when: 
│ │ │ +0010a140: 2820 2266 6972 6577 616c 6c64 2220 696e  ( "firewalld" in
│ │ │ +0010a150: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ +0010a160: 6163 6b61 6765 7320 616e 6420 226e 6674  ackages and "nft
│ │ │ +0010a170: 6162 6c65 7322 2069 6e20 616e 7369 626c  ables" in ansibl
│ │ │ +0010a180: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +0010a190: 0a20 2020 2061 6e64 2022 6c69 6e75 782d  .    and "linux-
│ │ │ +0010a1a0: 6261 7365 2220 696e 2061 6e73 6962 6c65  base" in ansible
│ │ │ +0010a1b0: 5f66 6163 7473 2e70 6163 6b61 6765 7320  _facts.packages 
│ │ │ +0010a1c0: 290a 2020 7461 6773 3a0a 2020 2d20 5043  ).  tags:.  - PC
│ │ │ +0010a1d0: 492d 4453 5376 342d 312e 320a 2020 2d20  I-DSSv4-1.2.  - 
│ │ │ +0010a1e0: 5043 492d 4453 5376 342d 312e 322e 310a  PCI-DSSv4-1.2.1.
│ │ │ +0010a1f0: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ +0010a200: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +0010a210: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +0010a220: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ +0010a230: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ +0010a240: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +0010a250: 6465 640a 2020 2d20 7365 7276 6963 655f  ded.  - service_
│ │ │ +0010a260: 6e66 7461 626c 6573 5f64 6973 6162 6c65  nftables_disable
│ │ │ +0010a270: 640a 0a2d 206e 616d 653a 2056 6572 6966  d..- name: Verif
│ │ │ +0010a280: 7920 6e66 7461 626c 6573 2053 6572 7669  y nftables Servi
│ │ │ +0010a290: 6365 2069 7320 4469 7361 626c 6564 202d  ce is Disabled -
│ │ │ +0010a2a0: 2044 6973 6162 6c65 2053 6f63 6b65 7420   Disable Socket 
│ │ │ +0010a2b0: 6e66 7461 626c 6573 0a20 2061 6e73 6962  nftables.  ansib
│ │ │ +0010a2c0: 6c65 2e62 7569 6c74 696e 2e73 7973 7465  le.builtin.syste
│ │ │ +0010a2d0: 6d64 3a0a 2020 2020 6e61 6d65 3a20 6e66  md:.    name: nf
│ │ │ +0010a2e0: 7461 626c 6573 2e73 6f63 6b65 740a 2020  tables.socket.  
│ │ │ +0010a2f0: 2020 656e 6162 6c65 643a 2066 616c 7365    enabled: false
│ │ │ +0010a300: 0a20 2020 2073 7461 7465 3a20 7374 6f70  .    state: stop
│ │ │ +0010a310: 7065 640a 2020 2020 6d61 736b 6564 3a20  ped.    masked: 
│ │ │ +0010a320: 7472 7565 0a20 2077 6865 6e3a 0a20 202d  true.  when:.  -
│ │ │ +0010a330: 2028 2022 6669 7265 7761 6c6c 6422 2069   ( "firewalld" i
│ │ │ +0010a340: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +0010a350: 7061 636b 6167 6573 2061 6e64 2022 6e66  packages and "nf
│ │ │ +0010a360: 7461 626c 6573 2220 696e 2061 6e73 6962  tables" in ansib
│ │ │ +0010a370: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +0010a380: 730a 2020 2020 616e 6420 226c 696e 7578  s.    and "linux
│ │ │ +0010a390: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ +0010a3a0: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +0010a3b0: 2029 0a20 202d 2073 6f63 6b65 745f 6669   ).  - socket_fi
│ │ │ +0010a3c0: 6c65 5f65 7869 7374 732e 7374 646f 7574  le_exists.stdout
│ │ │ +0010a3d0: 5f6c 696e 6573 2069 7320 7365 6172 6368  _lines is search
│ │ │ +0010a3e0: 2822 6e66 7461 626c 6573 2e73 6f63 6b65  ("nftables.socke
│ │ │ +0010a3f0: 7422 2c20 6d75 6c74 696c 696e 653d 5472  t", multiline=Tr
│ │ │ +0010a400: 7565 290a 2020 7461 6773 3a0a 2020 2d20  ue).  tags:.  - 
│ │ │ +0010a410: 5043 492d 4453 5376 342d 312e 320a 2020  PCI-DSSv4-1.2.  
│ │ │ +0010a420: 2d20 5043 492d 4453 5376 342d 312e 322e  - PCI-DSSv4-1.2.
│ │ │ +0010a430: 310a 2020 2d20 6469 7361 626c 655f 7374  1.  - disable_st
│ │ │ +0010a440: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +0010a450: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +0010a460: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +0010a470: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ +0010a480: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +0010a490: 6565 6465 640a 2020 2d20 7365 7276 6963  eeded.  - servic
│ │ │ +0010a4a0: 655f 6e66 7461 626c 6573 5f64 6973 6162  e_nftables_disab
│ │ │ +0010a4b0: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265  led.
Remediati │ │ │ +0010a570: 6f6e 204b 7562 6572 6e65 7465 7320 736e on Kubernetes sn │ │ │ +0010a580: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low
Disru │ │ │ +00109a30: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +00109a40: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +00109a80: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +00109a90: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
low< │ │ │ +0010a630: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +0010a660: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +0010a670: 7464 3e74 7275 653c 2f74 643e 3c2f 7472 td>true
a
│ │ │ +0010a6c0: 7069 5665 7273 696f 6e3a 206d 6163 6869  piVersion: machi
│ │ │ +0010a6d0: 6e65 636f 6e66 6967 7572 6174 696f 6e2e  neconfiguration.
│ │ │ +0010a6e0: 6f70 656e 7368 6966 742e 696f 2f76 310a  openshift.io/v1.
│ │ │ +0010a6f0: 6b69 6e64 3a20 4d61 6368 696e 6543 6f6e  kind: MachineCon
│ │ │ +0010a700: 6669 670a 7370 6563 3a0a 2020 636f 6e66  fig.spec:.  conf
│ │ │ +0010a710: 6967 3a0a 2020 2020 6967 6e69 7469 6f6e  ig:.    ignition
│ │ │ +0010a720: 3a0a 2020 2020 2020 7665 7273 696f 6e3a  :.      version:
│ │ │ +0010a730: 2033 2e31 2e30 0a20 2020 2073 7973 7465   3.1.0.    syste
│ │ │ +0010a740: 6d64 3a0a 2020 2020 2020 756e 6974 733a  md:.      units:
│ │ │ +0010a750: 0a20 2020 2020 202d 206e 616d 653a 206e  .      - name: n
│ │ │ +0010a760: 6674 6162 6c65 732e 7365 7276 6963 650a  ftables.service.
│ │ │ +0010a770: 2020 2020 2020 2020 656e 6162 6c65 643a          enabled:
│ │ │ +0010a780: 2066 616c 7365 0a20 2020 2020 2020 206d   false.        m
│ │ │ +0010a790: 6173 6b3a 2074 7275 650a 2020 2020 2020  ask: true.      
│ │ │ +0010a7a0: 2d20 6e61 6d65 3a20 6e66 7461 626c 6573  - name: nftables
│ │ │ +0010a7b0: 2e73 6f63 6b65 740a 2020 2020 2020 2020  .socket.        
│ │ │ +0010a7c0: 656e 6162 6c65 643a 2066 616c 7365 0a20  enabled: false. 
│ │ │ +0010a7d0: 2020 2020 2020 206d 6173 6b3a 2074 7275         mask: tru
│ │ │ +0010a7e0: 650a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  e.
< │ │ │ +0010a7f0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +0010a8a0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +0010a8b0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +0010a930: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ +0010a9c0: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
Co │ │ │ +0010a610: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +0010a640: 6e3a 3c2f 7468 3e3c 7464 3e6d 6564 6975 n:mediu │ │ │ +0010a650: 6d3c 2f74 643e 3c2f 7472 3e3c 7472 3e3c m
Strateg │ │ │ +0010a690: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +0010a6a0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexi │ │ │ +0010a940: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +0010a950: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ +0010a990: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +0010a9a0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
│ │ │ +0010a9e0: 3c63 6f64 653e 696e 636c 7564 6520 6469  include di
│ │ │ +0010a9f0: 7361 626c 655f 6e66 7461 626c 6573 0a0a  sable_nftables..
│ │ │ +0010aa00: 636c 6173 7320 6469 7361 626c 655f 6e66  class disable_nf
│ │ │ +0010aa10: 7461 626c 6573 207b 0a20 2073 6572 7669  tables {.  servi
│ │ │ +0010aa20: 6365 207b 276e 6674 6162 6c65 7327 3a0a  ce {'nftables':.
│ │ │ +0010aa30: 2020 2020 656e 6162 6c65 203d 2667 743b      enable =>
│ │ │ +0010aa40: 2066 616c 7365 2c0a 2020 2020 656e 7375   false,.    ensu
│ │ │ +0010aa50: 7265 203d 2667 743b 2027 7374 6f70 7065  re => 'stoppe
│ │ │ +0010aa60: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Rem │ │ │ +0010ab20: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild │ │ │ +0010ab30: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp │ │ │ +0010ab40: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[cu
│ │ │ +0010ab90: 7374 6f6d 697a 6174 696f 6e73 2e73 6572  stomizations.ser
│ │ │ +0010aba0: 7669 6365 735d 0a6d 6173 6b65 6420 3d20  vices].masked = 
│ │ │ +0010abb0: 5b22 6e66 7461 626c 6573 225d 0a3c 2f63  ["nftables"].
│ │ │ 0010abd0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Remediati │ │ │ -00113b00: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep │ │ │ -00113b10: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ... │ │ │ -00113b20: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ -00113b60: 3c63 6f64 653e 0a5b 5b70 6163 6b61 6765  .[[package
│ │ │ -00113b70: 735d 5d0a 6e61 6d65 203d 2022 7566 7722  s]].name = "ufw"
│ │ │ -00113b80: 0a76 6572 7369 6f6e 203d 2022 2a22 0a3c  .version = "*".<
│ │ │ -00113b90: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ -00113c50: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ -00113c60: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ -00113cf0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -00113d10: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ -00113d30: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ -00113d60: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -00113d70: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ -00113d80: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include insta
│ │ │ -00113da0: 6c6c 5f75 6677 0a0a 636c 6173 7320 696e  ll_ufw..class in
│ │ │ -00113db0: 7374 616c 6c5f 7566 7720 7b0a 2020 7061  stall_ufw {.  pa
│ │ │ -00113dc0: 636b 6167 6520 7b20 2775 6677 273a 0a20  ckage { 'ufw':. 
│ │ │ -00113dd0: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ -00113de0: 2769 6e73 7461 6c6c 6564 272c 0a20 207d  'installed',.  }
│ │ │ -00113df0: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ -00113e00: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ -00113eb0: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ -00113ec0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -00113f00: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -00113f70: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -00113f90: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -00113fc0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -00113fe0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -00113f50: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -00113f60: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -00113fa0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -00113fb0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
- name: │ │ │ -00114000: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ -00114010: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ -00114020: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ -00114030: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ -00114040: 6773 3a0a 2020 2d20 4449 5341 2d53 5449 gs:. - DISA-STI │ │ │ -00114050: 472d 5542 5455 2d32 302d 3031 3034 3333 G-UBTU-20-010433 │ │ │ -00114060: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra │ │ │ -00114070: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com │ │ │ -00114080: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_ │ │ │ -00114090: 6469 7372 7570 7469 6f6e 0a20 202d 206d disruption. - m │ │ │ -001140a0: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity. │ │ │ -001140b0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee │ │ │ -001140c0: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_ │ │ │ -001140d0: 7566 775f 696e 7374 616c 6c65 640a 0a2d ufw_installed..- │ │ │ -001140e0: 206e 616d 653a 2045 6e73 7572 6520 7566 name: Ensure uf │ │ │ -001140f0: 7720 6973 2069 6e73 7461 6c6c 6564 0a20 w is installed. │ │ │ -00114100: 2070 6163 6b61 6765 3a0a 2020 2020 6e61 package:. na │ │ │ -00114110: 6d65 3a20 7566 770a 2020 2020 7374 6174 me: ufw. stat │ │ │ -00114120: 653a 2070 7265 7365 6e74 0a20 2077 6865 e: present. whe │ │ │ -00114130: 6e3a 2027 226c 696e 7578 2d62 6173 6522 n: '"linux-base" │ │ │ -00114140: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact │ │ │ -00114150: 732e 7061 636b 6167 6573 270a 2020 7461 s.packages'. ta │ │ │ -00114160: 6773 3a0a 2020 2d20 4449 5341 2d53 5449 gs:. - DISA-STI │ │ │ -00114170: 472d 5542 5455 2d32 302d 3031 3034 3333 G-UBTU-20-010433 │ │ │ -00114180: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra │ │ │ -00114190: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com │ │ │ -001141a0: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_ │ │ │ -001141b0: 6469 7372 7570 7469 6f6e 0a20 202d 206d disruption. - m │ │ │ -001141c0: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity. │ │ │ -001141d0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee │ │ │ -001141e0: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_ │ │ │ -001141f0: 7566 775f 696e 7374 616c 6c65 640a 3c2f ufw_installed.
│ │ │ +00113bc0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +00113be0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +00113c10: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +00113ba0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +00113bb0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +00113bd0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +00113bf0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +00113c00: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

- name: │ │ │ +00113c50: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack │ │ │ +00113c60: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack │ │ │ +00113c70: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m │ │ │ +00113c80: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t │ │ │ +00113c90: 6167 733a 0a20 202d 2044 4953 412d 5354 ags:. - DISA-ST │ │ │ +00113ca0: 4947 2d55 4254 552d 3230 2d30 3130 3433 IG-UBTU-20-01043 │ │ │ +00113cb0: 330a 2020 2d20 656e 6162 6c65 5f73 7472 3. - enable_str │ │ │ +00113cc0: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co │ │ │ +00113cd0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low │ │ │ +00113ce0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. - │ │ │ +00113cf0: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity. │ │ │ +00113d00: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ +00113d10: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package │ │ │ +00113d20: 5f75 6677 5f69 6e73 7461 6c6c 6564 0a0a _ufw_installed.. │ │ │ +00113d30: 2d20 6e61 6d65 3a20 456e 7375 7265 2075 - name: Ensure u │ │ │ +00113d40: 6677 2069 7320 696e 7374 616c 6c65 640a fw is installed. │ │ │ +00113d50: 2020 7061 636b 6167 653a 0a20 2020 206e package:. n │ │ │ +00113d60: 616d 653a 2075 6677 0a20 2020 2073 7461 ame: ufw. sta │ │ │ +00113d70: 7465 3a20 7072 6573 656e 740a 2020 7768 te: present. wh │ │ │ +00113d80: 656e 3a20 2722 6c69 6e75 782d 6261 7365 en: '"linux-base │ │ │ +00113d90: 2220 696e 2061 6e73 6962 6c65 5f66 6163 " in ansible_fac │ │ │ +00113da0: 7473 2e70 6163 6b61 6765 7327 0a20 2074 ts.packages'. t │ │ │ +00113db0: 6167 733a 0a20 202d 2044 4953 412d 5354 ags:. - DISA-ST │ │ │ +00113dc0: 4947 2d55 4254 552d 3230 2d30 3130 3433 IG-UBTU-20-01043 │ │ │ +00113dd0: 330a 2020 2d20 656e 6162 6c65 5f73 7472 3. - enable_str │ │ │ +00113de0: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co │ │ │ +00113df0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low │ │ │ +00113e00: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. - │ │ │ +00113e10: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity. │ │ │ +00113e20: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ +00113e30: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package │ │ │ +00113e40: 5f75 6677 5f69 6e73 7461 6c6c 6564 0a3c _ufw_installed.< │ │ │ +00113e50: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>Remediation Pu │ │ │ +00113f10: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ +00113f20: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61

Complexity: │ │ │ +00113fb0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +00113fd0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +00113ff0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +00114020: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +00114030: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ +00114040: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include insta
│ │ │ +00114060: 6c6c 5f75 6677 0a0a 636c 6173 7320 696e  ll_ufw..class in
│ │ │ +00114070: 7374 616c 6c5f 7566 7720 7b0a 2020 7061  stall_ufw {.  pa
│ │ │ +00114080: 636b 6167 6520 7b20 2775 6677 273a 0a20  ckage { 'ufw':. 
│ │ │ +00114090: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ +001140a0: 2769 6e73 7461 6c6c 6564 272c 0a20 207d  'installed',.  }
│ │ │ +001140b0: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ +001140c0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ +00114170: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr │ │ │ +00114180: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...< │ │ │ +00114190: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
<
│ │ │ +001141d0: 636f 6465 3e0a 5b5b 7061 636b 6167 6573  code>.[[packages
│ │ │ +001141e0: 5d5d 0a6e 616d 6520 3d20 2275 6677 220a  ]].name = "ufw".
│ │ │ +001141f0: 7665 7273 696f 6e20 3d20 222a 220a 3c2f  version = "*".
Rem │ │ │ -00114cf0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ -00114d00: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -00114d10: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ -00114da0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
i
│ │ │ -00114e40: 6e63 6c75 6465 2072 656d 6f76 655f 7566  nclude remove_uf
│ │ │ -00114e50: 770a 0a63 6c61 7373 2072 656d 6f76 655f  w..class remove_
│ │ │ -00114e60: 7566 7720 7b0a 2020 7061 636b 6167 6520  ufw {.  package 
│ │ │ -00114e70: 7b20 2775 6677 273a 0a20 2020 2065 6e73  { 'ufw':.    ens
│ │ │ -00114e80: 7572 6520 3d26 6774 3b20 2770 7572 6765  ure => 'purge
│ │ │ -00114e90: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Rem │ │ │ -00114f50: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ -00114f60: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -00114f70: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
│ │ │ -00114d90: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -00114dc0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -00114dd0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -00114e10: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ -00114e20: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ -00115040: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -00115050: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -001150a0: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ -001150b0: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ -001150c0: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ -001150d0: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ -001150e0: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ -001150f0: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ -00115100: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -00115110: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -00115120: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ -00115130: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ -00115140: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -00115150: 2020 2d20 7061 636b 6167 655f 7566 775f    - package_ufw_
│ │ │ -00115160: 7265 6d6f 7665 640a 0a2d 206e 616d 653a  removed..- name:
│ │ │ -00115170: 2045 6e73 7572 6520 7566 7720 6973 2072   Ensure ufw is r
│ │ │ -00115180: 656d 6f76 6564 0a20 2070 6163 6b61 6765  emoved.  package
│ │ │ -00115190: 3a0a 2020 2020 6e61 6d65 3a20 7566 770a  :.    name: ufw.
│ │ │ -001151a0: 2020 2020 7374 6174 653a 2061 6273 656e      state: absen
│ │ │ -001151b0: 740a 2020 7768 656e 3a20 2722 6c69 6e75  t.  when: '"linu
│ │ │ -001151c0: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ -001151d0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -001151e0: 7327 0a20 2074 6167 733a 0a20 202d 2064  s'.  tags:.  - d
│ │ │ -001151f0: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ -00115200: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -00115210: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -00115220: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -00115230: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -00115240: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -00115250: 202d 2070 6163 6b61 6765 5f75 6677 5f72   - package_ufw_r
│ │ │ -00115260: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f  emoved.
│ │ │ +00114d10: 3c62 723e 3c64 6976 2063 6c61 7373 3d22  
Complexity:low
Disrup │ │ │ -00115020: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -00115030: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -00115070: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -00115080: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
< │ │ │ +00114de0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +00114df0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +00114e40: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ +00114e50: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ +00114e60: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ +00114e70: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ +00114e80: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ +00114e90: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ +00114ea0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +00114eb0: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +00114ec0: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +00114ed0: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +00114ee0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +00114ef0: 2020 2d20 7061 636b 6167 655f 7566 775f    - package_ufw_
│ │ │ +00114f00: 7265 6d6f 7665 640a 0a2d 206e 616d 653a  removed..- name:
│ │ │ +00114f10: 2045 6e73 7572 6520 7566 7720 6973 2072   Ensure ufw is r
│ │ │ +00114f20: 656d 6f76 6564 0a20 2070 6163 6b61 6765  emoved.  package
│ │ │ +00114f30: 3a0a 2020 2020 6e61 6d65 3a20 7566 770a  :.    name: ufw.
│ │ │ +00114f40: 2020 2020 7374 6174 653a 2061 6273 656e      state: absen
│ │ │ +00114f50: 740a 2020 7768 656e 3a20 2722 6c69 6e75  t.  when: '"linu
│ │ │ +00114f60: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ +00114f70: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +00114f80: 7327 0a20 2074 6167 733a 0a20 202d 2064  s'.  tags:.  - d
│ │ │ +00114f90: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ +00114fa0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +00114fb0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +00114fc0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ +00114fd0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +00114fe0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +00114ff0: 202d 2070 6163 6b61 6765 5f75 6677 5f72   - package_ufw_r
│ │ │ +00115000: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f  emoved.Remedi
│ │ │ +001150c0: 6174 696f 6e20 5075 7070 6574 2073 6e69  ation Puppet sni
│ │ │ +001150d0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e  ppet ...
│ │ │ +001150e0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Complexity:low
Disrup │ │ │ +00114dc0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +00114dd0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +00114e10: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +00114e20: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Com │ │ │ +00115160: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +00115190: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +001151b0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +001151c0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +001151e0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +001151f0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +00115210: 7564 6520 7265 6d6f 7665 5f75 6677 0a0a  ude remove_ufw..
│ │ │ +00115220: 636c 6173 7320 7265 6d6f 7665 5f75 6677  class remove_ufw
│ │ │ +00115230: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ +00115240: 7566 7727 3a0a 2020 2020 656e 7375 7265  ufw':.    ensure
│ │ │ +00115250: 203d 2667 743b 2027 7075 7267 6564 272c   => 'purged',
│ │ │ +00115260: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.
Rem │ │ │ -00116020: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild │ │ │ -00116030: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp │ │ │ -00116040: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[cu
│ │ │ -00116090: 7374 6f6d 697a 6174 696f 6e73 2e73 6572  stomizations.ser
│ │ │ -001160a0: 7669 6365 735d 0a65 6e61 626c 6564 203d  vices].enabled =
│ │ │ -001160b0: 205b 2275 6677 225d 0a3c 2f63 6f64 653e   ["ufw"].
│ │ │ -001160c0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ -00116170: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -00116180: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -00116220: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -00116230: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -00116280: 3c74 723e 3c74 683e 5374 7261 7465 6779
inc
│ │ │ -001162c0: 6c75 6465 2065 6e61 626c 655f 7566 770a  lude enable_ufw.
│ │ │ -001162d0: 0a63 6c61 7373 2065 6e61 626c 655f 7566  .class enable_uf
│ │ │ -001162e0: 7720 7b0a 2020 7365 7276 6963 6520 7b27  w {.  service {'
│ │ │ -001162f0: 7566 7727 3a0a 2020 2020 656e 6162 6c65  ufw':.    enable
│ │ │ -00116300: 203d 2667 743b 2074 7275 652c 0a20 2020   => true,.   
│ │ │ -00116310: 2065 6e73 7572 6520 3d26 6774 3b20 2772   ensure => 'r
│ │ │ -00116320: 756e 6e69 6e67 272c 0a20 207d 0a7d 0a3c  unning',.  }.}.<
│ │ │ -00116330: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation An │ │ │ -001163f0: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -00116400: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ -001164c0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001164d0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
C │ │ │ -00116210: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -00116240: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -00116250: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -00116290: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ -001162a0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complexity │ │ │ -00116490: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ -001164b0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ -001164e0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ -00116500: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
- name: Gath
│ │ │ -00116540: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ -00116550: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ -00116560: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ -00116570: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ -00116580: 2020 2d20 4449 5341 2d53 5449 472d 5542    - DISA-STIG-UB
│ │ │ -00116590: 5455 2d32 302d 3031 3034 3334 0a20 202d  TU-20-010434.  -
│ │ │ -001165a0: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ -001165b0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -001165c0: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -001165d0: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ -001165e0: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ -001165f0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -00116600: 2020 2d20 7365 7276 6963 655f 7566 775f    - service_ufw_
│ │ │ -00116610: 656e 6162 6c65 640a 0a2d 206e 616d 653a  enabled..- name:
│ │ │ -00116620: 2056 6572 6966 7920 7566 7720 456e 6162   Verify ufw Enab
│ │ │ -00116630: 6c65 6420 2d20 456e 6162 6c65 2073 6572  led - Enable ser
│ │ │ -00116640: 7669 6365 2075 6677 0a20 2062 6c6f 636b  vice ufw.  block
│ │ │ -00116650: 3a0a 0a20 202d 206e 616d 653a 2047 6174  :..  - name: Gat
│ │ │ -00116660: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ -00116670: 6661 6374 730a 2020 2020 7061 636b 6167  facts.    packag
│ │ │ -00116680: 655f 6661 6374 733a 0a20 2020 2020 206d  e_facts:.      m
│ │ │ -00116690: 616e 6167 6572 3a20 6175 746f 0a0a 2020  anager: auto..  
│ │ │ -001166a0: 2d20 6e61 6d65 3a20 5665 7269 6679 2075  - name: Verify u
│ │ │ -001166b0: 6677 2045 6e61 626c 6564 202d 2045 6e61  fw Enabled - Ena
│ │ │ -001166c0: 626c 6520 5365 7276 6963 6520 7566 770a  ble Service ufw.
│ │ │ -001166d0: 2020 2020 616e 7369 626c 652e 6275 696c      ansible.buil
│ │ │ -001166e0: 7469 6e2e 7379 7374 656d 643a 0a20 2020  tin.systemd:.   
│ │ │ -001166f0: 2020 206e 616d 653a 2075 6677 0a20 2020     name: ufw.   
│ │ │ -00116700: 2020 2065 6e61 626c 6564 3a20 7472 7565     enabled: true
│ │ │ -00116710: 0a20 2020 2020 2073 7461 7465 3a20 7374  .      state: st
│ │ │ -00116720: 6172 7465 640a 2020 2020 2020 6d61 736b  arted.      mask
│ │ │ -00116730: 6564 3a20 6661 6c73 650a 2020 2020 7768  ed: false.    wh
│ │ │ -00116740: 656e 3a0a 2020 2020 2d20 2722 7566 7722  en:.    - '"ufw"
│ │ │ -00116750: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ -00116760: 732e 7061 636b 6167 6573 270a 2020 7768  s.packages'.  wh
│ │ │ -00116770: 656e 3a0a 2020 2d20 2722 6c69 6e75 782d  en:.  - '"linux-
│ │ │ -00116780: 6261 7365 2220 696e 2061 6e73 6962 6c65  base" in ansible
│ │ │ -00116790: 5f66 6163 7473 2e70 6163 6b61 6765 7327  _facts.packages'
│ │ │ -001167a0: 0a20 202d 2028 2022 7566 7722 2069 6e20  .  - ( "ufw" in 
│ │ │ -001167b0: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -001167c0: 636b 6167 6573 2061 6e64 2022 6c69 6e75  ckages and "linu
│ │ │ -001167d0: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ -001167e0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -001167f0: 7320 290a 2020 7461 6773 3a0a 2020 2d20  s ).  tags:.  - 
│ │ │ -00116800: 4449 5341 2d53 5449 472d 5542 5455 2d32  DISA-STIG-UBTU-2
│ │ │ -00116810: 302d 3031 3034 3334 0a20 202d 2065 6e61  0-010434.  - ena
│ │ │ -00116820: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -00116830: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -00116840: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -00116850: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -00116860: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -00116870: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -00116880: 7365 7276 6963 655f 7566 775f 656e 6162  service_ufw_enab
│ │ │ -00116890: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265  led.
│ │ │ +00116040: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ +00116110: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +00116120: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
-
│ │ │ +00116170: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ +00116180: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ +00116190: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ +001161a0: 0a20 2020 206d 616e 6167 6572 3a20 6175  .    manager: au
│ │ │ +001161b0: 746f 0a20 2074 6167 733a 0a20 202d 2044  to.  tags:.  - D
│ │ │ +001161c0: 4953 412d 5354 4947 2d55 4254 552d 3230  ISA-STIG-UBTU-20
│ │ │ +001161d0: 2d30 3130 3433 340a 2020 2d20 656e 6162  -010434.  - enab
│ │ │ +001161e0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +001161f0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +00116200: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +00116210: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ +00116220: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +00116230: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ +00116240: 6572 7669 6365 5f75 6677 5f65 6e61 626c  ervice_ufw_enabl
│ │ │ +00116250: 6564 0a0a 2d20 6e61 6d65 3a20 5665 7269  ed..- name: Veri
│ │ │ +00116260: 6679 2075 6677 2045 6e61 626c 6564 202d  fy ufw Enabled -
│ │ │ +00116270: 2045 6e61 626c 6520 7365 7276 6963 6520   Enable service 
│ │ │ +00116280: 7566 770a 2020 626c 6f63 6b3a 0a0a 2020  ufw.  block:..  
│ │ │ +00116290: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ +001162a0: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ +001162b0: 0a20 2020 2070 6163 6b61 6765 5f66 6163  .    package_fac
│ │ │ +001162c0: 7473 3a0a 2020 2020 2020 6d61 6e61 6765  ts:.      manage
│ │ │ +001162d0: 723a 2061 7574 6f0a 0a20 202d 206e 616d  r: auto..  - nam
│ │ │ +001162e0: 653a 2056 6572 6966 7920 7566 7720 456e  e: Verify ufw En
│ │ │ +001162f0: 6162 6c65 6420 2d20 456e 6162 6c65 2053  abled - Enable S
│ │ │ +00116300: 6572 7669 6365 2075 6677 0a20 2020 2061  ervice ufw.    a
│ │ │ +00116310: 6e73 6962 6c65 2e62 7569 6c74 696e 2e73  nsible.builtin.s
│ │ │ +00116320: 7973 7465 6d64 3a0a 2020 2020 2020 6e61  ystemd:.      na
│ │ │ +00116330: 6d65 3a20 7566 770a 2020 2020 2020 656e  me: ufw.      en
│ │ │ +00116340: 6162 6c65 643a 2074 7275 650a 2020 2020  abled: true.    
│ │ │ +00116350: 2020 7374 6174 653a 2073 7461 7274 6564    state: started
│ │ │ +00116360: 0a20 2020 2020 206d 6173 6b65 643a 2066  .      masked: f
│ │ │ +00116370: 616c 7365 0a20 2020 2077 6865 6e3a 0a20  alse.    when:. 
│ │ │ +00116380: 2020 202d 2027 2275 6677 2220 696e 2061     - '"ufw" in a
│ │ │ +00116390: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +001163a0: 6b61 6765 7327 0a20 2077 6865 6e3a 0a20  kages'.  when:. 
│ │ │ +001163b0: 202d 2027 226c 696e 7578 2d62 6173 6522   - '"linux-base"
│ │ │ +001163c0: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ +001163d0: 732e 7061 636b 6167 6573 270a 2020 2d20  s.packages'.  - 
│ │ │ +001163e0: 2820 2275 6677 2220 696e 2061 6e73 6962  ( "ufw" in ansib
│ │ │ +001163f0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +00116400: 7320 616e 6420 226c 696e 7578 2d62 6173  s and "linux-bas
│ │ │ +00116410: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ +00116420: 6374 732e 7061 636b 6167 6573 2029 0a20  cts.packages ). 
│ │ │ +00116430: 2074 6167 733a 0a20 202d 2044 4953 412d   tags:.  - DISA-
│ │ │ +00116440: 5354 4947 2d55 4254 552d 3230 2d30 3130  STIG-UBTU-20-010
│ │ │ +00116450: 3433 340a 2020 2d20 656e 6162 6c65 5f73  434.  - enable_s
│ │ │ +00116460: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ +00116470: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ +00116480: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ +00116490: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ +001164a0: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ +001164b0: 6e65 6564 6564 0a20 202d 2073 6572 7669  needed.  - servi
│ │ │ +001164c0: 6365 5f75 6677 5f65 6e61 626c 6564 0a3c  ce_ufw_enabled.<
│ │ │ +001164d0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ +00116590: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ +001165a0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low< │ │ │ +00116670: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr> │ │ │ +001166c0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:low
Disrup │ │ │ +001160f0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +00116100: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +00116140: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +00116150: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexity: │ │ │ +00116630: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ +00116650: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ +001166a0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +001166b0: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
include enabl
│ │ │ +001166e0: 655f 7566 770a 0a63 6c61 7373 2065 6e61  e_ufw..class ena
│ │ │ +001166f0: 626c 655f 7566 7720 7b0a 2020 7365 7276  ble_ufw {.  serv
│ │ │ +00116700: 6963 6520 7b27 7566 7727 3a0a 2020 2020  ice {'ufw':.    
│ │ │ +00116710: 656e 6162 6c65 203d 2667 743b 2074 7275  enable => tru
│ │ │ +00116720: 652c 0a20 2020 2065 6e73 7572 6520 3d26  e,.    ensure =&
│ │ │ +00116730: 6774 3b20 2772 756e 6e69 6e67 272c 0a20  gt; 'running',. 
│ │ │ +00116740: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.
Remediat │ │ │ +00116800: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue │ │ │ +00116810: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet .. │ │ │ +00116820: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
.[customi
│ │ │ +00116870: 7a61 7469 6f6e 732e 7365 7276 6963 6573  zations.services
│ │ │ +00116880: 5d0a 656e 6162 6c65 6420 3d20 5b22 7566  ].enabled = ["uf
│ │ │ +00116890: 7722 5d0a 3c2f 636f 6465 3e3c 2f70 7265  w"].
Rem │ │ │ -001427a0: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild │ │ │ -001427b0: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp │ │ │ -001427c0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[cu
│ │ │ -00142810: 7374 6f6d 697a 6174 696f 6e73 2e73 6572  stomizations.ser
│ │ │ -00142820: 7669 6365 735d 0a6d 6173 6b65 6420 3d20  vices].masked = 
│ │ │ -00142830: 5b22 6175 746f 6673 225d 0a3c 2f63 6f64  ["autofs"].
Re │ │ │ -001428f0: 6d65 6469 6174 696f 6e20 4b75 6265 726e mediation Kubern │ │ │ -00142900: 6574 6573 2073 6e69 7070 6574 20e2 87b2 etes snippet ... │ │ │ -00142910: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ -001429a0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -001429c0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:mediumReboot │ │ │ -001429f0: 3a3c 2f74 683e 3c74 643e 7472 7565 3c2f :true │ │ │ -00142a10: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ -00142a40: 3c63 6f64 653e 6170 6956 6572 7369 6f6e  apiVersion
│ │ │ -00142a50: 3a20 6d61 6368 696e 6563 6f6e 6669 6775  : machineconfigu
│ │ │ -00142a60: 7261 7469 6f6e 2e6f 7065 6e73 6869 6674  ration.openshift
│ │ │ -00142a70: 2e69 6f2f 7631 0a6b 696e 643a 204d 6163  .io/v1.kind: Mac
│ │ │ -00142a80: 6869 6e65 436f 6e66 6967 0a73 7065 633a  hineConfig.spec:
│ │ │ -00142a90: 0a20 2063 6f6e 6669 673a 0a20 2020 2069  .  config:.    i
│ │ │ -00142aa0: 676e 6974 696f 6e3a 0a20 2020 2020 2076  gnition:.      v
│ │ │ -00142ab0: 6572 7369 6f6e 3a20 332e 312e 300a 2020  ersion: 3.1.0.  
│ │ │ -00142ac0: 2020 7379 7374 656d 643a 0a20 2020 2020    systemd:.     
│ │ │ -00142ad0: 2075 6e69 7473 3a0a 2020 2020 2020 2d20   units:.      - 
│ │ │ -00142ae0: 6e61 6d65 3a20 6175 746f 6673 2e73 6572  name: autofs.ser
│ │ │ -00142af0: 7669 6365 0a20 2020 2020 2020 2065 6e61  vice.        ena
│ │ │ -00142b00: 626c 6564 3a20 6661 6c73 650a 2020 2020  bled: false.    
│ │ │ -00142b10: 2020 2020 6d61 736b 3a20 7472 7565 0a20      mask: true. 
│ │ │ -00142b20: 2020 2020 202d 206e 616d 653a 2061 7574       - name: aut
│ │ │ -00142b30: 6f66 732e 736f 636b 6574 0a20 2020 2020  ofs.socket.     
│ │ │ -00142b40: 2020 2065 6e61 626c 6564 3a20 6661 6c73     enabled: fals
│ │ │ -00142b50: 650a 2020 2020 2020 2020 6d61 736b 3a20  e.        mask: 
│ │ │ -00142b60: 7472 7565 0a3c 2f63 6f64 653e 3c2f 7072  true.
Remediat │ │ │ -00142c20: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ -00142c30: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -00142ce0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -00142d00: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -00142d30: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -00142cc0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -00142cd0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -00142cf0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -00142d10: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -00142d20: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

include │ │ │ -00142d70: 2064 6973 6162 6c65 5f61 7574 6f66 730a disable_autofs. │ │ │ -00142d80: 0a63 6c61 7373 2064 6973 6162 6c65 5f61 .class disable_a │ │ │ -00142d90: 7574 6f66 7320 7b0a 2020 7365 7276 6963 utofs {. servic │ │ │ -00142da0: 6520 7b27 6175 746f 6673 273a 0a20 2020 e {'autofs':. │ │ │ -00142db0: 2065 6e61 626c 6520 3d26 6774 3b20 6661 enable => fa │ │ │ -00142dc0: 6c73 652c 0a20 2020 2065 6e73 7572 6520 lse,. ensure │ │ │ -00142dd0: 3d26 6774 3b20 2773 746f 7070 6564 272c => 'stopped', │ │ │ -00142de0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.

Remedi │ │ │ -00142ea0: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn │ │ │ -00142eb0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -00142f60: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -00142fb0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ -00142ff0: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ -00143000: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ -00143010: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ -00143020: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ -00143030: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ -00143040: 542d 3830 302d 3137 312d 332e 342e 360a  T-800-171-3.4.6.
│ │ │ -00143050: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -00143060: 434d 2d36 2861 290a 2020 2d20 4e49 5354  CM-6(a).  - NIST
│ │ │ -00143070: 2d38 3030 2d35 332d 434d 2d37 2861 290a  -800-53-CM-7(a).
│ │ │ -00143080: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -00143090: 434d 2d37 2862 290a 2020 2d20 4e49 5354  CM-7(b).  - NIST
│ │ │ -001430a0: 2d38 3030 2d35 332d 4d50 2d37 0a20 202d  -800-53-MP-7.  -
│ │ │ -001430b0: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ -001430c0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -001430d0: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -001430e0: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ -001430f0: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ -00143100: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -00143110: 0a20 202d 2073 6572 7669 6365 5f61 7574  .  - service_aut
│ │ │ -00143120: 6f66 735f 6469 7361 626c 6564 0a0a 2d20  ofs_disabled..- 
│ │ │ -00143130: 6e61 6d65 3a20 4469 7361 626c 6520 7468  name: Disable th
│ │ │ -00143140: 6520 4175 746f 6d6f 756e 7465 7220 2d20  e Automounter - 
│ │ │ -00143150: 436f 6c6c 6563 7420 7379 7374 656d 6420  Collect systemd 
│ │ │ -00143160: 5365 7276 6963 6573 2050 7265 7365 6e74  Services Present
│ │ │ -00143170: 2069 6e20 7468 6520 5379 7374 656d 0a20   in the System. 
│ │ │ -00143180: 2061 6e73 6962 6c65 2e62 7569 6c74 696e   ansible.builtin
│ │ │ -00143190: 2e63 6f6d 6d61 6e64 3a20 7379 7374 656d  .command: system
│ │ │ -001431a0: 6374 6c20 2d71 206c 6973 742d 756e 6974  ctl -q list-unit
│ │ │ -001431b0: 2d66 696c 6573 202d 2d74 7970 6520 7365  -files --type se
│ │ │ -001431c0: 7276 6963 650a 2020 7265 6769 7374 6572  rvice.  register
│ │ │ -001431d0: 3a20 7365 7276 6963 655f 6578 6973 7473  : service_exists
│ │ │ -001431e0: 0a20 2063 6861 6e67 6564 5f77 6865 6e3a  .  changed_when:
│ │ │ -001431f0: 2066 616c 7365 0a20 2066 6169 6c65 645f   false.  failed_
│ │ │ -00143200: 7768 656e 3a20 7365 7276 6963 655f 6578  when: service_ex
│ │ │ -00143210: 6973 7473 2e72 6320 6e6f 7420 696e 205b  ists.rc not in [
│ │ │ -00143220: 302c 2031 5d0a 2020 6368 6563 6b5f 6d6f  0, 1].  check_mo
│ │ │ -00143230: 6465 3a20 6661 6c73 650a 2020 7768 656e  de: false.  when
│ │ │ -00143240: 3a20 2820 2261 7574 6f66 7322 2069 6e20  : ( "autofs" in 
│ │ │ -00143250: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -00143260: 636b 6167 6573 2061 6e64 2022 6c69 6e75  ckages and "linu
│ │ │ -00143270: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ -00143280: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -00143290: 730a 2020 2020 290a 2020 7461 6773 3a0a  s.    ).  tags:.
│ │ │ -001432a0: 2020 2d20 4e49 5354 2d38 3030 2d31 3731    - NIST-800-171
│ │ │ -001432b0: 2d33 2e34 2e36 0a20 202d 204e 4953 542d  -3.4.6.  - NIST-
│ │ │ -001432c0: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ -001432d0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -001432e0: 4d2d 3728 6129 0a20 202d 204e 4953 542d  M-7(a).  - NIST-
│ │ │ -001432f0: 3830 302d 3533 2d43 4d2d 3728 6229 0a20  800-53-CM-7(b). 
│ │ │ -00143300: 202d 204e 4953 542d 3830 302d 3533 2d4d   - NIST-800-53-M
│ │ │ -00143310: 502d 370a 2020 2d20 6469 7361 626c 655f  P-7.  - disable_
│ │ │ -00143320: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -00143330: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -00143340: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -00143350: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ -00143360: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -00143370: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ -00143380: 6963 655f 6175 746f 6673 5f64 6973 6162  ice_autofs_disab
│ │ │ -00143390: 6c65 640a 0a2d 206e 616d 653a 2044 6973  led..- name: Dis
│ │ │ -001433a0: 6162 6c65 2074 6865 2041 7574 6f6d 6f75  able the Automou
│ │ │ -001433b0: 6e74 6572 202d 2045 6e73 7572 6520 6175  nter - Ensure au
│ │ │ -001433c0: 746f 6673 2e73 6572 7669 6365 2069 7320  tofs.service is 
│ │ │ -001433d0: 4d61 736b 6564 0a20 2061 6e73 6962 6c65  Masked.  ansible
│ │ │ -001433e0: 2e62 7569 6c74 696e 2e73 7973 7465 6d64  .builtin.systemd
│ │ │ -001433f0: 3a0a 2020 2020 6e61 6d65 3a20 6175 746f  :.    name: auto
│ │ │ -00143400: 6673 2e73 6572 7669 6365 0a20 2020 2073  fs.service.    s
│ │ │ -00143410: 7461 7465 3a20 7374 6f70 7065 640a 2020  tate: stopped.  
│ │ │ -00143420: 2020 656e 6162 6c65 643a 2066 616c 7365    enabled: false
│ │ │ -00143430: 0a20 2020 206d 6173 6b65 643a 2074 7275  .    masked: tru
│ │ │ -00143440: 650a 2020 7768 656e 3a0a 2020 2d20 2820  e.  when:.  - ( 
│ │ │ -00143450: 2261 7574 6f66 7322 2069 6e20 616e 7369  "autofs" in ansi
│ │ │ -00143460: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -00143470: 6573 2061 6e64 2022 6c69 6e75 782d 6261  es and "linux-ba
│ │ │ -00143480: 7365 2220 696e 2061 6e73 6962 6c65 5f66  se" in ansible_f
│ │ │ -00143490: 6163 7473 2e70 6163 6b61 6765 730a 2020  acts.packages.  
│ │ │ -001434a0: 2020 290a 2020 2d20 7365 7276 6963 655f    ).  - service_
│ │ │ -001434b0: 6578 6973 7473 2e73 7464 6f75 745f 6c69  exists.stdout_li
│ │ │ -001434c0: 6e65 7320 6973 2073 6561 7263 6828 2261  nes is search("a
│ │ │ -001434d0: 7574 6f66 732e 7365 7276 6963 6522 2c20  utofs.service", 
│ │ │ -001434e0: 6d75 6c74 696c 696e 653d 5472 7565 290a  multiline=True).
│ │ │ -001434f0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ -00143500: 2d38 3030 2d31 3731 2d33 2e34 2e36 0a20  -800-171-3.4.6. 
│ │ │ -00143510: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -00143520: 4d2d 3628 6129 0a20 202d 204e 4953 542d  M-6(a).  - NIST-
│ │ │ -00143530: 3830 302d 3533 2d43 4d2d 3728 6129 0a20  800-53-CM-7(a). 
│ │ │ -00143540: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -00143550: 4d2d 3728 6229 0a20 202d 204e 4953 542d  M-7(b).  - NIST-
│ │ │ -00143560: 3830 302d 3533 2d4d 502d 370a 2020 2d20  800-53-MP-7.  - 
│ │ │ -00143570: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ -00143580: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -00143590: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -001435a0: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ -001435b0: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ -001435c0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -001435d0: 2020 2d20 7365 7276 6963 655f 6175 746f    - service_auto
│ │ │ -001435e0: 6673 5f64 6973 6162 6c65 640a 0a2d 206e  fs_disabled..- n
│ │ │ -001435f0: 616d 653a 2055 6e69 7420 536f 636b 6574  ame: Unit Socket
│ │ │ -00143600: 2045 7869 7374 7320 2d20 6175 746f 6673   Exists - autofs
│ │ │ -00143610: 2e73 6f63 6b65 740a 2020 616e 7369 626c  .socket.  ansibl
│ │ │ -00143620: 652e 6275 696c 7469 6e2e 636f 6d6d 616e  e.builtin.comman
│ │ │ -00143630: 643a 2073 7973 7465 6d63 746c 202d 7120  d: systemctl -q 
│ │ │ -00143640: 6c69 7374 2d75 6e69 742d 6669 6c65 7320  list-unit-files 
│ │ │ -00143650: 6175 746f 6673 2e73 6f63 6b65 740a 2020  autofs.socket.  
│ │ │ -00143660: 7265 6769 7374 6572 3a20 736f 636b 6574  register: socket
│ │ │ -00143670: 5f66 696c 655f 6578 6973 7473 0a20 2063  _file_exists.  c
│ │ │ -00143680: 6861 6e67 6564 5f77 6865 6e3a 2066 616c  hanged_when: fal
│ │ │ -00143690: 7365 0a20 2066 6169 6c65 645f 7768 656e  se.  failed_when
│ │ │ -001436a0: 3a20 736f 636b 6574 5f66 696c 655f 6578  : socket_file_ex
│ │ │ -001436b0: 6973 7473 2e72 6320 6e6f 7420 696e 205b  ists.rc not in [
│ │ │ -001436c0: 302c 2031 5d0a 2020 6368 6563 6b5f 6d6f  0, 1].  check_mo
│ │ │ -001436d0: 6465 3a20 6661 6c73 650a 2020 7768 656e  de: false.  when
│ │ │ -001436e0: 3a20 2820 2261 7574 6f66 7322 2069 6e20  : ( "autofs" in 
│ │ │ -001436f0: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -00143700: 636b 6167 6573 2061 6e64 2022 6c69 6e75  ckages and "linu
│ │ │ -00143710: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ -00143720: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -00143730: 730a 2020 2020 290a 2020 7461 6773 3a0a  s.    ).  tags:.
│ │ │ -00143740: 2020 2d20 4e49 5354 2d38 3030 2d31 3731    - NIST-800-171
│ │ │ -00143750: 2d33 2e34 2e36 0a20 202d 204e 4953 542d  -3.4.6.  - NIST-
│ │ │ -00143760: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ -00143770: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -00143780: 4d2d 3728 6129 0a20 202d 204e 4953 542d  M-7(a).  - NIST-
│ │ │ -00143790: 3830 302d 3533 2d43 4d2d 3728 6229 0a20  800-53-CM-7(b). 
│ │ │ -001437a0: 202d 204e 4953 542d 3830 302d 3533 2d4d   - NIST-800-53-M
│ │ │ -001437b0: 502d 370a 2020 2d20 6469 7361 626c 655f  P-7.  - disable_
│ │ │ -001437c0: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -001437d0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -001437e0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -001437f0: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ -00143800: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -00143810: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ -00143820: 6963 655f 6175 746f 6673 5f64 6973 6162  ice_autofs_disab
│ │ │ -00143830: 6c65 640a 0a2d 206e 616d 653a 2044 6973  led..- name: Dis
│ │ │ -00143840: 6162 6c65 2074 6865 2041 7574 6f6d 6f75  able the Automou
│ │ │ -00143850: 6e74 6572 202d 2044 6973 6162 6c65 2053  nter - Disable S
│ │ │ -00143860: 6f63 6b65 7420 6175 746f 6673 0a20 2061  ocket autofs.  a
│ │ │ -00143870: 6e73 6962 6c65 2e62 7569 6c74 696e 2e73  nsible.builtin.s
│ │ │ -00143880: 7973 7465 6d64 3a0a 2020 2020 6e61 6d65  ystemd:.    name
│ │ │ -00143890: 3a20 6175 746f 6673 2e73 6f63 6b65 740a  : autofs.socket.
│ │ │ -001438a0: 2020 2020 656e 6162 6c65 643a 2066 616c      enabled: fal
│ │ │ -001438b0: 7365 0a20 2020 2073 7461 7465 3a20 7374  se.    state: st
│ │ │ -001438c0: 6f70 7065 640a 2020 2020 6d61 736b 6564  opped.    masked
│ │ │ -001438d0: 3a20 7472 7565 0a20 2077 6865 6e3a 0a20  : true.  when:. 
│ │ │ -001438e0: 202d 2028 2022 6175 746f 6673 2220 696e   - ( "autofs" in
│ │ │ -001438f0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ -00143900: 6163 6b61 6765 7320 616e 6420 226c 696e  ackages and "lin
│ │ │ -00143910: 7578 2d62 6173 6522 2069 6e20 616e 7369  ux-base" in ansi
│ │ │ -00143920: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -00143930: 6573 0a20 2020 2029 0a20 202d 2073 6f63  es.    ).  - soc
│ │ │ -00143940: 6b65 745f 6669 6c65 5f65 7869 7374 732e  ket_file_exists.
│ │ │ -00143950: 7374 646f 7574 5f6c 696e 6573 2069 7320  stdout_lines is 
│ │ │ -00143960: 7365 6172 6368 2822 6175 746f 6673 2e73  search("autofs.s
│ │ │ -00143970: 6f63 6b65 7422 2c20 6d75 6c74 696c 696e  ocket", multilin
│ │ │ -00143980: 653d 5472 7565 290a 2020 7461 6773 3a0a  e=True).  tags:.
│ │ │ -00143990: 2020 2d20 4e49 5354 2d38 3030 2d31 3731    - NIST-800-171
│ │ │ -001439a0: 2d33 2e34 2e36 0a20 202d 204e 4953 542d  -3.4.6.  - NIST-
│ │ │ -001439b0: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ -001439c0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -001439d0: 4d2d 3728 6129 0a20 202d 204e 4953 542d  M-7(a).  - NIST-
│ │ │ -001439e0: 3830 302d 3533 2d43 4d2d 3728 6229 0a20  800-53-CM-7(b). 
│ │ │ -001439f0: 202d 204e 4953 542d 3830 302d 3533 2d4d   - NIST-800-53-M
│ │ │ -00143a00: 502d 370a 2020 2d20 6469 7361 626c 655f  P-7.  - disable_
│ │ │ -00143a10: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -00143a20: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -00143a30: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -00143a40: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ -00143a50: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -00143a60: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ -00143a70: 6963 655f 6175 746f 6673 5f64 6973 6162  ice_autofs_disab
│ │ │ -00143a80: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265  led.
│ │ │ +001427c0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co │ │ │ -00142f40: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -00142f70: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -00142f90: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -00142fa0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -00142fc0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -00142fd0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
< │ │ │ +00142890: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +001428a0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +001428f0: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ +00142900: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ +00142910: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ +00142920: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ +00142930: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ +00142940: 4e49 5354 2d38 3030 2d31 3731 2d33 2e34  NIST-800-171-3.4
│ │ │ +00142950: 2e36 0a20 202d 204e 4953 542d 3830 302d  .6.  - NIST-800-
│ │ │ +00142960: 3533 2d43 4d2d 3628 6129 0a20 202d 204e  53-CM-6(a).  - N
│ │ │ +00142970: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ +00142980: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ +00142990: 3533 2d43 4d2d 3728 6229 0a20 202d 204e  53-CM-7(b).  - N
│ │ │ +001429a0: 4953 542d 3830 302d 3533 2d4d 502d 370a  IST-800-53-MP-7.
│ │ │ +001429b0: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ +001429c0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +001429d0: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +001429e0: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ +001429f0: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ +00142a00: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +00142a10: 6465 640a 2020 2d20 7365 7276 6963 655f  ded.  - service_
│ │ │ +00142a20: 6175 746f 6673 5f64 6973 6162 6c65 640a  autofs_disabled.
│ │ │ +00142a30: 0a2d 206e 616d 653a 2044 6973 6162 6c65  .- name: Disable
│ │ │ +00142a40: 2074 6865 2041 7574 6f6d 6f75 6e74 6572   the Automounter
│ │ │ +00142a50: 202d 2043 6f6c 6c65 6374 2073 7973 7465   - Collect syste
│ │ │ +00142a60: 6d64 2053 6572 7669 6365 7320 5072 6573  md Services Pres
│ │ │ +00142a70: 656e 7420 696e 2074 6865 2053 7973 7465  ent in the Syste
│ │ │ +00142a80: 6d0a 2020 616e 7369 626c 652e 6275 696c  m.  ansible.buil
│ │ │ +00142a90: 7469 6e2e 636f 6d6d 616e 643a 2073 7973  tin.command: sys
│ │ │ +00142aa0: 7465 6d63 746c 202d 7120 6c69 7374 2d75  temctl -q list-u
│ │ │ +00142ab0: 6e69 742d 6669 6c65 7320 2d2d 7479 7065  nit-files --type
│ │ │ +00142ac0: 2073 6572 7669 6365 0a20 2072 6567 6973   service.  regis
│ │ │ +00142ad0: 7465 723a 2073 6572 7669 6365 5f65 7869  ter: service_exi
│ │ │ +00142ae0: 7374 730a 2020 6368 616e 6765 645f 7768  sts.  changed_wh
│ │ │ +00142af0: 656e 3a20 6661 6c73 650a 2020 6661 696c  en: false.  fail
│ │ │ +00142b00: 6564 5f77 6865 6e3a 2073 6572 7669 6365  ed_when: service
│ │ │ +00142b10: 5f65 7869 7374 732e 7263 206e 6f74 2069  _exists.rc not i
│ │ │ +00142b20: 6e20 5b30 2c20 315d 0a20 2063 6865 636b  n [0, 1].  check
│ │ │ +00142b30: 5f6d 6f64 653a 2066 616c 7365 0a20 2077  _mode: false.  w
│ │ │ +00142b40: 6865 6e3a 2028 2022 6175 746f 6673 2220  hen: ( "autofs" 
│ │ │ +00142b50: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +00142b60: 2e70 6163 6b61 6765 7320 616e 6420 226c  .packages and "l
│ │ │ +00142b70: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ +00142b80: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +00142b90: 6167 6573 0a20 2020 2029 0a20 2074 6167  ages.    ).  tag
│ │ │ +00142ba0: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +00142bb0: 3137 312d 332e 342e 360a 2020 2d20 4e49  171-3.4.6.  - NI
│ │ │ +00142bc0: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +00142bd0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +00142be0: 332d 434d 2d37 2861 290a 2020 2d20 4e49  3-CM-7(a).  - NI
│ │ │ +00142bf0: 5354 2d38 3030 2d35 332d 434d 2d37 2862  ST-800-53-CM-7(b
│ │ │ +00142c00: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +00142c10: 332d 4d50 2d37 0a20 202d 2064 6973 6162  3-MP-7.  - disab
│ │ │ +00142c20: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +00142c30: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +00142c40: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +00142c50: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ +00142c60: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +00142c70: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ +00142c80: 6572 7669 6365 5f61 7574 6f66 735f 6469  ervice_autofs_di
│ │ │ +00142c90: 7361 626c 6564 0a0a 2d20 6e61 6d65 3a20  sabled..- name: 
│ │ │ +00142ca0: 4469 7361 626c 6520 7468 6520 4175 746f  Disable the Auto
│ │ │ +00142cb0: 6d6f 756e 7465 7220 2d20 456e 7375 7265  mounter - Ensure
│ │ │ +00142cc0: 2061 7574 6f66 732e 7365 7276 6963 6520   autofs.service 
│ │ │ +00142cd0: 6973 204d 6173 6b65 640a 2020 616e 7369  is Masked.  ansi
│ │ │ +00142ce0: 626c 652e 6275 696c 7469 6e2e 7379 7374  ble.builtin.syst
│ │ │ +00142cf0: 656d 643a 0a20 2020 206e 616d 653a 2061  emd:.    name: a
│ │ │ +00142d00: 7574 6f66 732e 7365 7276 6963 650a 2020  utofs.service.  
│ │ │ +00142d10: 2020 7374 6174 653a 2073 746f 7070 6564    state: stopped
│ │ │ +00142d20: 0a20 2020 2065 6e61 626c 6564 3a20 6661  .    enabled: fa
│ │ │ +00142d30: 6c73 650a 2020 2020 6d61 736b 6564 3a20  lse.    masked: 
│ │ │ +00142d40: 7472 7565 0a20 2077 6865 6e3a 0a20 202d  true.  when:.  -
│ │ │ +00142d50: 2028 2022 6175 746f 6673 2220 696e 2061   ( "autofs" in a
│ │ │ +00142d60: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +00142d70: 6b61 6765 7320 616e 6420 226c 696e 7578  kages and "linux
│ │ │ +00142d80: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ +00142d90: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +00142da0: 0a20 2020 2029 0a20 202d 2073 6572 7669  .    ).  - servi
│ │ │ +00142db0: 6365 5f65 7869 7374 732e 7374 646f 7574  ce_exists.stdout
│ │ │ +00142dc0: 5f6c 696e 6573 2069 7320 7365 6172 6368  _lines is search
│ │ │ +00142dd0: 2822 6175 746f 6673 2e73 6572 7669 6365  ("autofs.service
│ │ │ +00142de0: 222c 206d 756c 7469 6c69 6e65 3d54 7275  ", multiline=Tru
│ │ │ +00142df0: 6529 0a20 2074 6167 733a 0a20 202d 204e  e).  tags:.  - N
│ │ │ +00142e00: 4953 542d 3830 302d 3137 312d 332e 342e  IST-800-171-3.4.
│ │ │ +00142e10: 360a 2020 2d20 4e49 5354 2d38 3030 2d35  6.  - NIST-800-5
│ │ │ +00142e20: 332d 434d 2d36 2861 290a 2020 2d20 4e49  3-CM-6(a).  - NI
│ │ │ +00142e30: 5354 2d38 3030 2d35 332d 434d 2d37 2861  ST-800-53-CM-7(a
│ │ │ +00142e40: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +00142e50: 332d 434d 2d37 2862 290a 2020 2d20 4e49  3-CM-7(b).  - NI
│ │ │ +00142e60: 5354 2d38 3030 2d35 332d 4d50 2d37 0a20  ST-800-53-MP-7. 
│ │ │ +00142e70: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ +00142e80: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +00142e90: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +00142ea0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ +00142eb0: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ +00142ec0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +00142ed0: 6564 0a20 202d 2073 6572 7669 6365 5f61  ed.  - service_a
│ │ │ +00142ee0: 7574 6f66 735f 6469 7361 626c 6564 0a0a  utofs_disabled..
│ │ │ +00142ef0: 2d20 6e61 6d65 3a20 556e 6974 2053 6f63  - name: Unit Soc
│ │ │ +00142f00: 6b65 7420 4578 6973 7473 202d 2061 7574  ket Exists - aut
│ │ │ +00142f10: 6f66 732e 736f 636b 6574 0a20 2061 6e73  ofs.socket.  ans
│ │ │ +00142f20: 6962 6c65 2e62 7569 6c74 696e 2e63 6f6d  ible.builtin.com
│ │ │ +00142f30: 6d61 6e64 3a20 7379 7374 656d 6374 6c20  mand: systemctl 
│ │ │ +00142f40: 2d71 206c 6973 742d 756e 6974 2d66 696c  -q list-unit-fil
│ │ │ +00142f50: 6573 2061 7574 6f66 732e 736f 636b 6574  es autofs.socket
│ │ │ +00142f60: 0a20 2072 6567 6973 7465 723a 2073 6f63  .  register: soc
│ │ │ +00142f70: 6b65 745f 6669 6c65 5f65 7869 7374 730a  ket_file_exists.
│ │ │ +00142f80: 2020 6368 616e 6765 645f 7768 656e 3a20    changed_when: 
│ │ │ +00142f90: 6661 6c73 650a 2020 6661 696c 6564 5f77  false.  failed_w
│ │ │ +00142fa0: 6865 6e3a 2073 6f63 6b65 745f 6669 6c65  hen: socket_file
│ │ │ +00142fb0: 5f65 7869 7374 732e 7263 206e 6f74 2069  _exists.rc not i
│ │ │ +00142fc0: 6e20 5b30 2c20 315d 0a20 2063 6865 636b  n [0, 1].  check
│ │ │ +00142fd0: 5f6d 6f64 653a 2066 616c 7365 0a20 2077  _mode: false.  w
│ │ │ +00142fe0: 6865 6e3a 2028 2022 6175 746f 6673 2220  hen: ( "autofs" 
│ │ │ +00142ff0: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +00143000: 2e70 6163 6b61 6765 7320 616e 6420 226c  .packages and "l
│ │ │ +00143010: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ +00143020: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +00143030: 6167 6573 0a20 2020 2029 0a20 2074 6167  ages.    ).  tag
│ │ │ +00143040: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +00143050: 3137 312d 332e 342e 360a 2020 2d20 4e49  171-3.4.6.  - NI
│ │ │ +00143060: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +00143070: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +00143080: 332d 434d 2d37 2861 290a 2020 2d20 4e49  3-CM-7(a).  - NI
│ │ │ +00143090: 5354 2d38 3030 2d35 332d 434d 2d37 2862  ST-800-53-CM-7(b
│ │ │ +001430a0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +001430b0: 332d 4d50 2d37 0a20 202d 2064 6973 6162  3-MP-7.  - disab
│ │ │ +001430c0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +001430d0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +001430e0: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +001430f0: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ +00143100: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +00143110: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ +00143120: 6572 7669 6365 5f61 7574 6f66 735f 6469  ervice_autofs_di
│ │ │ +00143130: 7361 626c 6564 0a0a 2d20 6e61 6d65 3a20  sabled..- name: 
│ │ │ +00143140: 4469 7361 626c 6520 7468 6520 4175 746f  Disable the Auto
│ │ │ +00143150: 6d6f 756e 7465 7220 2d20 4469 7361 626c  mounter - Disabl
│ │ │ +00143160: 6520 536f 636b 6574 2061 7574 6f66 730a  e Socket autofs.
│ │ │ +00143170: 2020 616e 7369 626c 652e 6275 696c 7469    ansible.builti
│ │ │ +00143180: 6e2e 7379 7374 656d 643a 0a20 2020 206e  n.systemd:.    n
│ │ │ +00143190: 616d 653a 2061 7574 6f66 732e 736f 636b  ame: autofs.sock
│ │ │ +001431a0: 6574 0a20 2020 2065 6e61 626c 6564 3a20  et.    enabled: 
│ │ │ +001431b0: 6661 6c73 650a 2020 2020 7374 6174 653a  false.    state:
│ │ │ +001431c0: 2073 746f 7070 6564 0a20 2020 206d 6173   stopped.    mas
│ │ │ +001431d0: 6b65 643a 2074 7275 650a 2020 7768 656e  ked: true.  when
│ │ │ +001431e0: 3a0a 2020 2d20 2820 2261 7574 6f66 7322  :.  - ( "autofs"
│ │ │ +001431f0: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ +00143200: 732e 7061 636b 6167 6573 2061 6e64 2022  s.packages and "
│ │ │ +00143210: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ +00143220: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +00143230: 6b61 6765 730a 2020 2020 290a 2020 2d20  kages.    ).  - 
│ │ │ +00143240: 736f 636b 6574 5f66 696c 655f 6578 6973  socket_file_exis
│ │ │ +00143250: 7473 2e73 7464 6f75 745f 6c69 6e65 7320  ts.stdout_lines 
│ │ │ +00143260: 6973 2073 6561 7263 6828 2261 7574 6f66  is search("autof
│ │ │ +00143270: 732e 736f 636b 6574 222c 206d 756c 7469  s.socket", multi
│ │ │ +00143280: 6c69 6e65 3d54 7275 6529 0a20 2074 6167  line=True).  tag
│ │ │ +00143290: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +001432a0: 3137 312d 332e 342e 360a 2020 2d20 4e49  171-3.4.6.  - NI
│ │ │ +001432b0: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +001432c0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +001432d0: 332d 434d 2d37 2861 290a 2020 2d20 4e49  3-CM-7(a).  - NI
│ │ │ +001432e0: 5354 2d38 3030 2d35 332d 434d 2d37 2862  ST-800-53-CM-7(b
│ │ │ +001432f0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +00143300: 332d 4d50 2d37 0a20 202d 2064 6973 6162  3-MP-7.  - disab
│ │ │ +00143310: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +00143320: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +00143330: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +00143340: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ +00143350: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +00143360: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ +00143370: 6572 7669 6365 5f61 7574 6f66 735f 6469  ervice_autofs_di
│ │ │ +00143380: 7361 626c 6564 0a3c 2f63 6f64 653e 3c2f  sabled.Remedi
│ │ │ +00143440: 6174 696f 6e20 4b75 6265 726e 6574 6573  ation Kubernetes
│ │ │ +00143450: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e   snippet ...
│ │ │ +00143460: 3c62 723e 3c64 6976 2063 6c61 7373 3d22  
Complexity:low
Disrup │ │ │ +00142870: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +00142880: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +001428c0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +001428d0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
< │ │ │ +00143550: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +00143580: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
apiVersion: ma
│ │ │ +001435a0: 6368 696e 6563 6f6e 6669 6775 7261 7469  chineconfigurati
│ │ │ +001435b0: 6f6e 2e6f 7065 6e73 6869 6674 2e69 6f2f  on.openshift.io/
│ │ │ +001435c0: 7631 0a6b 696e 643a 204d 6163 6869 6e65  v1.kind: Machine
│ │ │ +001435d0: 436f 6e66 6967 0a73 7065 633a 0a20 2063  Config.spec:.  c
│ │ │ +001435e0: 6f6e 6669 673a 0a20 2020 2069 676e 6974  onfig:.    ignit
│ │ │ +001435f0: 696f 6e3a 0a20 2020 2020 2076 6572 7369  ion:.      versi
│ │ │ +00143600: 6f6e 3a20 332e 312e 300a 2020 2020 7379  on: 3.1.0.    sy
│ │ │ +00143610: 7374 656d 643a 0a20 2020 2020 2075 6e69  stemd:.      uni
│ │ │ +00143620: 7473 3a0a 2020 2020 2020 2d20 6e61 6d65  ts:.      - name
│ │ │ +00143630: 3a20 6175 746f 6673 2e73 6572 7669 6365  : autofs.service
│ │ │ +00143640: 0a20 2020 2020 2020 2065 6e61 626c 6564  .        enabled
│ │ │ +00143650: 3a20 6661 6c73 650a 2020 2020 2020 2020  : false.        
│ │ │ +00143660: 6d61 736b 3a20 7472 7565 0a20 2020 2020  mask: true.     
│ │ │ +00143670: 202d 206e 616d 653a 2061 7574 6f66 732e   - name: autofs.
│ │ │ +00143680: 736f 636b 6574 0a20 2020 2020 2020 2065  socket.        e
│ │ │ +00143690: 6e61 626c 6564 3a20 6661 6c73 650a 2020  nabled: false.  
│ │ │ +001436a0: 2020 2020 2020 6d61 736b 3a20 7472 7565        mask: true
│ │ │ +001436b0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +00143770: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +00143780: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ +00143800: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ +00143840: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 enable
Complexity:low
Disrup │ │ │ +00143510: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6d65 tion:me │ │ │ +00143520: 6469 756d 3c2f 7464 3e3c 2f74 723e 3c74 dium
Reboot:true
Stra │ │ │ +00143560: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +00143570: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
Complexit │ │ │ +00143810: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ +00143830: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ +00143860: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +00143880: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
<
│ │ │ +001438b0: 636f 6465 3e69 6e63 6c75 6465 2064 6973  code>include dis
│ │ │ +001438c0: 6162 6c65 5f61 7574 6f66 730a 0a63 6c61  able_autofs..cla
│ │ │ +001438d0: 7373 2064 6973 6162 6c65 5f61 7574 6f66  ss disable_autof
│ │ │ +001438e0: 7320 7b0a 2020 7365 7276 6963 6520 7b27  s {.  service {'
│ │ │ +001438f0: 6175 746f 6673 273a 0a20 2020 2065 6e61  autofs':.    ena
│ │ │ +00143900: 626c 6520 3d26 6774 3b20 6661 6c73 652c  ble => false,
│ │ │ +00143910: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ +00143920: 3b20 2773 746f 7070 6564 272c 0a20 207d  ; 'stopped',.  }
│ │ │ +00143930: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ +00143940: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ +001439f0: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr │ │ │ +00143a00: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...< │ │ │ +00143a10: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
<
│ │ │ +00143a50: 636f 6465 3e0a 5b63 7573 746f 6d69 7a61  code>.[customiza
│ │ │ +00143a60: 7469 6f6e 732e 7365 7276 6963 6573 5d0a  tions.services].
│ │ │ +00143a70: 6d61 736b 6564 203d 205b 2261 7574 6f66  masked = ["autof
│ │ │ +00143a80: 7322 5d0a 3c2f 636f 6465 3e3c 2f70 7265  s"].
Remediat │ │ │ -00171d40: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ -00171d50: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -00171e00: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -00171e20: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -00171e50: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -00171de0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -00171df0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -00171e10: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -00171e30: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -00171e40: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -00171e80: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ -00171e90: 6520 7265 6d6f 7665 5f61 7661 6869 2d64 e remove_avahi-d │ │ │ -00171ea0: 6165 6d6f 6e0a 0a63 6c61 7373 2072 656d aemon..class rem │ │ │ -00171eb0: 6f76 655f 6176 6168 692d 6461 656d 6f6e ove_avahi-daemon │ │ │ -00171ec0: 207b 0a20 2070 6163 6b61 6765 207b 2027 {. package { ' │ │ │ -00171ed0: 6176 6168 692d 6461 656d 6f6e 273a 0a20 avahi-daemon':. │ │ │ -00171ee0: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure => │ │ │ -00171ef0: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a 'purged',. }.}. │ │ │ -00171f00: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
Remediation A │ │ │ -00171fc0: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet . │ │ │ -00171fd0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -00172050: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -00172060: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ -00172080: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ -00172090: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ -001720b0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ -001720d0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ -00172100: 3c63 6f64 653e 2d20 6e61 6d65 3a20 456e  - name: En
│ │ │ -00172110: 7375 7265 2061 7661 6869 2d64 6165 6d6f  sure avahi-daemo
│ │ │ -00172120: 6e20 6973 2072 656d 6f76 6564 0a20 2070  n is removed.  p
│ │ │ -00172130: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65  ackage:.    name
│ │ │ -00172140: 3a20 6176 6168 692d 6461 656d 6f6e 0a20  : avahi-daemon. 
│ │ │ -00172150: 2020 2073 7461 7465 3a20 6162 7365 6e74     state: absent
│ │ │ -00172160: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ -00172170: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ -00172180: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -00172190: 2d43 4d2d 3728 6129 0a20 202d 204e 4953  -CM-7(a).  - NIS
│ │ │ -001721a0: 542d 3830 302d 3533 2d43 4d2d 3728 6229  T-800-53-CM-7(b)
│ │ │ -001721b0: 0a20 202d 2064 6973 6162 6c65 5f73 7472  .  - disable_str
│ │ │ -001721c0: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ -001721d0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -001721e0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -001721f0: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ -00172200: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -00172210: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -00172220: 5f61 7661 6869 5f72 656d 6f76 6564 0a3c  _avahi_removed.<
│ │ │ +00171d40: 696f 6e20 416e 7369 626c 6520 736e 6970  ion Ansible snip
│ │ │ +00171d50: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c  pet ...
< │ │ │ +00171d60: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +00171d70: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +00171d80: 7365 2220 6964 3d22 6964 6d32 3131 3630 se" id="idm21160 │ │ │ +00171d90: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ +00171de0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +00171df0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +00171e10: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +00171e30: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +00171e40: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +00171e80: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ +00171e90: 653a 2045 6e73 7572 6520 6176 6168 692d  e: Ensure avahi-
│ │ │ +00171ea0: 6461 656d 6f6e 2069 7320 7265 6d6f 7665  daemon is remove
│ │ │ +00171eb0: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ +00171ec0: 206e 616d 653a 2061 7661 6869 2d64 6165   name: avahi-dae
│ │ │ +00171ed0: 6d6f 6e0a 2020 2020 7374 6174 653a 2061  mon.    state: a
│ │ │ +00171ee0: 6273 656e 740a 2020 7461 6773 3a0a 2020  bsent.  tags:.  
│ │ │ +00171ef0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +00171f00: 2d36 2861 290a 2020 2d20 4e49 5354 2d38  -6(a).  - NIST-8
│ │ │ +00171f10: 3030 2d35 332d 434d 2d37 2861 290a 2020  00-53-CM-7(a).  
│ │ │ +00171f20: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +00171f30: 2d37 2862 290a 2020 2d20 6469 7361 626c  -7(b).  - disabl
│ │ │ +00171f40: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ +00171f50: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +00171f60: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +00171f70: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ +00171f80: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +00171f90: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ +00171fa0: 636b 6167 655f 6176 6168 695f 7265 6d6f  ckage_avahi_remo
│ │ │ +00171fb0: 7665 640a 3c2f 636f 6465 3e3c 2f70 7265  ved.
Remediati │ │ │ +00172070: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ +00172080: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +001720c0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ +00172130: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +00172150: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +00172180: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ +00172110: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +00172120: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +00172160: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +00172170: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ +001721c0: 2072 656d 6f76 655f 6176 6168 692d 6461 remove_avahi-da │ │ │ +001721d0: 656d 6f6e 0a0a 636c 6173 7320 7265 6d6f emon..class remo │ │ │ +001721e0: 7665 5f61 7661 6869 2d64 6165 6d6f 6e20 ve_avahi-daemon │ │ │ +001721f0: 7b0a 2020 7061 636b 6167 6520 7b20 2761 {. package { 'a │ │ │ +00172200: 7661 6869 2d64 6165 6d6f 6e27 3a0a 2020 vahi-daemon':. │ │ │ +00172210: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => ' │ │ │ +00172220: 7075 7267 6564 272c 0a20 207d 0a7d 0a3c purged',. }.}.< │ │ │ 00172230: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>Remediation │ │ │ -00173420: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ -00173430: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...

Reme │ │ │ -00173570: 6469 6174 696f 6e20 4b75 6265 726e 6574 diation Kubernet │ │ │ -00173580: 6573 2073 6e69 7070 6574 20e2 87b2 3c2f es snippet ...
< │ │ │ -00173610: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -00173630: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> │ │ │ -00173660: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
low
Disr │ │ │ -00173640: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -00173650: 6d65 6469 756d 3c2f 7464 3e3c 2f74 723e medium
Reboot:< │ │ │ -00173670: 2f74 683e 3c74 643e 7472 7565 3c2f 7464 /th>true
St │ │ │ -00173690: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -001736a0: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
apiVersion: 
│ │ │ -001736d0: 6d61 6368 696e 6563 6f6e 6669 6775 7261  machineconfigura
│ │ │ -001736e0: 7469 6f6e 2e6f 7065 6e73 6869 6674 2e69  tion.openshift.i
│ │ │ -001736f0: 6f2f 7631 0a6b 696e 643a 204d 6163 6869  o/v1.kind: Machi
│ │ │ -00173700: 6e65 436f 6e66 6967 0a73 7065 633a 0a20  neConfig.spec:. 
│ │ │ -00173710: 2063 6f6e 6669 673a 0a20 2020 2069 676e   config:.    ign
│ │ │ -00173720: 6974 696f 6e3a 0a20 2020 2020 2076 6572  ition:.      ver
│ │ │ -00173730: 7369 6f6e 3a20 332e 312e 300a 2020 2020  sion: 3.1.0.    
│ │ │ -00173740: 7379 7374 656d 643a 0a20 2020 2020 2075  systemd:.      u
│ │ │ -00173750: 6e69 7473 3a0a 2020 2020 2020 2d20 6e61  nits:.      - na
│ │ │ -00173760: 6d65 3a20 6176 6168 692d 6461 656d 6f6e  me: avahi-daemon
│ │ │ -00173770: 2e73 6572 7669 6365 0a20 2020 2020 2020  .service.       
│ │ │ -00173780: 2065 6e61 626c 6564 3a20 6661 6c73 650a   enabled: false.
│ │ │ -00173790: 2020 2020 2020 2020 6d61 736b 3a20 7472          mask: tr
│ │ │ -001737a0: 7565 0a20 2020 2020 202d 206e 616d 653a  ue.      - name:
│ │ │ -001737b0: 2061 7661 6869 2d64 6165 6d6f 6e2e 736f   avahi-daemon.so
│ │ │ -001737c0: 636b 6574 0a20 2020 2020 2020 2065 6e61  cket.        ena
│ │ │ -001737d0: 626c 6564 3a20 6661 6c73 650a 2020 2020  bled: false.    
│ │ │ -001737e0: 2020 2020 6d61 736b 3a20 7472 7565 0a3c      mask: true.<
│ │ │ -001737f0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ -001738b0: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ -001738c0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ -00173950: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -00173970: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ -00173990: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ -001739c0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -001739d0: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ -001739e0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include disab
│ │ │ -00173a00: 6c65 5f61 7661 6869 2d64 6165 6d6f 6e0a  le_avahi-daemon.
│ │ │ -00173a10: 0a63 6c61 7373 2064 6973 6162 6c65 5f61  .class disable_a
│ │ │ -00173a20: 7661 6869 2d64 6165 6d6f 6e20 7b0a 2020  vahi-daemon {.  
│ │ │ -00173a30: 7365 7276 6963 6520 7b27 6176 6168 692d  service {'avahi-
│ │ │ -00173a40: 6461 656d 6f6e 273a 0a20 2020 2065 6e61  daemon':.    ena
│ │ │ -00173a50: 626c 6520 3d26 6774 3b20 6661 6c73 652c  ble => false,
│ │ │ -00173a60: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ -00173a70: 3b20 2773 746f 7070 6564 272c 0a20 207d  ; 'stopped',.  }
│ │ │ -00173a80: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ -00173a90: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ -00173b40: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ -00173b50: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -00173b90: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -00173c00: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -00173c20: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -00173c50: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -00173be0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -00173bf0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -00173c30: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -00173c40: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

- name: │ │ │ -00173c90: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack │ │ │ -00173ca0: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack │ │ │ -00173cb0: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m │ │ │ -00173cc0: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t │ │ │ -00173cd0: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80 │ │ │ -00173ce0: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). - │ │ │ -00173cf0: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM- │ │ │ -00173d00: 3728 6129 0a20 202d 204e 4953 542d 3830 7(a). - NIST-80 │ │ │ -00173d10: 302d 3533 2d43 4d2d 3728 6229 0a20 202d 0-53-CM-7(b). - │ │ │ -00173d20: 2050 4349 2d44 5353 7634 2d32 2e32 0a20 PCI-DSSv4-2.2. │ │ │ -00173d30: 202d 2050 4349 2d44 5353 7634 2d32 2e32 - PCI-DSSv4-2.2 │ │ │ -00173d40: 2e34 0a20 202d 2064 6973 6162 6c65 5f73 .4. - disable_s │ │ │ -00173d50: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_ │ │ │ -00173d60: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l │ │ │ -00173d70: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption. │ │ │ -00173d80: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit │ │ │ -00173d90: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_ │ │ │ -00173da0: 6e65 6564 6564 0a20 202d 2073 6572 7669 needed. - servi │ │ │ -00173db0: 6365 5f61 7661 6869 2d64 6165 6d6f 6e5f ce_avahi-daemon_ │ │ │ -00173dc0: 6469 7361 626c 6564 0a0a 2d20 6e61 6d65 disabled..- name │ │ │ -00173dd0: 3a20 4469 7361 626c 6520 4176 6168 6920 : Disable Avahi │ │ │ -00173de0: 5365 7276 6572 2053 6f66 7477 6172 6520 Server Software │ │ │ -00173df0: 2d20 436f 6c6c 6563 7420 7379 7374 656d - Collect system │ │ │ -00173e00: 6420 5365 7276 6963 6573 2050 7265 7365 d Services Prese │ │ │ -00173e10: 6e74 2069 6e20 7468 6520 5379 7374 656d nt in the System │ │ │ -00173e20: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74 . ansible.built │ │ │ -00173e30: 696e 2e63 6f6d 6d61 6e64 3a20 7379 7374 in.command: syst │ │ │ -00173e40: 656d 6374 6c20 2d71 206c 6973 742d 756e emctl -q list-un │ │ │ -00173e50: 6974 2d66 696c 6573 202d 2d74 7970 6520 it-files --type │ │ │ -00173e60: 7365 7276 6963 650a 2020 7265 6769 7374 service. regist │ │ │ -00173e70: 6572 3a20 7365 7276 6963 655f 6578 6973 er: service_exis │ │ │ -00173e80: 7473 0a20 2063 6861 6e67 6564 5f77 6865 ts. changed_whe │ │ │ -00173e90: 6e3a 2066 616c 7365 0a20 2066 6169 6c65 n: false. faile │ │ │ -00173ea0: 645f 7768 656e 3a20 7365 7276 6963 655f d_when: service_ │ │ │ -00173eb0: 6578 6973 7473 2e72 6320 6e6f 7420 696e exists.rc not in │ │ │ -00173ec0: 205b 302c 2031 5d0a 2020 6368 6563 6b5f [0, 1]. check_ │ │ │ -00173ed0: 6d6f 6465 3a20 6661 6c73 650a 2020 7768 mode: false. wh │ │ │ -00173ee0: 656e 3a20 2820 2261 7661 6869 2d64 6165 en: ( "avahi-dae │ │ │ -00173ef0: 6d6f 6e22 2069 6e20 616e 7369 626c 655f mon" in ansible_ │ │ │ -00173f00: 6661 6374 732e 7061 636b 6167 6573 2061 facts.packages a │ │ │ -00173f10: 6e64 2022 6c69 6e75 782d 6261 7365 2220 nd "linux-base" │ │ │ -00173f20: 696e 2061 6e73 6962 6c65 5f66 6163 7473 in ansible_facts │ │ │ -00173f30: 2e70 6163 6b61 6765 730a 2020 2020 290a .packages. ). │ │ │ -00173f40: 2020 7461 6773 3a0a 2020 2d20 4e49 5354 tags:. - NIST │ │ │ -00173f50: 2d38 3030 2d35 332d 434d 2d36 2861 290a -800-53-CM-6(a). │ │ │ -00173f60: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53- │ │ │ -00173f70: 434d 2d37 2861 290a 2020 2d20 4e49 5354 CM-7(a). - NIST │ │ │ -00173f80: 2d38 3030 2d35 332d 434d 2d37 2862 290a -800-53-CM-7(b). │ │ │ -00173f90: 2020 2d20 5043 492d 4453 5376 342d 322e - PCI-DSSv4-2. │ │ │ -00173fa0: 320a 2020 2d20 5043 492d 4453 5376 342d 2. - PCI-DSSv4- │ │ │ -00173fb0: 322e 322e 340a 2020 2d20 6469 7361 626c 2.2.4. - disabl │ │ │ -00173fc0: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l │ │ │ -00173fd0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity. │ │ │ -00173fe0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption │ │ │ -00173ff0: 0a20 202d 206d 6564 6975 6d5f 7365 7665 . - medium_seve │ │ │ -00174000: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo │ │ │ -00174010: 6f74 5f6e 6565 6465 640a 2020 2d20 7365 ot_needed. - se │ │ │ -00174020: 7276 6963 655f 6176 6168 692d 6461 656d rvice_avahi-daem │ │ │ -00174030: 6f6e 5f64 6973 6162 6c65 640a 0a2d 206e on_disabled..- n │ │ │ -00174040: 616d 653a 2044 6973 6162 6c65 2041 7661 ame: Disable Ava │ │ │ -00174050: 6869 2053 6572 7665 7220 536f 6674 7761 hi Server Softwa │ │ │ -00174060: 7265 202d 2045 6e73 7572 6520 6176 6168 re - Ensure avah │ │ │ -00174070: 692d 6461 656d 6f6e 2e73 6572 7669 6365 i-daemon.service │ │ │ -00174080: 2069 7320 4d61 736b 6564 0a20 2061 6e73 is Masked. ans │ │ │ -00174090: 6962 6c65 2e62 7569 6c74 696e 2e73 7973 ible.builtin.sys │ │ │ -001740a0: 7465 6d64 3a0a 2020 2020 6e61 6d65 3a20 temd:. name: │ │ │ -001740b0: 6176 6168 692d 6461 656d 6f6e 2e73 6572 avahi-daemon.ser │ │ │ -001740c0: 7669 6365 0a20 2020 2073 7461 7465 3a20 vice. state: │ │ │ -001740d0: 7374 6f70 7065 640a 2020 2020 656e 6162 stopped. enab │ │ │ -001740e0: 6c65 643a 2066 616c 7365 0a20 2020 206d led: false. m │ │ │ -001740f0: 6173 6b65 643a 2074 7275 650a 2020 7768 asked: true. wh │ │ │ -00174100: 656e 3a0a 2020 2d20 2820 2261 7661 6869 en:. - ( "avahi │ │ │ -00174110: 2d64 6165 6d6f 6e22 2069 6e20 616e 7369 -daemon" in ansi │ │ │ -00174120: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag │ │ │ -00174130: 6573 2061 6e64 2022 6c69 6e75 782d 6261 es and "linux-ba │ │ │ -00174140: 7365 2220 696e 2061 6e73 6962 6c65 5f66 se" in ansible_f │ │ │ -00174150: 6163 7473 2e70 6163 6b61 6765 730a 2020 acts.packages. │ │ │ -00174160: 2020 290a 2020 2d20 7365 7276 6963 655f ). - service_ │ │ │ -00174170: 6578 6973 7473 2e73 7464 6f75 745f 6c69 exists.stdout_li │ │ │ -00174180: 6e65 7320 6973 2073 6561 7263 6828 2261 nes is search("a │ │ │ -00174190: 7661 6869 2d64 6165 6d6f 6e2e 7365 7276 vahi-daemon.serv │ │ │ -001741a0: 6963 6522 2c20 6d75 6c74 696c 696e 653d ice", multiline= │ │ │ -001741b0: 5472 7565 290a 2020 7461 6773 3a0a 2020 True). tags:. │ │ │ -001741c0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM │ │ │ -001741d0: 2d36 2861 290a 2020 2d20 4e49 5354 2d38 -6(a). - NIST-8 │ │ │ -001741e0: 3030 2d35 332d 434d 2d37 2861 290a 2020 00-53-CM-7(a). │ │ │ -001741f0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM │ │ │ -00174200: 2d37 2862 290a 2020 2d20 5043 492d 4453 -7(b). - PCI-DS │ │ │ -00174210: 5376 342d 322e 320a 2020 2d20 5043 492d Sv4-2.2. - PCI- │ │ │ -00174220: 4453 5376 342d 322e 322e 340a 2020 2d20 DSSv4-2.2.4. - │ │ │ -00174230: 6469 7361 626c 655f 7374 7261 7465 6779 disable_strategy │ │ │ -00174240: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex │ │ │ -00174250: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr │ │ │ -00174260: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu │ │ │ -00174270: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n │ │ │ -00174280: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed. │ │ │ -00174290: 2020 2d20 7365 7276 6963 655f 6176 6168 - service_avah │ │ │ -001742a0: 692d 6461 656d 6f6e 5f64 6973 6162 6c65 i-daemon_disable │ │ │ -001742b0: 640a 0a2d 206e 616d 653a 2055 6e69 7420 d..- name: Unit │ │ │ -001742c0: 536f 636b 6574 2045 7869 7374 7320 2d20 Socket Exists - │ │ │ -001742d0: 6176 6168 692d 6461 656d 6f6e 2e73 6f63 avahi-daemon.soc │ │ │ -001742e0: 6b65 740a 2020 616e 7369 626c 652e 6275 ket. ansible.bu │ │ │ -001742f0: 696c 7469 6e2e 636f 6d6d 616e 643a 2073 iltin.command: s │ │ │ -00174300: 7973 7465 6d63 746c 202d 7120 6c69 7374 ystemctl -q list │ │ │ -00174310: 2d75 6e69 742d 6669 6c65 7320 6176 6168 -unit-files avah │ │ │ -00174320: 692d 6461 656d 6f6e 2e73 6f63 6b65 740a i-daemon.socket. │ │ │ -00174330: 2020 7265 6769 7374 6572 3a20 736f 636b register: sock │ │ │ -00174340: 6574 5f66 696c 655f 6578 6973 7473 0a20 et_file_exists. │ │ │ -00174350: 2063 6861 6e67 6564 5f77 6865 6e3a 2066 changed_when: f │ │ │ -00174360: 616c 7365 0a20 2066 6169 6c65 645f 7768 alse. failed_wh │ │ │ -00174370: 656e 3a20 736f 636b 6574 5f66 696c 655f en: socket_file_ │ │ │ -00174380: 6578 6973 7473 2e72 6320 6e6f 7420 696e exists.rc not in │ │ │ -00174390: 205b 302c 2031 5d0a 2020 6368 6563 6b5f [0, 1]. check_ │ │ │ -001743a0: 6d6f 6465 3a20 6661 6c73 650a 2020 7768 mode: false. wh │ │ │ -001743b0: 656e 3a20 2820 2261 7661 6869 2d64 6165 en: ( "avahi-dae │ │ │ -001743c0: 6d6f 6e22 2069 6e20 616e 7369 626c 655f mon" in ansible_ │ │ │ -001743d0: 6661 6374 732e 7061 636b 6167 6573 2061 facts.packages a │ │ │ -001743e0: 6e64 2022 6c69 6e75 782d 6261 7365 2220 nd "linux-base" │ │ │ -001743f0: 696e 2061 6e73 6962 6c65 5f66 6163 7473 in ansible_facts │ │ │ -00174400: 2e70 6163 6b61 6765 730a 2020 2020 290a .packages. ). │ │ │ -00174410: 2020 7461 6773 3a0a 2020 2d20 4e49 5354 tags:. - NIST │ │ │ -00174420: 2d38 3030 2d35 332d 434d 2d36 2861 290a -800-53-CM-6(a). │ │ │ -00174430: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53- │ │ │ -00174440: 434d 2d37 2861 290a 2020 2d20 4e49 5354 CM-7(a). - NIST │ │ │ -00174450: 2d38 3030 2d35 332d 434d 2d37 2862 290a -800-53-CM-7(b). │ │ │ -00174460: 2020 2d20 5043 492d 4453 5376 342d 322e - PCI-DSSv4-2. │ │ │ -00174470: 320a 2020 2d20 5043 492d 4453 5376 342d 2. - PCI-DSSv4- │ │ │ -00174480: 322e 322e 340a 2020 2d20 6469 7361 626c 2.2.4. - disabl │ │ │ -00174490: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l │ │ │ -001744a0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity. │ │ │ -001744b0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption │ │ │ -001744c0: 0a20 202d 206d 6564 6975 6d5f 7365 7665 . - medium_seve │ │ │ -001744d0: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo │ │ │ -001744e0: 6f74 5f6e 6565 6465 640a 2020 2d20 7365 ot_needed. - se │ │ │ -001744f0: 7276 6963 655f 6176 6168 692d 6461 656d rvice_avahi-daem │ │ │ -00174500: 6f6e 5f64 6973 6162 6c65 640a 0a2d 206e on_disabled..- n │ │ │ -00174510: 616d 653a 2044 6973 6162 6c65 2041 7661 ame: Disable Ava │ │ │ -00174520: 6869 2053 6572 7665 7220 536f 6674 7761 hi Server Softwa │ │ │ -00174530: 7265 202d 2044 6973 6162 6c65 2053 6f63 re - Disable Soc │ │ │ -00174540: 6b65 7420 6176 6168 692d 6461 656d 6f6e ket avahi-daemon │ │ │ -00174550: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74 . ansible.built │ │ │ -00174560: 696e 2e73 7973 7465 6d64 3a0a 2020 2020 in.systemd:. │ │ │ -00174570: 6e61 6d65 3a20 6176 6168 692d 6461 656d name: avahi-daem │ │ │ -00174580: 6f6e 2e73 6f63 6b65 740a 2020 2020 656e on.socket. en │ │ │ -00174590: 6162 6c65 643a 2066 616c 7365 0a20 2020 abled: false. │ │ │ -001745a0: 2073 7461 7465 3a20 7374 6f70 7065 640a state: stopped. │ │ │ -001745b0: 2020 2020 6d61 736b 6564 3a20 7472 7565 masked: true │ │ │ -001745c0: 0a20 2077 6865 6e3a 0a20 202d 2028 2022 . when:. - ( " │ │ │ -001745d0: 6176 6168 692d 6461 656d 6f6e 2220 696e avahi-daemon" in │ │ │ -001745e0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70 ansible_facts.p │ │ │ -001745f0: 6163 6b61 6765 7320 616e 6420 226c 696e ackages and "lin │ │ │ -00174600: 7578 2d62 6173 6522 2069 6e20 616e 7369 ux-base" in ansi │ │ │ -00174610: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag │ │ │ -00174620: 6573 0a20 2020 2029 0a20 202d 2073 6f63 es. ). - soc │ │ │ -00174630: 6b65 745f 6669 6c65 5f65 7869 7374 732e ket_file_exists. │ │ │ -00174640: 7374 646f 7574 5f6c 696e 6573 2069 7320 stdout_lines is │ │ │ -00174650: 7365 6172 6368 2822 6176 6168 692d 6461 search("avahi-da │ │ │ -00174660: 656d 6f6e 2e73 6f63 6b65 7422 2c20 6d75 emon.socket", mu │ │ │ -00174670: 6c74 696c 696e 653d 5472 7565 290a 2020 ltiline=True). │ │ │ -00174680: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8 │ │ │ -00174690: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a). │ │ │ -001746a0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM │ │ │ -001746b0: 2d37 2861 290a 2020 2d20 4e49 5354 2d38 -7(a). - NIST-8 │ │ │ -001746c0: 3030 2d35 332d 434d 2d37 2862 290a 2020 00-53-CM-7(b). │ │ │ -001746d0: 2d20 5043 492d 4453 5376 342d 322e 320a - PCI-DSSv4-2.2. │ │ │ -001746e0: 2020 2d20 5043 492d 4453 5376 342d 322e - PCI-DSSv4-2. │ │ │ -001746f0: 322e 340a 2020 2d20 6469 7361 626c 655f 2.4. - disable_ │ │ │ -00174700: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low │ │ │ -00174710: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. - │ │ │ -00174720: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption. │ │ │ -00174730: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi │ │ │ -00174740: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot │ │ │ -00174750: 5f6e 6565 6465 640a 2020 2d20 7365 7276 _needed. - serv │ │ │ -00174760: 6963 655f 6176 6168 692d 6461 656d 6f6e ice_avahi-daemon │ │ │ -00174770: 5f64 6973 6162 6c65 640a 3c2f 636f 6465 _disabled.

< │ │ │ +00173470: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +00173480: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +00173490: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +001734a0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +001734b0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +001734c0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +001734d0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +00173510: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +00173520: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +00173540: 3c74 643e 6469 7361 626c 653c 2f74 643e disable │ │ │ +00173550: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 - name: │ │ │ +00173570: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ +00173580: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ +00173590: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ +001735a0: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ +001735b0: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800 │ │ │ +001735c0: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). - │ │ │ +001735d0: 4e49 5354 2d38 3030 2d35 332d 434d 2d37 NIST-800-53-CM-7 │ │ │ +001735e0: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800 │ │ │ +001735f0: 2d35 332d 434d 2d37 2862 290a 2020 2d20 -53-CM-7(b). - │ │ │ +00173600: 5043 492d 4453 5376 342d 322e 320a 2020 PCI-DSSv4-2.2. │ │ │ +00173610: 2d20 5043 492d 4453 5376 342d 322e 322e - PCI-DSSv4-2.2. │ │ │ +00173620: 340a 2020 2d20 6469 7361 626c 655f 7374 4. - disable_st │ │ │ +00173630: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c │ │ │ +00173640: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo │ │ │ +00173650: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. - │ │ │ +00173660: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity │ │ │ +00173670: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n │ │ │ +00173680: 6565 6465 640a 2020 2d20 7365 7276 6963 eeded. - servic │ │ │ +00173690: 655f 6176 6168 692d 6461 656d 6f6e 5f64 e_avahi-daemon_d │ │ │ +001736a0: 6973 6162 6c65 640a 0a2d 206e 616d 653a isabled..- name: │ │ │ +001736b0: 2044 6973 6162 6c65 2041 7661 6869 2053 Disable Avahi S │ │ │ +001736c0: 6572 7665 7220 536f 6674 7761 7265 202d erver Software - │ │ │ +001736d0: 2043 6f6c 6c65 6374 2073 7973 7465 6d64 Collect systemd │ │ │ +001736e0: 2053 6572 7669 6365 7320 5072 6573 656e Services Presen │ │ │ +001736f0: 7420 696e 2074 6865 2053 7973 7465 6d0a t in the System. │ │ │ +00173700: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti │ │ │ +00173710: 6e2e 636f 6d6d 616e 643a 2073 7973 7465 n.command: syste │ │ │ +00173720: 6d63 746c 202d 7120 6c69 7374 2d75 6e69 mctl -q list-uni │ │ │ +00173730: 742d 6669 6c65 7320 2d2d 7479 7065 2073 t-files --type s │ │ │ +00173740: 6572 7669 6365 0a20 2072 6567 6973 7465 ervice. registe │ │ │ +00173750: 723a 2073 6572 7669 6365 5f65 7869 7374 r: service_exist │ │ │ +00173760: 730a 2020 6368 616e 6765 645f 7768 656e s. changed_when │ │ │ +00173770: 3a20 6661 6c73 650a 2020 6661 696c 6564 : false. failed │ │ │ +00173780: 5f77 6865 6e3a 2073 6572 7669 6365 5f65 _when: service_e │ │ │ +00173790: 7869 7374 732e 7263 206e 6f74 2069 6e20 xists.rc not in │ │ │ +001737a0: 5b30 2c20 315d 0a20 2063 6865 636b 5f6d [0, 1]. check_m │ │ │ +001737b0: 6f64 653a 2066 616c 7365 0a20 2077 6865 ode: false. whe │ │ │ +001737c0: 6e3a 2028 2022 6176 6168 692d 6461 656d n: ( "avahi-daem │ │ │ +001737d0: 6f6e 2220 696e 2061 6e73 6962 6c65 5f66 on" in ansible_f │ │ │ +001737e0: 6163 7473 2e70 6163 6b61 6765 7320 616e acts.packages an │ │ │ +001737f0: 6420 226c 696e 7578 2d62 6173 6522 2069 d "linux-base" i │ │ │ +00173800: 6e20 616e 7369 626c 655f 6661 6374 732e n ansible_facts. │ │ │ +00173810: 7061 636b 6167 6573 0a20 2020 2029 0a20 packages. ). │ │ │ +00173820: 2074 6167 733a 0a20 202d 204e 4953 542d tags:. - NIST- │ │ │ +00173830: 3830 302d 3533 2d43 4d2d 3628 6129 0a20 800-53-CM-6(a). │ │ │ +00173840: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C │ │ │ +00173850: 4d2d 3728 6129 0a20 202d 204e 4953 542d M-7(a). - NIST- │ │ │ +00173860: 3830 302d 3533 2d43 4d2d 3728 6229 0a20 800-53-CM-7(b). │ │ │ +00173870: 202d 2050 4349 2d44 5353 7634 2d32 2e32 - PCI-DSSv4-2.2 │ │ │ +00173880: 0a20 202d 2050 4349 2d44 5353 7634 2d32 . - PCI-DSSv4-2 │ │ │ +00173890: 2e32 2e34 0a20 202d 2064 6973 6162 6c65 .2.4. - disable │ │ │ +001738a0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo │ │ │ +001738b0: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. - │ │ │ +001738c0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption. │ │ │ +001738d0: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever │ │ │ +001738e0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo │ │ │ +001738f0: 745f 6e65 6564 6564 0a20 202d 2073 6572 t_needed. - ser │ │ │ +00173900: 7669 6365 5f61 7661 6869 2d64 6165 6d6f vice_avahi-daemo │ │ │ +00173910: 6e5f 6469 7361 626c 6564 0a0a 2d20 6e61 n_disabled..- na │ │ │ +00173920: 6d65 3a20 4469 7361 626c 6520 4176 6168 me: Disable Avah │ │ │ +00173930: 6920 5365 7276 6572 2053 6f66 7477 6172 i Server Softwar │ │ │ +00173940: 6520 2d20 456e 7375 7265 2061 7661 6869 e - Ensure avahi │ │ │ +00173950: 2d64 6165 6d6f 6e2e 7365 7276 6963 6520 -daemon.service │ │ │ +00173960: 6973 204d 6173 6b65 640a 2020 616e 7369 is Masked. ansi │ │ │ +00173970: 626c 652e 6275 696c 7469 6e2e 7379 7374 ble.builtin.syst │ │ │ +00173980: 656d 643a 0a20 2020 206e 616d 653a 2061 emd:. name: a │ │ │ +00173990: 7661 6869 2d64 6165 6d6f 6e2e 7365 7276 vahi-daemon.serv │ │ │ +001739a0: 6963 650a 2020 2020 7374 6174 653a 2073 ice. state: s │ │ │ +001739b0: 746f 7070 6564 0a20 2020 2065 6e61 626c topped. enabl │ │ │ +001739c0: 6564 3a20 6661 6c73 650a 2020 2020 6d61 ed: false. ma │ │ │ +001739d0: 736b 6564 3a20 7472 7565 0a20 2077 6865 sked: true. whe │ │ │ +001739e0: 6e3a 0a20 202d 2028 2022 6176 6168 692d n:. - ( "avahi- │ │ │ +001739f0: 6461 656d 6f6e 2220 696e 2061 6e73 6962 daemon" in ansib │ │ │ +00173a00: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package │ │ │ +00173a10: 7320 616e 6420 226c 696e 7578 2d62 6173 s and "linux-bas │ │ │ +00173a20: 6522 2069 6e20 616e 7369 626c 655f 6661 e" in ansible_fa │ │ │ +00173a30: 6374 732e 7061 636b 6167 6573 0a20 2020 cts.packages. │ │ │ +00173a40: 2029 0a20 202d 2073 6572 7669 6365 5f65 ). - service_e │ │ │ +00173a50: 7869 7374 732e 7374 646f 7574 5f6c 696e xists.stdout_lin │ │ │ +00173a60: 6573 2069 7320 7365 6172 6368 2822 6176 es is search("av │ │ │ +00173a70: 6168 692d 6461 656d 6f6e 2e73 6572 7669 ahi-daemon.servi │ │ │ +00173a80: 6365 222c 206d 756c 7469 6c69 6e65 3d54 ce", multiline=T │ │ │ +00173a90: 7275 6529 0a20 2074 6167 733a 0a20 202d rue). tags:. - │ │ │ +00173aa0: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM- │ │ │ +00173ab0: 3628 6129 0a20 202d 204e 4953 542d 3830 6(a). - NIST-80 │ │ │ +00173ac0: 302d 3533 2d43 4d2d 3728 6129 0a20 202d 0-53-CM-7(a). - │ │ │ +00173ad0: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM- │ │ │ +00173ae0: 3728 6229 0a20 202d 2050 4349 2d44 5353 7(b). - PCI-DSS │ │ │ +00173af0: 7634 2d32 2e32 0a20 202d 2050 4349 2d44 v4-2.2. - PCI-D │ │ │ +00173b00: 5353 7634 2d32 2e32 2e34 0a20 202d 2064 SSv4-2.2.4. - d │ │ │ +00173b10: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy. │ │ │ +00173b20: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi │ │ │ +00173b30: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru │ │ │ +00173b40: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium │ │ │ +00173b50: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no │ │ │ +00173b60: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed. │ │ │ +00173b70: 202d 2073 6572 7669 6365 5f61 7661 6869 - service_avahi │ │ │ +00173b80: 2d64 6165 6d6f 6e5f 6469 7361 626c 6564 -daemon_disabled │ │ │ +00173b90: 0a0a 2d20 6e61 6d65 3a20 556e 6974 2053 ..- name: Unit S │ │ │ +00173ba0: 6f63 6b65 7420 4578 6973 7473 202d 2061 ocket Exists - a │ │ │ +00173bb0: 7661 6869 2d64 6165 6d6f 6e2e 736f 636b vahi-daemon.sock │ │ │ +00173bc0: 6574 0a20 2061 6e73 6962 6c65 2e62 7569 et. ansible.bui │ │ │ +00173bd0: 6c74 696e 2e63 6f6d 6d61 6e64 3a20 7379 ltin.command: sy │ │ │ +00173be0: 7374 656d 6374 6c20 2d71 206c 6973 742d stemctl -q list- │ │ │ +00173bf0: 756e 6974 2d66 696c 6573 2061 7661 6869 unit-files avahi │ │ │ +00173c00: 2d64 6165 6d6f 6e2e 736f 636b 6574 0a20 -daemon.socket. │ │ │ +00173c10: 2072 6567 6973 7465 723a 2073 6f63 6b65 register: socke │ │ │ +00173c20: 745f 6669 6c65 5f65 7869 7374 730a 2020 t_file_exists. │ │ │ +00173c30: 6368 616e 6765 645f 7768 656e 3a20 6661 changed_when: fa │ │ │ +00173c40: 6c73 650a 2020 6661 696c 6564 5f77 6865 lse. failed_whe │ │ │ +00173c50: 6e3a 2073 6f63 6b65 745f 6669 6c65 5f65 n: socket_file_e │ │ │ +00173c60: 7869 7374 732e 7263 206e 6f74 2069 6e20 xists.rc not in │ │ │ +00173c70: 5b30 2c20 315d 0a20 2063 6865 636b 5f6d [0, 1]. check_m │ │ │ +00173c80: 6f64 653a 2066 616c 7365 0a20 2077 6865 ode: false. whe │ │ │ +00173c90: 6e3a 2028 2022 6176 6168 692d 6461 656d n: ( "avahi-daem │ │ │ +00173ca0: 6f6e 2220 696e 2061 6e73 6962 6c65 5f66 on" in ansible_f │ │ │ +00173cb0: 6163 7473 2e70 6163 6b61 6765 7320 616e acts.packages an │ │ │ +00173cc0: 6420 226c 696e 7578 2d62 6173 6522 2069 d "linux-base" i │ │ │ +00173cd0: 6e20 616e 7369 626c 655f 6661 6374 732e n ansible_facts. │ │ │ +00173ce0: 7061 636b 6167 6573 0a20 2020 2029 0a20 packages. ). │ │ │ +00173cf0: 2074 6167 733a 0a20 202d 204e 4953 542d tags:. - NIST- │ │ │ +00173d00: 3830 302d 3533 2d43 4d2d 3628 6129 0a20 800-53-CM-6(a). │ │ │ +00173d10: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C │ │ │ +00173d20: 4d2d 3728 6129 0a20 202d 204e 4953 542d M-7(a). - NIST- │ │ │ +00173d30: 3830 302d 3533 2d43 4d2d 3728 6229 0a20 800-53-CM-7(b). │ │ │ +00173d40: 202d 2050 4349 2d44 5353 7634 2d32 2e32 - PCI-DSSv4-2.2 │ │ │ +00173d50: 0a20 202d 2050 4349 2d44 5353 7634 2d32 . - PCI-DSSv4-2 │ │ │ +00173d60: 2e32 2e34 0a20 202d 2064 6973 6162 6c65 .2.4. - disable │ │ │ +00173d70: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo │ │ │ +00173d80: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. - │ │ │ +00173d90: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption. │ │ │ +00173da0: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever │ │ │ +00173db0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo │ │ │ +00173dc0: 745f 6e65 6564 6564 0a20 202d 2073 6572 t_needed. - ser │ │ │ +00173dd0: 7669 6365 5f61 7661 6869 2d64 6165 6d6f vice_avahi-daemo │ │ │ +00173de0: 6e5f 6469 7361 626c 6564 0a0a 2d20 6e61 n_disabled..- na │ │ │ +00173df0: 6d65 3a20 4469 7361 626c 6520 4176 6168 me: Disable Avah │ │ │ +00173e00: 6920 5365 7276 6572 2053 6f66 7477 6172 i Server Softwar │ │ │ +00173e10: 6520 2d20 4469 7361 626c 6520 536f 636b e - Disable Sock │ │ │ +00173e20: 6574 2061 7661 6869 2d64 6165 6d6f 6e0a et avahi-daemon. │ │ │ +00173e30: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti │ │ │ +00173e40: 6e2e 7379 7374 656d 643a 0a20 2020 206e n.systemd:. n │ │ │ +00173e50: 616d 653a 2061 7661 6869 2d64 6165 6d6f ame: avahi-daemo │ │ │ +00173e60: 6e2e 736f 636b 6574 0a20 2020 2065 6e61 n.socket. ena │ │ │ +00173e70: 626c 6564 3a20 6661 6c73 650a 2020 2020 bled: false. │ │ │ +00173e80: 7374 6174 653a 2073 746f 7070 6564 0a20 state: stopped. │ │ │ +00173e90: 2020 206d 6173 6b65 643a 2074 7275 650a masked: true. │ │ │ +00173ea0: 2020 7768 656e 3a0a 2020 2d20 2820 2261 when:. - ( "a │ │ │ +00173eb0: 7661 6869 2d64 6165 6d6f 6e22 2069 6e20 vahi-daemon" in │ │ │ +00173ec0: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa │ │ │ +00173ed0: 636b 6167 6573 2061 6e64 2022 6c69 6e75 ckages and "linu │ │ │ +00173ee0: 782d 6261 7365 2220 696e 2061 6e73 6962 x-base" in ansib │ │ │ +00173ef0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package │ │ │ +00173f00: 730a 2020 2020 290a 2020 2d20 736f 636b s. ). - sock │ │ │ +00173f10: 6574 5f66 696c 655f 6578 6973 7473 2e73 et_file_exists.s │ │ │ +00173f20: 7464 6f75 745f 6c69 6e65 7320 6973 2073 tdout_lines is s │ │ │ +00173f30: 6561 7263 6828 2261 7661 6869 2d64 6165 earch("avahi-dae │ │ │ +00173f40: 6d6f 6e2e 736f 636b 6574 222c 206d 756c mon.socket", mul │ │ │ +00173f50: 7469 6c69 6e65 3d54 7275 6529 0a20 2074 tiline=True). t │ │ │ +00173f60: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80 │ │ │ +00173f70: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). - │ │ │ +00173f80: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM- │ │ │ +00173f90: 3728 6129 0a20 202d 204e 4953 542d 3830 7(a). - NIST-80 │ │ │ +00173fa0: 302d 3533 2d43 4d2d 3728 6229 0a20 202d 0-53-CM-7(b). - │ │ │ +00173fb0: 2050 4349 2d44 5353 7634 2d32 2e32 0a20 PCI-DSSv4-2.2. │ │ │ +00173fc0: 202d 2050 4349 2d44 5353 7634 2d32 2e32 - PCI-DSSv4-2.2 │ │ │ +00173fd0: 2e34 0a20 202d 2064 6973 6162 6c65 5f73 .4. - disable_s │ │ │ +00173fe0: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_ │ │ │ +00173ff0: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l │ │ │ +00174000: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption. │ │ │ +00174010: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit │ │ │ +00174020: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_ │ │ │ +00174030: 6e65 6564 6564 0a20 202d 2073 6572 7669 needed. - servi │ │ │ +00174040: 6365 5f61 7661 6869 2d64 6165 6d6f 6e5f ce_avahi-daemon_ │ │ │ +00174050: 6469 7361 626c 6564 0a3c 2f63 6f64 653e disabled. │ │ │ +00174060: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Reme │ │ │ +00174110: 6469 6174 696f 6e20 4b75 6265 726e 6574 diation Kubernet │ │ │ +00174120: 6573 2073 6e69 7070 6574 20e2 87b2 3c2f es snippet ...
< │ │ │ +001741b0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +001741d0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> │ │ │ +00174200: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
low
Disr │ │ │ +001741e0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +001741f0: 6d65 6469 756d 3c2f 7464 3e3c 2f74 723e medium
Reboot:< │ │ │ +00174210: 2f74 683e 3c74 643e 7472 7565 3c2f 7464 /th>true
St │ │ │ +00174230: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +00174240: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
apiVersion: 
│ │ │ +00174270: 6d61 6368 696e 6563 6f6e 6669 6775 7261  machineconfigura
│ │ │ +00174280: 7469 6f6e 2e6f 7065 6e73 6869 6674 2e69  tion.openshift.i
│ │ │ +00174290: 6f2f 7631 0a6b 696e 643a 204d 6163 6869  o/v1.kind: Machi
│ │ │ +001742a0: 6e65 436f 6e66 6967 0a73 7065 633a 0a20  neConfig.spec:. 
│ │ │ +001742b0: 2063 6f6e 6669 673a 0a20 2020 2069 676e   config:.    ign
│ │ │ +001742c0: 6974 696f 6e3a 0a20 2020 2020 2076 6572  ition:.      ver
│ │ │ +001742d0: 7369 6f6e 3a20 332e 312e 300a 2020 2020  sion: 3.1.0.    
│ │ │ +001742e0: 7379 7374 656d 643a 0a20 2020 2020 2075  systemd:.      u
│ │ │ +001742f0: 6e69 7473 3a0a 2020 2020 2020 2d20 6e61  nits:.      - na
│ │ │ +00174300: 6d65 3a20 6176 6168 692d 6461 656d 6f6e  me: avahi-daemon
│ │ │ +00174310: 2e73 6572 7669 6365 0a20 2020 2020 2020  .service.       
│ │ │ +00174320: 2065 6e61 626c 6564 3a20 6661 6c73 650a   enabled: false.
│ │ │ +00174330: 2020 2020 2020 2020 6d61 736b 3a20 7472          mask: tr
│ │ │ +00174340: 7565 0a20 2020 2020 202d 206e 616d 653a  ue.      - name:
│ │ │ +00174350: 2061 7661 6869 2d64 6165 6d6f 6e2e 736f   avahi-daemon.so
│ │ │ +00174360: 636b 6574 0a20 2020 2020 2020 2065 6e61  cket.        ena
│ │ │ +00174370: 626c 6564 3a20 6661 6c73 650a 2020 2020  bled: false.    
│ │ │ +00174380: 2020 2020 6d61 736b 3a20 7472 7565 0a3c      mask: true.<
│ │ │ +00174390: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ +00174450: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ +00174460: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ +001744f0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +00174510: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +00174530: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +00174560: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +00174570: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ +00174580: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include disab
│ │ │ +001745a0: 6c65 5f61 7661 6869 2d64 6165 6d6f 6e0a  le_avahi-daemon.
│ │ │ +001745b0: 0a63 6c61 7373 2064 6973 6162 6c65 5f61  .class disable_a
│ │ │ +001745c0: 7661 6869 2d64 6165 6d6f 6e20 7b0a 2020  vahi-daemon {.  
│ │ │ +001745d0: 7365 7276 6963 6520 7b27 6176 6168 692d  service {'avahi-
│ │ │ +001745e0: 6461 656d 6f6e 273a 0a20 2020 2065 6e61  daemon':.    ena
│ │ │ +001745f0: 626c 6520 3d26 6774 3b20 6661 6c73 652c  ble => false,
│ │ │ +00174600: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ +00174610: 3b20 2773 746f 7070 6564 272c 0a20 207d  ; 'stopped',.  }
│ │ │ +00174620: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ +00174630: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ +001746e0: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr │ │ │ +001746f0: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...< │ │ │ +00174700: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
<
│ │ │ +00174740: 636f 6465 3e0a 5b63 7573 746f 6d69 7a61  code>.[customiza
│ │ │ +00174750: 7469 6f6e 732e 7365 7276 6963 6573 5d0a  tions.services].
│ │ │ +00174760: 6d61 736b 6564 203d 205b 2261 7661 6869  masked = ["avahi
│ │ │ +00174770: 2d64 6165 6d6f 6e22 5d0a 3c2f 636f 6465  -daemon"].
Re │ │ │ -0017de30: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil │ │ │ -0017de40: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip │ │ │ -0017de50: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -0017de60: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -0017de70: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -0017de80: 7365 2220 6964 3d22 6964 6d32 3135 3439 se" id="idm21549 │ │ │ -0017de90: 223e 3c70 7265 3e3c 636f 6465 3e0a 5b63 ">
.[c
│ │ │ -0017dea0: 7573 746f 6d69 7a61 7469 6f6e 732e 7365  ustomizations.se
│ │ │ -0017deb0: 7276 6963 6573 5d0a 656e 6162 6c65 6420  rvices].enabled 
│ │ │ -0017dec0: 3d20 5b22 6372 6f6e 225d 0a3c 2f63 6f64  = ["cron"].
Re │ │ │ -0017df80: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -0017df90: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -0017dfa0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -0017e070: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -0017e080: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
i
│ │ │ -0017e0d0: 6e63 6c75 6465 2065 6e61 626c 655f 6372  nclude enable_cr
│ │ │ -0017e0e0: 6f6e 0a0a 636c 6173 7320 656e 6162 6c65  on..class enable
│ │ │ -0017e0f0: 5f63 726f 6e20 7b0a 2020 7365 7276 6963  _cron {.  servic
│ │ │ -0017e100: 6520 7b27 6372 6f6e 273a 0a20 2020 2065  e {'cron':.    e
│ │ │ -0017e110: 6e61 626c 6520 3d26 6774 3b20 7472 7565  nable => true
│ │ │ -0017e120: 2c0a 2020 2020 656e 7375 7265 203d 2667  ,.    ensure =&g
│ │ │ -0017e130: 743b 2027 7275 6e6e 696e 6727 2c0a 2020  t; 'running',.  
│ │ │ -0017e140: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ -0017e200: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -0017e210: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
Complexity:low
Disrup │ │ │ -0017e050: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -0017e060: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -0017e0a0: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ -0017e0b0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
│ │ │ -0017e2c0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -0017e2e0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -0017e310: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -0017e2a0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -0017e2b0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -0017e2d0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -0017e2f0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -0017e300: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

- name: │ │ │ -0017e350: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack │ │ │ -0017e360: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack │ │ │ -0017e370: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m │ │ │ -0017e380: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t │ │ │ -0017e390: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80 │ │ │ -0017e3a0: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). - │ │ │ -0017e3b0: 2065 6e61 626c 655f 7374 7261 7465 6779 enable_strategy │ │ │ -0017e3c0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex │ │ │ -0017e3d0: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr │ │ │ -0017e3e0: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu │ │ │ -0017e3f0: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n │ │ │ -0017e400: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed. │ │ │ -0017e410: 2020 2d20 7365 7276 6963 655f 6372 6f6e - service_cron │ │ │ -0017e420: 5f65 6e61 626c 6564 0a0a 2d20 6e61 6d65 _enabled..- name │ │ │ -0017e430: 3a20 456e 6162 6c65 2063 726f 6e20 5365 : Enable cron Se │ │ │ -0017e440: 7276 6963 6520 2d20 456e 6162 6c65 2073 rvice - Enable s │ │ │ -0017e450: 6572 7669 6365 2063 726f 6e0a 2020 626c ervice cron. bl │ │ │ -0017e460: 6f63 6b3a 0a0a 2020 2d20 6e61 6d65 3a20 ock:.. - name: │ │ │ -0017e470: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ -0017e480: 6765 2066 6163 7473 0a20 2020 2070 6163 ge facts. pac │ │ │ -0017e490: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ -0017e4a0: 2020 6d61 6e61 6765 723a 2061 7574 6f0a manager: auto. │ │ │ -0017e4b0: 0a20 202d 206e 616d 653a 2045 6e61 626c . - name: Enabl │ │ │ -0017e4c0: 6520 6372 6f6e 2053 6572 7669 6365 202d e cron Service - │ │ │ -0017e4d0: 2045 6e61 626c 6520 5365 7276 6963 6520 Enable Service │ │ │ -0017e4e0: 6372 6f6e 0a20 2020 2061 6e73 6962 6c65 cron. ansible │ │ │ -0017e4f0: 2e62 7569 6c74 696e 2e73 7973 7465 6d64 .builtin.systemd │ │ │ -0017e500: 3a0a 2020 2020 2020 6e61 6d65 3a20 6372 :. name: cr │ │ │ -0017e510: 6f6e 0a20 2020 2020 2065 6e61 626c 6564 on. enabled │ │ │ -0017e520: 3a20 7472 7565 0a20 2020 2020 2073 7461 : true. sta │ │ │ -0017e530: 7465 3a20 7374 6172 7465 640a 2020 2020 te: started. │ │ │ -0017e540: 2020 6d61 736b 6564 3a20 6661 6c73 650a masked: false. │ │ │ -0017e550: 2020 2020 7768 656e 3a0a 2020 2020 2d20 when:. - │ │ │ -0017e560: 2722 6372 6f6e 2220 696e 2061 6e73 6962 '"cron" in ansib │ │ │ -0017e570: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package │ │ │ -0017e580: 7327 0a20 2077 6865 6e3a 2027 226c 696e s'. when: '"lin │ │ │ -0017e590: 7578 2d62 6173 6522 2069 6e20 616e 7369 ux-base" in ansi │ │ │ -0017e5a0: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag │ │ │ -0017e5b0: 6573 270a 2020 7461 6773 3a0a 2020 2d20 es'. tags:. - │ │ │ -0017e5c0: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6 │ │ │ -0017e5d0: 2861 290a 2020 2d20 656e 6162 6c65 5f73 (a). - enable_s │ │ │ -0017e5e0: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_ │ │ │ -0017e5f0: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l │ │ │ -0017e600: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption. │ │ │ -0017e610: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit │ │ │ -0017e620: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_ │ │ │ -0017e630: 6e65 6564 6564 0a20 202d 2073 6572 7669 needed. - servi │ │ │ -0017e640: 6365 5f63 726f 6e5f 656e 6162 6c65 640a ce_cron_enabled. │ │ │ +0017de30: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ +0017de40: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...

Complexity: │ │ │ +0017df20: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +0017df30: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ +0017df80: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ +0017df90: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ +0017dfa0: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ +0017dfb0: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ +0017dfc0: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ +0017dfd0: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ +0017dfe0: 2861 290a 2020 2d20 656e 6162 6c65 5f73  (a).  - enable_s
│ │ │ +0017dff0: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ +0017e000: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ +0017e010: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ +0017e020: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ +0017e030: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ +0017e040: 6e65 6564 6564 0a20 202d 2073 6572 7669  needed.  - servi
│ │ │ +0017e050: 6365 5f63 726f 6e5f 656e 6162 6c65 640a  ce_cron_enabled.
│ │ │ +0017e060: 0a2d 206e 616d 653a 2045 6e61 626c 6520  .- name: Enable 
│ │ │ +0017e070: 6372 6f6e 2053 6572 7669 6365 202d 2045  cron Service - E
│ │ │ +0017e080: 6e61 626c 6520 7365 7276 6963 6520 6372  nable service cr
│ │ │ +0017e090: 6f6e 0a20 2062 6c6f 636b 3a0a 0a20 202d  on.  block:..  -
│ │ │ +0017e0a0: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ +0017e0b0: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ +0017e0c0: 2020 2020 7061 636b 6167 655f 6661 6374      package_fact
│ │ │ +0017e0d0: 733a 0a20 2020 2020 206d 616e 6167 6572  s:.      manager
│ │ │ +0017e0e0: 3a20 6175 746f 0a0a 2020 2d20 6e61 6d65  : auto..  - name
│ │ │ +0017e0f0: 3a20 456e 6162 6c65 2063 726f 6e20 5365  : Enable cron Se
│ │ │ +0017e100: 7276 6963 6520 2d20 456e 6162 6c65 2053  rvice - Enable S
│ │ │ +0017e110: 6572 7669 6365 2063 726f 6e0a 2020 2020  ervice cron.    
│ │ │ +0017e120: 616e 7369 626c 652e 6275 696c 7469 6e2e  ansible.builtin.
│ │ │ +0017e130: 7379 7374 656d 643a 0a20 2020 2020 206e  systemd:.      n
│ │ │ +0017e140: 616d 653a 2063 726f 6e0a 2020 2020 2020  ame: cron.      
│ │ │ +0017e150: 656e 6162 6c65 643a 2074 7275 650a 2020  enabled: true.  
│ │ │ +0017e160: 2020 2020 7374 6174 653a 2073 7461 7274      state: start
│ │ │ +0017e170: 6564 0a20 2020 2020 206d 6173 6b65 643a  ed.      masked:
│ │ │ +0017e180: 2066 616c 7365 0a20 2020 2077 6865 6e3a   false.    when:
│ │ │ +0017e190: 0a20 2020 202d 2027 2263 726f 6e22 2069  .    - '"cron" i
│ │ │ +0017e1a0: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +0017e1b0: 7061 636b 6167 6573 270a 2020 7768 656e  packages'.  when
│ │ │ +0017e1c0: 3a20 2722 6c69 6e75 782d 6261 7365 2220  : '"linux-base" 
│ │ │ +0017e1d0: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +0017e1e0: 2e70 6163 6b61 6765 7327 0a20 2074 6167  .packages'.  tag
│ │ │ +0017e1f0: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +0017e200: 3533 2d43 4d2d 3628 6129 0a20 202d 2065  53-CM-6(a).  - e
│ │ │ +0017e210: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ +0017e220: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +0017e230: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +0017e240: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +0017e250: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +0017e260: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +0017e270: 2d20 7365 7276 6963 655f 6372 6f6e 5f65  - service_cron_e
│ │ │ +0017e280: 6e61 626c 6564 0a3c 2f63 6f64 653e 3c2f  nabled.Remedi
│ │ │ +0017e340: 6174 696f 6e20 5075 7070 6574 2073 6e69  ation Puppet sni
│ │ │ +0017e350: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e  ppet ...
│ │ │ +0017e360: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
low
Disru │ │ │ +0017df00: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +0017df10: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +0017df50: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ +0017df60: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Com │ │ │ +0017e3e0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +0017e410: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +0017e430: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +0017e440: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +0017e460: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ +0017e480: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +0017e490: 6465 2065 6e61 626c 655f 6372 6f6e 0a0a  de enable_cron..
│ │ │ +0017e4a0: 636c 6173 7320 656e 6162 6c65 5f63 726f  class enable_cro
│ │ │ +0017e4b0: 6e20 7b0a 2020 7365 7276 6963 6520 7b27  n {.  service {'
│ │ │ +0017e4c0: 6372 6f6e 273a 0a20 2020 2065 6e61 626c  cron':.    enabl
│ │ │ +0017e4d0: 6520 3d26 6774 3b20 7472 7565 2c0a 2020  e => true,.  
│ │ │ +0017e4e0: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ +0017e4f0: 7275 6e6e 696e 6727 2c0a 2020 7d0a 7d0a  running',.  }.}.
│ │ │ +0017e500: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation O │ │ │ +0017e5c0: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint │ │ │ +0017e5d0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +0017e5e0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.[customizatio
│ │ │ +0017e630: 6e73 2e73 6572 7669 6365 735d 0a65 6e61  ns.services].ena
│ │ │ +0017e640: 626c 6564 203d 205b 2263 726f 6e22 5d0a  bled = ["cron"].
│ │ │  0017e650: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation Pup │ │ │ -00198df0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ -00198e00: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -00198e80: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -00198ea0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -00198ef0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -00198f20: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -00198e90: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -00198eb0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -00198f00: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -00198f10: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ -00198f40: 655f 6e69 730a 0a63 6c61 7373 2072 656d  e_nis..class rem
│ │ │ -00198f50: 6f76 655f 6e69 7320 7b0a 2020 7061 636b  ove_nis {.  pack
│ │ │ -00198f60: 6167 6520 7b20 276e 6973 273a 0a20 2020  age { 'nis':.   
│ │ │ -00198f70: 2065 6e73 7572 6520 3d26 6774 3b20 2770   ensure => 'p
│ │ │ -00198f80: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f  urged',.  }.}.
Remediation Ans │ │ │ -00199050: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -00199060: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ -001990f0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -00199110: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ -00199130: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ -00199160: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -00199170: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Ensu
│ │ │ -001991a0: 7265 206e 6973 2069 7320 7265 6d6f 7665  re nis is remove
│ │ │ -001991b0: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ -001991c0: 206e 616d 653a 206e 6973 0a20 2020 2073   name: nis.    s
│ │ │ -001991d0: 7461 7465 3a20 6162 7365 6e74 0a20 2074  tate: absent.  t
│ │ │ -001991e0: 6167 733a 0a20 202d 2064 6973 6162 6c65  ags:.  - disable
│ │ │ -001991f0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ -00199200: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -00199210: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -00199220: 2020 2d20 6c6f 775f 7365 7665 7269 7479    - low_severity
│ │ │ -00199230: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ -00199240: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ -00199250: 655f 6e69 735f 7265 6d6f 7665 640a 3c2f  e_nis_removed.Remediation Ans
│ │ │ +00198df0: 6962 6c65 2073 6e69 7070 6574 20e2 87b2  ible snippet ...
│ │ │ +00198e00: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61  
Complexity: │ │ │ +00198e90: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +00198eb0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +00198ed0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +00198f00: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +00198f10: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Ensu
│ │ │ +00198f40: 7265 206e 6973 2069 7320 7265 6d6f 7665  re nis is remove
│ │ │ +00198f50: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ +00198f60: 206e 616d 653a 206e 6973 0a20 2020 2073   name: nis.    s
│ │ │ +00198f70: 7461 7465 3a20 6162 7365 6e74 0a20 2074  tate: absent.  t
│ │ │ +00198f80: 6167 733a 0a20 202d 2064 6973 6162 6c65  ags:.  - disable
│ │ │ +00198f90: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ +00198fa0: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ +00198fb0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ +00198fc0: 2020 2d20 6c6f 775f 7365 7665 7269 7479    - low_severity
│ │ │ +00198fd0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +00198fe0: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ +00198ff0: 655f 6e69 735f 7265 6d6f 7665 640a 3c2f  e_nis_removed.
Remediation Pup │ │ │ +001990c0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ +001990d0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ +00199150: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +00199170: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +001991c0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ +001991f0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ +00199160: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +00199180: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +001991d0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ +001991e0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ +00199210: 655f 6e69 730a 0a63 6c61 7373 2072 656d  e_nis..class rem
│ │ │ +00199220: 6f76 655f 6e69 7320 7b0a 2020 7061 636b  ove_nis {.  pack
│ │ │ +00199230: 6167 6520 7b20 276e 6973 273a 0a20 2020  age { 'nis':.   
│ │ │ +00199240: 2065 6e73 7572 6520 3d26 6774 3b20 2770   ensure => 'p
│ │ │ +00199250: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f  urged',.  }.}.
Remediatio │ │ │ -0019adb0: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ -0019adc0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -0019ae00: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -0019ae10: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -0019ae20: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -0019ae30: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -0019ae40: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -0019ae50: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -0019ae60: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -0019aea0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -0019aeb0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -0019aed0: 3c74 643e 6469 7361 626c 653c 2f74 643e disable │ │ │ -0019aee0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 include │ │ │ -0019af00: 7265 6d6f 7665 5f69 7363 2d64 6863 702d remove_isc-dhcp- │ │ │ -0019af10: 7365 7276 6572 0a0a 636c 6173 7320 7265 server..class re │ │ │ -0019af20: 6d6f 7665 5f69 7363 2d64 6863 702d 7365 move_isc-dhcp-se │ │ │ -0019af30: 7276 6572 207b 0a20 2070 6163 6b61 6765 rver {. package │ │ │ -0019af40: 207b 2027 6973 632d 6468 6370 2d73 6572 { 'isc-dhcp-ser │ │ │ -0019af50: 7665 7227 3a0a 2020 2020 656e 7375 7265 ver':. ensure │ │ │ -0019af60: 203d 2667 743b 2027 7075 7267 6564 272c => 'purged', │ │ │ -0019af70: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.
Remedi │ │ │ -0019b030: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn │ │ │ -0019b040: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -0019b0f0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -0019b140: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ -0019b180: 616d 653a 2045 6e73 7572 6520 6973 632d  ame: Ensure isc-
│ │ │ -0019b190: 6468 6370 2d73 6572 7665 7220 6973 2072  dhcp-server is r
│ │ │ -0019b1a0: 656d 6f76 6564 0a20 2070 6163 6b61 6765  emoved.  package
│ │ │ -0019b1b0: 3a0a 2020 2020 6e61 6d65 3a20 6973 632d  :.    name: isc-
│ │ │ -0019b1c0: 6468 6370 2d73 6572 7665 720a 2020 2020  dhcp-server.    
│ │ │ -0019b1d0: 7374 6174 653a 2061 6273 656e 740a 2020  state: absent.  
│ │ │ -0019b1e0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ -0019b1f0: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ -0019b200: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -0019b210: 2d37 2861 290a 2020 2d20 4e49 5354 2d38  -7(a).  - NIST-8
│ │ │ -0019b220: 3030 2d35 332d 434d 2d37 2862 290a 2020  00-53-CM-7(b).  
│ │ │ -0019b230: 2d20 5043 492d 4453 5376 342d 322e 320a  - PCI-DSSv4-2.2.
│ │ │ -0019b240: 2020 2d20 5043 492d 4453 5376 342d 322e    - PCI-DSSv4-2.
│ │ │ -0019b250: 322e 340a 2020 2d20 6469 7361 626c 655f  2.4.  - disable_
│ │ │ -0019b260: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -0019b270: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -0019b280: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -0019b290: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ -0019b2a0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -0019b2b0: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ -0019b2c0: 6167 655f 6468 6370 5f72 656d 6f76 6564  age_dhcp_removed
│ │ │ +0019adb0: 6e20 416e 7369 626c 6520 736e 6970 7065  n Ansible snippe
│ │ │ +0019adc0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469  t ...
│ │ │ +0019ae00: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
Co │ │ │ -0019b0d0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -0019b100: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -0019b120: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -0019b130: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -0019b150: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -0019b160: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
< │ │ │ +0019ae70: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +0019ae90: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +0019aec0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ +0019ae50: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +0019ae60: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +0019aea0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +0019aeb0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

- name: │ │ │ +0019af00: 2045 6e73 7572 6520 6973 632d 6468 6370 Ensure isc-dhcp │ │ │ +0019af10: 2d73 6572 7665 7220 6973 2072 656d 6f76 -server is remov │ │ │ +0019af20: 6564 0a20 2070 6163 6b61 6765 3a0a 2020 ed. package:. │ │ │ +0019af30: 2020 6e61 6d65 3a20 6973 632d 6468 6370 name: isc-dhcp │ │ │ +0019af40: 2d73 6572 7665 720a 2020 2020 7374 6174 -server. stat │ │ │ +0019af50: 653a 2061 6273 656e 740a 2020 7461 6773 e: absent. tags │ │ │ +0019af60: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35 :. - NIST-800-5 │ │ │ +0019af70: 332d 434d 2d36 2861 290a 2020 2d20 4e49 3-CM-6(a). - NI │ │ │ +0019af80: 5354 2d38 3030 2d35 332d 434d 2d37 2861 ST-800-53-CM-7(a │ │ │ +0019af90: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5 │ │ │ +0019afa0: 332d 434d 2d37 2862 290a 2020 2d20 5043 3-CM-7(b). - PC │ │ │ +0019afb0: 492d 4453 5376 342d 322e 320a 2020 2d20 I-DSSv4-2.2. - │ │ │ +0019afc0: 5043 492d 4453 5376 342d 322e 322e 340a PCI-DSSv4-2.2.4. │ │ │ +0019afd0: 2020 2d20 6469 7361 626c 655f 7374 7261 - disable_stra │ │ │ +0019afe0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com │ │ │ +0019aff0: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_ │ │ │ +0019b000: 6469 7372 7570 7469 6f6e 0a20 202d 206d disruption. - m │ │ │ +0019b010: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity. │ │ │ +0019b020: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee │ │ │ +0019b030: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_ │ │ │ +0019b040: 6468 6370 5f72 656d 6f76 6564 0a3c 2f63 dhcp_removed.

│ │ │ +0019b060: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +0019b100: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ +0019b110: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
< │ │ │ +0019b1a0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +0019b1c0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +0019b210: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +0019b240: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include remove
│ │ │ +0019b260: 5f69 7363 2d64 6863 702d 7365 7276 6572  _isc-dhcp-server
│ │ │ +0019b270: 0a0a 636c 6173 7320 7265 6d6f 7665 5f69  ..class remove_i
│ │ │ +0019b280: 7363 2d64 6863 702d 7365 7276 6572 207b  sc-dhcp-server {
│ │ │ +0019b290: 0a20 2070 6163 6b61 6765 207b 2027 6973  .  package { 'is
│ │ │ +0019b2a0: 632d 6468 6370 2d73 6572 7665 7227 3a0a  c-dhcp-server':.
│ │ │ +0019b2b0: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +0019b2c0: 2027 7075 7267 6564 272c 0a20 207d 0a7d   'purged',.  }.}
│ │ │  0019b2d0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation P │ │ │ -0019cc10: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ -0019cc20: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ -0019cce0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -0019ccf0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
low
Disr │ │ │ +0019b1d0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +0019b1e0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +0019b220: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +0019b230: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
Complexity │ │ │ -0019ccb0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ -0019ccd0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ -0019cd00: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ -0019cd20: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ -0019cd50: 636f 6465 3e69 6e63 6c75 6465 2072 656d  code>include rem
│ │ │ -0019cd60: 6f76 655f 6269 6e64 390a 0a63 6c61 7373  ove_bind9..class
│ │ │ -0019cd70: 2072 656d 6f76 655f 6269 6e64 3920 7b0a   remove_bind9 {.
│ │ │ -0019cd80: 2020 7061 636b 6167 6520 7b20 2762 696e    package { 'bin
│ │ │ -0019cd90: 6439 273a 0a20 2020 2065 6e73 7572 6520  d9':.    ensure 
│ │ │ -0019cda0: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ -0019cdb0: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ -0019ce70: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ -0019ce80: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -0019ce90: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -0019cf10: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -0019cf40: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -0019cf60: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -0019cf70: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -0019cf90: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -0019cfa0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -0019cfc0: 6d65 3a20 456e 7375 7265 2062 696e 6439  me: Ensure bind9
│ │ │ -0019cfd0: 2069 7320 7265 6d6f 7665 640a 2020 7061   is removed.  pa
│ │ │ -0019cfe0: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ -0019cff0: 2062 696e 6439 0a20 2020 2073 7461 7465   bind9.    state
│ │ │ -0019d000: 3a20 6162 7365 6e74 0a20 2074 6167 733a  : absent.  tags:
│ │ │ -0019d010: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -0019d020: 2d43 4d2d 3628 6129 0a20 202d 204e 4953  -CM-6(a).  - NIS
│ │ │ -0019d030: 542d 3830 302d 3533 2d43 4d2d 3728 6129  T-800-53-CM-7(a)
│ │ │ -0019d040: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -0019d050: 2d43 4d2d 3728 6229 0a20 202d 2064 6973  -CM-7(b).  - dis
│ │ │ -0019d060: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -0019d070: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -0019d080: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -0019d090: 696f 6e0a 2020 2d20 6c6f 775f 7365 7665  ion.  - low_seve
│ │ │ -0019d0a0: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -0019d0b0: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ -0019d0c0: 636b 6167 655f 6269 6e64 5f72 656d 6f76  ckage_bind_remov
│ │ │ -0019d0d0: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e  ed.
│ │ │ +0019cc00: 2122 3e52 656d 6564 6961 7469 6f6e 2041 !">Remediation A │ │ │ +0019cc10: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet . │ │ │ +0019cc20: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ +0019cca0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +0019ccb0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +0019ccd0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +0019cce0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +0019cd00: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +0019cd20: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ +0019cd50: 3c63 6f64 653e 2d20 6e61 6d65 3a20 456e  - name: En
│ │ │ +0019cd60: 7375 7265 2062 696e 6439 2069 7320 7265  sure bind9 is re
│ │ │ +0019cd70: 6d6f 7665 640a 2020 7061 636b 6167 653a  moved.  package:
│ │ │ +0019cd80: 0a20 2020 206e 616d 653a 2062 696e 6439  .    name: bind9
│ │ │ +0019cd90: 0a20 2020 2073 7461 7465 3a20 6162 7365  .    state: abse
│ │ │ +0019cda0: 6e74 0a20 2074 6167 733a 0a20 202d 204e  nt.  tags:.  - N
│ │ │ +0019cdb0: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ +0019cdc0: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ +0019cdd0: 3533 2d43 4d2d 3728 6129 0a20 202d 204e  53-CM-7(a).  - N
│ │ │ +0019cde0: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ +0019cdf0: 6229 0a20 202d 2064 6973 6162 6c65 5f73  b).  - disable_s
│ │ │ +0019ce00: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ +0019ce10: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ +0019ce20: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ +0019ce30: 2d20 6c6f 775f 7365 7665 7269 7479 0a20  - low_severity. 
│ │ │ +0019ce40: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +0019ce50: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ +0019ce60: 6269 6e64 5f72 656d 6f76 6564 0a3c 2f63  bind_removed.
│ │ │ +0019ce80: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +0019cf20: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ +0019cf30: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
< │ │ │ +0019cfc0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +0019cfe0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +0019d030: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +0019d060: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include remove
│ │ │ +0019d080: 5f62 696e 6439 0a0a 636c 6173 7320 7265  _bind9..class re
│ │ │ +0019d090: 6d6f 7665 5f62 696e 6439 207b 0a20 2070  move_bind9 {.  p
│ │ │ +0019d0a0: 6163 6b61 6765 207b 2027 6269 6e64 3927  ackage { 'bind9'
│ │ │ +0019d0b0: 3a0a 2020 2020 656e 7375 7265 203d 2667  :.    ensure =&g
│ │ │ +0019d0c0: 743b 2027 7075 7267 6564 272c 0a20 207d  t; 'purged',.  }
│ │ │ +0019d0d0: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ 0019d0e0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediati │ │ │ -0019eb10: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -0019eb20: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -0019eb60: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
low
Disr │ │ │ +0019cff0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +0019d000: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +0019d040: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +0019d050: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
< │ │ │ -0019ebd0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -0019ebf0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -0019ec20: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -0019ebb0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -0019ebc0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -0019ec00: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -0019ec10: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ -0019ec60: 2072 656d 6f76 655f 7673 6674 7064 0a0a remove_vsftpd.. │ │ │ -0019ec70: 636c 6173 7320 7265 6d6f 7665 5f76 7366 class remove_vsf │ │ │ -0019ec80: 7470 6420 7b0a 2020 7061 636b 6167 6520 tpd {. package │ │ │ -0019ec90: 7b20 2776 7366 7470 6427 3a0a 2020 2020 { 'vsftpd':. │ │ │ -0019eca0: 656e 7375 7265 203d 2667 743b 2027 7075 ensure => 'pu │ │ │ -0019ecb0: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63 rged',. }.}.

│ │ │ -0019ecd0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ -0019ed70: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi │ │ │ -0019ed80: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...< │ │ │ -0019ed90: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -0019ee10: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -0019ee30: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -0019ee80: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -0019eeb0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -0019ee20: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -0019ee40: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -0019ee90: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -0019eea0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
- name: Ensur
│ │ │ -0019eed0: 6520 7673 6674 7064 2069 7320 7265 6d6f  e vsftpd is remo
│ │ │ -0019eee0: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ -0019eef0: 2020 206e 616d 653a 2076 7366 7470 640a     name: vsftpd.
│ │ │ -0019ef00: 2020 2020 7374 6174 653a 2061 6273 656e      state: absen
│ │ │ -0019ef10: 740a 2020 7461 6773 3a0a 2020 2d20 4e49  t.  tags:.  - NI
│ │ │ -0019ef20: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ -0019ef30: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -0019ef40: 332d 434d 2d37 0a20 202d 204e 4953 542d  3-CM-7.  - NIST-
│ │ │ -0019ef50: 3830 302d 3533 2d43 4d2d 3728 6129 0a20  800-53-CM-7(a). 
│ │ │ -0019ef60: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -0019ef70: 4d2d 3728 6229 0a20 202d 204e 4953 542d  M-7(b).  - NIST-
│ │ │ -0019ef80: 3830 302d 3533 2d43 4d2d 372e 3128 6969  800-53-CM-7.1(ii
│ │ │ -0019ef90: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -0019efa0: 332d 4941 2d35 2831 2928 6329 0a20 202d  3-IA-5(1)(c).  -
│ │ │ -0019efb0: 204e 4953 542d 3830 302d 3533 2d49 412d   NIST-800-53-IA-
│ │ │ -0019efc0: 3528 3129 2e31 2876 290a 2020 2d20 6469  5(1).1(v).  - di
│ │ │ -0019efd0: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ -0019efe0: 202d 2068 6967 685f 7365 7665 7269 7479   - high_severity
│ │ │ -0019eff0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -0019f000: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -0019f010: 7570 7469 6f6e 0a20 202d 206e 6f5f 7265  uption.  - no_re
│ │ │ -0019f020: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -0019f030: 7061 636b 6167 655f 7673 6674 7064 5f72  package_vsftpd_r
│ │ │ -0019f040: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f  emoved.
│ │ │ +0019ebd0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +0019ebf0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +0019ec20: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +0019ebb0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +0019ebc0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +0019ebe0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +0019ec00: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +0019ec10: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +0019ec50: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +0019ec60: 3a20 456e 7375 7265 2076 7366 7470 6420 : Ensure vsftpd │ │ │ +0019ec70: 6973 2072 656d 6f76 6564 0a20 2070 6163 is removed. pac │ │ │ +0019ec80: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20 kage:. name: │ │ │ +0019ec90: 7673 6674 7064 0a20 2020 2073 7461 7465 vsftpd. state │ │ │ +0019eca0: 3a20 6162 7365 6e74 0a20 2074 6167 733a : absent. tags: │ │ │ +0019ecb0: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53 │ │ │ +0019ecc0: 2d43 4d2d 3628 6129 0a20 202d 204e 4953 -CM-6(a). - NIS │ │ │ +0019ecd0: 542d 3830 302d 3533 2d43 4d2d 370a 2020 T-800-53-CM-7. │ │ │ +0019ece0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM │ │ │ +0019ecf0: 2d37 2861 290a 2020 2d20 4e49 5354 2d38 -7(a). - NIST-8 │ │ │ +0019ed00: 3030 2d35 332d 434d 2d37 2862 290a 2020 00-53-CM-7(b). │ │ │ +0019ed10: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM │ │ │ +0019ed20: 2d37 2e31 2869 6929 0a20 202d 204e 4953 -7.1(ii). - NIS │ │ │ +0019ed30: 542d 3830 302d 3533 2d49 412d 3528 3129 T-800-53-IA-5(1) │ │ │ +0019ed40: 2863 290a 2020 2d20 4e49 5354 2d38 3030 (c). - NIST-800 │ │ │ +0019ed50: 2d35 332d 4941 2d35 2831 292e 3128 7629 -53-IA-5(1).1(v) │ │ │ +0019ed60: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str │ │ │ +0019ed70: 6174 6567 790a 2020 2d20 6869 6768 5f73 ategy. - high_s │ │ │ +0019ed80: 6576 6572 6974 790a 2020 2d20 6c6f 775f everity. - low_ │ │ │ +0019ed90: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l │ │ │ +0019eda0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption. │ │ │ +0019edb0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need │ │ │ +0019edc0: 6564 0a20 202d 2070 6163 6b61 6765 5f76 ed. - package_v │ │ │ +0019edd0: 7366 7470 645f 7265 6d6f 7665 640a 3c2f sftpd_removed.
Remediation Pup │ │ │ +0019eea0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ +0019eeb0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ +0019ef30: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +0019ef50: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +0019efa0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ +0019efd0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ +0019ef40: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +0019ef60: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +0019efb0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ +0019efc0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ +0019eff0: 655f 7673 6674 7064 0a0a 636c 6173 7320  e_vsftpd..class 
│ │ │ +0019f000: 7265 6d6f 7665 5f76 7366 7470 6420 7b0a  remove_vsftpd {.
│ │ │ +0019f010: 2020 7061 636b 6167 6520 7b20 2776 7366    package { 'vsf
│ │ │ +0019f020: 7470 6427 3a0a 2020 2020 656e 7375 7265  tpd':.    ensure
│ │ │ +0019f030: 203d 2667 743b 2027 7075 7267 6564 272c   => 'purged',
│ │ │ +0019f040: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.
Remediat │ │ │ -001a0980: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ -001a0990: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001a0a40: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -001a0a60: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -001a0a90: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -001a0a20: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -001a0a30: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -001a0a50: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -001a0a70: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -001a0a80: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -001a0ac0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ -001a0ad0: 6520 7265 6d6f 7665 5f61 7061 6368 6532 e remove_apache2 │ │ │ -001a0ae0: 0a0a 636c 6173 7320 7265 6d6f 7665 5f61 ..class remove_a │ │ │ -001a0af0: 7061 6368 6532 207b 0a20 2070 6163 6b61 pache2 {. packa │ │ │ -001a0b00: 6765 207b 2027 6170 6163 6865 3227 3a0a ge { 'apache2':. │ │ │ -001a0b10: 2020 2020 656e 7375 7265 203d 2667 743b ensure => │ │ │ -001a0b20: 2027 7075 7267 6564 272c 0a20 207d 0a7d 'purged',. }.} │ │ │ -001a0b30: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .Remediation │ │ │ -001a0bf0: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -001a0c00: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001a0c80: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -001a0c90: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -001a0ca0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -001a0ce0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -001a0cf0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -001a0d10: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -001a0d20: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: E
│ │ │ -001a0d40: 6e73 7572 6520 6170 6163 6865 3220 6973  nsure apache2 is
│ │ │ -001a0d50: 2072 656d 6f76 6564 0a20 2070 6163 6b61   removed.  packa
│ │ │ -001a0d60: 6765 3a0a 2020 2020 6e61 6d65 3a20 6170  ge:.    name: ap
│ │ │ -001a0d70: 6163 6865 320a 2020 2020 7374 6174 653a  ache2.    state:
│ │ │ -001a0d80: 2061 6273 656e 740a 2020 7461 6773 3a0a   absent.  tags:.
│ │ │ -001a0d90: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -001a0da0: 434d 2d36 2861 290a 2020 2d20 4e49 5354  CM-6(a).  - NIST
│ │ │ -001a0db0: 2d38 3030 2d35 332d 434d 2d37 2861 290a  -800-53-CM-7(a).
│ │ │ -001a0dc0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -001a0dd0: 434d 2d37 2862 290a 2020 2d20 6469 7361  CM-7(b).  - disa
│ │ │ -001a0de0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -001a0df0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -001a0e00: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -001a0e10: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74  on.  - no_reboot
│ │ │ -001a0e20: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ -001a0e30: 6167 655f 6874 7470 645f 7265 6d6f 7665  age_httpd_remove
│ │ │ -001a0e40: 640a 2020 2d20 756e 6b6e 6f77 6e5f 7365  d.  - unknown_se
│ │ │ -001a0e50: 7665 7269 7479 0a3c 2f63 6f64 653e 3c2f  verity.
< │ │ │ +001a09a0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001a09b0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001a09c0: 7365 2220 6964 3d22 6964 6d32 3336 3736 se" id="idm23676 │ │ │ +001a09d0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ +001a0a20: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +001a0a30: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +001a0a50: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +001a0a70: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +001a0a80: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +001a0ac0: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ +001a0ad0: 653a 2045 6e73 7572 6520 6170 6163 6865  e: Ensure apache
│ │ │ +001a0ae0: 3220 6973 2072 656d 6f76 6564 0a20 2070  2 is removed.  p
│ │ │ +001a0af0: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65  ackage:.    name
│ │ │ +001a0b00: 3a20 6170 6163 6865 320a 2020 2020 7374  : apache2.    st
│ │ │ +001a0b10: 6174 653a 2061 6273 656e 740a 2020 7461  ate: absent.  ta
│ │ │ +001a0b20: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030  gs:.  - NIST-800
│ │ │ +001a0b30: 2d35 332d 434d 2d36 2861 290a 2020 2d20  -53-CM-6(a).  - 
│ │ │ +001a0b40: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ +001a0b50: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ +001a0b60: 2d35 332d 434d 2d37 2862 290a 2020 2d20  -53-CM-7(b).  - 
│ │ │ +001a0b70: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ +001a0b80: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +001a0b90: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +001a0ba0: 7570 7469 6f6e 0a20 202d 206e 6f5f 7265  uption.  - no_re
│ │ │ +001a0bb0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +001a0bc0: 7061 636b 6167 655f 6874 7470 645f 7265  package_httpd_re
│ │ │ +001a0bd0: 6d6f 7665 640a 2020 2d20 756e 6b6e 6f77  moved.  - unknow
│ │ │ +001a0be0: 6e5f 7365 7665 7269 7479 0a3c 2f63 6f64  n_severity.
Re │ │ │ +001a0ca0: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ +001a0cb0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +001a0cc0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ +001a0d90: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +001a0da0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +001a0df0: 696e 636c 7564 6520 7265 6d6f 7665 5f61  include remove_a
│ │ │ +001a0e00: 7061 6368 6532 0a0a 636c 6173 7320 7265  pache2..class re
│ │ │ +001a0e10: 6d6f 7665 5f61 7061 6368 6532 207b 0a20  move_apache2 {. 
│ │ │ +001a0e20: 2070 6163 6b61 6765 207b 2027 6170 6163   package { 'apac
│ │ │ +001a0e30: 6865 3227 3a0a 2020 2020 656e 7375 7265  he2':.    ensure
│ │ │ +001a0e40: 203d 2667 743b 2027 7075 7267 6564 272c   => 'purged',
│ │ │ +001a0e50: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.Remediation P
│ │ │ -001a2210: 7570 7065 7420 736e 6970 7065 7420 e287  uppet snippet ..
│ │ │ -001a2220: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c  .
< │ │ │ -001a22e0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001a22f0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
Complexity:low
Disrup │ │ │ +001a0d70: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +001a0d80: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +001a0dc0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +001a0dd0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity │ │ │ -001a22b0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ -001a22d0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ -001a2300: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ -001a2320: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ -001a2350: 636f 6465 3e69 6e63 6c75 6465 2072 656d  code>include rem
│ │ │ -001a2360: 6f76 655f 6e67 696e 780a 0a63 6c61 7373  ove_nginx..class
│ │ │ -001a2370: 2072 656d 6f76 655f 6e67 696e 7820 7b0a   remove_nginx {.
│ │ │ -001a2380: 2020 7061 636b 6167 6520 7b20 276e 6769    package { 'ngi
│ │ │ -001a2390: 6e78 273a 0a20 2020 2065 6e73 7572 6520  nx':.    ensure 
│ │ │ -001a23a0: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ -001a23b0: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ -001a2470: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ -001a2480: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001a2490: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -001a2510: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -001a2540: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -001a2560: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -001a2570: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -001a2590: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -001a25a0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -001a25c0: 6d65 3a20 456e 7375 7265 206e 6769 6e78  me: Ensure nginx
│ │ │ -001a25d0: 2069 7320 7265 6d6f 7665 640a 2020 7061   is removed.  pa
│ │ │ -001a25e0: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ -001a25f0: 206e 6769 6e78 0a20 2020 2073 7461 7465   nginx.    state
│ │ │ -001a2600: 3a20 6162 7365 6e74 0a20 2074 6167 733a  : absent.  tags:
│ │ │ -001a2610: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -001a2620: 2d43 4d2d 3628 6129 0a20 202d 204e 4953  -CM-6(a).  - NIS
│ │ │ -001a2630: 542d 3830 302d 3533 2d43 4d2d 3728 6129  T-800-53-CM-7(a)
│ │ │ -001a2640: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -001a2650: 2d43 4d2d 3728 6229 0a20 202d 2064 6973  -CM-7(b).  - dis
│ │ │ -001a2660: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -001a2670: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -001a2680: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -001a2690: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f  ion.  - no_reboo
│ │ │ -001a26a0: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ -001a26b0: 6b61 6765 5f6e 6769 6e78 5f72 656d 6f76  kage_nginx_remov
│ │ │ -001a26c0: 6564 0a20 202d 2075 6e6b 6e6f 776e 5f73  ed.  - unknown_s
│ │ │ -001a26d0: 6576 6572 6974 790a 3c2f 636f 6465 3e3c  everity.<
│ │ │ +001a2200: 2122 3e52 656d 6564 6961 7469 6f6e 2041  !">Remediation A
│ │ │ +001a2210: 6e73 6962 6c65 2073 6e69 7070 6574 20e2  nsible snippet .
│ │ │ +001a2220: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063  ..
< │ │ │ +001a22a0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +001a22b0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +001a22d0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +001a22e0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +001a2300: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +001a2320: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ +001a2350: 3c63 6f64 653e 2d20 6e61 6d65 3a20 456e  - name: En
│ │ │ +001a2360: 7375 7265 206e 6769 6e78 2069 7320 7265  sure nginx is re
│ │ │ +001a2370: 6d6f 7665 640a 2020 7061 636b 6167 653a  moved.  package:
│ │ │ +001a2380: 0a20 2020 206e 616d 653a 206e 6769 6e78  .    name: nginx
│ │ │ +001a2390: 0a20 2020 2073 7461 7465 3a20 6162 7365  .    state: abse
│ │ │ +001a23a0: 6e74 0a20 2074 6167 733a 0a20 202d 204e  nt.  tags:.  - N
│ │ │ +001a23b0: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ +001a23c0: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ +001a23d0: 3533 2d43 4d2d 3728 6129 0a20 202d 204e  53-CM-7(a).  - N
│ │ │ +001a23e0: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ +001a23f0: 6229 0a20 202d 2064 6973 6162 6c65 5f73  b).  - disable_s
│ │ │ +001a2400: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ +001a2410: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ +001a2420: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ +001a2430: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +001a2440: 6564 0a20 202d 2070 6163 6b61 6765 5f6e  ed.  - package_n
│ │ │ +001a2450: 6769 6e78 5f72 656d 6f76 6564 0a20 202d  ginx_removed.  -
│ │ │ +001a2460: 2075 6e6b 6e6f 776e 5f73 6576 6572 6974   unknown_severit
│ │ │ +001a2470: 790a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  y.
< │ │ │ +001a2480: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +001a2530: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +001a2540: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +001a25c0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +001a25d0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +001a25e0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +001a2620: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +001a2630: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +001a2650: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +001a2660: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include r
│ │ │ +001a2680: 656d 6f76 655f 6e67 696e 780a 0a63 6c61  emove_nginx..cla
│ │ │ +001a2690: 7373 2072 656d 6f76 655f 6e67 696e 7820  ss remove_nginx 
│ │ │ +001a26a0: 7b0a 2020 7061 636b 6167 6520 7b20 276e  {.  package { 'n
│ │ │ +001a26b0: 6769 6e78 273a 0a20 2020 2065 6e73 7572  ginx':.    ensur
│ │ │ +001a26c0: 6520 3d26 6774 3b20 2770 7572 6765 6427  e => 'purged'
│ │ │ +001a26d0: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │  001a26e0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remediation P │ │ │ -001a3990: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ -001a39a0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ -001a3a30: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -001a3a50: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -001a3a60: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001a3a70: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -001a3a80: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -001a3aa0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ -001a3ad0: 636f 6465 3e69 6e63 6c75 6465 2072 656d  code>include rem
│ │ │ -001a3ae0: 6f76 655f 6379 7275 732d 696d 6170 640a  ove_cyrus-imapd.
│ │ │ -001a3af0: 0a63 6c61 7373 2072 656d 6f76 655f 6379  .class remove_cy
│ │ │ -001a3b00: 7275 732d 696d 6170 6420 7b0a 2020 7061  rus-imapd {.  pa
│ │ │ -001a3b10: 636b 6167 6520 7b20 2763 7972 7573 2d69  ckage { 'cyrus-i
│ │ │ -001a3b20: 6d61 7064 273a 0a20 2020 2065 6e73 7572  mapd':.    ensur
│ │ │ -001a3b30: 6520 3d26 6774 3b20 2770 7572 6765 6427  e => 'purged'
│ │ │ -001a3b40: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ -001a3b50: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remed │ │ │ -001a3c00: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s │ │ │ -001a3c10: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -001a3cb0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001a3cc0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -001a3d10: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ -001a3d50: 6e61 6d65 3a20 456e 7375 7265 2063 7972  name: Ensure cyr
│ │ │ -001a3d60: 7573 2d69 6d61 7064 2069 7320 7265 6d6f  us-imapd is remo
│ │ │ -001a3d70: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ -001a3d80: 2020 206e 616d 653a 2063 7972 7573 2d69     name: cyrus-i
│ │ │ -001a3d90: 6d61 7064 0a20 2020 2073 7461 7465 3a20  mapd.    state: 
│ │ │ -001a3da0: 6162 7365 6e74 0a20 2074 6167 733a 0a20  absent.  tags:. 
│ │ │ -001a3db0: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ -001a3dc0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -001a3dd0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -001a3de0: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f  isruption.  - no
│ │ │ -001a3df0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -001a3e00: 202d 2070 6163 6b61 6765 5f63 7972 7573   - package_cyrus
│ │ │ -001a3e10: 2d69 6d61 7064 5f72 656d 6f76 6564 0a20  -imapd_removed. 
│ │ │ -001a3e20: 202d 2075 6e6b 6e6f 776e 5f73 6576 6572   - unknown_sever
│ │ │ -001a3e30: 6974 790a 3c2f 636f 6465 3e3c 2f70 7265  ity.
Remediation A │ │ │ +001a3990: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet . │ │ │ +001a39a0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ +001a3a20: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ +001a3a60: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 disable
C │ │ │ -001a3ca0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -001a3cd0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -001a3ce0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -001a3d20: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -001a3d30: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexit │ │ │ +001a3a30: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ +001a3a50: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ +001a3a80: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +001a3aa0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
│ │ │ +001a3ad0: 3c63 6f64 653e 2d20 6e61 6d65 3a20 456e  - name: En
│ │ │ +001a3ae0: 7375 7265 2063 7972 7573 2d69 6d61 7064  sure cyrus-imapd
│ │ │ +001a3af0: 2069 7320 7265 6d6f 7665 640a 2020 7061   is removed.  pa
│ │ │ +001a3b00: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ +001a3b10: 2063 7972 7573 2d69 6d61 7064 0a20 2020   cyrus-imapd.   
│ │ │ +001a3b20: 2073 7461 7465 3a20 6162 7365 6e74 0a20   state: absent. 
│ │ │ +001a3b30: 2074 6167 733a 0a20 202d 2064 6973 6162   tags:.  - disab
│ │ │ +001a3b40: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +001a3b50: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +001a3b60: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +001a3b70: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f  n.  - no_reboot_
│ │ │ +001a3b80: 6e65 6564 6564 0a20 202d 2070 6163 6b61  needed.  - packa
│ │ │ +001a3b90: 6765 5f63 7972 7573 2d69 6d61 7064 5f72  ge_cyrus-imapd_r
│ │ │ +001a3ba0: 656d 6f76 6564 0a20 202d 2075 6e6b 6e6f  emoved.  - unkno
│ │ │ +001a3bb0: 776e 5f73 6576 6572 6974 790a 3c2f 636f  wn_severity.
< │ │ │ +001a3bd0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +001a3be0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +001a3bf0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +001a3c00: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +001a3c10: 646d 3233 3737 3822 2074 6162 696e 6465 dm23778" tabinde │ │ │ +001a3c20: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +001a3c30: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +001a3c40: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +001a3c50: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +001a3c60: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +001a3c70: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +001a3c80: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity: │ │ │ +001a3d60: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +001a3d70: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ +001a3dd0: 6379 7275 732d 696d 6170 640a 0a63 6c61  cyrus-imapd..cla
│ │ │ +001a3de0: 7373 2072 656d 6f76 655f 6379 7275 732d  ss remove_cyrus-
│ │ │ +001a3df0: 696d 6170 6420 7b0a 2020 7061 636b 6167  imapd {.  packag
│ │ │ +001a3e00: 6520 7b20 2763 7972 7573 2d69 6d61 7064  e { 'cyrus-imapd
│ │ │ +001a3e10: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ +001a3e20: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ +001a3e30: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ -001a4cf0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -001a4d00: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -001a4d40: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
low
Disru │ │ │ +001a3d40: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +001a3d50: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +001a3d90: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +001a3da0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
< │ │ │ -001a4db0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -001a4dd0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -001a4e00: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -001a4d90: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -001a4da0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -001a4de0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -001a4df0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ -001a4e40: 2072 656d 6f76 655f 646f 7665 636f 742d remove_dovecot- │ │ │ -001a4e50: 636f 7265 0a0a 636c 6173 7320 7265 6d6f core..class remo │ │ │ -001a4e60: 7665 5f64 6f76 6563 6f74 2d63 6f72 6520 ve_dovecot-core │ │ │ -001a4e70: 7b0a 2020 7061 636b 6167 6520 7b20 2764 {. package { 'd │ │ │ -001a4e80: 6f76 6563 6f74 2d63 6f72 6527 3a0a 2020 ovecot-core':. │ │ │ -001a4e90: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => ' │ │ │ -001a4ea0: 7075 7267 6564 272c 0a20 207d 0a7d 0a3c purged',. }.}.< │ │ │ -001a4eb0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>

Remediation An │ │ │ -001a4f70: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -001a4f80: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ -001a5010: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -001a5030: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -001a5040: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001a5050: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -001a5060: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -001a5080: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ -001a50b0: 636f 6465 3e2d 206e 616d 653a 2045 6e73  code>- name: Ens
│ │ │ -001a50c0: 7572 6520 646f 7665 636f 742d 636f 7265  ure dovecot-core
│ │ │ -001a50d0: 2069 7320 7265 6d6f 7665 640a 2020 7061   is removed.  pa
│ │ │ -001a50e0: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ -001a50f0: 2064 6f76 6563 6f74 2d63 6f72 650a 2020   dovecot-core.  
│ │ │ -001a5100: 2020 7374 6174 653a 2061 6273 656e 740a    state: absent.
│ │ │ -001a5110: 2020 7461 6773 3a0a 2020 2d20 6469 7361    tags:.  - disa
│ │ │ -001a5120: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -001a5130: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -001a5140: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -001a5150: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74  on.  - no_reboot
│ │ │ -001a5160: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ -001a5170: 6167 655f 646f 7665 636f 745f 7265 6d6f  age_dovecot_remo
│ │ │ -001a5180: 7665 640a 2020 2d20 756e 6b6e 6f77 6e5f  ved.  - unknown_
│ │ │ -001a5190: 7365 7665 7269 7479 0a3c 2f63 6f64 653e  severity.
│ │ │ +001a4cf0: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070  on Ansible snipp
│ │ │ +001a4d00: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64  et ...
│ │ │ +001a4db0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +001a4dd0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +001a4e00: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +001a4d90: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +001a4da0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +001a4dc0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +001a4de0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +001a4df0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +001a4e30: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +001a4e40: 3a20 456e 7375 7265 2064 6f76 6563 6f74 : Ensure dovecot │ │ │ +001a4e50: 2d63 6f72 6520 6973 2072 656d 6f76 6564 -core is removed │ │ │ +001a4e60: 0a20 2070 6163 6b61 6765 3a0a 2020 2020 . package:. │ │ │ +001a4e70: 6e61 6d65 3a20 646f 7665 636f 742d 636f name: dovecot-co │ │ │ +001a4e80: 7265 0a20 2020 2073 7461 7465 3a20 6162 re. state: ab │ │ │ +001a4e90: 7365 6e74 0a20 2074 6167 733a 0a20 202d sent. tags:. - │ │ │ +001a4ea0: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg │ │ │ +001a4eb0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple │ │ │ +001a4ec0: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis │ │ │ +001a4ed0: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72 ruption. - no_r │ │ │ +001a4ee0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. - │ │ │ +001a4ef0: 2070 6163 6b61 6765 5f64 6f76 6563 6f74 package_dovecot │ │ │ +001a4f00: 5f72 656d 6f76 6564 0a20 202d 2075 6e6b _removed. - unk │ │ │ +001a4f10: 6e6f 776e 5f73 6576 6572 6974 790a 3c2f nown_severity.
Remediation Pup │ │ │ +001a4fe0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ +001a4ff0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ +001a5070: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +001a5090: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +001a50e0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ +001a5110: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ +001a5080: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +001a50a0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +001a50f0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ +001a5100: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ +001a5130: 655f 646f 7665 636f 742d 636f 7265 0a0a  e_dovecot-core..
│ │ │ +001a5140: 636c 6173 7320 7265 6d6f 7665 5f64 6f76  class remove_dov
│ │ │ +001a5150: 6563 6f74 2d63 6f72 6520 7b0a 2020 7061  ecot-core {.  pa
│ │ │ +001a5160: 636b 6167 6520 7b20 2764 6f76 6563 6f74  ckage { 'dovecot
│ │ │ +001a5170: 2d63 6f72 6527 3a0a 2020 2020 656e 7375  -core':.    ensu
│ │ │ +001a5180: 7265 203d 2667 743b 2027 7075 7267 6564  re => 'purged
│ │ │ +001a5190: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │  001a51a0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Remediati │ │ │ -001a6820: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -001a6830: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -001a6870: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -001a68e0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -001a6900: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -001a6930: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -001a68c0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -001a68d0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -001a6910: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -001a6920: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ -001a6970: 2072 656d 6f76 655f 6c64 6170 2d75 7469 remove_ldap-uti │ │ │ -001a6980: 6c73 0a0a 636c 6173 7320 7265 6d6f 7665 ls..class remove │ │ │ -001a6990: 5f6c 6461 702d 7574 696c 7320 7b0a 2020 _ldap-utils {. │ │ │ -001a69a0: 7061 636b 6167 6520 7b20 276c 6461 702d package { 'ldap- │ │ │ -001a69b0: 7574 696c 7327 3a0a 2020 2020 656e 7375 utils':. ensu │ │ │ -001a69c0: 7265 203d 2667 743b 2027 7075 7267 6564 re => 'purged │ │ │ -001a69d0: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e ',. }.}. │ │ │ -001a69e0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063

Reme │ │ │ -001a6a90: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible │ │ │ -001a6aa0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -001a6ab0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ -001a6b40: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
-
│ │ │ -001a6be0: 206e 616d 653a 2045 6e73 7572 6520 6c64   name: Ensure ld
│ │ │ -001a6bf0: 6170 2d75 7469 6c73 2069 7320 7265 6d6f  ap-utils is remo
│ │ │ -001a6c00: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ -001a6c10: 2020 206e 616d 653a 206c 6461 702d 7574     name: ldap-ut
│ │ │ -001a6c20: 696c 730a 2020 2020 7374 6174 653a 2061  ils.    state: a
│ │ │ -001a6c30: 6273 656e 740a 2020 7461 6773 3a0a 2020  bsent.  tags:.  
│ │ │ -001a6c40: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ -001a6c50: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ -001a6c60: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -001a6c70: 7372 7570 7469 6f6e 0a20 202d 206c 6f77  sruption.  - low
│ │ │ -001a6c80: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -001a6c90: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -001a6ca0: 202d 2070 6163 6b61 6765 5f6f 7065 6e6c   - package_openl
│ │ │ -001a6cb0: 6461 702d 636c 6965 6e74 735f 7265 6d6f  dap-clients_remo
│ │ │ -001a6cc0: 7665 640a 3c2f 636f 6465 3e3c 2f70 7265  ved.

│ │ │ -001a6b30: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -001a6b60: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -001a6b70: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -001a6bb0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ -001a6bc0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
│ │ │ +001a68e0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +001a6900: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +001a6930: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +001a68c0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +001a68d0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +001a68f0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +001a6910: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +001a6920: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +001a6960: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +001a6970: 3a20 456e 7375 7265 206c 6461 702d 7574 : Ensure ldap-ut │ │ │ +001a6980: 696c 7320 6973 2072 656d 6f76 6564 0a20 ils is removed. │ │ │ +001a6990: 2070 6163 6b61 6765 3a0a 2020 2020 6e61 package:. na │ │ │ +001a69a0: 6d65 3a20 6c64 6170 2d75 7469 6c73 0a20 me: ldap-utils. │ │ │ +001a69b0: 2020 2073 7461 7465 3a20 6162 7365 6e74 state: absent │ │ │ +001a69c0: 0a20 2074 6167 733a 0a20 202d 2064 6973 . tags:. - dis │ │ │ +001a69d0: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy. │ │ │ +001a69e0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity │ │ │ +001a69f0: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt │ │ │ +001a6a00: 696f 6e0a 2020 2d20 6c6f 775f 7365 7665 ion. - low_seve │ │ │ +001a6a10: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo │ │ │ +001a6a20: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa │ │ │ +001a6a30: 636b 6167 655f 6f70 656e 6c64 6170 2d63 ckage_openldap-c │ │ │ +001a6a40: 6c69 656e 7473 5f72 656d 6f76 6564 0a3c lients_removed.< │ │ │ +001a6a50: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>Remediation Pu │ │ │ +001a6b10: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ +001a6b20: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ +001a6bb0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +001a6bd0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +001a6bf0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +001a6c20: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +001a6c30: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
include remo
│ │ │ +001a6c60: 7665 5f6c 6461 702d 7574 696c 730a 0a63  ve_ldap-utils..c
│ │ │ +001a6c70: 6c61 7373 2072 656d 6f76 655f 6c64 6170  lass remove_ldap
│ │ │ +001a6c80: 2d75 7469 6c73 207b 0a20 2070 6163 6b61  -utils {.  packa
│ │ │ +001a6c90: 6765 207b 2027 6c64 6170 2d75 7469 6c73  ge { 'ldap-utils
│ │ │ +001a6ca0: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ +001a6cb0: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ +001a6cc0: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remedia │ │ │ -001a8220: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ -001a8230: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -001a8240: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -001a8250: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -001a8260: 7365 2220 6964 3d22 6964 6d32 3338 3939 se" id="idm23899 │ │ │ -001a8270: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ -001a82c0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -001a82d0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -001a82f0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -001a8310: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -001a8320: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ -001a8360: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -001a8370: 6465 2072 656d 6f76 655f 736c 6170 640a  de remove_slapd.
│ │ │ -001a8380: 0a63 6c61 7373 2072 656d 6f76 655f 736c  .class remove_sl
│ │ │ -001a8390: 6170 6420 7b0a 2020 7061 636b 6167 6520  apd {.  package 
│ │ │ -001a83a0: 7b20 2773 6c61 7064 273a 0a20 2020 2065  { 'slapd':.    e
│ │ │ -001a83b0: 6e73 7572 6520 3d26 6774 3b20 2770 7572  nsure => 'pur
│ │ │ -001a83c0: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ged',.  }.}.
< │ │ │ -001a83e0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -001a83f0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -001a8400: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -001a8410: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -001a8420: 646d 3233 3930 3022 2074 6162 696e 6465 dm23900" tabinde │ │ │ -001a8430: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -001a8440: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -001a8450: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -001a8460: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -001a8470: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -001a8480: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ -001a8490: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
< │ │ │ -001a8520: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -001a8540: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -001a8590: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ -001a85c0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Ensure
│ │ │ -001a85e0: 2073 6c61 7064 2069 7320 7265 6d6f 7665   slapd is remove
│ │ │ -001a85f0: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ -001a8600: 206e 616d 653a 2073 6c61 7064 0a20 2020   name: slapd.   
│ │ │ -001a8610: 2073 7461 7465 3a20 6162 7365 6e74 0a20   state: absent. 
│ │ │ -001a8620: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ -001a8630: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ -001a8640: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -001a8650: 4d2d 3728 6129 0a20 202d 204e 4953 542d  M-7(a).  - NIST-
│ │ │ -001a8660: 3830 302d 3533 2d43 4d2d 3728 6229 0a20  800-53-CM-7(b). 
│ │ │ -001a8670: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ -001a8680: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -001a8690: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -001a86a0: 6973 7275 7074 696f 6e0a 2020 2d20 6c6f  isruption.  - lo
│ │ │ -001a86b0: 775f 7365 7665 7269 7479 0a20 202d 206e  w_severity.  - n
│ │ │ -001a86c0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -001a86d0: 2020 2d20 7061 636b 6167 655f 6f70 656e    - package_open
│ │ │ -001a86e0: 6c64 6170 2d73 6572 7665 7273 5f72 656d  ldap-servers_rem
│ │ │ -001a86f0: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072  oved.
│ │ │ +001a8240: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
low
Disr │ │ │ -001a8550: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -001a8560: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -001a85a0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ -001a85b0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
Com │ │ │ +001a82c0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +001a82f0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +001a8310: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +001a8320: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +001a8340: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +001a8350: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +001a8370: 6d65 3a20 456e 7375 7265 2073 6c61 7064  me: Ensure slapd
│ │ │ +001a8380: 2069 7320 7265 6d6f 7665 640a 2020 7061   is removed.  pa
│ │ │ +001a8390: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ +001a83a0: 2073 6c61 7064 0a20 2020 2073 7461 7465   slapd.    state
│ │ │ +001a83b0: 3a20 6162 7365 6e74 0a20 2074 6167 733a  : absent.  tags:
│ │ │ +001a83c0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +001a83d0: 2d43 4d2d 3628 6129 0a20 202d 204e 4953  -CM-6(a).  - NIS
│ │ │ +001a83e0: 542d 3830 302d 3533 2d43 4d2d 3728 6129  T-800-53-CM-7(a)
│ │ │ +001a83f0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +001a8400: 2d43 4d2d 3728 6229 0a20 202d 2064 6973  -CM-7(b).  - dis
│ │ │ +001a8410: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +001a8420: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +001a8430: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +001a8440: 696f 6e0a 2020 2d20 6c6f 775f 7365 7665  ion.  - low_seve
│ │ │ +001a8450: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +001a8460: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ +001a8470: 636b 6167 655f 6f70 656e 6c64 6170 2d73  ckage_openldap-s
│ │ │ +001a8480: 6572 7665 7273 5f72 656d 6f76 6564 0a3c  ervers_removed.<
│ │ │ +001a8490: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ +001a8550: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ +001a8560: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ +001a85f0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +001a8610: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +001a8630: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +001a8660: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +001a8670: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
include remo
│ │ │ +001a86a0: 7665 5f73 6c61 7064 0a0a 636c 6173 7320  ve_slapd..class 
│ │ │ +001a86b0: 7265 6d6f 7665 5f73 6c61 7064 207b 0a20  remove_slapd {. 
│ │ │ +001a86c0: 2070 6163 6b61 6765 207b 2027 736c 6170   package { 'slap
│ │ │ +001a86d0: 6427 3a0a 2020 2020 656e 7375 7265 203d  d':.    ensure =
│ │ │ +001a86e0: 2667 743b 2027 7075 7267 6564 272c 0a20  > 'purged',. 
│ │ │ +001a86f0: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.
Remediation Pu │ │ │ -001acb10: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ -001acb20: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ -001acbb0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -001acbd0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ -001acbf0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ -001acc20: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -001acc30: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
include remo
│ │ │ -001acc60: 7665 5f72 7063 6269 6e64 0a0a 636c 6173  ve_rpcbind..clas
│ │ │ -001acc70: 7320 7265 6d6f 7665 5f72 7063 6269 6e64  s remove_rpcbind
│ │ │ -001acc80: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ -001acc90: 7270 6362 696e 6427 3a0a 2020 2020 656e  rpcbind':.    en
│ │ │ -001acca0: 7375 7265 203d 2667 743b 2027 7075 7267  sure => 'purg
│ │ │ -001accb0: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ed',.  }.}.
Re │ │ │ -001acd70: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -001acd80: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
Complexity: │ │ │ -001ace60: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -001ace70: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
- name: Gather 
│ │ │ -001aced0: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ -001acee0: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ -001acef0: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ -001acf00: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ -001acf10: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ -001acf20: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -001acf30: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -001acf40: 7275 7074 696f 6e0a 2020 2d20 6c6f 775f  ruption.  - low_
│ │ │ -001acf50: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -001acf60: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -001acf70: 2d20 7061 636b 6167 655f 7270 6362 696e  - package_rpcbin
│ │ │ -001acf80: 645f 7265 6d6f 7665 640a 0a2d 206e 616d  d_removed..- nam
│ │ │ -001acf90: 653a 2045 6e73 7572 6520 7270 6362 696e  e: Ensure rpcbin
│ │ │ -001acfa0: 6420 6973 2072 656d 6f76 6564 0a20 2070  d is removed.  p
│ │ │ -001acfb0: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65  ackage:.    name
│ │ │ -001acfc0: 3a20 7270 6362 696e 640a 2020 2020 7374  : rpcbind.    st
│ │ │ -001acfd0: 6174 653a 2061 6273 656e 740a 2020 7768  ate: absent.  wh
│ │ │ -001acfe0: 656e 3a20 2722 6c69 6e75 782d 6261 7365  en: '"linux-base
│ │ │ -001acff0: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ -001ad000: 7473 2e70 6163 6b61 6765 7327 0a20 2074  ts.packages'.  t
│ │ │ -001ad010: 6167 733a 0a20 202d 2064 6973 6162 6c65  ags:.  - disable
│ │ │ -001ad020: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ -001ad030: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -001ad040: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -001ad050: 2020 2d20 6c6f 775f 7365 7665 7269 7479    - low_severity
│ │ │ -001ad060: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ -001ad070: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ -001ad080: 655f 7270 6362 696e 645f 7265 6d6f 7665  e_rpcbind_remove
│ │ │ -001ad090: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +001acb00: 223e 5265 6d65 6469 6174 696f 6e20 416e ">Remediation An │ │ │ +001acb10: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ +001acb20: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ +001acbe0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001acbf0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
low
Disru │ │ │ -001ace40: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -001ace50: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -001ace90: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ -001acea0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complexity │ │ │ +001acbb0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ +001acbd0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ +001acc00: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ +001acc20: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ +001acc50: 636f 6465 3e2d 206e 616d 653a 2047 6174  code>- name: Gat
│ │ │ +001acc60: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ +001acc70: 6661 6374 730a 2020 7061 636b 6167 655f  facts.  package_
│ │ │ +001acc80: 6661 6374 733a 0a20 2020 206d 616e 6167  facts:.    manag
│ │ │ +001acc90: 6572 3a20 6175 746f 0a20 2074 6167 733a  er: auto.  tags:
│ │ │ +001acca0: 0a20 202d 2064 6973 6162 6c65 5f73 7472  .  - disable_str
│ │ │ +001accb0: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ +001accc0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +001accd0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +001acce0: 6c6f 775f 7365 7665 7269 7479 0a20 202d  low_severity.  -
│ │ │ +001accf0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +001acd00: 640a 2020 2d20 7061 636b 6167 655f 7270  d.  - package_rp
│ │ │ +001acd10: 6362 696e 645f 7265 6d6f 7665 640a 0a2d  cbind_removed..-
│ │ │ +001acd20: 206e 616d 653a 2045 6e73 7572 6520 7270   name: Ensure rp
│ │ │ +001acd30: 6362 696e 6420 6973 2072 656d 6f76 6564  cbind is removed
│ │ │ +001acd40: 0a20 2070 6163 6b61 6765 3a0a 2020 2020  .  package:.    
│ │ │ +001acd50: 6e61 6d65 3a20 7270 6362 696e 640a 2020  name: rpcbind.  
│ │ │ +001acd60: 2020 7374 6174 653a 2061 6273 656e 740a    state: absent.
│ │ │ +001acd70: 2020 7768 656e 3a20 2722 6c69 6e75 782d    when: '"linux-
│ │ │ +001acd80: 6261 7365 2220 696e 2061 6e73 6962 6c65  base" in ansible
│ │ │ +001acd90: 5f66 6163 7473 2e70 6163 6b61 6765 7327  _facts.packages'
│ │ │ +001acda0: 0a20 2074 6167 733a 0a20 202d 2064 6973  .  tags:.  - dis
│ │ │ +001acdb0: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +001acdc0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +001acdd0: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +001acde0: 696f 6e0a 2020 2d20 6c6f 775f 7365 7665  ion.  - low_seve
│ │ │ +001acdf0: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +001ace00: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ +001ace10: 636b 6167 655f 7270 6362 696e 645f 7265  ckage_rpcbind_re
│ │ │ +001ace20: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70  moved.

Remedia │ │ │ +001acee0: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ +001acef0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +001acf00: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001acf10: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001acf20: 7365 2220 6964 3d22 6964 6d32 3431 3537 se" id="idm24157 │ │ │ +001acf30: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ +001acf80: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +001acf90: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +001acfb0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +001acfd0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +001acfe0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +001ad020: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +001ad030: 6465 2072 656d 6f76 655f 7270 6362 696e  de remove_rpcbin
│ │ │ +001ad040: 640a 0a63 6c61 7373 2072 656d 6f76 655f  d..class remove_
│ │ │ +001ad050: 7270 6362 696e 6420 7b0a 2020 7061 636b  rpcbind {.  pack
│ │ │ +001ad060: 6167 6520 7b20 2772 7063 6269 6e64 273a  age { 'rpcbind':
│ │ │ +001ad070: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ +001ad080: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a  ; 'purged',.  }.
│ │ │ +001ad090: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ 001ad0a0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remedi │ │ │ -001adcf0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ -001add00: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001add10: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -001add90: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -001addc0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -001adde0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -001addf0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -001ade10: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -001ade20: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -001ade40: 7564 6520 7265 6d6f 7665 5f6e 6673 2d6b  ude remove_nfs-k
│ │ │ -001ade50: 6572 6e65 6c2d 7365 7276 6572 0a0a 636c  ernel-server..cl
│ │ │ -001ade60: 6173 7320 7265 6d6f 7665 5f6e 6673 2d6b  ass remove_nfs-k
│ │ │ -001ade70: 6572 6e65 6c2d 7365 7276 6572 207b 0a20  ernel-server {. 
│ │ │ -001ade80: 2070 6163 6b61 6765 207b 2027 6e66 732d   package { 'nfs-
│ │ │ -001ade90: 6b65 726e 656c 2d73 6572 7665 7227 3a0a  kernel-server':.
│ │ │ -001adea0: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -001adeb0: 2027 7075 7267 6564 272c 0a20 207d 0a7d   'purged',.  }.}
│ │ │ -001adec0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -001adf80: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -001adf90: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001ae010: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -001ae020: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -001ae030: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -001ae070: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -001ae080: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -001ae0a0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -001ae0b0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: E
│ │ │ -001ae0d0: 6e73 7572 6520 6e66 732d 6b65 726e 656c  nsure nfs-kernel
│ │ │ -001ae0e0: 2d73 6572 7665 7220 6973 2072 656d 6f76  -server is remov
│ │ │ -001ae0f0: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ -001ae100: 2020 6e61 6d65 3a20 6e66 732d 6b65 726e    name: nfs-kern
│ │ │ -001ae110: 656c 2d73 6572 7665 720a 2020 2020 7374  el-server.    st
│ │ │ -001ae120: 6174 653a 2061 6273 656e 740a 2020 7461  ate: absent.  ta
│ │ │ -001ae130: 6773 3a0a 2020 2d20 6469 7361 626c 655f  gs:.  - disable_
│ │ │ -001ae140: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -001ae150: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -001ae160: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -001ae170: 202d 206c 6f77 5f73 6576 6572 6974 790a   - low_severity.
│ │ │ -001ae180: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -001ae190: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -001ae1a0: 5f6e 6673 2d6b 6572 6e65 6c2d 7365 7276  _nfs-kernel-serv
│ │ │ -001ae1b0: 6572 5f72 656d 6f76 6564 0a3c 2f63 6f64  er_removed.
low< │ │ │ +001addb0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +001ade00: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ +001ade40: 616d 653a 2045 6e73 7572 6520 6e66 732d  ame: Ensure nfs-
│ │ │ +001ade50: 6b65 726e 656c 2d73 6572 7665 7220 6973  kernel-server is
│ │ │ +001ade60: 2072 656d 6f76 6564 0a20 2070 6163 6b61   removed.  packa
│ │ │ +001ade70: 6765 3a0a 2020 2020 6e61 6d65 3a20 6e66  ge:.    name: nf
│ │ │ +001ade80: 732d 6b65 726e 656c 2d73 6572 7665 720a  s-kernel-server.
│ │ │ +001ade90: 2020 2020 7374 6174 653a 2061 6273 656e      state: absen
│ │ │ +001adea0: 740a 2020 7461 6773 3a0a 2020 2d20 6469  t.  tags:.  - di
│ │ │ +001adeb0: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ +001adec0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +001aded0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +001adee0: 7469 6f6e 0a20 202d 206c 6f77 5f73 6576  tion.  - low_sev
│ │ │ +001adef0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +001adf00: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ +001adf10: 6163 6b61 6765 5f6e 6673 2d6b 6572 6e65  ackage_nfs-kerne
│ │ │ +001adf20: 6c2d 7365 7276 6572 5f72 656d 6f76 6564  l-server_removed
│ │ │ +001adf30: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +001adff0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +001ae000: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ +001ae080: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ +001ae0c0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 disable
Co │ │ │ +001add90: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +001addc0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +001adde0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +001addf0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +001ade10: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +001ade20: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complexit │ │ │ +001ae090: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ +001ae0b0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ +001ae0e0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +001ae100: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
│ │ │ +001ae130: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ +001ae140: 6d6f 7665 5f6e 6673 2d6b 6572 6e65 6c2d  move_nfs-kernel-
│ │ │ +001ae150: 7365 7276 6572 0a0a 636c 6173 7320 7265  server..class re
│ │ │ +001ae160: 6d6f 7665 5f6e 6673 2d6b 6572 6e65 6c2d  move_nfs-kernel-
│ │ │ +001ae170: 7365 7276 6572 207b 0a20 2070 6163 6b61  server {.  packa
│ │ │ +001ae180: 6765 207b 2027 6e66 732d 6b65 726e 656c  ge { 'nfs-kernel
│ │ │ +001ae190: 2d73 6572 7665 7227 3a0a 2020 2020 656e  -server':.    en
│ │ │ +001ae1a0: 7375 7265 203d 2667 743b 2027 7075 7267  sure => 'purg
│ │ │ +001ae1b0: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ed',.  }.}.
Remed │ │ │ -001b02a0: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B │ │ │ -001b02b0: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet │ │ │ -001b02c0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -001b0300: 7072 653e 3c63 6f64 653e 0a5b 5b70 6163 pre>.[[pac │ │ │ -001b0310: 6b61 6765 735d 5d0a 6e61 6d65 203d 2022 kages]].name = " │ │ │ -001b0320: 6368 726f 6e79 220a 7665 7273 696f 6e20 chrony".version │ │ │ -001b0330: 3d20 222a 220a 3c2f 636f 6465 3e3c 2f70 = "*".

Remedia │ │ │ -001b03f0: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ -001b0400: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -001b0410: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -001b0420: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -001b0430: 7365 2220 6964 3d22 6964 6d32 3432 3532 se" id="idm24252 │ │ │ -001b0440: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ -001b0490: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -001b04a0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -001b04c0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -001b04e0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -001b04f0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ -001b0530: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ -001b0540: 6520 696e 7374 616c 6c5f 6368 726f 6e79 e install_chrony │ │ │ -001b0550: 0a0a 636c 6173 7320 696e 7374 616c 6c5f ..class install_ │ │ │ -001b0560: 6368 726f 6e79 207b 0a20 2070 6163 6b61 chrony {. packa │ │ │ -001b0570: 6765 207b 2027 6368 726f 6e79 273a 0a20 ge { 'chrony':. │ │ │ -001b0580: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure => │ │ │ -001b0590: 2769 6e73 7461 6c6c 6564 272c 0a20 207d 'installed',. } │ │ │ -001b05a0: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}.
│ │ │ -001b05b0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ -001b0660: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ -001b0670: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -001b06b0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -001b0720: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -001b0740: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -001b0770: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -001b0790: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -001b0700: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -001b0710: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -001b0750: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -001b0760: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
- name: │ │ │ -001b07b0: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ -001b07c0: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ -001b07d0: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ -001b07e0: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ -001b07f0: 6773 3a0a 2020 2d20 4449 5341 2d53 5449 gs:. - DISA-STI │ │ │ -001b0800: 472d 5542 5455 2d32 302d 3031 3034 3335 G-UBTU-20-010435 │ │ │ -001b0810: 0a20 202d 2050 4349 2d44 5353 2d52 6571 . - PCI-DSS-Req │ │ │ -001b0820: 2d31 302e 340a 2020 2d20 5043 492d 4453 -10.4. - PCI-DS │ │ │ -001b0830: 5376 342d 3130 2e36 0a20 202d 2050 4349 Sv4-10.6. - PCI │ │ │ -001b0840: 2d44 5353 7634 2d31 302e 362e 310a 2020 -DSSv4-10.6.1. │ │ │ -001b0850: 2d20 656e 6162 6c65 5f73 7472 6174 6567 - enable_strateg │ │ │ -001b0860: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple │ │ │ -001b0870: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis │ │ │ -001b0880: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi │ │ │ -001b0890: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. - │ │ │ -001b08a0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed │ │ │ -001b08b0: 0a20 202d 2070 6163 6b61 6765 5f63 6872 . - package_chr │ │ │ -001b08c0: 6f6e 795f 696e 7374 616c 6c65 640a 0a2d ony_installed..- │ │ │ -001b08d0: 206e 616d 653a 2045 6e73 7572 6520 6368 name: Ensure ch │ │ │ -001b08e0: 726f 6e79 2069 7320 696e 7374 616c 6c65 rony is installe │ │ │ -001b08f0: 640a 2020 7061 636b 6167 653a 0a20 2020 d. package:. │ │ │ -001b0900: 206e 616d 653a 2063 6872 6f6e 790a 2020 name: chrony. │ │ │ -001b0910: 2020 7374 6174 653a 2070 7265 7365 6e74 state: present │ │ │ -001b0920: 0a20 2077 6865 6e3a 2027 226c 696e 7578 . when: '"linux │ │ │ -001b0930: 2d62 6173 6522 2069 6e20 616e 7369 626c -base" in ansibl │ │ │ -001b0940: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages │ │ │ -001b0950: 270a 2020 7461 6773 3a0a 2020 2d20 4449 '. tags:. - DI │ │ │ -001b0960: 5341 2d53 5449 472d 5542 5455 2d32 302d SA-STIG-UBTU-20- │ │ │ -001b0970: 3031 3034 3335 0a20 202d 2050 4349 2d44 010435. - PCI-D │ │ │ -001b0980: 5353 2d52 6571 2d31 302e 340a 2020 2d20 SS-Req-10.4. - │ │ │ -001b0990: 5043 492d 4453 5376 342d 3130 2e36 0a20 PCI-DSSv4-10.6. │ │ │ -001b09a0: 202d 2050 4349 2d44 5353 7634 2d31 302e - PCI-DSSv4-10. │ │ │ -001b09b0: 362e 310a 2020 2d20 656e 6162 6c65 5f73 6.1. - enable_s │ │ │ -001b09c0: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_ │ │ │ -001b09d0: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l │ │ │ -001b09e0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption. │ │ │ -001b09f0: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit │ │ │ -001b0a00: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_ │ │ │ -001b0a10: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa │ │ │ -001b0a20: 6765 5f63 6872 6f6e 795f 696e 7374 616c ge_chrony_instal │ │ │ -001b0a30: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265 led.
< │ │ │ +001b0350: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001b0360: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +001b03b0: 3c74 723e 3c74 683e 5374 7261 7465 6779
- n
│ │ │ +001b03f0: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ +001b0400: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ +001b0410: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ +001b0420: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ +001b0430: 0a20 2074 6167 733a 0a20 202d 2044 4953  .  tags:.  - DIS
│ │ │ +001b0440: 412d 5354 4947 2d55 4254 552d 3230 2d30  A-STIG-UBTU-20-0
│ │ │ +001b0450: 3130 3433 350a 2020 2d20 5043 492d 4453  10435.  - PCI-DS
│ │ │ +001b0460: 532d 5265 712d 3130 2e34 0a20 202d 2050  S-Req-10.4.  - P
│ │ │ +001b0470: 4349 2d44 5353 7634 2d31 302e 360a 2020  CI-DSSv4-10.6.  
│ │ │ +001b0480: 2d20 5043 492d 4453 5376 342d 3130 2e36  - PCI-DSSv4-10.6
│ │ │ +001b0490: 2e31 0a20 202d 2065 6e61 626c 655f 7374  .1.  - enable_st
│ │ │ +001b04a0: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +001b04b0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +001b04c0: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +001b04d0: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ +001b04e0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +001b04f0: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ +001b0500: 655f 6368 726f 6e79 5f69 6e73 7461 6c6c  e_chrony_install
│ │ │ +001b0510: 6564 0a0a 2d20 6e61 6d65 3a20 456e 7375  ed..- name: Ensu
│ │ │ +001b0520: 7265 2063 6872 6f6e 7920 6973 2069 6e73  re chrony is ins
│ │ │ +001b0530: 7461 6c6c 6564 0a20 2070 6163 6b61 6765  talled.  package
│ │ │ +001b0540: 3a0a 2020 2020 6e61 6d65 3a20 6368 726f  :.    name: chro
│ │ │ +001b0550: 6e79 0a20 2020 2073 7461 7465 3a20 7072  ny.    state: pr
│ │ │ +001b0560: 6573 656e 740a 2020 7768 656e 3a20 2722  esent.  when: '"
│ │ │ +001b0570: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ +001b0580: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +001b0590: 6b61 6765 7327 0a20 2074 6167 733a 0a20  kages'.  tags:. 
│ │ │ +001b05a0: 202d 2044 4953 412d 5354 4947 2d55 4254   - DISA-STIG-UBT
│ │ │ +001b05b0: 552d 3230 2d30 3130 3433 350a 2020 2d20  U-20-010435.  - 
│ │ │ +001b05c0: 5043 492d 4453 532d 5265 712d 3130 2e34  PCI-DSS-Req-10.4
│ │ │ +001b05d0: 0a20 202d 2050 4349 2d44 5353 7634 2d31  .  - PCI-DSSv4-1
│ │ │ +001b05e0: 302e 360a 2020 2d20 5043 492d 4453 5376  0.6.  - PCI-DSSv
│ │ │ +001b05f0: 342d 3130 2e36 2e31 0a20 202d 2065 6e61  4-10.6.1.  - ena
│ │ │ +001b0600: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +001b0610: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +001b0620: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +001b0630: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ +001b0640: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +001b0650: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +001b0660: 7061 636b 6167 655f 6368 726f 6e79 5f69  package_chrony_i
│ │ │ +001b0670: 6e73 7461 6c6c 6564 0a3c 2f63 6f64 653e  nstalled.
│ │ │ +001b0680: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ +001b0730: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ +001b0740: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
C │ │ │ +001b0340: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +001b0370: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +001b0380: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +001b03c0: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ +001b03d0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
< │ │ │ +001b07e0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001b07f0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +001b0840: 3c74 723e 3c74 683e 5374 7261 7465 6779
inc
│ │ │ +001b0880: 6c75 6465 2069 6e73 7461 6c6c 5f63 6872  lude install_chr
│ │ │ +001b0890: 6f6e 790a 0a63 6c61 7373 2069 6e73 7461  ony..class insta
│ │ │ +001b08a0: 6c6c 5f63 6872 6f6e 7920 7b0a 2020 7061  ll_chrony {.  pa
│ │ │ +001b08b0: 636b 6167 6520 7b20 2763 6872 6f6e 7927  ckage { 'chrony'
│ │ │ +001b08c0: 3a0a 2020 2020 656e 7375 7265 203d 2667  :.    ensure =&g
│ │ │ +001b08d0: 743b 2027 696e 7374 616c 6c65 6427 2c0a  t; 'installed',.
│ │ │ +001b08e0: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ +001b09a0: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu │ │ │ +001b09b0: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet . │ │ │ +001b09c0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
.[[packa │ │ │ +001b0a10: 6765 735d 5d0a 6e61 6d65 203d 2022 6368 ges]].name = "ch │ │ │ +001b0a20: 726f 6e79 220a 7665 7273 696f 6e20 3d20 rony".version = │ │ │ +001b0a30: 222a 220a 3c2f 636f 6465 3e3c 2f70 7265 "*".
Remedi │ │ │ -001b1840: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl │ │ │ -001b1850: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet │ │ │ -001b1860: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...

.[custo │ │ │ -001b18b0: 6d69 7a61 7469 6f6e 732e 7365 7276 6963 mizations.servic │ │ │ -001b18c0: 6573 5d0a 656e 6162 6c65 6420 3d20 5b22 es].enabled = [" │ │ │ -001b18d0: 6368 726f 6e79 225d 0a3c 2f63 6f64 653e chrony"]. │ │ │ -001b18e0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063

Reme │ │ │ -001b1990: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -001b19a0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
C │ │ │ +001b07d0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +001b0800: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +001b0810: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +001b0850: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ +001b0860: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
< │ │ │ -001b1a40: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001b1a50: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -001b1aa0: 3c74 723e 3c74 683e 5374 7261 7465 6779
inc
│ │ │ -001b1ae0: 6c75 6465 2065 6e61 626c 655f 6368 726f  lude enable_chro
│ │ │ -001b1af0: 6e79 0a0a 636c 6173 7320 656e 6162 6c65  ny..class enable
│ │ │ -001b1b00: 5f63 6872 6f6e 7920 7b0a 2020 7365 7276  _chrony {.  serv
│ │ │ -001b1b10: 6963 6520 7b27 6368 726f 6e79 273a 0a20  ice {'chrony':. 
│ │ │ -001b1b20: 2020 2065 6e61 626c 6520 3d26 6774 3b20     enable => 
│ │ │ -001b1b30: 7472 7565 2c0a 2020 2020 656e 7375 7265  true,.    ensure
│ │ │ -001b1b40: 203d 2667 743b 2027 7275 6e6e 696e 6727   => 'running'
│ │ │ -001b1b50: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ -001b1b60: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remed
│ │ │ -001b1c10: 6961 7469 6f6e 2041 6e73 6962 6c65 2073  iation Ansible s
│ │ │ -001b1c20: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62  nippet ...
C │ │ │ -001b1a30: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -001b1a60: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -001b1a70: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -001b1ab0: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ -001b1ac0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
< │ │ │ -001b1cc0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001b1cd0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -001b1d20: 3c74 723e 3c74 683e 5374 7261 7465 6779
- n
│ │ │ -001b1d60: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ -001b1d70: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ -001b1d80: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ -001b1d90: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ -001b1da0: 0a20 2074 6167 733a 0a20 202d 2065 6e61  .  tags:.  - ena
│ │ │ -001b1db0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -001b1dc0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -001b1dd0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -001b1de0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -001b1df0: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -001b1e00: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -001b1e10: 7365 7276 6963 655f 6368 726f 6e79 645f  service_chronyd_
│ │ │ -001b1e20: 656e 6162 6c65 640a 0a2d 206e 616d 653a  enabled..- name:
│ │ │ -001b1e30: 2054 6865 2043 6872 6f6e 7964 2073 6572   The Chronyd ser
│ │ │ -001b1e40: 7669 6365 2069 7320 656e 6162 6c65 6420  vice is enabled 
│ │ │ -001b1e50: 2d20 456e 6162 6c65 2073 6572 7669 6365  - Enable service
│ │ │ -001b1e60: 2063 6872 6f6e 790a 2020 626c 6f63 6b3a   chrony.  block:
│ │ │ -001b1e70: 0a0a 2020 2d20 6e61 6d65 3a20 4761 7468  ..  - name: Gath
│ │ │ -001b1e80: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ -001b1e90: 6163 7473 0a20 2020 2070 6163 6b61 6765  acts.    package
│ │ │ -001b1ea0: 5f66 6163 7473 3a0a 2020 2020 2020 6d61  _facts:.      ma
│ │ │ -001b1eb0: 6e61 6765 723a 2061 7574 6f0a 0a20 202d  nager: auto..  -
│ │ │ -001b1ec0: 206e 616d 653a 2054 6865 2043 6872 6f6e   name: The Chron
│ │ │ -001b1ed0: 7964 2073 6572 7669 6365 2069 7320 656e  yd service is en
│ │ │ -001b1ee0: 6162 6c65 6420 2d20 456e 6162 6c65 2053  abled - Enable S
│ │ │ -001b1ef0: 6572 7669 6365 2063 6872 6f6e 790a 2020  ervice chrony.  
│ │ │ -001b1f00: 2020 616e 7369 626c 652e 6275 696c 7469    ansible.builti
│ │ │ -001b1f10: 6e2e 7379 7374 656d 643a 0a20 2020 2020  n.systemd:.     
│ │ │ -001b1f20: 206e 616d 653a 2063 6872 6f6e 790a 2020   name: chrony.  
│ │ │ -001b1f30: 2020 2020 656e 6162 6c65 643a 2074 7275      enabled: tru
│ │ │ -001b1f40: 650a 2020 2020 2020 7374 6174 653a 2073  e.      state: s
│ │ │ -001b1f50: 7461 7274 6564 0a20 2020 2020 206d 6173  tarted.      mas
│ │ │ -001b1f60: 6b65 643a 2066 616c 7365 0a20 2020 2077  ked: false.    w
│ │ │ -001b1f70: 6865 6e3a 0a20 2020 202d 2027 2263 6872  hen:.    - '"chr
│ │ │ -001b1f80: 6f6e 7922 2069 6e20 616e 7369 626c 655f  ony" in ansible_
│ │ │ -001b1f90: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -001b1fa0: 2020 7768 656e 3a0a 2020 2d20 2722 6c69    when:.  - '"li
│ │ │ -001b1fb0: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ -001b1fc0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -001b1fd0: 6765 7327 0a20 202d 2027 2263 6872 6f6e  ges'.  - '"chron
│ │ │ -001b1fe0: 7922 2069 6e20 616e 7369 626c 655f 6661  y" in ansible_fa
│ │ │ -001b1ff0: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ -001b2000: 7461 6773 3a0a 2020 2d20 656e 6162 6c65  tags:.  - enable
│ │ │ -001b2010: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ -001b2020: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -001b2030: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -001b2040: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ -001b2050: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ -001b2060: 745f 6e65 6564 6564 0a20 202d 2073 6572  t_needed.  - ser
│ │ │ -001b2070: 7669 6365 5f63 6872 6f6e 7964 5f65 6e61  vice_chronyd_ena
│ │ │ -001b2080: 626c 6564 0a3c 2f63 6f64 653e 3c2f 7072  bled.
C │ │ │ -001b1cb0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -001b1ce0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -001b1cf0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -001b1d30: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ -001b1d40: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
low< │ │ │ +001b1900: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +001b1950: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ +001b18e0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +001b1910: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +001b1930: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +001b1940: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +001b1960: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ +001b1970: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +001b1990: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ +001b19a0: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ +001b19b0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ +001b19c0: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ +001b19d0: 2020 7461 6773 3a0a 2020 2d20 656e 6162    tags:.  - enab
│ │ │ +001b19e0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +001b19f0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +001b1a00: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +001b1a10: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ +001b1a20: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +001b1a30: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ +001b1a40: 6572 7669 6365 5f63 6872 6f6e 7964 5f65  ervice_chronyd_e
│ │ │ +001b1a50: 6e61 626c 6564 0a0a 2d20 6e61 6d65 3a20  nabled..- name: 
│ │ │ +001b1a60: 5468 6520 4368 726f 6e79 6420 7365 7276  The Chronyd serv
│ │ │ +001b1a70: 6963 6520 6973 2065 6e61 626c 6564 202d  ice is enabled -
│ │ │ +001b1a80: 2045 6e61 626c 6520 7365 7276 6963 6520   Enable service 
│ │ │ +001b1a90: 6368 726f 6e79 0a20 2062 6c6f 636b 3a0a  chrony.  block:.
│ │ │ +001b1aa0: 0a20 202d 206e 616d 653a 2047 6174 6865  .  - name: Gathe
│ │ │ +001b1ab0: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ +001b1ac0: 6374 730a 2020 2020 7061 636b 6167 655f  cts.    package_
│ │ │ +001b1ad0: 6661 6374 733a 0a20 2020 2020 206d 616e  facts:.      man
│ │ │ +001b1ae0: 6167 6572 3a20 6175 746f 0a0a 2020 2d20  ager: auto..  - 
│ │ │ +001b1af0: 6e61 6d65 3a20 5468 6520 4368 726f 6e79  name: The Chrony
│ │ │ +001b1b00: 6420 7365 7276 6963 6520 6973 2065 6e61  d service is ena
│ │ │ +001b1b10: 626c 6564 202d 2045 6e61 626c 6520 5365  bled - Enable Se
│ │ │ +001b1b20: 7276 6963 6520 6368 726f 6e79 0a20 2020  rvice chrony.   
│ │ │ +001b1b30: 2061 6e73 6962 6c65 2e62 7569 6c74 696e   ansible.builtin
│ │ │ +001b1b40: 2e73 7973 7465 6d64 3a0a 2020 2020 2020  .systemd:.      
│ │ │ +001b1b50: 6e61 6d65 3a20 6368 726f 6e79 0a20 2020  name: chrony.   
│ │ │ +001b1b60: 2020 2065 6e61 626c 6564 3a20 7472 7565     enabled: true
│ │ │ +001b1b70: 0a20 2020 2020 2073 7461 7465 3a20 7374  .      state: st
│ │ │ +001b1b80: 6172 7465 640a 2020 2020 2020 6d61 736b  arted.      mask
│ │ │ +001b1b90: 6564 3a20 6661 6c73 650a 2020 2020 7768  ed: false.    wh
│ │ │ +001b1ba0: 656e 3a0a 2020 2020 2d20 2722 6368 726f  en:.    - '"chro
│ │ │ +001b1bb0: 6e79 2220 696e 2061 6e73 6962 6c65 5f66  ny" in ansible_f
│ │ │ +001b1bc0: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ +001b1bd0: 2077 6865 6e3a 0a20 202d 2027 226c 696e   when:.  - '"lin
│ │ │ +001b1be0: 7578 2d62 6173 6522 2069 6e20 616e 7369  ux-base" in ansi
│ │ │ +001b1bf0: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ +001b1c00: 6573 270a 2020 2d20 2722 6368 726f 6e79  es'.  - '"chrony
│ │ │ +001b1c10: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ +001b1c20: 7473 2e70 6163 6b61 6765 7327 0a20 2074  ts.packages'.  t
│ │ │ +001b1c30: 6167 733a 0a20 202d 2065 6e61 626c 655f  ags:.  - enable_
│ │ │ +001b1c40: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ +001b1c50: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +001b1c60: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +001b1c70: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ +001b1c80: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ +001b1c90: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ +001b1ca0: 6963 655f 6368 726f 6e79 645f 656e 6162  ice_chronyd_enab
│ │ │ +001b1cb0: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265  led.
Remediati │ │ │ +001b1d70: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ +001b1d80: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +001b1dc0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ +001b1e30: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +001b1e50: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +001b1e80: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ +001b1ea0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ +001b1e10: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +001b1e20: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +001b1e60: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +001b1e70: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ +001b1ec0: 656e 6162 6c65 5f63 6872 6f6e 790a 0a63 enable_chrony..c │ │ │ +001b1ed0: 6c61 7373 2065 6e61 626c 655f 6368 726f lass enable_chro │ │ │ +001b1ee0: 6e79 207b 0a20 2073 6572 7669 6365 207b ny {. service { │ │ │ +001b1ef0: 2763 6872 6f6e 7927 3a0a 2020 2020 656e 'chrony':. en │ │ │ +001b1f00: 6162 6c65 203d 2667 743b 2074 7275 652c able => true, │ │ │ +001b1f10: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure => │ │ │ +001b1f20: 3b20 2772 756e 6e69 6e67 272c 0a20 207d ; 'running',. } │ │ │ +001b1f30: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}. │ │ │ +001b1f40: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ +001b1ff0: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr │ │ │ +001b2000: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...< │ │ │ +001b2010: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
<
│ │ │ +001b2050: 636f 6465 3e0a 5b63 7573 746f 6d69 7a61  code>.[customiza
│ │ │ +001b2060: 7469 6f6e 732e 7365 7276 6963 6573 5d0a  tions.services].
│ │ │ +001b2070: 656e 6162 6c65 6420 3d20 5b22 6368 726f  enabled = ["chro
│ │ │ +001b2080: 6e79 225d 0a3c 2f63 6f64 653e 3c2f 7072  ny"].
Remediati │ │ │ -001b3400: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep │ │ │ -001b3410: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ... │ │ │ -001b3420: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ -001b3460: 3c63 6f64 653e 0a5b 6375 7374 6f6d 697a  .[customiz
│ │ │ -001b3470: 6174 696f 6e73 2e73 6572 7669 6365 735d  ations.services]
│ │ │ -001b3480: 0a65 6e61 626c 6564 203d 205b 226e 7470  .enabled = ["ntp
│ │ │ -001b3490: 225d 0a3c 2f63 6f64 653e 3c2f 7072 653e  "].
│ │ │ -001b34a0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ -001b3550: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ -001b3560: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -001b35a0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -001b35b0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -001b35c0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -001b35d0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -001b35e0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -001b35f0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -001b3600: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -001b3640: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -001b3650: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -001b3670: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ -001b3680: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include e
│ │ │ -001b36a0: 6e61 626c 655f 6e74 700a 0a63 6c61 7373  nable_ntp..class
│ │ │ -001b36b0: 2065 6e61 626c 655f 6e74 7020 7b0a 2020   enable_ntp {.  
│ │ │ -001b36c0: 7365 7276 6963 6520 7b27 6e74 7027 3a0a  service {'ntp':.
│ │ │ -001b36d0: 2020 2020 656e 6162 6c65 203d 2667 743b      enable =>
│ │ │ -001b36e0: 2074 7275 652c 0a20 2020 2065 6e73 7572   true,.    ensur
│ │ │ -001b36f0: 6520 3d26 6774 3b20 2772 756e 6e69 6e67  e => 'running
│ │ │ -001b3700: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │ -001b3710: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ -001b37c0: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible │ │ │ -001b37d0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -001b37e0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ -001b3870: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
- 
│ │ │ -001b3910: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ -001b3920: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ -001b3930: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ -001b3940: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ -001b3950: 6f0a 2020 7461 6773 3a0a 2020 2d20 4e49  o.  tags:.  - NI
│ │ │ -001b3960: 5354 2d38 3030 2d35 332d 4155 2d38 2831  ST-800-53-AU-8(1
│ │ │ -001b3970: 2928 6129 0a20 202d 204e 4953 542d 3830  )(a).  - NIST-80
│ │ │ -001b3980: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ -001b3990: 2050 4349 2d44 5353 2d52 6571 2d31 302e   PCI-DSS-Req-10.
│ │ │ -001b39a0: 340a 2020 2d20 5043 492d 4453 5376 342d  4.  - PCI-DSSv4-
│ │ │ -001b39b0: 3130 2e36 0a20 202d 2050 4349 2d44 5353  10.6.  - PCI-DSS
│ │ │ -001b39c0: 7634 2d31 302e 362e 310a 2020 2d20 656e  v4-10.6.1.  - en
│ │ │ -001b39d0: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -001b39e0: 2d20 6869 6768 5f73 6576 6572 6974 790a  - high_severity.
│ │ │ -001b39f0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -001b3a00: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -001b3a10: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562  ption.  - no_reb
│ │ │ -001b3a20: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ -001b3a30: 6572 7669 6365 5f6e 7470 5f65 6e61 626c  ervice_ntp_enabl
│ │ │ -001b3a40: 6564 0a0a 2d20 6e61 6d65 3a20 456e 6162  ed..- name: Enab
│ │ │ -001b3a50: 6c65 2074 6865 204e 5450 2044 6165 6d6f  le the NTP Daemo
│ │ │ -001b3a60: 6e20 2d20 456e 6162 6c65 2073 6572 7669  n - Enable servi
│ │ │ -001b3a70: 6365 206e 7470 0a20 2062 6c6f 636b 3a0a  ce ntp.  block:.
│ │ │ -001b3a80: 0a20 202d 206e 616d 653a 2047 6174 6865  .  - name: Gathe
│ │ │ -001b3a90: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ -001b3aa0: 6374 730a 2020 2020 7061 636b 6167 655f  cts.    package_
│ │ │ -001b3ab0: 6661 6374 733a 0a20 2020 2020 206d 616e  facts:.      man
│ │ │ -001b3ac0: 6167 6572 3a20 6175 746f 0a0a 2020 2d20  ager: auto..  - 
│ │ │ -001b3ad0: 6e61 6d65 3a20 456e 6162 6c65 2074 6865  name: Enable the
│ │ │ -001b3ae0: 204e 5450 2044 6165 6d6f 6e20 2d20 456e   NTP Daemon - En
│ │ │ -001b3af0: 6162 6c65 2053 6572 7669 6365 206e 7470  able Service ntp
│ │ │ -001b3b00: 0a20 2020 2061 6e73 6962 6c65 2e62 7569  .    ansible.bui
│ │ │ -001b3b10: 6c74 696e 2e73 7973 7465 6d64 3a0a 2020  ltin.systemd:.  
│ │ │ -001b3b20: 2020 2020 6e61 6d65 3a20 6e74 700a 2020      name: ntp.  
│ │ │ -001b3b30: 2020 2020 656e 6162 6c65 643a 2074 7275      enabled: tru
│ │ │ -001b3b40: 650a 2020 2020 2020 7374 6174 653a 2073  e.      state: s
│ │ │ -001b3b50: 7461 7274 6564 0a20 2020 2020 206d 6173  tarted.      mas
│ │ │ -001b3b60: 6b65 643a 2066 616c 7365 0a20 2020 2077  ked: false.    w
│ │ │ -001b3b70: 6865 6e3a 0a20 2020 202d 2027 226e 7470  hen:.    - '"ntp
│ │ │ -001b3b80: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ -001b3b90: 7473 2e70 6163 6b61 6765 7327 0a20 2077  ts.packages'.  w
│ │ │ -001b3ba0: 6865 6e3a 0a20 202d 2027 226c 696e 7578  hen:.  - '"linux
│ │ │ -001b3bb0: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ -001b3bc0: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ -001b3bd0: 270a 2020 2d20 2722 6e74 7022 2069 6e20  '.  - '"ntp" in 
│ │ │ -001b3be0: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -001b3bf0: 636b 6167 6573 270a 2020 7461 6773 3a0a  ckages'.  tags:.
│ │ │ -001b3c00: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -001b3c10: 4155 2d38 2831 2928 6129 0a20 202d 204e  AU-8(1)(a).  - N
│ │ │ -001b3c20: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -001b3c30: 6129 0a20 202d 2050 4349 2d44 5353 2d52  a).  - PCI-DSS-R
│ │ │ -001b3c40: 6571 2d31 302e 340a 2020 2d20 5043 492d  eq-10.4.  - PCI-
│ │ │ -001b3c50: 4453 5376 342d 3130 2e36 0a20 202d 2050  DSSv4-10.6.  - P
│ │ │ -001b3c60: 4349 2d44 5353 7634 2d31 302e 362e 310a  CI-DSSv4-10.6.1.
│ │ │ -001b3c70: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -001b3c80: 6567 790a 2020 2d20 6869 6768 5f73 6576  egy.  - high_sev
│ │ │ -001b3c90: 6572 6974 790a 2020 2d20 6c6f 775f 636f  erity.  - low_co
│ │ │ -001b3ca0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -001b3cb0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -001b3cc0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -001b3cd0: 0a20 202d 2073 6572 7669 6365 5f6e 7470  .  - service_ntp
│ │ │ -001b3ce0: 5f65 6e61 626c 6564 0a3c 2f63 6f64 653e  _enabled.
│ │ │ +001b3400: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070  on Ansible snipp
│ │ │ +001b3410: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64  et ...
│ │ │ -001b3860: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -001b3890: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -001b38a0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -001b38e0: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ -001b38f0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
│ │ │ +001b34c0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +001b34e0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +001b3510: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +001b34a0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +001b34b0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +001b34d0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +001b34f0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +001b3500: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

- name: │ │ │ +001b3550: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack │ │ │ +001b3560: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack │ │ │ +001b3570: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m │ │ │ +001b3580: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t │ │ │ +001b3590: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80 │ │ │ +001b35a0: 302d 3533 2d41 552d 3828 3129 2861 290a 0-53-AU-8(1)(a). │ │ │ +001b35b0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53- │ │ │ +001b35c0: 434d 2d36 2861 290a 2020 2d20 5043 492d CM-6(a). - PCI- │ │ │ +001b35d0: 4453 532d 5265 712d 3130 2e34 0a20 202d DSS-Req-10.4. - │ │ │ +001b35e0: 2050 4349 2d44 5353 7634 2d31 302e 360a PCI-DSSv4-10.6. │ │ │ +001b35f0: 2020 2d20 5043 492d 4453 5376 342d 3130 - PCI-DSSv4-10 │ │ │ +001b3600: 2e36 2e31 0a20 202d 2065 6e61 626c 655f .6.1. - enable_ │ │ │ +001b3610: 7374 7261 7465 6779 0a20 202d 2068 6967 strategy. - hig │ │ │ +001b3620: 685f 7365 7665 7269 7479 0a20 202d 206c h_severity. - l │ │ │ +001b3630: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity. │ │ │ +001b3640: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption │ │ │ +001b3650: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n │ │ │ +001b3660: 6565 6465 640a 2020 2d20 7365 7276 6963 eeded. - servic │ │ │ +001b3670: 655f 6e74 705f 656e 6162 6c65 640a 0a2d e_ntp_enabled..- │ │ │ +001b3680: 206e 616d 653a 2045 6e61 626c 6520 7468 name: Enable th │ │ │ +001b3690: 6520 4e54 5020 4461 656d 6f6e 202d 2045 e NTP Daemon - E │ │ │ +001b36a0: 6e61 626c 6520 7365 7276 6963 6520 6e74 nable service nt │ │ │ +001b36b0: 700a 2020 626c 6f63 6b3a 0a0a 2020 2d20 p. block:.. - │ │ │ +001b36c0: 6e61 6d65 3a20 4761 7468 6572 2074 6865 name: Gather the │ │ │ +001b36d0: 2070 6163 6b61 6765 2066 6163 7473 0a20 package facts. │ │ │ +001b36e0: 2020 2070 6163 6b61 6765 5f66 6163 7473 package_facts │ │ │ +001b36f0: 3a0a 2020 2020 2020 6d61 6e61 6765 723a :. manager: │ │ │ +001b3700: 2061 7574 6f0a 0a20 202d 206e 616d 653a auto.. - name: │ │ │ +001b3710: 2045 6e61 626c 6520 7468 6520 4e54 5020 Enable the NTP │ │ │ +001b3720: 4461 656d 6f6e 202d 2045 6e61 626c 6520 Daemon - Enable │ │ │ +001b3730: 5365 7276 6963 6520 6e74 700a 2020 2020 Service ntp. │ │ │ +001b3740: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin. │ │ │ +001b3750: 7379 7374 656d 643a 0a20 2020 2020 206e systemd:. n │ │ │ +001b3760: 616d 653a 206e 7470 0a20 2020 2020 2065 ame: ntp. e │ │ │ +001b3770: 6e61 626c 6564 3a20 7472 7565 0a20 2020 nabled: true. │ │ │ +001b3780: 2020 2073 7461 7465 3a20 7374 6172 7465 state: starte │ │ │ +001b3790: 640a 2020 2020 2020 6d61 736b 6564 3a20 d. masked: │ │ │ +001b37a0: 6661 6c73 650a 2020 2020 7768 656e 3a0a false. when:. │ │ │ +001b37b0: 2020 2020 2d20 2722 6e74 7022 2069 6e20 - '"ntp" in │ │ │ +001b37c0: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa │ │ │ +001b37d0: 636b 6167 6573 270a 2020 7768 656e 3a0a ckages'. when:. │ │ │ +001b37e0: 2020 2d20 2722 6c69 6e75 782d 6261 7365 - '"linux-base │ │ │ +001b37f0: 2220 696e 2061 6e73 6962 6c65 5f66 6163 " in ansible_fac │ │ │ +001b3800: 7473 2e70 6163 6b61 6765 7327 0a20 202d ts.packages'. - │ │ │ +001b3810: 2027 226e 7470 2220 696e 2061 6e73 6962 '"ntp" in ansib │ │ │ +001b3820: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package │ │ │ +001b3830: 7327 0a20 2074 6167 733a 0a20 202d 204e s'. tags:. - N │ │ │ +001b3840: 4953 542d 3830 302d 3533 2d41 552d 3828 IST-800-53-AU-8( │ │ │ +001b3850: 3129 2861 290a 2020 2d20 4e49 5354 2d38 1)(a). - NIST-8 │ │ │ +001b3860: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a). │ │ │ +001b3870: 2d20 5043 492d 4453 532d 5265 712d 3130 - PCI-DSS-Req-10 │ │ │ +001b3880: 2e34 0a20 202d 2050 4349 2d44 5353 7634 .4. - PCI-DSSv4 │ │ │ +001b3890: 2d31 302e 360a 2020 2d20 5043 492d 4453 -10.6. - PCI-DS │ │ │ +001b38a0: 5376 342d 3130 2e36 2e31 0a20 202d 2065 Sv4-10.6.1. - e │ │ │ +001b38b0: 6e61 626c 655f 7374 7261 7465 6779 0a20 nable_strategy. │ │ │ +001b38c0: 202d 2068 6967 685f 7365 7665 7269 7479 - high_severity │ │ │ +001b38d0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex │ │ │ +001b38e0: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr │ │ │ +001b38f0: 7570 7469 6f6e 0a20 202d 206e 6f5f 7265 uption. - no_re │ │ │ +001b3900: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. - │ │ │ +001b3910: 7365 7276 6963 655f 6e74 705f 656e 6162 service_ntp_enab │ │ │ +001b3920: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265 led.

Remediati │ │ │ +001b39e0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ +001b39f0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +001b3a30: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ +001b3aa0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +001b3ac0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +001b3af0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ +001b3b10: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ +001b3a80: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +001b3a90: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +001b3ad0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +001b3ae0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ +001b3b30: 656e 6162 6c65 5f6e 7470 0a0a 636c 6173 enable_ntp..clas │ │ │ +001b3b40: 7320 656e 6162 6c65 5f6e 7470 207b 0a20 s enable_ntp {. │ │ │ +001b3b50: 2073 6572 7669 6365 207b 276e 7470 273a service {'ntp': │ │ │ +001b3b60: 0a20 2020 2065 6e61 626c 6520 3d26 6774 . enable => │ │ │ +001b3b70: 3b20 7472 7565 2c0a 2020 2020 656e 7375 ; true,. ensu │ │ │ +001b3b80: 7265 203d 2667 743b 2027 7275 6e6e 696e re => 'runnin │ │ │ +001b3b90: 6727 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 g',. }.}.
Rem │ │ │ +001b3c50: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild │ │ │ +001b3c60: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp │ │ │ +001b3c70: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[cu
│ │ │ +001b3cc0: 7374 6f6d 697a 6174 696f 6e73 2e73 6572  stomizations.ser
│ │ │ +001b3cd0: 7669 6365 735d 0a65 6e61 626c 6564 203d  vices].enabled =
│ │ │ +001b3ce0: 205b 226e 7470 225d 0a3c 2f63 6f64 653e   ["ntp"].
│ │ │  001b3cf0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Remediation │ │ │ -001b5040: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ -001b5050: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
.[customizat
│ │ │ -001b50b0: 696f 6e73 2e73 6572 7669 6365 735d 0a65  ions.services].e
│ │ │ -001b50c0: 6e61 626c 6564 203d 205b 2273 7973 7465  nabled = ["syste
│ │ │ -001b50d0: 6d64 2d74 696d 6573 796e 6364 225d 0a3c  md-timesyncd"].<
│ │ │ -001b50e0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ -001b51a0: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ -001b51b0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ -001b5240: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -001b5260: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ -001b5280: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ -001b52b0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -001b52c0: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ -001b52d0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include enabl
│ │ │ -001b52f0: 655f 7379 7374 656d 642d 7469 6d65 7379  e_systemd-timesy
│ │ │ -001b5300: 6e63 640a 0a63 6c61 7373 2065 6e61 626c  ncd..class enabl
│ │ │ -001b5310: 655f 7379 7374 656d 642d 7469 6d65 7379  e_systemd-timesy
│ │ │ -001b5320: 6e63 6420 7b0a 2020 7365 7276 6963 6520  ncd {.  service 
│ │ │ -001b5330: 7b27 7379 7374 656d 642d 7469 6d65 7379  {'systemd-timesy
│ │ │ -001b5340: 6e63 6427 3a0a 2020 2020 656e 6162 6c65  ncd':.    enable
│ │ │ -001b5350: 203d 2667 743b 2074 7275 652c 0a20 2020   => true,.   
│ │ │ -001b5360: 2065 6e73 7572 6520 3d26 6774 3b20 2772   ensure => 'r
│ │ │ -001b5370: 756e 6e69 6e67 272c 0a20 207d 0a7d 0a3c  unning',.  }.}.<
│ │ │ -001b5380: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation An │ │ │ -001b5440: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -001b5450: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ -001b54e0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -001b5500: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -001b5510: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001b5520: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -001b5530: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -001b5550: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
- name: Gath
│ │ │ -001b5590: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ -001b55a0: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ -001b55b0: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ -001b55c0: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ -001b55d0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -001b55e0: 4155 2d38 2831 2928 6129 0a20 202d 204e  AU-8(1)(a).  - N
│ │ │ -001b55f0: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -001b5600: 6129 0a20 202d 2050 4349 2d44 5353 2d52  a).  - PCI-DSS-R
│ │ │ -001b5610: 6571 2d31 302e 340a 2020 2d20 5043 492d  eq-10.4.  - PCI-
│ │ │ -001b5620: 4453 5376 342d 3130 2e36 0a20 202d 2050  DSSv4-10.6.  - P
│ │ │ -001b5630: 4349 2d44 5353 7634 2d31 302e 362e 310a  CI-DSSv4-10.6.1.
│ │ │ -001b5640: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -001b5650: 6567 790a 2020 2d20 6869 6768 5f73 6576  egy.  - high_sev
│ │ │ -001b5660: 6572 6974 790a 2020 2d20 6c6f 775f 636f  erity.  - low_co
│ │ │ -001b5670: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -001b5680: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -001b5690: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -001b56a0: 0a20 202d 2073 6572 7669 6365 5f74 696d  .  - service_tim
│ │ │ -001b56b0: 6573 796e 6364 5f65 6e61 626c 6564 0a0a  esyncd_enabled..
│ │ │ -001b56c0: 2d20 6e61 6d65 3a20 456e 6162 6c65 2073  - name: Enable s
│ │ │ -001b56d0: 7973 7465 6d64 5f74 696d 6573 796e 6364  ystemd_timesyncd
│ │ │ -001b56e0: 2053 6572 7669 6365 202d 2045 6e61 626c   Service - Enabl
│ │ │ -001b56f0: 6520 7365 7276 6963 6520 7379 7374 656d  e service system
│ │ │ -001b5700: 642d 7469 6d65 7379 6e63 640a 2020 626c  d-timesyncd.  bl
│ │ │ -001b5710: 6f63 6b3a 0a0a 2020 2d20 6e61 6d65 3a20  ock:..  - name: 
│ │ │ -001b5720: 4761 7468 6572 2074 6865 2070 6163 6b61  Gather the packa
│ │ │ -001b5730: 6765 2066 6163 7473 0a20 2020 2070 6163  ge facts.    pac
│ │ │ -001b5740: 6b61 6765 5f66 6163 7473 3a0a 2020 2020  kage_facts:.    
│ │ │ -001b5750: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ -001b5760: 0a20 202d 206e 616d 653a 2045 6e61 626c  .  - name: Enabl
│ │ │ -001b5770: 6520 7379 7374 656d 645f 7469 6d65 7379  e systemd_timesy
│ │ │ -001b5780: 6e63 6420 5365 7276 6963 6520 2d20 456e  ncd Service - En
│ │ │ -001b5790: 6162 6c65 2053 6572 7669 6365 2073 7973  able Service sys
│ │ │ -001b57a0: 7465 6d64 2d74 696d 6573 796e 6364 0a20  temd-timesyncd. 
│ │ │ -001b57b0: 2020 2061 6e73 6962 6c65 2e62 7569 6c74     ansible.built
│ │ │ -001b57c0: 696e 2e73 7973 7465 6d64 3a0a 2020 2020  in.systemd:.    
│ │ │ -001b57d0: 2020 6e61 6d65 3a20 7379 7374 656d 642d    name: systemd-
│ │ │ -001b57e0: 7469 6d65 7379 6e63 640a 2020 2020 2020  timesyncd.      
│ │ │ -001b57f0: 656e 6162 6c65 643a 2074 7275 650a 2020  enabled: true.  
│ │ │ -001b5800: 2020 2020 7374 6174 653a 2073 7461 7274      state: start
│ │ │ -001b5810: 6564 0a20 2020 2020 206d 6173 6b65 643a  ed.      masked:
│ │ │ -001b5820: 2066 616c 7365 0a20 2020 2077 6865 6e3a   false.    when:
│ │ │ -001b5830: 0a20 2020 202d 2027 2273 7973 7465 6d64  .    - '"systemd
│ │ │ -001b5840: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ -001b5850: 7473 2e70 6163 6b61 6765 7327 0a20 2077  ts.packages'.  w
│ │ │ -001b5860: 6865 6e3a 0a20 202d 2027 226c 696e 7578  hen:.  - '"linux
│ │ │ -001b5870: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ -001b5880: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ -001b5890: 270a 2020 2d20 2820 6e6f 7420 2820 2263  '.  - ( not ( "c
│ │ │ -001b58a0: 6872 6f6e 7922 2069 6e20 616e 7369 626c  hrony" in ansibl
│ │ │ -001b58b0: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ -001b58c0: 2029 2061 6e64 206e 6f74 2028 2022 6e74   ) and not ( "nt
│ │ │ -001b58d0: 7022 2069 6e20 616e 7369 626c 655f 6661  p" in ansible_fa
│ │ │ -001b58e0: 6374 732e 7061 636b 6167 6573 0a20 2020  cts.packages.   
│ │ │ -001b58f0: 2029 2029 0a20 2074 6167 733a 0a20 202d   ) ).  tags:.  -
│ │ │ -001b5900: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ -001b5910: 3828 3129 2861 290a 2020 2d20 4e49 5354  8(1)(a).  - NIST
│ │ │ -001b5920: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ -001b5930: 2020 2d20 5043 492d 4453 532d 5265 712d    - PCI-DSS-Req-
│ │ │ -001b5940: 3130 2e34 0a20 202d 2050 4349 2d44 5353  10.4.  - PCI-DSS
│ │ │ -001b5950: 7634 2d31 302e 360a 2020 2d20 5043 492d  v4-10.6.  - PCI-
│ │ │ -001b5960: 4453 5376 342d 3130 2e36 2e31 0a20 202d  DSSv4-10.6.1.  -
│ │ │ -001b5970: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ -001b5980: 0a20 202d 2068 6967 685f 7365 7665 7269  .  - high_severi
│ │ │ -001b5990: 7479 0a20 202d 206c 6f77 5f63 6f6d 706c  ty.  - low_compl
│ │ │ -001b59a0: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -001b59b0: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f  sruption.  - no_
│ │ │ -001b59c0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -001b59d0: 2d20 7365 7276 6963 655f 7469 6d65 7379  - service_timesy
│ │ │ -001b59e0: 6e63 645f 656e 6162 6c65 640a 3c2f 636f  ncd_enabled.
< │ │ │ +001b5090: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +001b50a0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +001b50b0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +001b50c0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +001b50d0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +001b50e0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +001b50f0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +001b5130: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +001b5140: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +001b5160: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ +001b5170: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ +001b5190: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ +001b51a0: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ +001b51b0: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ +001b51c0: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ +001b51d0: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +001b51e0: 3533 2d41 552d 3828 3129 2861 290a 2020  53-AU-8(1)(a).  
│ │ │ +001b51f0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +001b5200: 2d36 2861 290a 2020 2d20 5043 492d 4453  -6(a).  - PCI-DS
│ │ │ +001b5210: 532d 5265 712d 3130 2e34 0a20 202d 2050  S-Req-10.4.  - P
│ │ │ +001b5220: 4349 2d44 5353 7634 2d31 302e 360a 2020  CI-DSSv4-10.6.  
│ │ │ +001b5230: 2d20 5043 492d 4453 5376 342d 3130 2e36  - PCI-DSSv4-10.6
│ │ │ +001b5240: 2e31 0a20 202d 2065 6e61 626c 655f 7374  .1.  - enable_st
│ │ │ +001b5250: 7261 7465 6779 0a20 202d 2068 6967 685f  rategy.  - high_
│ │ │ +001b5260: 7365 7665 7269 7479 0a20 202d 206c 6f77  severity.  - low
│ │ │ +001b5270: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +001b5280: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +001b5290: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +001b52a0: 6465 640a 2020 2d20 7365 7276 6963 655f  ded.  - service_
│ │ │ +001b52b0: 7469 6d65 7379 6e63 645f 656e 6162 6c65  timesyncd_enable
│ │ │ +001b52c0: 640a 0a2d 206e 616d 653a 2045 6e61 626c  d..- name: Enabl
│ │ │ +001b52d0: 6520 7379 7374 656d 645f 7469 6d65 7379  e systemd_timesy
│ │ │ +001b52e0: 6e63 6420 5365 7276 6963 6520 2d20 456e  ncd Service - En
│ │ │ +001b52f0: 6162 6c65 2073 6572 7669 6365 2073 7973  able service sys
│ │ │ +001b5300: 7465 6d64 2d74 696d 6573 796e 6364 0a20  temd-timesyncd. 
│ │ │ +001b5310: 2062 6c6f 636b 3a0a 0a20 202d 206e 616d   block:..  - nam
│ │ │ +001b5320: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ +001b5330: 636b 6167 6520 6661 6374 730a 2020 2020  ckage facts.    
│ │ │ +001b5340: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ +001b5350: 2020 2020 206d 616e 6167 6572 3a20 6175       manager: au
│ │ │ +001b5360: 746f 0a0a 2020 2d20 6e61 6d65 3a20 456e  to..  - name: En
│ │ │ +001b5370: 6162 6c65 2073 7973 7465 6d64 5f74 696d  able systemd_tim
│ │ │ +001b5380: 6573 796e 6364 2053 6572 7669 6365 202d  esyncd Service -
│ │ │ +001b5390: 2045 6e61 626c 6520 5365 7276 6963 6520   Enable Service 
│ │ │ +001b53a0: 7379 7374 656d 642d 7469 6d65 7379 6e63  systemd-timesync
│ │ │ +001b53b0: 640a 2020 2020 616e 7369 626c 652e 6275  d.    ansible.bu
│ │ │ +001b53c0: 696c 7469 6e2e 7379 7374 656d 643a 0a20  iltin.systemd:. 
│ │ │ +001b53d0: 2020 2020 206e 616d 653a 2073 7973 7465       name: syste
│ │ │ +001b53e0: 6d64 2d74 696d 6573 796e 6364 0a20 2020  md-timesyncd.   
│ │ │ +001b53f0: 2020 2065 6e61 626c 6564 3a20 7472 7565     enabled: true
│ │ │ +001b5400: 0a20 2020 2020 2073 7461 7465 3a20 7374  .      state: st
│ │ │ +001b5410: 6172 7465 640a 2020 2020 2020 6d61 736b  arted.      mask
│ │ │ +001b5420: 6564 3a20 6661 6c73 650a 2020 2020 7768  ed: false.    wh
│ │ │ +001b5430: 656e 3a0a 2020 2020 2d20 2722 7379 7374  en:.    - '"syst
│ │ │ +001b5440: 656d 6422 2069 6e20 616e 7369 626c 655f  emd" in ansible_
│ │ │ +001b5450: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ +001b5460: 2020 7768 656e 3a0a 2020 2d20 2722 6c69    when:.  - '"li
│ │ │ +001b5470: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ +001b5480: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ +001b5490: 6765 7327 0a20 202d 2028 206e 6f74 2028  ges'.  - ( not (
│ │ │ +001b54a0: 2022 6368 726f 6e79 2220 696e 2061 6e73   "chrony" in ans
│ │ │ +001b54b0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ +001b54c0: 6765 7320 2920 616e 6420 6e6f 7420 2820  ges ) and not ( 
│ │ │ +001b54d0: 226e 7470 2220 696e 2061 6e73 6962 6c65  "ntp" in ansible
│ │ │ +001b54e0: 5f66 6163 7473 2e70 6163 6b61 6765 730a  _facts.packages.
│ │ │ +001b54f0: 2020 2020 2920 290a 2020 7461 6773 3a0a      ) ).  tags:.
│ │ │ +001b5500: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001b5510: 4155 2d38 2831 2928 6129 0a20 202d 204e  AU-8(1)(a).  - N
│ │ │ +001b5520: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ +001b5530: 6129 0a20 202d 2050 4349 2d44 5353 2d52  a).  - PCI-DSS-R
│ │ │ +001b5540: 6571 2d31 302e 340a 2020 2d20 5043 492d  eq-10.4.  - PCI-
│ │ │ +001b5550: 4453 5376 342d 3130 2e36 0a20 202d 2050  DSSv4-10.6.  - P
│ │ │ +001b5560: 4349 2d44 5353 7634 2d31 302e 362e 310a  CI-DSSv4-10.6.1.
│ │ │ +001b5570: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ +001b5580: 6567 790a 2020 2d20 6869 6768 5f73 6576  egy.  - high_sev
│ │ │ +001b5590: 6572 6974 790a 2020 2d20 6c6f 775f 636f  erity.  - low_co
│ │ │ +001b55a0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +001b55b0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +001b55c0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +001b55d0: 0a20 202d 2073 6572 7669 6365 5f74 696d  .  - service_tim
│ │ │ +001b55e0: 6573 796e 6364 5f65 6e61 626c 6564 0a3c  esyncd_enabled.<
│ │ │ +001b55f0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ +001b56b0: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ +001b56c0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ +001b5750: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +001b5770: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +001b5790: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +001b57c0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +001b57d0: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ +001b57e0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include enabl
│ │ │ +001b5800: 655f 7379 7374 656d 642d 7469 6d65 7379  e_systemd-timesy
│ │ │ +001b5810: 6e63 640a 0a63 6c61 7373 2065 6e61 626c  ncd..class enabl
│ │ │ +001b5820: 655f 7379 7374 656d 642d 7469 6d65 7379  e_systemd-timesy
│ │ │ +001b5830: 6e63 6420 7b0a 2020 7365 7276 6963 6520  ncd {.  service 
│ │ │ +001b5840: 7b27 7379 7374 656d 642d 7469 6d65 7379  {'systemd-timesy
│ │ │ +001b5850: 6e63 6427 3a0a 2020 2020 656e 6162 6c65  ncd':.    enable
│ │ │ +001b5860: 203d 2667 743b 2074 7275 652c 0a20 2020   => true,.   
│ │ │ +001b5870: 2065 6e73 7572 6520 3d26 6774 3b20 2772   ensure => 'r
│ │ │ +001b5880: 756e 6e69 6e67 272c 0a20 207d 0a7d 0a3c  unning',.  }.}.<
│ │ │ +001b5890: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation OS │ │ │ +001b5950: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint │ │ │ +001b5960: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +001b5970: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
.[customization
│ │ │ +001b59c0: 732e 7365 7276 6963 6573 5d0a 656e 6162  s.services].enab
│ │ │ +001b59d0: 6c65 6420 3d20 5b22 7379 7374 656d 642d  led = ["systemd-
│ │ │ +001b59e0: 7469 6d65 7379 6e63 6422 5d0a 3c2f 636f  timesyncd"].
< │ │ │ 001b5a00: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 001b5a10: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 001b5a20: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 001b5a30: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 001b5a40: 646d 3234 3437 3322 2074 6162 696e 6465 dm24473" tabinde │ │ │ 001b5a50: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ @@ -113678,116 +113678,116 @@ │ │ │ 001bc0d0: 7267 6574 3d22 2369 646d 3234 3739 3722 rget="#idm24797" │ │ │ 001bc0e0: 2074 6162 696e 6465 783d 2230 2220 726f tabindex="0" ro │ │ │ 001bc0f0: 6c65 3d22 6275 7474 6f6e 2220 6172 6961 le="button" aria │ │ │ 001bc100: 2d65 7870 616e 6465 643d 2266 616c 7365 -expanded="false │ │ │ 001bc110: 2220 7469 746c 653d 2241 6374 6976 6174 " title="Activat │ │ │ 001bc120: 6520 746f 2072 6576 6561 6c22 2068 7265 e to reveal" hre │ │ │ 001bc130: 663d 2223 2122 3e52 656d 6564 6961 7469 f="#!">Remediati │ │ │ -001bc140: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -001bc150: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -001bc190: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -001bc200: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -001bc220: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -001bc250: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -001bc1e0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -001bc1f0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -001bc230: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -001bc240: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ -001bc290: 2072 656d 6f76 655f 7869 6e65 7464 0a0a remove_xinetd.. │ │ │ -001bc2a0: 636c 6173 7320 7265 6d6f 7665 5f78 696e class remove_xin │ │ │ -001bc2b0: 6574 6420 7b0a 2020 7061 636b 6167 6520 etd {. package │ │ │ -001bc2c0: 7b20 2778 696e 6574 6427 3a0a 2020 2020 { 'xinetd':. │ │ │ -001bc2d0: 656e 7375 7265 203d 2667 743b 2027 7075 ensure => 'pu │ │ │ -001bc2e0: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63 rged',. }.}.

│ │ │ -001bc300: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ -001bc3a0: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi │ │ │ -001bc3b0: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...< │ │ │ -001bc3c0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -001bc440: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -001bc460: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -001bc4b0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -001bc4e0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -001bc450: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -001bc470: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -001bc4c0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -001bc4d0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
- name: Gathe
│ │ │ -001bc500: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ -001bc510: 6374 730a 2020 7061 636b 6167 655f 6661  cts.  package_fa
│ │ │ -001bc520: 6374 733a 0a20 2020 206d 616e 6167 6572  cts:.    manager
│ │ │ -001bc530: 3a20 6175 746f 0a20 2074 6167 733a 0a20  : auto.  tags:. 
│ │ │ -001bc540: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -001bc550: 4d2d 3628 6129 0a20 202d 204e 4953 542d  M-6(a).  - NIST-
│ │ │ -001bc560: 3830 302d 3533 2d43 4d2d 3728 6129 0a20  800-53-CM-7(a). 
│ │ │ -001bc570: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -001bc580: 4d2d 3728 6229 0a20 202d 2050 4349 2d44  M-7(b).  - PCI-D
│ │ │ -001bc590: 5353 7634 2d32 2e32 0a20 202d 2050 4349  SSv4-2.2.  - PCI
│ │ │ -001bc5a0: 2d44 5353 7634 2d32 2e32 2e34 0a20 202d  -DSSv4-2.2.4.  -
│ │ │ -001bc5b0: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ -001bc5c0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -001bc5d0: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -001bc5e0: 7275 7074 696f 6e0a 2020 2d20 6c6f 775f  ruption.  - low_
│ │ │ -001bc5f0: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -001bc600: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -001bc610: 2d20 7061 636b 6167 655f 7869 6e65 7464  - package_xinetd
│ │ │ -001bc620: 5f72 656d 6f76 6564 0a0a 2d20 6e61 6d65  _removed..- name
│ │ │ -001bc630: 3a20 456e 7375 7265 2078 696e 6574 6420  : Ensure xinetd 
│ │ │ -001bc640: 6973 2072 656d 6f76 6564 0a20 2070 6163  is removed.  pac
│ │ │ -001bc650: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20  kage:.    name: 
│ │ │ -001bc660: 7869 6e65 7464 0a20 2020 2073 7461 7465  xinetd.    state
│ │ │ -001bc670: 3a20 6162 7365 6e74 0a20 2077 6865 6e3a  : absent.  when:
│ │ │ -001bc680: 2027 226c 696e 7578 2d62 6173 6522 2069   '"linux-base" i
│ │ │ -001bc690: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ -001bc6a0: 7061 636b 6167 6573 270a 2020 7461 6773  packages'.  tags
│ │ │ -001bc6b0: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ -001bc6c0: 332d 434d 2d36 2861 290a 2020 2d20 4e49  3-CM-6(a).  - NI
│ │ │ -001bc6d0: 5354 2d38 3030 2d35 332d 434d 2d37 2861  ST-800-53-CM-7(a
│ │ │ -001bc6e0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -001bc6f0: 332d 434d 2d37 2862 290a 2020 2d20 5043  3-CM-7(b).  - PC
│ │ │ -001bc700: 492d 4453 5376 342d 322e 320a 2020 2d20  I-DSSv4-2.2.  - 
│ │ │ -001bc710: 5043 492d 4453 5376 342d 322e 322e 340a  PCI-DSSv4-2.2.4.
│ │ │ -001bc720: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ -001bc730: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ -001bc740: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -001bc750: 6469 7372 7570 7469 6f6e 0a20 202d 206c  disruption.  - l
│ │ │ -001bc760: 6f77 5f73 6576 6572 6974 790a 2020 2d20  ow_severity.  - 
│ │ │ -001bc770: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -001bc780: 0a20 202d 2070 6163 6b61 6765 5f78 696e  .  - package_xin
│ │ │ -001bc790: 6574 645f 7265 6d6f 7665 640a 3c2f 636f  etd_removed.
│ │ │ +001bc200: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +001bc220: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +001bc250: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +001bc1e0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +001bc1f0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +001bc210: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +001bc230: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +001bc240: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +001bc280: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +001bc290: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ +001bc2a0: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac │ │ │ +001bc2b0: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ +001bc2c0: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto. │ │ │ +001bc2d0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8 │ │ │ +001bc2e0: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a). │ │ │ +001bc2f0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM │ │ │ +001bc300: 2d37 2861 290a 2020 2d20 4e49 5354 2d38 -7(a). - NIST-8 │ │ │ +001bc310: 3030 2d35 332d 434d 2d37 2862 290a 2020 00-53-CM-7(b). │ │ │ +001bc320: 2d20 5043 492d 4453 5376 342d 322e 320a - PCI-DSSv4-2.2. │ │ │ +001bc330: 2020 2d20 5043 492d 4453 5376 342d 322e - PCI-DSSv4-2. │ │ │ +001bc340: 322e 340a 2020 2d20 6469 7361 626c 655f 2.4. - disable_ │ │ │ +001bc350: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low │ │ │ +001bc360: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. - │ │ │ +001bc370: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption. │ │ │ +001bc380: 202d 206c 6f77 5f73 6576 6572 6974 790a - low_severity. │ │ │ +001bc390: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ +001bc3a0: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package │ │ │ +001bc3b0: 5f78 696e 6574 645f 7265 6d6f 7665 640a _xinetd_removed. │ │ │ +001bc3c0: 0a2d 206e 616d 653a 2045 6e73 7572 6520 .- name: Ensure │ │ │ +001bc3d0: 7869 6e65 7464 2069 7320 7265 6d6f 7665 xinetd is remove │ │ │ +001bc3e0: 640a 2020 7061 636b 6167 653a 0a20 2020 d. package:. │ │ │ +001bc3f0: 206e 616d 653a 2078 696e 6574 640a 2020 name: xinetd. │ │ │ +001bc400: 2020 7374 6174 653a 2061 6273 656e 740a state: absent. │ │ │ +001bc410: 2020 7768 656e 3a20 2722 6c69 6e75 782d when: '"linux- │ │ │ +001bc420: 6261 7365 2220 696e 2061 6e73 6962 6c65 base" in ansible │ │ │ +001bc430: 5f66 6163 7473 2e70 6163 6b61 6765 7327 _facts.packages' │ │ │ +001bc440: 0a20 2074 6167 733a 0a20 202d 204e 4953 . tags:. - NIS │ │ │ +001bc450: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a) │ │ │ +001bc460: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53 │ │ │ +001bc470: 2d43 4d2d 3728 6129 0a20 202d 204e 4953 -CM-7(a). - NIS │ │ │ +001bc480: 542d 3830 302d 3533 2d43 4d2d 3728 6229 T-800-53-CM-7(b) │ │ │ +001bc490: 0a20 202d 2050 4349 2d44 5353 7634 2d32 . - PCI-DSSv4-2 │ │ │ +001bc4a0: 2e32 0a20 202d 2050 4349 2d44 5353 7634 .2. - PCI-DSSv4 │ │ │ +001bc4b0: 2d32 2e32 2e34 0a20 202d 2064 6973 6162 -2.2.4. - disab │ │ │ +001bc4c0: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. - │ │ │ +001bc4d0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity. │ │ │ +001bc4e0: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio │ │ │ +001bc4f0: 6e0a 2020 2d20 6c6f 775f 7365 7665 7269 n. - low_severi │ │ │ +001bc500: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot │ │ │ +001bc510: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack │ │ │ +001bc520: 6167 655f 7869 6e65 7464 5f72 656d 6f76 age_xinetd_remov │ │ │ +001bc530: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e ed.
│ │ │ +001bc540: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ +001bc5f0: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ +001bc600: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +001bc640: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +001bc650: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +001bc660: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +001bc670: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +001bc680: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +001bc690: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +001bc6a0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +001bc6e0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +001bc6f0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +001bc710: 3c74 643e 6469 7361 626c 653c 2f74 643e disable │ │ │ +001bc720: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 include │ │ │ +001bc740: 7265 6d6f 7665 5f78 696e 6574 640a 0a63 remove_xinetd..c │ │ │ +001bc750: 6c61 7373 2072 656d 6f76 655f 7869 6e65 lass remove_xine │ │ │ +001bc760: 7464 207b 0a20 2070 6163 6b61 6765 207b td {. package { │ │ │ +001bc770: 2027 7869 6e65 7464 273a 0a20 2020 2065 'xinetd':. e │ │ │ +001bc780: 6e73 7572 6520 3d26 6774 3b20 2770 7572 nsure => 'pur │ │ │ +001bc790: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f ged',. }.}.
< │ │ │ 001bc7b0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 001bc7c0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 001bc7d0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 001bc7e0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 001bc7f0: 646d 3234 3739 3922 2074 6162 696e 6465 dm24799" tabinde │ │ │ 001bc800: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ @@ -114094,92 +114094,92 @@ │ │ │ 001bdad0: 6574 3d22 2369 646d 3234 3935 3222 2074 et="#idm24952" t │ │ │ 001bdae0: 6162 696e 6465 783d 2230 2220 726f 6c65 abindex="0" role │ │ │ 001bdaf0: 3d22 6275 7474 6f6e 2220 6172 6961 2d65 ="button" aria-e │ │ │ 001bdb00: 7870 616e 6465 643d 2266 616c 7365 2220 xpanded="false" │ │ │ 001bdb10: 7469 746c 653d 2241 6374 6976 6174 6520 title="Activate │ │ │ 001bdb20: 746f 2072 6576 6561 6c22 2068 7265 663d to reveal" href= │ │ │ 001bdb30: 2223 2122 3e52 656d 6564 6961 7469 6f6e "#!">Remediation │ │ │ -001bdb40: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ -001bdb50: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001bdbd0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -001bdbe0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -001bdbf0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -001bdc30: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -001bdc40: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -001bdc60: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -001bdc70: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include r
│ │ │ -001bdc90: 656d 6f76 655f 7273 682d 636c 6965 6e74  emove_rsh-client
│ │ │ -001bdca0: 0a0a 636c 6173 7320 7265 6d6f 7665 5f72  ..class remove_r
│ │ │ -001bdcb0: 7368 2d63 6c69 656e 7420 7b0a 2020 7061  sh-client {.  pa
│ │ │ -001bdcc0: 636b 6167 6520 7b20 2772 7368 2d63 6c69  ckage { 'rsh-cli
│ │ │ -001bdcd0: 656e 7427 3a0a 2020 2020 656e 7375 7265  ent':.    ensure
│ │ │ -001bdce0: 203d 2667 743b 2027 7075 7267 6564 272c   => 'purged',
│ │ │ -001bdcf0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.
Remedi │ │ │ -001bddb0: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn │ │ │ -001bddc0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -001bde70: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -001bdec0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ -001bdf00: 616d 653a 2045 6e73 7572 6520 7273 682d  ame: Ensure rsh-
│ │ │ -001bdf10: 636c 6965 6e74 2069 7320 7265 6d6f 7665  client is remove
│ │ │ -001bdf20: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ -001bdf30: 206e 616d 653a 2072 7368 2d63 6c69 656e   name: rsh-clien
│ │ │ -001bdf40: 740a 2020 2020 7374 6174 653a 2061 6273  t.    state: abs
│ │ │ -001bdf50: 656e 740a 2020 7461 6773 3a0a 2020 2d20  ent.  tags:.  - 
│ │ │ -001bdf60: 4e49 5354 2d38 3030 2d31 3731 2d33 2e31  NIST-800-171-3.1
│ │ │ -001bdf70: 2e31 330a 2020 2d20 5043 492d 4453 5376  .13.  - PCI-DSSv
│ │ │ -001bdf80: 342d 322e 320a 2020 2d20 5043 492d 4453  4-2.2.  - PCI-DS
│ │ │ -001bdf90: 5376 342d 322e 322e 340a 2020 2d20 6469  Sv4-2.2.4.  - di
│ │ │ -001bdfa0: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ -001bdfb0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -001bdfc0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -001bdfd0: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f  tion.  - no_rebo
│ │ │ -001bdfe0: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ -001bdff0: 636b 6167 655f 7273 685f 7265 6d6f 7665  ckage_rsh_remove
│ │ │ -001be000: 640a 2020 2d20 756e 6b6e 6f77 6e5f 7365  d.  - unknown_se
│ │ │ -001be010: 7665 7269 7479 0a3c 2f63 6f64 653e 3c2f  verity.
< │ │ │ +001bdb90: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +001bdba0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +001bdbb0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +001bdbc0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +001bdbd0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ +001bdc60: 3c74 643e 6469 7361 626c 653c 2f74 643e │ │ │ +001bdc70: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Co │ │ │ -001bde50: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -001bde80: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -001bdea0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -001bdeb0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -001bded0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -001bdee0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complex │ │ │ +001bdbe0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +001bdbf0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ +001bdc30: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +001bdc40: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
disable
- name: │ │ │ +001bdc90: 456e 7375 7265 2072 7368 2d63 6c69 656e Ensure rsh-clien │ │ │ +001bdca0: 7420 6973 2072 656d 6f76 6564 0a20 2070 t is removed. p │ │ │ +001bdcb0: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65 ackage:. name │ │ │ +001bdcc0: 3a20 7273 682d 636c 6965 6e74 0a20 2020 : rsh-client. │ │ │ +001bdcd0: 2073 7461 7465 3a20 6162 7365 6e74 0a20 state: absent. │ │ │ +001bdce0: 2074 6167 733a 0a20 202d 204e 4953 542d tags:. - NIST- │ │ │ +001bdcf0: 3830 302d 3137 312d 332e 312e 3133 0a20 800-171-3.1.13. │ │ │ +001bdd00: 202d 2050 4349 2d44 5353 7634 2d32 2e32 - PCI-DSSv4-2.2 │ │ │ +001bdd10: 0a20 202d 2050 4349 2d44 5353 7634 2d32 . - PCI-DSSv4-2 │ │ │ +001bdd20: 2e32 2e34 0a20 202d 2064 6973 6162 6c65 .2.4. - disable │ │ │ +001bdd30: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo │ │ │ +001bdd40: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. - │ │ │ +001bdd50: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption. │ │ │ +001bdd60: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ +001bdd70: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package │ │ │ +001bdd80: 5f72 7368 5f72 656d 6f76 6564 0a20 202d _rsh_removed. - │ │ │ +001bdd90: 2075 6e6b 6e6f 776e 5f73 6576 6572 6974 unknown_severit │ │ │ +001bdda0: 790a 3c2f 636f 6465 3e3c 2f70 7265 3e3c y.< │ │ │ +001bddb0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +001bde60: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +001bde70: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +001bdef0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +001bdf00: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +001bdf10: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +001bdf50: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +001bdf60: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +001bdf80: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +001bdf90: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include r
│ │ │ +001bdfb0: 656d 6f76 655f 7273 682d 636c 6965 6e74  emove_rsh-client
│ │ │ +001bdfc0: 0a0a 636c 6173 7320 7265 6d6f 7665 5f72  ..class remove_r
│ │ │ +001bdfd0: 7368 2d63 6c69 656e 7420 7b0a 2020 7061  sh-client {.  pa
│ │ │ +001bdfe0: 636b 6167 6520 7b20 2772 7368 2d63 6c69  ckage { 'rsh-cli
│ │ │ +001bdff0: 656e 7427 3a0a 2020 2020 656e 7375 7265  ent':.    ensure
│ │ │ +001be000: 203d 2667 743b 2027 7075 7267 6564 272c   => 'purged',
│ │ │ +001be010: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.
Remediation Pu │ │ │ -001c0450: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ -001c0460: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ -001c04f0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -001c0510: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ -001c0530: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ -001c0560: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -001c0570: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
include remo
│ │ │ -001c05a0: 7665 5f74 616c 6b0a 0a63 6c61 7373 2072  ve_talk..class r
│ │ │ -001c05b0: 656d 6f76 655f 7461 6c6b 207b 0a20 2070  emove_talk {.  p
│ │ │ -001c05c0: 6163 6b61 6765 207b 2027 7461 6c6b 273a  ackage { 'talk':
│ │ │ -001c05d0: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ -001c05e0: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a  ; 'purged',.  }.
│ │ │ -001c05f0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ -001c0600: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -001c06b0: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ -001c06c0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -001c0700: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -001c0710: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -001c0720: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -001c0730: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -001c0740: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -001c0750: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -001c0760: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -001c07a0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -001c07b0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -001c07d0: 3c74 643e 6469 7361 626c 653c 2f74 643e disable │ │ │ -001c07e0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 - name: │ │ │ -001c0800: 456e 7375 7265 2074 616c 6b20 6973 2072 Ensure talk is r │ │ │ -001c0810: 656d 6f76 6564 0a20 2070 6163 6b61 6765 emoved. package │ │ │ -001c0820: 3a0a 2020 2020 6e61 6d65 3a20 7461 6c6b :. name: talk │ │ │ -001c0830: 0a20 2020 2073 7461 7465 3a20 6162 7365 . state: abse │ │ │ -001c0840: 6e74 0a20 2074 6167 733a 0a20 202d 2050 nt. tags:. - P │ │ │ -001c0850: 4349 2d44 5353 7634 2d32 2e32 0a20 202d CI-DSSv4-2.2. - │ │ │ -001c0860: 2050 4349 2d44 5353 7634 2d32 2e32 2e34 PCI-DSSv4-2.2.4 │ │ │ -001c0870: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str │ │ │ -001c0880: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co │ │ │ -001c0890: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low │ │ │ -001c08a0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. - │ │ │ -001c08b0: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity. │ │ │ -001c08c0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ -001c08d0: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package │ │ │ -001c08e0: 5f74 616c 6b5f 7265 6d6f 7665 640a 3c2f _talk_removed.Remediation An │ │ │ +001c0450: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ +001c0460: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ +001c04f0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +001c0510: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +001c0520: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001c0530: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +001c0540: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +001c0560: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ +001c0590: 636f 6465 3e2d 206e 616d 653a 2045 6e73  code>- name: Ens
│ │ │ +001c05a0: 7572 6520 7461 6c6b 2069 7320 7265 6d6f  ure talk is remo
│ │ │ +001c05b0: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ +001c05c0: 2020 206e 616d 653a 2074 616c 6b0a 2020     name: talk.  
│ │ │ +001c05d0: 2020 7374 6174 653a 2061 6273 656e 740a    state: absent.
│ │ │ +001c05e0: 2020 7461 6773 3a0a 2020 2d20 5043 492d    tags:.  - PCI-
│ │ │ +001c05f0: 4453 5376 342d 322e 320a 2020 2d20 5043  DSSv4-2.2.  - PC
│ │ │ +001c0600: 492d 4453 5376 342d 322e 322e 340a 2020  I-DSSv4-2.2.4.  
│ │ │ +001c0610: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ +001c0620: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +001c0630: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +001c0640: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +001c0650: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +001c0660: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +001c0670: 640a 2020 2d20 7061 636b 6167 655f 7461  d.  - package_ta
│ │ │ +001c0680: 6c6b 5f72 656d 6f76 6564 0a3c 2f63 6f64  lk_removed.
Re │ │ │ +001c0740: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ +001c0750: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +001c0760: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ +001c0830: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +001c0840: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +001c0890: 696e 636c 7564 6520 7265 6d6f 7665 5f74  include remove_t
│ │ │ +001c08a0: 616c 6b0a 0a63 6c61 7373 2072 656d 6f76  alk..class remov
│ │ │ +001c08b0: 655f 7461 6c6b 207b 0a20 2070 6163 6b61  e_talk {.  packa
│ │ │ +001c08c0: 6765 207b 2027 7461 6c6b 273a 0a20 2020  ge { 'talk':.   
│ │ │ +001c08d0: 2065 6e73 7572 6520 3d26 6774 3b20 2770   ensure => 'p
│ │ │ +001c08e0: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f  urged',.  }.}.
Remediation P │ │ │ -001c1b70: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ -001c1b80: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ -001c1c40: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001c1c50: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
Complexity:low
Disrup │ │ │ +001c0810: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +001c0820: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +001c0860: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +001c0870: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity │ │ │ -001c1c10: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ -001c1c30: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ -001c1c60: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ -001c1c80: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ -001c1cb0: 636f 6465 3e69 6e63 6c75 6465 2072 656d  code>include rem
│ │ │ -001c1cc0: 6f76 655f 7465 6c6e 6574 0a0a 636c 6173  ove_telnet..clas
│ │ │ -001c1cd0: 7320 7265 6d6f 7665 5f74 656c 6e65 7420  s remove_telnet 
│ │ │ -001c1ce0: 7b0a 2020 7061 636b 6167 6520 7b20 2774  {.  package { 't
│ │ │ -001c1cf0: 656c 6e65 7427 3a0a 2020 2020 656e 7375  elnet':.    ensu
│ │ │ -001c1d00: 7265 203d 2667 743b 2027 7075 7267 6564  re => 'purged
│ │ │ -001c1d10: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │ -001c1d20: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ -001c1dd0: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible │ │ │ -001c1de0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -001c1df0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ -001c1e80: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
-
│ │ │ -001c1f20: 206e 616d 653a 2045 6e73 7572 6520 7465   name: Ensure te
│ │ │ -001c1f30: 6c6e 6574 2069 7320 7265 6d6f 7665 640a  lnet is removed.
│ │ │ -001c1f40: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ -001c1f50: 616d 653a 2074 656c 6e65 740a 2020 2020  ame: telnet.    
│ │ │ -001c1f60: 7374 6174 653a 2061 6273 656e 740a 2020  state: absent.  
│ │ │ -001c1f70: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ -001c1f80: 3030 2d31 3731 2d33 2e31 2e31 330a 2020  00-171-3.1.13.  
│ │ │ -001c1f90: 2d20 5043 492d 4453 5376 342d 322e 320a  - PCI-DSSv4-2.2.
│ │ │ -001c1fa0: 2020 2d20 5043 492d 4453 5376 342d 322e    - PCI-DSSv4-2.
│ │ │ -001c1fb0: 322e 340a 2020 2d20 6469 7361 626c 655f  2.4.  - disable_
│ │ │ -001c1fc0: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -001c1fd0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -001c1fe0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -001c1ff0: 202d 206c 6f77 5f73 6576 6572 6974 790a   - low_severity.
│ │ │ -001c2000: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -001c2010: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -001c2020: 5f74 656c 6e65 745f 7265 6d6f 7665 640a  _telnet_removed.
│ │ │ +001c1b60: 2122 3e52 656d 6564 6961 7469 6f6e 2041  !">Remediation A
│ │ │ +001c1b70: 6e73 6962 6c65 2073 6e69 7070 6574 20e2  nsible snippet .
│ │ │ +001c1b80: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063  ..
< │ │ │ +001c1c00: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ +001c1c40: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 disable
│ │ │ -001c1e70: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -001c1ea0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -001c1eb0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -001c1ef0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ -001c1f00: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexit │ │ │ +001c1c10: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ +001c1c30: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ +001c1c60: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +001c1c80: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
│ │ │ +001c1cb0: 3c63 6f64 653e 2d20 6e61 6d65 3a20 456e  - name: En
│ │ │ +001c1cc0: 7375 7265 2074 656c 6e65 7420 6973 2072  sure telnet is r
│ │ │ +001c1cd0: 656d 6f76 6564 0a20 2070 6163 6b61 6765  emoved.  package
│ │ │ +001c1ce0: 3a0a 2020 2020 6e61 6d65 3a20 7465 6c6e  :.    name: teln
│ │ │ +001c1cf0: 6574 0a20 2020 2073 7461 7465 3a20 6162  et.    state: ab
│ │ │ +001c1d00: 7365 6e74 0a20 2074 6167 733a 0a20 202d  sent.  tags:.  -
│ │ │ +001c1d10: 204e 4953 542d 3830 302d 3137 312d 332e   NIST-800-171-3.
│ │ │ +001c1d20: 312e 3133 0a20 202d 2050 4349 2d44 5353  1.13.  - PCI-DSS
│ │ │ +001c1d30: 7634 2d32 2e32 0a20 202d 2050 4349 2d44  v4-2.2.  - PCI-D
│ │ │ +001c1d40: 5353 7634 2d32 2e32 2e34 0a20 202d 2064  SSv4-2.2.4.  - d
│ │ │ +001c1d50: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ +001c1d60: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +001c1d70: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +001c1d80: 7074 696f 6e0a 2020 2d20 6c6f 775f 7365  ption.  - low_se
│ │ │ +001c1d90: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +001c1da0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +001c1db0: 7061 636b 6167 655f 7465 6c6e 6574 5f72  package_telnet_r
│ │ │ +001c1dc0: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f  emoved.
Remedi │ │ │ +001c1e80: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ +001c1e90: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +001c1ea0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +001c1f20: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +001c1f50: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +001c1f70: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +001c1f80: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +001c1fa0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +001c1fb0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +001c1fd0: 7564 6520 7265 6d6f 7665 5f74 656c 6e65  ude remove_telne
│ │ │ +001c1fe0: 740a 0a63 6c61 7373 2072 656d 6f76 655f  t..class remove_
│ │ │ +001c1ff0: 7465 6c6e 6574 207b 0a20 2070 6163 6b61  telnet {.  packa
│ │ │ +001c2000: 6765 207b 2027 7465 6c6e 6574 273a 0a20  ge { 'telnet':. 
│ │ │ +001c2010: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ +001c2020: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a  'purged',.  }.}.
│ │ │  001c2030: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation Pup │ │ │ -001c2b60: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ -001c2b70: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -001c2bf0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -001c2c10: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -001c2c60: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -001c2c90: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -001c2c00: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -001c2c20: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -001c2c70: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -001c2c80: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ -001c2cb0: 655f 7273 796e 630a 0a63 6c61 7373 2072  e_rsync..class r
│ │ │ -001c2cc0: 656d 6f76 655f 7273 796e 6320 7b0a 2020  emove_rsync {.  
│ │ │ -001c2cd0: 7061 636b 6167 6520 7b20 2772 7379 6e63  package { 'rsync
│ │ │ -001c2ce0: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ -001c2cf0: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ -001c2d00: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ -001c2dc0: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -001c2dd0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001c2e80: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -001c2ea0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -001c2ed0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -001c2e60: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -001c2e70: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -001c2e90: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -001c2eb0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -001c2ec0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -001c2f00: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -001c2f10: 3a20 456e 7375 7265 2072 7379 6e63 2069 : Ensure rsync i │ │ │ -001c2f20: 7320 7265 6d6f 7665 640a 2020 7061 636b s removed. pack │ │ │ -001c2f30: 6167 653a 0a20 2020 206e 616d 653a 2072 age:. name: r │ │ │ -001c2f40: 7379 6e63 0a20 2020 2073 7461 7465 3a20 sync. state: │ │ │ -001c2f50: 6162 7365 6e74 0a20 2074 6167 733a 0a20 absent. tags:. │ │ │ -001c2f60: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat │ │ │ -001c2f70: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp │ │ │ -001c2f80: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d │ │ │ -001c2f90: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me │ │ │ -001c2fa0: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity. │ │ │ -001c2fb0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need │ │ │ -001c2fc0: 6564 0a20 202d 2070 6163 6b61 6765 5f72 ed. - package_r │ │ │ -001c2fd0: 7379 6e63 5f72 656d 6f76 6564 0a3c 2f63 sync_removed.Remediation Ans │ │ │ +001c2b60: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ +001c2b70: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ +001c2c00: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +001c2c20: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +001c2c40: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +001c2c70: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +001c2c80: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Ensu
│ │ │ +001c2cb0: 7265 2072 7379 6e63 2069 7320 7265 6d6f  re rsync is remo
│ │ │ +001c2cc0: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ +001c2cd0: 2020 206e 616d 653a 2072 7379 6e63 0a20     name: rsync. 
│ │ │ +001c2ce0: 2020 2073 7461 7465 3a20 6162 7365 6e74     state: absent
│ │ │ +001c2cf0: 0a20 2074 6167 733a 0a20 202d 2064 6973  .  tags:.  - dis
│ │ │ +001c2d00: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +001c2d10: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +001c2d20: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +001c2d30: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ +001c2d40: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +001c2d50: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +001c2d60: 2070 6163 6b61 6765 5f72 7379 6e63 5f72   package_rsync_r
│ │ │ +001c2d70: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f  emoved.
Remedi │ │ │ +001c2e30: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ +001c2e40: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +001c2e50: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +001c2ed0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +001c2f00: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +001c2f20: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +001c2f30: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +001c2f50: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +001c2f60: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +001c2f80: 7564 6520 7265 6d6f 7665 5f72 7379 6e63  ude remove_rsync
│ │ │ +001c2f90: 0a0a 636c 6173 7320 7265 6d6f 7665 5f72  ..class remove_r
│ │ │ +001c2fa0: 7379 6e63 207b 0a20 2070 6163 6b61 6765  sync {.  package
│ │ │ +001c2fb0: 207b 2027 7273 796e 6327 3a0a 2020 2020   { 'rsync':.    
│ │ │ +001c2fc0: 656e 7375 7265 203d 2667 743b 2027 7075  ensure => 'pu
│ │ │ +001c2fd0: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63  rged',.  }.}.
│ │ │ 001c2ff0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Remediation │ │ │ -001c4560: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -001c4570: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -001c45f0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -001c4600: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ -001c4620: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ -001c4630: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ -001c4650: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ -001c4670: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ -001c46a0: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ -001c46b0: 6d6f 7665 5f63 7570 730a 0a63 6c61 7373  move_cups..class
│ │ │ -001c46c0: 2072 656d 6f76 655f 6375 7073 207b 0a20   remove_cups {. 
│ │ │ -001c46d0: 2070 6163 6b61 6765 207b 2027 6375 7073   package { 'cups
│ │ │ -001c46e0: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ -001c46f0: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ -001c4700: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ -001c47c0: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -001c47d0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001c4880: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -001c48a0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -001c48d0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -001c4860: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -001c4870: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -001c4890: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -001c48b0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -001c48c0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -001c4900: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -001c4910: 3a20 456e 7375 7265 2063 7570 7320 6973 : Ensure cups is │ │ │ -001c4920: 2072 656d 6f76 6564 0a20 2070 6163 6b61 removed. packa │ │ │ -001c4930: 6765 3a0a 2020 2020 6e61 6d65 3a20 6375 ge:. name: cu │ │ │ -001c4940: 7073 0a20 2020 2073 7461 7465 3a20 6162 ps. state: ab │ │ │ -001c4950: 7365 6e74 0a20 2074 6167 733a 0a20 202d sent. tags:. - │ │ │ -001c4960: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM- │ │ │ -001c4970: 3628 6129 0a20 202d 204e 4953 542d 3830 6(a). - NIST-80 │ │ │ -001c4980: 302d 3533 2d43 4d2d 3728 6129 0a20 202d 0-53-CM-7(a). - │ │ │ -001c4990: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM- │ │ │ -001c49a0: 3728 6229 0a20 202d 2064 6973 6162 6c65 7(b). - disable │ │ │ -001c49b0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo │ │ │ -001c49c0: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. - │ │ │ -001c49d0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption. │ │ │ -001c49e0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ -001c49f0: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package │ │ │ -001c4a00: 5f63 7570 735f 7265 6d6f 7665 640a 2020 _cups_removed. │ │ │ -001c4a10: 2d20 756e 6b6e 6f77 6e5f 7365 7665 7269 - unknown_severi │ │ │ -001c4a20: 7479 0a3c 2f63 6f64 653e 3c2f 7072 653e ty. │ │ │ +001c4560: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ +001c4570: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +001c45f0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +001c4600: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +001c4610: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +001c4650: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +001c4660: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +001c4680: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +001c4690: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: E
│ │ │ +001c46b0: 6e73 7572 6520 6375 7073 2069 7320 7265  nsure cups is re
│ │ │ +001c46c0: 6d6f 7665 640a 2020 7061 636b 6167 653a  moved.  package:
│ │ │ +001c46d0: 0a20 2020 206e 616d 653a 2063 7570 730a  .    name: cups.
│ │ │ +001c46e0: 2020 2020 7374 6174 653a 2061 6273 656e      state: absen
│ │ │ +001c46f0: 740a 2020 7461 6773 3a0a 2020 2d20 4e49  t.  tags:.  - NI
│ │ │ +001c4700: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +001c4710: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +001c4720: 332d 434d 2d37 2861 290a 2020 2d20 4e49  3-CM-7(a).  - NI
│ │ │ +001c4730: 5354 2d38 3030 2d35 332d 434d 2d37 2862  ST-800-53-CM-7(b
│ │ │ +001c4740: 290a 2020 2d20 6469 7361 626c 655f 7374  ).  - disable_st
│ │ │ +001c4750: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +001c4760: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +001c4770: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +001c4780: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +001c4790: 640a 2020 2d20 7061 636b 6167 655f 6375  d.  - package_cu
│ │ │ +001c47a0: 7073 5f72 656d 6f76 6564 0a20 202d 2075  ps_removed.  - u
│ │ │ +001c47b0: 6e6b 6e6f 776e 5f73 6576 6572 6974 790a  nknown_severity.
│ │ │ +001c47c0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation P │ │ │ +001c4880: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ +001c4890: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ +001c4920: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +001c4940: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +001c4950: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001c4960: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +001c4970: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +001c4990: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ +001c49c0: 636f 6465 3e69 6e63 6c75 6465 2072 656d  code>include rem
│ │ │ +001c49d0: 6f76 655f 6375 7073 0a0a 636c 6173 7320  ove_cups..class 
│ │ │ +001c49e0: 7265 6d6f 7665 5f63 7570 7320 7b0a 2020  remove_cups {.  
│ │ │ +001c49f0: 7061 636b 6167 6520 7b20 2763 7570 7327  package { 'cups'
│ │ │ +001c4a00: 3a0a 2020 2020 656e 7375 7265 203d 2667  :.    ensure =&g
│ │ │ +001c4a10: 743b 2027 7075 7267 6564 272c 0a20 207d  t; 'purged',.  }
│ │ │ +001c4a20: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ 001c4a30: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
R │ │ │ -001c5a40: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui │ │ │ -001c5a50: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni │ │ │ -001c5a60: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001c5a70: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
.[
│ │ │ -001c5ab0: 6375 7374 6f6d 697a 6174 696f 6e73 2e73  customizations.s
│ │ │ -001c5ac0: 6572 7669 6365 735d 0a6d 6173 6b65 6420  ervices].masked 
│ │ │ -001c5ad0: 3d20 5b22 6375 7073 225d 0a3c 2f63 6f64  = ["cups"].
Re │ │ │ -001c5b90: 6d65 6469 6174 696f 6e20 4b75 6265 726e mediation Kubern │ │ │ -001c5ba0: 6574 6573 2073 6e69 7070 6574 20e2 87b2 etes snippet ... │ │ │ -001c5bb0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ -001c5c40: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -001c5c60: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:mediumReboot │ │ │ -001c5c90: 3a3c 2f74 683e 3c74 643e 7472 7565 3c2f :true │ │ │ -001c5cb0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ -001c5ce0: 3c63 6f64 653e 6170 6956 6572 7369 6f6e  apiVersion
│ │ │ -001c5cf0: 3a20 6d61 6368 696e 6563 6f6e 6669 6775  : machineconfigu
│ │ │ -001c5d00: 7261 7469 6f6e 2e6f 7065 6e73 6869 6674  ration.openshift
│ │ │ -001c5d10: 2e69 6f2f 7631 0a6b 696e 643a 204d 6163  .io/v1.kind: Mac
│ │ │ -001c5d20: 6869 6e65 436f 6e66 6967 0a73 7065 633a  hineConfig.spec:
│ │ │ -001c5d30: 0a20 2063 6f6e 6669 673a 0a20 2020 2069  .  config:.    i
│ │ │ -001c5d40: 676e 6974 696f 6e3a 0a20 2020 2020 2076  gnition:.      v
│ │ │ -001c5d50: 6572 7369 6f6e 3a20 332e 312e 300a 2020  ersion: 3.1.0.  
│ │ │ -001c5d60: 2020 7379 7374 656d 643a 0a20 2020 2020    systemd:.     
│ │ │ -001c5d70: 2075 6e69 7473 3a0a 2020 2020 2020 2d20   units:.      - 
│ │ │ -001c5d80: 6e61 6d65 3a20 6375 7073 2e73 6572 7669  name: cups.servi
│ │ │ -001c5d90: 6365 0a20 2020 2020 2020 2065 6e61 626c  ce.        enabl
│ │ │ -001c5da0: 6564 3a20 6661 6c73 650a 2020 2020 2020  ed: false.      
│ │ │ -001c5db0: 2020 6d61 736b 3a20 7472 7565 0a20 2020    mask: true.   
│ │ │ -001c5dc0: 2020 202d 206e 616d 653a 2063 7570 732e     - name: cups.
│ │ │ -001c5dd0: 736f 636b 6574 0a20 2020 2020 2020 2065  socket.        e
│ │ │ -001c5de0: 6e61 626c 6564 3a20 6661 6c73 650a 2020  nabled: false.  
│ │ │ -001c5df0: 2020 2020 2020 6d61 736b 3a20 7472 7565        mask: true
│ │ │ -001c5e00: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -001c5ec0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -001c5ed0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -001c5f50: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -001c5f60: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ -001c5f80: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ -001c5f90: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ -001c5fb0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ -001c5fd0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:enable
<
│ │ │ -001c6000: 636f 6465 3e69 6e63 6c75 6465 2064 6973  code>include dis
│ │ │ -001c6010: 6162 6c65 5f63 7570 730a 0a63 6c61 7373  able_cups..class
│ │ │ -001c6020: 2064 6973 6162 6c65 5f63 7570 7320 7b0a   disable_cups {.
│ │ │ -001c6030: 2020 7365 7276 6963 6520 7b27 6375 7073    service {'cups
│ │ │ -001c6040: 273a 0a20 2020 2065 6e61 626c 6520 3d26  ':.    enable =&
│ │ │ -001c6050: 6774 3b20 6661 6c73 652c 0a20 2020 2065  gt; false,.    e
│ │ │ -001c6060: 6e73 7572 6520 3d26 6774 3b20 2773 746f  nsure => 'sto
│ │ │ -001c6070: 7070 6564 272c 0a20 207d 0a7d 0a3c 2f63  pped',.  }.}.
│ │ │ -001c6090: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ -001c6130: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi │ │ │ -001c6140: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...< │ │ │ -001c6150: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -001c61d0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -001c61f0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -001c6240: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -001c6270: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -001c61e0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -001c6200: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -001c6250: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -001c6260: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
- name: Gathe
│ │ │ -001c6290: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ -001c62a0: 6374 730a 2020 7061 636b 6167 655f 6661  cts.  package_fa
│ │ │ -001c62b0: 6374 733a 0a20 2020 206d 616e 6167 6572  cts:.    manager
│ │ │ -001c62c0: 3a20 6175 746f 0a20 2074 6167 733a 0a20  : auto.  tags:. 
│ │ │ -001c62d0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -001c62e0: 4d2d 3628 6129 0a20 202d 204e 4953 542d  M-6(a).  - NIST-
│ │ │ -001c62f0: 3830 302d 3533 2d43 4d2d 3728 6129 0a20  800-53-CM-7(a). 
│ │ │ -001c6300: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -001c6310: 4d2d 3728 6229 0a20 202d 2064 6973 6162  M-7(b).  - disab
│ │ │ -001c6320: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -001c6330: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -001c6340: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -001c6350: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f  n.  - no_reboot_
│ │ │ -001c6360: 6e65 6564 6564 0a20 202d 2073 6572 7669  needed.  - servi
│ │ │ -001c6370: 6365 5f63 7570 735f 6469 7361 626c 6564  ce_cups_disabled
│ │ │ -001c6380: 0a20 202d 2075 6e6b 6e6f 776e 5f73 6576  .  - unknown_sev
│ │ │ -001c6390: 6572 6974 790a 0a2d 206e 616d 653a 2044  erity..- name: D
│ │ │ -001c63a0: 6973 6162 6c65 2074 6865 2043 5550 5320  isable the CUPS 
│ │ │ -001c63b0: 5365 7276 6963 6520 2d20 436f 6c6c 6563  Service - Collec
│ │ │ -001c63c0: 7420 7379 7374 656d 6420 5365 7276 6963  t systemd Servic
│ │ │ -001c63d0: 6573 2050 7265 7365 6e74 2069 6e20 7468  es Present in th
│ │ │ -001c63e0: 6520 5379 7374 656d 0a20 2061 6e73 6962  e System.  ansib
│ │ │ -001c63f0: 6c65 2e62 7569 6c74 696e 2e63 6f6d 6d61  le.builtin.comma
│ │ │ -001c6400: 6e64 3a20 7379 7374 656d 6374 6c20 2d71  nd: systemctl -q
│ │ │ -001c6410: 206c 6973 742d 756e 6974 2d66 696c 6573   list-unit-files
│ │ │ -001c6420: 202d 2d74 7970 6520 7365 7276 6963 650a   --type service.
│ │ │ -001c6430: 2020 7265 6769 7374 6572 3a20 7365 7276    register: serv
│ │ │ -001c6440: 6963 655f 6578 6973 7473 0a20 2063 6861  ice_exists.  cha
│ │ │ -001c6450: 6e67 6564 5f77 6865 6e3a 2066 616c 7365  nged_when: false
│ │ │ -001c6460: 0a20 2066 6169 6c65 645f 7768 656e 3a20  .  failed_when: 
│ │ │ -001c6470: 7365 7276 6963 655f 6578 6973 7473 2e72  service_exists.r
│ │ │ -001c6480: 6320 6e6f 7420 696e 205b 302c 2031 5d0a  c not in [0, 1].
│ │ │ -001c6490: 2020 6368 6563 6b5f 6d6f 6465 3a20 6661    check_mode: fa
│ │ │ -001c64a0: 6c73 650a 2020 7768 656e 3a20 2722 6c69  lse.  when: '"li
│ │ │ -001c64b0: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ -001c64c0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -001c64d0: 6765 7327 0a20 2074 6167 733a 0a20 202d  ges'.  tags:.  -
│ │ │ -001c64e0: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -001c64f0: 3628 6129 0a20 202d 204e 4953 542d 3830  6(a).  - NIST-80
│ │ │ -001c6500: 302d 3533 2d43 4d2d 3728 6129 0a20 202d  0-53-CM-7(a).  -
│ │ │ -001c6510: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -001c6520: 3728 6229 0a20 202d 2064 6973 6162 6c65  7(b).  - disable
│ │ │ -001c6530: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ -001c6540: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -001c6550: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -001c6560: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -001c6570: 6564 6564 0a20 202d 2073 6572 7669 6365  eded.  - service
│ │ │ -001c6580: 5f63 7570 735f 6469 7361 626c 6564 0a20  _cups_disabled. 
│ │ │ -001c6590: 202d 2075 6e6b 6e6f 776e 5f73 6576 6572   - unknown_sever
│ │ │ -001c65a0: 6974 790a 0a2d 206e 616d 653a 2044 6973  ity..- name: Dis
│ │ │ -001c65b0: 6162 6c65 2074 6865 2043 5550 5320 5365  able the CUPS Se
│ │ │ -001c65c0: 7276 6963 6520 2d20 456e 7375 7265 2063  rvice - Ensure c
│ │ │ -001c65d0: 7570 732e 7365 7276 6963 6520 6973 204d  ups.service is M
│ │ │ -001c65e0: 6173 6b65 640a 2020 616e 7369 626c 652e  asked.  ansible.
│ │ │ -001c65f0: 6275 696c 7469 6e2e 7379 7374 656d 643a  builtin.systemd:
│ │ │ -001c6600: 0a20 2020 206e 616d 653a 2063 7570 732e  .    name: cups.
│ │ │ -001c6610: 7365 7276 6963 650a 2020 2020 7374 6174  service.    stat
│ │ │ -001c6620: 653a 2073 746f 7070 6564 0a20 2020 2065  e: stopped.    e
│ │ │ -001c6630: 6e61 626c 6564 3a20 6661 6c73 650a 2020  nabled: false.  
│ │ │ -001c6640: 2020 6d61 736b 6564 3a20 7472 7565 0a20    masked: true. 
│ │ │ -001c6650: 2077 6865 6e3a 0a20 202d 2027 226c 696e   when:.  - '"lin
│ │ │ -001c6660: 7578 2d62 6173 6522 2069 6e20 616e 7369  ux-base" in ansi
│ │ │ -001c6670: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -001c6680: 6573 270a 2020 2d20 7365 7276 6963 655f  es'.  - service_
│ │ │ -001c6690: 6578 6973 7473 2e73 7464 6f75 745f 6c69  exists.stdout_li
│ │ │ -001c66a0: 6e65 7320 6973 2073 6561 7263 6828 2263  nes is search("c
│ │ │ -001c66b0: 7570 732e 7365 7276 6963 6522 2c20 6d75  ups.service", mu
│ │ │ -001c66c0: 6c74 696c 696e 653d 5472 7565 290a 2020  ltiline=True).  
│ │ │ -001c66d0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ -001c66e0: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ -001c66f0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -001c6700: 2d37 2861 290a 2020 2d20 4e49 5354 2d38  -7(a).  - NIST-8
│ │ │ -001c6710: 3030 2d35 332d 434d 2d37 2862 290a 2020  00-53-CM-7(b).  
│ │ │ -001c6720: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ -001c6730: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ -001c6740: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -001c6750: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f  sruption.  - no_
│ │ │ -001c6760: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -001c6770: 2d20 7365 7276 6963 655f 6375 7073 5f64  - service_cups_d
│ │ │ -001c6780: 6973 6162 6c65 640a 2020 2d20 756e 6b6e  isabled.  - unkn
│ │ │ -001c6790: 6f77 6e5f 7365 7665 7269 7479 0a0a 2d20  own_severity..- 
│ │ │ -001c67a0: 6e61 6d65 3a20 556e 6974 2053 6f63 6b65  name: Unit Socke
│ │ │ -001c67b0: 7420 4578 6973 7473 202d 2063 7570 732e  t Exists - cups.
│ │ │ -001c67c0: 736f 636b 6574 0a20 2061 6e73 6962 6c65  socket.  ansible
│ │ │ -001c67d0: 2e62 7569 6c74 696e 2e63 6f6d 6d61 6e64  .builtin.command
│ │ │ -001c67e0: 3a20 7379 7374 656d 6374 6c20 2d71 206c  : systemctl -q l
│ │ │ -001c67f0: 6973 742d 756e 6974 2d66 696c 6573 2063  ist-unit-files c
│ │ │ -001c6800: 7570 732e 736f 636b 6574 0a20 2072 6567  ups.socket.  reg
│ │ │ -001c6810: 6973 7465 723a 2073 6f63 6b65 745f 6669  ister: socket_fi
│ │ │ -001c6820: 6c65 5f65 7869 7374 730a 2020 6368 616e  le_exists.  chan
│ │ │ -001c6830: 6765 645f 7768 656e 3a20 6661 6c73 650a  ged_when: false.
│ │ │ -001c6840: 2020 6661 696c 6564 5f77 6865 6e3a 2073    failed_when: s
│ │ │ -001c6850: 6f63 6b65 745f 6669 6c65 5f65 7869 7374  ocket_file_exist
│ │ │ -001c6860: 732e 7263 206e 6f74 2069 6e20 5b30 2c20  s.rc not in [0, 
│ │ │ -001c6870: 315d 0a20 2063 6865 636b 5f6d 6f64 653a  1].  check_mode:
│ │ │ -001c6880: 2066 616c 7365 0a20 2077 6865 6e3a 2027   false.  when: '
│ │ │ -001c6890: 226c 696e 7578 2d62 6173 6522 2069 6e20  "linux-base" in 
│ │ │ -001c68a0: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -001c68b0: 636b 6167 6573 270a 2020 7461 6773 3a0a  ckages'.  tags:.
│ │ │ -001c68c0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -001c68d0: 434d 2d36 2861 290a 2020 2d20 4e49 5354  CM-6(a).  - NIST
│ │ │ -001c68e0: 2d38 3030 2d35 332d 434d 2d37 2861 290a  -800-53-CM-7(a).
│ │ │ -001c68f0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -001c6900: 434d 2d37 2862 290a 2020 2d20 6469 7361  CM-7(b).  - disa
│ │ │ -001c6910: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -001c6920: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -001c6930: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -001c6940: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74  on.  - no_reboot
│ │ │ -001c6950: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ -001c6960: 6963 655f 6375 7073 5f64 6973 6162 6c65  ice_cups_disable
│ │ │ -001c6970: 640a 2020 2d20 756e 6b6e 6f77 6e5f 7365  d.  - unknown_se
│ │ │ -001c6980: 7665 7269 7479 0a0a 2d20 6e61 6d65 3a20  verity..- name: 
│ │ │ -001c6990: 4469 7361 626c 6520 7468 6520 4355 5053  Disable the CUPS
│ │ │ -001c69a0: 2053 6572 7669 6365 202d 2044 6973 6162   Service - Disab
│ │ │ -001c69b0: 6c65 2053 6f63 6b65 7420 6375 7073 0a20  le Socket cups. 
│ │ │ -001c69c0: 2061 6e73 6962 6c65 2e62 7569 6c74 696e   ansible.builtin
│ │ │ -001c69d0: 2e73 7973 7465 6d64 3a0a 2020 2020 6e61  .systemd:.    na
│ │ │ -001c69e0: 6d65 3a20 6375 7073 2e73 6f63 6b65 740a  me: cups.socket.
│ │ │ -001c69f0: 2020 2020 656e 6162 6c65 643a 2066 616c      enabled: fal
│ │ │ -001c6a00: 7365 0a20 2020 2073 7461 7465 3a20 7374  se.    state: st
│ │ │ -001c6a10: 6f70 7065 640a 2020 2020 6d61 736b 6564  opped.    masked
│ │ │ -001c6a20: 3a20 7472 7565 0a20 2077 6865 6e3a 0a20  : true.  when:. 
│ │ │ -001c6a30: 202d 2027 226c 696e 7578 2d62 6173 6522   - '"linux-base"
│ │ │ -001c6a40: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ -001c6a50: 732e 7061 636b 6167 6573 270a 2020 2d20  s.packages'.  - 
│ │ │ -001c6a60: 736f 636b 6574 5f66 696c 655f 6578 6973  socket_file_exis
│ │ │ -001c6a70: 7473 2e73 7464 6f75 745f 6c69 6e65 7320  ts.stdout_lines 
│ │ │ -001c6a80: 6973 2073 6561 7263 6828 2263 7570 732e  is search("cups.
│ │ │ -001c6a90: 736f 636b 6574 222c 206d 756c 7469 6c69  socket", multili
│ │ │ -001c6aa0: 6e65 3d54 7275 6529 0a20 2074 6167 733a  ne=True).  tags:
│ │ │ -001c6ab0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -001c6ac0: 2d43 4d2d 3628 6129 0a20 202d 204e 4953  -CM-6(a).  - NIS
│ │ │ -001c6ad0: 542d 3830 302d 3533 2d43 4d2d 3728 6129  T-800-53-CM-7(a)
│ │ │ -001c6ae0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -001c6af0: 2d43 4d2d 3728 6229 0a20 202d 2064 6973  -CM-7(b).  - dis
│ │ │ -001c6b00: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -001c6b10: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -001c6b20: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -001c6b30: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f  ion.  - no_reboo
│ │ │ -001c6b40: 745f 6e65 6564 6564 0a20 202d 2073 6572  t_needed.  - ser
│ │ │ -001c6b50: 7669 6365 5f63 7570 735f 6469 7361 626c  vice_cups_disabl
│ │ │ -001c6b60: 6564 0a20 202d 2075 6e6b 6e6f 776e 5f73  ed.  - unknown_s
│ │ │ -001c6b70: 6576 6572 6974 790a 3c2f 636f 6465 3e3c  everity.<
│ │ │ +001c5a40: 656d 6564 6961 7469 6f6e 2041 6e73 6962  emediation Ansib
│ │ │ +001c5a50: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f  le snippet ...
< │ │ │ +001c5ae0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +001c5b00: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +001c5b50: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +001c5b80: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Gather
│ │ │ +001c5ba0: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ +001c5bb0: 7473 0a20 2070 6163 6b61 6765 5f66 6163  ts.  package_fac
│ │ │ +001c5bc0: 7473 3a0a 2020 2020 6d61 6e61 6765 723a  ts:.    manager:
│ │ │ +001c5bd0: 2061 7574 6f0a 2020 7461 6773 3a0a 2020   auto.  tags:.  
│ │ │ +001c5be0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +001c5bf0: 2d36 2861 290a 2020 2d20 4e49 5354 2d38  -6(a).  - NIST-8
│ │ │ +001c5c00: 3030 2d35 332d 434d 2d37 2861 290a 2020  00-53-CM-7(a).  
│ │ │ +001c5c10: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +001c5c20: 2d37 2862 290a 2020 2d20 6469 7361 626c  -7(b).  - disabl
│ │ │ +001c5c30: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ +001c5c40: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +001c5c50: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +001c5c60: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +001c5c70: 6565 6465 640a 2020 2d20 7365 7276 6963  eeded.  - servic
│ │ │ +001c5c80: 655f 6375 7073 5f64 6973 6162 6c65 640a  e_cups_disabled.
│ │ │ +001c5c90: 2020 2d20 756e 6b6e 6f77 6e5f 7365 7665    - unknown_seve
│ │ │ +001c5ca0: 7269 7479 0a0a 2d20 6e61 6d65 3a20 4469  rity..- name: Di
│ │ │ +001c5cb0: 7361 626c 6520 7468 6520 4355 5053 2053  sable the CUPS S
│ │ │ +001c5cc0: 6572 7669 6365 202d 2043 6f6c 6c65 6374  ervice - Collect
│ │ │ +001c5cd0: 2073 7973 7465 6d64 2053 6572 7669 6365   systemd Service
│ │ │ +001c5ce0: 7320 5072 6573 656e 7420 696e 2074 6865  s Present in the
│ │ │ +001c5cf0: 2053 7973 7465 6d0a 2020 616e 7369 626c   System.  ansibl
│ │ │ +001c5d00: 652e 6275 696c 7469 6e2e 636f 6d6d 616e  e.builtin.comman
│ │ │ +001c5d10: 643a 2073 7973 7465 6d63 746c 202d 7120  d: systemctl -q 
│ │ │ +001c5d20: 6c69 7374 2d75 6e69 742d 6669 6c65 7320  list-unit-files 
│ │ │ +001c5d30: 2d2d 7479 7065 2073 6572 7669 6365 0a20  --type service. 
│ │ │ +001c5d40: 2072 6567 6973 7465 723a 2073 6572 7669   register: servi
│ │ │ +001c5d50: 6365 5f65 7869 7374 730a 2020 6368 616e  ce_exists.  chan
│ │ │ +001c5d60: 6765 645f 7768 656e 3a20 6661 6c73 650a  ged_when: false.
│ │ │ +001c5d70: 2020 6661 696c 6564 5f77 6865 6e3a 2073    failed_when: s
│ │ │ +001c5d80: 6572 7669 6365 5f65 7869 7374 732e 7263  ervice_exists.rc
│ │ │ +001c5d90: 206e 6f74 2069 6e20 5b30 2c20 315d 0a20   not in [0, 1]. 
│ │ │ +001c5da0: 2063 6865 636b 5f6d 6f64 653a 2066 616c   check_mode: fal
│ │ │ +001c5db0: 7365 0a20 2077 6865 6e3a 2027 226c 696e  se.  when: '"lin
│ │ │ +001c5dc0: 7578 2d62 6173 6522 2069 6e20 616e 7369  ux-base" in ansi
│ │ │ +001c5dd0: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ +001c5de0: 6573 270a 2020 7461 6773 3a0a 2020 2d20  es'.  tags:.  - 
│ │ │ +001c5df0: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ +001c5e00: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ +001c5e10: 2d35 332d 434d 2d37 2861 290a 2020 2d20  -53-CM-7(a).  - 
│ │ │ +001c5e20: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ +001c5e30: 2862 290a 2020 2d20 6469 7361 626c 655f  (b).  - disable_
│ │ │ +001c5e40: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ +001c5e50: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +001c5e60: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +001c5e70: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +001c5e80: 6465 640a 2020 2d20 7365 7276 6963 655f  ded.  - service_
│ │ │ +001c5e90: 6375 7073 5f64 6973 6162 6c65 640a 2020  cups_disabled.  
│ │ │ +001c5ea0: 2d20 756e 6b6e 6f77 6e5f 7365 7665 7269  - unknown_severi
│ │ │ +001c5eb0: 7479 0a0a 2d20 6e61 6d65 3a20 4469 7361  ty..- name: Disa
│ │ │ +001c5ec0: 626c 6520 7468 6520 4355 5053 2053 6572  ble the CUPS Ser
│ │ │ +001c5ed0: 7669 6365 202d 2045 6e73 7572 6520 6375  vice - Ensure cu
│ │ │ +001c5ee0: 7073 2e73 6572 7669 6365 2069 7320 4d61  ps.service is Ma
│ │ │ +001c5ef0: 736b 6564 0a20 2061 6e73 6962 6c65 2e62  sked.  ansible.b
│ │ │ +001c5f00: 7569 6c74 696e 2e73 7973 7465 6d64 3a0a  uiltin.systemd:.
│ │ │ +001c5f10: 2020 2020 6e61 6d65 3a20 6375 7073 2e73      name: cups.s
│ │ │ +001c5f20: 6572 7669 6365 0a20 2020 2073 7461 7465  ervice.    state
│ │ │ +001c5f30: 3a20 7374 6f70 7065 640a 2020 2020 656e  : stopped.    en
│ │ │ +001c5f40: 6162 6c65 643a 2066 616c 7365 0a20 2020  abled: false.   
│ │ │ +001c5f50: 206d 6173 6b65 643a 2074 7275 650a 2020   masked: true.  
│ │ │ +001c5f60: 7768 656e 3a0a 2020 2d20 2722 6c69 6e75  when:.  - '"linu
│ │ │ +001c5f70: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ +001c5f80: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +001c5f90: 7327 0a20 202d 2073 6572 7669 6365 5f65  s'.  - service_e
│ │ │ +001c5fa0: 7869 7374 732e 7374 646f 7574 5f6c 696e  xists.stdout_lin
│ │ │ +001c5fb0: 6573 2069 7320 7365 6172 6368 2822 6375  es is search("cu
│ │ │ +001c5fc0: 7073 2e73 6572 7669 6365 222c 206d 756c  ps.service", mul
│ │ │ +001c5fd0: 7469 6c69 6e65 3d54 7275 6529 0a20 2074  tiline=True).  t
│ │ │ +001c5fe0: 6167 733a 0a20 202d 204e 4953 542d 3830  ags:.  - NIST-80
│ │ │ +001c5ff0: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ +001c6000: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +001c6010: 3728 6129 0a20 202d 204e 4953 542d 3830  7(a).  - NIST-80
│ │ │ +001c6020: 302d 3533 2d43 4d2d 3728 6229 0a20 202d  0-53-CM-7(b).  -
│ │ │ +001c6030: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ +001c6040: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +001c6050: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +001c6060: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72  ruption.  - no_r
│ │ │ +001c6070: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +001c6080: 2073 6572 7669 6365 5f63 7570 735f 6469   service_cups_di
│ │ │ +001c6090: 7361 626c 6564 0a20 202d 2075 6e6b 6e6f  sabled.  - unkno
│ │ │ +001c60a0: 776e 5f73 6576 6572 6974 790a 0a2d 206e  wn_severity..- n
│ │ │ +001c60b0: 616d 653a 2055 6e69 7420 536f 636b 6574  ame: Unit Socket
│ │ │ +001c60c0: 2045 7869 7374 7320 2d20 6375 7073 2e73   Exists - cups.s
│ │ │ +001c60d0: 6f63 6b65 740a 2020 616e 7369 626c 652e  ocket.  ansible.
│ │ │ +001c60e0: 6275 696c 7469 6e2e 636f 6d6d 616e 643a  builtin.command:
│ │ │ +001c60f0: 2073 7973 7465 6d63 746c 202d 7120 6c69   systemctl -q li
│ │ │ +001c6100: 7374 2d75 6e69 742d 6669 6c65 7320 6375  st-unit-files cu
│ │ │ +001c6110: 7073 2e73 6f63 6b65 740a 2020 7265 6769  ps.socket.  regi
│ │ │ +001c6120: 7374 6572 3a20 736f 636b 6574 5f66 696c  ster: socket_fil
│ │ │ +001c6130: 655f 6578 6973 7473 0a20 2063 6861 6e67  e_exists.  chang
│ │ │ +001c6140: 6564 5f77 6865 6e3a 2066 616c 7365 0a20  ed_when: false. 
│ │ │ +001c6150: 2066 6169 6c65 645f 7768 656e 3a20 736f   failed_when: so
│ │ │ +001c6160: 636b 6574 5f66 696c 655f 6578 6973 7473  cket_file_exists
│ │ │ +001c6170: 2e72 6320 6e6f 7420 696e 205b 302c 2031  .rc not in [0, 1
│ │ │ +001c6180: 5d0a 2020 6368 6563 6b5f 6d6f 6465 3a20  ].  check_mode: 
│ │ │ +001c6190: 6661 6c73 650a 2020 7768 656e 3a20 2722  false.  when: '"
│ │ │ +001c61a0: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ +001c61b0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +001c61c0: 6b61 6765 7327 0a20 2074 6167 733a 0a20  kages'.  tags:. 
│ │ │ +001c61d0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +001c61e0: 4d2d 3628 6129 0a20 202d 204e 4953 542d  M-6(a).  - NIST-
│ │ │ +001c61f0: 3830 302d 3533 2d43 4d2d 3728 6129 0a20  800-53-CM-7(a). 
│ │ │ +001c6200: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +001c6210: 4d2d 3728 6229 0a20 202d 2064 6973 6162  M-7(b).  - disab
│ │ │ +001c6220: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +001c6230: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +001c6240: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +001c6250: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f  n.  - no_reboot_
│ │ │ +001c6260: 6e65 6564 6564 0a20 202d 2073 6572 7669  needed.  - servi
│ │ │ +001c6270: 6365 5f63 7570 735f 6469 7361 626c 6564  ce_cups_disabled
│ │ │ +001c6280: 0a20 202d 2075 6e6b 6e6f 776e 5f73 6576  .  - unknown_sev
│ │ │ +001c6290: 6572 6974 790a 0a2d 206e 616d 653a 2044  erity..- name: D
│ │ │ +001c62a0: 6973 6162 6c65 2074 6865 2043 5550 5320  isable the CUPS 
│ │ │ +001c62b0: 5365 7276 6963 6520 2d20 4469 7361 626c  Service - Disabl
│ │ │ +001c62c0: 6520 536f 636b 6574 2063 7570 730a 2020  e Socket cups.  
│ │ │ +001c62d0: 616e 7369 626c 652e 6275 696c 7469 6e2e  ansible.builtin.
│ │ │ +001c62e0: 7379 7374 656d 643a 0a20 2020 206e 616d  systemd:.    nam
│ │ │ +001c62f0: 653a 2063 7570 732e 736f 636b 6574 0a20  e: cups.socket. 
│ │ │ +001c6300: 2020 2065 6e61 626c 6564 3a20 6661 6c73     enabled: fals
│ │ │ +001c6310: 650a 2020 2020 7374 6174 653a 2073 746f  e.    state: sto
│ │ │ +001c6320: 7070 6564 0a20 2020 206d 6173 6b65 643a  pped.    masked:
│ │ │ +001c6330: 2074 7275 650a 2020 7768 656e 3a0a 2020   true.  when:.  
│ │ │ +001c6340: 2d20 2722 6c69 6e75 782d 6261 7365 2220  - '"linux-base" 
│ │ │ +001c6350: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +001c6360: 2e70 6163 6b61 6765 7327 0a20 202d 2073  .packages'.  - s
│ │ │ +001c6370: 6f63 6b65 745f 6669 6c65 5f65 7869 7374  ocket_file_exist
│ │ │ +001c6380: 732e 7374 646f 7574 5f6c 696e 6573 2069  s.stdout_lines i
│ │ │ +001c6390: 7320 7365 6172 6368 2822 6375 7073 2e73  s search("cups.s
│ │ │ +001c63a0: 6f63 6b65 7422 2c20 6d75 6c74 696c 696e  ocket", multilin
│ │ │ +001c63b0: 653d 5472 7565 290a 2020 7461 6773 3a0a  e=True).  tags:.
│ │ │ +001c63c0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001c63d0: 434d 2d36 2861 290a 2020 2d20 4e49 5354  CM-6(a).  - NIST
│ │ │ +001c63e0: 2d38 3030 2d35 332d 434d 2d37 2861 290a  -800-53-CM-7(a).
│ │ │ +001c63f0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001c6400: 434d 2d37 2862 290a 2020 2d20 6469 7361  CM-7(b).  - disa
│ │ │ +001c6410: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +001c6420: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +001c6430: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +001c6440: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74  on.  - no_reboot
│ │ │ +001c6450: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ +001c6460: 6963 655f 6375 7073 5f64 6973 6162 6c65  ice_cups_disable
│ │ │ +001c6470: 640a 2020 2d20 756e 6b6e 6f77 6e5f 7365  d.  - unknown_se
│ │ │ +001c6480: 7665 7269 7479 0a3c 2f63 6f64 653e 3c2f  verity.Remedi
│ │ │ +001c6540: 6174 696f 6e20 4b75 6265 726e 6574 6573  ation Kubernetes
│ │ │ +001c6550: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e   snippet ...
│ │ │ +001c6560: 3c62 723e 3c64 6976 2063 6c61 7373 3d22  
low
Disr │ │ │ +001c5b10: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +001c5b20: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +001c5b60: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +001c5b70: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
< │ │ │ +001c6650: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +001c6680: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
apiVersion: ma
│ │ │ +001c66a0: 6368 696e 6563 6f6e 6669 6775 7261 7469  chineconfigurati
│ │ │ +001c66b0: 6f6e 2e6f 7065 6e73 6869 6674 2e69 6f2f  on.openshift.io/
│ │ │ +001c66c0: 7631 0a6b 696e 643a 204d 6163 6869 6e65  v1.kind: Machine
│ │ │ +001c66d0: 436f 6e66 6967 0a73 7065 633a 0a20 2063  Config.spec:.  c
│ │ │ +001c66e0: 6f6e 6669 673a 0a20 2020 2069 676e 6974  onfig:.    ignit
│ │ │ +001c66f0: 696f 6e3a 0a20 2020 2020 2076 6572 7369  ion:.      versi
│ │ │ +001c6700: 6f6e 3a20 332e 312e 300a 2020 2020 7379  on: 3.1.0.    sy
│ │ │ +001c6710: 7374 656d 643a 0a20 2020 2020 2075 6e69  stemd:.      uni
│ │ │ +001c6720: 7473 3a0a 2020 2020 2020 2d20 6e61 6d65  ts:.      - name
│ │ │ +001c6730: 3a20 6375 7073 2e73 6572 7669 6365 0a20  : cups.service. 
│ │ │ +001c6740: 2020 2020 2020 2065 6e61 626c 6564 3a20         enabled: 
│ │ │ +001c6750: 6661 6c73 650a 2020 2020 2020 2020 6d61  false.        ma
│ │ │ +001c6760: 736b 3a20 7472 7565 0a20 2020 2020 202d  sk: true.      -
│ │ │ +001c6770: 206e 616d 653a 2063 7570 732e 736f 636b   name: cups.sock
│ │ │ +001c6780: 6574 0a20 2020 2020 2020 2065 6e61 626c  et.        enabl
│ │ │ +001c6790: 6564 3a20 6661 6c73 650a 2020 2020 2020  ed: false.      
│ │ │ +001c67a0: 2020 6d61 736b 3a20 7472 7565 0a3c 2f63    mask: true.
│ │ │ +001c67c0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +001c6860: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ +001c6870: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
Complexity:low
Disrup │ │ │ +001c6610: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6d65 tion:me │ │ │ +001c6620: 6469 756d 3c2f 7464 3e3c 2f74 723e 3c74 dium
Reboot:true
Stra │ │ │ +001c6660: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +001c6670: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
< │ │ │ +001c6900: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +001c6920: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +001c6970: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
include disable
│ │ │ +001c69c0: 5f63 7570 730a 0a63 6c61 7373 2064 6973  _cups..class dis
│ │ │ +001c69d0: 6162 6c65 5f63 7570 7320 7b0a 2020 7365  able_cups {.  se
│ │ │ +001c69e0: 7276 6963 6520 7b27 6375 7073 273a 0a20  rvice {'cups':. 
│ │ │ +001c69f0: 2020 2065 6e61 626c 6520 3d26 6774 3b20     enable => 
│ │ │ +001c6a00: 6661 6c73 652c 0a20 2020 2065 6e73 7572  false,.    ensur
│ │ │ +001c6a10: 6520 3d26 6774 3b20 2773 746f 7070 6564  e => 'stopped
│ │ │ +001c6a20: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │ +001c6a30: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ +001c6ae0: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild │ │ │ +001c6af0: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe │ │ │ +001c6b00: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +001c6b40: 3c70 7265 3e3c 636f 6465 3e0a 5b63 7573
.[cus
│ │ │ +001c6b50: 746f 6d69 7a61 7469 6f6e 732e 7365 7276  tomizations.serv
│ │ │ +001c6b60: 6963 6573 5d0a 6d61 736b 6564 203d 205b  ices].masked = [
│ │ │ +001c6b70: 2263 7570 7322 5d0a 3c2f 636f 6465 3e3c  "cups"].<
│ │ │  001c6b80: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remediation Pup
│ │ │ -001c8190: 7065 7420 736e 6970 7065 7420 e287 b23c  pet snippet ...<
│ │ │ -001c81a0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173  /a>
low
Disr │ │ │ +001c6930: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +001c6940: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +001c6980: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ +001c6990: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -001c8220: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -001c8240: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -001c8290: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -001c82c0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -001c8230: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -001c8250: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -001c82a0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -001c82b0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ -001c82e0: 655f 7371 7569 640a 0a63 6c61 7373 2072  e_squid..class r
│ │ │ -001c82f0: 656d 6f76 655f 7371 7569 6420 7b0a 2020  emove_squid {.  
│ │ │ -001c8300: 7061 636b 6167 6520 7b20 2773 7175 6964  package { 'squid
│ │ │ -001c8310: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ -001c8320: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ -001c8330: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ -001c83f0: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -001c8400: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001c84b0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -001c84d0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -001c8500: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -001c8490: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -001c84a0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -001c84c0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -001c84e0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -001c84f0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -001c8530: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -001c8540: 3a20 456e 7375 7265 2073 7175 6964 2069 : Ensure squid i │ │ │ -001c8550: 7320 7265 6d6f 7665 640a 2020 7061 636b s removed. pack │ │ │ -001c8560: 6167 653a 0a20 2020 206e 616d 653a 2073 age:. name: s │ │ │ -001c8570: 7175 6964 0a20 2020 2073 7461 7465 3a20 quid. state: │ │ │ -001c8580: 6162 7365 6e74 0a20 2074 6167 733a 0a20 absent. tags:. │ │ │ -001c8590: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat │ │ │ -001c85a0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp │ │ │ -001c85b0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d │ │ │ -001c85c0: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f isruption. - no │ │ │ -001c85d0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed. │ │ │ -001c85e0: 202d 2070 6163 6b61 6765 5f73 7175 6964 - package_squid │ │ │ -001c85f0: 5f72 656d 6f76 6564 0a20 202d 2075 6e6b _removed. - unk │ │ │ -001c8600: 6e6f 776e 5f73 6576 6572 6974 790a 3c2f nown_severity.Remediation Ans │ │ │ +001c8190: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ +001c81a0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ +001c8230: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +001c8250: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +001c8270: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +001c82a0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +001c82b0: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Ensu
│ │ │ +001c82e0: 7265 2073 7175 6964 2069 7320 7265 6d6f  re squid is remo
│ │ │ +001c82f0: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ +001c8300: 2020 206e 616d 653a 2073 7175 6964 0a20     name: squid. 
│ │ │ +001c8310: 2020 2073 7461 7465 3a20 6162 7365 6e74     state: absent
│ │ │ +001c8320: 0a20 2074 6167 733a 0a20 202d 2064 6973  .  tags:.  - dis
│ │ │ +001c8330: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +001c8340: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +001c8350: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +001c8360: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f  ion.  - no_reboo
│ │ │ +001c8370: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ +001c8380: 6b61 6765 5f73 7175 6964 5f72 656d 6f76  kage_squid_remov
│ │ │ +001c8390: 6564 0a20 202d 2075 6e6b 6e6f 776e 5f73  ed.  - unknown_s
│ │ │ +001c83a0: 6576 6572 6974 790a 3c2f 636f 6465 3e3c  everity.<
│ │ │ +001c83b0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remed │ │ │ +001c8460: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ +001c8470: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ +001c8520: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +001c8570: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ +001c85b0: 6c75 6465 2072 656d 6f76 655f 7371 7569  lude remove_squi
│ │ │ +001c85c0: 640a 0a63 6c61 7373 2072 656d 6f76 655f  d..class remove_
│ │ │ +001c85d0: 7371 7569 6420 7b0a 2020 7061 636b 6167  squid {.  packag
│ │ │ +001c85e0: 6520 7b20 2773 7175 6964 273a 0a20 2020  e { 'squid':.   
│ │ │ +001c85f0: 2065 6e73 7572 6520 3d26 6774 3b20 2770   ensure => 'p
│ │ │ +001c8600: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f  urged',.  }.}.
Remediation │ │ │ -001c9a60: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ -001c9a70: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001c9af0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ -001c9b80: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -001c9b90: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
Co │ │ │ +001c8500: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +001c8530: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +001c8550: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +001c8560: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +001c8580: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +001c8590: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complexi │ │ │ -001c9b00: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -001c9b10: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ -001c9b50: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -001c9b60: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
include r
│ │ │ -001c9bb0: 656d 6f76 655f 7361 6d62 610a 0a63 6c61  emove_samba..cla
│ │ │ -001c9bc0: 7373 2072 656d 6f76 655f 7361 6d62 6120  ss remove_samba 
│ │ │ -001c9bd0: 7b0a 2020 7061 636b 6167 6520 7b20 2773  {.  package { 's
│ │ │ -001c9be0: 616d 6261 273a 0a20 2020 2065 6e73 7572  amba':.    ensur
│ │ │ -001c9bf0: 6520 3d26 6774 3b20 2770 7572 6765 6427  e => 'purged'
│ │ │ -001c9c00: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ -001c9c10: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remed │ │ │ -001c9cc0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s │ │ │ -001c9cd0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -001c9d70: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001c9d80: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -001c9dd0: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ -001c9e10: 6e61 6d65 3a20 456e 7375 7265 2073 616d  name: Ensure sam
│ │ │ -001c9e20: 6261 2069 7320 7265 6d6f 7665 640a 2020  ba is removed.  
│ │ │ -001c9e30: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ -001c9e40: 653a 2073 616d 6261 0a20 2020 2073 7461  e: samba.    sta
│ │ │ -001c9e50: 7465 3a20 6162 7365 6e74 0a20 2074 6167  te: absent.  tag
│ │ │ -001c9e60: 733a 0a20 202d 2064 6973 6162 6c65 5f73  s:.  - disable_s
│ │ │ -001c9e70: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ -001c9e80: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -001c9e90: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -001c9ea0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -001c9eb0: 6564 0a20 202d 2070 6163 6b61 6765 5f73  ed.  - package_s
│ │ │ -001c9ec0: 616d 6261 5f72 656d 6f76 6564 0a20 202d  amba_removed.  -
│ │ │ -001c9ed0: 2075 6e6b 6e6f 776e 5f73 6576 6572 6974   unknown_severit
│ │ │ -001c9ee0: 790a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  y.
< │ │ │ +001c9a60: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ +001c9a70: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +001c9ab0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +001c9ac0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +001c9ad0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +001c9ae0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +001c9af0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ +001c9b80: 3c74 643e 6469 7361 626c 653c 2f74 643e │ │ │ +001c9b90: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
C │ │ │ -001c9d60: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -001c9d90: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -001c9da0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -001c9de0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -001c9df0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complex │ │ │ +001c9b00: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +001c9b10: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ +001c9b50: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +001c9b60: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
disable
- name: │ │ │ +001c9bb0: 456e 7375 7265 2073 616d 6261 2069 7320 Ensure samba is │ │ │ +001c9bc0: 7265 6d6f 7665 640a 2020 7061 636b 6167 removed. packag │ │ │ +001c9bd0: 653a 0a20 2020 206e 616d 653a 2073 616d e:. name: sam │ │ │ +001c9be0: 6261 0a20 2020 2073 7461 7465 3a20 6162 ba. state: ab │ │ │ +001c9bf0: 7365 6e74 0a20 2074 6167 733a 0a20 202d sent. tags:. - │ │ │ +001c9c00: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg │ │ │ +001c9c10: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple │ │ │ +001c9c20: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis │ │ │ +001c9c30: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72 ruption. - no_r │ │ │ +001c9c40: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. - │ │ │ +001c9c50: 2070 6163 6b61 6765 5f73 616d 6261 5f72 package_samba_r │ │ │ +001c9c60: 656d 6f76 6564 0a20 202d 2075 6e6b 6e6f emoved. - unkno │ │ │ +001c9c70: 776e 5f73 6576 6572 6974 790a 3c2f 636f wn_severity.
< │ │ │ +001c9c90: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +001c9ca0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +001c9cb0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +001c9cc0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +001c9cd0: 646d 3235 3334 3122 2074 6162 696e 6465 dm25341" tabinde │ │ │ +001c9ce0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +001c9cf0: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +001c9d00: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +001c9d10: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +001c9d20: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +001c9d30: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +001c9d40: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity: │ │ │ +001c9e20: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +001c9e30: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ +001c9e90: 7361 6d62 610a 0a63 6c61 7373 2072 656d  samba..class rem
│ │ │ +001c9ea0: 6f76 655f 7361 6d62 6120 7b0a 2020 7061  ove_samba {.  pa
│ │ │ +001c9eb0: 636b 6167 6520 7b20 2773 616d 6261 273a  ckage { 'samba':
│ │ │ +001c9ec0: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ +001c9ed0: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a  ; 'purged',.  }.
│ │ │ +001c9ee0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ 001c9ef0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Re │ │ │ -001cb300: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -001cb310: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -001cb320: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
low
Disru │ │ │ +001c9e00: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +001c9e10: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +001c9e50: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +001c9e60: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
< │ │ │ -001cb3f0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -001cb400: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -001cb450: 696e 636c 7564 6520 7265 6d6f 7665 5f73  include remove_s
│ │ │ -001cb460: 6e6d 700a 0a63 6c61 7373 2072 656d 6f76  nmp..class remov
│ │ │ -001cb470: 655f 736e 6d70 207b 0a20 2070 6163 6b61  e_snmp {.  packa
│ │ │ -001cb480: 6765 207b 2027 736e 6d70 273a 0a20 2020  ge { 'snmp':.   
│ │ │ -001cb490: 2065 6e73 7572 6520 3d26 6774 3b20 2770   ensure => 'p
│ │ │ -001cb4a0: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f  urged',.  }.}.
Remediation Ans │ │ │ -001cb570: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -001cb580: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low< │ │ │ -001cb650: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>
Complexity:low
Disrup │ │ │ -001cb3d0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -001cb3e0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -001cb420: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -001cb430: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity: │ │ │ -001cb610: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ -001cb630: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ -001cb680: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -001cb690: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Ensu
│ │ │ -001cb6c0: 7265 2073 6e6d 7020 6973 2072 656d 6f76  re snmp is remov
│ │ │ -001cb6d0: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ -001cb6e0: 2020 6e61 6d65 3a20 736e 6d70 0a20 2020    name: snmp.   
│ │ │ -001cb6f0: 2073 7461 7465 3a20 6162 7365 6e74 0a20   state: absent. 
│ │ │ -001cb700: 2074 6167 733a 0a20 202d 2050 4349 2d44   tags:.  - PCI-D
│ │ │ -001cb710: 5353 7634 2d32 2e32 0a20 202d 2050 4349  SSv4-2.2.  - PCI
│ │ │ -001cb720: 2d44 5353 7634 2d32 2e32 2e34 0a20 202d  -DSSv4-2.2.4.  -
│ │ │ -001cb730: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ -001cb740: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -001cb750: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -001cb760: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72  ruption.  - no_r
│ │ │ -001cb770: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -001cb780: 2070 6163 6b61 6765 5f6e 6574 2d73 6e6d   package_net-snm
│ │ │ -001cb790: 705f 7265 6d6f 7665 640a 2020 2d20 756e  p_removed.  - un
│ │ │ -001cb7a0: 6b6e 6f77 6e5f 7365 7665 7269 7479 0a3c  known_severity.<
│ │ │ +001cb300: 6d65 6469 6174 696f 6e20 416e 7369 626c  mediation Ansibl
│ │ │ +001cb310: 6520 736e 6970 7065 7420 e287 b23c 2f61  e snippet ...
Complexity: │ │ │ +001cb3f0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +001cb400: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
- name: Ensure 
│ │ │ +001cb460: 736e 6d70 2069 7320 7265 6d6f 7665 640a  snmp is removed.
│ │ │ +001cb470: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ +001cb480: 616d 653a 2073 6e6d 700a 2020 2020 7374  ame: snmp.    st
│ │ │ +001cb490: 6174 653a 2061 6273 656e 740a 2020 7461  ate: absent.  ta
│ │ │ +001cb4a0: 6773 3a0a 2020 2d20 5043 492d 4453 5376  gs:.  - PCI-DSSv
│ │ │ +001cb4b0: 342d 322e 320a 2020 2d20 5043 492d 4453  4-2.2.  - PCI-DS
│ │ │ +001cb4c0: 5376 342d 322e 322e 340a 2020 2d20 6469  Sv4-2.2.4.  - di
│ │ │ +001cb4d0: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ +001cb4e0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +001cb4f0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +001cb500: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f  tion.  - no_rebo
│ │ │ +001cb510: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ +001cb520: 636b 6167 655f 6e65 742d 736e 6d70 5f72  ckage_net-snmp_r
│ │ │ +001cb530: 656d 6f76 6564 0a20 202d 2075 6e6b 6e6f  emoved.  - unkno
│ │ │ +001cb540: 776e 5f73 6576 6572 6974 790a 3c2f 636f  wn_severity.
< │ │ │ +001cb560: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +001cb570: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +001cb580: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +001cb590: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +001cb5a0: 646d 3235 3336 3422 2074 6162 696e 6465 dm25364" tabinde │ │ │ +001cb5b0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +001cb5c0: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +001cb5d0: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +001cb5e0: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +001cb5f0: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +001cb600: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +001cb610: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
low
Disru │ │ │ +001cb3d0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +001cb3e0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +001cb420: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +001cb430: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complexity: │ │ │ +001cb6f0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +001cb700: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ +001cb760: 736e 6d70 0a0a 636c 6173 7320 7265 6d6f  snmp..class remo
│ │ │ +001cb770: 7665 5f73 6e6d 7020 7b0a 2020 7061 636b  ve_snmp {.  pack
│ │ │ +001cb780: 6167 6520 7b20 2773 6e6d 7027 3a0a 2020  age { 'snmp':.  
│ │ │ +001cb790: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ +001cb7a0: 7075 7267 6564 272c 0a20 207d 0a7d 0a3c  purged',.  }.}.<
│ │ │  001cb7b0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Rem │ │ │ -001fa8b0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ -001fa8c0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -001fa8d0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
include ssh_pri
│ │ │ -001fa920: 7661 7465 5f6b 6579 5f70 6572 6d73 0a0a  vate_key_perms..
│ │ │ -001fa930: 636c 6173 7320 7373 685f 7072 6976 6174  class ssh_privat
│ │ │ -001fa940: 655f 6b65 795f 7065 726d 7320 7b0a 2020  e_key_perms {.  
│ │ │ -001fa950: 6578 6563 207b 2027 7373 6864 5f70 7269  exec { 'sshd_pri
│ │ │ -001fa960: 765f 6b65 7927 3a0a 2020 2020 636f 6d6d  v_key':.    comm
│ │ │ -001fa970: 616e 6420 3d26 6774 3b20 2263 686d 6f64  and => "chmod
│ │ │ -001fa980: 2030 3634 3020 2f65 7463 2f73 7368 2f2a   0640 /etc/ssh/*
│ │ │ -001fa990: 5f6b 6579 222c 0a20 2020 2070 6174 6820  _key",.    path 
│ │ │ -001fa9a0: 2020 203d 2667 743b 2027 2f62 696e 3a2f     => '/bin:/
│ │ │ -001fa9b0: 7573 722f 6269 6e27 0a20 207d 0a7d 0a3c  usr/bin'.  }.}.<
│ │ │ -001fa9c0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation An │ │ │ -001faa80: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -001faa90: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ -001fab50: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001fab60: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c < │ │ │ -001fabb0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
low
Disru │ │ │ +001cb6d0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +001cb6e0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +001cb720: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +001cb730: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complexity │ │ │ -001fab20: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ -001fab40: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ -001fab70: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ -001fab90: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:configure
- name: G
│ │ │ -001fabd0: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ -001fabe0: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ -001fabf0: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ -001fac00: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ -001fac10: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ -001fac20: 3137 312d 332e 312e 3133 0a20 202d 204e  171-3.1.13.  - N
│ │ │ -001fac30: 4953 542d 3830 302d 3137 312d 332e 3133  IST-800-171-3.13
│ │ │ -001fac40: 2e31 300a 2020 2d20 4e49 5354 2d38 3030  .10.  - NIST-800
│ │ │ -001fac50: 2d35 332d 4143 2d31 3728 6129 0a20 202d  -53-AC-17(a).  -
│ │ │ -001fac60: 204e 4953 542d 3830 302d 3533 2d41 432d   NIST-800-53-AC-
│ │ │ -001fac70: 3628 3129 0a20 202d 204e 4953 542d 3830  6(1).  - NIST-80
│ │ │ -001fac80: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ -001fac90: 2050 4349 2d44 5353 2d52 6571 2d32 2e32   PCI-DSS-Req-2.2
│ │ │ -001faca0: 2e34 0a20 202d 2050 4349 2d44 5353 7634  .4.  - PCI-DSSv4
│ │ │ -001facb0: 2d32 2e32 0a20 202d 2050 4349 2d44 5353  -2.2.  - PCI-DSS
│ │ │ -001facc0: 7634 2d32 2e32 2e36 0a20 202d 2063 6f6e  v4-2.2.6.  - con
│ │ │ -001facd0: 6669 6775 7265 5f73 7472 6174 6567 790a  figure_strategy.
│ │ │ -001face0: 2020 2d20 6669 6c65 5f70 6572 6d69 7373    - file_permiss
│ │ │ -001facf0: 696f 6e73 5f73 7368 645f 7072 6976 6174  ions_sshd_privat
│ │ │ -001fad00: 655f 6b65 790a 2020 2d20 6c6f 775f 636f  e_key.  - low_co
│ │ │ -001fad10: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -001fad20: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -001fad30: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ -001fad40: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -001fad50: 6564 6564 0a0a 2d20 6e61 6d65 3a20 4669  eded..- name: Fi
│ │ │ -001fad60: 6e64 2072 6f6f 743a 726f 6f74 2d6f 776e  nd root:root-own
│ │ │ -001fad70: 6564 206b 6579 730a 2020 616e 7369 626c  ed keys.  ansibl
│ │ │ -001fad80: 652e 6275 696c 7469 6e2e 636f 6d6d 616e  e.builtin.comman
│ │ │ -001fad90: 643a 2066 696e 6420 2d48 202f 6574 632f  d: find -H /etc/
│ │ │ -001fada0: 7373 682f 202d 6d61 7864 6570 7468 2031  ssh/ -maxdepth 1
│ │ │ -001fadb0: 202d 7573 6572 2072 6f6f 7420 2d72 6567   -user root -reg
│ │ │ -001fadc0: 6578 2022 2e2a 5f6b 6579 2422 0a20 2020  ex ".*_key$".   
│ │ │ -001fadd0: 202d 7479 7065 2066 202d 6772 6f75 7020   -type f -group 
│ │ │ -001fade0: 726f 6f74 202d 7065 726d 202f 752b 7873  root -perm /u+xs
│ │ │ -001fadf0: 2c67 2b78 7772 732c 6f2b 7877 7274 0a20  ,g+xwrs,o+xwrt. 
│ │ │ -001fae00: 2072 6567 6973 7465 723a 2072 6f6f 745f   register: root_
│ │ │ -001fae10: 6f77 6e65 645f 6b65 7973 0a20 2063 6861  owned_keys.  cha
│ │ │ -001fae20: 6e67 6564 5f77 6865 6e3a 2066 616c 7365  nged_when: false
│ │ │ -001fae30: 0a20 2066 6169 6c65 645f 7768 656e 3a20  .  failed_when: 
│ │ │ -001fae40: 6661 6c73 650a 2020 6368 6563 6b5f 6d6f  false.  check_mo
│ │ │ -001fae50: 6465 3a20 6661 6c73 650a 2020 7768 656e  de: false.  when
│ │ │ -001fae60: 3a20 2722 6c69 6e75 782d 6261 7365 2220  : '"linux-base" 
│ │ │ -001fae70: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -001fae80: 2e70 6163 6b61 6765 7327 0a20 2074 6167  .packages'.  tag
│ │ │ -001fae90: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ -001faea0: 3137 312d 332e 312e 3133 0a20 202d 204e  171-3.1.13.  - N
│ │ │ -001faeb0: 4953 542d 3830 302d 3137 312d 332e 3133  IST-800-171-3.13
│ │ │ -001faec0: 2e31 300a 2020 2d20 4e49 5354 2d38 3030  .10.  - NIST-800
│ │ │ -001faed0: 2d35 332d 4143 2d31 3728 6129 0a20 202d  -53-AC-17(a).  -
│ │ │ -001faee0: 204e 4953 542d 3830 302d 3533 2d41 432d   NIST-800-53-AC-
│ │ │ -001faef0: 3628 3129 0a20 202d 204e 4953 542d 3830  6(1).  - NIST-80
│ │ │ -001faf00: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ -001faf10: 2050 4349 2d44 5353 2d52 6571 2d32 2e32   PCI-DSS-Req-2.2
│ │ │ -001faf20: 2e34 0a20 202d 2050 4349 2d44 5353 7634  .4.  - PCI-DSSv4
│ │ │ -001faf30: 2d32 2e32 0a20 202d 2050 4349 2d44 5353  -2.2.  - PCI-DSS
│ │ │ -001faf40: 7634 2d32 2e32 2e36 0a20 202d 2063 6f6e  v4-2.2.6.  - con
│ │ │ -001faf50: 6669 6775 7265 5f73 7472 6174 6567 790a  figure_strategy.
│ │ │ -001faf60: 2020 2d20 6669 6c65 5f70 6572 6d69 7373    - file_permiss
│ │ │ -001faf70: 696f 6e73 5f73 7368 645f 7072 6976 6174  ions_sshd_privat
│ │ │ -001faf80: 655f 6b65 790a 2020 2d20 6c6f 775f 636f  e_key.  - low_co
│ │ │ -001faf90: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -001fafa0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -001fafb0: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ -001fafc0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -001fafd0: 6564 6564 0a0a 2d20 6e61 6d65 3a20 5365  eded..- name: Se
│ │ │ -001fafe0: 7420 7065 726d 6973 7369 6f6e 7320 666f  t permissions fo
│ │ │ -001faff0: 7220 726f 6f74 3a72 6f6f 742d 6f77 6e65  r root:root-owne
│ │ │ -001fb000: 6420 6b65 7973 0a20 2061 6e73 6962 6c65  d keys.  ansible
│ │ │ -001fb010: 2e62 7569 6c74 696e 2e66 696c 653a 0a20  .builtin.file:. 
│ │ │ -001fb020: 2020 2070 6174 683a 2027 7b7b 2069 7465     path: '{{ ite
│ │ │ -001fb030: 6d20 7d7d 270a 2020 2020 6d6f 6465 3a20  m }}'.    mode: 
│ │ │ -001fb040: 752d 7873 2c67 2d78 7772 732c 6f2d 7877  u-xs,g-xwrs,o-xw
│ │ │ -001fb050: 7274 0a20 2020 2073 7461 7465 3a20 6669  rt.    state: fi
│ │ │ -001fb060: 6c65 0a20 2077 6974 685f 6974 656d 733a  le.  with_items:
│ │ │ -001fb070: 0a20 202d 2027 7b7b 2072 6f6f 745f 6f77  .  - '{{ root_ow
│ │ │ -001fb080: 6e65 645f 6b65 7973 2e73 7464 6f75 745f  ned_keys.stdout_
│ │ │ -001fb090: 6c69 6e65 7320 7d7d 270a 2020 7768 656e  lines }}'.  when
│ │ │ -001fb0a0: 3a20 2722 6c69 6e75 782d 6261 7365 2220  : '"linux-base" 
│ │ │ -001fb0b0: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -001fb0c0: 2e70 6163 6b61 6765 7327 0a20 2074 6167  .packages'.  tag
│ │ │ -001fb0d0: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ -001fb0e0: 3137 312d 332e 312e 3133 0a20 202d 204e  171-3.1.13.  - N
│ │ │ -001fb0f0: 4953 542d 3830 302d 3137 312d 332e 3133  IST-800-171-3.13
│ │ │ -001fb100: 2e31 300a 2020 2d20 4e49 5354 2d38 3030  .10.  - NIST-800
│ │ │ -001fb110: 2d35 332d 4143 2d31 3728 6129 0a20 202d  -53-AC-17(a).  -
│ │ │ -001fb120: 204e 4953 542d 3830 302d 3533 2d41 432d   NIST-800-53-AC-
│ │ │ -001fb130: 3628 3129 0a20 202d 204e 4953 542d 3830  6(1).  - NIST-80
│ │ │ -001fb140: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ -001fb150: 2050 4349 2d44 5353 2d52 6571 2d32 2e32   PCI-DSS-Req-2.2
│ │ │ -001fb160: 2e34 0a20 202d 2050 4349 2d44 5353 7634  .4.  - PCI-DSSv4
│ │ │ -001fb170: 2d32 2e32 0a20 202d 2050 4349 2d44 5353  -2.2.  - PCI-DSS
│ │ │ -001fb180: 7634 2d32 2e32 2e36 0a20 202d 2063 6f6e  v4-2.2.6.  - con
│ │ │ -001fb190: 6669 6775 7265 5f73 7472 6174 6567 790a  figure_strategy.
│ │ │ -001fb1a0: 2020 2d20 6669 6c65 5f70 6572 6d69 7373    - file_permiss
│ │ │ -001fb1b0: 696f 6e73 5f73 7368 645f 7072 6976 6174  ions_sshd_privat
│ │ │ -001fb1c0: 655f 6b65 790a 2020 2d20 6c6f 775f 636f  e_key.  - low_co
│ │ │ -001fb1d0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -001fb1e0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -001fb1f0: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ -001fb200: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -001fb210: 6564 6564 0a3c 2f63 6f64 653e 3c2f 7072  eded.
│ │ │ +001fa8d0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22  
< │ │ │ +001fa9a0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +001fa9b0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false< │ │ │ +001fa9f0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Gather
│ │ │ +001faa10: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ +001faa20: 7473 0a20 2070 6163 6b61 6765 5f66 6163  ts.  package_fac
│ │ │ +001faa30: 7473 3a0a 2020 2020 6d61 6e61 6765 723a  ts:.    manager:
│ │ │ +001faa40: 2061 7574 6f0a 2020 7461 6773 3a0a 2020   auto.  tags:.  
│ │ │ +001faa50: 2d20 4e49 5354 2d38 3030 2d31 3731 2d33  - NIST-800-171-3
│ │ │ +001faa60: 2e31 2e31 330a 2020 2d20 4e49 5354 2d38  .1.13.  - NIST-8
│ │ │ +001faa70: 3030 2d31 3731 2d33 2e31 332e 3130 0a20  00-171-3.13.10. 
│ │ │ +001faa80: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ +001faa90: 432d 3137 2861 290a 2020 2d20 4e49 5354  C-17(a).  - NIST
│ │ │ +001faaa0: 2d38 3030 2d35 332d 4143 2d36 2831 290a  -800-53-AC-6(1).
│ │ │ +001faab0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001faac0: 434d 2d36 2861 290a 2020 2d20 5043 492d  CM-6(a).  - PCI-
│ │ │ +001faad0: 4453 532d 5265 712d 322e 322e 340a 2020  DSS-Req-2.2.4.  
│ │ │ +001faae0: 2d20 5043 492d 4453 5376 342d 322e 320a  - PCI-DSSv4-2.2.
│ │ │ +001faaf0: 2020 2d20 5043 492d 4453 5376 342d 322e    - PCI-DSSv4-2.
│ │ │ +001fab00: 322e 360a 2020 2d20 636f 6e66 6967 7572  2.6.  - configur
│ │ │ +001fab10: 655f 7374 7261 7465 6779 0a20 202d 2066  e_strategy.  - f
│ │ │ +001fab20: 696c 655f 7065 726d 6973 7369 6f6e 735f  ile_permissions_
│ │ │ +001fab30: 7373 6864 5f70 7269 7661 7465 5f6b 6579  sshd_private_key
│ │ │ +001fab40: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +001fab50: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +001fab60: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +001fab70: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +001fab80: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +001fab90: 0a2d 206e 616d 653a 2046 696e 6420 726f  .- name: Find ro
│ │ │ +001faba0: 6f74 3a72 6f6f 742d 6f77 6e65 6420 6b65  ot:root-owned ke
│ │ │ +001fabb0: 7973 0a20 2061 6e73 6962 6c65 2e62 7569  ys.  ansible.bui
│ │ │ +001fabc0: 6c74 696e 2e63 6f6d 6d61 6e64 3a20 6669  ltin.command: fi
│ │ │ +001fabd0: 6e64 202d 4820 2f65 7463 2f73 7368 2f20  nd -H /etc/ssh/ 
│ │ │ +001fabe0: 2d6d 6178 6465 7074 6820 3120 2d75 7365  -maxdepth 1 -use
│ │ │ +001fabf0: 7220 726f 6f74 202d 7265 6765 7820 222e  r root -regex ".
│ │ │ +001fac00: 2a5f 6b65 7924 220a 2020 2020 2d74 7970  *_key$".    -typ
│ │ │ +001fac10: 6520 6620 2d67 726f 7570 2072 6f6f 7420  e f -group root 
│ │ │ +001fac20: 2d70 6572 6d20 2f75 2b78 732c 672b 7877  -perm /u+xs,g+xw
│ │ │ +001fac30: 7273 2c6f 2b78 7772 740a 2020 7265 6769  rs,o+xwrt.  regi
│ │ │ +001fac40: 7374 6572 3a20 726f 6f74 5f6f 776e 6564  ster: root_owned
│ │ │ +001fac50: 5f6b 6579 730a 2020 6368 616e 6765 645f  _keys.  changed_
│ │ │ +001fac60: 7768 656e 3a20 6661 6c73 650a 2020 6661  when: false.  fa
│ │ │ +001fac70: 696c 6564 5f77 6865 6e3a 2066 616c 7365  iled_when: false
│ │ │ +001fac80: 0a20 2063 6865 636b 5f6d 6f64 653a 2066  .  check_mode: f
│ │ │ +001fac90: 616c 7365 0a20 2077 6865 6e3a 2027 226c  alse.  when: '"l
│ │ │ +001faca0: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ +001facb0: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +001facc0: 6167 6573 270a 2020 7461 6773 3a0a 2020  ages'.  tags:.  
│ │ │ +001facd0: 2d20 4e49 5354 2d38 3030 2d31 3731 2d33  - NIST-800-171-3
│ │ │ +001face0: 2e31 2e31 330a 2020 2d20 4e49 5354 2d38  .1.13.  - NIST-8
│ │ │ +001facf0: 3030 2d31 3731 2d33 2e31 332e 3130 0a20  00-171-3.13.10. 
│ │ │ +001fad00: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ +001fad10: 432d 3137 2861 290a 2020 2d20 4e49 5354  C-17(a).  - NIST
│ │ │ +001fad20: 2d38 3030 2d35 332d 4143 2d36 2831 290a  -800-53-AC-6(1).
│ │ │ +001fad30: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001fad40: 434d 2d36 2861 290a 2020 2d20 5043 492d  CM-6(a).  - PCI-
│ │ │ +001fad50: 4453 532d 5265 712d 322e 322e 340a 2020  DSS-Req-2.2.4.  
│ │ │ +001fad60: 2d20 5043 492d 4453 5376 342d 322e 320a  - PCI-DSSv4-2.2.
│ │ │ +001fad70: 2020 2d20 5043 492d 4453 5376 342d 322e    - PCI-DSSv4-2.
│ │ │ +001fad80: 322e 360a 2020 2d20 636f 6e66 6967 7572  2.6.  - configur
│ │ │ +001fad90: 655f 7374 7261 7465 6779 0a20 202d 2066  e_strategy.  - f
│ │ │ +001fada0: 696c 655f 7065 726d 6973 7369 6f6e 735f  ile_permissions_
│ │ │ +001fadb0: 7373 6864 5f70 7269 7661 7465 5f6b 6579  sshd_private_key
│ │ │ +001fadc0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +001fadd0: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +001fade0: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +001fadf0: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +001fae00: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +001fae10: 0a2d 206e 616d 653a 2053 6574 2070 6572  .- name: Set per
│ │ │ +001fae20: 6d69 7373 696f 6e73 2066 6f72 2072 6f6f  missions for roo
│ │ │ +001fae30: 743a 726f 6f74 2d6f 776e 6564 206b 6579  t:root-owned key
│ │ │ +001fae40: 730a 2020 616e 7369 626c 652e 6275 696c  s.  ansible.buil
│ │ │ +001fae50: 7469 6e2e 6669 6c65 3a0a 2020 2020 7061  tin.file:.    pa
│ │ │ +001fae60: 7468 3a20 277b 7b20 6974 656d 207d 7d27  th: '{{ item }}'
│ │ │ +001fae70: 0a20 2020 206d 6f64 653a 2075 2d78 732c  .    mode: u-xs,
│ │ │ +001fae80: 672d 7877 7273 2c6f 2d78 7772 740a 2020  g-xwrs,o-xwrt.  
│ │ │ +001fae90: 2020 7374 6174 653a 2066 696c 650a 2020    state: file.  
│ │ │ +001faea0: 7769 7468 5f69 7465 6d73 3a0a 2020 2d20  with_items:.  - 
│ │ │ +001faeb0: 277b 7b20 726f 6f74 5f6f 776e 6564 5f6b  '{{ root_owned_k
│ │ │ +001faec0: 6579 732e 7374 646f 7574 5f6c 696e 6573  eys.stdout_lines
│ │ │ +001faed0: 207d 7d27 0a20 2077 6865 6e3a 2027 226c   }}'.  when: '"l
│ │ │ +001faee0: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ +001faef0: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +001faf00: 6167 6573 270a 2020 7461 6773 3a0a 2020  ages'.  tags:.  
│ │ │ +001faf10: 2d20 4e49 5354 2d38 3030 2d31 3731 2d33  - NIST-800-171-3
│ │ │ +001faf20: 2e31 2e31 330a 2020 2d20 4e49 5354 2d38  .1.13.  - NIST-8
│ │ │ +001faf30: 3030 2d31 3731 2d33 2e31 332e 3130 0a20  00-171-3.13.10. 
│ │ │ +001faf40: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ +001faf50: 432d 3137 2861 290a 2020 2d20 4e49 5354  C-17(a).  - NIST
│ │ │ +001faf60: 2d38 3030 2d35 332d 4143 2d36 2831 290a  -800-53-AC-6(1).
│ │ │ +001faf70: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001faf80: 434d 2d36 2861 290a 2020 2d20 5043 492d  CM-6(a).  - PCI-
│ │ │ +001faf90: 4453 532d 5265 712d 322e 322e 340a 2020  DSS-Req-2.2.4.  
│ │ │ +001fafa0: 2d20 5043 492d 4453 5376 342d 322e 320a  - PCI-DSSv4-2.2.
│ │ │ +001fafb0: 2020 2d20 5043 492d 4453 5376 342d 322e    - PCI-DSSv4-2.
│ │ │ +001fafc0: 322e 360a 2020 2d20 636f 6e66 6967 7572  2.6.  - configur
│ │ │ +001fafd0: 655f 7374 7261 7465 6779 0a20 202d 2066  e_strategy.  - f
│ │ │ +001fafe0: 696c 655f 7065 726d 6973 7369 6f6e 735f  ile_permissions_
│ │ │ +001faff0: 7373 6864 5f70 7269 7661 7465 5f6b 6579  sshd_private_key
│ │ │ +001fb000: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +001fb010: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +001fb020: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +001fb030: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +001fb040: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +001fb050: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation P │ │ │ +001fb110: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ +001fb120: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
include s
│ │ │ +001fb170: 7368 5f70 7269 7661 7465 5f6b 6579 5f70  sh_private_key_p
│ │ │ +001fb180: 6572 6d73 0a0a 636c 6173 7320 7373 685f  erms..class ssh_
│ │ │ +001fb190: 7072 6976 6174 655f 6b65 795f 7065 726d  private_key_perm
│ │ │ +001fb1a0: 7320 7b0a 2020 6578 6563 207b 2027 7373  s {.  exec { 'ss
│ │ │ +001fb1b0: 6864 5f70 7269 765f 6b65 7927 3a0a 2020  hd_priv_key':.  
│ │ │ +001fb1c0: 2020 636f 6d6d 616e 6420 3d26 6774 3b20    command => 
│ │ │ +001fb1d0: 2263 686d 6f64 2030 3634 3020 2f65 7463  "chmod 0640 /etc
│ │ │ +001fb1e0: 2f73 7368 2f2a 5f6b 6579 222c 0a20 2020  /ssh/*_key",.   
│ │ │ +001fb1f0: 2070 6174 6820 2020 203d 2667 743b 2027   path    => '
│ │ │ +001fb200: 2f62 696e 3a2f 7573 722f 6269 6e27 0a20  /bin:/usr/bin'. 
│ │ │ +001fb210: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.
Remediation Pu │ │ │ -001fc6f0: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ -001fc700: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ -001fc740: 3c63 6f64 653e 696e 636c 7564 6520 7373  include ss
│ │ │ -001fc750: 685f 7075 626c 6963 5f6b 6579 5f70 6572  h_public_key_per
│ │ │ -001fc760: 6d73 0a0a 636c 6173 7320 7373 685f 7075  ms..class ssh_pu
│ │ │ -001fc770: 626c 6963 5f6b 6579 5f70 6572 6d73 207b  blic_key_perms {
│ │ │ -001fc780: 0a20 2065 7865 6320 7b20 2773 7368 645f  .  exec { 'sshd_
│ │ │ -001fc790: 7075 625f 6b65 7927 3a0a 2020 2020 636f  pub_key':.    co
│ │ │ -001fc7a0: 6d6d 616e 6420 3d26 6774 3b20 2263 686d  mmand => "chm
│ │ │ -001fc7b0: 6f64 2030 3634 3420 2f65 7463 2f73 7368  od 0644 /etc/ssh
│ │ │ -001fc7c0: 2f2a 2e70 7562 222c 0a20 2020 2070 6174  /*.pub",.    pat
│ │ │ -001fc7d0: 6820 2020 203d 2667 743b 2027 2f62 696e  h    => '/bin
│ │ │ -001fc7e0: 3a2f 7573 722f 6269 6e27 0a20 207d 0a7d  :/usr/bin'.  }.}
│ │ │ -001fc7f0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -001fc8b0: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -001fc8c0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001fc940: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ -001fc9d0: 7464 3e63 6f6e 6669 6775 7265 3c2f 7464 td>configure
Complexity:low
Disrup │ │ │ +001fa980: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +001fa990: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +001fa9d0: 6779 3a3c 2f74 683e 3c74 643e 636f 6e66 gy:conf │ │ │ +001fa9e0: 6967 7572 653c 2f74 643e 3c2f 7472 3e3c igure
Complexi │ │ │ -001fc950: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -001fc960: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ -001fc9a0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -001fc9b0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:

- name: │ │ │ -001fca00: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack │ │ │ -001fca10: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack │ │ │ -001fca20: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m │ │ │ -001fca30: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t │ │ │ -001fca40: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80 │ │ │ -001fca50: 302d 3137 312d 332e 312e 3133 0a20 202d 0-171-3.1.13. - │ │ │ -001fca60: 204e 4953 542d 3830 302d 3137 312d 332e NIST-800-171-3. │ │ │ -001fca70: 3133 2e31 300a 2020 2d20 4e49 5354 2d38 13.10. - NIST-8 │ │ │ -001fca80: 3030 2d35 332d 4143 2d31 3728 6129 0a20 00-53-AC-17(a). │ │ │ -001fca90: 202d 204e 4953 542d 3830 302d 3533 2d41 - NIST-800-53-A │ │ │ -001fcaa0: 432d 3628 3129 0a20 202d 204e 4953 542d C-6(1). - NIST- │ │ │ -001fcab0: 3830 302d 3533 2d43 4d2d 3628 6129 0a20 800-53-CM-6(a). │ │ │ -001fcac0: 202d 2050 4349 2d44 5353 2d52 6571 2d32 - PCI-DSS-Req-2 │ │ │ -001fcad0: 2e32 2e34 0a20 202d 2050 4349 2d44 5353 .2.4. - PCI-DSS │ │ │ -001fcae0: 7634 2d32 2e32 0a20 202d 2050 4349 2d44 v4-2.2. - PCI-D │ │ │ -001fcaf0: 5353 7634 2d32 2e32 2e36 0a20 202d 2063 SSv4-2.2.6. - c │ │ │ -001fcb00: 6f6e 6669 6775 7265 5f73 7472 6174 6567 onfigure_strateg │ │ │ -001fcb10: 790a 2020 2d20 6669 6c65 5f70 6572 6d69 y. - file_permi │ │ │ -001fcb20: 7373 696f 6e73 5f73 7368 645f 7075 625f ssions_sshd_pub_ │ │ │ -001fcb30: 6b65 790a 2020 2d20 6c6f 775f 636f 6d70 key. - low_comp │ │ │ -001fcb40: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d │ │ │ -001fcb50: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me │ │ │ -001fcb60: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity. │ │ │ -001fcb70: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need │ │ │ -001fcb80: 6564 0a0a 2d20 6e61 6d65 3a20 4669 6e64 ed..- name: Find │ │ │ -001fcb90: 202f 6574 632f 7373 682f 2066 696c 6528 /etc/ssh/ file( │ │ │ -001fcba0: 7329 0a20 2063 6f6d 6d61 6e64 3a20 6669 s). command: fi │ │ │ -001fcbb0: 6e64 202d 4820 2f65 7463 2f73 7368 2f20 nd -H /etc/ssh/ │ │ │ -001fcbc0: 2d6d 6178 6465 7074 6820 3120 2d70 6572 -maxdepth 1 -per │ │ │ -001fcbd0: 6d20 2f75 2b78 732c 672b 7877 732c 6f2b m /u+xs,g+xws,o+ │ │ │ -001fcbe0: 7877 7420 202d 7479 7065 2066 202d 7265 xwt -type f -re │ │ │ -001fcbf0: 6765 7874 7970 650a 2020 2020 706f 7369 gextype. posi │ │ │ -001fcc00: 782d 6578 7465 6e64 6564 202d 7265 6765 x-extended -rege │ │ │ -001fcc10: 7820 225e 2e2a 5c2e 7075 6224 220a 2020 x "^.*\.pub$". │ │ │ -001fcc20: 7265 6769 7374 6572 3a20 6669 6c65 735f register: files_ │ │ │ -001fcc30: 666f 756e 640a 2020 6368 616e 6765 645f found. changed_ │ │ │ -001fcc40: 7768 656e 3a20 6661 6c73 650a 2020 6661 when: false. fa │ │ │ -001fcc50: 696c 6564 5f77 6865 6e3a 2066 616c 7365 iled_when: false │ │ │ -001fcc60: 0a20 2063 6865 636b 5f6d 6f64 653a 2066 . check_mode: f │ │ │ -001fcc70: 616c 7365 0a20 2077 6865 6e3a 2027 226c alse. when: '"l │ │ │ -001fcc80: 696e 7578 2d62 6173 6522 2069 6e20 616e inux-base" in an │ │ │ -001fcc90: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack │ │ │ -001fcca0: 6167 6573 270a 2020 7461 6773 3a0a 2020 ages'. tags:. │ │ │ -001fccb0: 2d20 4e49 5354 2d38 3030 2d31 3731 2d33 - NIST-800-171-3 │ │ │ -001fccc0: 2e31 2e31 330a 2020 2d20 4e49 5354 2d38 .1.13. - NIST-8 │ │ │ -001fccd0: 3030 2d31 3731 2d33 2e31 332e 3130 0a20 00-171-3.13.10. │ │ │ -001fcce0: 202d 204e 4953 542d 3830 302d 3533 2d41 - NIST-800-53-A │ │ │ -001fccf0: 432d 3137 2861 290a 2020 2d20 4e49 5354 C-17(a). - NIST │ │ │ -001fcd00: 2d38 3030 2d35 332d 4143 2d36 2831 290a -800-53-AC-6(1). │ │ │ -001fcd10: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53- │ │ │ -001fcd20: 434d 2d36 2861 290a 2020 2d20 5043 492d CM-6(a). - PCI- │ │ │ -001fcd30: 4453 532d 5265 712d 322e 322e 340a 2020 DSS-Req-2.2.4. │ │ │ -001fcd40: 2d20 5043 492d 4453 5376 342d 322e 320a - PCI-DSSv4-2.2. │ │ │ -001fcd50: 2020 2d20 5043 492d 4453 5376 342d 322e - PCI-DSSv4-2. │ │ │ -001fcd60: 322e 360a 2020 2d20 636f 6e66 6967 7572 2.6. - configur │ │ │ -001fcd70: 655f 7374 7261 7465 6779 0a20 202d 2066 e_strategy. - f │ │ │ -001fcd80: 696c 655f 7065 726d 6973 7369 6f6e 735f ile_permissions_ │ │ │ -001fcd90: 7373 6864 5f70 7562 5f6b 6579 0a20 202d sshd_pub_key. - │ │ │ -001fcda0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity. │ │ │ -001fcdb0: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti │ │ │ -001fcdc0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365 on. - medium_se │ │ │ -001fcdd0: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re │ │ │ -001fcde0: 626f 6f74 5f6e 6565 6465 640a 0a2d 206e boot_needed..- n │ │ │ -001fcdf0: 616d 653a 2053 6574 2070 6572 6d69 7373 ame: Set permiss │ │ │ -001fce00: 696f 6e73 2066 6f72 202f 6574 632f 7373 ions for /etc/ss │ │ │ -001fce10: 682f 2066 696c 6528 7329 0a20 2066 696c h/ file(s). fil │ │ │ -001fce20: 653a 0a20 2020 2070 6174 683a 2027 7b7b e:. path: '{{ │ │ │ -001fce30: 2069 7465 6d20 7d7d 270a 2020 2020 6d6f item }}'. mo │ │ │ -001fce40: 6465 3a20 752d 7873 2c67 2d78 7773 2c6f de: u-xs,g-xws,o │ │ │ -001fce50: 2d78 7774 0a20 2020 2073 7461 7465 3a20 -xwt. state: │ │ │ -001fce60: 6669 6c65 0a20 2077 6974 685f 6974 656d file. with_item │ │ │ -001fce70: 733a 0a20 202d 2027 7b7b 2066 696c 6573 s:. - '{{ files │ │ │ -001fce80: 5f66 6f75 6e64 2e73 7464 6f75 745f 6c69 _found.stdout_li │ │ │ -001fce90: 6e65 7320 7d7d 270a 2020 7768 656e 3a20 nes }}'. when: │ │ │ -001fcea0: 2722 6c69 6e75 782d 6261 7365 2220 696e '"linux-base" in │ │ │ -001fceb0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70 ansible_facts.p │ │ │ -001fcec0: 6163 6b61 6765 7327 0a20 2074 6167 733a ackages'. tags: │ │ │ -001fced0: 0a20 202d 204e 4953 542d 3830 302d 3137 . - NIST-800-17 │ │ │ -001fcee0: 312d 332e 312e 3133 0a20 202d 204e 4953 1-3.1.13. - NIS │ │ │ -001fcef0: 542d 3830 302d 3137 312d 332e 3133 2e31 T-800-171-3.13.1 │ │ │ -001fcf00: 300a 2020 2d20 4e49 5354 2d38 3030 2d35 0. - NIST-800-5 │ │ │ -001fcf10: 332d 4143 2d31 3728 6129 0a20 202d 204e 3-AC-17(a). - N │ │ │ -001fcf20: 4953 542d 3830 302d 3533 2d41 432d 3628 IST-800-53-AC-6( │ │ │ -001fcf30: 3129 0a20 202d 204e 4953 542d 3830 302d 1). - NIST-800- │ │ │ -001fcf40: 3533 2d43 4d2d 3628 6129 0a20 202d 2050 53-CM-6(a). - P │ │ │ -001fcf50: 4349 2d44 5353 2d52 6571 2d32 2e32 2e34 CI-DSS-Req-2.2.4 │ │ │ -001fcf60: 0a20 202d 2050 4349 2d44 5353 7634 2d32 . - PCI-DSSv4-2 │ │ │ -001fcf70: 2e32 0a20 202d 2050 4349 2d44 5353 7634 .2. - PCI-DSSv4 │ │ │ -001fcf80: 2d32 2e32 2e36 0a20 202d 2063 6f6e 6669 -2.2.6. - confi │ │ │ -001fcf90: 6775 7265 5f73 7472 6174 6567 790a 2020 gure_strategy. │ │ │ -001fcfa0: 2d20 6669 6c65 5f70 6572 6d69 7373 696f - file_permissio │ │ │ -001fcfb0: 6e73 5f73 7368 645f 7075 625f 6b65 790a ns_sshd_pub_key. │ │ │ -001fcfc0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi │ │ │ -001fcfd0: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru │ │ │ -001fcfe0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium │ │ │ -001fcff0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no │ │ │ -001fd000: 5f72 6562 6f6f 745f 6e65 6564 6564 0a3c _reboot_needed.< │ │ │ +001fc6e0: 223e 5265 6d65 6469 6174 696f 6e20 416e ">Remediation An │ │ │ +001fc6f0: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ +001fc700: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .

Complexity │ │ │ +001fc790: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +001fc7b0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +001fc7c0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001fc7d0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +001fc7e0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +001fc800: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:configure< │ │ │ +001fc820: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ +001fc840: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ +001fc850: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ +001fc860: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ +001fc870: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ +001fc880: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +001fc890: 3137 312d 332e 312e 3133 0a20 202d 204e  171-3.1.13.  - N
│ │ │ +001fc8a0: 4953 542d 3830 302d 3137 312d 332e 3133  IST-800-171-3.13
│ │ │ +001fc8b0: 2e31 300a 2020 2d20 4e49 5354 2d38 3030  .10.  - NIST-800
│ │ │ +001fc8c0: 2d35 332d 4143 2d31 3728 6129 0a20 202d  -53-AC-17(a).  -
│ │ │ +001fc8d0: 204e 4953 542d 3830 302d 3533 2d41 432d   NIST-800-53-AC-
│ │ │ +001fc8e0: 3628 3129 0a20 202d 204e 4953 542d 3830  6(1).  - NIST-80
│ │ │ +001fc8f0: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ +001fc900: 2050 4349 2d44 5353 2d52 6571 2d32 2e32   PCI-DSS-Req-2.2
│ │ │ +001fc910: 2e34 0a20 202d 2050 4349 2d44 5353 7634  .4.  - PCI-DSSv4
│ │ │ +001fc920: 2d32 2e32 0a20 202d 2050 4349 2d44 5353  -2.2.  - PCI-DSS
│ │ │ +001fc930: 7634 2d32 2e32 2e36 0a20 202d 2063 6f6e  v4-2.2.6.  - con
│ │ │ +001fc940: 6669 6775 7265 5f73 7472 6174 6567 790a  figure_strategy.
│ │ │ +001fc950: 2020 2d20 6669 6c65 5f70 6572 6d69 7373    - file_permiss
│ │ │ +001fc960: 696f 6e73 5f73 7368 645f 7075 625f 6b65  ions_sshd_pub_ke
│ │ │ +001fc970: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +001fc980: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +001fc990: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ +001fc9a0: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ +001fc9b0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +001fc9c0: 0a0a 2d20 6e61 6d65 3a20 4669 6e64 202f  ..- name: Find /
│ │ │ +001fc9d0: 6574 632f 7373 682f 2066 696c 6528 7329  etc/ssh/ file(s)
│ │ │ +001fc9e0: 0a20 2063 6f6d 6d61 6e64 3a20 6669 6e64  .  command: find
│ │ │ +001fc9f0: 202d 4820 2f65 7463 2f73 7368 2f20 2d6d   -H /etc/ssh/ -m
│ │ │ +001fca00: 6178 6465 7074 6820 3120 2d70 6572 6d20  axdepth 1 -perm 
│ │ │ +001fca10: 2f75 2b78 732c 672b 7877 732c 6f2b 7877  /u+xs,g+xws,o+xw
│ │ │ +001fca20: 7420 202d 7479 7065 2066 202d 7265 6765  t  -type f -rege
│ │ │ +001fca30: 7874 7970 650a 2020 2020 706f 7369 782d  xtype.    posix-
│ │ │ +001fca40: 6578 7465 6e64 6564 202d 7265 6765 7820  extended -regex 
│ │ │ +001fca50: 225e 2e2a 5c2e 7075 6224 220a 2020 7265  "^.*\.pub$".  re
│ │ │ +001fca60: 6769 7374 6572 3a20 6669 6c65 735f 666f  gister: files_fo
│ │ │ +001fca70: 756e 640a 2020 6368 616e 6765 645f 7768  und.  changed_wh
│ │ │ +001fca80: 656e 3a20 6661 6c73 650a 2020 6661 696c  en: false.  fail
│ │ │ +001fca90: 6564 5f77 6865 6e3a 2066 616c 7365 0a20  ed_when: false. 
│ │ │ +001fcaa0: 2063 6865 636b 5f6d 6f64 653a 2066 616c   check_mode: fal
│ │ │ +001fcab0: 7365 0a20 2077 6865 6e3a 2027 226c 696e  se.  when: '"lin
│ │ │ +001fcac0: 7578 2d62 6173 6522 2069 6e20 616e 7369  ux-base" in ansi
│ │ │ +001fcad0: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ +001fcae0: 6573 270a 2020 7461 6773 3a0a 2020 2d20  es'.  tags:.  - 
│ │ │ +001fcaf0: 4e49 5354 2d38 3030 2d31 3731 2d33 2e31  NIST-800-171-3.1
│ │ │ +001fcb00: 2e31 330a 2020 2d20 4e49 5354 2d38 3030  .13.  - NIST-800
│ │ │ +001fcb10: 2d31 3731 2d33 2e31 332e 3130 0a20 202d  -171-3.13.10.  -
│ │ │ +001fcb20: 204e 4953 542d 3830 302d 3533 2d41 432d   NIST-800-53-AC-
│ │ │ +001fcb30: 3137 2861 290a 2020 2d20 4e49 5354 2d38  17(a).  - NIST-8
│ │ │ +001fcb40: 3030 2d35 332d 4143 2d36 2831 290a 2020  00-53-AC-6(1).  
│ │ │ +001fcb50: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +001fcb60: 2d36 2861 290a 2020 2d20 5043 492d 4453  -6(a).  - PCI-DS
│ │ │ +001fcb70: 532d 5265 712d 322e 322e 340a 2020 2d20  S-Req-2.2.4.  - 
│ │ │ +001fcb80: 5043 492d 4453 5376 342d 322e 320a 2020  PCI-DSSv4-2.2.  
│ │ │ +001fcb90: 2d20 5043 492d 4453 5376 342d 322e 322e  - PCI-DSSv4-2.2.
│ │ │ +001fcba0: 360a 2020 2d20 636f 6e66 6967 7572 655f  6.  - configure_
│ │ │ +001fcbb0: 7374 7261 7465 6779 0a20 202d 2066 696c  strategy.  - fil
│ │ │ +001fcbc0: 655f 7065 726d 6973 7369 6f6e 735f 7373  e_permissions_ss
│ │ │ +001fcbd0: 6864 5f70 7562 5f6b 6579 0a20 202d 206c  hd_pub_key.  - l
│ │ │ +001fcbe0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +001fcbf0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +001fcc00: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ +001fcc10: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +001fcc20: 6f74 5f6e 6565 6465 640a 0a2d 206e 616d  ot_needed..- nam
│ │ │ +001fcc30: 653a 2053 6574 2070 6572 6d69 7373 696f  e: Set permissio
│ │ │ +001fcc40: 6e73 2066 6f72 202f 6574 632f 7373 682f  ns for /etc/ssh/
│ │ │ +001fcc50: 2066 696c 6528 7329 0a20 2066 696c 653a   file(s).  file:
│ │ │ +001fcc60: 0a20 2020 2070 6174 683a 2027 7b7b 2069  .    path: '{{ i
│ │ │ +001fcc70: 7465 6d20 7d7d 270a 2020 2020 6d6f 6465  tem }}'.    mode
│ │ │ +001fcc80: 3a20 752d 7873 2c67 2d78 7773 2c6f 2d78  : u-xs,g-xws,o-x
│ │ │ +001fcc90: 7774 0a20 2020 2073 7461 7465 3a20 6669  wt.    state: fi
│ │ │ +001fcca0: 6c65 0a20 2077 6974 685f 6974 656d 733a  le.  with_items:
│ │ │ +001fccb0: 0a20 202d 2027 7b7b 2066 696c 6573 5f66  .  - '{{ files_f
│ │ │ +001fccc0: 6f75 6e64 2e73 7464 6f75 745f 6c69 6e65  ound.stdout_line
│ │ │ +001fccd0: 7320 7d7d 270a 2020 7768 656e 3a20 2722  s }}'.  when: '"
│ │ │ +001fcce0: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ +001fccf0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +001fcd00: 6b61 6765 7327 0a20 2074 6167 733a 0a20  kages'.  tags:. 
│ │ │ +001fcd10: 202d 204e 4953 542d 3830 302d 3137 312d   - NIST-800-171-
│ │ │ +001fcd20: 332e 312e 3133 0a20 202d 204e 4953 542d  3.1.13.  - NIST-
│ │ │ +001fcd30: 3830 302d 3137 312d 332e 3133 2e31 300a  800-171-3.13.10.
│ │ │ +001fcd40: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001fcd50: 4143 2d31 3728 6129 0a20 202d 204e 4953  AC-17(a).  - NIS
│ │ │ +001fcd60: 542d 3830 302d 3533 2d41 432d 3628 3129  T-800-53-AC-6(1)
│ │ │ +001fcd70: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +001fcd80: 2d43 4d2d 3628 6129 0a20 202d 2050 4349  -CM-6(a).  - PCI
│ │ │ +001fcd90: 2d44 5353 2d52 6571 2d32 2e32 2e34 0a20  -DSS-Req-2.2.4. 
│ │ │ +001fcda0: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ +001fcdb0: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ +001fcdc0: 2e32 2e36 0a20 202d 2063 6f6e 6669 6775  .2.6.  - configu
│ │ │ +001fcdd0: 7265 5f73 7472 6174 6567 790a 2020 2d20  re_strategy.  - 
│ │ │ +001fcde0: 6669 6c65 5f70 6572 6d69 7373 696f 6e73  file_permissions
│ │ │ +001fcdf0: 5f73 7368 645f 7075 625f 6b65 790a 2020  _sshd_pub_key.  
│ │ │ +001fce00: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +001fce10: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +001fce20: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ +001fce30: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +001fce40: 6562 6f6f 745f 6e65 6564 6564 0a3c 2f63  eboot_needed.
│ │ │ +001fce60: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +001fcf00: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ +001fcf10: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
include ssh_
│ │ │ +001fcf70: 7075 626c 6963 5f6b 6579 5f70 6572 6d73  public_key_perms
│ │ │ +001fcf80: 0a0a 636c 6173 7320 7373 685f 7075 626c  ..class ssh_publ
│ │ │ +001fcf90: 6963 5f6b 6579 5f70 6572 6d73 207b 0a20  ic_key_perms {. 
│ │ │ +001fcfa0: 2065 7865 6320 7b20 2773 7368 645f 7075   exec { 'sshd_pu
│ │ │ +001fcfb0: 625f 6b65 7927 3a0a 2020 2020 636f 6d6d  b_key':.    comm
│ │ │ +001fcfc0: 616e 6420 3d26 6774 3b20 2263 686d 6f64  and => "chmod
│ │ │ +001fcfd0: 2030 3634 3420 2f65 7463 2f73 7368 2f2a   0644 /etc/ssh/*
│ │ │ +001fcfe0: 2e70 7562 222c 0a20 2020 2070 6174 6820  .pub",.    path 
│ │ │ +001fcff0: 2020 203d 2667 743b 2027 2f62 696e 3a2f     => '/bin:/
│ │ │ +001fd000: 7573 722f 6269 6e27 0a20 207d 0a7d 0a3c  usr/bin'.  }.}.<
│ │ │  001fd010: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
R │ │ │ -001fed40: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ -001fed50: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity: │ │ │ -001fee30: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -001fee40: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ -001feea0: 7873 6572 7665 722d 786f 7267 0a0a 636c  xserver-xorg..cl
│ │ │ -001feeb0: 6173 7320 7265 6d6f 7665 5f78 7365 7276  ass remove_xserv
│ │ │ -001feec0: 6572 2d78 6f72 6720 7b0a 2020 7061 636b  er-xorg {.  pack
│ │ │ -001feed0: 6167 6520 7b20 2778 7365 7276 6572 2d78  age { 'xserver-x
│ │ │ -001feee0: 6f72 6727 3a0a 2020 2020 656e 7375 7265  org':.    ensure
│ │ │ -001feef0: 203d 2667 743b 2027 7075 7267 6564 272c   => 'purged',
│ │ │ -001fef00: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.Remedi
│ │ │ -001fefc0: 6174 696f 6e20 416e 7369 626c 6520 736e  ation Ansible sn
│ │ │ -001fefd0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
low
Disru │ │ │ -001fee10: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -001fee20: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -001fee60: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ -001fee70: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
low< │ │ │ -001ff080: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -001ff0d0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ -001ff110: 616d 653a 2045 6e73 7572 6520 7873 6572  ame: Ensure xser
│ │ │ -001ff120: 7665 722d 786f 7267 2069 7320 7265 6d6f  ver-xorg is remo
│ │ │ -001ff130: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ -001ff140: 2020 206e 616d 653a 2078 7365 7276 6572     name: xserver
│ │ │ -001ff150: 2d78 6f72 670a 2020 2020 7374 6174 653a  -xorg.    state:
│ │ │ -001ff160: 2061 6273 656e 740a 2020 7461 6773 3a0a   absent.  tags:.
│ │ │ -001ff170: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -001ff180: 434d 2d36 2861 290a 2020 2d20 4e49 5354  CM-6(a).  - NIST
│ │ │ -001ff190: 2d38 3030 2d35 332d 434d 2d37 2861 290a  -800-53-CM-7(a).
│ │ │ -001ff1a0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -001ff1b0: 434d 2d37 2862 290a 2020 2d20 6469 7361  CM-7(b).  - disa
│ │ │ -001ff1c0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -001ff1d0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -001ff1e0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -001ff1f0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -001ff200: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -001ff210: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -001ff220: 7061 636b 6167 655f 786f 7267 2d78 3131  package_xorg-x11
│ │ │ -001ff230: 2d73 6572 7665 722d 636f 6d6d 6f6e 5f72  -server-common_r
│ │ │ -001ff240: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f  emoved.
Co │ │ │ -001ff060: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -001ff090: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -001ff0b0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -001ff0c0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -001ff0e0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -001ff0f0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
< │ │ │ +001fede0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +001fee00: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +001fee50: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +001fee80: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Ensure
│ │ │ +001feea0: 2078 7365 7276 6572 2d78 6f72 6720 6973   xserver-xorg is
│ │ │ +001feeb0: 2072 656d 6f76 6564 0a20 2070 6163 6b61   removed.  packa
│ │ │ +001feec0: 6765 3a0a 2020 2020 6e61 6d65 3a20 7873  ge:.    name: xs
│ │ │ +001feed0: 6572 7665 722d 786f 7267 0a20 2020 2073  erver-xorg.    s
│ │ │ +001feee0: 7461 7465 3a20 6162 7365 6e74 0a20 2074  tate: absent.  t
│ │ │ +001feef0: 6167 733a 0a20 202d 204e 4953 542d 3830  ags:.  - NIST-80
│ │ │ +001fef00: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ +001fef10: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +001fef20: 3728 6129 0a20 202d 204e 4953 542d 3830  7(a).  - NIST-80
│ │ │ +001fef30: 302d 3533 2d43 4d2d 3728 6229 0a20 202d  0-53-CM-7(b).  -
│ │ │ +001fef40: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ +001fef50: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +001fef60: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +001fef70: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ +001fef80: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ +001fef90: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +001fefa0: 0a20 202d 2070 6163 6b61 6765 5f78 6f72  .  - package_xor
│ │ │ +001fefb0: 672d 7831 312d 7365 7276 6572 2d63 6f6d  g-x11-server-com
│ │ │ +001fefc0: 6d6f 6e5f 7265 6d6f 7665 640a 3c2f 636f  mon_removed.
< │ │ │ +001fefe0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +001feff0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +001ff000: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +001ff010: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +001ff020: 646d 3238 3833 3722 2074 6162 696e 6465 dm28837" tabinde │ │ │ +001ff030: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +001ff040: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +001ff050: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +001ff060: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +001ff070: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +001ff080: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +001ff090: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
low
Disr │ │ │ +001fee10: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +001fee20: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +001fee60: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +001fee70: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
Complexity: │ │ │ +001ff170: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +001ff180: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ +001ff1e0: 7873 6572 7665 722d 786f 7267 0a0a 636c  xserver-xorg..cl
│ │ │ +001ff1f0: 6173 7320 7265 6d6f 7665 5f78 7365 7276  ass remove_xserv
│ │ │ +001ff200: 6572 2d78 6f72 6720 7b0a 2020 7061 636b  er-xorg {.  pack
│ │ │ +001ff210: 6167 6520 7b20 2778 7365 7276 6572 2d78  age { 'xserver-x
│ │ │ +001ff220: 6f72 6727 3a0a 2020 2020 656e 7375 7265  org':.    ensure
│ │ │ +001ff230: 203d 2667 743b 2027 7075 7267 6564 272c   => 'purged',
│ │ │ +001ff240: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}. 'installed',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  - name: Gather the package facts
│ │ │ │    package_facts:
│ │ │ │ @@ -176,14 +159,31 @@
│ │ │ │    - PCI-DSSv4-11.5.2
│ │ │ │    - enable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - medium_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_aide_installed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   enable
│ │ │ │ +include install_aide
│ │ │ │ +
│ │ │ │ +class install_aide {
│ │ │ │ +  package { 'aide':
│ │ │ │ +    ensure => 'installed',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +
│ │ │ │ +[[packages]]
│ │ │ │ +name = "aide"
│ │ │ │ +version = "*"
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  # Remediation is applicable only in certain platforms
│ │ │ │  if dpkg-query --show --showformat='${db:Status-Status}
│ │ │ │ @@ -636,26 +636,14 @@
│ │ │ │   $ apt-get remove prelink
│ │ │ │              The use of the prelink package can interfere with the operation of AIDE since it
│ │ │ │  Rationale:  binaries. Prelinking can also increase damage caused by vulnerability in a common library
│ │ │ │              like libc.
│ │ │ │  Severity:   medium
│ │ │ │  Rule ID:    xccdf_org.ssgproject.content_rule_package_prelink_removed
│ │ │ │  References: _c_i_s 1.6.3
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -include remove_prelink
│ │ │ │ -
│ │ │ │ -class remove_prelink {
│ │ │ │ -  package { 'prelink':
│ │ │ │ -    ensure => 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: medium
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Check If Prelinked Is Installed
│ │ │ │    ansible.builtin.stat:
│ │ │ │ @@ -689,14 +677,26 @@
│ │ │ │    tags:
│ │ │ │    - disable_strategy
│ │ │ │    - low_disruption
│ │ │ │    - medium_complexity
│ │ │ │    - medium_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_prelink_removed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_prelink
│ │ │ │ +
│ │ │ │ +class remove_prelink {
│ │ │ │ +  package { 'prelink':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: medium
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  
│ │ │ │  if [[ -f /usr/sbin/prelink ]];
│ │ │ │ @@ -758,26 +758,14 @@
│ │ │ │              virtualization hypervisor.
│ │ │ │  Severity:   medium
│ │ │ │  Rule ID:    xccdf_org.ssgproject.content_rule_package_gdm_removed
│ │ │ │              _d_i_s_a   CCI-000366
│ │ │ │  References: _n_i_s_t   CM-7(a), CM-7(b), CM-6(a)
│ │ │ │              _o_s_-_s_r_g SRG-OS-000480-GPOS-00227
│ │ │ │              _c_i_s    1.10
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -include remove_gdm3
│ │ │ │ -
│ │ │ │ -class remove_gdm3 {
│ │ │ │ -  package { 'gdm3':
│ │ │ │ -    ensure => 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Gather the package facts
│ │ │ │    package_facts:
│ │ │ │ @@ -804,14 +792,26 @@
│ │ │ │    - NIST-800-53-CM-7(b)
│ │ │ │    - disable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - medium_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_gdm_removed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_gdm3
│ │ │ │ +
│ │ │ │ +class remove_gdm3 {
│ │ │ │ +  package { 'gdm3':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  # Remediation is applicable only in certain platforms
│ │ │ │  if dpkg-query --show --showformat='${db:Status-Status}\n' 'gdm3' 2>/dev/null | grep -q '^installed';
│ │ │ │ @@ -847,31 +847,14 @@
│ │ │ │              _i_s_m     1382, 1384, 1386
│ │ │ │              _n_i_s_t    CM-6(a)
│ │ │ │  References: _o_s_p_p    FMT_MOF_EXT.1
│ │ │ │              _o_s_-_s_r_g  SRG-OS-000324-GPOS-00125
│ │ │ │              _c_i_s     1.3.1
│ │ │ │              _a_n_s_s_i   R33
│ │ │ │              _p_c_i_d_s_s_4 2.2.6, 2.2
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -
│ │ │ │ -[[packages]]
│ │ │ │ -name = "sudo"
│ │ │ │ -version = "*"
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   enable
│ │ │ │ -include install_sudo
│ │ │ │ -
│ │ │ │ -class install_sudo {
│ │ │ │ -  package { 'sudo':
│ │ │ │ -    ensure => 'installed',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  - name: Gather the package facts
│ │ │ │    package_facts:
│ │ │ │ @@ -898,14 +881,31 @@
│ │ │ │    - PCI-DSSv4-2.2.6
│ │ │ │    - enable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - medium_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_sudo_installed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   enable
│ │ │ │ +include install_sudo
│ │ │ │ +
│ │ │ │ +class install_sudo {
│ │ │ │ +  package { 'sudo':
│ │ │ │ +    ensure => 'installed',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +
│ │ │ │ +[[packages]]
│ │ │ │ +name = "sudo"
│ │ │ │ +version = "*"
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  # Remediation is applicable only in certain platforms
│ │ │ │  if dpkg-query --show --showformat='${db:Status-Status}
│ │ │ │ @@ -3895,31 +3895,14 @@
│ │ │ │  Severity:   medium
│ │ │ │  Rule ID:    xccdf_org.ssgproject.content_rule_package_pam_pwquality_installed
│ │ │ │              _d_i_s_a    CCI-000366
│ │ │ │              _o_s_-_s_r_g  SRG-OS-000480-GPOS-00225
│ │ │ │  References: _s_t_i_g_i_d  UBTU-20-010057
│ │ │ │              _c_i_s     5.3.1
│ │ │ │              _s_t_i_g_r_e_f SV-238228r653859_rule
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -
│ │ │ │ -[[packages]]
│ │ │ │ -name = "libpam-pwquality"
│ │ │ │ -version = "*"
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   enable
│ │ │ │ -include install_libpam-pwquality
│ │ │ │ -
│ │ │ │ -class install_libpam-pwquality {
│ │ │ │ -  package { 'libpam-pwquality':
│ │ │ │ -    ensure => 'installed',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  - name: Gather the package facts
│ │ │ │    package_facts:
│ │ │ │ @@ -3942,14 +3925,31 @@
│ │ │ │    - DISA-STIG-UBTU-20-010057
│ │ │ │    - enable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - medium_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_pam_pwquality_installed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   enable
│ │ │ │ +include install_libpam-pwquality
│ │ │ │ +
│ │ │ │ +class install_libpam-pwquality {
│ │ │ │ +  package { 'libpam-pwquality':
│ │ │ │ +    ensure => 'installed',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +
│ │ │ │ +[[packages]]
│ │ │ │ +name = "libpam-pwquality"
│ │ │ │ +version = "*"
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  # Remediation is applicable only in certain platforms
│ │ │ │  if dpkg-query --show --showformat='${db:Status-Status}\n' 'libpam-runtime' 2>/dev/null | grep -
│ │ │ │ @@ -6274,31 +6274,14 @@
│ │ │ │              _d_i_s_a    CCI-001764, CCI-001774, CCI-002165, CCI-002235
│ │ │ │              _o_s_-_s_r_g  SRG-OS-000368-GPOS-00154, SRG-OS-000312-GPOS-00122, SRG-OS-000312-GPOS-00123,
│ │ │ │                      SRG-OS-000312-GPOS-00124, SRG-OS-000324-GPOS-00125, SRG-OS-000370-GPOS-00155
│ │ │ │  References: _s_t_i_g_i_d  UBTU-20-010439
│ │ │ │              _c_i_s     1.7.1.1
│ │ │ │              _a_n_s_s_i   R45
│ │ │ │              _s_t_i_g_r_e_f SV-238360r853435_rule
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -
│ │ │ │ -[[packages]]
│ │ │ │ -name = "apparmor"
│ │ │ │ -version = "*"
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   enable
│ │ │ │ -include install_apparmor
│ │ │ │ -
│ │ │ │ -class install_apparmor {
│ │ │ │ -  package { 'apparmor':
│ │ │ │ -    ensure => 'installed',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  - name: Ensure apparmor is installed
│ │ │ │    package:
│ │ │ │ @@ -6309,14 +6292,31 @@
│ │ │ │    - DISA-STIG-UBTU-20-010439
│ │ │ │    - enable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - medium_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_apparmor_installed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   enable
│ │ │ │ +include install_apparmor
│ │ │ │ +
│ │ │ │ +class install_apparmor {
│ │ │ │ +  package { 'apparmor':
│ │ │ │ +    ensure => 'installed',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +
│ │ │ │ +[[packages]]
│ │ │ │ +name = "apparmor"
│ │ │ │ +version = "*"
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  # Remediation is applicable only in certain platforms
│ │ │ │  if [ ! -f /.dockerenv ] && [ ! -f /run/.containerenv ]; then
│ │ │ │ @@ -7211,31 +7211,14 @@
│ │ │ │  References: _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9
│ │ │ │              _i_s_o_2_7_0_0_1_-_2_0_1_3  A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1
│ │ │ │              _n_i_s_t           CM-6(a)
│ │ │ │              _n_i_s_t_-_c_s_f       PR.PT-1
│ │ │ │              _o_s_-_s_r_g         SRG-OS-000479-GPOS-00224, SRG-OS-000051-GPOS-00024, SRG-OS-000480-GPOS-
│ │ │ │                             00227
│ │ │ │              _c_i_s            4.2.1.1
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -
│ │ │ │ -[[packages]]
│ │ │ │ -name = "rsyslog"
│ │ │ │ -version = "*"
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   enable
│ │ │ │ -include install_rsyslog
│ │ │ │ -
│ │ │ │ -class install_rsyslog {
│ │ │ │ -  package { 'rsyslog':
│ │ │ │ -    ensure => 'installed',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  - name: Gather the package facts
│ │ │ │    package_facts:
│ │ │ │ @@ -7258,14 +7241,31 @@
│ │ │ │    - NIST-800-53-CM-6(a)
│ │ │ │    - enable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - medium_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_rsyslog_installed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   enable
│ │ │ │ +include install_rsyslog
│ │ │ │ +
│ │ │ │ +class install_rsyslog {
│ │ │ │ +  package { 'rsyslog':
│ │ │ │ +    ensure => 'installed',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +
│ │ │ │ +[[packages]]
│ │ │ │ +name = "rsyslog"
│ │ │ │ +version = "*"
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  # Remediation is applicable only in certain platforms
│ │ │ │  if dpkg-query --show --showformat='${db:Status-Status}
│ │ │ │ @@ -7296,31 +7296,14 @@
│ │ │ │                             A.15.2.1, A.15.2.2, A.17.2.1
│ │ │ │              _n_i_s_t           CM-6(a), AU-4(1)
│ │ │ │              _n_i_s_t_-_c_s_f       DE.CM-1, DE.CM-3, DE.CM-7, ID.SC-4, PR.DS-4, PR.PT-1
│ │ │ │              _o_s_-_s_r_g         SRG-OS-000480-GPOS-00227
│ │ │ │              _s_t_i_g_i_d         UBTU-20-010432
│ │ │ │              _c_i_s            4.2.1.2
│ │ │ │              _s_t_i_g_r_e_f        SV-238353r654234_rule
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -
│ │ │ │ -[customizations.services]
│ │ │ │ -enabled = ["rsyslog"]
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   enable
│ │ │ │ -include enable_rsyslog
│ │ │ │ -
│ │ │ │ -class enable_rsyslog {
│ │ │ │ -  service {'rsyslog':
│ │ │ │ -    enable => true,
│ │ │ │ -    ensure => 'running',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  - name: Gather the package facts
│ │ │ │    package_facts:
│ │ │ │ @@ -7358,14 +7341,31 @@
│ │ │ │    - NIST-800-53-CM-6(a)
│ │ │ │    - enable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - medium_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - service_rsyslog_enabled
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   enable
│ │ │ │ +include enable_rsyslog
│ │ │ │ +
│ │ │ │ +class enable_rsyslog {
│ │ │ │ +  service {'rsyslog':
│ │ │ │ +    enable => true,
│ │ │ │ +    ensure => 'running',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +
│ │ │ │ +[customizations.services]
│ │ │ │ +enabled = ["rsyslog"]
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  # Remediation is applicable only in certain platforms
│ │ │ │  if dpkg-query --show --showformat='${db:Status-Status}
│ │ │ │ @@ -7875,31 +7875,14 @@
│ │ │ │  The iptables-persistent package can be installed with the following command:
│ │ │ │  $ apt-get install iptables-persistent
│ │ │ │  Rationale:  A method of configuring and maintaining firewall rules is necessary to configure a Host
│ │ │ │              Based Firewall.
│ │ │ │  Severity:   medium
│ │ │ │  Rule ID:    xccdf_org.ssgproject.content_rule_package_iptables-persistent_installed
│ │ │ │  References: _c_i_s 3.5.3.1.1
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -
│ │ │ │ -[[packages]]
│ │ │ │ -name = "iptables-persistent"
│ │ │ │ -version = "*"
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   enable
│ │ │ │ -include install_iptables-persistent
│ │ │ │ -
│ │ │ │ -class install_iptables-persistent {
│ │ │ │ -  package { 'iptables-persistent':
│ │ │ │ -    ensure => 'installed',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  - name: Gather the package facts
│ │ │ │    package_facts:
│ │ │ │ @@ -7920,14 +7903,31 @@
│ │ │ │    tags:
│ │ │ │    - enable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - medium_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_iptables-persistent_installed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   enable
│ │ │ │ +include install_iptables-persistent
│ │ │ │ +
│ │ │ │ +class install_iptables-persistent {
│ │ │ │ +  package { 'iptables-persistent':
│ │ │ │ +    ensure => 'installed',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +
│ │ │ │ +[[packages]]
│ │ │ │ +name = "iptables-persistent"
│ │ │ │ +version = "*"
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  # Remediation is applicable only in certain platforms
│ │ │ │  if dpkg-query --show --showformat='${db:Status-Status}\n' 'iptables' 2>/dev/null | grep -
│ │ │ │ @@ -7945,31 +7945,14 @@
│ │ │ │              operators to set up firewalls and IP masquerading, etc.
│ │ │ │  Severity:   medium
│ │ │ │  Rule ID:    xccdf_org.ssgproject.content_rule_package_iptables_installed
│ │ │ │              _n_i_s_t   CM-6(a)
│ │ │ │  References: _p_c_i_d_s_s Req-1.4.1
│ │ │ │              _o_s_-_s_r_g SRG-OS-000480-GPOS-00227
│ │ │ │              _c_i_s    3.5.3.1.1
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -
│ │ │ │ -[[packages]]
│ │ │ │ -name = "iptables"
│ │ │ │ -version = "*"
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   enable
│ │ │ │ -include install_iptables
│ │ │ │ -
│ │ │ │ -class install_iptables {
│ │ │ │ -  package { 'iptables':
│ │ │ │ -    ensure => 'installed',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  - name: Gather the package facts
│ │ │ │    package_facts:
│ │ │ │ @@ -7994,14 +7977,31 @@
│ │ │ │    - PCI-DSS-Req-1.4.1
│ │ │ │    - enable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - medium_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_iptables_installed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   enable
│ │ │ │ +include install_iptables
│ │ │ │ +
│ │ │ │ +class install_iptables {
│ │ │ │ +  package { 'iptables':
│ │ │ │ +    ensure => 'installed',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +
│ │ │ │ +[[packages]]
│ │ │ │ +name = "iptables"
│ │ │ │ +version = "*"
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  # Remediation is applicable only in certain platforms
│ │ │ │  if ( dpkg-query --show --showformat='${db:Status-Status}
│ │ │ │ @@ -8016,26 +8016,14 @@
│ │ │ │  The iptables-persistent package can be removed with the following command:
│ │ │ │  $ apt-get remove iptables-persistent
│ │ │ │  Rationale:  Running both ufw and the services included in the iptables-persistent package may lead to
│ │ │ │              conflict.
│ │ │ │  Severity:   medium
│ │ │ │  Rule ID:    xccdf_org.ssgproject.content_rule_package_iptables-persistent_removed
│ │ │ │  References: _c_i_s 3.5.1.2
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -include remove_iptables-persistent
│ │ │ │ -
│ │ │ │ -class remove_iptables-persistent {
│ │ │ │ -  package { 'iptables-persistent':
│ │ │ │ -    ensure => 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Gather the package facts
│ │ │ │    package_facts:
│ │ │ │ @@ -8056,14 +8044,26 @@
│ │ │ │    tags:
│ │ │ │    - disable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - medium_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_iptables-persistent_removed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_iptables-persistent
│ │ │ │ +
│ │ │ │ +class remove_iptables-persistent {
│ │ │ │ +  package { 'iptables-persistent':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  # Remediation is applicable only in certain platforms
│ │ │ │  if dpkg-query --show --showformat='${db:Status-Status}\n' 'ufw' 2>/dev/null | grep -q '^installed';
│ │ │ │ @@ -12859,31 +12859,14 @@
│ │ │ │              nftables is a subsystem of the Linux kernel that can protect against threats originating
│ │ │ │  Rationale:  from within a corporate network to include malicious mobile code and poorly configured
│ │ │ │              software on a host.
│ │ │ │  Severity:   medium
│ │ │ │  Rule ID:    xccdf_org.ssgproject.content_rule_package_nftables_installed
│ │ │ │  References: _c_i_s     3.5.2.1
│ │ │ │              _p_c_i_d_s_s_4 1.2.1, 1.2
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -
│ │ │ │ -[[packages]]
│ │ │ │ -name = "nftables"
│ │ │ │ -version = "*"
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   enable
│ │ │ │ -include install_nftables
│ │ │ │ -
│ │ │ │ -class install_nftables {
│ │ │ │ -  package { 'nftables':
│ │ │ │ -    ensure => 'installed',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  - name: Gather the package facts
│ │ │ │    package_facts:
│ │ │ │ @@ -12908,14 +12891,31 @@
│ │ │ │    - PCI-DSSv4-1.2.1
│ │ │ │    - enable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - medium_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_nftables_installed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   enable
│ │ │ │ +include install_nftables
│ │ │ │ +
│ │ │ │ +class install_nftables {
│ │ │ │ +  package { 'nftables':
│ │ │ │ +    ensure => 'installed',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +
│ │ │ │ +[[packages]]
│ │ │ │ +name = "nftables"
│ │ │ │ +version = "*"
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  # Remediation is applicable only in certain platforms
│ │ │ │  if ( dpkg-query --show --showformat='${db:Status-Status}
│ │ │ │ @@ -12931,26 +12931,14 @@
│ │ │ │  packets/datagrams/frames and is the successor to iptables. The nftables package can be removed with
│ │ │ │  the following command:
│ │ │ │  $ apt-get remove nftables
│ │ │ │  Rationale:  Running both firewalld and nftables may lead to conflict.
│ │ │ │  Severity:   medium
│ │ │ │  Rule ID:    xccdf_org.ssgproject.content_rule_package_nftables_removed
│ │ │ │  References: _c_i_s 3.5.3.1.2
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -include remove_nftables
│ │ │ │ -
│ │ │ │ -class remove_nftables {
│ │ │ │ -  package { 'nftables':
│ │ │ │ -    ensure => 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Ensure nftables is removed
│ │ │ │    package:
│ │ │ │ @@ -12959,14 +12947,26 @@
│ │ │ │    tags:
│ │ │ │    - disable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - medium_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_nftables_removed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_nftables
│ │ │ │ +
│ │ │ │ +class remove_nftables {
│ │ │ │ +  package { 'nftables':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  
│ │ │ │  # CAUTION: This remediation script will remove nftables
│ │ │ │ @@ -12981,31 +12981,14 @@
│ │ │ │  nftables service The nftables service can be enabled with the following command:
│ │ │ │  $ sudo systemctl enable nftables.service
│ │ │ │  Rationale:  The nftables service restores the nftables rules from the rules files referenced in the /
│ │ │ │              etc/sysconfig/nftables.conf file during boot or the starting of the nftables service
│ │ │ │  Severity:   medium
│ │ │ │  Rule ID:    xccdf_org.ssgproject.content_rule_service_nftables_enabled
│ │ │ │  References: _c_i_s 3.5.2.9
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -
│ │ │ │ -[customizations.services]
│ │ │ │ -enabled = ["nftables"]
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   enable
│ │ │ │ -include enable_nftables
│ │ │ │ -
│ │ │ │ -class enable_nftables {
│ │ │ │ -  service {'nftables':
│ │ │ │ -    enable => true,
│ │ │ │ -    ensure => 'running',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  - name: Gather the package facts
│ │ │ │    package_facts:
│ │ │ │ @@ -13038,14 +13021,31 @@
│ │ │ │    tags:
│ │ │ │    - enable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - medium_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - service_nftables_enabled
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   enable
│ │ │ │ +include enable_nftables
│ │ │ │ +
│ │ │ │ +class enable_nftables {
│ │ │ │ +  service {'nftables':
│ │ │ │ +    enable => true,
│ │ │ │ +    ensure => 'running',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +
│ │ │ │ +[customizations.services]
│ │ │ │ +enabled = ["nftables"]
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  # Remediation is applicable only in certain platforms
│ │ │ │  if ( dpkg-query --show --showformat='${db:Status-Status}\n' 'nftables' 2>/dev/null | grep -
│ │ │ │ @@ -13069,50 +13069,14 @@
│ │ │ │  systemctl disable nftables
│ │ │ │  Rationale:  Running both firewalld and nftables may lead to conflict. nftables is actually one of the
│ │ │ │              backends for firewalld management tools.
│ │ │ │  Severity:   medium
│ │ │ │  Rule ID:    xccdf_org.ssgproject.content_rule_service_nftables_disabled
│ │ │ │  References: _c_i_s     3.5.3.1.2
│ │ │ │              _p_c_i_d_s_s_4 1.2.1, 1.2
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -
│ │ │ │ -[customizations.services]
│ │ │ │ -masked = ["nftables"]
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: medium
│ │ │ │ -RReebboooott::     true
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -apiVersion: machineconfiguration.openshift.io/v1
│ │ │ │ -kind: MachineConfig
│ │ │ │ -spec:
│ │ │ │ -  config:
│ │ │ │ -    ignition:
│ │ │ │ -      version: 3.1.0
│ │ │ │ -    systemd:
│ │ │ │ -      units:
│ │ │ │ -      - name: nftables.service
│ │ │ │ -        enabled: false
│ │ │ │ -        mask: true
│ │ │ │ -      - name: nftables.socket
│ │ │ │ -        enabled: false
│ │ │ │ -        mask: true
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   enable
│ │ │ │ -include disable_nftables
│ │ │ │ -
│ │ │ │ -class disable_nftables {
│ │ │ │ -  service {'nftables':
│ │ │ │ -    enable => false,
│ │ │ │ -    ensure => 'stopped',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Gather the package facts
│ │ │ │    package_facts:
│ │ │ │ @@ -13199,14 +13163,50 @@
│ │ │ │    - PCI-DSSv4-1.2.1
│ │ │ │    - disable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - medium_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - service_nftables_disabled
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: medium
│ │ │ │ +RReebboooott::     true
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +apiVersion: machineconfiguration.openshift.io/v1
│ │ │ │ +kind: MachineConfig
│ │ │ │ +spec:
│ │ │ │ +  config:
│ │ │ │ +    ignition:
│ │ │ │ +      version: 3.1.0
│ │ │ │ +    systemd:
│ │ │ │ +      units:
│ │ │ │ +      - name: nftables.service
│ │ │ │ +        enabled: false
│ │ │ │ +        mask: true
│ │ │ │ +      - name: nftables.socket
│ │ │ │ +        enabled: false
│ │ │ │ +        mask: true
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   enable
│ │ │ │ +include disable_nftables
│ │ │ │ +
│ │ │ │ +class disable_nftables {
│ │ │ │ +  service {'nftables':
│ │ │ │ +    enable => false,
│ │ │ │ +    ensure => 'stopped',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +
│ │ │ │ +[customizations.services]
│ │ │ │ +masked = ["nftables"]
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  # Remediation is applicable only in certain platforms
│ │ │ │  if ( dpkg-query --show --showformat='${db:Status-Status}\n' 'firewalld' 2>/dev/null | grep -
│ │ │ │ @@ -13748,31 +13748,14 @@
│ │ │ │  Severity:   medium
│ │ │ │  Rule ID:    xccdf_org.ssgproject.content_rule_package_ufw_installed
│ │ │ │              _d_i_s_a    CCI-002314
│ │ │ │              _o_s_-_s_r_g  SRG-OS-000297-GPOS-00115
│ │ │ │  References: _s_t_i_g_i_d  UBTU-20-010433
│ │ │ │              _c_i_s     3.5.1.1
│ │ │ │              _s_t_i_g_r_e_f SV-238354r853429_rule
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -
│ │ │ │ -[[packages]]
│ │ │ │ -name = "ufw"
│ │ │ │ -version = "*"
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   enable
│ │ │ │ -include install_ufw
│ │ │ │ -
│ │ │ │ -class install_ufw {
│ │ │ │ -  package { 'ufw':
│ │ │ │ -    ensure => 'installed',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  - name: Gather the package facts
│ │ │ │    package_facts:
│ │ │ │ @@ -13795,14 +13778,31 @@
│ │ │ │    - DISA-STIG-UBTU-20-010433
│ │ │ │    - enable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - medium_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_ufw_installed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   enable
│ │ │ │ +include install_ufw
│ │ │ │ +
│ │ │ │ +class install_ufw {
│ │ │ │ +  package { 'ufw':
│ │ │ │ +    ensure => 'installed',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +
│ │ │ │ +[[packages]]
│ │ │ │ +name = "ufw"
│ │ │ │ +version = "*"
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  # Remediation is applicable only in certain platforms
│ │ │ │  if dpkg-query --show --showformat='${db:Status-Status}
│ │ │ │ @@ -13816,26 +13816,14 @@
│ │ │ │  ****** RRuullee? ?  RReemmoovvee uuffww PPaacckkaaggee ? ? _[[_rr_ee_ff_]] ******
│ │ │ │  The ufw package can be removed with the following command:
│ │ │ │  $ apt-get remove ufw
│ │ │ │  Rationale:  Running iptables.persistent with ufw enabled may lead to conflict and unexpected results.
│ │ │ │  Severity:   medium
│ │ │ │  Rule ID:    xccdf_org.ssgproject.content_rule_package_ufw_removed
│ │ │ │  References: _c_i_s 3.5.2.2
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -include remove_ufw
│ │ │ │ -
│ │ │ │ -class remove_ufw {
│ │ │ │ -  package { 'ufw':
│ │ │ │ -    ensure => 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Gather the package facts
│ │ │ │    package_facts:
│ │ │ │ @@ -13856,14 +13844,26 @@
│ │ │ │    tags:
│ │ │ │    - disable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - medium_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_ufw_removed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_ufw
│ │ │ │ +
│ │ │ │ +class remove_ufw {
│ │ │ │ +  package { 'ufw':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  # Remediation is applicable only in certain platforms
│ │ │ │  if dpkg-query --show --showformat='${db:Status-Status}
│ │ │ │ @@ -13887,31 +13887,14 @@
│ │ │ │  Severity:   medium
│ │ │ │  Rule ID:    xccdf_org.ssgproject.content_rule_service_ufw_enabled
│ │ │ │              _d_i_s_a    CCI-002314
│ │ │ │              _o_s_-_s_r_g  SRG-OS-000297-GPOS-00115
│ │ │ │  References: _s_t_i_g_i_d  UBTU-20-010434
│ │ │ │              _c_i_s     3.5.1.3
│ │ │ │              _s_t_i_g_r_e_f SV-238355r853430_rule
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -
│ │ │ │ -[customizations.services]
│ │ │ │ -enabled = ["ufw"]
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   enable
│ │ │ │ -include enable_ufw
│ │ │ │ -
│ │ │ │ -class enable_ufw {
│ │ │ │ -  service {'ufw':
│ │ │ │ -    enable => true,
│ │ │ │ -    ensure => 'running',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  - name: Gather the package facts
│ │ │ │    package_facts:
│ │ │ │ @@ -13947,14 +13930,31 @@
│ │ │ │    - DISA-STIG-UBTU-20-010434
│ │ │ │    - enable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - medium_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - service_ufw_enabled
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   enable
│ │ │ │ +include enable_ufw
│ │ │ │ +
│ │ │ │ +class enable_ufw {
│ │ │ │ +  service {'ufw':
│ │ │ │ +    enable => true,
│ │ │ │ +    ensure => 'running',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +
│ │ │ │ +[customizations.services]
│ │ │ │ +enabled = ["ufw"]
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  # Remediation is applicable only in certain platforms
│ │ │ │  if dpkg-query --show --showformat='${db:Status-Status}
│ │ │ │ @@ -16050,50 +16050,14 @@
│ │ │ │              _i_s_o_2_7_0_0_1_-_2_0_1_3  A.11.2.6, A.13.1.1, A.13.2.1, A.18.1.4, A.6.2.1, A.6.2.2, A.7.1.1,
│ │ │ │                             A.9.2.1, A.9.2.2, A.9.2.3, A.9.2.4, A.9.2.6, A.9.3.1, A.9.4.2, A.9.4.3
│ │ │ │              _n_i_s_t           CM-7(a), CM-7(b), CM-6(a), MP-7
│ │ │ │              _n_i_s_t_-_c_s_f       PR.AC-1, PR.AC-3, PR.AC-6, PR.AC-7
│ │ │ │              _o_s_-_s_r_g         SRG-OS-000114-GPOS-00059, SRG-OS-000378-GPOS-00163, SRG-OS-000480-GPOS-
│ │ │ │                             00227
│ │ │ │              _c_i_s            1.1.23
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -
│ │ │ │ -[customizations.services]
│ │ │ │ -masked = ["autofs"]
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: medium
│ │ │ │ -RReebboooott::     true
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -apiVersion: machineconfiguration.openshift.io/v1
│ │ │ │ -kind: MachineConfig
│ │ │ │ -spec:
│ │ │ │ -  config:
│ │ │ │ -    ignition:
│ │ │ │ -      version: 3.1.0
│ │ │ │ -    systemd:
│ │ │ │ -      units:
│ │ │ │ -      - name: autofs.service
│ │ │ │ -        enabled: false
│ │ │ │ -        mask: true
│ │ │ │ -      - name: autofs.socket
│ │ │ │ -        enabled: false
│ │ │ │ -        mask: true
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   enable
│ │ │ │ -include disable_autofs
│ │ │ │ -
│ │ │ │ -class disable_autofs {
│ │ │ │ -  service {'autofs':
│ │ │ │ -    enable => false,
│ │ │ │ -    ensure => 'stopped',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Gather the package facts
│ │ │ │    package_facts:
│ │ │ │ @@ -16194,14 +16158,50 @@
│ │ │ │    - NIST-800-53-MP-7
│ │ │ │    - disable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - medium_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - service_autofs_disabled
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: medium
│ │ │ │ +RReebboooott::     true
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +apiVersion: machineconfiguration.openshift.io/v1
│ │ │ │ +kind: MachineConfig
│ │ │ │ +spec:
│ │ │ │ +  config:
│ │ │ │ +    ignition:
│ │ │ │ +      version: 3.1.0
│ │ │ │ +    systemd:
│ │ │ │ +      units:
│ │ │ │ +      - name: autofs.service
│ │ │ │ +        enabled: false
│ │ │ │ +        mask: true
│ │ │ │ +      - name: autofs.socket
│ │ │ │ +        enabled: false
│ │ │ │ +        mask: true
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   enable
│ │ │ │ +include disable_autofs
│ │ │ │ +
│ │ │ │ +class disable_autofs {
│ │ │ │ +  service {'autofs':
│ │ │ │ +    enable => false,
│ │ │ │ +    ensure => 'stopped',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +
│ │ │ │ +[customizations.services]
│ │ │ │ +masked = ["autofs"]
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  # Remediation is applicable only in certain platforms
│ │ │ │  if ( dpkg-query --show --showformat='${db:Status-Status}\n' 'autofs' 2>/dev/null | grep -
│ │ │ │ @@ -19495,26 +19495,14 @@
│ │ │ │                             SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR
│ │ │ │              _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR
│ │ │ │                             2.5, SR 2.6, SR 2.7, SR 7.6
│ │ │ │              _i_s_o_2_7_0_0_1_-_2_0_1_3  A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2
│ │ │ │              _n_i_s_t           CM-7(a), CM-7(b), CM-6(a)
│ │ │ │              _n_i_s_t_-_c_s_f       PR.IP-1, PR.PT-3
│ │ │ │              _c_i_s            2.2.3
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -include remove_avahi-daemon
│ │ │ │ -
│ │ │ │ -class remove_avahi-daemon {
│ │ │ │ -  package { 'avahi-daemon':
│ │ │ │ -    ensure => 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Ensure avahi-daemon is removed
│ │ │ │    package:
│ │ │ │ @@ -19526,14 +19514,26 @@
│ │ │ │    - NIST-800-53-CM-7(b)
│ │ │ │    - disable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - medium_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_avahi_removed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_avahi-daemon
│ │ │ │ +
│ │ │ │ +class remove_avahi-daemon {
│ │ │ │ +  package { 'avahi-daemon':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  
│ │ │ │  # CAUTION: This remediation script will remove avahi-daemon
│ │ │ │ @@ -19562,50 +19562,14 @@
│ │ │ │              _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR
│ │ │ │                             2.5, SR 2.6, SR 2.7, SR 7.6
│ │ │ │              _i_s_o_2_7_0_0_1_-_2_0_1_3  A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2
│ │ │ │              _n_i_s_t           CM-7(a), CM-7(b), CM-6(a)
│ │ │ │              _n_i_s_t_-_c_s_f       PR.IP-1, PR.PT-3
│ │ │ │              _c_i_s            2.2.3
│ │ │ │              _p_c_i_d_s_s_4        2.2.4, 2.2
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -
│ │ │ │ -[customizations.services]
│ │ │ │ -masked = ["avahi-daemon"]
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: medium
│ │ │ │ -RReebboooott::     true
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -apiVersion: machineconfiguration.openshift.io/v1
│ │ │ │ -kind: MachineConfig
│ │ │ │ -spec:
│ │ │ │ -  config:
│ │ │ │ -    ignition:
│ │ │ │ -      version: 3.1.0
│ │ │ │ -    systemd:
│ │ │ │ -      units:
│ │ │ │ -      - name: avahi-daemon.service
│ │ │ │ -        enabled: false
│ │ │ │ -        mask: true
│ │ │ │ -      - name: avahi-daemon.socket
│ │ │ │ -        enabled: false
│ │ │ │ -        mask: true
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   enable
│ │ │ │ -include disable_avahi-daemon
│ │ │ │ -
│ │ │ │ -class disable_avahi-daemon {
│ │ │ │ -  service {'avahi-daemon':
│ │ │ │ -    enable => false,
│ │ │ │ -    ensure => 'stopped',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Gather the package facts
│ │ │ │    package_facts:
│ │ │ │ @@ -19706,14 +19670,50 @@
│ │ │ │    - PCI-DSSv4-2.2.4
│ │ │ │    - disable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - medium_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - service_avahi-daemon_disabled
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: medium
│ │ │ │ +RReebboooott::     true
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +apiVersion: machineconfiguration.openshift.io/v1
│ │ │ │ +kind: MachineConfig
│ │ │ │ +spec:
│ │ │ │ +  config:
│ │ │ │ +    ignition:
│ │ │ │ +      version: 3.1.0
│ │ │ │ +    systemd:
│ │ │ │ +      units:
│ │ │ │ +      - name: avahi-daemon.service
│ │ │ │ +        enabled: false
│ │ │ │ +        mask: true
│ │ │ │ +      - name: avahi-daemon.socket
│ │ │ │ +        enabled: false
│ │ │ │ +        mask: true
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   enable
│ │ │ │ +include disable_avahi-daemon
│ │ │ │ +
│ │ │ │ +class disable_avahi-daemon {
│ │ │ │ +  service {'avahi-daemon':
│ │ │ │ +    enable => false,
│ │ │ │ +    ensure => 'stopped',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +
│ │ │ │ +[customizations.services]
│ │ │ │ +masked = ["avahi-daemon"]
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  # Remediation is applicable only in certain platforms
│ │ │ │  if ( dpkg-query --show --showformat='${db:Status-Status}\n' 'avahi-daemon' 2>/dev/null | grep -
│ │ │ │ @@ -20259,31 +20259,14 @@
│ │ │ │                             SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR
│ │ │ │              _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR
│ │ │ │                             2.5, SR 2.6, SR 2.7, SR 7.6
│ │ │ │              _i_s_o_2_7_0_0_1_-_2_0_1_3  A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2
│ │ │ │              _n_i_s_t           CM-6(a)
│ │ │ │              _n_i_s_t_-_c_s_f       PR.IP-1, PR.PT-3
│ │ │ │              _c_i_s            5.1.1
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -
│ │ │ │ -[customizations.services]
│ │ │ │ -enabled = ["cron"]
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   enable
│ │ │ │ -include enable_cron
│ │ │ │ -
│ │ │ │ -class enable_cron {
│ │ │ │ -  service {'cron':
│ │ │ │ -    enable => true,
│ │ │ │ -    ensure => 'running',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  - name: Gather the package facts
│ │ │ │    package_facts:
│ │ │ │ @@ -20317,14 +20300,31 @@
│ │ │ │    - NIST-800-53-CM-6(a)
│ │ │ │    - enable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - medium_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - service_cron_enabled
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   enable
│ │ │ │ +include enable_cron
│ │ │ │ +
│ │ │ │ +class enable_cron {
│ │ │ │ +  service {'cron':
│ │ │ │ +    enable => true,
│ │ │ │ +    ensure => 'running',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +
│ │ │ │ +[customizations.services]
│ │ │ │ +enabled = ["cron"]
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  # Remediation is applicable only in certain platforms
│ │ │ │  if dpkg-query --show --showformat='${db:Status-Status}
│ │ │ │ @@ -21846,26 +21846,14 @@
│ │ │ │  The support for Yellowpages should not be installed unless it is required.
│ │ │ │              NIS is the historical SUN service for central account management, more and more replaced
│ │ │ │  Rationale:  by LDAP. NIS does not support efficiently security constraints, ACL, etc. and should not
│ │ │ │              be used.
│ │ │ │  Severity:   low
│ │ │ │  Rule ID:    xccdf_org.ssgproject.content_rule_package_nis_removed
│ │ │ │  References: _c_i_s 2.2.17
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -include remove_nis
│ │ │ │ -
│ │ │ │ -class remove_nis {
│ │ │ │ -  package { 'nis':
│ │ │ │ -    ensure => 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Ensure nis is removed
│ │ │ │    package:
│ │ │ │ @@ -21874,14 +21862,26 @@
│ │ │ │    tags:
│ │ │ │    - disable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - low_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_nis_removed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_nis
│ │ │ │ +
│ │ │ │ +class remove_nis {
│ │ │ │ +  package { 'nis':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  
│ │ │ │  # CAUTION: This remediation script will remove nis
│ │ │ │ @@ -21923,26 +21923,14 @@
│ │ │ │                             2.5, SR 2.6, SR 2.7, SR 7.6
│ │ │ │              _i_s_o_2_7_0_0_1_-_2_0_1_3  A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2
│ │ │ │              _n_i_s_t           CM-7(a), CM-7(b), CM-6(a)
│ │ │ │              _n_i_s_t_-_c_s_f       PR.IP-1, PR.PT-3
│ │ │ │              _c_i_s            2.2.5
│ │ │ │              _a_n_s_s_i          R62
│ │ │ │              _p_c_i_d_s_s_4        2.2.4, 2.2
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -include remove_isc-dhcp-server
│ │ │ │ -
│ │ │ │ -class remove_isc-dhcp-server {
│ │ │ │ -  package { 'isc-dhcp-server':
│ │ │ │ -    ensure => 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Ensure isc-dhcp-server is removed
│ │ │ │    package:
│ │ │ │ @@ -21956,14 +21944,26 @@
│ │ │ │    - PCI-DSSv4-2.2.4
│ │ │ │    - disable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - medium_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_dhcp_removed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_isc-dhcp-server
│ │ │ │ +
│ │ │ │ +class remove_isc-dhcp-server {
│ │ │ │ +  package { 'isc-dhcp-server':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  
│ │ │ │  # CAUTION: This remediation script will remove isc-dhcp-server
│ │ │ │ @@ -21999,26 +21999,14 @@
│ │ │ │                             SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR
│ │ │ │              _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR
│ │ │ │                             2.5, SR 2.6, SR 2.7, SR 7.6
│ │ │ │              _i_s_o_2_7_0_0_1_-_2_0_1_3  A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2
│ │ │ │              _n_i_s_t           CM-7(a), CM-7(b), CM-6(a)
│ │ │ │              _n_i_s_t_-_c_s_f       PR.IP-1, PR.PT-3
│ │ │ │              _c_i_s            2.2.8
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -include remove_bind9
│ │ │ │ -
│ │ │ │ -class remove_bind9 {
│ │ │ │ -  package { 'bind9':
│ │ │ │ -    ensure => 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Ensure bind9 is removed
│ │ │ │    package:
│ │ │ │ @@ -22030,14 +22018,26 @@
│ │ │ │    - NIST-800-53-CM-7(b)
│ │ │ │    - disable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - low_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_bind_removed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_bind9
│ │ │ │ +
│ │ │ │ +class remove_bind9 {
│ │ │ │ +  package { 'bind9':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  
│ │ │ │  # CAUTION: This remediation script will remove bind9
│ │ │ │ @@ -22076,26 +22076,14 @@
│ │ │ │                             2.5, SR 2.6, SR 2.7, SR 7.6
│ │ │ │              _i_s_o_2_7_0_0_1_-_2_0_1_3  A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2
│ │ │ │              _n_i_s_t           CM-7(a), CM-7(b), CM-6(a), IA-5(1)(c), IA-5(1).1(v), CM-7, CM-7.1(ii)
│ │ │ │              _n_i_s_t_-_c_s_f       PR.IP-1, PR.PT-3
│ │ │ │              _o_s_-_s_r_g         SRG-OS-000074-GPOS-00042, SRG-OS-000095-GPOS-00049, SRG-OS-000480-GPOS-
│ │ │ │                             00227
│ │ │ │              _c_i_s            2.2.9
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -include remove_vsftpd
│ │ │ │ -
│ │ │ │ -class remove_vsftpd {
│ │ │ │ -  package { 'vsftpd':
│ │ │ │ -    ensure => 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Ensure vsftpd is removed
│ │ │ │    package:
│ │ │ │ @@ -22111,14 +22099,26 @@
│ │ │ │    - NIST-800-53-IA-5(1).1(v)
│ │ │ │    - disable_strategy
│ │ │ │    - high_severity
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_vsftpd_removed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_vsftpd
│ │ │ │ +
│ │ │ │ +class remove_vsftpd {
│ │ │ │ +  package { 'vsftpd':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  
│ │ │ │  # CAUTION: This remediation script will remove vsftpd
│ │ │ │ @@ -22157,26 +22157,14 @@
│ │ │ │  References:                SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR
│ │ │ │              _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR
│ │ │ │                             2.5, SR 2.6, SR 2.7, SR 7.6
│ │ │ │              _i_s_o_2_7_0_0_1_-_2_0_1_3  A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2
│ │ │ │              _n_i_s_t           CM-7(a), CM-7(b), CM-6(a)
│ │ │ │              _n_i_s_t_-_c_s_f       PR.IP-1, PR.PT-3
│ │ │ │              _c_i_s            2.2.10
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -include remove_apache2
│ │ │ │ -
│ │ │ │ -class remove_apache2 {
│ │ │ │ -  package { 'apache2':
│ │ │ │ -    ensure => 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Ensure apache2 is removed
│ │ │ │    package:
│ │ │ │ @@ -22188,14 +22176,26 @@
│ │ │ │    - NIST-800-53-CM-7(b)
│ │ │ │    - disable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_httpd_removed
│ │ │ │    - unknown_severity
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_apache2
│ │ │ │ +
│ │ │ │ +class remove_apache2 {
│ │ │ │ +  package { 'apache2':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  
│ │ │ │  # CAUTION: This remediation script will remove apache2
│ │ │ │ @@ -22223,26 +22223,14 @@
│ │ │ │  References:                SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR
│ │ │ │              _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR
│ │ │ │                             2.5, SR 2.6, SR 2.7, SR 7.6
│ │ │ │              _i_s_o_2_7_0_0_1_-_2_0_1_3  A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2
│ │ │ │              _n_i_s_t           CM-7(a), CM-7(b), CM-6(a)
│ │ │ │              _n_i_s_t_-_c_s_f       PR.IP-1, PR.PT-3
│ │ │ │              _c_i_s            2.2.10
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -include remove_nginx
│ │ │ │ -
│ │ │ │ -class remove_nginx {
│ │ │ │ -  package { 'nginx':
│ │ │ │ -    ensure => 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Ensure nginx is removed
│ │ │ │    package:
│ │ │ │ @@ -22254,14 +22242,26 @@
│ │ │ │    - NIST-800-53-CM-7(b)
│ │ │ │    - disable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_nginx_removed
│ │ │ │    - unknown_severity
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_nginx
│ │ │ │ +
│ │ │ │ +class remove_nginx {
│ │ │ │ +  package { 'nginx':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  
│ │ │ │  # CAUTION: This remediation script will remove nginx
│ │ │ │ @@ -22281,26 +22281,14 @@
│ │ │ │  The cyrus-imapd package can be removed with the following command:
│ │ │ │  $ apt-get remove cyrus-imapd
│ │ │ │  Rationale:  If there is no need to make the cyrus-imapd software available, removing it provides a
│ │ │ │              safeguard against its activation.
│ │ │ │  Severity:   unknown
│ │ │ │  Rule ID:    xccdf_org.ssgproject.content_rule_package_cyrus-imapd_removed
│ │ │ │  References: _c_i_s 2.2.11
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -include remove_cyrus-imapd
│ │ │ │ -
│ │ │ │ -class remove_cyrus-imapd {
│ │ │ │ -  package { 'cyrus-imapd':
│ │ │ │ -    ensure => 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Ensure cyrus-imapd is removed
│ │ │ │    package:
│ │ │ │ @@ -22309,14 +22297,26 @@
│ │ │ │    tags:
│ │ │ │    - disable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_cyrus-imapd_removed
│ │ │ │    - unknown_severity
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_cyrus-imapd
│ │ │ │ +
│ │ │ │ +class remove_cyrus-imapd {
│ │ │ │ +  package { 'cyrus-imapd':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  
│ │ │ │  # CAUTION: This remediation script will remove cyrus-imapd
│ │ │ │ @@ -22333,26 +22333,14 @@
│ │ │ │  The dovecot-core package can be removed with the following command:
│ │ │ │  $ apt-get remove dovecot-core
│ │ │ │  Rationale:  If there is no need to make the Dovecot software available, removing it provides a
│ │ │ │              safeguard against its activation.
│ │ │ │  Severity:   unknown
│ │ │ │  Rule ID:    xccdf_org.ssgproject.content_rule_package_dovecot_removed
│ │ │ │  References: _c_i_s 2.2.11
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -include remove_dovecot-core
│ │ │ │ -
│ │ │ │ -class remove_dovecot-core {
│ │ │ │ -  package { 'dovecot-core':
│ │ │ │ -    ensure => 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Ensure dovecot-core is removed
│ │ │ │    package:
│ │ │ │ @@ -22361,14 +22349,26 @@
│ │ │ │    tags:
│ │ │ │    - disable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_dovecot_removed
│ │ │ │    - unknown_severity
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_dovecot-core
│ │ │ │ +
│ │ │ │ +class remove_dovecot-core {
│ │ │ │ +  package { 'dovecot-core':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  
│ │ │ │  # CAUTION: This remediation script will remove dovecot-core
│ │ │ │ @@ -22398,26 +22398,14 @@
│ │ │ │  command:
│ │ │ │  $ apt-get remove lapd-utils
│ │ │ │  Rationale:  If the system does not need to act as an LDAP client, it is recommended that the software
│ │ │ │              is removed to reduce the potential attack surface.
│ │ │ │  Severity:   low
│ │ │ │  Rule ID:    xccdf_org.ssgproject.content_rule_package_openldap-clients_removed
│ │ │ │  References: _c_i_s 2.3.5
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -include remove_ldap-utils
│ │ │ │ -
│ │ │ │ -class remove_ldap-utils {
│ │ │ │ -  package { 'ldap-utils':
│ │ │ │ -    ensure => 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Ensure ldap-utils is removed
│ │ │ │    package:
│ │ │ │ @@ -22426,14 +22414,26 @@
│ │ │ │    tags:
│ │ │ │    - disable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - low_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_openldap-clients_removed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_ldap-utils
│ │ │ │ +
│ │ │ │ +class remove_ldap-utils {
│ │ │ │ +  package { 'ldap-utils':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  
│ │ │ │  # CAUTION: This remediation script will remove ldap-utils
│ │ │ │ @@ -22464,26 +22464,14 @@
│ │ │ │                             SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR
│ │ │ │              _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR
│ │ │ │                             2.5, SR 2.6, SR 2.7, SR 7.6
│ │ │ │              _i_s_o_2_7_0_0_1_-_2_0_1_3  A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2
│ │ │ │              _n_i_s_t           CM-7(a), CM-7(b), CM-6(a)
│ │ │ │              _n_i_s_t_-_c_s_f       PR.IP-1, PR.PT-3
│ │ │ │              _c_i_s            2.2.6
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -include remove_slapd
│ │ │ │ -
│ │ │ │ -class remove_slapd {
│ │ │ │ -  package { 'slapd':
│ │ │ │ -    ensure => 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Ensure slapd is removed
│ │ │ │    package:
│ │ │ │ @@ -22495,14 +22483,26 @@
│ │ │ │    - NIST-800-53-CM-7(b)
│ │ │ │    - disable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - low_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_openldap-servers_removed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_slapd
│ │ │ │ +
│ │ │ │ +class remove_slapd {
│ │ │ │ +  package { 'slapd':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  
│ │ │ │  # CAUTION: This remediation script will remove slapd
│ │ │ │ @@ -22620,26 +22620,14 @@
│ │ │ │  then this service should be disabled. The rpcbind package can be removed with the following command:
│ │ │ │  $ apt-get remove rpcbind
│ │ │ │  Rationale:  If the system does not require rpc based services, it is recommended that rpcbind be
│ │ │ │              disabled to reduce the attack surface.
│ │ │ │  Severity:   low
│ │ │ │  Rule ID:    xccdf_org.ssgproject.content_rule_package_rpcbind_removed
│ │ │ │  References: _c_i_s 2.3.6
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -include remove_rpcbind
│ │ │ │ -
│ │ │ │ -class remove_rpcbind {
│ │ │ │ -  package { 'rpcbind':
│ │ │ │ -    ensure => 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Gather the package facts
│ │ │ │    package_facts:
│ │ │ │ @@ -22660,14 +22648,26 @@
│ │ │ │    tags:
│ │ │ │    - disable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - low_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_rpcbind_removed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_rpcbind
│ │ │ │ +
│ │ │ │ +class remove_rpcbind {
│ │ │ │ +  package { 'rpcbind':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  # Remediation is applicable only in certain platforms
│ │ │ │  if dpkg-query --show --showformat='${db:Status-Status}
│ │ │ │ @@ -22688,26 +22688,14 @@
│ │ │ │  The nfs-kernel-server package can be removed with the following command:
│ │ │ │  $ apt-get remove nfs-kernel-server
│ │ │ │  Rationale:  If the system does not export NFS shares or act as an NFS client, it is recommended that
│ │ │ │              these services be removed to reduce the remote attack surface.
│ │ │ │  Severity:   low
│ │ │ │  Rule ID:    xccdf_org.ssgproject.content_rule_package_nfs-kernel-server_removed
│ │ │ │  References: _c_i_s 2.2.7
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -include remove_nfs-kernel-server
│ │ │ │ -
│ │ │ │ -class remove_nfs-kernel-server {
│ │ │ │ -  package { 'nfs-kernel-server':
│ │ │ │ -    ensure => 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Ensure nfs-kernel-server is removed
│ │ │ │    package:
│ │ │ │ @@ -22716,14 +22704,26 @@
│ │ │ │    tags:
│ │ │ │    - disable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - low_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_nfs-kernel-server_removed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_nfs-kernel-server
│ │ │ │ +
│ │ │ │ +class remove_nfs-kernel-server {
│ │ │ │ +  package { 'nfs-kernel-server':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  
│ │ │ │  # CAUTION: This remediation script will remove nfs-kernel-server
│ │ │ │ @@ -22792,31 +22792,14 @@
│ │ │ │              _p_c_i_d_s_s  Req-10.4
│ │ │ │  References: _o_s_-_s_r_g  SRG-OS-000355-GPOS-00143
│ │ │ │              _s_t_i_g_i_d  UBTU-20-010435
│ │ │ │              _c_i_s     2.2.1.1
│ │ │ │              _a_n_s_s_i   R71
│ │ │ │              _p_c_i_d_s_s_4 10.6.1, 10.6
│ │ │ │              _s_t_i_g_r_e_f SV-238356r877038_rule
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -
│ │ │ │ -[[packages]]
│ │ │ │ -name = "chrony"
│ │ │ │ -version = "*"
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   enable
│ │ │ │ -include install_chrony
│ │ │ │ -
│ │ │ │ -class install_chrony {
│ │ │ │ -  package { 'chrony':
│ │ │ │ -    ensure => 'installed',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  - name: Gather the package facts
│ │ │ │    package_facts:
│ │ │ │ @@ -22845,14 +22828,31 @@
│ │ │ │    - PCI-DSSv4-10.6.1
│ │ │ │    - enable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - medium_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_chrony_installed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   enable
│ │ │ │ +include install_chrony
│ │ │ │ +
│ │ │ │ +class install_chrony {
│ │ │ │ +  package { 'chrony':
│ │ │ │ +    ensure => 'installed',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +
│ │ │ │ +[[packages]]
│ │ │ │ +name = "chrony"
│ │ │ │ +version = "*"
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  # Remediation is applicable only in certain platforms
│ │ │ │  if dpkg-query --show --showformat='${db:Status-Status}
│ │ │ │ @@ -22873,31 +22873,14 @@
│ │ │ │              synchronization is working properly.
│ │ │ │  Severity:   medium
│ │ │ │  Rule ID:    xccdf_org.ssgproject.content_rule_service_chronyd_enabled
│ │ │ │              _d_i_s_a   CCI-004923
│ │ │ │  References: _i_s_m    0988, 1405
│ │ │ │              _o_s_-_s_r_g SRG-OS-000355-GPOS-00143
│ │ │ │              _c_i_s    2.2.1.3
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -
│ │ │ │ -[customizations.services]
│ │ │ │ -enabled = ["chrony"]
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   enable
│ │ │ │ -include enable_chrony
│ │ │ │ -
│ │ │ │ -class enable_chrony {
│ │ │ │ -  service {'chrony':
│ │ │ │ -    enable => true,
│ │ │ │ -    ensure => 'running',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  - name: Gather the package facts
│ │ │ │    package_facts:
│ │ │ │ @@ -22931,14 +22914,31 @@
│ │ │ │    tags:
│ │ │ │    - enable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - medium_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - service_chronyd_enabled
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   enable
│ │ │ │ +include enable_chrony
│ │ │ │ +
│ │ │ │ +class enable_chrony {
│ │ │ │ +  service {'chrony':
│ │ │ │ +    enable => true,
│ │ │ │ +    ensure => 'running',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +
│ │ │ │ +[customizations.services]
│ │ │ │ +enabled = ["chrony"]
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  # Remediation is applicable only in certain platforms
│ │ │ │  if dpkg-query --show --showformat='${db:Status-Status}
│ │ │ │ @@ -22975,31 +22975,14 @@
│ │ │ │              _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9
│ │ │ │  References: _i_s_o_2_7_0_0_1_-_2_0_1_3  A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1
│ │ │ │              _n_i_s_t           CM-6(a), AU-8(1)(a)
│ │ │ │              _n_i_s_t_-_c_s_f       PR.PT-1
│ │ │ │              _p_c_i_d_s_s         Req-10.4
│ │ │ │              _c_i_s            2.2.1.4
│ │ │ │              _p_c_i_d_s_s_4        10.6.1, 10.6
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -
│ │ │ │ -[customizations.services]
│ │ │ │ -enabled = ["ntp"]
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   enable
│ │ │ │ -include enable_ntp
│ │ │ │ -
│ │ │ │ -class enable_ntp {
│ │ │ │ -  service {'ntp':
│ │ │ │ -    enable => true,
│ │ │ │ -    ensure => 'running',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  - name: Gather the package facts
│ │ │ │    package_facts:
│ │ │ │ @@ -23043,14 +23026,31 @@
│ │ │ │    - PCI-DSSv4-10.6.1
│ │ │ │    - enable_strategy
│ │ │ │    - high_severity
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - no_reboot_needed
│ │ │ │    - service_ntp_enabled
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   enable
│ │ │ │ +include enable_ntp
│ │ │ │ +
│ │ │ │ +class enable_ntp {
│ │ │ │ +  service {'ntp':
│ │ │ │ +    enable => true,
│ │ │ │ +    ensure => 'running',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +
│ │ │ │ +[customizations.services]
│ │ │ │ +enabled = ["ntp"]
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  # Remediation is applicable only in certain platforms
│ │ │ │  if dpkg-query --show --showformat='${db:Status-Status}
│ │ │ │ @@ -23086,31 +23086,14 @@
│ │ │ │              _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9
│ │ │ │  References: _i_s_o_2_7_0_0_1_-_2_0_1_3  A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1
│ │ │ │              _n_i_s_t           CM-6(a), AU-8(1)(a)
│ │ │ │              _n_i_s_t_-_c_s_f       PR.PT-1
│ │ │ │              _p_c_i_d_s_s         Req-10.4
│ │ │ │              _c_i_s            2.2.1.2
│ │ │ │              _p_c_i_d_s_s_4        10.6.1, 10.6
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -
│ │ │ │ -[customizations.services]
│ │ │ │ -enabled = ["systemd-timesyncd"]
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   enable
│ │ │ │ -include enable_systemd-timesyncd
│ │ │ │ -
│ │ │ │ -class enable_systemd-timesyncd {
│ │ │ │ -  service {'systemd-timesyncd':
│ │ │ │ -    enable => true,
│ │ │ │ -    ensure => 'running',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  - name: Gather the package facts
│ │ │ │    package_facts:
│ │ │ │ @@ -23155,14 +23138,31 @@
│ │ │ │    - PCI-DSSv4-10.6.1
│ │ │ │    - enable_strategy
│ │ │ │    - high_severity
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - no_reboot_needed
│ │ │ │    - service_timesyncd_enabled
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   enable
│ │ │ │ +include enable_systemd-timesyncd
│ │ │ │ +
│ │ │ │ +class enable_systemd-timesyncd {
│ │ │ │ +  service {'systemd-timesyncd':
│ │ │ │ +    enable => true,
│ │ │ │ +    ensure => 'running',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +
│ │ │ │ +[customizations.services]
│ │ │ │ +enabled = ["systemd-timesyncd"]
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   enable
│ │ │ │  # Remediation is applicable only in certain platforms
│ │ │ │  if dpkg-query --show --showformat='${db:Status-Status}
│ │ │ │ @@ -23463,26 +23463,14 @@
│ │ │ │              _i_s_o_2_7_0_0_1_-_2_0_1_3  A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1, A.13.2.1, A.14.1.3,
│ │ │ │                             A.14.2.2, A.14.2.3, A.14.2.4, A.6.2.1, A.6.2.2, A.9.1.2
│ │ │ │              _n_i_s_t           CM-7(a), CM-7(b), CM-6(a)
│ │ │ │              _n_i_s_t_-_c_s_f       PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4
│ │ │ │              _c_i_s            2.1.1
│ │ │ │              _a_n_s_s_i          R62
│ │ │ │              _p_c_i_d_s_s_4        2.2.4, 2.2
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -include remove_xinetd
│ │ │ │ -
│ │ │ │ -class remove_xinetd {
│ │ │ │ -  package { 'xinetd':
│ │ │ │ -    ensure => 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Gather the package facts
│ │ │ │    package_facts:
│ │ │ │ @@ -23513,14 +23501,26 @@
│ │ │ │    - PCI-DSSv4-2.2.4
│ │ │ │    - disable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - low_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_xinetd_removed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_xinetd
│ │ │ │ +
│ │ │ │ +class remove_xinetd {
│ │ │ │ +  package { 'xinetd':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  # Remediation is applicable only in certain platforms
│ │ │ │  if dpkg-query --show --showformat='${db:Status-Status}
│ │ │ │ @@ -23552,26 +23552,14 @@
│ │ │ │              _c_u_i           3.1.13
│ │ │ │              _h_i_p_a_a         164.308(a)(4)(i), 164.308(b)(1), 164.308(b)(3), 164.310(b), 164.312(e)(1),
│ │ │ │                            164.312(e)(2)(ii)
│ │ │ │  References: _i_s_o_2_7_0_0_1_-_2_0_1_3 A.8.2.3, A.13.1.1, A.13.2.1, A.13.2.3, A.14.1.2, A.14.1.3
│ │ │ │              _c_i_s           2.3.2
│ │ │ │              _a_n_s_s_i         R62
│ │ │ │              _p_c_i_d_s_s_4       2.2.4, 2.2
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -include remove_rsh-client
│ │ │ │ -
│ │ │ │ -class remove_rsh-client {
│ │ │ │ -  package { 'rsh-client':
│ │ │ │ -    ensure => 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Ensure rsh-client is removed
│ │ │ │    package:
│ │ │ │ @@ -23583,14 +23571,26 @@
│ │ │ │    - PCI-DSSv4-2.2.4
│ │ │ │    - disable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_rsh_removed
│ │ │ │    - unknown_severity
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_rsh-client
│ │ │ │ +
│ │ │ │ +class remove_rsh-client {
│ │ │ │ +  package { 'rsh-client':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  
│ │ │ │  # CAUTION: This remediation script will remove rsh-client
│ │ │ │ @@ -23657,26 +23657,14 @@
│ │ │ │  Severity:   medium
│ │ │ │  Rule ID:    xccdf_org.ssgproject.content_rule_package_talk_removed
│ │ │ │              _h_i_p_a_a   164.308(a)(4)(i), 164.308(b)(1), 164.308(b)(3), 164.310(b), 164.312(e)(1),
│ │ │ │                      164.312(e)(2)(ii)
│ │ │ │  References: _c_i_s     2.3.3
│ │ │ │              _a_n_s_s_i   R62
│ │ │ │              _p_c_i_d_s_s_4 2.2.4, 2.2
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -include remove_talk
│ │ │ │ -
│ │ │ │ -class remove_talk {
│ │ │ │ -  package { 'talk':
│ │ │ │ -    ensure => 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Ensure talk is removed
│ │ │ │    package:
│ │ │ │ @@ -23687,14 +23675,26 @@
│ │ │ │    - PCI-DSSv4-2.2.4
│ │ │ │    - disable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - medium_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_talk_removed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_talk
│ │ │ │ +
│ │ │ │ +class remove_talk {
│ │ │ │ +  package { 'talk':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  
│ │ │ │  # CAUTION: This remediation script will remove talk
│ │ │ │ @@ -23718,26 +23718,14 @@
│ │ │ │              _c_u_i           3.1.13
│ │ │ │              _h_i_p_a_a         164.308(a)(4)(i), 164.308(b)(1), 164.308(b)(3), 164.310(b), 164.312(e)(1),
│ │ │ │                            164.312(e)(2)(ii)
│ │ │ │  References: _i_s_o_2_7_0_0_1_-_2_0_1_3 A.8.2.3, A.13.1.1, A.13.2.1, A.13.2.3, A.14.1.2, A.14.1.3
│ │ │ │              _c_i_s           2.3.4
│ │ │ │              _a_n_s_s_i         R62
│ │ │ │              _p_c_i_d_s_s_4       2.2.4, 2.2
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -include remove_telnet
│ │ │ │ -
│ │ │ │ -class remove_telnet {
│ │ │ │ -  package { 'telnet':
│ │ │ │ -    ensure => 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Ensure telnet is removed
│ │ │ │    package:
│ │ │ │ @@ -23749,14 +23737,26 @@
│ │ │ │    - PCI-DSSv4-2.2.4
│ │ │ │    - disable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - low_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_telnet_removed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_telnet
│ │ │ │ +
│ │ │ │ +class remove_telnet {
│ │ │ │ +  package { 'telnet':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  
│ │ │ │  # CAUTION: This remediation script will remove telnet
│ │ │ │ @@ -23771,26 +23771,14 @@
│ │ │ │  package can be removed with the following command:
│ │ │ │  $ apt-get remove rsync
│ │ │ │  Rationale:  The rsyncd service presents a security risk as it uses unencrypted protocols for
│ │ │ │              communication.
│ │ │ │  Severity:   medium
│ │ │ │  Rule ID:    xccdf_org.ssgproject.content_rule_package_rsync_removed
│ │ │ │  References: _c_i_s 2.2.16
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -include remove_rsync
│ │ │ │ -
│ │ │ │ -class remove_rsync {
│ │ │ │ -  package { 'rsync':
│ │ │ │ -    ensure => 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Ensure rsync is removed
│ │ │ │    package:
│ │ │ │ @@ -23799,14 +23787,26 @@
│ │ │ │    tags:
│ │ │ │    - disable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - medium_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_rsync_removed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_rsync
│ │ │ │ +
│ │ │ │ +class remove_rsync {
│ │ │ │ +  package { 'rsync':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  
│ │ │ │  # CAUTION: This remediation script will remove rsync
│ │ │ │ @@ -23839,26 +23839,14 @@
│ │ │ │  References:                SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR
│ │ │ │              _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR
│ │ │ │                             2.5, SR 2.6, SR 2.7, SR 7.6
│ │ │ │              _i_s_o_2_7_0_0_1_-_2_0_1_3  A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2
│ │ │ │              _n_i_s_t           CM-7(a), CM-7(b), CM-6(a)
│ │ │ │              _n_i_s_t_-_c_s_f       PR.IP-1, PR.PT-3
│ │ │ │              _c_i_s            2.2.4
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -include remove_cups
│ │ │ │ -
│ │ │ │ -class remove_cups {
│ │ │ │ -  package { 'cups':
│ │ │ │ -    ensure => 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Ensure cups is removed
│ │ │ │    package:
│ │ │ │ @@ -23870,14 +23858,26 @@
│ │ │ │    - NIST-800-53-CM-7(b)
│ │ │ │    - disable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_cups_removed
│ │ │ │    - unknown_severity
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_cups
│ │ │ │ +
│ │ │ │ +class remove_cups {
│ │ │ │ +  package { 'cups':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  
│ │ │ │  # CAUTION: This remediation script will remove cups
│ │ │ │ @@ -23902,50 +23902,14 @@
│ │ │ │  References:                SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR
│ │ │ │              _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR
│ │ │ │                             2.5, SR 2.6, SR 2.7, SR 7.6
│ │ │ │              _i_s_o_2_7_0_0_1_-_2_0_1_3  A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2
│ │ │ │              _n_i_s_t           CM-7(a), CM-7(b), CM-6(a)
│ │ │ │              _n_i_s_t_-_c_s_f       PR.IP-1, PR.PT-3
│ │ │ │              _c_i_s            2.2.4
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -
│ │ │ │ -[customizations.services]
│ │ │ │ -masked = ["cups"]
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: medium
│ │ │ │ -RReebboooott::     true
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -apiVersion: machineconfiguration.openshift.io/v1
│ │ │ │ -kind: MachineConfig
│ │ │ │ -spec:
│ │ │ │ -  config:
│ │ │ │ -    ignition:
│ │ │ │ -      version: 3.1.0
│ │ │ │ -    systemd:
│ │ │ │ -      units:
│ │ │ │ -      - name: cups.service
│ │ │ │ -        enabled: false
│ │ │ │ -        mask: true
│ │ │ │ -      - name: cups.socket
│ │ │ │ -        enabled: false
│ │ │ │ -        mask: true
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   enable
│ │ │ │ -include disable_cups
│ │ │ │ -
│ │ │ │ -class disable_cups {
│ │ │ │ -  service {'cups':
│ │ │ │ -    enable => false,
│ │ │ │ -    ensure => 'stopped',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Gather the package facts
│ │ │ │    package_facts:
│ │ │ │ @@ -24032,14 +23996,50 @@
│ │ │ │    - NIST-800-53-CM-7(b)
│ │ │ │    - disable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - no_reboot_needed
│ │ │ │    - service_cups_disabled
│ │ │ │    - unknown_severity
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: medium
│ │ │ │ +RReebboooott::     true
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +apiVersion: machineconfiguration.openshift.io/v1
│ │ │ │ +kind: MachineConfig
│ │ │ │ +spec:
│ │ │ │ +  config:
│ │ │ │ +    ignition:
│ │ │ │ +      version: 3.1.0
│ │ │ │ +    systemd:
│ │ │ │ +      units:
│ │ │ │ +      - name: cups.service
│ │ │ │ +        enabled: false
│ │ │ │ +        mask: true
│ │ │ │ +      - name: cups.socket
│ │ │ │ +        enabled: false
│ │ │ │ +        mask: true
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   enable
│ │ │ │ +include disable_cups
│ │ │ │ +
│ │ │ │ +class disable_cups {
│ │ │ │ +  service {'cups':
│ │ │ │ +    enable => false,
│ │ │ │ +    ensure => 'stopped',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +
│ │ │ │ +[customizations.services]
│ │ │ │ +masked = ["cups"]
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  # Remediation is applicable only in certain platforms
│ │ │ │  if dpkg-query --show --showformat='${db:Status-Status}
│ │ │ │ @@ -24079,26 +24079,14 @@
│ │ │ │  The squid package can be removed with the following command:
│ │ │ │   $ apt-get remove squid
│ │ │ │  Rationale:  If there is no need to make the proxy server software available, removing it provides a
│ │ │ │              safeguard against its activation.
│ │ │ │  Severity:   unknown
│ │ │ │  Rule ID:    xccdf_org.ssgproject.content_rule_package_squid_removed
│ │ │ │  References: _c_i_s 2.2.13
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -include remove_squid
│ │ │ │ -
│ │ │ │ -class remove_squid {
│ │ │ │ -  package { 'squid':
│ │ │ │ -    ensure => 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Ensure squid is removed
│ │ │ │    package:
│ │ │ │ @@ -24107,14 +24095,26 @@
│ │ │ │    tags:
│ │ │ │    - disable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_squid_removed
│ │ │ │    - unknown_severity
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_squid
│ │ │ │ +
│ │ │ │ +class remove_squid {
│ │ │ │ +  package { 'squid':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  
│ │ │ │  # CAUTION: This remediation script will remove squid
│ │ │ │ @@ -24139,26 +24139,14 @@
│ │ │ │  The samba package can be removed with the following command:
│ │ │ │   $ apt-get remove samba
│ │ │ │  Rationale:  If there is no need to make the Samba software available, removing it provides a
│ │ │ │              safeguard against its activation.
│ │ │ │  Severity:   unknown
│ │ │ │  Rule ID:    xccdf_org.ssgproject.content_rule_package_samba_removed
│ │ │ │  References: _c_i_s 2.2.12
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -include remove_samba
│ │ │ │ -
│ │ │ │ -class remove_samba {
│ │ │ │ -  package { 'samba':
│ │ │ │ -    ensure => 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Ensure samba is removed
│ │ │ │    package:
│ │ │ │ @@ -24167,14 +24155,26 @@
│ │ │ │    tags:
│ │ │ │    - disable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_samba_removed
│ │ │ │    - unknown_severity
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_samba
│ │ │ │ +
│ │ │ │ +class remove_samba {
│ │ │ │ +  package { 'samba':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  
│ │ │ │  # CAUTION: This remediation script will remove samba
│ │ │ │ @@ -24199,26 +24199,14 @@
│ │ │ │  $ apt-get remove snmp
│ │ │ │  Rationale:  If there is no need to run SNMP server software, removing the package provides a
│ │ │ │              safeguard against its activation.
│ │ │ │  Severity:   unknown
│ │ │ │  Rule ID:    xccdf_org.ssgproject.content_rule_package_net-snmp_removed
│ │ │ │  References: _c_i_s     2.2.14
│ │ │ │              _p_c_i_d_s_s_4 2.2.4, 2.2
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -include remove_snmp
│ │ │ │ -
│ │ │ │ -class remove_snmp {
│ │ │ │ -  package { 'snmp':
│ │ │ │ -    ensure => 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Ensure snmp is removed
│ │ │ │    package:
│ │ │ │ @@ -24229,14 +24217,26 @@
│ │ │ │    - PCI-DSSv4-2.2.4
│ │ │ │    - disable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_net-snmp_removed
│ │ │ │    - unknown_severity
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_snmp
│ │ │ │ +
│ │ │ │ +class remove_snmp {
│ │ │ │ +  package { 'snmp':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  
│ │ │ │  # CAUTION: This remediation script will remove snmp
│ │ │ │ @@ -27368,23 +27368,14 @@
│ │ │ │              _n_i_s_t           AC-17(a), CM-6(a), AC-6(1)
│ │ │ │              _n_i_s_t_-_c_s_f       PR.AC-4, PR.DS-5
│ │ │ │              _p_c_i_d_s_s         Req-2.2.4
│ │ │ │              _o_s_-_s_r_g         SRG-OS-000480-GPOS-00227
│ │ │ │              _c_i_s            5.2.2
│ │ │ │              _a_n_s_s_i          R50
│ │ │ │              _p_c_i_d_s_s_4        2.2.6, 2.2
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -include ssh_private_key_perms
│ │ │ │ -
│ │ │ │ -class ssh_private_key_perms {
│ │ │ │ -  exec { 'sshd_priv_key':
│ │ │ │ -    command => "chmod 0640 /etc/ssh/*_key",
│ │ │ │ -    path    => '/bin:/usr/bin'
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   configure
│ │ │ │  - name: Gather the package facts
│ │ │ │    package_facts:
│ │ │ │ @@ -27448,14 +27439,23 @@
│ │ │ │    - PCI-DSSv4-2.2.6
│ │ │ │    - configure_strategy
│ │ │ │    - file_permissions_sshd_private_key
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - medium_severity
│ │ │ │    - no_reboot_needed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +include ssh_private_key_perms
│ │ │ │ +
│ │ │ │ +class ssh_private_key_perms {
│ │ │ │ +  exec { 'sshd_priv_key':
│ │ │ │ +    command => "chmod 0640 /etc/ssh/*_key",
│ │ │ │ +    path    => '/bin:/usr/bin'
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  # Remediation is applicable only in certain platforms
│ │ │ │  if dpkg-query --show --showformat='${db:Status-Status}
│ │ │ │  ' 'linux-base' 2>/dev/null | grep -q ^installed; then
│ │ │ │  
│ │ │ │  for keyfile in /etc/ssh/*_key; do
│ │ │ │      test -f "$keyfile" || continue
│ │ │ │ @@ -27496,23 +27496,14 @@
│ │ │ │              _n_i_s_t           AC-17(a), CM-6(a), AC-6(1)
│ │ │ │              _n_i_s_t_-_c_s_f       PR.AC-4, PR.DS-5
│ │ │ │              _p_c_i_d_s_s         Req-2.2.4
│ │ │ │              _o_s_-_s_r_g         SRG-OS-000480-GPOS-00227
│ │ │ │              _c_i_s            5.2.3
│ │ │ │              _a_n_s_s_i          R50
│ │ │ │              _p_c_i_d_s_s_4        2.2.6, 2.2
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -include ssh_public_key_perms
│ │ │ │ -
│ │ │ │ -class ssh_public_key_perms {
│ │ │ │ -  exec { 'sshd_pub_key':
│ │ │ │ -    command => "chmod 0644 /etc/ssh/*.pub",
│ │ │ │ -    path    => '/bin:/usr/bin'
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   configure
│ │ │ │  - name: Gather the package facts
│ │ │ │    package_facts:
│ │ │ │ @@ -27576,14 +27567,23 @@
│ │ │ │    - PCI-DSSv4-2.2.6
│ │ │ │    - configure_strategy
│ │ │ │    - file_permissions_sshd_pub_key
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - medium_severity
│ │ │ │    - no_reboot_needed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +include ssh_public_key_perms
│ │ │ │ +
│ │ │ │ +class ssh_public_key_perms {
│ │ │ │ +  exec { 'sshd_pub_key':
│ │ │ │ +    command => "chmod 0644 /etc/ssh/*.pub",
│ │ │ │ +    path    => '/bin:/usr/bin'
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   configure
│ │ │ │  # Remediation is applicable only in certain platforms
│ │ │ │  if dpkg-query --show --showformat='${db:Status-Status}
│ │ │ │ @@ -27627,26 +27627,14 @@
│ │ │ │              _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 1.13, SR 2.6, SR 3.1, SR 3.5, SR 3.8, SR 4.1, SR 4.3, SR 5.1, SR 5.2,
│ │ │ │  References:                SR 5.3, SR 7.1, SR 7.6
│ │ │ │              _i_s_o_2_7_0_0_1_-_2_0_1_3  A.11.2.6, A.13.1.1, A.13.2.1, A.14.1.3, A.6.2.1, A.6.2.2
│ │ │ │              _n_i_s_t           CM-7(a), CM-7(b), CM-6(a)
│ │ │ │              _n_i_s_t_-_c_s_f       PR.AC-3, PR.PT-4
│ │ │ │              _o_s_-_s_r_g         SRG-OS-000480-GPOS-00227
│ │ │ │              _c_i_s            2.2.2
│ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ -CCoommpplleexxiittyy:: low
│ │ │ │ -DDiissrruuppttiioonn:: low
│ │ │ │ -RReebboooott::     false
│ │ │ │ -SSttrraatteeggyy::   disable
│ │ │ │ -include remove_xserver-xorg
│ │ │ │ -
│ │ │ │ -class remove_xserver-xorg {
│ │ │ │ -  package { 'xserver-xorg':
│ │ │ │ -    ensure => 'purged',
│ │ │ │ -  }
│ │ │ │ -}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  - name: Ensure xserver-xorg is removed
│ │ │ │    package:
│ │ │ │ @@ -27658,14 +27646,26 @@
│ │ │ │    - NIST-800-53-CM-7(b)
│ │ │ │    - disable_strategy
│ │ │ │    - low_complexity
│ │ │ │    - low_disruption
│ │ │ │    - medium_severity
│ │ │ │    - no_reboot_needed
│ │ │ │    - package_xorg-x11-server-common_removed
│ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲
│ │ │ │ +CCoommpplleexxiittyy:: low
│ │ │ │ +DDiissrruuppttiioonn:: low
│ │ │ │ +RReebboooott::     false
│ │ │ │ +SSttrraatteeggyy::   disable
│ │ │ │ +include remove_xserver-xorg
│ │ │ │ +
│ │ │ │ +class remove_xserver-xorg {
│ │ │ │ +  package { 'xserver-xorg':
│ │ │ │ +    ensure => 'purged',
│ │ │ │ +  }
│ │ │ │ +}
│ │ │ │  _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲
│ │ │ │  CCoommpplleexxiittyy:: low
│ │ │ │  DDiissrruuppttiioonn:: low
│ │ │ │  RReebboooott::     false
│ │ │ │  SSttrraatteeggyy::   disable
│ │ │ │  
│ │ │ │  # CAUTION: This remediation script will remove xserver-xorg
│ │ ├── ./usr/share/doc/ssg-debderived/ssg-ubuntu2004-guide-cis_level1_workstation.html
│ │ │ @@ -15090,138 +15090,138 @@
│ │ │  0003af10: 7073 6522 2064 6174 612d 7461 7267 6574  pse" data-target
│ │ │  0003af20: 3d22 2369 646d 3237 3633 2220 7461 6269  ="#idm2763" tabi
│ │ │  0003af30: 6e64 6578 3d22 3022 2072 6f6c 653d 2262  ndex="0" role="b
│ │ │  0003af40: 7574 746f 6e22 2061 7269 612d 6578 7061  utton" aria-expa
│ │ │  0003af50: 6e64 6564 3d22 6661 6c73 6522 2074 6974  nded="false" tit
│ │ │  0003af60: 6c65 3d22 4163 7469 7661 7465 2074 6f20  le="Activate to 
│ │ │  0003af70: 7265 7665 616c 2220 6872 6566 3d22 2321  reveal" href="#!
│ │ │ -0003af80: 223e 5265 6d65 6469 6174 696f 6e20 4f53  ">Remediation OS
│ │ │ -0003af90: 4275 696c 6420 426c 7565 7072 696e 7420  Build Blueprint 
│ │ │ -0003afa0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c  snippet ...<
│ │ │ -0003afb0: 6272 3e3c 6469 7620 636c 6173 733d 2270  br>

│ │ │ -0003aff0: 0a5b 5b70 6163 6b61 6765 735d 5d0a 6e61  .[[packages]].na
│ │ │ -0003b000: 6d65 203d 2022 6169 6465 220a 7665 7273  me = "aide".vers
│ │ │ -0003b010: 696f 6e20 3d20 222a 220a 3c2f 636f 6465  ion = "*".
Reme │ │ │ -0003b0d0: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -0003b0e0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
low
Disru │ │ │ +001ff150: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +001ff160: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +001ff1a0: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +001ff1b0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
low< │ │ │ -0003b190: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -0003b1e0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ -0003b170: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -0003b1a0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -0003b1c0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -0003b1d0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -0003b1f0: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ -0003b200: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -0003b220: 7564 6520 696e 7374 616c 6c5f 6169 6465  ude install_aide
│ │ │ -0003b230: 0a0a 636c 6173 7320 696e 7374 616c 6c5f  ..class install_
│ │ │ -0003b240: 6169 6465 207b 0a20 2070 6163 6b61 6765  aide {.  package
│ │ │ -0003b250: 207b 2027 6169 6465 273a 0a20 2020 2065   { 'aide':.    e
│ │ │ -0003b260: 6e73 7572 6520 3d26 6774 3b20 2769 6e73  nsure => 'ins
│ │ │ -0003b270: 7461 6c6c 6564 272c 0a20 207d 0a7d 0a3c  talled',.  }.}.<
│ │ │ -0003b280: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Ans │ │ │ -0003b340: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -0003b350: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ -0003b3d0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -0003b3f0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -0003b440: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ -0003b470: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Gather
│ │ │ -0003b490: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ -0003b4a0: 7473 0a20 2070 6163 6b61 6765 5f66 6163  ts.  package_fac
│ │ │ -0003b4b0: 7473 3a0a 2020 2020 6d61 6e61 6765 723a  ts:.    manager:
│ │ │ -0003b4c0: 2061 7574 6f0a 2020 7461 6773 3a0a 2020   auto.  tags:.  
│ │ │ -0003b4d0: 2d20 434a 4953 2d35 2e31 302e 312e 330a  - CJIS-5.10.1.3.
│ │ │ -0003b4e0: 2020 2d20 4449 5341 2d53 5449 472d 5542    - DISA-STIG-UB
│ │ │ -0003b4f0: 5455 2d32 302d 3031 3034 3530 0a20 202d  TU-20-010450.  -
│ │ │ -0003b500: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -0003b510: 3628 6129 0a20 202d 2050 4349 2d44 5353  6(a).  - PCI-DSS
│ │ │ -0003b520: 2d52 6571 2d31 312e 350a 2020 2d20 5043  -Req-11.5.  - PC
│ │ │ -0003b530: 492d 4453 5376 342d 3131 2e35 2e32 0a20  I-DSSv4-11.5.2. 
│ │ │ -0003b540: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ -0003b550: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ -0003b560: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -0003b570: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ -0003b580: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ -0003b590: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -0003b5a0: 640a 2020 2d20 7061 636b 6167 655f 6169  d.  - package_ai
│ │ │ -0003b5b0: 6465 5f69 6e73 7461 6c6c 6564 0a0a 2d20  de_installed..- 
│ │ │ -0003b5c0: 6e61 6d65 3a20 456e 7375 7265 2061 6964  name: Ensure aid
│ │ │ -0003b5d0: 6520 6973 2069 6e73 7461 6c6c 6564 0a20  e is installed. 
│ │ │ -0003b5e0: 2070 6163 6b61 6765 3a0a 2020 2020 6e61   package:.    na
│ │ │ -0003b5f0: 6d65 3a20 6169 6465 0a20 2020 2073 7461  me: aide.    sta
│ │ │ -0003b600: 7465 3a20 7072 6573 656e 740a 2020 7768  te: present.  wh
│ │ │ -0003b610: 656e 3a20 2722 6c69 6e75 782d 6261 7365  en: '"linux-base
│ │ │ -0003b620: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ -0003b630: 7473 2e70 6163 6b61 6765 7327 0a20 2074  ts.packages'.  t
│ │ │ -0003b640: 6167 733a 0a20 202d 2043 4a49 532d 352e  ags:.  - CJIS-5.
│ │ │ -0003b650: 3130 2e31 2e33 0a20 202d 2044 4953 412d  10.1.3.  - DISA-
│ │ │ -0003b660: 5354 4947 2d55 4254 552d 3230 2d30 3130  STIG-UBTU-20-010
│ │ │ -0003b670: 3435 300a 2020 2d20 4e49 5354 2d38 3030  450.  - NIST-800
│ │ │ -0003b680: 2d35 332d 434d 2d36 2861 290a 2020 2d20  -53-CM-6(a).  - 
│ │ │ -0003b690: 5043 492d 4453 532d 5265 712d 3131 2e35  PCI-DSS-Req-11.5
│ │ │ -0003b6a0: 0a20 202d 2050 4349 2d44 5353 7634 2d31  .  - PCI-DSSv4-1
│ │ │ -0003b6b0: 312e 352e 320a 2020 2d20 656e 6162 6c65  1.5.2.  - enable
│ │ │ -0003b6c0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ -0003b6d0: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -0003b6e0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -0003b6f0: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ -0003b700: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ -0003b710: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ -0003b720: 6b61 6765 5f61 6964 655f 696e 7374 616c  kage_aide_instal
│ │ │ -0003b730: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265  led.
Remediation An │ │ │ +0003af90: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ +0003afa0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
low< │ │ │ +0003b070: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr> │ │ │ +0003b0c0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -0003b3e0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -0003b400: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -0003b450: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ -0003b460: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
Complexity: │ │ │ +0003b030: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ +0003b050: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ +0003b0a0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +0003b0b0: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
- name: Gathe
│ │ │ +0003b0e0: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ +0003b0f0: 6374 730a 2020 7061 636b 6167 655f 6661  cts.  package_fa
│ │ │ +0003b100: 6374 733a 0a20 2020 206d 616e 6167 6572  cts:.    manager
│ │ │ +0003b110: 3a20 6175 746f 0a20 2074 6167 733a 0a20  : auto.  tags:. 
│ │ │ +0003b120: 202d 2043 4a49 532d 352e 3130 2e31 2e33   - CJIS-5.10.1.3
│ │ │ +0003b130: 0a20 202d 2044 4953 412d 5354 4947 2d55  .  - DISA-STIG-U
│ │ │ +0003b140: 4254 552d 3230 2d30 3130 3435 300a 2020  BTU-20-010450.  
│ │ │ +0003b150: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +0003b160: 2d36 2861 290a 2020 2d20 5043 492d 4453  -6(a).  - PCI-DS
│ │ │ +0003b170: 532d 5265 712d 3131 2e35 0a20 202d 2050  S-Req-11.5.  - P
│ │ │ +0003b180: 4349 2d44 5353 7634 2d31 312e 352e 320a  CI-DSSv4-11.5.2.
│ │ │ +0003b190: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ +0003b1a0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +0003b1b0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +0003b1c0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ +0003b1d0: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ +0003b1e0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +0003b1f0: 6564 0a20 202d 2070 6163 6b61 6765 5f61  ed.  - package_a
│ │ │ +0003b200: 6964 655f 696e 7374 616c 6c65 640a 0a2d  ide_installed..-
│ │ │ +0003b210: 206e 616d 653a 2045 6e73 7572 6520 6169   name: Ensure ai
│ │ │ +0003b220: 6465 2069 7320 696e 7374 616c 6c65 640a  de is installed.
│ │ │ +0003b230: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ +0003b240: 616d 653a 2061 6964 650a 2020 2020 7374  ame: aide.    st
│ │ │ +0003b250: 6174 653a 2070 7265 7365 6e74 0a20 2077  ate: present.  w
│ │ │ +0003b260: 6865 6e3a 2027 226c 696e 7578 2d62 6173  hen: '"linux-bas
│ │ │ +0003b270: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ +0003b280: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ +0003b290: 7461 6773 3a0a 2020 2d20 434a 4953 2d35  tags:.  - CJIS-5
│ │ │ +0003b2a0: 2e31 302e 312e 330a 2020 2d20 4449 5341  .10.1.3.  - DISA
│ │ │ +0003b2b0: 2d53 5449 472d 5542 5455 2d32 302d 3031  -STIG-UBTU-20-01
│ │ │ +0003b2c0: 3034 3530 0a20 202d 204e 4953 542d 3830  0450.  - NIST-80
│ │ │ +0003b2d0: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ +0003b2e0: 2050 4349 2d44 5353 2d52 6571 2d31 312e   PCI-DSS-Req-11.
│ │ │ +0003b2f0: 350a 2020 2d20 5043 492d 4453 5376 342d  5.  - PCI-DSSv4-
│ │ │ +0003b300: 3131 2e35 2e32 0a20 202d 2065 6e61 626c  11.5.2.  - enabl
│ │ │ +0003b310: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ +0003b320: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +0003b330: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +0003b340: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ +0003b350: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +0003b360: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ +0003b370: 636b 6167 655f 6169 6465 5f69 6e73 7461  ckage_aide_insta
│ │ │ +0003b380: 6c6c 6564 0a3c 2f63 6f64 653e 3c2f 7072  lled.
Remediati │ │ │ +0003b440: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ +0003b450: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
< │ │ │ +0003b490: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +0003b4a0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +0003b4b0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +0003b4c0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +0003b4d0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +0003b4e0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +0003b4f0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +0003b530: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +0003b540: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +0003b560: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ +0003b570: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include i
│ │ │ +0003b590: 6e73 7461 6c6c 5f61 6964 650a 0a63 6c61  nstall_aide..cla
│ │ │ +0003b5a0: 7373 2069 6e73 7461 6c6c 5f61 6964 6520  ss install_aide 
│ │ │ +0003b5b0: 7b0a 2020 7061 636b 6167 6520 7b20 2761  {.  package { 'a
│ │ │ +0003b5c0: 6964 6527 3a0a 2020 2020 656e 7375 7265  ide':.    ensure
│ │ │ +0003b5d0: 203d 2667 743b 2027 696e 7374 616c 6c65   => 'installe
│ │ │ +0003b5e0: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Reme │ │ │ +0003b6a0: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild │ │ │ +0003b6b0: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe │ │ │ +0003b6c0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
< │ │ │ +0003b700: 7072 653e 3c63 6f64 653e 0a5b 5b70 6163 pre>.[[pac │ │ │ +0003b710: 6b61 6765 735d 5d0a 6e61 6d65 203d 2022 kages]].name = " │ │ │ +0003b720: 6169 6465 220a 7665 7273 696f 6e20 3d20 aide".version = │ │ │ +0003b730: 222a 220a 3c2f 636f 6465 3e3c 2f70 7265 "*".
Reme │ │ │ -00041430: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -00041440: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
low< │ │ │ -000414f0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -00041540: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ -00041580: 6c75 6465 2072 656d 6f76 655f 7072 656c  lude remove_prel
│ │ │ -00041590: 696e 6b0a 0a63 6c61 7373 2072 656d 6f76  ink..class remov
│ │ │ -000415a0: 655f 7072 656c 696e 6b20 7b0a 2020 7061  e_prelink {.  pa
│ │ │ -000415b0: 636b 6167 6520 7b20 2770 7265 6c69 6e6b  ckage { 'prelink
│ │ │ -000415c0: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ -000415d0: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ -000415e0: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediatio │ │ │ -000416a0: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ -000416b0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
< │ │ │ -000416f0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -00041700: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -00041710: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -00041720: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -00041730: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Co │ │ │ -000414d0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -00041500: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -00041520: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -00041530: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -00041550: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -00041560: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complex │ │ │ -00041740: 6974 793a 3c2f 7468 3e3c 7464 3e6d 6564 ity:med │ │ │ -00041750: 6975 6d3c 2f74 643e 3c2f 7472 3e3c 7472 ium
Disruption: │ │ │ -00041770: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -00041790: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -000417a0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ -000417e0: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ -000417f0: 653a 2043 6865 636b 2049 6620 5072 656c  e: Check If Prel
│ │ │ -00041800: 696e 6b65 6420 4973 2049 6e73 7461 6c6c  inked Is Install
│ │ │ -00041810: 6564 0a20 2061 6e73 6962 6c65 2e62 7569  ed.  ansible.bui
│ │ │ -00041820: 6c74 696e 2e73 7461 743a 0a20 2020 2070  ltin.stat:.    p
│ │ │ -00041830: 6174 683a 202f 7573 722f 7362 696e 2f70  ath: /usr/sbin/p
│ │ │ -00041840: 7265 6c69 6e6b 0a20 2020 2067 6574 5f63  relink.    get_c
│ │ │ -00041850: 6865 636b 7375 6d3a 2066 616c 7365 0a20  hecksum: false. 
│ │ │ -00041860: 2072 6567 6973 7465 723a 2070 7265 6c69   register: preli
│ │ │ -00041870: 6e6b 0a20 2074 6167 733a 0a20 202d 2064  nk.  tags:.  - d
│ │ │ -00041880: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ -00041890: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -000418a0: 6f6e 0a20 202d 206d 6564 6975 6d5f 636f  on.  - medium_co
│ │ │ -000418b0: 6d70 6c65 7869 7479 0a20 202d 206d 6564  mplexity.  - med
│ │ │ -000418c0: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ -000418d0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -000418e0: 640a 2020 2d20 7061 636b 6167 655f 7072  d.  - package_pr
│ │ │ -000418f0: 656c 696e 6b5f 7265 6d6f 7665 640a 0a2d  elink_removed..-
│ │ │ -00041900: 206e 616d 653a 2052 6573 746f 7265 2050   name: Restore P
│ │ │ -00041910: 7265 6c69 6e6b 6564 2042 696e 6172 6965  relinked Binarie
│ │ │ -00041920: 730a 2020 616e 7369 626c 652e 6275 696c  s.  ansible.buil
│ │ │ -00041930: 7469 6e2e 636f 6d6d 616e 643a 0a20 2020  tin.command:.   
│ │ │ -00041940: 2063 6d64 3a20 7072 656c 696e 6b20 2d75   cmd: prelink -u
│ │ │ -00041950: 610a 2020 7768 656e 3a20 7072 656c 696e  a.  when: prelin
│ │ │ -00041960: 6b2e 7374 6174 2e65 7869 7374 730a 2020  k.stat.exists.  
│ │ │ -00041970: 7461 6773 3a0a 2020 2d20 6469 7361 626c  tags:.  - disabl
│ │ │ -00041980: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ -00041990: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -000419a0: 2d20 6d65 6469 756d 5f63 6f6d 706c 6578  - medium_complex
│ │ │ -000419b0: 6974 790a 2020 2d20 6d65 6469 756d 5f73  ity.  - medium_s
│ │ │ -000419c0: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ -000419d0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -000419e0: 2070 6163 6b61 6765 5f70 7265 6c69 6e6b   package_prelink
│ │ │ -000419f0: 5f72 656d 6f76 6564 0a0a 2d20 6e61 6d65  _removed..- name
│ │ │ -00041a00: 3a20 456e 7375 7265 2070 7265 6c69 6e6b  : Ensure prelink
│ │ │ -00041a10: 2069 7320 5265 6d6f 7665 640a 2020 616e   is Removed.  an
│ │ │ -00041a20: 7369 626c 652e 6275 696c 7469 6e2e 7061  sible.builtin.pa
│ │ │ -00041a30: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ -00041a40: 2070 7265 6c69 6e6b 0a20 2020 2073 7461   prelink.    sta
│ │ │ -00041a50: 7465 3a20 6162 7365 6e74 0a20 2074 6167  te: absent.  tag
│ │ │ -00041a60: 733a 0a20 202d 2064 6973 6162 6c65 5f73  s:.  - disable_s
│ │ │ -00041a70: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ -00041a80: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ -00041a90: 6564 6975 6d5f 636f 6d70 6c65 7869 7479  edium_complexity
│ │ │ -00041aa0: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ -00041ab0: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -00041ac0: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ -00041ad0: 636b 6167 655f 7072 656c 696e 6b5f 7265  ckage_prelink_re
│ │ │ -00041ae0: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70  moved.

< │ │ │ +00041450: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
< │ │ │ +000414e0: 7464 3e6d 6564 6975 6d3c 2f74 643e 3c2f td>medium │ │ │ +00041520: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +00041530: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
- name: Check I
│ │ │ +00041590: 6620 5072 656c 696e 6b65 6420 4973 2049  f Prelinked Is I
│ │ │ +000415a0: 6e73 7461 6c6c 6564 0a20 2061 6e73 6962  nstalled.  ansib
│ │ │ +000415b0: 6c65 2e62 7569 6c74 696e 2e73 7461 743a  le.builtin.stat:
│ │ │ +000415c0: 0a20 2020 2070 6174 683a 202f 7573 722f  .    path: /usr/
│ │ │ +000415d0: 7362 696e 2f70 7265 6c69 6e6b 0a20 2020  sbin/prelink.   
│ │ │ +000415e0: 2067 6574 5f63 6865 636b 7375 6d3a 2066   get_checksum: f
│ │ │ +000415f0: 616c 7365 0a20 2072 6567 6973 7465 723a  alse.  register:
│ │ │ +00041600: 2070 7265 6c69 6e6b 0a20 2074 6167 733a   prelink.  tags:
│ │ │ +00041610: 0a20 202d 2064 6973 6162 6c65 5f73 7472  .  - disable_str
│ │ │ +00041620: 6174 6567 790a 2020 2d20 6c6f 775f 6469  ategy.  - low_di
│ │ │ +00041630: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +00041640: 6975 6d5f 636f 6d70 6c65 7869 7479 0a20  ium_complexity. 
│ │ │ +00041650: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ +00041660: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ +00041670: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ +00041680: 6167 655f 7072 656c 696e 6b5f 7265 6d6f  age_prelink_remo
│ │ │ +00041690: 7665 640a 0a2d 206e 616d 653a 2052 6573  ved..- name: Res
│ │ │ +000416a0: 746f 7265 2050 7265 6c69 6e6b 6564 2042  tore Prelinked B
│ │ │ +000416b0: 696e 6172 6965 730a 2020 616e 7369 626c  inaries.  ansibl
│ │ │ +000416c0: 652e 6275 696c 7469 6e2e 636f 6d6d 616e  e.builtin.comman
│ │ │ +000416d0: 643a 0a20 2020 2063 6d64 3a20 7072 656c  d:.    cmd: prel
│ │ │ +000416e0: 696e 6b20 2d75 610a 2020 7768 656e 3a20  ink -ua.  when: 
│ │ │ +000416f0: 7072 656c 696e 6b2e 7374 6174 2e65 7869  prelink.stat.exi
│ │ │ +00041700: 7374 730a 2020 7461 6773 3a0a 2020 2d20  sts.  tags:.  - 
│ │ │ +00041710: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ +00041720: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +00041730: 696f 6e0a 2020 2d20 6d65 6469 756d 5f63  ion.  - medium_c
│ │ │ +00041740: 6f6d 706c 6578 6974 790a 2020 2d20 6d65  omplexity.  - me
│ │ │ +00041750: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ +00041760: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +00041770: 6564 0a20 202d 2070 6163 6b61 6765 5f70  ed.  - package_p
│ │ │ +00041780: 7265 6c69 6e6b 5f72 656d 6f76 6564 0a0a  relink_removed..
│ │ │ +00041790: 2d20 6e61 6d65 3a20 456e 7375 7265 2070  - name: Ensure p
│ │ │ +000417a0: 7265 6c69 6e6b 2069 7320 5265 6d6f 7665  relink is Remove
│ │ │ +000417b0: 640a 2020 616e 7369 626c 652e 6275 696c  d.  ansible.buil
│ │ │ +000417c0: 7469 6e2e 7061 636b 6167 653a 0a20 2020  tin.package:.   
│ │ │ +000417d0: 206e 616d 653a 2070 7265 6c69 6e6b 0a20   name: prelink. 
│ │ │ +000417e0: 2020 2073 7461 7465 3a20 6162 7365 6e74     state: absent
│ │ │ +000417f0: 0a20 2074 6167 733a 0a20 202d 2064 6973  .  tags:.  - dis
│ │ │ +00041800: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +00041810: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +00041820: 0a20 202d 206d 6564 6975 6d5f 636f 6d70  .  - medium_comp
│ │ │ +00041830: 6c65 7869 7479 0a20 202d 206d 6564 6975  lexity.  - mediu
│ │ │ +00041840: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +00041850: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +00041860: 2020 2d20 7061 636b 6167 655f 7072 656c    - package_prel
│ │ │ +00041870: 696e 6b5f 7265 6d6f 7665 640a 3c2f 636f  ink_removed.
< │ │ │ +00041890: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +000418a0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +000418b0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +000418c0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +000418d0: 646d 3236 3634 2220 7461 6269 6e64 6578 dm2664" tabindex │ │ │ +000418e0: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ +000418f0: 6e22 2061 7269 612d 6578 7061 6e64 6564 n" aria-expanded │ │ │ +00041900: 3d22 6661 6c73 6522 2074 6974 6c65 3d22 ="false" title=" │ │ │ +00041910: 4163 7469 7661 7465 2074 6f20 7265 7665 Activate to reve │ │ │ +00041920: 616c 2220 6872 6566 3d22 2321 223e 5265 al" href="#!">Re │ │ │ +00041930: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ +00041940: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +00041950: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
C │ │ │ +000414d0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disru │ │ │ +00041500: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +00041510: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +00041550: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +00041560: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ +000419e0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
i
│ │ │ +00041a80: 6e63 6c75 6465 2072 656d 6f76 655f 7072  nclude remove_pr
│ │ │ +00041a90: 656c 696e 6b0a 0a63 6c61 7373 2072 656d  elink..class rem
│ │ │ +00041aa0: 6f76 655f 7072 656c 696e 6b20 7b0a 2020  ove_prelink {.  
│ │ │ +00041ab0: 7061 636b 6167 6520 7b20 2770 7265 6c69  package { 'preli
│ │ │ +00041ac0: 6e6b 273a 0a20 2020 2065 6e73 7572 6520  nk':.    ensure 
│ │ │ +00041ad0: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ +00041ae0: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remediatio │ │ │ -00047a40: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr │ │ │ -00047a50: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...< │ │ │ -00047a60: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
.[[packages]
│ │ │ -00047ab0: 5d0a 6e61 6d65 203d 2022 7375 646f 220a  ].name = "sudo".
│ │ │ -00047ac0: 7665 7273 696f 6e20 3d20 222a 220a 3c2f  version = "*".
│ │ │ -00047b80: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ -00047b90: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
│ │ │ +000419d0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +00041a00: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +00041a10: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +00041a50: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +00041a60: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexity: │ │ │ -00047c70: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -00047c80: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ -00047cd0: 696e 636c 7564 6520 696e 7374 616c 6c5f  include install_
│ │ │ -00047ce0: 7375 646f 0a0a 636c 6173 7320 696e 7374  sudo..class inst
│ │ │ -00047cf0: 616c 6c5f 7375 646f 207b 0a20 2070 6163  all_sudo {.  pac
│ │ │ -00047d00: 6b61 6765 207b 2027 7375 646f 273a 0a20  kage { 'sudo':. 
│ │ │ -00047d10: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ -00047d20: 2769 6e73 7461 6c6c 6564 272c 0a20 207d  'installed',.  }
│ │ │ -00047d30: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ -00047d40: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation │ │ │ -00047df0: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ -00047e00: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
│ │ │ -00047e80: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ -00047f10: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
low
Disru │ │ │ -00047c50: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -00047c60: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -00047ca0: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ -00047cb0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexi │ │ │ -00047e90: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -00047ea0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ -00047ee0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -00047ef0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
│ │ │ -00047f30: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761  - name: Ga
│ │ │ -00047f40: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ -00047f50: 2066 6163 7473 0a20 2070 6163 6b61 6765   facts.  package
│ │ │ -00047f60: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61  _facts:.    mana
│ │ │ -00047f70: 6765 723a 2061 7574 6f0a 2020 7461 6773  ger: auto.  tags
│ │ │ -00047f80: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ -00047f90: 332d 434d 2d36 2861 290a 2020 2d20 5043  3-CM-6(a).  - PC
│ │ │ -00047fa0: 492d 4453 5376 342d 322e 320a 2020 2d20  I-DSSv4-2.2.  - 
│ │ │ -00047fb0: 5043 492d 4453 5376 342d 322e 322e 360a  PCI-DSSv4-2.2.6.
│ │ │ -00047fc0: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -00047fd0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -00047fe0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -00047ff0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -00048000: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -00048010: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -00048020: 6564 0a20 202d 2070 6163 6b61 6765 5f73  ed.  - package_s
│ │ │ -00048030: 7564 6f5f 696e 7374 616c 6c65 640a 0a2d  udo_installed..-
│ │ │ -00048040: 206e 616d 653a 2045 6e73 7572 6520 7375   name: Ensure su
│ │ │ -00048050: 646f 2069 7320 696e 7374 616c 6c65 640a  do is installed.
│ │ │ -00048060: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ -00048070: 616d 653a 2073 7564 6f0a 2020 2020 7374  ame: sudo.    st
│ │ │ -00048080: 6174 653a 2070 7265 7365 6e74 0a20 2077  ate: present.  w
│ │ │ -00048090: 6865 6e3a 2027 226c 696e 7578 2d62 6173  hen: '"linux-bas
│ │ │ -000480a0: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ -000480b0: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ -000480c0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ -000480d0: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ -000480e0: 2d20 5043 492d 4453 5376 342d 322e 320a  - PCI-DSSv4-2.2.
│ │ │ -000480f0: 2020 2d20 5043 492d 4453 5376 342d 322e    - PCI-DSSv4-2.
│ │ │ -00048100: 322e 360a 2020 2d20 656e 6162 6c65 5f73  2.6.  - enable_s
│ │ │ -00048110: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ -00048120: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -00048130: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -00048140: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ -00048150: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ -00048160: 6e65 6564 6564 0a20 202d 2070 6163 6b61  needed.  - packa
│ │ │ -00048170: 6765 5f73 7564 6f5f 696e 7374 616c 6c65  ge_sudo_installe
│ │ │ -00048180: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +00047a40: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ +00047a50: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
< │ │ │ +00047a90: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +00047aa0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +00047ab0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +00047ac0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +00047ad0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +00047ae0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +00047af0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +00047b30: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +00047b40: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +00047b60: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ +00047b70: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ +00047b90: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ +00047ba0: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ +00047bb0: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ +00047bc0: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ +00047bd0: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +00047be0: 3533 2d43 4d2d 3628 6129 0a20 202d 2050  53-CM-6(a).  - P
│ │ │ +00047bf0: 4349 2d44 5353 7634 2d32 2e32 0a20 202d  CI-DSSv4-2.2.  -
│ │ │ +00047c00: 2050 4349 2d44 5353 7634 2d32 2e32 2e36   PCI-DSSv4-2.2.6
│ │ │ +00047c10: 0a20 202d 2065 6e61 626c 655f 7374 7261  .  - enable_stra
│ │ │ +00047c20: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +00047c30: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +00047c40: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ +00047c50: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ +00047c60: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +00047c70: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ +00047c80: 7375 646f 5f69 6e73 7461 6c6c 6564 0a0a  sudo_installed..
│ │ │ +00047c90: 2d20 6e61 6d65 3a20 456e 7375 7265 2073  - name: Ensure s
│ │ │ +00047ca0: 7564 6f20 6973 2069 6e73 7461 6c6c 6564  udo is installed
│ │ │ +00047cb0: 0a20 2070 6163 6b61 6765 3a0a 2020 2020  .  package:.    
│ │ │ +00047cc0: 6e61 6d65 3a20 7375 646f 0a20 2020 2073  name: sudo.    s
│ │ │ +00047cd0: 7461 7465 3a20 7072 6573 656e 740a 2020  tate: present.  
│ │ │ +00047ce0: 7768 656e 3a20 2722 6c69 6e75 782d 6261  when: '"linux-ba
│ │ │ +00047cf0: 7365 2220 696e 2061 6e73 6962 6c65 5f66  se" in ansible_f
│ │ │ +00047d00: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ +00047d10: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ +00047d20: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ +00047d30: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ +00047d40: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ +00047d50: 2e32 2e36 0a20 202d 2065 6e61 626c 655f  .2.6.  - enable_
│ │ │ +00047d60: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ +00047d70: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +00047d80: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +00047d90: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ +00047da0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ +00047db0: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ +00047dc0: 6167 655f 7375 646f 5f69 6e73 7461 6c6c  age_sudo_install
│ │ │ +00047dd0: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e  ed.
│ │ │ +00047de0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediation │ │ │ +00047e90: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +00047ea0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
< │ │ │ +00047f20: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +00047f30: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +00047f50: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +00047f60: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +00047f80: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +00047fa0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:enable
<
│ │ │ +00047fd0: 636f 6465 3e69 6e63 6c75 6465 2069 6e73  code>include ins
│ │ │ +00047fe0: 7461 6c6c 5f73 7564 6f0a 0a63 6c61 7373  tall_sudo..class
│ │ │ +00047ff0: 2069 6e73 7461 6c6c 5f73 7564 6f20 7b0a   install_sudo {.
│ │ │ +00048000: 2020 7061 636b 6167 6520 7b20 2773 7564    package { 'sud
│ │ │ +00048010: 6f27 3a0a 2020 2020 656e 7375 7265 203d  o':.    ensure =
│ │ │ +00048020: 2667 743b 2027 696e 7374 616c 6c65 6427  > 'installed'
│ │ │ +00048030: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ +00048040: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remedi │ │ │ +000480f0: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl │ │ │ +00048100: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet │ │ │ +00048110: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
.[[packa │ │ │ +00048160: 6765 735d 5d0a 6e61 6d65 203d 2022 7375 ges]].name = "su │ │ │ +00048170: 646f 220a 7665 7273 696f 6e20 3d20 222a do".version = "* │ │ │ +00048180: 220a 3c2f 636f 6465 3e3c 2f70 7265 3e3c ".
< │ │ │ 00048190: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -0007a770: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin │ │ │ -0007a780: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
.[[packages]].
│ │ │ -0007a7e0: 6e61 6d65 203d 2022 6c69 6270 616d 2d70  name = "libpam-p
│ │ │ -0007a7f0: 7771 7561 6c69 7479 220a 7665 7273 696f  wquality".versio
│ │ │ -0007a800: 6e20 3d20 222a 220a 3c2f 636f 6465 3e3c  n = "*".<
│ │ │ -0007a810: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remedi │ │ │ -0007a8c0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ -0007a8d0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -0007a8e0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Comp │ │ │ -0007a960: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -0007a970: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -0007a990: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -0007a9b0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -0007a9c0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ -0007aa00: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ -0007aa10: 6520 696e 7374 616c 6c5f 6c69 6270 616d e install_libpam │ │ │ -0007aa20: 2d70 7771 7561 6c69 7479 0a0a 636c 6173 -pwquality..clas │ │ │ -0007aa30: 7320 696e 7374 616c 6c5f 6c69 6270 616d s install_libpam │ │ │ -0007aa40: 2d70 7771 7561 6c69 7479 207b 0a20 2070 -pwquality {. p │ │ │ -0007aa50: 6163 6b61 6765 207b 2027 6c69 6270 616d ackage { 'libpam │ │ │ -0007aa60: 2d70 7771 7561 6c69 7479 273a 0a20 2020 -pwquality':. │ │ │ -0007aa70: 2065 6e73 7572 6520 3d26 6774 3b20 2769 ensure => 'i │ │ │ -0007aa80: 6e73 7461 6c6c 6564 272c 0a20 207d 0a7d nstalled',. }.} │ │ │ -0007aa90: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
Remediation A │ │ │ -0007ab50: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet . │ │ │ -0007ab60: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
Complexity │ │ │ -0007abf0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -0007ac10: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -0007ac20: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -0007ac30: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -0007ac40: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -0007ac60: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
- name: Gath
│ │ │ -0007aca0: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ -0007acb0: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ -0007acc0: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ -0007acd0: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ -0007ace0: 2020 2d20 4449 5341 2d53 5449 472d 5542    - DISA-STIG-UB
│ │ │ -0007acf0: 5455 2d32 302d 3031 3030 3537 0a20 202d  TU-20-010057.  -
│ │ │ -0007ad00: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ -0007ad10: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -0007ad20: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -0007ad30: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ -0007ad40: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ -0007ad50: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -0007ad60: 2020 2d20 7061 636b 6167 655f 7061 6d5f    - package_pam_
│ │ │ -0007ad70: 7077 7175 616c 6974 795f 696e 7374 616c  pwquality_instal
│ │ │ -0007ad80: 6c65 640a 0a2d 206e 616d 653a 2045 6e73  led..- name: Ens
│ │ │ -0007ad90: 7572 6520 6c69 6270 616d 2d70 7771 7561  ure libpam-pwqua
│ │ │ -0007ada0: 6c69 7479 2069 7320 696e 7374 616c 6c65  lity is installe
│ │ │ -0007adb0: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ -0007adc0: 206e 616d 653a 206c 6962 7061 6d2d 7077   name: libpam-pw
│ │ │ -0007add0: 7175 616c 6974 790a 2020 2020 7374 6174  quality.    stat
│ │ │ -0007ade0: 653a 2070 7265 7365 6e74 0a20 2077 6865  e: present.  whe
│ │ │ -0007adf0: 6e3a 2027 226c 6962 7061 6d2d 7275 6e74  n: '"libpam-runt
│ │ │ -0007ae00: 696d 6522 2069 6e20 616e 7369 626c 655f  ime" in ansible_
│ │ │ -0007ae10: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -0007ae20: 2020 7461 6773 3a0a 2020 2d20 4449 5341    tags:.  - DISA
│ │ │ -0007ae30: 2d53 5449 472d 5542 5455 2d32 302d 3031  -STIG-UBTU-20-01
│ │ │ -0007ae40: 3030 3537 0a20 202d 2065 6e61 626c 655f  0057.  - enable_
│ │ │ -0007ae50: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -0007ae60: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -0007ae70: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -0007ae80: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ -0007ae90: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -0007aea0: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ -0007aeb0: 6167 655f 7061 6d5f 7077 7175 616c 6974  age_pam_pwqualit
│ │ │ -0007aec0: 795f 696e 7374 616c 6c65 640a 3c2f 636f  y_installed.
< │ │ │ +0007a800: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +0007a810: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +0007a830: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +0007a840: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +0007a860: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +0007a880: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:enable
<
│ │ │ +0007a8b0: 636f 6465 3e2d 206e 616d 653a 2047 6174  code>- name: Gat
│ │ │ +0007a8c0: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ +0007a8d0: 6661 6374 730a 2020 7061 636b 6167 655f  facts.  package_
│ │ │ +0007a8e0: 6661 6374 733a 0a20 2020 206d 616e 6167  facts:.    manag
│ │ │ +0007a8f0: 6572 3a20 6175 746f 0a20 2074 6167 733a  er: auto.  tags:
│ │ │ +0007a900: 0a20 202d 2044 4953 412d 5354 4947 2d55  .  - DISA-STIG-U
│ │ │ +0007a910: 4254 552d 3230 2d30 3130 3035 370a 2020  BTU-20-010057.  
│ │ │ +0007a920: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ +0007a930: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +0007a940: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +0007a950: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ +0007a960: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ +0007a970: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +0007a980: 0a20 202d 2070 6163 6b61 6765 5f70 616d  .  - package_pam
│ │ │ +0007a990: 5f70 7771 7561 6c69 7479 5f69 6e73 7461  _pwquality_insta
│ │ │ +0007a9a0: 6c6c 6564 0a0a 2d20 6e61 6d65 3a20 456e  lled..- name: En
│ │ │ +0007a9b0: 7375 7265 206c 6962 7061 6d2d 7077 7175  sure libpam-pwqu
│ │ │ +0007a9c0: 616c 6974 7920 6973 2069 6e73 7461 6c6c  ality is install
│ │ │ +0007a9d0: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ +0007a9e0: 2020 6e61 6d65 3a20 6c69 6270 616d 2d70    name: libpam-p
│ │ │ +0007a9f0: 7771 7561 6c69 7479 0a20 2020 2073 7461  wquality.    sta
│ │ │ +0007aa00: 7465 3a20 7072 6573 656e 740a 2020 7768  te: present.  wh
│ │ │ +0007aa10: 656e 3a20 2722 6c69 6270 616d 2d72 756e  en: '"libpam-run
│ │ │ +0007aa20: 7469 6d65 2220 696e 2061 6e73 6962 6c65  time" in ansible
│ │ │ +0007aa30: 5f66 6163 7473 2e70 6163 6b61 6765 7327  _facts.packages'
│ │ │ +0007aa40: 0a20 2074 6167 733a 0a20 202d 2044 4953  .  tags:.  - DIS
│ │ │ +0007aa50: 412d 5354 4947 2d55 4254 552d 3230 2d30  A-STIG-UBTU-20-0
│ │ │ +0007aa60: 3130 3035 370a 2020 2d20 656e 6162 6c65  10057.  - enable
│ │ │ +0007aa70: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ +0007aa80: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ +0007aa90: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ +0007aaa0: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ +0007aab0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ +0007aac0: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ +0007aad0: 6b61 6765 5f70 616d 5f70 7771 7561 6c69  kage_pam_pwquali
│ │ │ +0007aae0: 7479 5f69 6e73 7461 6c6c 6564 0a3c 2f63  ty_installed.
│ │ │ +0007ab00: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 R │ │ │ +0007aba0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +0007abb0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
< │ │ │ +0007ac90: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +0007aca0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
i
│ │ │ +0007acf0: 6e63 6c75 6465 2069 6e73 7461 6c6c 5f6c  nclude install_l
│ │ │ +0007ad00: 6962 7061 6d2d 7077 7175 616c 6974 790a  ibpam-pwquality.
│ │ │ +0007ad10: 0a63 6c61 7373 2069 6e73 7461 6c6c 5f6c  .class install_l
│ │ │ +0007ad20: 6962 7061 6d2d 7077 7175 616c 6974 7920  ibpam-pwquality 
│ │ │ +0007ad30: 7b0a 2020 7061 636b 6167 6520 7b20 276c  {.  package { 'l
│ │ │ +0007ad40: 6962 7061 6d2d 7077 7175 616c 6974 7927  ibpam-pwquality'
│ │ │ +0007ad50: 3a0a 2020 2020 656e 7375 7265 203d 2667  :.    ensure =&g
│ │ │ +0007ad60: 743b 2027 696e 7374 616c 6c65 6427 2c0a  t; 'installed',.
│ │ │ +0007ad70: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remediat │ │ │ +0007ae30: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue │ │ │ +0007ae40: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet .. │ │ │ +0007ae50: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
│ │ │ +0007ae90: 3c63 6f64 653e 0a5b 5b70 6163 6b61 6765  .[[package
│ │ │ +0007aea0: 735d 5d0a 6e61 6d65 203d 2022 6c69 6270  s]].name = "libp
│ │ │ +0007aeb0: 616d 2d70 7771 7561 6c69 7479 220a 7665  am-pwquality".ve
│ │ │ +0007aec0: 7273 696f 6e20 3d20 222a 220a 3c2f 636f  rsion = "*".
< │ │ │ 0007aee0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 0007aef0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 0007af00: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 0007af10: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 0007af20: 646d 3438 3737 2220 7461 6269 6e64 6578 dm4877" tabindex │ │ │ 0007af30: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ @@ -43943,117 +43943,117 @@ │ │ │ 000aba60: 7073 6522 2064 6174 612d 7461 7267 6574 pse" data-target │ │ │ 000aba70: 3d22 2369 646d 3933 3531 2220 7461 6269 ="#idm9351" tabi │ │ │ 000aba80: 6e64 6578 3d22 3022 2072 6f6c 653d 2262 ndex="0" role="b │ │ │ 000aba90: 7574 746f 6e22 2061 7269 612d 6578 7061 utton" aria-expa │ │ │ 000abaa0: 6e64 6564 3d22 6661 6c73 6522 2074 6974 nded="false" tit │ │ │ 000abab0: 6c65 3d22 4163 7469 7661 7465 2074 6f20 le="Activate to │ │ │ 000abac0: 7265 7665 616c 2220 6872 6566 3d22 2321 reveal" href="#! │ │ │ -000abad0: 223e 5265 6d65 6469 6174 696f 6e20 4f53 ">Remediation OS │ │ │ -000abae0: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint │ │ │ -000abaf0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -000abb00: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>

│ │ │ -000abb40: 0a5b 5b70 6163 6b61 6765 735d 5d0a 6e61  .[[packages]].na
│ │ │ -000abb50: 6d65 203d 2022 6170 7061 726d 6f72 220a  me = "apparmor".
│ │ │ -000abb60: 7665 7273 696f 6e20 3d20 222a 220a 3c2f  version = "*".
│ │ │ -000abc20: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ -000abc30: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
Complexity:low
Disrup │ │ │ +0007ac70: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +0007ac80: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +0007acc0: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +0007acd0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexity: │ │ │ -000abd10: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -000abd20: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ -000abd70: 696e 636c 7564 6520 696e 7374 616c 6c5f  include install_
│ │ │ -000abd80: 6170 7061 726d 6f72 0a0a 636c 6173 7320  apparmor..class 
│ │ │ -000abd90: 696e 7374 616c 6c5f 6170 7061 726d 6f72  install_apparmor
│ │ │ -000abda0: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ -000abdb0: 6170 7061 726d 6f72 273a 0a20 2020 2065  apparmor':.    e
│ │ │ -000abdc0: 6e73 7572 6520 3d26 6774 3b20 2769 6e73  nsure => 'ins
│ │ │ -000abdd0: 7461 6c6c 6564 272c 0a20 207d 0a7d 0a3c  talled',.  }.}.<
│ │ │ -000abde0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Ans │ │ │ -000abea0: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -000abeb0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low
Disru │ │ │ -000abcf0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -000abd00: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -000abd40: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ -000abd50: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -000abf30: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -000abf50: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -000abfa0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ -000abfd0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Ensure
│ │ │ -000abff0: 2061 7070 6172 6d6f 7220 6973 2069 6e73   apparmor is ins
│ │ │ -000ac000: 7461 6c6c 6564 0a20 2070 6163 6b61 6765  talled.  package
│ │ │ -000ac010: 3a0a 2020 2020 6e61 6d65 3a20 6170 7061  :.    name: appa
│ │ │ -000ac020: 726d 6f72 0a20 2020 2073 7461 7465 3a20  rmor.    state: 
│ │ │ -000ac030: 7072 6573 656e 740a 2020 7768 656e 3a20  present.  when: 
│ │ │ -000ac040: 616e 7369 626c 655f 7669 7274 7561 6c69  ansible_virtuali
│ │ │ -000ac050: 7a61 7469 6f6e 5f74 7970 6520 6e6f 7420  zation_type not 
│ │ │ -000ac060: 696e 205b 2264 6f63 6b65 7222 2c20 226c  in ["docker", "l
│ │ │ -000ac070: 7863 222c 2022 6f70 656e 767a 222c 2022  xc", "openvz", "
│ │ │ -000ac080: 706f 646d 616e 222c 2022 636f 6e74 6169  podman", "contai
│ │ │ -000ac090: 6e65 7222 5d0a 2020 7461 6773 3a0a 2020  ner"].  tags:.  
│ │ │ -000ac0a0: 2d20 4449 5341 2d53 5449 472d 5542 5455  - DISA-STIG-UBTU
│ │ │ -000ac0b0: 2d32 302d 3031 3034 3339 0a20 202d 2065  -20-010439.  - e
│ │ │ -000ac0c0: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ -000ac0d0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -000ac0e0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -000ac0f0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ -000ac100: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -000ac110: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -000ac120: 2d20 7061 636b 6167 655f 6170 7061 726d  - package_apparm
│ │ │ -000ac130: 6f72 5f69 6e73 7461 6c6c 6564 0a3c 2f63  or_installed.Remediation An
│ │ │ +000abae0: 7369 626c 6520 736e 6970 7065 7420 e287  sible snippet ..
│ │ │ +000abaf0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c  .
low< │ │ │ +000abbc0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr> │ │ │ +000abc10: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -000abf40: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -000abf60: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -000abfb0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ -000abfc0: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
Complexity: │ │ │ +000abb80: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ +000abba0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ +000abbf0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +000abc00: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
- name: Ensur
│ │ │ +000abc30: 6520 6170 7061 726d 6f72 2069 7320 696e  e apparmor is in
│ │ │ +000abc40: 7374 616c 6c65 640a 2020 7061 636b 6167  stalled.  packag
│ │ │ +000abc50: 653a 0a20 2020 206e 616d 653a 2061 7070  e:.    name: app
│ │ │ +000abc60: 6172 6d6f 720a 2020 2020 7374 6174 653a  armor.    state:
│ │ │ +000abc70: 2070 7265 7365 6e74 0a20 2077 6865 6e3a   present.  when:
│ │ │ +000abc80: 2061 6e73 6962 6c65 5f76 6972 7475 616c   ansible_virtual
│ │ │ +000abc90: 697a 6174 696f 6e5f 7479 7065 206e 6f74  ization_type not
│ │ │ +000abca0: 2069 6e20 5b22 646f 636b 6572 222c 2022   in ["docker", "
│ │ │ +000abcb0: 6c78 6322 2c20 226f 7065 6e76 7a22 2c20  lxc", "openvz", 
│ │ │ +000abcc0: 2270 6f64 6d61 6e22 2c20 2263 6f6e 7461  "podman", "conta
│ │ │ +000abcd0: 696e 6572 225d 0a20 2074 6167 733a 0a20  iner"].  tags:. 
│ │ │ +000abce0: 202d 2044 4953 412d 5354 4947 2d55 4254   - DISA-STIG-UBT
│ │ │ +000abcf0: 552d 3230 2d30 3130 3433 390a 2020 2d20  U-20-010439.  - 
│ │ │ +000abd00: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ +000abd10: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +000abd20: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +000abd30: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ +000abd40: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +000abd50: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +000abd60: 202d 2070 6163 6b61 6765 5f61 7070 6172   - package_appar
│ │ │ +000abd70: 6d6f 725f 696e 7374 616c 6c65 640a 3c2f  mor_installed.
│ │ │ +000abe30: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ +000abe40: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
Complexity: │ │ │ +000abf20: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +000abf30: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ +000abf80: 696e 636c 7564 6520 696e 7374 616c 6c5f  include install_
│ │ │ +000abf90: 6170 7061 726d 6f72 0a0a 636c 6173 7320  apparmor..class 
│ │ │ +000abfa0: 696e 7374 616c 6c5f 6170 7061 726d 6f72  install_apparmor
│ │ │ +000abfb0: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ +000abfc0: 6170 7061 726d 6f72 273a 0a20 2020 2065  apparmor':.    e
│ │ │ +000abfd0: 6e73 7572 6520 3d26 6774 3b20 2769 6e73  nsure => 'ins
│ │ │ +000abfe0: 7461 6c6c 6564 272c 0a20 207d 0a7d 0a3c  talled',.  }.}.<
│ │ │ +000abff0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation OSB │ │ │ +000ac0b0: 7569 6c64 2042 6c75 6570 7269 6e74 2073 uild Blueprint s │ │ │ +000ac0c0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
.
│ │ │ +000ac110: 5b5b 7061 636b 6167 6573 5d5d 0a6e 616d  [[packages]].nam
│ │ │ +000ac120: 6520 3d20 2261 7070 6172 6d6f 7222 0a76  e = "apparmor".v
│ │ │ +000ac130: 6572 7369 6f6e 203d 2022 2a22 0a3c 2f63  ersion = "*".
│ │ │ 000ac150: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Remedia │ │ │ -000bdb50: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu │ │ │ -000bdb60: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet . │ │ │ -000bdb70: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
.[[packa │ │ │ -000bdbc0: 6765 735d 5d0a 6e61 6d65 203d 2022 7273 ges]].name = "rs │ │ │ -000bdbd0: 7973 6c6f 6722 0a76 6572 7369 6f6e 203d yslog".version = │ │ │ -000bdbe0: 2022 2a22 0a3c 2f63 6f64 653e 3c2f 7072 "*".
Remediat │ │ │ -000bdca0: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ -000bdcb0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
low
Disru │ │ │ +000abf00: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +000abf10: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +000abf50: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ +000abf60: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -000bdd60: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -000bdd80: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -000bddb0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -000bdd40: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -000bdd50: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -000bdd70: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -000bdd90: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -000bdda0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

include │ │ │ -000bddf0: 2069 6e73 7461 6c6c 5f72 7379 736c 6f67 install_rsyslog │ │ │ -000bde00: 0a0a 636c 6173 7320 696e 7374 616c 6c5f ..class install_ │ │ │ -000bde10: 7273 7973 6c6f 6720 7b0a 2020 7061 636b rsyslog {. pack │ │ │ -000bde20: 6167 6520 7b20 2772 7379 736c 6f67 273a age { 'rsyslog': │ │ │ -000bde30: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure => │ │ │ -000bde40: 3b20 2769 6e73 7461 6c6c 6564 272c 0a20 ; 'installed',. │ │ │ -000bde50: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.

Remediat │ │ │ -000bdf10: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip │ │ │ -000bdf20: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -000bdf30: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -000bdf40: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -000bdf50: 7365 2220 6964 3d22 6964 6d31 3037 3638 se" id="idm10768 │ │ │ -000bdf60: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ -000bdfb0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -000bdfc0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -000bdfe0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -000be000: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -000be010: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ -000be050: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -000be060: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ -000be070: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac │ │ │ -000be080: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ -000be090: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto. │ │ │ -000be0a0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8 │ │ │ -000be0b0: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a). │ │ │ -000be0c0: 2d20 656e 6162 6c65 5f73 7472 6174 6567 - enable_strateg │ │ │ -000be0d0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple │ │ │ -000be0e0: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis │ │ │ -000be0f0: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi │ │ │ -000be100: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. - │ │ │ -000be110: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed │ │ │ -000be120: 0a20 202d 2070 6163 6b61 6765 5f72 7379 . - package_rsy │ │ │ -000be130: 736c 6f67 5f69 6e73 7461 6c6c 6564 0a0a slog_installed.. │ │ │ -000be140: 2d20 6e61 6d65 3a20 456e 7375 7265 2072 - name: Ensure r │ │ │ -000be150: 7379 736c 6f67 2069 7320 696e 7374 616c syslog is instal │ │ │ -000be160: 6c65 640a 2020 7061 636b 6167 653a 0a20 led. package:. │ │ │ -000be170: 2020 206e 616d 653a 2072 7379 736c 6f67 name: rsyslog │ │ │ -000be180: 0a20 2020 2073 7461 7465 3a20 7072 6573 . state: pres │ │ │ -000be190: 656e 740a 2020 7768 656e 3a20 2722 6c69 ent. when: '"li │ │ │ -000be1a0: 6e75 782d 6261 7365 2220 696e 2061 6e73 nux-base" in ans │ │ │ -000be1b0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa │ │ │ -000be1c0: 6765 7327 0a20 2074 6167 733a 0a20 202d ges'. tags:. - │ │ │ -000be1d0: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM- │ │ │ -000be1e0: 3628 6129 0a20 202d 2065 6e61 626c 655f 6(a). - enable_ │ │ │ -000be1f0: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low │ │ │ -000be200: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. - │ │ │ -000be210: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption. │ │ │ -000be220: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi │ │ │ -000be230: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot │ │ │ -000be240: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack │ │ │ -000be250: 6167 655f 7273 7973 6c6f 675f 696e 7374 age_rsyslog_inst │ │ │ -000be260: 616c 6c65 640a 3c2f 636f 6465 3e3c 2f70 alled.


│ │ │ +000bdb70: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +000bdbf0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +000bdc20: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +000bdc40: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +000bdc50: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +000bdc70: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ +000bdc90: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ +000bdca0: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ +000bdcb0: 636b 6167 6520 6661 6374 730a 2020 7061  ckage facts.  pa
│ │ │ +000bdcc0: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ +000bdcd0: 206d 616e 6167 6572 3a20 6175 746f 0a20   manager: auto. 
│ │ │ +000bdce0: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ +000bdcf0: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ +000bdd00: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ +000bdd10: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +000bdd20: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +000bdd30: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +000bdd40: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +000bdd50: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +000bdd60: 640a 2020 2d20 7061 636b 6167 655f 7273  d.  - package_rs
│ │ │ +000bdd70: 7973 6c6f 675f 696e 7374 616c 6c65 640a  yslog_installed.
│ │ │ +000bdd80: 0a2d 206e 616d 653a 2045 6e73 7572 6520  .- name: Ensure 
│ │ │ +000bdd90: 7273 7973 6c6f 6720 6973 2069 6e73 7461  rsyslog is insta
│ │ │ +000bdda0: 6c6c 6564 0a20 2070 6163 6b61 6765 3a0a  lled.  package:.
│ │ │ +000bddb0: 2020 2020 6e61 6d65 3a20 7273 7973 6c6f      name: rsyslo
│ │ │ +000bddc0: 670a 2020 2020 7374 6174 653a 2070 7265  g.    state: pre
│ │ │ +000bddd0: 7365 6e74 0a20 2077 6865 6e3a 2027 226c  sent.  when: '"l
│ │ │ +000bdde0: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ +000bddf0: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +000bde00: 6167 6573 270a 2020 7461 6773 3a0a 2020  ages'.  tags:.  
│ │ │ +000bde10: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +000bde20: 2d36 2861 290a 2020 2d20 656e 6162 6c65  -6(a).  - enable
│ │ │ +000bde30: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ +000bde40: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ +000bde50: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ +000bde60: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ +000bde70: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ +000bde80: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ +000bde90: 6b61 6765 5f72 7379 736c 6f67 5f69 6e73  kage_rsyslog_ins
│ │ │ +000bdea0: 7461 6c6c 6564 0a3c 2f63 6f64 653e 3c2f  talled.
Remedi │ │ │ +000bdf60: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ +000bdf70: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +000bdf80: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +000be000: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +000be030: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +000be050: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +000be060: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +000be080: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ +000be0a0: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +000be0b0: 6465 2069 6e73 7461 6c6c 5f72 7379 736c  de install_rsysl
│ │ │ +000be0c0: 6f67 0a0a 636c 6173 7320 696e 7374 616c  og..class instal
│ │ │ +000be0d0: 6c5f 7273 7973 6c6f 6720 7b0a 2020 7061  l_rsyslog {.  pa
│ │ │ +000be0e0: 636b 6167 6520 7b20 2772 7379 736c 6f67  ckage { 'rsyslog
│ │ │ +000be0f0: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ +000be100: 6774 3b20 2769 6e73 7461 6c6c 6564 272c  gt; 'installed',
│ │ │ +000be110: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.
Remedi │ │ │ +000be1d0: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl │ │ │ +000be1e0: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet │ │ │ +000be1f0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...

.[[pack │ │ │ +000be240: 6167 6573 5d5d 0a6e 616d 6520 3d20 2272 ages]].name = "r │ │ │ +000be250: 7379 736c 6f67 220a 7665 7273 696f 6e20 syslog".version │ │ │ +000be260: 3d20 222a 220a 3c2f 636f 6465 3e3c 2f70 = "*".

│ │ │ -000bf5d0: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu │ │ │ -000bf5e0: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn │ │ │ -000bf5f0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.
│ │ │ -000bf640: 5b63 7573 746f 6d69 7a61 7469 6f6e 732e  [customizations.
│ │ │ -000bf650: 7365 7276 6963 6573 5d0a 656e 6162 6c65  services].enable
│ │ │ -000bf660: 6420 3d20 5b22 7273 7973 6c6f 6722 5d0a  d = ["rsyslog"].
│ │ │ -000bf670: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation P │ │ │ -000bf730: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ -000bf740: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ -000bf7d0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -000bf7f0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -000bf800: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -000bf810: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -000bf820: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -000bf840: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
include enab
│ │ │ -000bf880: 6c65 5f72 7379 736c 6f67 0a0a 636c 6173  le_rsyslog..clas
│ │ │ -000bf890: 7320 656e 6162 6c65 5f72 7379 736c 6f67  s enable_rsyslog
│ │ │ -000bf8a0: 207b 0a20 2073 6572 7669 6365 207b 2772   {.  service {'r
│ │ │ -000bf8b0: 7379 736c 6f67 273a 0a20 2020 2065 6e61  syslog':.    ena
│ │ │ -000bf8c0: 626c 6520 3d26 6774 3b20 7472 7565 2c0a  ble => true,.
│ │ │ -000bf8d0: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -000bf8e0: 2027 7275 6e6e 696e 6727 2c0a 2020 7d0a   'running',.  }.
│ │ │ -000bf8f0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ -000bf900: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -000bf9b0: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ -000bf9c0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -000bfa00: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -000bfa10: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -000bfa20: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -000bfa30: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -000bfa40: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -000bfa50: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -000bfa60: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -000bfaa0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -000bfab0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -000bfad0: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ -000bfae0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ -000bfb00: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ -000bfb10: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ -000bfb20: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ -000bfb30: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ -000bfb40: 733a 0a20 202d 2044 4953 412d 5354 4947  s:.  - DISA-STIG
│ │ │ -000bfb50: 2d55 4254 552d 3230 2d30 3130 3433 320a  -UBTU-20-010432.
│ │ │ -000bfb60: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -000bfb70: 4155 2d34 2831 290a 2020 2d20 4e49 5354  AU-4(1).  - NIST
│ │ │ -000bfb80: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ -000bfb90: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -000bfba0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -000bfbb0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -000bfbc0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -000bfbd0: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -000bfbe0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -000bfbf0: 6564 0a20 202d 2073 6572 7669 6365 5f72  ed.  - service_r
│ │ │ -000bfc00: 7379 736c 6f67 5f65 6e61 626c 6564 0a0a  syslog_enabled..
│ │ │ -000bfc10: 2d20 6e61 6d65 3a20 456e 6162 6c65 2072  - name: Enable r
│ │ │ -000bfc20: 7379 736c 6f67 2053 6572 7669 6365 202d  syslog Service -
│ │ │ -000bfc30: 2045 6e61 626c 6520 7365 7276 6963 6520   Enable service 
│ │ │ -000bfc40: 7273 7973 6c6f 670a 2020 626c 6f63 6b3a  rsyslog.  block:
│ │ │ -000bfc50: 0a0a 2020 2d20 6e61 6d65 3a20 4761 7468  ..  - name: Gath
│ │ │ -000bfc60: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ -000bfc70: 6163 7473 0a20 2020 2070 6163 6b61 6765  acts.    package
│ │ │ -000bfc80: 5f66 6163 7473 3a0a 2020 2020 2020 6d61  _facts:.      ma
│ │ │ -000bfc90: 6e61 6765 723a 2061 7574 6f0a 0a20 202d  nager: auto..  -
│ │ │ -000bfca0: 206e 616d 653a 2045 6e61 626c 6520 7273   name: Enable rs
│ │ │ -000bfcb0: 7973 6c6f 6720 5365 7276 6963 6520 2d20  yslog Service - 
│ │ │ -000bfcc0: 456e 6162 6c65 2053 6572 7669 6365 2072  Enable Service r
│ │ │ -000bfcd0: 7379 736c 6f67 0a20 2020 2061 6e73 6962  syslog.    ansib
│ │ │ -000bfce0: 6c65 2e62 7569 6c74 696e 2e73 7973 7465  le.builtin.syste
│ │ │ -000bfcf0: 6d64 3a0a 2020 2020 2020 6e61 6d65 3a20  md:.      name: 
│ │ │ -000bfd00: 7273 7973 6c6f 670a 2020 2020 2020 656e  rsyslog.      en
│ │ │ -000bfd10: 6162 6c65 643a 2074 7275 650a 2020 2020  abled: true.    
│ │ │ -000bfd20: 2020 7374 6174 653a 2073 7461 7274 6564    state: started
│ │ │ -000bfd30: 0a20 2020 2020 206d 6173 6b65 643a 2066  .      masked: f
│ │ │ -000bfd40: 616c 7365 0a20 2020 2077 6865 6e3a 0a20  alse.    when:. 
│ │ │ -000bfd50: 2020 202d 2027 2272 7379 736c 6f67 2220     - '"rsyslog" 
│ │ │ -000bfd60: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -000bfd70: 2e70 6163 6b61 6765 7327 0a20 2077 6865  .packages'.  whe
│ │ │ -000bfd80: 6e3a 2027 226c 696e 7578 2d62 6173 6522  n: '"linux-base"
│ │ │ -000bfd90: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ -000bfda0: 732e 7061 636b 6167 6573 270a 2020 7461  s.packages'.  ta
│ │ │ -000bfdb0: 6773 3a0a 2020 2d20 4449 5341 2d53 5449  gs:.  - DISA-STI
│ │ │ -000bfdc0: 472d 5542 5455 2d32 302d 3031 3034 3332  G-UBTU-20-010432
│ │ │ -000bfdd0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -000bfde0: 2d41 552d 3428 3129 0a20 202d 204e 4953  -AU-4(1).  - NIS
│ │ │ -000bfdf0: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ -000bfe00: 0a20 202d 2065 6e61 626c 655f 7374 7261  .  - enable_stra
│ │ │ -000bfe10: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ -000bfe20: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -000bfe30: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ -000bfe40: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ -000bfe50: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -000bfe60: 6465 640a 2020 2d20 7365 7276 6963 655f  ded.  - service_
│ │ │ -000bfe70: 7273 7973 6c6f 675f 656e 6162 6c65 640a  rsyslog_enabled.
│ │ │ +000bf5d0: 5265 6d65 6469 6174 696f 6e20 416e 7369  Remediation Ansi
│ │ │ +000bf5e0: 626c 6520 736e 6970 7065 7420 e287 b23c  ble snippet ...<
│ │ │ +000bf5f0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173  /a>
│ │ │ +000bf670: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +000bf690: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +000bf6e0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ +000bf710: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Gather
│ │ │ +000bf730: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ +000bf740: 7473 0a20 2070 6163 6b61 6765 5f66 6163  ts.  package_fac
│ │ │ +000bf750: 7473 3a0a 2020 2020 6d61 6e61 6765 723a  ts:.    manager:
│ │ │ +000bf760: 2061 7574 6f0a 2020 7461 6773 3a0a 2020   auto.  tags:.  
│ │ │ +000bf770: 2d20 4449 5341 2d53 5449 472d 5542 5455  - DISA-STIG-UBTU
│ │ │ +000bf780: 2d32 302d 3031 3034 3332 0a20 202d 204e  -20-010432.  - N
│ │ │ +000bf790: 4953 542d 3830 302d 3533 2d41 552d 3428  IST-800-53-AU-4(
│ │ │ +000bf7a0: 3129 0a20 202d 204e 4953 542d 3830 302d  1).  - NIST-800-
│ │ │ +000bf7b0: 3533 2d43 4d2d 3628 6129 0a20 202d 2065  53-CM-6(a).  - e
│ │ │ +000bf7c0: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ +000bf7d0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +000bf7e0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +000bf7f0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +000bf800: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +000bf810: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +000bf820: 2d20 7365 7276 6963 655f 7273 7973 6c6f  - service_rsyslo
│ │ │ +000bf830: 675f 656e 6162 6c65 640a 0a2d 206e 616d  g_enabled..- nam
│ │ │ +000bf840: 653a 2045 6e61 626c 6520 7273 7973 6c6f  e: Enable rsyslo
│ │ │ +000bf850: 6720 5365 7276 6963 6520 2d20 456e 6162  g Service - Enab
│ │ │ +000bf860: 6c65 2073 6572 7669 6365 2072 7379 736c  le service rsysl
│ │ │ +000bf870: 6f67 0a20 2062 6c6f 636b 3a0a 0a20 202d  og.  block:..  -
│ │ │ +000bf880: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ +000bf890: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ +000bf8a0: 2020 2020 7061 636b 6167 655f 6661 6374      package_fact
│ │ │ +000bf8b0: 733a 0a20 2020 2020 206d 616e 6167 6572  s:.      manager
│ │ │ +000bf8c0: 3a20 6175 746f 0a0a 2020 2d20 6e61 6d65  : auto..  - name
│ │ │ +000bf8d0: 3a20 456e 6162 6c65 2072 7379 736c 6f67  : Enable rsyslog
│ │ │ +000bf8e0: 2053 6572 7669 6365 202d 2045 6e61 626c   Service - Enabl
│ │ │ +000bf8f0: 6520 5365 7276 6963 6520 7273 7973 6c6f  e Service rsyslo
│ │ │ +000bf900: 670a 2020 2020 616e 7369 626c 652e 6275  g.    ansible.bu
│ │ │ +000bf910: 696c 7469 6e2e 7379 7374 656d 643a 0a20  iltin.systemd:. 
│ │ │ +000bf920: 2020 2020 206e 616d 653a 2072 7379 736c       name: rsysl
│ │ │ +000bf930: 6f67 0a20 2020 2020 2065 6e61 626c 6564  og.      enabled
│ │ │ +000bf940: 3a20 7472 7565 0a20 2020 2020 2073 7461  : true.      sta
│ │ │ +000bf950: 7465 3a20 7374 6172 7465 640a 2020 2020  te: started.    
│ │ │ +000bf960: 2020 6d61 736b 6564 3a20 6661 6c73 650a    masked: false.
│ │ │ +000bf970: 2020 2020 7768 656e 3a0a 2020 2020 2d20      when:.    - 
│ │ │ +000bf980: 2722 7273 7973 6c6f 6722 2069 6e20 616e  '"rsyslog" in an
│ │ │ +000bf990: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +000bf9a0: 6167 6573 270a 2020 7768 656e 3a20 2722  ages'.  when: '"
│ │ │ +000bf9b0: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ +000bf9c0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +000bf9d0: 6b61 6765 7327 0a20 2074 6167 733a 0a20  kages'.  tags:. 
│ │ │ +000bf9e0: 202d 2044 4953 412d 5354 4947 2d55 4254   - DISA-STIG-UBT
│ │ │ +000bf9f0: 552d 3230 2d30 3130 3433 320a 2020 2d20  U-20-010432.  - 
│ │ │ +000bfa00: 4e49 5354 2d38 3030 2d35 332d 4155 2d34  NIST-800-53-AU-4
│ │ │ +000bfa10: 2831 290a 2020 2d20 4e49 5354 2d38 3030  (1).  - NIST-800
│ │ │ +000bfa20: 2d35 332d 434d 2d36 2861 290a 2020 2d20  -53-CM-6(a).  - 
│ │ │ +000bfa30: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ +000bfa40: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +000bfa50: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +000bfa60: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ +000bfa70: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +000bfa80: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +000bfa90: 202d 2073 6572 7669 6365 5f72 7379 736c   - service_rsysl
│ │ │ +000bfaa0: 6f67 5f65 6e61 626c 6564 0a3c 2f63 6f64  og_enabled.
Re │ │ │ +000bfb60: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ +000bfb70: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +000bfb80: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Complexity:< │ │ │ +000bf680: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +000bf6a0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +000bf6f0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ +000bf700: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
< │ │ │ +000bfc50: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +000bfc60: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
i
│ │ │ +000bfcb0: 6e63 6c75 6465 2065 6e61 626c 655f 7273  nclude enable_rs
│ │ │ +000bfcc0: 7973 6c6f 670a 0a63 6c61 7373 2065 6e61  yslog..class ena
│ │ │ +000bfcd0: 626c 655f 7273 7973 6c6f 6720 7b0a 2020  ble_rsyslog {.  
│ │ │ +000bfce0: 7365 7276 6963 6520 7b27 7273 7973 6c6f  service {'rsyslo
│ │ │ +000bfcf0: 6727 3a0a 2020 2020 656e 6162 6c65 203d  g':.    enable =
│ │ │ +000bfd00: 2667 743b 2074 7275 652c 0a20 2020 2065  > true,.    e
│ │ │ +000bfd10: 6e73 7572 6520 3d26 6774 3b20 2772 756e  nsure => 'run
│ │ │ +000bfd20: 6e69 6e67 272c 0a20 207d 0a7d 0a3c 2f63  ning',.  }.}.
│ │ │ +000bfd40: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +000bfde0: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu │ │ │ +000bfdf0: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn │ │ │ +000bfe00: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.
│ │ │ +000bfe50: 5b63 7573 746f 6d69 7a61 7469 6f6e 732e  [customizations.
│ │ │ +000bfe60: 7365 7276 6963 6573 5d0a 656e 6162 6c65  services].enable
│ │ │ +000bfe70: 6420 3d20 5b22 7273 7973 6c6f 6722 5d0a  d = ["rsyslog"].
│ │ │  000bfe80: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Reme │ │ │ -000c9690: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild │ │ │ -000c96a0: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe │ │ │ -000c96b0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -000c96f0: 3c70 7265 3e3c 636f 6465 3e0a 5b5b 7061
.[[pa
│ │ │ -000c9700: 636b 6167 6573 5d5d 0a6e 616d 6520 3d20  ckages]].name = 
│ │ │ -000c9710: 2269 7074 6162 6c65 732d 7065 7273 6973  "iptables-persis
│ │ │ -000c9720: 7465 6e74 220a 7665 7273 696f 6e20 3d20  tent".version = 
│ │ │ -000c9730: 222a 220a 3c2f 636f 6465 3e3c 2f70 7265  "*".
Remediati │ │ │ -000c97f0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -000c9800: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -000c9840: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
Complexity:low
Disrup │ │ │ +000bfc30: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +000bfc40: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +000bfc80: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +000bfc90: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ -000c98b0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -000c98d0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -000c9900: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -000c9920: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -000c9890: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -000c98a0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -000c98e0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -000c98f0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ -000c9940: 696e 7374 616c 6c5f 6970 7461 626c 6573 install_iptables │ │ │ -000c9950: 2d70 6572 7369 7374 656e 740a 0a63 6c61 -persistent..cla │ │ │ -000c9960: 7373 2069 6e73 7461 6c6c 5f69 7074 6162 ss install_iptab │ │ │ -000c9970: 6c65 732d 7065 7273 6973 7465 6e74 207b les-persistent { │ │ │ -000c9980: 0a20 2070 6163 6b61 6765 207b 2027 6970 . package { 'ip │ │ │ -000c9990: 7461 626c 6573 2d70 6572 7369 7374 656e tables-persisten │ │ │ -000c99a0: 7427 3a0a 2020 2020 656e 7375 7265 203d t':. ensure = │ │ │ -000c99b0: 2667 743b 2027 696e 7374 616c 6c65 6427 > 'installed' │ │ │ -000c99c0: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.< │ │ │ -000c99d0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remed │ │ │ -000c9a80: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s │ │ │ -000c9a90: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -000c9b30: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -000c9b40: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -000c9b90: 3c74 723e 3c74 683e 5374 7261 7465 6779
- n
│ │ │ -000c9bd0: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ -000c9be0: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ -000c9bf0: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ -000c9c00: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ -000c9c10: 0a20 2074 6167 733a 0a20 202d 2065 6e61  .  tags:.  - ena
│ │ │ -000c9c20: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -000c9c30: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -000c9c40: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -000c9c50: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -000c9c60: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -000c9c70: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -000c9c80: 7061 636b 6167 655f 6970 7461 626c 6573  package_iptables
│ │ │ -000c9c90: 2d70 6572 7369 7374 656e 745f 696e 7374  -persistent_inst
│ │ │ -000c9ca0: 616c 6c65 640a 0a2d 206e 616d 653a 2045  alled..- name: E
│ │ │ -000c9cb0: 6e73 7572 6520 6970 7461 626c 6573 2d70  nsure iptables-p
│ │ │ -000c9cc0: 6572 7369 7374 656e 7420 6973 2069 6e73  ersistent is ins
│ │ │ -000c9cd0: 7461 6c6c 6564 0a20 2070 6163 6b61 6765  talled.  package
│ │ │ -000c9ce0: 3a0a 2020 2020 6e61 6d65 3a20 6970 7461  :.    name: ipta
│ │ │ -000c9cf0: 626c 6573 2d70 6572 7369 7374 656e 740a  bles-persistent.
│ │ │ -000c9d00: 2020 2020 7374 6174 653a 2070 7265 7365      state: prese
│ │ │ -000c9d10: 6e74 0a20 2077 6865 6e3a 2027 2269 7074  nt.  when: '"ipt
│ │ │ -000c9d20: 6162 6c65 7322 2069 6e20 616e 7369 626c  ables" in ansibl
│ │ │ -000c9d30: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ -000c9d40: 270a 2020 7461 6773 3a0a 2020 2d20 656e  '.  tags:.  - en
│ │ │ -000c9d50: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -000c9d60: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -000c9d70: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -000c9d80: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ -000c9d90: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ -000c9da0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -000c9db0: 2070 6163 6b61 6765 5f69 7074 6162 6c65   package_iptable
│ │ │ -000c9dc0: 732d 7065 7273 6973 7465 6e74 5f69 6e73  s-persistent_ins
│ │ │ -000c9dd0: 7461 6c6c 6564 0a3c 2f63 6f64 653e 3c2f  talled.<
│ │ │ +000c96b0: 6272 3e3c 6469 7620 636c 6173 733d 2270  br>
C │ │ │ -000c9b20: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -000c9b50: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -000c9b60: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -000c9ba0: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ -000c9bb0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
│ │ │ +000c9740: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
- 
│ │ │ +000c97e0: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ +000c97f0: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ +000c9800: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ +000c9810: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ +000c9820: 6f0a 2020 7461 6773 3a0a 2020 2d20 656e  o.  tags:.  - en
│ │ │ +000c9830: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +000c9840: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +000c9850: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +000c9860: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ +000c9870: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +000c9880: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +000c9890: 2070 6163 6b61 6765 5f69 7074 6162 6c65   package_iptable
│ │ │ +000c98a0: 732d 7065 7273 6973 7465 6e74 5f69 6e73  s-persistent_ins
│ │ │ +000c98b0: 7461 6c6c 6564 0a0a 2d20 6e61 6d65 3a20  talled..- name: 
│ │ │ +000c98c0: 456e 7375 7265 2069 7074 6162 6c65 732d  Ensure iptables-
│ │ │ +000c98d0: 7065 7273 6973 7465 6e74 2069 7320 696e  persistent is in
│ │ │ +000c98e0: 7374 616c 6c65 640a 2020 7061 636b 6167  stalled.  packag
│ │ │ +000c98f0: 653a 0a20 2020 206e 616d 653a 2069 7074  e:.    name: ipt
│ │ │ +000c9900: 6162 6c65 732d 7065 7273 6973 7465 6e74  ables-persistent
│ │ │ +000c9910: 0a20 2020 2073 7461 7465 3a20 7072 6573  .    state: pres
│ │ │ +000c9920: 656e 740a 2020 7768 656e 3a20 2722 6970  ent.  when: '"ip
│ │ │ +000c9930: 7461 626c 6573 2220 696e 2061 6e73 6962  tables" in ansib
│ │ │ +000c9940: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +000c9950: 7327 0a20 2074 6167 733a 0a20 202d 2065  s'.  tags:.  - e
│ │ │ +000c9960: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ +000c9970: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +000c9980: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +000c9990: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +000c99a0: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +000c99b0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +000c99c0: 2d20 7061 636b 6167 655f 6970 7461 626c  - package_iptabl
│ │ │ +000c99d0: 6573 2d70 6572 7369 7374 656e 745f 696e  es-persistent_in
│ │ │ +000c99e0: 7374 616c 6c65 640a 3c2f 636f 6465 3e3c  stalled.<
│ │ │ +000c99f0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remed
│ │ │ +000c9aa0: 6961 7469 6f6e 2050 7570 7065 7420 736e  iation Puppet sn
│ │ │ +000c9ab0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
│ │ │ +000c9730: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +000c9760: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +000c9770: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +000c97b0: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ +000c97c0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
low< │ │ │ +000c9b60: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +000c9bb0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ +000c9b40: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +000c9b70: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +000c9b90: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +000c9ba0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +000c9bc0: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ +000c9bd0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +000c9bf0: 7564 6520 696e 7374 616c 6c5f 6970 7461  ude install_ipta
│ │ │ +000c9c00: 626c 6573 2d70 6572 7369 7374 656e 740a  bles-persistent.
│ │ │ +000c9c10: 0a63 6c61 7373 2069 6e73 7461 6c6c 5f69  .class install_i
│ │ │ +000c9c20: 7074 6162 6c65 732d 7065 7273 6973 7465  ptables-persiste
│ │ │ +000c9c30: 6e74 207b 0a20 2070 6163 6b61 6765 207b  nt {.  package {
│ │ │ +000c9c40: 2027 6970 7461 626c 6573 2d70 6572 7369   'iptables-persi
│ │ │ +000c9c50: 7374 656e 7427 3a0a 2020 2020 656e 7375  stent':.    ensu
│ │ │ +000c9c60: 7265 203d 2667 743b 2027 696e 7374 616c  re => 'instal
│ │ │ +000c9c70: 6c65 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  led',.  }.}.
< │ │ │ +000c9c90: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +000c9ca0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +000c9cb0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +000c9cc0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +000c9cd0: 646d 3131 3730 3422 2074 6162 696e 6465 dm11704" tabinde │ │ │ +000c9ce0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +000c9cf0: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +000c9d00: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +000c9d10: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +000c9d20: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +000c9d30: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui │ │ │ +000c9d40: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni │ │ │ +000c9d50: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +000c9d60: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
.[
│ │ │ +000c9da0: 5b70 6163 6b61 6765 735d 5d0a 6e61 6d65  [packages]].name
│ │ │ +000c9db0: 203d 2022 6970 7461 626c 6573 2d70 6572   = "iptables-per
│ │ │ +000c9dc0: 7369 7374 656e 7422 0a76 6572 7369 6f6e  sistent".version
│ │ │ +000c9dd0: 203d 2022 2a22 0a3c 2f63 6f64 653e 3c2f   = "*".
Remed │ │ │ -000caaf0: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B │ │ │ -000cab00: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet │ │ │ -000cab10: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -000cab50: 7072 653e 3c63 6f64 653e 0a5b 5b70 6163 pre>.[[pac │ │ │ -000cab60: 6b61 6765 735d 5d0a 6e61 6d65 203d 2022 kages]].name = " │ │ │ -000cab70: 6970 7461 626c 6573 220a 7665 7273 696f iptables".versio │ │ │ -000cab80: 6e20 3d20 222a 220a 3c2f 636f 6465 3e3c n = "*".< │ │ │ -000cab90: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remed │ │ │ -000cac40: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ -000cac50: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -000cad00: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -000cad50: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ -000cace0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -000cad10: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -000cad30: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -000cad40: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -000cad60: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ -000cad70: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -000cad90: 7564 6520 696e 7374 616c 6c5f 6970 7461  ude install_ipta
│ │ │ -000cada0: 626c 6573 0a0a 636c 6173 7320 696e 7374  bles..class inst
│ │ │ -000cadb0: 616c 6c5f 6970 7461 626c 6573 207b 0a20  all_iptables {. 
│ │ │ -000cadc0: 2070 6163 6b61 6765 207b 2027 6970 7461   package { 'ipta
│ │ │ -000cadd0: 626c 6573 273a 0a20 2020 2065 6e73 7572  bles':.    ensur
│ │ │ -000cade0: 6520 3d26 6774 3b20 2769 6e73 7461 6c6c  e => 'install
│ │ │ -000cadf0: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ed',.  }.}.
Re │ │ │ -000caeb0: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -000caec0: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
Complexity: │ │ │ -000cafa0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -000cafb0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ -000cb000: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ -000cb010: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ -000cb020: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ -000cb030: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ -000cb040: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ -000cb050: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ -000cb060: 2861 290a 2020 2d20 5043 492d 4453 532d  (a).  - PCI-DSS-
│ │ │ -000cb070: 5265 712d 312e 342e 310a 2020 2d20 656e  Req-1.4.1.  - en
│ │ │ -000cb080: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -000cb090: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -000cb0a0: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -000cb0b0: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ -000cb0c0: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ -000cb0d0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -000cb0e0: 2070 6163 6b61 6765 5f69 7074 6162 6c65   package_iptable
│ │ │ -000cb0f0: 735f 696e 7374 616c 6c65 640a 0a2d 206e  s_installed..- n
│ │ │ -000cb100: 616d 653a 2045 6e73 7572 6520 6970 7461  ame: Ensure ipta
│ │ │ -000cb110: 626c 6573 2069 7320 696e 7374 616c 6c65  bles is installe
│ │ │ -000cb120: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ -000cb130: 206e 616d 653a 2069 7074 6162 6c65 730a   name: iptables.
│ │ │ -000cb140: 2020 2020 7374 6174 653a 2070 7265 7365      state: prese
│ │ │ -000cb150: 6e74 0a20 2077 6865 6e3a 2028 2022 6c69  nt.  when: ( "li
│ │ │ -000cb160: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ -000cb170: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -000cb180: 6765 7320 290a 2020 7461 6773 3a0a 2020  ges ).  tags:.  
│ │ │ -000cb190: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -000cb1a0: 2d36 2861 290a 2020 2d20 5043 492d 4453  -6(a).  - PCI-DS
│ │ │ -000cb1b0: 532d 5265 712d 312e 342e 310a 2020 2d20  S-Req-1.4.1.  - 
│ │ │ -000cb1c0: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ -000cb1d0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -000cb1e0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -000cb1f0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -000cb200: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -000cb210: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -000cb220: 202d 2070 6163 6b61 6765 5f69 7074 6162   - package_iptab
│ │ │ -000cb230: 6c65 735f 696e 7374 616c 6c65 640a 3c2f  les_installed.
low
Disru │ │ │ -000caf80: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -000caf90: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -000cafd0: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ -000cafe0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
< │ │ │ +000caba0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +000cabb0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +000cac00: 3c74 723e 3c74 683e 5374 7261 7465 6779
- n
│ │ │ +000cac40: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ +000cac50: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ +000cac60: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ +000cac70: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ +000cac80: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ +000cac90: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ +000caca0: 0a20 202d 2050 4349 2d44 5353 2d52 6571  .  - PCI-DSS-Req
│ │ │ +000cacb0: 2d31 2e34 2e31 0a20 202d 2065 6e61 626c  -1.4.1.  - enabl
│ │ │ +000cacc0: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ +000cacd0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +000cace0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +000cacf0: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ +000cad00: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +000cad10: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ +000cad20: 636b 6167 655f 6970 7461 626c 6573 5f69  ckage_iptables_i
│ │ │ +000cad30: 6e73 7461 6c6c 6564 0a0a 2d20 6e61 6d65  nstalled..- name
│ │ │ +000cad40: 3a20 456e 7375 7265 2069 7074 6162 6c65  : Ensure iptable
│ │ │ +000cad50: 7320 6973 2069 6e73 7461 6c6c 6564 0a20  s is installed. 
│ │ │ +000cad60: 2070 6163 6b61 6765 3a0a 2020 2020 6e61   package:.    na
│ │ │ +000cad70: 6d65 3a20 6970 7461 626c 6573 0a20 2020  me: iptables.   
│ │ │ +000cad80: 2073 7461 7465 3a20 7072 6573 656e 740a   state: present.
│ │ │ +000cad90: 2020 7768 656e 3a20 2820 226c 696e 7578    when: ( "linux
│ │ │ +000cada0: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ +000cadb0: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +000cadc0: 2029 0a20 2074 6167 733a 0a20 202d 204e   ).  tags:.  - N
│ │ │ +000cadd0: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ +000cade0: 6129 0a20 202d 2050 4349 2d44 5353 2d52  a).  - PCI-DSS-R
│ │ │ +000cadf0: 6571 2d31 2e34 2e31 0a20 202d 2065 6e61  eq-1.4.1.  - ena
│ │ │ +000cae00: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +000cae10: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +000cae20: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +000cae30: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ +000cae40: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +000cae50: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +000cae60: 7061 636b 6167 655f 6970 7461 626c 6573  package_iptables
│ │ │ +000cae70: 5f69 6e73 7461 6c6c 6564 0a3c 2f63 6f64  _installed.
Re │ │ │ +000caf30: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ +000caf40: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +000caf50: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
C │ │ │ +000cab90: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +000cabc0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +000cabd0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +000cac10: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ +000cac20: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
< │ │ │ +000cb020: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +000cb030: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
i
│ │ │ +000cb080: 6e63 6c75 6465 2069 6e73 7461 6c6c 5f69  nclude install_i
│ │ │ +000cb090: 7074 6162 6c65 730a 0a63 6c61 7373 2069  ptables..class i
│ │ │ +000cb0a0: 6e73 7461 6c6c 5f69 7074 6162 6c65 7320  nstall_iptables 
│ │ │ +000cb0b0: 7b0a 2020 7061 636b 6167 6520 7b20 2769  {.  package { 'i
│ │ │ +000cb0c0: 7074 6162 6c65 7327 3a0a 2020 2020 656e  ptables':.    en
│ │ │ +000cb0d0: 7375 7265 203d 2667 743b 2027 696e 7374  sure => 'inst
│ │ │ +000cb0e0: 616c 6c65 6427 2c0a 2020 7d0a 7d0a 3c2f  alled',.  }.}.
Remediation OSB │ │ │ +000cb1b0: 7569 6c64 2042 6c75 6570 7269 6e74 2073 uild Blueprint s │ │ │ +000cb1c0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...

│ │ │ +000cb210: 0a5b 5b70 6163 6b61 6765 735d 5d0a 6e61  .[[packages]].na
│ │ │ +000cb220: 6d65 203d 2022 6970 7461 626c 6573 220a  me = "iptables".
│ │ │ +000cb230: 7665 7273 696f 6e20 3d20 222a 220a 3c2f  version = "*".
Remediation │ │ │ -000cbdd0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ -000cbde0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -000cbe60: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ -000cbef0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -000cbf00: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
Complexity:low
Disrup │ │ │ +000cb000: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +000cb010: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +000cb050: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +000cb060: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexi │ │ │ -000cbe70: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -000cbe80: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ -000cbec0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -000cbed0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
include r
│ │ │ -000cbf20: 656d 6f76 655f 6970 7461 626c 6573 2d70  emove_iptables-p
│ │ │ -000cbf30: 6572 7369 7374 656e 740a 0a63 6c61 7373  ersistent..class
│ │ │ -000cbf40: 2072 656d 6f76 655f 6970 7461 626c 6573   remove_iptables
│ │ │ -000cbf50: 2d70 6572 7369 7374 656e 7420 7b0a 2020  -persistent {.  
│ │ │ -000cbf60: 7061 636b 6167 6520 7b20 2769 7074 6162  package { 'iptab
│ │ │ -000cbf70: 6c65 732d 7065 7273 6973 7465 6e74 273a  les-persistent':
│ │ │ -000cbf80: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ -000cbf90: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a  ; 'purged',.  }.
│ │ │ -000cbfa0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ -000cbfb0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -000cc060: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ -000cc070: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -000cc0b0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -000cc0c0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -000cc0d0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -000cc0e0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -000cc0f0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -000cc100: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -000cc110: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -000cc150: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -000cc160: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -000cc180: 3c74 643e 6469 7361 626c 653c 2f74 643e disable │ │ │ -000cc190: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 - name: │ │ │ -000cc1b0: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ -000cc1c0: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ -000cc1d0: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ -000cc1e0: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ -000cc1f0: 6773 3a0a 2020 2d20 6469 7361 626c 655f gs:. - disable_ │ │ │ -000cc200: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low │ │ │ -000cc210: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. - │ │ │ -000cc220: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption. │ │ │ -000cc230: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi │ │ │ -000cc240: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot │ │ │ -000cc250: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack │ │ │ -000cc260: 6167 655f 6970 7461 626c 6573 2d70 6572 age_iptables-per │ │ │ -000cc270: 7369 7374 656e 745f 7265 6d6f 7665 640a sistent_removed. │ │ │ -000cc280: 0a2d 206e 616d 653a 2045 6e73 7572 6520 .- name: Ensure │ │ │ -000cc290: 6970 7461 626c 6573 2d70 6572 7369 7374 iptables-persist │ │ │ -000cc2a0: 656e 7420 6973 2072 656d 6f76 6564 0a20 ent is removed. │ │ │ -000cc2b0: 2070 6163 6b61 6765 3a0a 2020 2020 6e61 package:. na │ │ │ -000cc2c0: 6d65 3a20 6970 7461 626c 6573 2d70 6572 me: iptables-per │ │ │ -000cc2d0: 7369 7374 656e 740a 2020 2020 7374 6174 sistent. stat │ │ │ -000cc2e0: 653a 2061 6273 656e 740a 2020 7768 656e e: absent. when │ │ │ -000cc2f0: 3a20 2722 7566 7722 2069 6e20 616e 7369 : '"ufw" in ansi │ │ │ -000cc300: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag │ │ │ -000cc310: 6573 270a 2020 7461 6773 3a0a 2020 2d20 es'. tags:. - │ │ │ -000cc320: 6469 7361 626c 655f 7374 7261 7465 6779 disable_strategy │ │ │ -000cc330: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex │ │ │ -000cc340: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr │ │ │ -000cc350: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu │ │ │ -000cc360: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n │ │ │ -000cc370: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed. │ │ │ -000cc380: 2020 2d20 7061 636b 6167 655f 6970 7461 - package_ipta │ │ │ -000cc390: 626c 6573 2d70 6572 7369 7374 656e 745f bles-persistent_ │ │ │ -000cc3a0: 7265 6d6f 7665 640a 3c2f 636f 6465 3e3c removed.< │ │ │ +000cbdd0: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ +000cbde0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +000cbe20: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +000cbe30: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +000cbe40: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +000cbe50: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +000cbe60: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +000cbe70: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +000cbe80: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +000cbec0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +000cbed0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +000cbef0: 3c74 643e 6469 7361 626c 653c 2f74 643e disable │ │ │ +000cbf00: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 - name: │ │ │ +000cbf20: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ +000cbf30: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ +000cbf40: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ +000cbf50: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ +000cbf60: 6773 3a0a 2020 2d20 6469 7361 626c 655f gs:. - disable_ │ │ │ +000cbf70: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low │ │ │ +000cbf80: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. - │ │ │ +000cbf90: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption. │ │ │ +000cbfa0: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi │ │ │ +000cbfb0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot │ │ │ +000cbfc0: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack │ │ │ +000cbfd0: 6167 655f 6970 7461 626c 6573 2d70 6572 age_iptables-per │ │ │ +000cbfe0: 7369 7374 656e 745f 7265 6d6f 7665 640a sistent_removed. │ │ │ +000cbff0: 0a2d 206e 616d 653a 2045 6e73 7572 6520 .- name: Ensure │ │ │ +000cc000: 6970 7461 626c 6573 2d70 6572 7369 7374 iptables-persist │ │ │ +000cc010: 656e 7420 6973 2072 656d 6f76 6564 0a20 ent is removed. │ │ │ +000cc020: 2070 6163 6b61 6765 3a0a 2020 2020 6e61 package:. na │ │ │ +000cc030: 6d65 3a20 6970 7461 626c 6573 2d70 6572 me: iptables-per │ │ │ +000cc040: 7369 7374 656e 740a 2020 2020 7374 6174 sistent. stat │ │ │ +000cc050: 653a 2061 6273 656e 740a 2020 7768 656e e: absent. when │ │ │ +000cc060: 3a20 2722 7566 7722 2069 6e20 616e 7369 : '"ufw" in ansi │ │ │ +000cc070: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag │ │ │ +000cc080: 6573 270a 2020 7461 6773 3a0a 2020 2d20 es'. tags:. - │ │ │ +000cc090: 6469 7361 626c 655f 7374 7261 7465 6779 disable_strategy │ │ │ +000cc0a0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex │ │ │ +000cc0b0: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr │ │ │ +000cc0c0: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu │ │ │ +000cc0d0: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n │ │ │ +000cc0e0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed. │ │ │ +000cc0f0: 2020 2d20 7061 636b 6167 655f 6970 7461 - package_ipta │ │ │ +000cc100: 626c 6573 2d70 6572 7369 7374 656e 745f bles-persistent_ │ │ │ +000cc110: 7265 6d6f 7665 640a 3c2f 636f 6465 3e3c removed.< │ │ │ +000cc120: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remed │ │ │ +000cc1d0: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ +000cc1e0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ +000cc290: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +000cc2e0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ +000cc320: 6c75 6465 2072 656d 6f76 655f 6970 7461  lude remove_ipta
│ │ │ +000cc330: 626c 6573 2d70 6572 7369 7374 656e 740a  bles-persistent.
│ │ │ +000cc340: 0a63 6c61 7373 2072 656d 6f76 655f 6970  .class remove_ip
│ │ │ +000cc350: 7461 626c 6573 2d70 6572 7369 7374 656e  tables-persisten
│ │ │ +000cc360: 7420 7b0a 2020 7061 636b 6167 6520 7b20  t {.  package { 
│ │ │ +000cc370: 2769 7074 6162 6c65 732d 7065 7273 6973  'iptables-persis
│ │ │ +000cc380: 7465 6e74 273a 0a20 2020 2065 6e73 7572  tent':.    ensur
│ │ │ +000cc390: 6520 3d26 6774 3b20 2770 7572 6765 6427  e => 'purged'
│ │ │ +000cc3a0: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │  000cc3b0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remediat
│ │ │ -0010d370: 696f 6e20 4f53 4275 696c 6420 426c 7565  ion OSBuild Blue
│ │ │ -0010d380: 7072 696e 7420 736e 6970 7065 7420 e287  print snippet ..
│ │ │ -0010d390: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c  .
.[[packag
│ │ │ -0010d3e0: 6573 5d5d 0a6e 616d 6520 3d20 226e 6674  es]].name = "nft
│ │ │ -0010d3f0: 6162 6c65 7322 0a76 6572 7369 6f6e 203d  ables".version =
│ │ │ -0010d400: 2022 2a22 0a3c 2f63 6f64 653e 3c2f 7072   "*".
Remediat │ │ │ -0010d4c0: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ -0010d4d0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
Co │ │ │ +000cc270: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +000cc2a0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +000cc2c0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +000cc2d0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +000cc2f0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +000cc300: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
│ │ │ -0010d580: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -0010d5a0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -0010d5d0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -0010d560: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -0010d570: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -0010d590: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -0010d5b0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -0010d5c0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

include │ │ │ -0010d610: 2069 6e73 7461 6c6c 5f6e 6674 6162 6c65 install_nftable │ │ │ -0010d620: 730a 0a63 6c61 7373 2069 6e73 7461 6c6c s..class install │ │ │ -0010d630: 5f6e 6674 6162 6c65 7320 7b0a 2020 7061 _nftables {. pa │ │ │ -0010d640: 636b 6167 6520 7b20 276e 6674 6162 6c65 ckage { 'nftable │ │ │ -0010d650: 7327 3a0a 2020 2020 656e 7375 7265 203d s':. ensure = │ │ │ -0010d660: 2667 743b 2027 696e 7374 616c 6c65 6427 > 'installed' │ │ │ -0010d670: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.< │ │ │ -0010d680: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>

Remed │ │ │ -0010d730: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s │ │ │ -0010d740: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -0010d7e0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -0010d7f0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -0010d840: 3c74 723e 3c74 683e 5374 7261 7465 6779
- n
│ │ │ -0010d880: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ -0010d890: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ -0010d8a0: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ -0010d8b0: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ -0010d8c0: 0a20 2074 6167 733a 0a20 202d 2050 4349  .  tags:.  - PCI
│ │ │ -0010d8d0: 2d44 5353 7634 2d31 2e32 0a20 202d 2050  -DSSv4-1.2.  - P
│ │ │ -0010d8e0: 4349 2d44 5353 7634 2d31 2e32 2e31 0a20  CI-DSSv4-1.2.1. 
│ │ │ -0010d8f0: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ -0010d900: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ -0010d910: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -0010d920: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ -0010d930: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ -0010d940: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -0010d950: 640a 2020 2d20 7061 636b 6167 655f 6e66  d.  - package_nf
│ │ │ -0010d960: 7461 626c 6573 5f69 6e73 7461 6c6c 6564  tables_installed
│ │ │ -0010d970: 0a0a 2d20 6e61 6d65 3a20 456e 7375 7265  ..- name: Ensure
│ │ │ -0010d980: 206e 6674 6162 6c65 7320 6973 2069 6e73   nftables is ins
│ │ │ -0010d990: 7461 6c6c 6564 0a20 2070 6163 6b61 6765  talled.  package
│ │ │ -0010d9a0: 3a0a 2020 2020 6e61 6d65 3a20 6e66 7461  :.    name: nfta
│ │ │ -0010d9b0: 626c 6573 0a20 2020 2073 7461 7465 3a20  bles.    state: 
│ │ │ -0010d9c0: 7072 6573 656e 740a 2020 7768 656e 3a20  present.  when: 
│ │ │ -0010d9d0: 2820 226c 696e 7578 2d62 6173 6522 2069  ( "linux-base" i
│ │ │ -0010d9e0: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ -0010d9f0: 7061 636b 6167 6573 2029 0a20 2074 6167  packages ).  tag
│ │ │ -0010da00: 733a 0a20 202d 2050 4349 2d44 5353 7634  s:.  - PCI-DSSv4
│ │ │ -0010da10: 2d31 2e32 0a20 202d 2050 4349 2d44 5353  -1.2.  - PCI-DSS
│ │ │ -0010da20: 7634 2d31 2e32 2e31 0a20 202d 2065 6e61  v4-1.2.1.  - ena
│ │ │ -0010da30: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -0010da40: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -0010da50: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -0010da60: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -0010da70: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -0010da80: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -0010da90: 7061 636b 6167 655f 6e66 7461 626c 6573  package_nftables
│ │ │ -0010daa0: 5f69 6e73 7461 6c6c 6564 0a3c 2f63 6f64  _installed.
< │ │ │ +0010d390: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +0010d3a0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +0010d3b0: 7365 2220 6964 3d22 6964 6d31 3539 3235 se" id="idm15925 │ │ │ +0010d3c0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
C │ │ │ -0010d7d0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -0010d800: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -0010d810: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -0010d850: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ -0010d860: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Comp │ │ │ +0010d410: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +0010d420: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +0010d440: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +0010d460: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +0010d470: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ +0010d4b0: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +0010d4c0: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ +0010d4d0: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac │ │ │ +0010d4e0: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ +0010d4f0: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto. │ │ │ +0010d500: 7461 6773 3a0a 2020 2d20 5043 492d 4453 tags:. - PCI-DS │ │ │ +0010d510: 5376 342d 312e 320a 2020 2d20 5043 492d Sv4-1.2. - PCI- │ │ │ +0010d520: 4453 5376 342d 312e 322e 310a 2020 2d20 DSSv4-1.2.1. - │ │ │ +0010d530: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy. │ │ │ +0010d540: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi │ │ │ +0010d550: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru │ │ │ +0010d560: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium │ │ │ +0010d570: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no │ │ │ +0010d580: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed. │ │ │ +0010d590: 202d 2070 6163 6b61 6765 5f6e 6674 6162 - package_nftab │ │ │ +0010d5a0: 6c65 735f 696e 7374 616c 6c65 640a 0a2d les_installed..- │ │ │ +0010d5b0: 206e 616d 653a 2045 6e73 7572 6520 6e66 name: Ensure nf │ │ │ +0010d5c0: 7461 626c 6573 2069 7320 696e 7374 616c tables is instal │ │ │ +0010d5d0: 6c65 640a 2020 7061 636b 6167 653a 0a20 led. package:. │ │ │ +0010d5e0: 2020 206e 616d 653a 206e 6674 6162 6c65 name: nftable │ │ │ +0010d5f0: 730a 2020 2020 7374 6174 653a 2070 7265 s. state: pre │ │ │ +0010d600: 7365 6e74 0a20 2077 6865 6e3a 2028 2022 sent. when: ( " │ │ │ +0010d610: 6c69 6e75 782d 6261 7365 2220 696e 2061 linux-base" in a │ │ │ +0010d620: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac │ │ │ +0010d630: 6b61 6765 7320 290a 2020 7461 6773 3a0a kages ). tags:. │ │ │ +0010d640: 2020 2d20 5043 492d 4453 5376 342d 312e - PCI-DSSv4-1. │ │ │ +0010d650: 320a 2020 2d20 5043 492d 4453 5376 342d 2. - PCI-DSSv4- │ │ │ +0010d660: 312e 322e 310a 2020 2d20 656e 6162 6c65 1.2.1. - enable │ │ │ +0010d670: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo │ │ │ +0010d680: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. - │ │ │ +0010d690: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption. │ │ │ +0010d6a0: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever │ │ │ +0010d6b0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo │ │ │ +0010d6c0: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac │ │ │ +0010d6d0: 6b61 6765 5f6e 6674 6162 6c65 735f 696e kage_nftables_in │ │ │ +0010d6e0: 7374 616c 6c65 640a 3c2f 636f 6465 3e3c stalled.< │ │ │ +0010d6f0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remed │ │ │ +0010d7a0: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ +0010d7b0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ +0010d860: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +0010d8b0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ +0010d840: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +0010d870: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +0010d890: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +0010d8a0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +0010d8c0: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ +0010d8d0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +0010d8f0: 7564 6520 696e 7374 616c 6c5f 6e66 7461  ude install_nfta
│ │ │ +0010d900: 626c 6573 0a0a 636c 6173 7320 696e 7374  bles..class inst
│ │ │ +0010d910: 616c 6c5f 6e66 7461 626c 6573 207b 0a20  all_nftables {. 
│ │ │ +0010d920: 2070 6163 6b61 6765 207b 2027 6e66 7461   package { 'nfta
│ │ │ +0010d930: 626c 6573 273a 0a20 2020 2065 6e73 7572  bles':.    ensur
│ │ │ +0010d940: 6520 3d26 6774 3b20 2769 6e73 7461 6c6c  e => 'install
│ │ │ +0010d950: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ed',.  }.}.
Re │ │ │ +0010da10: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil │ │ │ +0010da20: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip │ │ │ +0010da30: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +0010da40: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +0010da50: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +0010da60: 7365 2220 6964 3d22 6964 6d31 3539 3237 se" id="idm15927 │ │ │ +0010da70: 223e 3c70 7265 3e3c 636f 6465 3e0a 5b5b ">
.[[
│ │ │ +0010da80: 7061 636b 6167 6573 5d5d 0a6e 616d 6520  packages]].name 
│ │ │ +0010da90: 3d20 226e 6674 6162 6c65 7322 0a76 6572  = "nftables".ver
│ │ │ +0010daa0: 7369 6f6e 203d 2022 2a22 0a3c 2f63 6f64  sion = "*".
Re │ │ │ -0010e650: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -0010e660: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -0010e670: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -0010e740: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -0010e750: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -0010e7a0: 696e 636c 7564 6520 7265 6d6f 7665 5f6e  include remove_n
│ │ │ -0010e7b0: 6674 6162 6c65 730a 0a63 6c61 7373 2072  ftables..class r
│ │ │ -0010e7c0: 656d 6f76 655f 6e66 7461 626c 6573 207b  emove_nftables {
│ │ │ -0010e7d0: 0a20 2070 6163 6b61 6765 207b 2027 6e66  .  package { 'nf
│ │ │ -0010e7e0: 7461 626c 6573 273a 0a20 2020 2065 6e73  tables':.    ens
│ │ │ -0010e7f0: 7572 6520 3d26 6774 3b20 2770 7572 6765  ure => 'purge
│ │ │ -0010e800: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Rem │ │ │ -0010e8c0: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ -0010e8d0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -0010e8e0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Complexity:low
Disrup │ │ │ -0010e720: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -0010e730: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -0010e770: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -0010e780: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
< │ │ │ -0010e9b0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -0010e9c0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -0010ea10: 2d20 6e61 6d65 3a20 456e 7375 7265 206e  - name: Ensure n
│ │ │ -0010ea20: 6674 6162 6c65 7320 6973 2072 656d 6f76  ftables is remov
│ │ │ -0010ea30: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ -0010ea40: 2020 6e61 6d65 3a20 6e66 7461 626c 6573    name: nftables
│ │ │ -0010ea50: 0a20 2020 2073 7461 7465 3a20 6162 7365  .    state: abse
│ │ │ -0010ea60: 6e74 0a20 2074 6167 733a 0a20 202d 2064  nt.  tags:.  - d
│ │ │ -0010ea70: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ -0010ea80: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -0010ea90: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -0010eaa0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -0010eab0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -0010eac0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -0010ead0: 202d 2070 6163 6b61 6765 5f6e 6674 6162   - package_nftab
│ │ │ -0010eae0: 6c65 735f 7265 6d6f 7665 640a 3c2f 636f  les_removed.
Complexity:low
Disrup │ │ │ -0010e990: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -0010e9a0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -0010e9e0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -0010e9f0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity: │ │ │ +0010e740: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +0010e750: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
- name: Ensure 
│ │ │ +0010e7b0: 6e66 7461 626c 6573 2069 7320 7265 6d6f  nftables is remo
│ │ │ +0010e7c0: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ +0010e7d0: 2020 206e 616d 653a 206e 6674 6162 6c65     name: nftable
│ │ │ +0010e7e0: 730a 2020 2020 7374 6174 653a 2061 6273  s.    state: abs
│ │ │ +0010e7f0: 656e 740a 2020 7461 6773 3a0a 2020 2d20  ent.  tags:.  - 
│ │ │ +0010e800: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ +0010e810: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +0010e820: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +0010e830: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +0010e840: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +0010e850: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +0010e860: 2020 2d20 7061 636b 6167 655f 6e66 7461    - package_nfta
│ │ │ +0010e870: 626c 6573 5f72 656d 6f76 6564 0a3c 2f63  bles_removed.
│ │ │ +0010e890: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +0010e930: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ +0010e940: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
low
Disru │ │ │ +0010e720: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +0010e730: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +0010e770: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +0010e780: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
< │ │ │ +0010e9d0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +0010e9f0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +0010ea40: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +0010ea70: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include remove
│ │ │ +0010ea90: 5f6e 6674 6162 6c65 730a 0a63 6c61 7373  _nftables..class
│ │ │ +0010eaa0: 2072 656d 6f76 655f 6e66 7461 626c 6573   remove_nftables
│ │ │ +0010eab0: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ +0010eac0: 6e66 7461 626c 6573 273a 0a20 2020 2065  nftables':.    e
│ │ │ +0010ead0: 6e73 7572 6520 3d26 6774 3b20 2770 7572  nsure => 'pur
│ │ │ +0010eae0: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ged',.  }.}.
< │ │ │ 0010eb00: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 0010eb10: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 0010eb20: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 0010eb30: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 0010eb40: 646d 3135 3934 3422 2074 6162 696e 6465 dm15944" tabinde │ │ │ 0010eb50: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ @@ -69478,149 +69478,149 @@ │ │ │ 0010f650: 6522 2064 6174 612d 7461 7267 6574 3d22 e" data-target=" │ │ │ 0010f660: 2369 646d 3135 3935 3822 2074 6162 696e #idm15958" tabin │ │ │ 0010f670: 6465 783d 2230 2220 726f 6c65 3d22 6275 dex="0" role="bu │ │ │ 0010f680: 7474 6f6e 2220 6172 6961 2d65 7870 616e tton" aria-expan │ │ │ 0010f690: 6465 643d 2266 616c 7365 2220 7469 746c ded="false" titl │ │ │ 0010f6a0: 653d 2241 6374 6976 6174 6520 746f 2072 e="Activate to r │ │ │ 0010f6b0: 6576 6561 6c22 2068 7265 663d 2223 2122 eveal" href="#!" │ │ │ -0010f6c0: 3e52 656d 6564 6961 7469 6f6e 204f 5342 >Remediation OSB │ │ │ -0010f6d0: 7569 6c64 2042 6c75 6570 7269 6e74 2073 uild Blueprint s │ │ │ -0010f6e0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...

│ │ │ -0010f730: 0a5b 6375 7374 6f6d 697a 6174 696f 6e73  .[customizations
│ │ │ -0010f740: 2e73 6572 7669 6365 735d 0a65 6e61 626c  .services].enabl
│ │ │ -0010f750: 6564 203d 205b 226e 6674 6162 6c65 7322  ed = ["nftables"
│ │ │ -0010f760: 5d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  ].
< │ │ │ -0010f770: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -0010f820: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ -0010f830: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -0010f8b0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ -0010f940: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
low
Disr │ │ │ +0010ea00: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +0010ea10: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +0010ea50: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +0010ea60: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
Complexi │ │ │ -0010f8c0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -0010f8d0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ -0010f910: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -0010f920: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
│ │ │ -0010f960: 3c63 6f64 653e 696e 636c 7564 6520 656e  include en
│ │ │ -0010f970: 6162 6c65 5f6e 6674 6162 6c65 730a 0a63  able_nftables..c
│ │ │ -0010f980: 6c61 7373 2065 6e61 626c 655f 6e66 7461  lass enable_nfta
│ │ │ -0010f990: 626c 6573 207b 0a20 2073 6572 7669 6365  bles {.  service
│ │ │ -0010f9a0: 207b 276e 6674 6162 6c65 7327 3a0a 2020   {'nftables':.  
│ │ │ -0010f9b0: 2020 656e 6162 6c65 203d 2667 743b 2074    enable => t
│ │ │ -0010f9c0: 7275 652c 0a20 2020 2065 6e73 7572 6520  rue,.    ensure 
│ │ │ -0010f9d0: 3d26 6774 3b20 2772 756e 6e69 6e67 272c  => 'running',
│ │ │ -0010f9e0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.
Remedi │ │ │ -0010faa0: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn │ │ │ -0010fab0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -0010fb60: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -0010fbb0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ -0010fb40: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -0010fb70: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -0010fb90: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -0010fba0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -0010fbc0: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ -0010fbd0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -0010fbf0: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ -0010fc00: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ -0010fc10: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ -0010fc20: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ -0010fc30: 2020 7461 6773 3a0a 2020 2d20 656e 6162    tags:.  - enab
│ │ │ -0010fc40: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -0010fc50: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -0010fc60: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -0010fc70: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ -0010fc80: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -0010fc90: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ -0010fca0: 6572 7669 6365 5f6e 6674 6162 6c65 735f  ervice_nftables_
│ │ │ -0010fcb0: 656e 6162 6c65 640a 0a2d 206e 616d 653a  enabled..- name:
│ │ │ -0010fcc0: 2056 6572 6966 7920 6e66 7461 626c 6573   Verify nftables
│ │ │ -0010fcd0: 2053 6572 7669 6365 2069 7320 456e 6162   Service is Enab
│ │ │ -0010fce0: 6c65 6420 2d20 456e 6162 6c65 2073 6572  led - Enable ser
│ │ │ -0010fcf0: 7669 6365 206e 6674 6162 6c65 730a 2020  vice nftables.  
│ │ │ -0010fd00: 626c 6f63 6b3a 0a0a 2020 2d20 6e61 6d65  block:..  - name
│ │ │ -0010fd10: 3a20 4761 7468 6572 2074 6865 2070 6163  : Gather the pac
│ │ │ -0010fd20: 6b61 6765 2066 6163 7473 0a20 2020 2070  kage facts.    p
│ │ │ -0010fd30: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ -0010fd40: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ -0010fd50: 6f0a 0a20 202d 206e 616d 653a 2056 6572  o..  - name: Ver
│ │ │ -0010fd60: 6966 7920 6e66 7461 626c 6573 2053 6572  ify nftables Ser
│ │ │ -0010fd70: 7669 6365 2069 7320 456e 6162 6c65 6420  vice is Enabled 
│ │ │ -0010fd80: 2d20 456e 6162 6c65 2053 6572 7669 6365  - Enable Service
│ │ │ -0010fd90: 206e 6674 6162 6c65 730a 2020 2020 616e   nftables.    an
│ │ │ -0010fda0: 7369 626c 652e 6275 696c 7469 6e2e 7379  sible.builtin.sy
│ │ │ -0010fdb0: 7374 656d 643a 0a20 2020 2020 206e 616d  stemd:.      nam
│ │ │ -0010fdc0: 653a 206e 6674 6162 6c65 730a 2020 2020  e: nftables.    
│ │ │ -0010fdd0: 2020 656e 6162 6c65 643a 2074 7275 650a    enabled: true.
│ │ │ -0010fde0: 2020 2020 2020 7374 6174 653a 2073 7461        state: sta
│ │ │ -0010fdf0: 7274 6564 0a20 2020 2020 206d 6173 6b65  rted.      maske
│ │ │ -0010fe00: 643a 2066 616c 7365 0a20 2020 2077 6865  d: false.    whe
│ │ │ -0010fe10: 6e3a 0a20 2020 202d 2027 226e 6674 6162  n:.    - '"nftab
│ │ │ -0010fe20: 6c65 7322 2069 6e20 616e 7369 626c 655f  les" in ansible_
│ │ │ -0010fe30: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -0010fe40: 2020 7768 656e 3a20 2820 226e 6674 6162    when: ( "nftab
│ │ │ -0010fe50: 6c65 7322 2069 6e20 616e 7369 626c 655f  les" in ansible_
│ │ │ -0010fe60: 6661 6374 732e 7061 636b 6167 6573 2061  facts.packages a
│ │ │ -0010fe70: 6e64 2022 6c69 6e75 782d 6261 7365 2220  nd "linux-base" 
│ │ │ -0010fe80: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -0010fe90: 2e70 6163 6b61 6765 730a 2020 2020 290a  .packages.    ).
│ │ │ -0010fea0: 2020 7461 6773 3a0a 2020 2d20 656e 6162    tags:.  - enab
│ │ │ -0010feb0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -0010fec0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -0010fed0: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -0010fee0: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ -0010fef0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -0010ff00: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ -0010ff10: 6572 7669 6365 5f6e 6674 6162 6c65 735f  ervice_nftables_
│ │ │ -0010ff20: 656e 6162 6c65 640a 3c2f 636f 6465 3e3c  enabled.<
│ │ │ +0010f6c0: 3e52 656d 6564 6961 7469 6f6e 2041 6e73  >Remediation Ans
│ │ │ +0010f6d0: 6962 6c65 2073 6e69 7070 6574 20e2 87b2  ible snippet ...
│ │ │ +0010f6e0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61  
Complexity: │ │ │ +0010f770: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +0010f790: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +0010f7b0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +0010f7e0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +0010f7f0: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ +0010f800: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ +0010f820: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ +0010f830: 6374 730a 2020 7061 636b 6167 655f 6661  cts.  package_fa
│ │ │ +0010f840: 6374 733a 0a20 2020 206d 616e 6167 6572  cts:.    manager
│ │ │ +0010f850: 3a20 6175 746f 0a20 2074 6167 733a 0a20  : auto.  tags:. 
│ │ │ +0010f860: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ +0010f870: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +0010f880: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +0010f890: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +0010f8a0: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +0010f8b0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +0010f8c0: 640a 2020 2d20 7365 7276 6963 655f 6e66  d.  - service_nf
│ │ │ +0010f8d0: 7461 626c 6573 5f65 6e61 626c 6564 0a0a  tables_enabled..
│ │ │ +0010f8e0: 2d20 6e61 6d65 3a20 5665 7269 6679 206e  - name: Verify n
│ │ │ +0010f8f0: 6674 6162 6c65 7320 5365 7276 6963 6520  ftables Service 
│ │ │ +0010f900: 6973 2045 6e61 626c 6564 202d 2045 6e61  is Enabled - Ena
│ │ │ +0010f910: 626c 6520 7365 7276 6963 6520 6e66 7461  ble service nfta
│ │ │ +0010f920: 626c 6573 0a20 2062 6c6f 636b 3a0a 0a20  bles.  block:.. 
│ │ │ +0010f930: 202d 206e 616d 653a 2047 6174 6865 7220   - name: Gather 
│ │ │ +0010f940: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ +0010f950: 730a 2020 2020 7061 636b 6167 655f 6661  s.    package_fa
│ │ │ +0010f960: 6374 733a 0a20 2020 2020 206d 616e 6167  cts:.      manag
│ │ │ +0010f970: 6572 3a20 6175 746f 0a0a 2020 2d20 6e61  er: auto..  - na
│ │ │ +0010f980: 6d65 3a20 5665 7269 6679 206e 6674 6162  me: Verify nftab
│ │ │ +0010f990: 6c65 7320 5365 7276 6963 6520 6973 2045  les Service is E
│ │ │ +0010f9a0: 6e61 626c 6564 202d 2045 6e61 626c 6520  nabled - Enable 
│ │ │ +0010f9b0: 5365 7276 6963 6520 6e66 7461 626c 6573  Service nftables
│ │ │ +0010f9c0: 0a20 2020 2061 6e73 6962 6c65 2e62 7569  .    ansible.bui
│ │ │ +0010f9d0: 6c74 696e 2e73 7973 7465 6d64 3a0a 2020  ltin.systemd:.  
│ │ │ +0010f9e0: 2020 2020 6e61 6d65 3a20 6e66 7461 626c      name: nftabl
│ │ │ +0010f9f0: 6573 0a20 2020 2020 2065 6e61 626c 6564  es.      enabled
│ │ │ +0010fa00: 3a20 7472 7565 0a20 2020 2020 2073 7461  : true.      sta
│ │ │ +0010fa10: 7465 3a20 7374 6172 7465 640a 2020 2020  te: started.    
│ │ │ +0010fa20: 2020 6d61 736b 6564 3a20 6661 6c73 650a    masked: false.
│ │ │ +0010fa30: 2020 2020 7768 656e 3a0a 2020 2020 2d20      when:.    - 
│ │ │ +0010fa40: 2722 6e66 7461 626c 6573 2220 696e 2061  '"nftables" in a
│ │ │ +0010fa50: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +0010fa60: 6b61 6765 7327 0a20 2077 6865 6e3a 2028  kages'.  when: (
│ │ │ +0010fa70: 2022 6e66 7461 626c 6573 2220 696e 2061   "nftables" in a
│ │ │ +0010fa80: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +0010fa90: 6b61 6765 7320 616e 6420 226c 696e 7578  kages and "linux
│ │ │ +0010faa0: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ +0010fab0: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +0010fac0: 0a20 2020 2029 0a20 2074 6167 733a 0a20  .    ).  tags:. 
│ │ │ +0010fad0: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ +0010fae0: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +0010faf0: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +0010fb00: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +0010fb10: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +0010fb20: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +0010fb30: 640a 2020 2d20 7365 7276 6963 655f 6e66  d.  - service_nf
│ │ │ +0010fb40: 7461 626c 6573 5f65 6e61 626c 6564 0a3c  tables_enabled.<
│ │ │ +0010fb50: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ +0010fc10: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ +0010fc20: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ +0010fcb0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +0010fcd0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +0010fcf0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +0010fd20: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +0010fd30: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ +0010fd40: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include enabl
│ │ │ +0010fd60: 655f 6e66 7461 626c 6573 0a0a 636c 6173  e_nftables..clas
│ │ │ +0010fd70: 7320 656e 6162 6c65 5f6e 6674 6162 6c65  s enable_nftable
│ │ │ +0010fd80: 7320 7b0a 2020 7365 7276 6963 6520 7b27  s {.  service {'
│ │ │ +0010fd90: 6e66 7461 626c 6573 273a 0a20 2020 2065  nftables':.    e
│ │ │ +0010fda0: 6e61 626c 6520 3d26 6774 3b20 7472 7565  nable => true
│ │ │ +0010fdb0: 2c0a 2020 2020 656e 7375 7265 203d 2667  ,.    ensure =&g
│ │ │ +0010fdc0: 743b 2027 7275 6e6e 696e 6727 2c0a 2020  t; 'running',.  
│ │ │ +0010fdd0: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ +0010fe90: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep │ │ │ +0010fea0: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ... │ │ │ +0010feb0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ +0010fef0: 3c63 6f64 653e 0a5b 6375 7374 6f6d 697a  .[customiz
│ │ │ +0010ff00: 6174 696f 6e73 2e73 6572 7669 6365 735d  ations.services]
│ │ │ +0010ff10: 0a65 6e61 626c 6564 203d 205b 226e 6674  .enabled = ["nft
│ │ │ +0010ff20: 6162 6c65 7322 5d0a 3c2f 636f 6465 3e3c  ables"].<
│ │ │  0010ff30: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remedi │ │ │ -00110cf0: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl │ │ │ -00110d00: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet │ │ │ -00110d10: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...

.[custo │ │ │ -00110d60: 6d69 7a61 7469 6f6e 732e 7365 7276 6963 mizations.servic │ │ │ -00110d70: 6573 5d0a 6d61 736b 6564 203d 205b 226e es].masked = ["n │ │ │ -00110d80: 6674 6162 6c65 7322 5d0a 3c2f 636f 6465 ftables"].

Rem │ │ │ -00110e40: 6564 6961 7469 6f6e 204b 7562 6572 6e65 ediation Kuberne │ │ │ -00110e50: 7465 7320 736e 6970 7065 7420 e287 b23c tes snippet ...< │ │ │ -00110e60: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -00110ee0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -00110f00: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973
Complexity:< │ │ │ -00110ef0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -00110f10: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:medium
Reboot: │ │ │ -00110f40: 3c2f 7468 3e3c 7464 3e74 7275 653c 2f74 true
S │ │ │ -00110f60: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ -00110f90: 636f 6465 3e61 7069 5665 7273 696f 6e3a  code>apiVersion:
│ │ │ -00110fa0: 206d 6163 6869 6e65 636f 6e66 6967 7572   machineconfigur
│ │ │ -00110fb0: 6174 696f 6e2e 6f70 656e 7368 6966 742e  ation.openshift.
│ │ │ -00110fc0: 696f 2f76 310a 6b69 6e64 3a20 4d61 6368  io/v1.kind: Mach
│ │ │ -00110fd0: 696e 6543 6f6e 6669 670a 7370 6563 3a0a  ineConfig.spec:.
│ │ │ -00110fe0: 2020 636f 6e66 6967 3a0a 2020 2020 6967    config:.    ig
│ │ │ -00110ff0: 6e69 7469 6f6e 3a0a 2020 2020 2020 7665  nition:.      ve
│ │ │ -00111000: 7273 696f 6e3a 2033 2e31 2e30 0a20 2020  rsion: 3.1.0.   
│ │ │ -00111010: 2073 7973 7465 6d64 3a0a 2020 2020 2020   systemd:.      
│ │ │ -00111020: 756e 6974 733a 0a20 2020 2020 202d 206e  units:.      - n
│ │ │ -00111030: 616d 653a 206e 6674 6162 6c65 732e 7365  ame: nftables.se
│ │ │ -00111040: 7276 6963 650a 2020 2020 2020 2020 656e  rvice.        en
│ │ │ -00111050: 6162 6c65 643a 2066 616c 7365 0a20 2020  abled: false.   
│ │ │ -00111060: 2020 2020 206d 6173 6b3a 2074 7275 650a       mask: true.
│ │ │ -00111070: 2020 2020 2020 2d20 6e61 6d65 3a20 6e66        - name: nf
│ │ │ -00111080: 7461 626c 6573 2e73 6f63 6b65 740a 2020  tables.socket.  
│ │ │ -00111090: 2020 2020 2020 656e 6162 6c65 643a 2066        enabled: f
│ │ │ -001110a0: 616c 7365 0a20 2020 2020 2020 206d 6173  alse.        mas
│ │ │ -001110b0: 6b3a 2074 7275 650a 3c2f 636f 6465 3e3c  k: true.<
│ │ │ -001110c0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remed │ │ │ -00111170: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ -00111180: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -00111230: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -00111280: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ -00111210: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -00111240: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -00111260: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -00111270: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -00111290: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ -001112a0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -001112c0: 7564 6520 6469 7361 626c 655f 6e66 7461  ude disable_nfta
│ │ │ -001112d0: 626c 6573 0a0a 636c 6173 7320 6469 7361  bles..class disa
│ │ │ -001112e0: 626c 655f 6e66 7461 626c 6573 207b 0a20  ble_nftables {. 
│ │ │ -001112f0: 2073 6572 7669 6365 207b 276e 6674 6162   service {'nftab
│ │ │ -00111300: 6c65 7327 3a0a 2020 2020 656e 6162 6c65  les':.    enable
│ │ │ -00111310: 203d 2667 743b 2066 616c 7365 2c0a 2020   => false,.  
│ │ │ -00111320: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ -00111330: 7374 6f70 7065 6427 2c0a 2020 7d0a 7d0a  stopped',.  }.}.
│ │ │ -00111340: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation A │ │ │ -00111400: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet . │ │ │ -00111410: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -00111490: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -001114a0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ -001114c0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ -001114d0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ -001114f0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ -00111510: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ -00111540: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761  - name: Ga
│ │ │ -00111550: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ -00111560: 2066 6163 7473 0a20 2070 6163 6b61 6765   facts.  package
│ │ │ -00111570: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61  _facts:.    mana
│ │ │ -00111580: 6765 723a 2061 7574 6f0a 2020 7461 6773  ger: auto.  tags
│ │ │ -00111590: 3a0a 2020 2d20 5043 492d 4453 5376 342d  :.  - PCI-DSSv4-
│ │ │ -001115a0: 312e 320a 2020 2d20 5043 492d 4453 5376  1.2.  - PCI-DSSv
│ │ │ -001115b0: 342d 312e 322e 310a 2020 2d20 6469 7361  4-1.2.1.  - disa
│ │ │ -001115c0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -001115d0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -001115e0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -001115f0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -00111600: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -00111610: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -00111620: 7365 7276 6963 655f 6e66 7461 626c 6573  service_nftables
│ │ │ -00111630: 5f64 6973 6162 6c65 640a 0a2d 206e 616d  _disabled..- nam
│ │ │ -00111640: 653a 2056 6572 6966 7920 6e66 7461 626c  e: Verify nftabl
│ │ │ -00111650: 6573 2053 6572 7669 6365 2069 7320 4469  es Service is Di
│ │ │ -00111660: 7361 626c 6564 202d 2043 6f6c 6c65 6374  sabled - Collect
│ │ │ -00111670: 2073 7973 7465 6d64 2053 6572 7669 6365   systemd Service
│ │ │ -00111680: 7320 5072 6573 656e 7420 696e 0a20 2020  s Present in.   
│ │ │ -00111690: 2074 6865 2053 7973 7465 6d0a 2020 616e   the System.  an
│ │ │ -001116a0: 7369 626c 652e 6275 696c 7469 6e2e 636f  sible.builtin.co
│ │ │ -001116b0: 6d6d 616e 643a 2073 7973 7465 6d63 746c  mmand: systemctl
│ │ │ -001116c0: 202d 7120 6c69 7374 2d75 6e69 742d 6669   -q list-unit-fi
│ │ │ -001116d0: 6c65 7320 2d2d 7479 7065 2073 6572 7669  les --type servi
│ │ │ -001116e0: 6365 0a20 2072 6567 6973 7465 723a 2073  ce.  register: s
│ │ │ -001116f0: 6572 7669 6365 5f65 7869 7374 730a 2020  ervice_exists.  
│ │ │ -00111700: 6368 616e 6765 645f 7768 656e 3a20 6661  changed_when: fa
│ │ │ -00111710: 6c73 650a 2020 6661 696c 6564 5f77 6865  lse.  failed_whe
│ │ │ -00111720: 6e3a 2073 6572 7669 6365 5f65 7869 7374  n: service_exist
│ │ │ -00111730: 732e 7263 206e 6f74 2069 6e20 5b30 2c20  s.rc not in [0, 
│ │ │ -00111740: 315d 0a20 2063 6865 636b 5f6d 6f64 653a  1].  check_mode:
│ │ │ -00111750: 2066 616c 7365 0a20 2077 6865 6e3a 2028   false.  when: (
│ │ │ -00111760: 2022 6669 7265 7761 6c6c 6422 2069 6e20   "firewalld" in 
│ │ │ -00111770: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -00111780: 636b 6167 6573 2061 6e64 2022 6e66 7461  ckages and "nfta
│ │ │ -00111790: 626c 6573 2220 696e 2061 6e73 6962 6c65  bles" in ansible
│ │ │ -001117a0: 5f66 6163 7473 2e70 6163 6b61 6765 730a  _facts.packages.
│ │ │ -001117b0: 2020 2020 616e 6420 226c 696e 7578 2d62      and "linux-b
│ │ │ -001117c0: 6173 6522 2069 6e20 616e 7369 626c 655f  ase" in ansible_
│ │ │ -001117d0: 6661 6374 732e 7061 636b 6167 6573 2029  facts.packages )
│ │ │ -001117e0: 0a20 2074 6167 733a 0a20 202d 2050 4349  .  tags:.  - PCI
│ │ │ -001117f0: 2d44 5353 7634 2d31 2e32 0a20 202d 2050  -DSSv4-1.2.  - P
│ │ │ -00111800: 4349 2d44 5353 7634 2d31 2e32 2e31 0a20  CI-DSSv4-1.2.1. 
│ │ │ -00111810: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ -00111820: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -00111830: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -00111840: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -00111850: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -00111860: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -00111870: 6564 0a20 202d 2073 6572 7669 6365 5f6e  ed.  - service_n
│ │ │ -00111880: 6674 6162 6c65 735f 6469 7361 626c 6564  ftables_disabled
│ │ │ -00111890: 0a0a 2d20 6e61 6d65 3a20 5665 7269 6679  ..- name: Verify
│ │ │ -001118a0: 206e 6674 6162 6c65 7320 5365 7276 6963   nftables Servic
│ │ │ -001118b0: 6520 6973 2044 6973 6162 6c65 6420 2d20  e is Disabled - 
│ │ │ -001118c0: 456e 7375 7265 206e 6674 6162 6c65 732e  Ensure nftables.
│ │ │ -001118d0: 7365 7276 6963 6520 6973 204d 6173 6b65  service is Maske
│ │ │ -001118e0: 640a 2020 616e 7369 626c 652e 6275 696c  d.  ansible.buil
│ │ │ -001118f0: 7469 6e2e 7379 7374 656d 643a 0a20 2020  tin.systemd:.   
│ │ │ -00111900: 206e 616d 653a 206e 6674 6162 6c65 732e   name: nftables.
│ │ │ -00111910: 7365 7276 6963 650a 2020 2020 7374 6174  service.    stat
│ │ │ -00111920: 653a 2073 746f 7070 6564 0a20 2020 2065  e: stopped.    e
│ │ │ -00111930: 6e61 626c 6564 3a20 6661 6c73 650a 2020  nabled: false.  
│ │ │ -00111940: 2020 6d61 736b 6564 3a20 7472 7565 0a20    masked: true. 
│ │ │ -00111950: 2077 6865 6e3a 0a20 202d 2028 2022 6669   when:.  - ( "fi
│ │ │ -00111960: 7265 7761 6c6c 6422 2069 6e20 616e 7369  rewalld" in ansi
│ │ │ -00111970: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -00111980: 6573 2061 6e64 2022 6e66 7461 626c 6573  es and "nftables
│ │ │ -00111990: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ -001119a0: 7473 2e70 6163 6b61 6765 730a 2020 2020  ts.packages.    
│ │ │ -001119b0: 616e 6420 226c 696e 7578 2d62 6173 6522  and "linux-base"
│ │ │ -001119c0: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ -001119d0: 732e 7061 636b 6167 6573 2029 0a20 202d  s.packages ).  -
│ │ │ -001119e0: 2073 6572 7669 6365 5f65 7869 7374 732e   service_exists.
│ │ │ -001119f0: 7374 646f 7574 5f6c 696e 6573 2069 7320  stdout_lines is 
│ │ │ -00111a00: 7365 6172 6368 2822 6e66 7461 626c 6573  search("nftables
│ │ │ -00111a10: 2e73 6572 7669 6365 222c 206d 756c 7469  .service", multi
│ │ │ -00111a20: 6c69 6e65 3d54 7275 6529 0a20 2074 6167  line=True).  tag
│ │ │ -00111a30: 733a 0a20 202d 2050 4349 2d44 5353 7634  s:.  - PCI-DSSv4
│ │ │ -00111a40: 2d31 2e32 0a20 202d 2050 4349 2d44 5353  -1.2.  - PCI-DSS
│ │ │ -00111a50: 7634 2d31 2e32 2e31 0a20 202d 2064 6973  v4-1.2.1.  - dis
│ │ │ -00111a60: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -00111a70: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -00111a80: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -00111a90: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ -00111aa0: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ -00111ab0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -00111ac0: 2073 6572 7669 6365 5f6e 6674 6162 6c65   service_nftable
│ │ │ -00111ad0: 735f 6469 7361 626c 6564 0a0a 2d20 6e61  s_disabled..- na
│ │ │ -00111ae0: 6d65 3a20 556e 6974 2053 6f63 6b65 7420  me: Unit Socket 
│ │ │ -00111af0: 4578 6973 7473 202d 206e 6674 6162 6c65  Exists - nftable
│ │ │ -00111b00: 732e 736f 636b 6574 0a20 2061 6e73 6962  s.socket.  ansib
│ │ │ -00111b10: 6c65 2e62 7569 6c74 696e 2e63 6f6d 6d61  le.builtin.comma
│ │ │ -00111b20: 6e64 3a20 7379 7374 656d 6374 6c20 2d71  nd: systemctl -q
│ │ │ -00111b30: 206c 6973 742d 756e 6974 2d66 696c 6573   list-unit-files
│ │ │ -00111b40: 206e 6674 6162 6c65 732e 736f 636b 6574   nftables.socket
│ │ │ -00111b50: 0a20 2072 6567 6973 7465 723a 2073 6f63  .  register: soc
│ │ │ -00111b60: 6b65 745f 6669 6c65 5f65 7869 7374 730a  ket_file_exists.
│ │ │ -00111b70: 2020 6368 616e 6765 645f 7768 656e 3a20    changed_when: 
│ │ │ -00111b80: 6661 6c73 650a 2020 6661 696c 6564 5f77  false.  failed_w
│ │ │ -00111b90: 6865 6e3a 2073 6f63 6b65 745f 6669 6c65  hen: socket_file
│ │ │ -00111ba0: 5f65 7869 7374 732e 7263 206e 6f74 2069  _exists.rc not i
│ │ │ -00111bb0: 6e20 5b30 2c20 315d 0a20 2063 6865 636b  n [0, 1].  check
│ │ │ -00111bc0: 5f6d 6f64 653a 2066 616c 7365 0a20 2077  _mode: false.  w
│ │ │ -00111bd0: 6865 6e3a 2028 2022 6669 7265 7761 6c6c  hen: ( "firewall
│ │ │ -00111be0: 6422 2069 6e20 616e 7369 626c 655f 6661  d" in ansible_fa
│ │ │ -00111bf0: 6374 732e 7061 636b 6167 6573 2061 6e64  cts.packages and
│ │ │ -00111c00: 2022 6e66 7461 626c 6573 2220 696e 2061   "nftables" in a
│ │ │ -00111c10: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ -00111c20: 6b61 6765 730a 2020 2020 616e 6420 226c  kages.    and "l
│ │ │ -00111c30: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ -00111c40: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ -00111c50: 6167 6573 2029 0a20 2074 6167 733a 0a20  ages ).  tags:. 
│ │ │ -00111c60: 202d 2050 4349 2d44 5353 7634 2d31 2e32   - PCI-DSSv4-1.2
│ │ │ -00111c70: 0a20 202d 2050 4349 2d44 5353 7634 2d31  .  - PCI-DSSv4-1
│ │ │ -00111c80: 2e32 2e31 0a20 202d 2064 6973 6162 6c65  .2.1.  - disable
│ │ │ -00111c90: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ -00111ca0: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -00111cb0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -00111cc0: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ -00111cd0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ -00111ce0: 745f 6e65 6564 6564 0a20 202d 2073 6572  t_needed.  - ser
│ │ │ -00111cf0: 7669 6365 5f6e 6674 6162 6c65 735f 6469  vice_nftables_di
│ │ │ -00111d00: 7361 626c 6564 0a0a 2d20 6e61 6d65 3a20  sabled..- name: 
│ │ │ -00111d10: 5665 7269 6679 206e 6674 6162 6c65 7320  Verify nftables 
│ │ │ -00111d20: 5365 7276 6963 6520 6973 2044 6973 6162  Service is Disab
│ │ │ -00111d30: 6c65 6420 2d20 4469 7361 626c 6520 536f  led - Disable So
│ │ │ -00111d40: 636b 6574 206e 6674 6162 6c65 730a 2020  cket nftables.  
│ │ │ -00111d50: 616e 7369 626c 652e 6275 696c 7469 6e2e  ansible.builtin.
│ │ │ -00111d60: 7379 7374 656d 643a 0a20 2020 206e 616d  systemd:.    nam
│ │ │ -00111d70: 653a 206e 6674 6162 6c65 732e 736f 636b  e: nftables.sock
│ │ │ -00111d80: 6574 0a20 2020 2065 6e61 626c 6564 3a20  et.    enabled: 
│ │ │ -00111d90: 6661 6c73 650a 2020 2020 7374 6174 653a  false.    state:
│ │ │ -00111da0: 2073 746f 7070 6564 0a20 2020 206d 6173   stopped.    mas
│ │ │ -00111db0: 6b65 643a 2074 7275 650a 2020 7768 656e  ked: true.  when
│ │ │ -00111dc0: 3a0a 2020 2d20 2820 2266 6972 6577 616c  :.  - ( "firewal
│ │ │ -00111dd0: 6c64 2220 696e 2061 6e73 6962 6c65 5f66  ld" in ansible_f
│ │ │ -00111de0: 6163 7473 2e70 6163 6b61 6765 7320 616e  acts.packages an
│ │ │ -00111df0: 6420 226e 6674 6162 6c65 7322 2069 6e20  d "nftables" in 
│ │ │ -00111e00: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -00111e10: 636b 6167 6573 0a20 2020 2061 6e64 2022  ckages.    and "
│ │ │ -00111e20: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ -00111e30: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ -00111e40: 6b61 6765 7320 290a 2020 2d20 736f 636b  kages ).  - sock
│ │ │ -00111e50: 6574 5f66 696c 655f 6578 6973 7473 2e73  et_file_exists.s
│ │ │ -00111e60: 7464 6f75 745f 6c69 6e65 7320 6973 2073  tdout_lines is s
│ │ │ -00111e70: 6561 7263 6828 226e 6674 6162 6c65 732e  earch("nftables.
│ │ │ -00111e80: 736f 636b 6574 222c 206d 756c 7469 6c69  socket", multili
│ │ │ -00111e90: 6e65 3d54 7275 6529 0a20 2074 6167 733a  ne=True).  tags:
│ │ │ -00111ea0: 0a20 202d 2050 4349 2d44 5353 7634 2d31  .  - PCI-DSSv4-1
│ │ │ -00111eb0: 2e32 0a20 202d 2050 4349 2d44 5353 7634  .2.  - PCI-DSSv4
│ │ │ -00111ec0: 2d31 2e32 2e31 0a20 202d 2064 6973 6162  -1.2.1.  - disab
│ │ │ -00111ed0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -00111ee0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -00111ef0: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -00111f00: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ -00111f10: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -00111f20: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ -00111f30: 6572 7669 6365 5f6e 6674 6162 6c65 735f  ervice_nftables_
│ │ │ -00111f40: 6469 7361 626c 6564 0a3c 2f63 6f64 653e  disabled.
│ │ │ +00110cf0: 6174 696f 6e20 416e 7369 626c 6520 736e  ation Ansible sn
│ │ │ +00110d00: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
low< │ │ │ +00110db0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +00110e00: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ +00110e40: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ +00110e50: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ +00110e60: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ +00110e70: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ +00110e80: 0a20 2074 6167 733a 0a20 202d 2050 4349  .  tags:.  - PCI
│ │ │ +00110e90: 2d44 5353 7634 2d31 2e32 0a20 202d 2050  -DSSv4-1.2.  - P
│ │ │ +00110ea0: 4349 2d44 5353 7634 2d31 2e32 2e31 0a20  CI-DSSv4-1.2.1. 
│ │ │ +00110eb0: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ +00110ec0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +00110ed0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +00110ee0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ +00110ef0: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ +00110f00: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +00110f10: 6564 0a20 202d 2073 6572 7669 6365 5f6e  ed.  - service_n
│ │ │ +00110f20: 6674 6162 6c65 735f 6469 7361 626c 6564  ftables_disabled
│ │ │ +00110f30: 0a0a 2d20 6e61 6d65 3a20 5665 7269 6679  ..- name: Verify
│ │ │ +00110f40: 206e 6674 6162 6c65 7320 5365 7276 6963   nftables Servic
│ │ │ +00110f50: 6520 6973 2044 6973 6162 6c65 6420 2d20  e is Disabled - 
│ │ │ +00110f60: 436f 6c6c 6563 7420 7379 7374 656d 6420  Collect systemd 
│ │ │ +00110f70: 5365 7276 6963 6573 2050 7265 7365 6e74  Services Present
│ │ │ +00110f80: 2069 6e0a 2020 2020 7468 6520 5379 7374   in.    the Syst
│ │ │ +00110f90: 656d 0a20 2061 6e73 6962 6c65 2e62 7569  em.  ansible.bui
│ │ │ +00110fa0: 6c74 696e 2e63 6f6d 6d61 6e64 3a20 7379  ltin.command: sy
│ │ │ +00110fb0: 7374 656d 6374 6c20 2d71 206c 6973 742d  stemctl -q list-
│ │ │ +00110fc0: 756e 6974 2d66 696c 6573 202d 2d74 7970  unit-files --typ
│ │ │ +00110fd0: 6520 7365 7276 6963 650a 2020 7265 6769  e service.  regi
│ │ │ +00110fe0: 7374 6572 3a20 7365 7276 6963 655f 6578  ster: service_ex
│ │ │ +00110ff0: 6973 7473 0a20 2063 6861 6e67 6564 5f77  ists.  changed_w
│ │ │ +00111000: 6865 6e3a 2066 616c 7365 0a20 2066 6169  hen: false.  fai
│ │ │ +00111010: 6c65 645f 7768 656e 3a20 7365 7276 6963  led_when: servic
│ │ │ +00111020: 655f 6578 6973 7473 2e72 6320 6e6f 7420  e_exists.rc not 
│ │ │ +00111030: 696e 205b 302c 2031 5d0a 2020 6368 6563  in [0, 1].  chec
│ │ │ +00111040: 6b5f 6d6f 6465 3a20 6661 6c73 650a 2020  k_mode: false.  
│ │ │ +00111050: 7768 656e 3a20 2820 2266 6972 6577 616c  when: ( "firewal
│ │ │ +00111060: 6c64 2220 696e 2061 6e73 6962 6c65 5f66  ld" in ansible_f
│ │ │ +00111070: 6163 7473 2e70 6163 6b61 6765 7320 616e  acts.packages an
│ │ │ +00111080: 6420 226e 6674 6162 6c65 7322 2069 6e20  d "nftables" in 
│ │ │ +00111090: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ +001110a0: 636b 6167 6573 0a20 2020 2061 6e64 2022  ckages.    and "
│ │ │ +001110b0: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ +001110c0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +001110d0: 6b61 6765 7320 290a 2020 7461 6773 3a0a  kages ).  tags:.
│ │ │ +001110e0: 2020 2d20 5043 492d 4453 5376 342d 312e    - PCI-DSSv4-1.
│ │ │ +001110f0: 320a 2020 2d20 5043 492d 4453 5376 342d  2.  - PCI-DSSv4-
│ │ │ +00111100: 312e 322e 310a 2020 2d20 6469 7361 626c  1.2.1.  - disabl
│ │ │ +00111110: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ +00111120: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +00111130: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +00111140: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ +00111150: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +00111160: 6f74 5f6e 6565 6465 640a 2020 2d20 7365  ot_needed.  - se
│ │ │ +00111170: 7276 6963 655f 6e66 7461 626c 6573 5f64  rvice_nftables_d
│ │ │ +00111180: 6973 6162 6c65 640a 0a2d 206e 616d 653a  isabled..- name:
│ │ │ +00111190: 2056 6572 6966 7920 6e66 7461 626c 6573   Verify nftables
│ │ │ +001111a0: 2053 6572 7669 6365 2069 7320 4469 7361   Service is Disa
│ │ │ +001111b0: 626c 6564 202d 2045 6e73 7572 6520 6e66  bled - Ensure nf
│ │ │ +001111c0: 7461 626c 6573 2e73 6572 7669 6365 2069  tables.service i
│ │ │ +001111d0: 7320 4d61 736b 6564 0a20 2061 6e73 6962  s Masked.  ansib
│ │ │ +001111e0: 6c65 2e62 7569 6c74 696e 2e73 7973 7465  le.builtin.syste
│ │ │ +001111f0: 6d64 3a0a 2020 2020 6e61 6d65 3a20 6e66  md:.    name: nf
│ │ │ +00111200: 7461 626c 6573 2e73 6572 7669 6365 0a20  tables.service. 
│ │ │ +00111210: 2020 2073 7461 7465 3a20 7374 6f70 7065     state: stoppe
│ │ │ +00111220: 640a 2020 2020 656e 6162 6c65 643a 2066  d.    enabled: f
│ │ │ +00111230: 616c 7365 0a20 2020 206d 6173 6b65 643a  alse.    masked:
│ │ │ +00111240: 2074 7275 650a 2020 7768 656e 3a0a 2020   true.  when:.  
│ │ │ +00111250: 2d20 2820 2266 6972 6577 616c 6c64 2220  - ( "firewalld" 
│ │ │ +00111260: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +00111270: 2e70 6163 6b61 6765 7320 616e 6420 226e  .packages and "n
│ │ │ +00111280: 6674 6162 6c65 7322 2069 6e20 616e 7369  ftables" in ansi
│ │ │ +00111290: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ +001112a0: 6573 0a20 2020 2061 6e64 2022 6c69 6e75  es.    and "linu
│ │ │ +001112b0: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ +001112c0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +001112d0: 7320 290a 2020 2d20 7365 7276 6963 655f  s ).  - service_
│ │ │ +001112e0: 6578 6973 7473 2e73 7464 6f75 745f 6c69  exists.stdout_li
│ │ │ +001112f0: 6e65 7320 6973 2073 6561 7263 6828 226e  nes is search("n
│ │ │ +00111300: 6674 6162 6c65 732e 7365 7276 6963 6522  ftables.service"
│ │ │ +00111310: 2c20 6d75 6c74 696c 696e 653d 5472 7565  , multiline=True
│ │ │ +00111320: 290a 2020 7461 6773 3a0a 2020 2d20 5043  ).  tags:.  - PC
│ │ │ +00111330: 492d 4453 5376 342d 312e 320a 2020 2d20  I-DSSv4-1.2.  - 
│ │ │ +00111340: 5043 492d 4453 5376 342d 312e 322e 310a  PCI-DSSv4-1.2.1.
│ │ │ +00111350: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ +00111360: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +00111370: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +00111380: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ +00111390: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ +001113a0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +001113b0: 6465 640a 2020 2d20 7365 7276 6963 655f  ded.  - service_
│ │ │ +001113c0: 6e66 7461 626c 6573 5f64 6973 6162 6c65  nftables_disable
│ │ │ +001113d0: 640a 0a2d 206e 616d 653a 2055 6e69 7420  d..- name: Unit 
│ │ │ +001113e0: 536f 636b 6574 2045 7869 7374 7320 2d20  Socket Exists - 
│ │ │ +001113f0: 6e66 7461 626c 6573 2e73 6f63 6b65 740a  nftables.socket.
│ │ │ +00111400: 2020 616e 7369 626c 652e 6275 696c 7469    ansible.builti
│ │ │ +00111410: 6e2e 636f 6d6d 616e 643a 2073 7973 7465  n.command: syste
│ │ │ +00111420: 6d63 746c 202d 7120 6c69 7374 2d75 6e69  mctl -q list-uni
│ │ │ +00111430: 742d 6669 6c65 7320 6e66 7461 626c 6573  t-files nftables
│ │ │ +00111440: 2e73 6f63 6b65 740a 2020 7265 6769 7374  .socket.  regist
│ │ │ +00111450: 6572 3a20 736f 636b 6574 5f66 696c 655f  er: socket_file_
│ │ │ +00111460: 6578 6973 7473 0a20 2063 6861 6e67 6564  exists.  changed
│ │ │ +00111470: 5f77 6865 6e3a 2066 616c 7365 0a20 2066  _when: false.  f
│ │ │ +00111480: 6169 6c65 645f 7768 656e 3a20 736f 636b  ailed_when: sock
│ │ │ +00111490: 6574 5f66 696c 655f 6578 6973 7473 2e72  et_file_exists.r
│ │ │ +001114a0: 6320 6e6f 7420 696e 205b 302c 2031 5d0a  c not in [0, 1].
│ │ │ +001114b0: 2020 6368 6563 6b5f 6d6f 6465 3a20 6661    check_mode: fa
│ │ │ +001114c0: 6c73 650a 2020 7768 656e 3a20 2820 2266  lse.  when: ( "f
│ │ │ +001114d0: 6972 6577 616c 6c64 2220 696e 2061 6e73  irewalld" in ans
│ │ │ +001114e0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ +001114f0: 6765 7320 616e 6420 226e 6674 6162 6c65  ges and "nftable
│ │ │ +00111500: 7322 2069 6e20 616e 7369 626c 655f 6661  s" in ansible_fa
│ │ │ +00111510: 6374 732e 7061 636b 6167 6573 0a20 2020  cts.packages.   
│ │ │ +00111520: 2061 6e64 2022 6c69 6e75 782d 6261 7365   and "linux-base
│ │ │ +00111530: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ +00111540: 7473 2e70 6163 6b61 6765 7320 290a 2020  ts.packages ).  
│ │ │ +00111550: 7461 6773 3a0a 2020 2d20 5043 492d 4453  tags:.  - PCI-DS
│ │ │ +00111560: 5376 342d 312e 320a 2020 2d20 5043 492d  Sv4-1.2.  - PCI-
│ │ │ +00111570: 4453 5376 342d 312e 322e 310a 2020 2d20  DSSv4-1.2.1.  - 
│ │ │ +00111580: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ +00111590: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +001115a0: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +001115b0: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +001115c0: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +001115d0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +001115e0: 2020 2d20 7365 7276 6963 655f 6e66 7461    - service_nfta
│ │ │ +001115f0: 626c 6573 5f64 6973 6162 6c65 640a 0a2d  bles_disabled..-
│ │ │ +00111600: 206e 616d 653a 2056 6572 6966 7920 6e66   name: Verify nf
│ │ │ +00111610: 7461 626c 6573 2053 6572 7669 6365 2069  tables Service i
│ │ │ +00111620: 7320 4469 7361 626c 6564 202d 2044 6973  s Disabled - Dis
│ │ │ +00111630: 6162 6c65 2053 6f63 6b65 7420 6e66 7461  able Socket nfta
│ │ │ +00111640: 626c 6573 0a20 2061 6e73 6962 6c65 2e62  bles.  ansible.b
│ │ │ +00111650: 7569 6c74 696e 2e73 7973 7465 6d64 3a0a  uiltin.systemd:.
│ │ │ +00111660: 2020 2020 6e61 6d65 3a20 6e66 7461 626c      name: nftabl
│ │ │ +00111670: 6573 2e73 6f63 6b65 740a 2020 2020 656e  es.socket.    en
│ │ │ +00111680: 6162 6c65 643a 2066 616c 7365 0a20 2020  abled: false.   
│ │ │ +00111690: 2073 7461 7465 3a20 7374 6f70 7065 640a   state: stopped.
│ │ │ +001116a0: 2020 2020 6d61 736b 6564 3a20 7472 7565      masked: true
│ │ │ +001116b0: 0a20 2077 6865 6e3a 0a20 202d 2028 2022  .  when:.  - ( "
│ │ │ +001116c0: 6669 7265 7761 6c6c 6422 2069 6e20 616e  firewalld" in an
│ │ │ +001116d0: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +001116e0: 6167 6573 2061 6e64 2022 6e66 7461 626c  ages and "nftabl
│ │ │ +001116f0: 6573 2220 696e 2061 6e73 6962 6c65 5f66  es" in ansible_f
│ │ │ +00111700: 6163 7473 2e70 6163 6b61 6765 730a 2020  acts.packages.  
│ │ │ +00111710: 2020 616e 6420 226c 696e 7578 2d62 6173    and "linux-bas
│ │ │ +00111720: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ +00111730: 6374 732e 7061 636b 6167 6573 2029 0a20  cts.packages ). 
│ │ │ +00111740: 202d 2073 6f63 6b65 745f 6669 6c65 5f65   - socket_file_e
│ │ │ +00111750: 7869 7374 732e 7374 646f 7574 5f6c 696e  xists.stdout_lin
│ │ │ +00111760: 6573 2069 7320 7365 6172 6368 2822 6e66  es is search("nf
│ │ │ +00111770: 7461 626c 6573 2e73 6f63 6b65 7422 2c20  tables.socket", 
│ │ │ +00111780: 6d75 6c74 696c 696e 653d 5472 7565 290a  multiline=True).
│ │ │ +00111790: 2020 7461 6773 3a0a 2020 2d20 5043 492d    tags:.  - PCI-
│ │ │ +001117a0: 4453 5376 342d 312e 320a 2020 2d20 5043  DSSv4-1.2.  - PC
│ │ │ +001117b0: 492d 4453 5376 342d 312e 322e 310a 2020  I-DSSv4-1.2.1.  
│ │ │ +001117c0: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ +001117d0: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +001117e0: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +001117f0: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +00111800: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +00111810: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +00111820: 640a 2020 2d20 7365 7276 6963 655f 6e66  d.  - service_nf
│ │ │ +00111830: 7461 626c 6573 5f64 6973 6162 6c65 640a  tables_disabled.
│ │ │ +00111840: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation K │ │ │ +00111900: 7562 6572 6e65 7465 7320 736e 6970 7065 ubernetes snippe │ │ │ +00111910: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +00111950: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
Co │ │ │ +00110d90: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +00110dc0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +00110de0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +00110df0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +00110e10: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +00110e20: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
< │ │ │ +001119c0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
Comple │ │ │ +001119a0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +001119b0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
medium
R │ │ │ +001119f0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e74 eboot:t │ │ │ +00111a00: 7275 653c 2f74 643e 3c2f 7472 3e3c 7472 rue
Strategy:disable
│ │ │ +00111a40: 3c70 7265 3e3c 636f 6465 3e61 7069 5665
apiVe
│ │ │ +00111a50: 7273 696f 6e3a 206d 6163 6869 6e65 636f  rsion: machineco
│ │ │ +00111a60: 6e66 6967 7572 6174 696f 6e2e 6f70 656e  nfiguration.open
│ │ │ +00111a70: 7368 6966 742e 696f 2f76 310a 6b69 6e64  shift.io/v1.kind
│ │ │ +00111a80: 3a20 4d61 6368 696e 6543 6f6e 6669 670a  : MachineConfig.
│ │ │ +00111a90: 7370 6563 3a0a 2020 636f 6e66 6967 3a0a  spec:.  config:.
│ │ │ +00111aa0: 2020 2020 6967 6e69 7469 6f6e 3a0a 2020      ignition:.  
│ │ │ +00111ab0: 2020 2020 7665 7273 696f 6e3a 2033 2e31      version: 3.1
│ │ │ +00111ac0: 2e30 0a20 2020 2073 7973 7465 6d64 3a0a  .0.    systemd:.
│ │ │ +00111ad0: 2020 2020 2020 756e 6974 733a 0a20 2020        units:.   
│ │ │ +00111ae0: 2020 202d 206e 616d 653a 206e 6674 6162     - name: nftab
│ │ │ +00111af0: 6c65 732e 7365 7276 6963 650a 2020 2020  les.service.    
│ │ │ +00111b00: 2020 2020 656e 6162 6c65 643a 2066 616c      enabled: fal
│ │ │ +00111b10: 7365 0a20 2020 2020 2020 206d 6173 6b3a  se.        mask:
│ │ │ +00111b20: 2074 7275 650a 2020 2020 2020 2d20 6e61   true.      - na
│ │ │ +00111b30: 6d65 3a20 6e66 7461 626c 6573 2e73 6f63  me: nftables.soc
│ │ │ +00111b40: 6b65 740a 2020 2020 2020 2020 656e 6162  ket.        enab
│ │ │ +00111b50: 6c65 643a 2066 616c 7365 0a20 2020 2020  led: false.     
│ │ │ +00111b60: 2020 206d 6173 6b3a 2074 7275 650a 3c2f     mask: true.
Remediation Pup │ │ │ +00111c30: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ +00111c40: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ +00111cc0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +00111ce0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +00111d30: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ +00111d60: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include disabl
│ │ │ +00111d80: 655f 6e66 7461 626c 6573 0a0a 636c 6173  e_nftables..clas
│ │ │ +00111d90: 7320 6469 7361 626c 655f 6e66 7461 626c  s disable_nftabl
│ │ │ +00111da0: 6573 207b 0a20 2073 6572 7669 6365 207b  es {.  service {
│ │ │ +00111db0: 276e 6674 6162 6c65 7327 3a0a 2020 2020  'nftables':.    
│ │ │ +00111dc0: 656e 6162 6c65 203d 2667 743b 2066 616c  enable => fal
│ │ │ +00111dd0: 7365 2c0a 2020 2020 656e 7375 7265 203d  se,.    ensure =
│ │ │ +00111de0: 2667 743b 2027 7374 6f70 7065 6427 2c0a  > 'stopped',.
│ │ │ +00111df0: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ +00111eb0: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu │ │ │ +00111ec0: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet . │ │ │ +00111ed0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
.[custom │ │ │ +00111f20: 697a 6174 696f 6e73 2e73 6572 7669 6365 izations.service │ │ │ +00111f30: 735d 0a6d 6173 6b65 6420 3d20 5b22 6e66 s].masked = ["nf │ │ │ +00111f40: 7461 626c 6573 225d 0a3c 2f63 6f64 653e tables"]. │ │ │ 00111f50: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remediation O │ │ │ -0011ae90: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint │ │ │ -0011aea0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -0011aeb0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.[[packages]].
│ │ │ -0011af00: 6e61 6d65 203d 2022 7566 7722 0a76 6572  name = "ufw".ver
│ │ │ -0011af10: 7369 6f6e 203d 2022 2a22 0a3c 2f63 6f64  sion = "*".
Re │ │ │ -0011afd0: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -0011afe0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -0011aff0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Complexity:< │ │ │ +00111cd0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +00111cf0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +00111d40: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ +00111d50: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
< │ │ │ -0011b0c0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -0011b0d0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
i
│ │ │ -0011b120: 6e63 6c75 6465 2069 6e73 7461 6c6c 5f75  nclude install_u
│ │ │ -0011b130: 6677 0a0a 636c 6173 7320 696e 7374 616c  fw..class instal
│ │ │ -0011b140: 6c5f 7566 7720 7b0a 2020 7061 636b 6167  l_ufw {.  packag
│ │ │ -0011b150: 6520 7b20 2775 6677 273a 0a20 2020 2065  e { 'ufw':.    e
│ │ │ -0011b160: 6e73 7572 6520 3d26 6774 3b20 2769 6e73  nsure => 'ins
│ │ │ -0011b170: 7461 6c6c 6564 272c 0a20 207d 0a7d 0a3c  talled',.  }.}.<
│ │ │ -0011b180: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation An │ │ │ -0011b240: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -0011b250: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ -0011b310: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -0011b320: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
Complexity:low
Disrup │ │ │ -0011b0a0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -0011b0b0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -0011b0f0: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ -0011b100: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexity │ │ │ -0011b2e0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ -0011b300: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ -0011b330: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ -0011b350: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
- name: Gath
│ │ │ -0011b390: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ -0011b3a0: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ -0011b3b0: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ -0011b3c0: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ -0011b3d0: 2020 2d20 4449 5341 2d53 5449 472d 5542    - DISA-STIG-UB
│ │ │ -0011b3e0: 5455 2d32 302d 3031 3034 3333 0a20 202d  TU-20-010433.  -
│ │ │ -0011b3f0: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ -0011b400: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -0011b410: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -0011b420: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ -0011b430: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ -0011b440: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -0011b450: 2020 2d20 7061 636b 6167 655f 7566 775f    - package_ufw_
│ │ │ -0011b460: 696e 7374 616c 6c65 640a 0a2d 206e 616d  installed..- nam
│ │ │ -0011b470: 653a 2045 6e73 7572 6520 7566 7720 6973  e: Ensure ufw is
│ │ │ -0011b480: 2069 6e73 7461 6c6c 6564 0a20 2070 6163   installed.  pac
│ │ │ -0011b490: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20  kage:.    name: 
│ │ │ -0011b4a0: 7566 770a 2020 2020 7374 6174 653a 2070  ufw.    state: p
│ │ │ -0011b4b0: 7265 7365 6e74 0a20 2077 6865 6e3a 2027  resent.  when: '
│ │ │ -0011b4c0: 226c 696e 7578 2d62 6173 6522 2069 6e20  "linux-base" in 
│ │ │ -0011b4d0: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -0011b4e0: 636b 6167 6573 270a 2020 7461 6773 3a0a  ckages'.  tags:.
│ │ │ -0011b4f0: 2020 2d20 4449 5341 2d53 5449 472d 5542    - DISA-STIG-UB
│ │ │ -0011b500: 5455 2d32 302d 3031 3034 3333 0a20 202d  TU-20-010433.  -
│ │ │ -0011b510: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ -0011b520: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -0011b530: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -0011b540: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ -0011b550: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ -0011b560: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -0011b570: 2020 2d20 7061 636b 6167 655f 7566 775f    - package_ufw_
│ │ │ -0011b580: 696e 7374 616c 6c65 640a 3c2f 636f 6465  installed.Remediation A
│ │ │ +0011ae90: 6e73 6962 6c65 2073 6e69 7070 6574 20e2  nsible snippet .
│ │ │ +0011aea0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063  ..
< │ │ │ +0011af20: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +0011af30: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +0011af50: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +0011af60: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +0011af80: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +0011afa0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:enable
<
│ │ │ +0011afd0: 636f 6465 3e2d 206e 616d 653a 2047 6174  code>- name: Gat
│ │ │ +0011afe0: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ +0011aff0: 6661 6374 730a 2020 7061 636b 6167 655f  facts.  package_
│ │ │ +0011b000: 6661 6374 733a 0a20 2020 206d 616e 6167  facts:.    manag
│ │ │ +0011b010: 6572 3a20 6175 746f 0a20 2074 6167 733a  er: auto.  tags:
│ │ │ +0011b020: 0a20 202d 2044 4953 412d 5354 4947 2d55  .  - DISA-STIG-U
│ │ │ +0011b030: 4254 552d 3230 2d30 3130 3433 330a 2020  BTU-20-010433.  
│ │ │ +0011b040: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ +0011b050: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +0011b060: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +0011b070: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ +0011b080: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ +0011b090: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +0011b0a0: 0a20 202d 2070 6163 6b61 6765 5f75 6677  .  - package_ufw
│ │ │ +0011b0b0: 5f69 6e73 7461 6c6c 6564 0a0a 2d20 6e61  _installed..- na
│ │ │ +0011b0c0: 6d65 3a20 456e 7375 7265 2075 6677 2069  me: Ensure ufw i
│ │ │ +0011b0d0: 7320 696e 7374 616c 6c65 640a 2020 7061  s installed.  pa
│ │ │ +0011b0e0: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ +0011b0f0: 2075 6677 0a20 2020 2073 7461 7465 3a20   ufw.    state: 
│ │ │ +0011b100: 7072 6573 656e 740a 2020 7768 656e 3a20  present.  when: 
│ │ │ +0011b110: 2722 6c69 6e75 782d 6261 7365 2220 696e  '"linux-base" in
│ │ │ +0011b120: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ +0011b130: 6163 6b61 6765 7327 0a20 2074 6167 733a  ackages'.  tags:
│ │ │ +0011b140: 0a20 202d 2044 4953 412d 5354 4947 2d55  .  - DISA-STIG-U
│ │ │ +0011b150: 4254 552d 3230 2d30 3130 3433 330a 2020  BTU-20-010433.  
│ │ │ +0011b160: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ +0011b170: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +0011b180: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +0011b190: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ +0011b1a0: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ +0011b1b0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +0011b1c0: 0a20 202d 2070 6163 6b61 6765 5f75 6677  .  - package_ufw
│ │ │ +0011b1d0: 5f69 6e73 7461 6c6c 6564 0a3c 2f63 6f64  _installed.
Re │ │ │ +0011b290: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ +0011b2a0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +0011b2b0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ +0011b380: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +0011b390: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
i
│ │ │ +0011b3e0: 6e63 6c75 6465 2069 6e73 7461 6c6c 5f75  nclude install_u
│ │ │ +0011b3f0: 6677 0a0a 636c 6173 7320 696e 7374 616c  fw..class instal
│ │ │ +0011b400: 6c5f 7566 7720 7b0a 2020 7061 636b 6167  l_ufw {.  packag
│ │ │ +0011b410: 6520 7b20 2775 6677 273a 0a20 2020 2065  e { 'ufw':.    e
│ │ │ +0011b420: 6e73 7572 6520 3d26 6774 3b20 2769 6e73  nsure => 'ins
│ │ │ +0011b430: 7461 6c6c 6564 272c 0a20 207d 0a7d 0a3c  talled',.  }.}.<
│ │ │ +0011b440: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation OS │ │ │ +0011b500: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint │ │ │ +0011b510: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +0011b520: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
.[[packages]].n
│ │ │ +0011b570: 616d 6520 3d20 2275 6677 220a 7665 7273  ame = "ufw".vers
│ │ │ +0011b580: 696f 6e20 3d20 222a 220a 3c2f 636f 6465  ion = "*".
Remedia │ │ │ -0011c080: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ -0011c090: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -0011c0a0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -0011c0b0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -0011c0c0: 7365 2220 6964 3d22 6964 6d31 3631 3036 se" id="idm16106 │ │ │ -0011c0d0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Complexity:low
Disrup │ │ │ +0011b360: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +0011b370: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +0011b3b0: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +0011b3c0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Comp │ │ │ -0011c120: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -0011c130: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -0011c150: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -0011c170: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -0011c180: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ -0011c1c0: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -0011c1d0: 6465 2072 656d 6f76 655f 7566 770a 0a63  de remove_ufw..c
│ │ │ -0011c1e0: 6c61 7373 2072 656d 6f76 655f 7566 7720  lass remove_ufw 
│ │ │ -0011c1f0: 7b0a 2020 7061 636b 6167 6520 7b20 2775  {.  package { 'u
│ │ │ -0011c200: 6677 273a 0a20 2020 2065 6e73 7572 6520  fw':.    ensure 
│ │ │ -0011c210: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ -0011c220: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ -0011c2e0: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ -0011c2f0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -0011c300: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -0011c380: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -0011c3b0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -0011c3d0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -0011c3e0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -0011c400: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -0011c410: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -0011c430: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ -0011c440: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ -0011c450: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ -0011c460: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ -0011c470: 2020 7461 6773 3a0a 2020 2d20 6469 7361    tags:.  - disa
│ │ │ -0011c480: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -0011c490: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -0011c4a0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -0011c4b0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -0011c4c0: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -0011c4d0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -0011c4e0: 7061 636b 6167 655f 7566 775f 7265 6d6f  package_ufw_remo
│ │ │ -0011c4f0: 7665 640a 0a2d 206e 616d 653a 2045 6e73  ved..- name: Ens
│ │ │ -0011c500: 7572 6520 7566 7720 6973 2072 656d 6f76  ure ufw is remov
│ │ │ -0011c510: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ -0011c520: 2020 6e61 6d65 3a20 7566 770a 2020 2020    name: ufw.    
│ │ │ -0011c530: 7374 6174 653a 2061 6273 656e 740a 2020  state: absent.  
│ │ │ -0011c540: 7768 656e 3a20 2722 6c69 6e75 782d 6261  when: '"linux-ba
│ │ │ -0011c550: 7365 2220 696e 2061 6e73 6962 6c65 5f66  se" in ansible_f
│ │ │ -0011c560: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ -0011c570: 2074 6167 733a 0a20 202d 2064 6973 6162   tags:.  - disab
│ │ │ -0011c580: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -0011c590: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -0011c5a0: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -0011c5b0: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ -0011c5c0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -0011c5d0: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ -0011c5e0: 6163 6b61 6765 5f75 6677 5f72 656d 6f76  ackage_ufw_remov
│ │ │ -0011c5f0: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e  ed.
│ │ │ +0011c080: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ +0011c090: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +0011c0a0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +0011c120: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +0011c150: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +0011c170: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +0011c180: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +0011c1a0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +0011c1b0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +0011c1d0: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ +0011c1e0: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ +0011c1f0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ +0011c200: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ +0011c210: 2020 7461 6773 3a0a 2020 2d20 6469 7361    tags:.  - disa
│ │ │ +0011c220: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +0011c230: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +0011c240: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +0011c250: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ +0011c260: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +0011c270: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +0011c280: 7061 636b 6167 655f 7566 775f 7265 6d6f  package_ufw_remo
│ │ │ +0011c290: 7665 640a 0a2d 206e 616d 653a 2045 6e73  ved..- name: Ens
│ │ │ +0011c2a0: 7572 6520 7566 7720 6973 2072 656d 6f76  ure ufw is remov
│ │ │ +0011c2b0: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ +0011c2c0: 2020 6e61 6d65 3a20 7566 770a 2020 2020    name: ufw.    
│ │ │ +0011c2d0: 7374 6174 653a 2061 6273 656e 740a 2020  state: absent.  
│ │ │ +0011c2e0: 7768 656e 3a20 2722 6c69 6e75 782d 6261  when: '"linux-ba
│ │ │ +0011c2f0: 7365 2220 696e 2061 6e73 6962 6c65 5f66  se" in ansible_f
│ │ │ +0011c300: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ +0011c310: 2074 6167 733a 0a20 202d 2064 6973 6162   tags:.  - disab
│ │ │ +0011c320: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +0011c330: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +0011c340: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +0011c350: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ +0011c360: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +0011c370: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ +0011c380: 6163 6b61 6765 5f75 6677 5f72 656d 6f76  ackage_ufw_remov
│ │ │ +0011c390: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e  ed.
│ │ │ +0011c3a0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ +0011c450: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ +0011c460: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +0011c4a0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +0011c4b0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +0011c4c0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +0011c4d0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +0011c4e0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +0011c4f0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +0011c500: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +0011c540: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +0011c550: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +0011c570: 3c74 643e 6469 7361 626c 653c 2f74 643e disable │ │ │ +0011c580: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 include │ │ │ +0011c5a0: 7265 6d6f 7665 5f75 6677 0a0a 636c 6173 remove_ufw..clas │ │ │ +0011c5b0: 7320 7265 6d6f 7665 5f75 6677 207b 0a20 s remove_ufw {. │ │ │ +0011c5c0: 2070 6163 6b61 6765 207b 2027 7566 7727 package { 'ufw' │ │ │ +0011c5d0: 3a0a 2020 2020 656e 7375 7265 203d 2667 :. ensure =&g │ │ │ +0011c5e0: 743b 2027 7075 7267 6564 272c 0a20 207d t; 'purged',. } │ │ │ +0011c5f0: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}.
│ │ │ 0011c600: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remedia │ │ │ -0011d3b0: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu │ │ │ -0011d3c0: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet . │ │ │ -0011d3d0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
.[custom │ │ │ -0011d420: 697a 6174 696f 6e73 2e73 6572 7669 6365 izations.service │ │ │ -0011d430: 735d 0a65 6e61 626c 6564 203d 205b 2275 s].enabled = ["u │ │ │ -0011d440: 6677 225d 0a3c 2f63 6f64 653e 3c2f 7072 fw"].
Remediat │ │ │ -0011d500: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ -0011d510: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -0011d5c0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -0011d5e0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -0011d610: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -0011d5a0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -0011d5b0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -0011d5d0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -0011d5f0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -0011d600: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

include │ │ │ -0011d650: 2065 6e61 626c 655f 7566 770a 0a63 6c61 enable_ufw..cla │ │ │ -0011d660: 7373 2065 6e61 626c 655f 7566 7720 7b0a ss enable_ufw {. │ │ │ -0011d670: 2020 7365 7276 6963 6520 7b27 7566 7727 service {'ufw' │ │ │ -0011d680: 3a0a 2020 2020 656e 6162 6c65 203d 2667 :. enable =&g │ │ │ -0011d690: 743b 2074 7275 652c 0a20 2020 2065 6e73 t; true,. ens │ │ │ -0011d6a0: 7572 6520 3d26 6774 3b20 2772 756e 6e69 ure => 'runni │ │ │ -0011d6b0: 6e67 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ng',. }.}.

Re │ │ │ -0011d770: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -0011d780: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
Complexity: │ │ │ -0011d860: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -0011d870: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ -0011d8c0: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ -0011d8d0: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ -0011d8e0: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ -0011d8f0: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ -0011d900: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ -0011d910: 4449 5341 2d53 5449 472d 5542 5455 2d32  DISA-STIG-UBTU-2
│ │ │ -0011d920: 302d 3031 3034 3334 0a20 202d 2065 6e61  0-010434.  - ena
│ │ │ -0011d930: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -0011d940: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -0011d950: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -0011d960: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -0011d970: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -0011d980: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -0011d990: 7365 7276 6963 655f 7566 775f 656e 6162  service_ufw_enab
│ │ │ -0011d9a0: 6c65 640a 0a2d 206e 616d 653a 2056 6572  led..- name: Ver
│ │ │ -0011d9b0: 6966 7920 7566 7720 456e 6162 6c65 6420  ify ufw Enabled 
│ │ │ -0011d9c0: 2d20 456e 6162 6c65 2073 6572 7669 6365  - Enable service
│ │ │ -0011d9d0: 2075 6677 0a20 2062 6c6f 636b 3a0a 0a20   ufw.  block:.. 
│ │ │ -0011d9e0: 202d 206e 616d 653a 2047 6174 6865 7220   - name: Gather 
│ │ │ -0011d9f0: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ -0011da00: 730a 2020 2020 7061 636b 6167 655f 6661  s.    package_fa
│ │ │ -0011da10: 6374 733a 0a20 2020 2020 206d 616e 6167  cts:.      manag
│ │ │ -0011da20: 6572 3a20 6175 746f 0a0a 2020 2d20 6e61  er: auto..  - na
│ │ │ -0011da30: 6d65 3a20 5665 7269 6679 2075 6677 2045  me: Verify ufw E
│ │ │ -0011da40: 6e61 626c 6564 202d 2045 6e61 626c 6520  nabled - Enable 
│ │ │ -0011da50: 5365 7276 6963 6520 7566 770a 2020 2020  Service ufw.    
│ │ │ -0011da60: 616e 7369 626c 652e 6275 696c 7469 6e2e  ansible.builtin.
│ │ │ -0011da70: 7379 7374 656d 643a 0a20 2020 2020 206e  systemd:.      n
│ │ │ -0011da80: 616d 653a 2075 6677 0a20 2020 2020 2065  ame: ufw.      e
│ │ │ -0011da90: 6e61 626c 6564 3a20 7472 7565 0a20 2020  nabled: true.   
│ │ │ -0011daa0: 2020 2073 7461 7465 3a20 7374 6172 7465     state: starte
│ │ │ -0011dab0: 640a 2020 2020 2020 6d61 736b 6564 3a20  d.      masked: 
│ │ │ -0011dac0: 6661 6c73 650a 2020 2020 7768 656e 3a0a  false.    when:.
│ │ │ -0011dad0: 2020 2020 2d20 2722 7566 7722 2069 6e20      - '"ufw" in 
│ │ │ -0011dae0: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -0011daf0: 636b 6167 6573 270a 2020 7768 656e 3a0a  ckages'.  when:.
│ │ │ -0011db00: 2020 2d20 2722 6c69 6e75 782d 6261 7365    - '"linux-base
│ │ │ -0011db10: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ -0011db20: 7473 2e70 6163 6b61 6765 7327 0a20 202d  ts.packages'.  -
│ │ │ -0011db30: 2028 2022 7566 7722 2069 6e20 616e 7369   ( "ufw" in ansi
│ │ │ -0011db40: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -0011db50: 6573 2061 6e64 2022 6c69 6e75 782d 6261  es and "linux-ba
│ │ │ -0011db60: 7365 2220 696e 2061 6e73 6962 6c65 5f66  se" in ansible_f
│ │ │ -0011db70: 6163 7473 2e70 6163 6b61 6765 7320 290a  acts.packages ).
│ │ │ -0011db80: 2020 7461 6773 3a0a 2020 2d20 4449 5341    tags:.  - DISA
│ │ │ -0011db90: 2d53 5449 472d 5542 5455 2d32 302d 3031  -STIG-UBTU-20-01
│ │ │ -0011dba0: 3034 3334 0a20 202d 2065 6e61 626c 655f  0434.  - enable_
│ │ │ -0011dbb0: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -0011dbc0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -0011dbd0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -0011dbe0: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ -0011dbf0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -0011dc00: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ -0011dc10: 6963 655f 7566 775f 656e 6162 6c65 640a  ice_ufw_enabled.
│ │ │ +0011d3b0: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69  tion Ansible sni
│ │ │ +0011d3c0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e  ppet ...
│ │ │ +0011d3d0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
low
Disru │ │ │ -0011d840: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -0011d850: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -0011d890: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ -0011d8a0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Com │ │ │ +0011d450: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +0011d480: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +0011d4a0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +0011d4b0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +0011d4d0: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ +0011d4f0: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ +0011d500: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ +0011d510: 636b 6167 6520 6661 6374 730a 2020 7061  ckage facts.  pa
│ │ │ +0011d520: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ +0011d530: 206d 616e 6167 6572 3a20 6175 746f 0a20   manager: auto. 
│ │ │ +0011d540: 2074 6167 733a 0a20 202d 2044 4953 412d   tags:.  - DISA-
│ │ │ +0011d550: 5354 4947 2d55 4254 552d 3230 2d30 3130  STIG-UBTU-20-010
│ │ │ +0011d560: 3433 340a 2020 2d20 656e 6162 6c65 5f73  434.  - enable_s
│ │ │ +0011d570: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ +0011d580: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ +0011d590: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ +0011d5a0: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ +0011d5b0: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ +0011d5c0: 6e65 6564 6564 0a20 202d 2073 6572 7669  needed.  - servi
│ │ │ +0011d5d0: 6365 5f75 6677 5f65 6e61 626c 6564 0a0a  ce_ufw_enabled..
│ │ │ +0011d5e0: 2d20 6e61 6d65 3a20 5665 7269 6679 2075  - name: Verify u
│ │ │ +0011d5f0: 6677 2045 6e61 626c 6564 202d 2045 6e61  fw Enabled - Ena
│ │ │ +0011d600: 626c 6520 7365 7276 6963 6520 7566 770a  ble service ufw.
│ │ │ +0011d610: 2020 626c 6f63 6b3a 0a0a 2020 2d20 6e61    block:..  - na
│ │ │ +0011d620: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ +0011d630: 6163 6b61 6765 2066 6163 7473 0a20 2020  ackage facts.   
│ │ │ +0011d640: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ +0011d650: 2020 2020 2020 6d61 6e61 6765 723a 2061        manager: a
│ │ │ +0011d660: 7574 6f0a 0a20 202d 206e 616d 653a 2056  uto..  - name: V
│ │ │ +0011d670: 6572 6966 7920 7566 7720 456e 6162 6c65  erify ufw Enable
│ │ │ +0011d680: 6420 2d20 456e 6162 6c65 2053 6572 7669  d - Enable Servi
│ │ │ +0011d690: 6365 2075 6677 0a20 2020 2061 6e73 6962  ce ufw.    ansib
│ │ │ +0011d6a0: 6c65 2e62 7569 6c74 696e 2e73 7973 7465  le.builtin.syste
│ │ │ +0011d6b0: 6d64 3a0a 2020 2020 2020 6e61 6d65 3a20  md:.      name: 
│ │ │ +0011d6c0: 7566 770a 2020 2020 2020 656e 6162 6c65  ufw.      enable
│ │ │ +0011d6d0: 643a 2074 7275 650a 2020 2020 2020 7374  d: true.      st
│ │ │ +0011d6e0: 6174 653a 2073 7461 7274 6564 0a20 2020  ate: started.   
│ │ │ +0011d6f0: 2020 206d 6173 6b65 643a 2066 616c 7365     masked: false
│ │ │ +0011d700: 0a20 2020 2077 6865 6e3a 0a20 2020 202d  .    when:.    -
│ │ │ +0011d710: 2027 2275 6677 2220 696e 2061 6e73 6962   '"ufw" in ansib
│ │ │ +0011d720: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +0011d730: 7327 0a20 2077 6865 6e3a 0a20 202d 2027  s'.  when:.  - '
│ │ │ +0011d740: 226c 696e 7578 2d62 6173 6522 2069 6e20  "linux-base" in 
│ │ │ +0011d750: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ +0011d760: 636b 6167 6573 270a 2020 2d20 2820 2275  ckages'.  - ( "u
│ │ │ +0011d770: 6677 2220 696e 2061 6e73 6962 6c65 5f66  fw" in ansible_f
│ │ │ +0011d780: 6163 7473 2e70 6163 6b61 6765 7320 616e  acts.packages an
│ │ │ +0011d790: 6420 226c 696e 7578 2d62 6173 6522 2069  d "linux-base" i
│ │ │ +0011d7a0: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +0011d7b0: 7061 636b 6167 6573 2029 0a20 2074 6167  packages ).  tag
│ │ │ +0011d7c0: 733a 0a20 202d 2044 4953 412d 5354 4947  s:.  - DISA-STIG
│ │ │ +0011d7d0: 2d55 4254 552d 3230 2d30 3130 3433 340a  -UBTU-20-010434.
│ │ │ +0011d7e0: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ +0011d7f0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +0011d800: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +0011d810: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ +0011d820: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ +0011d830: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +0011d840: 6564 0a20 202d 2073 6572 7669 6365 5f75  ed.  - service_u
│ │ │ +0011d850: 6677 5f65 6e61 626c 6564 0a3c 2f63 6f64  fw_enabled.
Re │ │ │ +0011d910: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ +0011d920: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +0011d930: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ +0011da00: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +0011da10: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
i
│ │ │ +0011da60: 6e63 6c75 6465 2065 6e61 626c 655f 7566  nclude enable_uf
│ │ │ +0011da70: 770a 0a63 6c61 7373 2065 6e61 626c 655f  w..class enable_
│ │ │ +0011da80: 7566 7720 7b0a 2020 7365 7276 6963 6520  ufw {.  service 
│ │ │ +0011da90: 7b27 7566 7727 3a0a 2020 2020 656e 6162  {'ufw':.    enab
│ │ │ +0011daa0: 6c65 203d 2667 743b 2074 7275 652c 0a20  le => true,. 
│ │ │ +0011dab0: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ +0011dac0: 2772 756e 6e69 6e67 272c 0a20 207d 0a7d  'running',.  }.}
│ │ │ +0011dad0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +0011db90: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin │ │ │ +0011dba0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
.[customizati
│ │ │ +0011dc00: 6f6e 732e 7365 7276 6963 6573 5d0a 656e  ons.services].en
│ │ │ +0011dc10: 6162 6c65 6420 3d20 5b22 7566 7722 5d0a  abled = ["ufw"].
│ │ │  0011dc20: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Rem │ │ │ -001717d0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ -001717e0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -001717f0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
Complexity:low
Disrup │ │ │ +0011d9e0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +0011d9f0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +0011da30: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +0011da40: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
│ │ │ -00171880: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
i
│ │ │ -00171920: 6e63 6c75 6465 2072 656d 6f76 655f 6176  nclude remove_av
│ │ │ -00171930: 6168 692d 6461 656d 6f6e 0a0a 636c 6173  ahi-daemon..clas
│ │ │ -00171940: 7320 7265 6d6f 7665 5f61 7661 6869 2d64  s remove_avahi-d
│ │ │ -00171950: 6165 6d6f 6e20 7b0a 2020 7061 636b 6167  aemon {.  packag
│ │ │ -00171960: 6520 7b20 2761 7661 6869 2d64 6165 6d6f  e { 'avahi-daemo
│ │ │ -00171970: 6e27 3a0a 2020 2020 656e 7375 7265 203d  n':.    ensure =
│ │ │ -00171980: 2667 743b 2027 7075 7267 6564 272c 0a20  > 'purged',. 
│ │ │ -00171990: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.Remediat
│ │ │ -00171a50: 696f 6e20 416e 7369 626c 6520 736e 6970  ion Ansible snip
│ │ │ -00171a60: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c  pet ...
< │ │ │ -00171a70: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -00171a80: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -00171a90: 7365 2220 6964 3d22 6964 6d32 3131 3631 se" id="idm21161 │ │ │ -00171aa0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
│ │ │ -00171870: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -001718a0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -001718b0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -001718f0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ -00171900: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Comp │ │ │ -00171af0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -00171b00: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -00171b20: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -00171b40: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -00171b50: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ -00171b90: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ -00171ba0: 653a 2045 6e73 7572 6520 6176 6168 692d  e: Ensure avahi-
│ │ │ -00171bb0: 6461 656d 6f6e 2069 7320 7265 6d6f 7665  daemon is remove
│ │ │ -00171bc0: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ -00171bd0: 206e 616d 653a 2061 7661 6869 2d64 6165   name: avahi-dae
│ │ │ -00171be0: 6d6f 6e0a 2020 2020 7374 6174 653a 2061  mon.    state: a
│ │ │ -00171bf0: 6273 656e 740a 2020 7461 6773 3a0a 2020  bsent.  tags:.  
│ │ │ -00171c00: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -00171c10: 2d36 2861 290a 2020 2d20 4e49 5354 2d38  -6(a).  - NIST-8
│ │ │ -00171c20: 3030 2d35 332d 434d 2d37 2861 290a 2020  00-53-CM-7(a).  
│ │ │ -00171c30: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -00171c40: 2d37 2862 290a 2020 2d20 6469 7361 626c  -7(b).  - disabl
│ │ │ -00171c50: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ -00171c60: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ -00171c70: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -00171c80: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ -00171c90: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -00171ca0: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ -00171cb0: 636b 6167 655f 6176 6168 695f 7265 6d6f  ckage_avahi_remo
│ │ │ -00171cc0: 7665 640a 3c2f 636f 6465 3e3c 2f70 7265  ved.
│ │ │ +001717f0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ +001718c0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +001718d0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +00171920: 2d20 6e61 6d65 3a20 456e 7375 7265 2061  - name: Ensure a
│ │ │ +00171930: 7661 6869 2d64 6165 6d6f 6e20 6973 2072  vahi-daemon is r
│ │ │ +00171940: 656d 6f76 6564 0a20 2070 6163 6b61 6765  emoved.  package
│ │ │ +00171950: 3a0a 2020 2020 6e61 6d65 3a20 6176 6168  :.    name: avah
│ │ │ +00171960: 692d 6461 656d 6f6e 0a20 2020 2073 7461  i-daemon.    sta
│ │ │ +00171970: 7465 3a20 6162 7365 6e74 0a20 2074 6167  te: absent.  tag
│ │ │ +00171980: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +00171990: 3533 2d43 4d2d 3628 6129 0a20 202d 204e  53-CM-6(a).  - N
│ │ │ +001719a0: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ +001719b0: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ +001719c0: 3533 2d43 4d2d 3728 6229 0a20 202d 2064  53-CM-7(b).  - d
│ │ │ +001719d0: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ +001719e0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +001719f0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +00171a00: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ +00171a10: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +00171a20: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +00171a30: 202d 2070 6163 6b61 6765 5f61 7661 6869   - package_avahi
│ │ │ +00171a40: 5f72 656d 6f76 6564 0a3c 2f63 6f64 653e  _removed.
│ │ │ +00171a50: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ +00171b00: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ +00171b10: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
Complexity:low
Disrup │ │ │ +001718a0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +001718b0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +001718f0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +00171900: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
< │ │ │ +00171bb0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +00171bc0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +00171c10: 3c74 723e 3c74 683e 5374 7261 7465 6779
in
│ │ │ +00171c50: 636c 7564 6520 7265 6d6f 7665 5f61 7661  clude remove_ava
│ │ │ +00171c60: 6869 2d64 6165 6d6f 6e0a 0a63 6c61 7373  hi-daemon..class
│ │ │ +00171c70: 2072 656d 6f76 655f 6176 6168 692d 6461   remove_avahi-da
│ │ │ +00171c80: 656d 6f6e 207b 0a20 2070 6163 6b61 6765  emon {.  package
│ │ │ +00171c90: 207b 2027 6176 6168 692d 6461 656d 6f6e   { 'avahi-daemon
│ │ │ +00171ca0: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ +00171cb0: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ +00171cc0: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remedi │ │ │ -00172eb0: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl │ │ │ -00172ec0: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet │ │ │ -00172ed0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...

.[custo │ │ │ -00172f20: 6d69 7a61 7469 6f6e 732e 7365 7276 6963 mizations.servic │ │ │ -00172f30: 6573 5d0a 6d61 736b 6564 203d 205b 2261 es].masked = ["a │ │ │ -00172f40: 7661 6869 2d64 6165 6d6f 6e22 5d0a 3c2f vahi-daemon"].

Remediation Kub │ │ │ -00173010: 6572 6e65 7465 7320 736e 6970 7065 7420 ernetes snippet │ │ │ -00173020: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001730a0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
│ │ │ -001730f0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 < │ │ │ -00173120: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
C │ │ │ +00171ba0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +00171bd0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +00171be0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +00171c20: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ +00171c30: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexi │ │ │ -001730b0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -001730c0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:medium
Reb │ │ │ -00173100: 6f6f 743a 3c2f 7468 3e3c 7464 3e74 7275 oot:tru │ │ │ -00173110: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

apiVers │ │ │ -00173160: 696f 6e3a 206d 6163 6869 6e65 636f 6e66 ion: machineconf │ │ │ -00173170: 6967 7572 6174 696f 6e2e 6f70 656e 7368 iguration.opensh │ │ │ -00173180: 6966 742e 696f 2f76 310a 6b69 6e64 3a20 ift.io/v1.kind: │ │ │ -00173190: 4d61 6368 696e 6543 6f6e 6669 670a 7370 MachineConfig.sp │ │ │ -001731a0: 6563 3a0a 2020 636f 6e66 6967 3a0a 2020 ec:. config:. │ │ │ -001731b0: 2020 6967 6e69 7469 6f6e 3a0a 2020 2020 ignition:. │ │ │ -001731c0: 2020 7665 7273 696f 6e3a 2033 2e31 2e30 version: 3.1.0 │ │ │ -001731d0: 0a20 2020 2073 7973 7465 6d64 3a0a 2020 . systemd:. │ │ │ -001731e0: 2020 2020 756e 6974 733a 0a20 2020 2020 units:. │ │ │ -001731f0: 202d 206e 616d 653a 2061 7661 6869 2d64 - name: avahi-d │ │ │ -00173200: 6165 6d6f 6e2e 7365 7276 6963 650a 2020 aemon.service. │ │ │ -00173210: 2020 2020 2020 656e 6162 6c65 643a 2066 enabled: f │ │ │ -00173220: 616c 7365 0a20 2020 2020 2020 206d 6173 alse. mas │ │ │ -00173230: 6b3a 2074 7275 650a 2020 2020 2020 2d20 k: true. - │ │ │ -00173240: 6e61 6d65 3a20 6176 6168 692d 6461 656d name: avahi-daem │ │ │ -00173250: 6f6e 2e73 6f63 6b65 740a 2020 2020 2020 on.socket. │ │ │ -00173260: 2020 656e 6162 6c65 643a 2066 616c 7365 enabled: false │ │ │ -00173270: 0a20 2020 2020 2020 206d 6173 6b3a 2074 . mask: t │ │ │ -00173280: 7275 650a 3c2f 636f 6465 3e3c 2f70 7265 rue.

Remediati │ │ │ -00173340: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -00173350: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -00173390: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -00173400: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -00173420: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -00173450: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -00173470: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -001733e0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -001733f0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -00173430: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -00173440: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ -00173490: 6469 7361 626c 655f 6176 6168 692d 6461 disable_avahi-da │ │ │ -001734a0: 656d 6f6e 0a0a 636c 6173 7320 6469 7361 emon..class disa │ │ │ -001734b0: 626c 655f 6176 6168 692d 6461 656d 6f6e ble_avahi-daemon │ │ │ -001734c0: 207b 0a20 2073 6572 7669 6365 207b 2761 {. service {'a │ │ │ -001734d0: 7661 6869 2d64 6165 6d6f 6e27 3a0a 2020 vahi-daemon':. │ │ │ -001734e0: 2020 656e 6162 6c65 203d 2667 743b 2066 enable => f │ │ │ -001734f0: 616c 7365 2c0a 2020 2020 656e 7375 7265 alse,. ensure │ │ │ -00173500: 203d 2667 743b 2027 7374 6f70 7065 6427 => 'stopped' │ │ │ -00173510: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.< │ │ │ -00173520: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remed │ │ │ -001735d0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s │ │ │ -001735e0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -00173680: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -00173690: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -001736e0: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ -00173720: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ -00173730: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ -00173740: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ -00173750: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ -00173760: 6f0a 2020 7461 6773 3a0a 2020 2d20 4e49  o.  tags:.  - NI
│ │ │ -00173770: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ -00173780: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -00173790: 332d 434d 2d37 2861 290a 2020 2d20 4e49  3-CM-7(a).  - NI
│ │ │ -001737a0: 5354 2d38 3030 2d35 332d 434d 2d37 2862  ST-800-53-CM-7(b
│ │ │ -001737b0: 290a 2020 2d20 5043 492d 4453 5376 342d  ).  - PCI-DSSv4-
│ │ │ -001737c0: 322e 320a 2020 2d20 5043 492d 4453 5376  2.2.  - PCI-DSSv
│ │ │ -001737d0: 342d 322e 322e 340a 2020 2d20 6469 7361  4-2.2.4.  - disa
│ │ │ -001737e0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -001737f0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -00173800: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -00173810: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -00173820: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -00173830: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -00173840: 7365 7276 6963 655f 6176 6168 692d 6461  service_avahi-da
│ │ │ -00173850: 656d 6f6e 5f64 6973 6162 6c65 640a 0a2d  emon_disabled..-
│ │ │ -00173860: 206e 616d 653a 2044 6973 6162 6c65 2041   name: Disable A
│ │ │ -00173870: 7661 6869 2053 6572 7665 7220 536f 6674  vahi Server Soft
│ │ │ -00173880: 7761 7265 202d 2043 6f6c 6c65 6374 2073  ware - Collect s
│ │ │ -00173890: 7973 7465 6d64 2053 6572 7669 6365 7320  ystemd Services 
│ │ │ -001738a0: 5072 6573 656e 7420 696e 2074 6865 2053  Present in the S
│ │ │ -001738b0: 7973 7465 6d0a 2020 616e 7369 626c 652e  ystem.  ansible.
│ │ │ -001738c0: 6275 696c 7469 6e2e 636f 6d6d 616e 643a  builtin.command:
│ │ │ -001738d0: 2073 7973 7465 6d63 746c 202d 7120 6c69   systemctl -q li
│ │ │ -001738e0: 7374 2d75 6e69 742d 6669 6c65 7320 2d2d  st-unit-files --
│ │ │ -001738f0: 7479 7065 2073 6572 7669 6365 0a20 2072  type service.  r
│ │ │ -00173900: 6567 6973 7465 723a 2073 6572 7669 6365  egister: service
│ │ │ -00173910: 5f65 7869 7374 730a 2020 6368 616e 6765  _exists.  change
│ │ │ -00173920: 645f 7768 656e 3a20 6661 6c73 650a 2020  d_when: false.  
│ │ │ -00173930: 6661 696c 6564 5f77 6865 6e3a 2073 6572  failed_when: ser
│ │ │ -00173940: 7669 6365 5f65 7869 7374 732e 7263 206e  vice_exists.rc n
│ │ │ -00173950: 6f74 2069 6e20 5b30 2c20 315d 0a20 2063  ot in [0, 1].  c
│ │ │ -00173960: 6865 636b 5f6d 6f64 653a 2066 616c 7365  heck_mode: false
│ │ │ -00173970: 0a20 2077 6865 6e3a 2028 2022 6176 6168  .  when: ( "avah
│ │ │ -00173980: 692d 6461 656d 6f6e 2220 696e 2061 6e73  i-daemon" in ans
│ │ │ -00173990: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -001739a0: 6765 7320 616e 6420 226c 696e 7578 2d62  ges and "linux-b
│ │ │ -001739b0: 6173 6522 2069 6e20 616e 7369 626c 655f  ase" in ansible_
│ │ │ -001739c0: 6661 6374 732e 7061 636b 6167 6573 0a20  facts.packages. 
│ │ │ -001739d0: 2020 2029 0a20 2074 6167 733a 0a20 202d     ).  tags:.  -
│ │ │ -001739e0: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -001739f0: 3628 6129 0a20 202d 204e 4953 542d 3830  6(a).  - NIST-80
│ │ │ -00173a00: 302d 3533 2d43 4d2d 3728 6129 0a20 202d  0-53-CM-7(a).  -
│ │ │ -00173a10: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -00173a20: 3728 6229 0a20 202d 2050 4349 2d44 5353  7(b).  - PCI-DSS
│ │ │ -00173a30: 7634 2d32 2e32 0a20 202d 2050 4349 2d44  v4-2.2.  - PCI-D
│ │ │ -00173a40: 5353 7634 2d32 2e32 2e34 0a20 202d 2064  SSv4-2.2.4.  - d
│ │ │ -00173a50: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ -00173a60: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -00173a70: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -00173a80: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -00173a90: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -00173aa0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -00173ab0: 202d 2073 6572 7669 6365 5f61 7661 6869   - service_avahi
│ │ │ -00173ac0: 2d64 6165 6d6f 6e5f 6469 7361 626c 6564  -daemon_disabled
│ │ │ -00173ad0: 0a0a 2d20 6e61 6d65 3a20 4469 7361 626c  ..- name: Disabl
│ │ │ -00173ae0: 6520 4176 6168 6920 5365 7276 6572 2053  e Avahi Server S
│ │ │ -00173af0: 6f66 7477 6172 6520 2d20 456e 7375 7265  oftware - Ensure
│ │ │ -00173b00: 2061 7661 6869 2d64 6165 6d6f 6e2e 7365   avahi-daemon.se
│ │ │ -00173b10: 7276 6963 6520 6973 204d 6173 6b65 640a  rvice is Masked.
│ │ │ -00173b20: 2020 616e 7369 626c 652e 6275 696c 7469    ansible.builti
│ │ │ -00173b30: 6e2e 7379 7374 656d 643a 0a20 2020 206e  n.systemd:.    n
│ │ │ -00173b40: 616d 653a 2061 7661 6869 2d64 6165 6d6f  ame: avahi-daemo
│ │ │ -00173b50: 6e2e 7365 7276 6963 650a 2020 2020 7374  n.service.    st
│ │ │ -00173b60: 6174 653a 2073 746f 7070 6564 0a20 2020  ate: stopped.   
│ │ │ -00173b70: 2065 6e61 626c 6564 3a20 6661 6c73 650a   enabled: false.
│ │ │ -00173b80: 2020 2020 6d61 736b 6564 3a20 7472 7565      masked: true
│ │ │ -00173b90: 0a20 2077 6865 6e3a 0a20 202d 2028 2022  .  when:.  - ( "
│ │ │ -00173ba0: 6176 6168 692d 6461 656d 6f6e 2220 696e  avahi-daemon" in
│ │ │ -00173bb0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ -00173bc0: 6163 6b61 6765 7320 616e 6420 226c 696e  ackages and "lin
│ │ │ -00173bd0: 7578 2d62 6173 6522 2069 6e20 616e 7369  ux-base" in ansi
│ │ │ -00173be0: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -00173bf0: 6573 0a20 2020 2029 0a20 202d 2073 6572  es.    ).  - ser
│ │ │ -00173c00: 7669 6365 5f65 7869 7374 732e 7374 646f  vice_exists.stdo
│ │ │ -00173c10: 7574 5f6c 696e 6573 2069 7320 7365 6172  ut_lines is sear
│ │ │ -00173c20: 6368 2822 6176 6168 692d 6461 656d 6f6e  ch("avahi-daemon
│ │ │ -00173c30: 2e73 6572 7669 6365 222c 206d 756c 7469  .service", multi
│ │ │ -00173c40: 6c69 6e65 3d54 7275 6529 0a20 2074 6167  line=True).  tag
│ │ │ -00173c50: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ -00173c60: 3533 2d43 4d2d 3628 6129 0a20 202d 204e  53-CM-6(a).  - N
│ │ │ -00173c70: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ -00173c80: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ -00173c90: 3533 2d43 4d2d 3728 6229 0a20 202d 2050  53-CM-7(b).  - P
│ │ │ -00173ca0: 4349 2d44 5353 7634 2d32 2e32 0a20 202d  CI-DSSv4-2.2.  -
│ │ │ -00173cb0: 2050 4349 2d44 5353 7634 2d32 2e32 2e34   PCI-DSSv4-2.2.4
│ │ │ -00173cc0: 0a20 202d 2064 6973 6162 6c65 5f73 7472  .  - disable_str
│ │ │ -00173cd0: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ -00173ce0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -00173cf0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -00173d00: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ -00173d10: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -00173d20: 6564 6564 0a20 202d 2073 6572 7669 6365  eded.  - service
│ │ │ -00173d30: 5f61 7661 6869 2d64 6165 6d6f 6e5f 6469  _avahi-daemon_di
│ │ │ -00173d40: 7361 626c 6564 0a0a 2d20 6e61 6d65 3a20  sabled..- name: 
│ │ │ -00173d50: 556e 6974 2053 6f63 6b65 7420 4578 6973  Unit Socket Exis
│ │ │ -00173d60: 7473 202d 2061 7661 6869 2d64 6165 6d6f  ts - avahi-daemo
│ │ │ -00173d70: 6e2e 736f 636b 6574 0a20 2061 6e73 6962  n.socket.  ansib
│ │ │ -00173d80: 6c65 2e62 7569 6c74 696e 2e63 6f6d 6d61  le.builtin.comma
│ │ │ -00173d90: 6e64 3a20 7379 7374 656d 6374 6c20 2d71  nd: systemctl -q
│ │ │ -00173da0: 206c 6973 742d 756e 6974 2d66 696c 6573   list-unit-files
│ │ │ -00173db0: 2061 7661 6869 2d64 6165 6d6f 6e2e 736f   avahi-daemon.so
│ │ │ -00173dc0: 636b 6574 0a20 2072 6567 6973 7465 723a  cket.  register:
│ │ │ -00173dd0: 2073 6f63 6b65 745f 6669 6c65 5f65 7869   socket_file_exi
│ │ │ -00173de0: 7374 730a 2020 6368 616e 6765 645f 7768  sts.  changed_wh
│ │ │ -00173df0: 656e 3a20 6661 6c73 650a 2020 6661 696c  en: false.  fail
│ │ │ -00173e00: 6564 5f77 6865 6e3a 2073 6f63 6b65 745f  ed_when: socket_
│ │ │ -00173e10: 6669 6c65 5f65 7869 7374 732e 7263 206e  file_exists.rc n
│ │ │ -00173e20: 6f74 2069 6e20 5b30 2c20 315d 0a20 2063  ot in [0, 1].  c
│ │ │ -00173e30: 6865 636b 5f6d 6f64 653a 2066 616c 7365  heck_mode: false
│ │ │ -00173e40: 0a20 2077 6865 6e3a 2028 2022 6176 6168  .  when: ( "avah
│ │ │ -00173e50: 692d 6461 656d 6f6e 2220 696e 2061 6e73  i-daemon" in ans
│ │ │ -00173e60: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -00173e70: 6765 7320 616e 6420 226c 696e 7578 2d62  ges and "linux-b
│ │ │ -00173e80: 6173 6522 2069 6e20 616e 7369 626c 655f  ase" in ansible_
│ │ │ -00173e90: 6661 6374 732e 7061 636b 6167 6573 0a20  facts.packages. 
│ │ │ -00173ea0: 2020 2029 0a20 2074 6167 733a 0a20 202d     ).  tags:.  -
│ │ │ -00173eb0: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -00173ec0: 3628 6129 0a20 202d 204e 4953 542d 3830  6(a).  - NIST-80
│ │ │ -00173ed0: 302d 3533 2d43 4d2d 3728 6129 0a20 202d  0-53-CM-7(a).  -
│ │ │ -00173ee0: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -00173ef0: 3728 6229 0a20 202d 2050 4349 2d44 5353  7(b).  - PCI-DSS
│ │ │ -00173f00: 7634 2d32 2e32 0a20 202d 2050 4349 2d44  v4-2.2.  - PCI-D
│ │ │ -00173f10: 5353 7634 2d32 2e32 2e34 0a20 202d 2064  SSv4-2.2.4.  - d
│ │ │ -00173f20: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ -00173f30: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -00173f40: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -00173f50: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -00173f60: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -00173f70: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -00173f80: 202d 2073 6572 7669 6365 5f61 7661 6869   - service_avahi
│ │ │ -00173f90: 2d64 6165 6d6f 6e5f 6469 7361 626c 6564  -daemon_disabled
│ │ │ -00173fa0: 0a0a 2d20 6e61 6d65 3a20 4469 7361 626c  ..- name: Disabl
│ │ │ -00173fb0: 6520 4176 6168 6920 5365 7276 6572 2053  e Avahi Server S
│ │ │ -00173fc0: 6f66 7477 6172 6520 2d20 4469 7361 626c  oftware - Disabl
│ │ │ -00173fd0: 6520 536f 636b 6574 2061 7661 6869 2d64  e Socket avahi-d
│ │ │ -00173fe0: 6165 6d6f 6e0a 2020 616e 7369 626c 652e  aemon.  ansible.
│ │ │ -00173ff0: 6275 696c 7469 6e2e 7379 7374 656d 643a  builtin.systemd:
│ │ │ -00174000: 0a20 2020 206e 616d 653a 2061 7661 6869  .    name: avahi
│ │ │ -00174010: 2d64 6165 6d6f 6e2e 736f 636b 6574 0a20  -daemon.socket. 
│ │ │ -00174020: 2020 2065 6e61 626c 6564 3a20 6661 6c73     enabled: fals
│ │ │ -00174030: 650a 2020 2020 7374 6174 653a 2073 746f  e.    state: sto
│ │ │ -00174040: 7070 6564 0a20 2020 206d 6173 6b65 643a  pped.    masked:
│ │ │ -00174050: 2074 7275 650a 2020 7768 656e 3a0a 2020   true.  when:.  
│ │ │ -00174060: 2d20 2820 2261 7661 6869 2d64 6165 6d6f  - ( "avahi-daemo
│ │ │ -00174070: 6e22 2069 6e20 616e 7369 626c 655f 6661  n" in ansible_fa
│ │ │ -00174080: 6374 732e 7061 636b 6167 6573 2061 6e64  cts.packages and
│ │ │ -00174090: 2022 6c69 6e75 782d 6261 7365 2220 696e   "linux-base" in
│ │ │ -001740a0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ -001740b0: 6163 6b61 6765 730a 2020 2020 290a 2020  ackages.    ).  
│ │ │ -001740c0: 2d20 736f 636b 6574 5f66 696c 655f 6578  - socket_file_ex
│ │ │ -001740d0: 6973 7473 2e73 7464 6f75 745f 6c69 6e65  ists.stdout_line
│ │ │ -001740e0: 7320 6973 2073 6561 7263 6828 2261 7661  s is search("ava
│ │ │ -001740f0: 6869 2d64 6165 6d6f 6e2e 736f 636b 6574  hi-daemon.socket
│ │ │ -00174100: 222c 206d 756c 7469 6c69 6e65 3d54 7275  ", multiline=Tru
│ │ │ -00174110: 6529 0a20 2074 6167 733a 0a20 202d 204e  e).  tags:.  - N
│ │ │ -00174120: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -00174130: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ -00174140: 3533 2d43 4d2d 3728 6129 0a20 202d 204e  53-CM-7(a).  - N
│ │ │ -00174150: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ -00174160: 6229 0a20 202d 2050 4349 2d44 5353 7634  b).  - PCI-DSSv4
│ │ │ -00174170: 2d32 2e32 0a20 202d 2050 4349 2d44 5353  -2.2.  - PCI-DSS
│ │ │ -00174180: 7634 2d32 2e32 2e34 0a20 202d 2064 6973  v4-2.2.4.  - dis
│ │ │ -00174190: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -001741a0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -001741b0: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -001741c0: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ -001741d0: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ -001741e0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -001741f0: 2073 6572 7669 6365 5f61 7661 6869 2d64   service_avahi-d
│ │ │ -00174200: 6165 6d6f 6e5f 6469 7361 626c 6564 0a3c  aemon_disabled.<
│ │ │ +00172eb0: 6174 696f 6e20 416e 7369 626c 6520 736e  ation Ansible sn
│ │ │ +00172ec0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
C │ │ │ -00173670: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -001736a0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -001736b0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -001736f0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -00173700: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
low< │ │ │ +00172f70: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +00172fc0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ +00173000: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ +00173010: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ +00173020: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ +00173030: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ +00173040: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ +00173050: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ +00173060: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +00173070: 2d43 4d2d 3728 6129 0a20 202d 204e 4953  -CM-7(a).  - NIS
│ │ │ +00173080: 542d 3830 302d 3533 2d43 4d2d 3728 6229  T-800-53-CM-7(b)
│ │ │ +00173090: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ +001730a0: 2e32 0a20 202d 2050 4349 2d44 5353 7634  .2.  - PCI-DSSv4
│ │ │ +001730b0: 2d32 2e32 2e34 0a20 202d 2064 6973 6162  -2.2.4.  - disab
│ │ │ +001730c0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +001730d0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +001730e0: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +001730f0: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ +00173100: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +00173110: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ +00173120: 6572 7669 6365 5f61 7661 6869 2d64 6165  ervice_avahi-dae
│ │ │ +00173130: 6d6f 6e5f 6469 7361 626c 6564 0a0a 2d20  mon_disabled..- 
│ │ │ +00173140: 6e61 6d65 3a20 4469 7361 626c 6520 4176  name: Disable Av
│ │ │ +00173150: 6168 6920 5365 7276 6572 2053 6f66 7477  ahi Server Softw
│ │ │ +00173160: 6172 6520 2d20 436f 6c6c 6563 7420 7379  are - Collect sy
│ │ │ +00173170: 7374 656d 6420 5365 7276 6963 6573 2050  stemd Services P
│ │ │ +00173180: 7265 7365 6e74 2069 6e20 7468 6520 5379  resent in the Sy
│ │ │ +00173190: 7374 656d 0a20 2061 6e73 6962 6c65 2e62  stem.  ansible.b
│ │ │ +001731a0: 7569 6c74 696e 2e63 6f6d 6d61 6e64 3a20  uiltin.command: 
│ │ │ +001731b0: 7379 7374 656d 6374 6c20 2d71 206c 6973  systemctl -q lis
│ │ │ +001731c0: 742d 756e 6974 2d66 696c 6573 202d 2d74  t-unit-files --t
│ │ │ +001731d0: 7970 6520 7365 7276 6963 650a 2020 7265  ype service.  re
│ │ │ +001731e0: 6769 7374 6572 3a20 7365 7276 6963 655f  gister: service_
│ │ │ +001731f0: 6578 6973 7473 0a20 2063 6861 6e67 6564  exists.  changed
│ │ │ +00173200: 5f77 6865 6e3a 2066 616c 7365 0a20 2066  _when: false.  f
│ │ │ +00173210: 6169 6c65 645f 7768 656e 3a20 7365 7276  ailed_when: serv
│ │ │ +00173220: 6963 655f 6578 6973 7473 2e72 6320 6e6f  ice_exists.rc no
│ │ │ +00173230: 7420 696e 205b 302c 2031 5d0a 2020 6368  t in [0, 1].  ch
│ │ │ +00173240: 6563 6b5f 6d6f 6465 3a20 6661 6c73 650a  eck_mode: false.
│ │ │ +00173250: 2020 7768 656e 3a20 2820 2261 7661 6869    when: ( "avahi
│ │ │ +00173260: 2d64 6165 6d6f 6e22 2069 6e20 616e 7369  -daemon" in ansi
│ │ │ +00173270: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ +00173280: 6573 2061 6e64 2022 6c69 6e75 782d 6261  es and "linux-ba
│ │ │ +00173290: 7365 2220 696e 2061 6e73 6962 6c65 5f66  se" in ansible_f
│ │ │ +001732a0: 6163 7473 2e70 6163 6b61 6765 730a 2020  acts.packages.  
│ │ │ +001732b0: 2020 290a 2020 7461 6773 3a0a 2020 2d20    ).  tags:.  - 
│ │ │ +001732c0: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ +001732d0: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ +001732e0: 2d35 332d 434d 2d37 2861 290a 2020 2d20  -53-CM-7(a).  - 
│ │ │ +001732f0: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ +00173300: 2862 290a 2020 2d20 5043 492d 4453 5376  (b).  - PCI-DSSv
│ │ │ +00173310: 342d 322e 320a 2020 2d20 5043 492d 4453  4-2.2.  - PCI-DS
│ │ │ +00173320: 5376 342d 322e 322e 340a 2020 2d20 6469  Sv4-2.2.4.  - di
│ │ │ +00173330: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ +00173340: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +00173350: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +00173360: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +00173370: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +00173380: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +00173390: 2d20 7365 7276 6963 655f 6176 6168 692d  - service_avahi-
│ │ │ +001733a0: 6461 656d 6f6e 5f64 6973 6162 6c65 640a  daemon_disabled.
│ │ │ +001733b0: 0a2d 206e 616d 653a 2044 6973 6162 6c65  .- name: Disable
│ │ │ +001733c0: 2041 7661 6869 2053 6572 7665 7220 536f   Avahi Server So
│ │ │ +001733d0: 6674 7761 7265 202d 2045 6e73 7572 6520  ftware - Ensure 
│ │ │ +001733e0: 6176 6168 692d 6461 656d 6f6e 2e73 6572  avahi-daemon.ser
│ │ │ +001733f0: 7669 6365 2069 7320 4d61 736b 6564 0a20  vice is Masked. 
│ │ │ +00173400: 2061 6e73 6962 6c65 2e62 7569 6c74 696e   ansible.builtin
│ │ │ +00173410: 2e73 7973 7465 6d64 3a0a 2020 2020 6e61  .systemd:.    na
│ │ │ +00173420: 6d65 3a20 6176 6168 692d 6461 656d 6f6e  me: avahi-daemon
│ │ │ +00173430: 2e73 6572 7669 6365 0a20 2020 2073 7461  .service.    sta
│ │ │ +00173440: 7465 3a20 7374 6f70 7065 640a 2020 2020  te: stopped.    
│ │ │ +00173450: 656e 6162 6c65 643a 2066 616c 7365 0a20  enabled: false. 
│ │ │ +00173460: 2020 206d 6173 6b65 643a 2074 7275 650a     masked: true.
│ │ │ +00173470: 2020 7768 656e 3a0a 2020 2d20 2820 2261    when:.  - ( "a
│ │ │ +00173480: 7661 6869 2d64 6165 6d6f 6e22 2069 6e20  vahi-daemon" in 
│ │ │ +00173490: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ +001734a0: 636b 6167 6573 2061 6e64 2022 6c69 6e75  ckages and "linu
│ │ │ +001734b0: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ +001734c0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +001734d0: 730a 2020 2020 290a 2020 2d20 7365 7276  s.    ).  - serv
│ │ │ +001734e0: 6963 655f 6578 6973 7473 2e73 7464 6f75  ice_exists.stdou
│ │ │ +001734f0: 745f 6c69 6e65 7320 6973 2073 6561 7263  t_lines is searc
│ │ │ +00173500: 6828 2261 7661 6869 2d64 6165 6d6f 6e2e  h("avahi-daemon.
│ │ │ +00173510: 7365 7276 6963 6522 2c20 6d75 6c74 696c  service", multil
│ │ │ +00173520: 696e 653d 5472 7565 290a 2020 7461 6773  ine=True).  tags
│ │ │ +00173530: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ +00173540: 332d 434d 2d36 2861 290a 2020 2d20 4e49  3-CM-6(a).  - NI
│ │ │ +00173550: 5354 2d38 3030 2d35 332d 434d 2d37 2861  ST-800-53-CM-7(a
│ │ │ +00173560: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +00173570: 332d 434d 2d37 2862 290a 2020 2d20 5043  3-CM-7(b).  - PC
│ │ │ +00173580: 492d 4453 5376 342d 322e 320a 2020 2d20  I-DSSv4-2.2.  - 
│ │ │ +00173590: 5043 492d 4453 5376 342d 322e 322e 340a  PCI-DSSv4-2.2.4.
│ │ │ +001735a0: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ +001735b0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +001735c0: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +001735d0: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ +001735e0: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ +001735f0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +00173600: 6465 640a 2020 2d20 7365 7276 6963 655f  ded.  - service_
│ │ │ +00173610: 6176 6168 692d 6461 656d 6f6e 5f64 6973  avahi-daemon_dis
│ │ │ +00173620: 6162 6c65 640a 0a2d 206e 616d 653a 2055  abled..- name: U
│ │ │ +00173630: 6e69 7420 536f 636b 6574 2045 7869 7374  nit Socket Exist
│ │ │ +00173640: 7320 2d20 6176 6168 692d 6461 656d 6f6e  s - avahi-daemon
│ │ │ +00173650: 2e73 6f63 6b65 740a 2020 616e 7369 626c  .socket.  ansibl
│ │ │ +00173660: 652e 6275 696c 7469 6e2e 636f 6d6d 616e  e.builtin.comman
│ │ │ +00173670: 643a 2073 7973 7465 6d63 746c 202d 7120  d: systemctl -q 
│ │ │ +00173680: 6c69 7374 2d75 6e69 742d 6669 6c65 7320  list-unit-files 
│ │ │ +00173690: 6176 6168 692d 6461 656d 6f6e 2e73 6f63  avahi-daemon.soc
│ │ │ +001736a0: 6b65 740a 2020 7265 6769 7374 6572 3a20  ket.  register: 
│ │ │ +001736b0: 736f 636b 6574 5f66 696c 655f 6578 6973  socket_file_exis
│ │ │ +001736c0: 7473 0a20 2063 6861 6e67 6564 5f77 6865  ts.  changed_whe
│ │ │ +001736d0: 6e3a 2066 616c 7365 0a20 2066 6169 6c65  n: false.  faile
│ │ │ +001736e0: 645f 7768 656e 3a20 736f 636b 6574 5f66  d_when: socket_f
│ │ │ +001736f0: 696c 655f 6578 6973 7473 2e72 6320 6e6f  ile_exists.rc no
│ │ │ +00173700: 7420 696e 205b 302c 2031 5d0a 2020 6368  t in [0, 1].  ch
│ │ │ +00173710: 6563 6b5f 6d6f 6465 3a20 6661 6c73 650a  eck_mode: false.
│ │ │ +00173720: 2020 7768 656e 3a20 2820 2261 7661 6869    when: ( "avahi
│ │ │ +00173730: 2d64 6165 6d6f 6e22 2069 6e20 616e 7369  -daemon" in ansi
│ │ │ +00173740: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ +00173750: 6573 2061 6e64 2022 6c69 6e75 782d 6261  es and "linux-ba
│ │ │ +00173760: 7365 2220 696e 2061 6e73 6962 6c65 5f66  se" in ansible_f
│ │ │ +00173770: 6163 7473 2e70 6163 6b61 6765 730a 2020  acts.packages.  
│ │ │ +00173780: 2020 290a 2020 7461 6773 3a0a 2020 2d20    ).  tags:.  - 
│ │ │ +00173790: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ +001737a0: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ +001737b0: 2d35 332d 434d 2d37 2861 290a 2020 2d20  -53-CM-7(a).  - 
│ │ │ +001737c0: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ +001737d0: 2862 290a 2020 2d20 5043 492d 4453 5376  (b).  - PCI-DSSv
│ │ │ +001737e0: 342d 322e 320a 2020 2d20 5043 492d 4453  4-2.2.  - PCI-DS
│ │ │ +001737f0: 5376 342d 322e 322e 340a 2020 2d20 6469  Sv4-2.2.4.  - di
│ │ │ +00173800: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ +00173810: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +00173820: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +00173830: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +00173840: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +00173850: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +00173860: 2d20 7365 7276 6963 655f 6176 6168 692d  - service_avahi-
│ │ │ +00173870: 6461 656d 6f6e 5f64 6973 6162 6c65 640a  daemon_disabled.
│ │ │ +00173880: 0a2d 206e 616d 653a 2044 6973 6162 6c65  .- name: Disable
│ │ │ +00173890: 2041 7661 6869 2053 6572 7665 7220 536f   Avahi Server So
│ │ │ +001738a0: 6674 7761 7265 202d 2044 6973 6162 6c65  ftware - Disable
│ │ │ +001738b0: 2053 6f63 6b65 7420 6176 6168 692d 6461   Socket avahi-da
│ │ │ +001738c0: 656d 6f6e 0a20 2061 6e73 6962 6c65 2e62  emon.  ansible.b
│ │ │ +001738d0: 7569 6c74 696e 2e73 7973 7465 6d64 3a0a  uiltin.systemd:.
│ │ │ +001738e0: 2020 2020 6e61 6d65 3a20 6176 6168 692d      name: avahi-
│ │ │ +001738f0: 6461 656d 6f6e 2e73 6f63 6b65 740a 2020  daemon.socket.  
│ │ │ +00173900: 2020 656e 6162 6c65 643a 2066 616c 7365    enabled: false
│ │ │ +00173910: 0a20 2020 2073 7461 7465 3a20 7374 6f70  .    state: stop
│ │ │ +00173920: 7065 640a 2020 2020 6d61 736b 6564 3a20  ped.    masked: 
│ │ │ +00173930: 7472 7565 0a20 2077 6865 6e3a 0a20 202d  true.  when:.  -
│ │ │ +00173940: 2028 2022 6176 6168 692d 6461 656d 6f6e   ( "avahi-daemon
│ │ │ +00173950: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ +00173960: 7473 2e70 6163 6b61 6765 7320 616e 6420  ts.packages and 
│ │ │ +00173970: 226c 696e 7578 2d62 6173 6522 2069 6e20  "linux-base" in 
│ │ │ +00173980: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ +00173990: 636b 6167 6573 0a20 2020 2029 0a20 202d  ckages.    ).  -
│ │ │ +001739a0: 2073 6f63 6b65 745f 6669 6c65 5f65 7869   socket_file_exi
│ │ │ +001739b0: 7374 732e 7374 646f 7574 5f6c 696e 6573  sts.stdout_lines
│ │ │ +001739c0: 2069 7320 7365 6172 6368 2822 6176 6168   is search("avah
│ │ │ +001739d0: 692d 6461 656d 6f6e 2e73 6f63 6b65 7422  i-daemon.socket"
│ │ │ +001739e0: 2c20 6d75 6c74 696c 696e 653d 5472 7565  , multiline=True
│ │ │ +001739f0: 290a 2020 7461 6773 3a0a 2020 2d20 4e49  ).  tags:.  - NI
│ │ │ +00173a00: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +00173a10: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +00173a20: 332d 434d 2d37 2861 290a 2020 2d20 4e49  3-CM-7(a).  - NI
│ │ │ +00173a30: 5354 2d38 3030 2d35 332d 434d 2d37 2862  ST-800-53-CM-7(b
│ │ │ +00173a40: 290a 2020 2d20 5043 492d 4453 5376 342d  ).  - PCI-DSSv4-
│ │ │ +00173a50: 322e 320a 2020 2d20 5043 492d 4453 5376  2.2.  - PCI-DSSv
│ │ │ +00173a60: 342d 322e 322e 340a 2020 2d20 6469 7361  4-2.2.4.  - disa
│ │ │ +00173a70: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +00173a80: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +00173a90: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +00173aa0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ +00173ab0: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +00173ac0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +00173ad0: 7365 7276 6963 655f 6176 6168 692d 6461  service_avahi-da
│ │ │ +00173ae0: 656d 6f6e 5f64 6973 6162 6c65 640a 3c2f  emon_disabled.
Remediation Kub │ │ │ +00173bb0: 6572 6e65 7465 7320 736e 6970 7065 7420 ernetes snippet │ │ │ +00173bc0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +00173c40: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
│ │ │ +00173c90: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 < │ │ │ +00173cc0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Co │ │ │ +00172f50: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +00172f80: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +00172fa0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +00172fb0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +00172fd0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +00172fe0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complexi │ │ │ +00173c50: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +00173c60: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:medium
Reb │ │ │ +00173ca0: 6f6f 743a 3c2f 7468 3e3c 7464 3e74 7275 oot:tru │ │ │ +00173cb0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

apiVers │ │ │ +00173d00: 696f 6e3a 206d 6163 6869 6e65 636f 6e66 ion: machineconf │ │ │ +00173d10: 6967 7572 6174 696f 6e2e 6f70 656e 7368 iguration.opensh │ │ │ +00173d20: 6966 742e 696f 2f76 310a 6b69 6e64 3a20 ift.io/v1.kind: │ │ │ +00173d30: 4d61 6368 696e 6543 6f6e 6669 670a 7370 MachineConfig.sp │ │ │ +00173d40: 6563 3a0a 2020 636f 6e66 6967 3a0a 2020 ec:. config:. │ │ │ +00173d50: 2020 6967 6e69 7469 6f6e 3a0a 2020 2020 ignition:. │ │ │ +00173d60: 2020 7665 7273 696f 6e3a 2033 2e31 2e30 version: 3.1.0 │ │ │ +00173d70: 0a20 2020 2073 7973 7465 6d64 3a0a 2020 . systemd:. │ │ │ +00173d80: 2020 2020 756e 6974 733a 0a20 2020 2020 units:. │ │ │ +00173d90: 202d 206e 616d 653a 2061 7661 6869 2d64 - name: avahi-d │ │ │ +00173da0: 6165 6d6f 6e2e 7365 7276 6963 650a 2020 aemon.service. │ │ │ +00173db0: 2020 2020 2020 656e 6162 6c65 643a 2066 enabled: f │ │ │ +00173dc0: 616c 7365 0a20 2020 2020 2020 206d 6173 alse. mas │ │ │ +00173dd0: 6b3a 2074 7275 650a 2020 2020 2020 2d20 k: true. - │ │ │ +00173de0: 6e61 6d65 3a20 6176 6168 692d 6461 656d name: avahi-daem │ │ │ +00173df0: 6f6e 2e73 6f63 6b65 740a 2020 2020 2020 on.socket. │ │ │ +00173e00: 2020 656e 6162 6c65 643a 2066 616c 7365 enabled: false │ │ │ +00173e10: 0a20 2020 2020 2020 206d 6173 6b3a 2074 . mask: t │ │ │ +00173e20: 7275 650a 3c2f 636f 6465 3e3c 2f70 7265 rue.

Remediati │ │ │ +00173ee0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ +00173ef0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +00173f30: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ +00173fa0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +00173fc0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +00173ff0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ +00174010: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ +00173f80: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +00173f90: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +00173fd0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +00173fe0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ +00174030: 6469 7361 626c 655f 6176 6168 692d 6461 disable_avahi-da │ │ │ +00174040: 656d 6f6e 0a0a 636c 6173 7320 6469 7361 emon..class disa │ │ │ +00174050: 626c 655f 6176 6168 692d 6461 656d 6f6e ble_avahi-daemon │ │ │ +00174060: 207b 0a20 2073 6572 7669 6365 207b 2761 {. service {'a │ │ │ +00174070: 7661 6869 2d64 6165 6d6f 6e27 3a0a 2020 vahi-daemon':. │ │ │ +00174080: 2020 656e 6162 6c65 203d 2667 743b 2066 enable => f │ │ │ +00174090: 616c 7365 2c0a 2020 2020 656e 7375 7265 alse,. ensure │ │ │ +001740a0: 203d 2667 743b 2027 7374 6f70 7065 6427 => 'stopped' │ │ │ +001740b0: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.< │ │ │ +001740c0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remed │ │ │ +00174170: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B │ │ │ +00174180: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet │ │ │ +00174190: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +001741d0: 7072 653e 3c63 6f64 653e 0a5b 6375 7374 pre>.[cust │ │ │ +001741e0: 6f6d 697a 6174 696f 6e73 2e73 6572 7669 omizations.servi │ │ │ +001741f0: 6365 735d 0a6d 6173 6b65 6420 3d20 5b22 ces].masked = [" │ │ │ +00174200: 6176 6168 692d 6461 656d 6f6e 225d 0a3c avahi-daemon"].< │ │ │ 00174210: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>Remediation O │ │ │ -0017d8d0: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint │ │ │ -0017d8e0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -0017d8f0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.[customizatio
│ │ │ -0017d940: 6e73 2e73 6572 7669 6365 735d 0a65 6e61  ns.services].ena
│ │ │ -0017d950: 626c 6564 203d 205b 2263 726f 6e22 5d0a  bled = ["cron"].
│ │ │ -0017d960: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation P │ │ │ -0017da20: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ -0017da30: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ -0017dac0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -0017dae0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -0017daf0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -0017db00: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -0017db10: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -0017db30: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
include enab
│ │ │ -0017db70: 6c65 5f63 726f 6e0a 0a63 6c61 7373 2065  le_cron..class e
│ │ │ -0017db80: 6e61 626c 655f 6372 6f6e 207b 0a20 2073  nable_cron {.  s
│ │ │ -0017db90: 6572 7669 6365 207b 2763 726f 6e27 3a0a  ervice {'cron':.
│ │ │ -0017dba0: 2020 2020 656e 6162 6c65 203d 2667 743b      enable =>
│ │ │ -0017dbb0: 2074 7275 652c 0a20 2020 2065 6e73 7572   true,.    ensur
│ │ │ -0017dbc0: 6520 3d26 6774 3b20 2772 756e 6e69 6e67  e => 'running
│ │ │ -0017dbd0: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │ -0017dbe0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ -0017dc90: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible │ │ │ -0017dca0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -0017dcb0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ -0017dd40: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
- 
│ │ │ -0017dde0: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ -0017ddf0: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ -0017de00: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ -0017de10: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ -0017de20: 6f0a 2020 7461 6773 3a0a 2020 2d20 4e49  o.  tags:.  - NI
│ │ │ -0017de30: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ -0017de40: 290a 2020 2d20 656e 6162 6c65 5f73 7472  ).  - enable_str
│ │ │ -0017de50: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ -0017de60: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -0017de70: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -0017de80: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ -0017de90: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -0017dea0: 6564 6564 0a20 202d 2073 6572 7669 6365  eded.  - service
│ │ │ -0017deb0: 5f63 726f 6e5f 656e 6162 6c65 640a 0a2d  _cron_enabled..-
│ │ │ -0017dec0: 206e 616d 653a 2045 6e61 626c 6520 6372   name: Enable cr
│ │ │ -0017ded0: 6f6e 2053 6572 7669 6365 202d 2045 6e61  on Service - Ena
│ │ │ -0017dee0: 626c 6520 7365 7276 6963 6520 6372 6f6e  ble service cron
│ │ │ -0017def0: 0a20 2062 6c6f 636b 3a0a 0a20 202d 206e  .  block:..  - n
│ │ │ -0017df00: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ -0017df10: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ -0017df20: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ -0017df30: 0a20 2020 2020 206d 616e 6167 6572 3a20  .      manager: 
│ │ │ -0017df40: 6175 746f 0a0a 2020 2d20 6e61 6d65 3a20  auto..  - name: 
│ │ │ -0017df50: 456e 6162 6c65 2063 726f 6e20 5365 7276  Enable cron Serv
│ │ │ -0017df60: 6963 6520 2d20 456e 6162 6c65 2053 6572  ice - Enable Ser
│ │ │ -0017df70: 7669 6365 2063 726f 6e0a 2020 2020 616e  vice cron.    an
│ │ │ -0017df80: 7369 626c 652e 6275 696c 7469 6e2e 7379  sible.builtin.sy
│ │ │ -0017df90: 7374 656d 643a 0a20 2020 2020 206e 616d  stemd:.      nam
│ │ │ -0017dfa0: 653a 2063 726f 6e0a 2020 2020 2020 656e  e: cron.      en
│ │ │ -0017dfb0: 6162 6c65 643a 2074 7275 650a 2020 2020  abled: true.    
│ │ │ -0017dfc0: 2020 7374 6174 653a 2073 7461 7274 6564    state: started
│ │ │ -0017dfd0: 0a20 2020 2020 206d 6173 6b65 643a 2066  .      masked: f
│ │ │ -0017dfe0: 616c 7365 0a20 2020 2077 6865 6e3a 0a20  alse.    when:. 
│ │ │ -0017dff0: 2020 202d 2027 2263 726f 6e22 2069 6e20     - '"cron" in 
│ │ │ -0017e000: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -0017e010: 636b 6167 6573 270a 2020 7768 656e 3a20  ckages'.  when: 
│ │ │ -0017e020: 2722 6c69 6e75 782d 6261 7365 2220 696e  '"linux-base" in
│ │ │ -0017e030: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ -0017e040: 6163 6b61 6765 7327 0a20 2074 6167 733a  ackages'.  tags:
│ │ │ -0017e050: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -0017e060: 2d43 4d2d 3628 6129 0a20 202d 2065 6e61  -CM-6(a).  - ena
│ │ │ -0017e070: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -0017e080: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -0017e090: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -0017e0a0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -0017e0b0: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -0017e0c0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -0017e0d0: 7365 7276 6963 655f 6372 6f6e 5f65 6e61  service_cron_ena
│ │ │ -0017e0e0: 626c 6564 0a3c 2f63 6f64 653e 3c2f 7072  bled.Remediation A
│ │ │ +0017d8d0: 6e73 6962 6c65 2073 6e69 7070 6574 20e2  nsible snippet .
│ │ │ +0017d8e0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063  ..
< │ │ │ +0017d960: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ +0017d9a0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 enable
│ │ │ -0017dd30: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -0017dd60: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -0017dd70: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -0017ddb0: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ -0017ddc0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexit │ │ │ +0017d970: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ +0017d990: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ +0017d9c0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +0017d9e0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
<
│ │ │ +0017da10: 636f 6465 3e2d 206e 616d 653a 2047 6174  code>- name: Gat
│ │ │ +0017da20: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ +0017da30: 6661 6374 730a 2020 7061 636b 6167 655f  facts.  package_
│ │ │ +0017da40: 6661 6374 733a 0a20 2020 206d 616e 6167  facts:.    manag
│ │ │ +0017da50: 6572 3a20 6175 746f 0a20 2074 6167 733a  er: auto.  tags:
│ │ │ +0017da60: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +0017da70: 2d43 4d2d 3628 6129 0a20 202d 2065 6e61  -CM-6(a).  - ena
│ │ │ +0017da80: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +0017da90: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +0017daa0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +0017dab0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ +0017dac0: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +0017dad0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +0017dae0: 7365 7276 6963 655f 6372 6f6e 5f65 6e61  service_cron_ena
│ │ │ +0017daf0: 626c 6564 0a0a 2d20 6e61 6d65 3a20 456e  bled..- name: En
│ │ │ +0017db00: 6162 6c65 2063 726f 6e20 5365 7276 6963  able cron Servic
│ │ │ +0017db10: 6520 2d20 456e 6162 6c65 2073 6572 7669  e - Enable servi
│ │ │ +0017db20: 6365 2063 726f 6e0a 2020 626c 6f63 6b3a  ce cron.  block:
│ │ │ +0017db30: 0a0a 2020 2d20 6e61 6d65 3a20 4761 7468  ..  - name: Gath
│ │ │ +0017db40: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ +0017db50: 6163 7473 0a20 2020 2070 6163 6b61 6765  acts.    package
│ │ │ +0017db60: 5f66 6163 7473 3a0a 2020 2020 2020 6d61  _facts:.      ma
│ │ │ +0017db70: 6e61 6765 723a 2061 7574 6f0a 0a20 202d  nager: auto..  -
│ │ │ +0017db80: 206e 616d 653a 2045 6e61 626c 6520 6372   name: Enable cr
│ │ │ +0017db90: 6f6e 2053 6572 7669 6365 202d 2045 6e61  on Service - Ena
│ │ │ +0017dba0: 626c 6520 5365 7276 6963 6520 6372 6f6e  ble Service cron
│ │ │ +0017dbb0: 0a20 2020 2061 6e73 6962 6c65 2e62 7569  .    ansible.bui
│ │ │ +0017dbc0: 6c74 696e 2e73 7973 7465 6d64 3a0a 2020  ltin.systemd:.  
│ │ │ +0017dbd0: 2020 2020 6e61 6d65 3a20 6372 6f6e 0a20      name: cron. 
│ │ │ +0017dbe0: 2020 2020 2065 6e61 626c 6564 3a20 7472       enabled: tr
│ │ │ +0017dbf0: 7565 0a20 2020 2020 2073 7461 7465 3a20  ue.      state: 
│ │ │ +0017dc00: 7374 6172 7465 640a 2020 2020 2020 6d61  started.      ma
│ │ │ +0017dc10: 736b 6564 3a20 6661 6c73 650a 2020 2020  sked: false.    
│ │ │ +0017dc20: 7768 656e 3a0a 2020 2020 2d20 2722 6372  when:.    - '"cr
│ │ │ +0017dc30: 6f6e 2220 696e 2061 6e73 6962 6c65 5f66  on" in ansible_f
│ │ │ +0017dc40: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ +0017dc50: 2077 6865 6e3a 2027 226c 696e 7578 2d62   when: '"linux-b
│ │ │ +0017dc60: 6173 6522 2069 6e20 616e 7369 626c 655f  ase" in ansible_
│ │ │ +0017dc70: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ +0017dc80: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ +0017dc90: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ +0017dca0: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ +0017dcb0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +0017dcc0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +0017dcd0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ +0017dce0: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ +0017dcf0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +0017dd00: 6564 0a20 202d 2073 6572 7669 6365 5f63  ed.  - service_c
│ │ │ +0017dd10: 726f 6e5f 656e 6162 6c65 640a 3c2f 636f  ron_enabled.
< │ │ │ +0017dd30: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +0017dd40: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +0017dd50: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +0017dd60: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +0017dd70: 646d 3231 3535 3022 2074 6162 696e 6465 dm21550" tabinde │ │ │ +0017dd80: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +0017dd90: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +0017dda0: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +0017ddb0: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +0017ddc0: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +0017ddd0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +0017dde0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity: │ │ │ +0017dec0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +0017ded0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ +0017df20: 696e 636c 7564 6520 656e 6162 6c65 5f63  include enable_c
│ │ │ +0017df30: 726f 6e0a 0a63 6c61 7373 2065 6e61 626c  ron..class enabl
│ │ │ +0017df40: 655f 6372 6f6e 207b 0a20 2073 6572 7669  e_cron {.  servi
│ │ │ +0017df50: 6365 207b 2763 726f 6e27 3a0a 2020 2020  ce {'cron':.    
│ │ │ +0017df60: 656e 6162 6c65 203d 2667 743b 2074 7275  enable => tru
│ │ │ +0017df70: 652c 0a20 2020 2065 6e73 7572 6520 3d26  e,.    ensure =&
│ │ │ +0017df80: 6774 3b20 2772 756e 6e69 6e67 272c 0a20  gt; 'running',. 
│ │ │ +0017df90: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.Remediat
│ │ │ +0017e050: 696f 6e20 4f53 4275 696c 6420 426c 7565  ion OSBuild Blue
│ │ │ +0017e060: 7072 696e 7420 736e 6970 7065 7420 e287  print snippet ..
│ │ │ +0017e070: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c  .
.[customi
│ │ │ +0017e0c0: 7a61 7469 6f6e 732e 7365 7276 6963 6573  zations.services
│ │ │ +0017e0d0: 5d0a 656e 6162 6c65 6420 3d20 5b22 6372  ].enabled = ["cr
│ │ │ +0017e0e0: 6f6e 225d 0a3c 2f63 6f64 653e 3c2f 7072  on"].
Remediatio │ │ │ -00198880: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ -00198890: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -001988d0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -001988e0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -001988f0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -00198900: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -00198910: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ -001989a0: 3c74 643e 6469 7361 626c 653c 2f74 643e │ │ │ -001989b0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
low
Disru │ │ │ +0017dea0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +0017deb0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +0017def0: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ +0017df00: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complex │ │ │ -00198920: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -00198930: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ -00198970: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -00198980: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
disable
include │ │ │ -001989d0: 7265 6d6f 7665 5f6e 6973 0a0a 636c 6173 remove_nis..clas │ │ │ -001989e0: 7320 7265 6d6f 7665 5f6e 6973 207b 0a20 s remove_nis {. │ │ │ -001989f0: 2070 6163 6b61 6765 207b 2027 6e69 7327 package { 'nis' │ │ │ -00198a00: 3a0a 2020 2020 656e 7375 7265 203d 2667 :. ensure =&g │ │ │ -00198a10: 743b 2027 7075 7267 6564 272c 0a20 207d t; 'purged',. } │ │ │ -00198a20: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}. │ │ │ -00198a30: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ -00198ae0: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ -00198af0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -00198b30: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -00198ba0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -00198bc0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -00198bf0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -00198b80: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -00198b90: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -00198bd0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -00198be0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

- name: │ │ │ -00198c30: 2045 6e73 7572 6520 6e69 7320 6973 2072 Ensure nis is r │ │ │ -00198c40: 656d 6f76 6564 0a20 2070 6163 6b61 6765 emoved. package │ │ │ -00198c50: 3a0a 2020 2020 6e61 6d65 3a20 6e69 730a :. name: nis. │ │ │ -00198c60: 2020 2020 7374 6174 653a 2061 6273 656e state: absen │ │ │ -00198c70: 740a 2020 7461 6773 3a0a 2020 2d20 6469 t. tags:. - di │ │ │ -00198c80: 7361 626c 655f 7374 7261 7465 6779 0a20 sable_strategy. │ │ │ -00198c90: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit │ │ │ -00198ca0: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup │ │ │ -00198cb0: 7469 6f6e 0a20 202d 206c 6f77 5f73 6576 tion. - low_sev │ │ │ -00198cc0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562 erity. - no_reb │ │ │ -00198cd0: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p │ │ │ -00198ce0: 6163 6b61 6765 5f6e 6973 5f72 656d 6f76 ackage_nis_remov │ │ │ -00198cf0: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e ed. │ │ │ +00198880: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ +00198890: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +001988d0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ +00198940: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +00198960: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +00198990: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ +00198920: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +00198930: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +00198970: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +00198980: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

- name: │ │ │ +001989d0: 2045 6e73 7572 6520 6e69 7320 6973 2072 Ensure nis is r │ │ │ +001989e0: 656d 6f76 6564 0a20 2070 6163 6b61 6765 emoved. package │ │ │ +001989f0: 3a0a 2020 2020 6e61 6d65 3a20 6e69 730a :. name: nis. │ │ │ +00198a00: 2020 2020 7374 6174 653a 2061 6273 656e state: absen │ │ │ +00198a10: 740a 2020 7461 6773 3a0a 2020 2d20 6469 t. tags:. - di │ │ │ +00198a20: 7361 626c 655f 7374 7261 7465 6779 0a20 sable_strategy. │ │ │ +00198a30: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit │ │ │ +00198a40: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup │ │ │ +00198a50: 7469 6f6e 0a20 202d 206c 6f77 5f73 6576 tion. - low_sev │ │ │ +00198a60: 6572 6974 790a 2020 2d20 6e6f 5f72 6562 erity. - no_reb │ │ │ +00198a70: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p │ │ │ +00198a80: 6163 6b61 6765 5f6e 6973 5f72 656d 6f76 ackage_nis_remov │ │ │ +00198a90: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e ed. │ │ │ +00198aa0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22

Remediatio │ │ │ +00198b50: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ +00198b60: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +00198ba0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +00198bb0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +00198bc0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +00198bd0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +00198be0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +00198bf0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +00198c00: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +00198c40: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +00198c50: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +00198c70: 3c74 643e 6469 7361 626c 653c 2f74 643e disable │ │ │ +00198c80: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 include │ │ │ +00198ca0: 7265 6d6f 7665 5f6e 6973 0a0a 636c 6173 remove_nis..clas │ │ │ +00198cb0: 7320 7265 6d6f 7665 5f6e 6973 207b 0a20 s remove_nis {. │ │ │ +00198cc0: 2070 6163 6b61 6765 207b 2027 6e69 7327 package { 'nis' │ │ │ +00198cd0: 3a0a 2020 2020 656e 7375 7265 203d 2667 :. ensure =&g │ │ │ +00198ce0: 743b 2027 7075 7267 6564 272c 0a20 207d t; 'purged',. } │ │ │ +00198cf0: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}. │ │ │ 00198d00: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remed │ │ │ -0019a840: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ -0019a850: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -0019a900: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -0019a950: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ -0019a990: 6c75 6465 2072 656d 6f76 655f 6973 632d  lude remove_isc-
│ │ │ -0019a9a0: 6468 6370 2d73 6572 7665 720a 0a63 6c61  dhcp-server..cla
│ │ │ -0019a9b0: 7373 2072 656d 6f76 655f 6973 632d 6468  ss remove_isc-dh
│ │ │ -0019a9c0: 6370 2d73 6572 7665 7220 7b0a 2020 7061  cp-server {.  pa
│ │ │ -0019a9d0: 636b 6167 6520 7b20 2769 7363 2d64 6863  ckage { 'isc-dhc
│ │ │ -0019a9e0: 702d 7365 7276 6572 273a 0a20 2020 2065  p-server':.    e
│ │ │ -0019a9f0: 6e73 7572 6520 3d26 6774 3b20 2770 7572  nsure => 'pur
│ │ │ -0019aa00: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ged',.  }.}.
< │ │ │ -0019aa20: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -0019aa30: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -0019aa40: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -0019aa50: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -0019aa60: 646d 3233 3334 3822 2074 6162 696e 6465 dm23348" tabinde │ │ │ -0019aa70: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -0019aa80: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -0019aa90: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -0019aaa0: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -0019aab0: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -0019aac0: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ -0019aad0: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
Co │ │ │ -0019a8e0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -0019a910: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -0019a930: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -0019a940: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -0019a960: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -0019a970: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
< │ │ │ -0019ab60: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -0019ab80: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -0019abd0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ -0019ac00: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Ensure
│ │ │ -0019ac20: 2069 7363 2d64 6863 702d 7365 7276 6572   isc-dhcp-server
│ │ │ -0019ac30: 2069 7320 7265 6d6f 7665 640a 2020 7061   is removed.  pa
│ │ │ -0019ac40: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ -0019ac50: 2069 7363 2d64 6863 702d 7365 7276 6572   isc-dhcp-server
│ │ │ -0019ac60: 0a20 2020 2073 7461 7465 3a20 6162 7365  .    state: abse
│ │ │ -0019ac70: 6e74 0a20 2074 6167 733a 0a20 202d 204e  nt.  tags:.  - N
│ │ │ -0019ac80: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -0019ac90: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ -0019aca0: 3533 2d43 4d2d 3728 6129 0a20 202d 204e  53-CM-7(a).  - N
│ │ │ -0019acb0: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ -0019acc0: 6229 0a20 202d 2050 4349 2d44 5353 7634  b).  - PCI-DSSv4
│ │ │ -0019acd0: 2d32 2e32 0a20 202d 2050 4349 2d44 5353  -2.2.  - PCI-DSS
│ │ │ -0019ace0: 7634 2d32 2e32 2e34 0a20 202d 2064 6973  v4-2.2.4.  - dis
│ │ │ -0019acf0: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -0019ad00: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -0019ad10: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -0019ad20: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ -0019ad30: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ -0019ad40: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -0019ad50: 2070 6163 6b61 6765 5f64 6863 705f 7265   package_dhcp_re
│ │ │ -0019ad60: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70  moved.

low
Disr │ │ │ -0019ab90: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -0019aba0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -0019abe0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ -0019abf0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
< │ │ │ +0019a8f0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +0019a900: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +0019a950: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ +0019a990: 6e61 6d65 3a20 456e 7375 7265 2069 7363  name: Ensure isc
│ │ │ +0019a9a0: 2d64 6863 702d 7365 7276 6572 2069 7320  -dhcp-server is 
│ │ │ +0019a9b0: 7265 6d6f 7665 640a 2020 7061 636b 6167  removed.  packag
│ │ │ +0019a9c0: 653a 0a20 2020 206e 616d 653a 2069 7363  e:.    name: isc
│ │ │ +0019a9d0: 2d64 6863 702d 7365 7276 6572 0a20 2020  -dhcp-server.   
│ │ │ +0019a9e0: 2073 7461 7465 3a20 6162 7365 6e74 0a20   state: absent. 
│ │ │ +0019a9f0: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ +0019aa00: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ +0019aa10: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +0019aa20: 4d2d 3728 6129 0a20 202d 204e 4953 542d  M-7(a).  - NIST-
│ │ │ +0019aa30: 3830 302d 3533 2d43 4d2d 3728 6229 0a20  800-53-CM-7(b). 
│ │ │ +0019aa40: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ +0019aa50: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ +0019aa60: 2e32 2e34 0a20 202d 2064 6973 6162 6c65  .2.4.  - disable
│ │ │ +0019aa70: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ +0019aa80: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ +0019aa90: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ +0019aaa0: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ +0019aab0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ +0019aac0: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ +0019aad0: 6b61 6765 5f64 6863 705f 7265 6d6f 7665  kage_dhcp_remove
│ │ │ +0019aae0: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +0019aaf0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +0019aba0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +0019abb0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +0019ac30: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ +0019acc0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +0019acd0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
C │ │ │ +0019a8e0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +0019a910: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +0019a920: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +0019a960: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ +0019a970: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexi │ │ │ +0019ac40: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +0019ac50: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ +0019ac90: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +0019aca0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
include r
│ │ │ +0019acf0: 656d 6f76 655f 6973 632d 6468 6370 2d73  emove_isc-dhcp-s
│ │ │ +0019ad00: 6572 7665 720a 0a63 6c61 7373 2072 656d  erver..class rem
│ │ │ +0019ad10: 6f76 655f 6973 632d 6468 6370 2d73 6572  ove_isc-dhcp-ser
│ │ │ +0019ad20: 7665 7220 7b0a 2020 7061 636b 6167 6520  ver {.  package 
│ │ │ +0019ad30: 7b20 2769 7363 2d64 6863 702d 7365 7276  { 'isc-dhcp-serv
│ │ │ +0019ad40: 6572 273a 0a20 2020 2065 6e73 7572 6520  er':.    ensure 
│ │ │ +0019ad50: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ +0019ad60: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remediat │ │ │ -0019c6a0: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ -0019c6b0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -0019c760: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -0019c780: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -0019c7b0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -0019c740: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -0019c750: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -0019c770: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -0019c790: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -0019c7a0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -0019c7e0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ -0019c7f0: 6520 7265 6d6f 7665 5f62 696e 6439 0a0a e remove_bind9.. │ │ │ -0019c800: 636c 6173 7320 7265 6d6f 7665 5f62 696e class remove_bin │ │ │ -0019c810: 6439 207b 0a20 2070 6163 6b61 6765 207b d9 {. package { │ │ │ -0019c820: 2027 6269 6e64 3927 3a0a 2020 2020 656e 'bind9':. en │ │ │ -0019c830: 7375 7265 203d 2667 743b 2027 7075 7267 sure => 'purg │ │ │ -0019c840: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Re │ │ │ -0019c900: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -0019c910: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
Complexity: │ │ │ -0019c9f0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -0019ca00: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
- name: Ensure 
│ │ │ -0019ca60: 6269 6e64 3920 6973 2072 656d 6f76 6564  bind9 is removed
│ │ │ -0019ca70: 0a20 2070 6163 6b61 6765 3a0a 2020 2020  .  package:.    
│ │ │ -0019ca80: 6e61 6d65 3a20 6269 6e64 390a 2020 2020  name: bind9.    
│ │ │ -0019ca90: 7374 6174 653a 2061 6273 656e 740a 2020  state: absent.  
│ │ │ -0019caa0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ -0019cab0: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ -0019cac0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -0019cad0: 2d37 2861 290a 2020 2d20 4e49 5354 2d38  -7(a).  - NIST-8
│ │ │ -0019cae0: 3030 2d35 332d 434d 2d37 2862 290a 2020  00-53-CM-7(b).  
│ │ │ -0019caf0: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ -0019cb00: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ -0019cb10: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -0019cb20: 7372 7570 7469 6f6e 0a20 202d 206c 6f77  sruption.  - low
│ │ │ -0019cb30: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -0019cb40: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -0019cb50: 202d 2070 6163 6b61 6765 5f62 696e 645f   - package_bind_
│ │ │ -0019cb60: 7265 6d6f 7665 640a 3c2f 636f 6465 3e3c  removed.<
│ │ │ +0019c6a0: 696f 6e20 416e 7369 626c 6520 736e 6970  ion Ansible snip
│ │ │ +0019c6b0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c  pet ...
< │ │ │ +0019c6c0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +0019c6d0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +0019c6e0: 7365 2220 6964 3d22 6964 6d32 3334 3337 se" id="idm23437 │ │ │ +0019c6f0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
low
Disru │ │ │ -0019c9d0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -0019c9e0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -0019ca20: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ -0019ca30: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Comp │ │ │ +0019c740: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +0019c750: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +0019c770: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +0019c790: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +0019c7a0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +0019c7e0: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ +0019c7f0: 653a 2045 6e73 7572 6520 6269 6e64 3920  e: Ensure bind9 
│ │ │ +0019c800: 6973 2072 656d 6f76 6564 0a20 2070 6163  is removed.  pac
│ │ │ +0019c810: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20  kage:.    name: 
│ │ │ +0019c820: 6269 6e64 390a 2020 2020 7374 6174 653a  bind9.    state:
│ │ │ +0019c830: 2061 6273 656e 740a 2020 7461 6773 3a0a   absent.  tags:.
│ │ │ +0019c840: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +0019c850: 434d 2d36 2861 290a 2020 2d20 4e49 5354  CM-6(a).  - NIST
│ │ │ +0019c860: 2d38 3030 2d35 332d 434d 2d37 2861 290a  -800-53-CM-7(a).
│ │ │ +0019c870: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +0019c880: 434d 2d37 2862 290a 2020 2d20 6469 7361  CM-7(b).  - disa
│ │ │ +0019c890: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +0019c8a0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +0019c8b0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +0019c8c0: 6f6e 0a20 202d 206c 6f77 5f73 6576 6572  on.  - low_sever
│ │ │ +0019c8d0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ +0019c8e0: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ +0019c8f0: 6b61 6765 5f62 696e 645f 7265 6d6f 7665  kage_bind_remove
│ │ │ +0019c900: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +0019c910: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +0019c9c0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +0019c9d0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +0019ca50: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +0019ca60: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +0019ca70: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +0019cab0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +0019cac0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +0019cae0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +0019caf0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include r
│ │ │ +0019cb10: 656d 6f76 655f 6269 6e64 390a 0a63 6c61  emove_bind9..cla
│ │ │ +0019cb20: 7373 2072 656d 6f76 655f 6269 6e64 3920  ss remove_bind9 
│ │ │ +0019cb30: 7b0a 2020 7061 636b 6167 6520 7b20 2762  {.  package { 'b
│ │ │ +0019cb40: 696e 6439 273a 0a20 2020 2065 6e73 7572  ind9':.    ensur
│ │ │ +0019cb50: 6520 3d26 6774 3b20 2770 7572 6765 6427  e => 'purged'
│ │ │ +0019cb60: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │  0019cb70: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Reme │ │ │ -0019e5a0: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -0019e5b0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -0019e650: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -0019e660: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -0019e6b0: 3c74 723e 3c74 683e 5374 7261 7465 6779
in
│ │ │ -0019e6f0: 636c 7564 6520 7265 6d6f 7665 5f76 7366  clude remove_vsf
│ │ │ -0019e700: 7470 640a 0a63 6c61 7373 2072 656d 6f76  tpd..class remov
│ │ │ -0019e710: 655f 7673 6674 7064 207b 0a20 2070 6163  e_vsftpd {.  pac
│ │ │ -0019e720: 6b61 6765 207b 2027 7673 6674 7064 273a  kage { 'vsftpd':
│ │ │ -0019e730: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ -0019e740: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a  ; 'purged',.  }.
│ │ │ -0019e750: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ -0019e760: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -0019e810: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ -0019e820: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -0019e860: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -0019e870: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -0019e880: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -0019e890: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -0019e8a0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ -0019e930: 3c74 643e 6469 7361 626c 653c 2f74 643e │ │ │ -0019e940: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
C │ │ │ -0019e640: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -0019e670: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -0019e680: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -0019e6c0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -0019e6d0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complex │ │ │ -0019e8b0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -0019e8c0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ -0019e900: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -0019e910: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
disable
- name: │ │ │ -0019e960: 456e 7375 7265 2076 7366 7470 6420 6973 Ensure vsftpd is │ │ │ -0019e970: 2072 656d 6f76 6564 0a20 2070 6163 6b61 removed. packa │ │ │ -0019e980: 6765 3a0a 2020 2020 6e61 6d65 3a20 7673 ge:. name: vs │ │ │ -0019e990: 6674 7064 0a20 2020 2073 7461 7465 3a20 ftpd. state: │ │ │ -0019e9a0: 6162 7365 6e74 0a20 2074 6167 733a 0a20 absent. tags:. │ │ │ -0019e9b0: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C │ │ │ -0019e9c0: 4d2d 3628 6129 0a20 202d 204e 4953 542d M-6(a). - NIST- │ │ │ -0019e9d0: 3830 302d 3533 2d43 4d2d 370a 2020 2d20 800-53-CM-7. - │ │ │ -0019e9e0: 4e49 5354 2d38 3030 2d35 332d 434d 2d37 NIST-800-53-CM-7 │ │ │ -0019e9f0: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800 │ │ │ -0019ea00: 2d35 332d 434d 2d37 2862 290a 2020 2d20 -53-CM-7(b). - │ │ │ -0019ea10: 4e49 5354 2d38 3030 2d35 332d 434d 2d37 NIST-800-53-CM-7 │ │ │ -0019ea20: 2e31 2869 6929 0a20 202d 204e 4953 542d .1(ii). - NIST- │ │ │ -0019ea30: 3830 302d 3533 2d49 412d 3528 3129 2863 800-53-IA-5(1)(c │ │ │ -0019ea40: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5 │ │ │ -0019ea50: 332d 4941 2d35 2831 292e 3128 7629 0a20 3-IA-5(1).1(v). │ │ │ -0019ea60: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat │ │ │ -0019ea70: 6567 790a 2020 2d20 6869 6768 5f73 6576 egy. - high_sev │ │ │ -0019ea80: 6572 6974 790a 2020 2d20 6c6f 775f 636f erity. - low_co │ │ │ -0019ea90: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low │ │ │ -0019eaa0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. - │ │ │ -0019eab0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed │ │ │ -0019eac0: 0a20 202d 2070 6163 6b61 6765 5f76 7366 . - package_vsf │ │ │ -0019ead0: 7470 645f 7265 6d6f 7665 640a 3c2f 636f tpd_removed.< │ │ │ +0019e5c0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ +0019e650: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
-
│ │ │ +0019e6f0: 206e 616d 653a 2045 6e73 7572 6520 7673   name: Ensure vs
│ │ │ +0019e700: 6674 7064 2069 7320 7265 6d6f 7665 640a  ftpd is removed.
│ │ │ +0019e710: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ +0019e720: 616d 653a 2076 7366 7470 640a 2020 2020  ame: vsftpd.    
│ │ │ +0019e730: 7374 6174 653a 2061 6273 656e 740a 2020  state: absent.  
│ │ │ +0019e740: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ +0019e750: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ +0019e760: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +0019e770: 2d37 0a20 202d 204e 4953 542d 3830 302d  -7.  - NIST-800-
│ │ │ +0019e780: 3533 2d43 4d2d 3728 6129 0a20 202d 204e  53-CM-7(a).  - N
│ │ │ +0019e790: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ +0019e7a0: 6229 0a20 202d 204e 4953 542d 3830 302d  b).  - NIST-800-
│ │ │ +0019e7b0: 3533 2d43 4d2d 372e 3128 6969 290a 2020  53-CM-7.1(ii).  
│ │ │ +0019e7c0: 2d20 4e49 5354 2d38 3030 2d35 332d 4941  - NIST-800-53-IA
│ │ │ +0019e7d0: 2d35 2831 2928 6329 0a20 202d 204e 4953  -5(1)(c).  - NIS
│ │ │ +0019e7e0: 542d 3830 302d 3533 2d49 412d 3528 3129  T-800-53-IA-5(1)
│ │ │ +0019e7f0: 2e31 2876 290a 2020 2d20 6469 7361 626c  .1(v).  - disabl
│ │ │ +0019e800: 655f 7374 7261 7465 6779 0a20 202d 2068  e_strategy.  - h
│ │ │ +0019e810: 6967 685f 7365 7665 7269 7479 0a20 202d  igh_severity.  -
│ │ │ +0019e820: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +0019e830: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +0019e840: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74  on.  - no_reboot
│ │ │ +0019e850: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ +0019e860: 6167 655f 7673 6674 7064 5f72 656d 6f76  age_vsftpd_remov
│ │ │ +0019e870: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e  ed.
│ │ │ +0019e880: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediatio │ │ │ +0019e930: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ +0019e940: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +0019e980: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +0019e990: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +0019e9a0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +0019e9b0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +0019e9c0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ +0019ea50: 3c74 643e 6469 7361 626c 653c 2f74 643e │ │ │ +0019ea60: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
│ │ │ +0019e640: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +0019e670: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +0019e680: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +0019e6c0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +0019e6d0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complex │ │ │ +0019e9d0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +0019e9e0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ +0019ea20: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +0019ea30: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
disable
include │ │ │ +0019ea80: 7265 6d6f 7665 5f76 7366 7470 640a 0a63 remove_vsftpd..c │ │ │ +0019ea90: 6c61 7373 2072 656d 6f76 655f 7673 6674 lass remove_vsft │ │ │ +0019eaa0: 7064 207b 0a20 2070 6163 6b61 6765 207b pd {. package { │ │ │ +0019eab0: 2027 7673 6674 7064 273a 0a20 2020 2065 'vsftpd':. e │ │ │ +0019eac0: 6e73 7572 6520 3d26 6774 3b20 2770 7572 nsure => 'pur │ │ │ +0019ead0: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f ged',. }.}.
< │ │ │ 0019eaf0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 0019eb00: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 0019eb10: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 0019eb20: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 0019eb30: 646d 3233 3535 3222 2074 6162 696e 6465 dm23552" tabinde │ │ │ 0019eb40: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ @@ -106555,92 +106555,92 @@ │ │ │ 001a03a0: 6174 612d 7461 7267 6574 3d22 2369 646d ata-target="#idm │ │ │ 001a03b0: 3233 3637 3622 2074 6162 696e 6465 783d 23676" tabindex= │ │ │ 001a03c0: 2230 2220 726f 6c65 3d22 6275 7474 6f6e "0" role="button │ │ │ 001a03d0: 2220 6172 6961 2d65 7870 616e 6465 643d " aria-expanded= │ │ │ 001a03e0: 2266 616c 7365 2220 7469 746c 653d 2241 "false" title="A │ │ │ 001a03f0: 6374 6976 6174 6520 746f 2072 6576 6561 ctivate to revea │ │ │ 001a0400: 6c22 2068 7265 663d 2223 2122 3e52 656d l" href="#!">Rem │ │ │ -001a0410: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ -001a0420: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -001a0430: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ -001a04c0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
i
│ │ │ -001a0560: 6e63 6c75 6465 2072 656d 6f76 655f 6170  nclude remove_ap
│ │ │ -001a0570: 6163 6865 320a 0a63 6c61 7373 2072 656d  ache2..class rem
│ │ │ -001a0580: 6f76 655f 6170 6163 6865 3220 7b0a 2020  ove_apache2 {.  
│ │ │ -001a0590: 7061 636b 6167 6520 7b20 2761 7061 6368  package { 'apach
│ │ │ -001a05a0: 6532 273a 0a20 2020 2065 6e73 7572 6520  e2':.    ensure 
│ │ │ -001a05b0: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ -001a05c0: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ -001a0680: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ -001a0690: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001a06a0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ -001a04b0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -001a04e0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -001a04f0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -001a0530: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ -001a0540: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Com │ │ │ -001a0720: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -001a0750: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -001a0770: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -001a0780: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -001a07a0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -001a07b0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -001a07d0: 6d65 3a20 456e 7375 7265 2061 7061 6368  me: Ensure apach
│ │ │ -001a07e0: 6532 2069 7320 7265 6d6f 7665 640a 2020  e2 is removed.  
│ │ │ -001a07f0: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ -001a0800: 653a 2061 7061 6368 6532 0a20 2020 2073  e: apache2.    s
│ │ │ -001a0810: 7461 7465 3a20 6162 7365 6e74 0a20 2074  tate: absent.  t
│ │ │ -001a0820: 6167 733a 0a20 202d 204e 4953 542d 3830  ags:.  - NIST-80
│ │ │ -001a0830: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ -001a0840: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -001a0850: 3728 6129 0a20 202d 204e 4953 542d 3830  7(a).  - NIST-80
│ │ │ -001a0860: 302d 3533 2d43 4d2d 3728 6229 0a20 202d  0-53-CM-7(b).  -
│ │ │ -001a0870: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ -001a0880: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -001a0890: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -001a08a0: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72  ruption.  - no_r
│ │ │ -001a08b0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -001a08c0: 2070 6163 6b61 6765 5f68 7474 7064 5f72   package_httpd_r
│ │ │ -001a08d0: 656d 6f76 6564 0a20 202d 2075 6e6b 6e6f  emoved.  - unkno
│ │ │ -001a08e0: 776e 5f73 6576 6572 6974 790a 3c2f 636f  wn_severity.
│ │ │ +001a0430: 3c62 723e 3c64 6976 2063 6c61 7373 3d22  
< │ │ │ +001a0500: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +001a0510: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +001a0560: 2d20 6e61 6d65 3a20 456e 7375 7265 2061  - name: Ensure a
│ │ │ +001a0570: 7061 6368 6532 2069 7320 7265 6d6f 7665  pache2 is remove
│ │ │ +001a0580: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ +001a0590: 206e 616d 653a 2061 7061 6368 6532 0a20   name: apache2. 
│ │ │ +001a05a0: 2020 2073 7461 7465 3a20 6162 7365 6e74     state: absent
│ │ │ +001a05b0: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ +001a05c0: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ +001a05d0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +001a05e0: 2d43 4d2d 3728 6129 0a20 202d 204e 4953  -CM-7(a).  - NIS
│ │ │ +001a05f0: 542d 3830 302d 3533 2d43 4d2d 3728 6229  T-800-53-CM-7(b)
│ │ │ +001a0600: 0a20 202d 2064 6973 6162 6c65 5f73 7472  .  - disable_str
│ │ │ +001a0610: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ +001a0620: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +001a0630: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +001a0640: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +001a0650: 0a20 202d 2070 6163 6b61 6765 5f68 7474  .  - package_htt
│ │ │ +001a0660: 7064 5f72 656d 6f76 6564 0a20 202d 2075  pd_removed.  - u
│ │ │ +001a0670: 6e6b 6e6f 776e 5f73 6576 6572 6974 790a  nknown_severity.
│ │ │ +001a0680: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation P │ │ │ +001a0740: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ +001a0750: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ +001a0810: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001a0820: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
Complexity:low
Disrup │ │ │ +001a04e0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +001a04f0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +001a0530: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +001a0540: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity │ │ │ +001a07e0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ +001a0800: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ +001a0830: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ +001a0850: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ +001a0880: 636f 6465 3e69 6e63 6c75 6465 2072 656d  code>include rem
│ │ │ +001a0890: 6f76 655f 6170 6163 6865 320a 0a63 6c61  ove_apache2..cla
│ │ │ +001a08a0: 7373 2072 656d 6f76 655f 6170 6163 6865  ss remove_apache
│ │ │ +001a08b0: 3220 7b0a 2020 7061 636b 6167 6520 7b20  2 {.  package { 
│ │ │ +001a08c0: 2761 7061 6368 6532 273a 0a20 2020 2065  'apache2':.    e
│ │ │ +001a08d0: 6e73 7572 6520 3d26 6774 3b20 2770 7572  nsure => 'pur
│ │ │ +001a08e0: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ged',.  }.}.
< │ │ │ 001a0900: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 001a0910: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 001a0920: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 001a0930: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 001a0940: 646d 3233 3637 3822 2074 6162 696e 6465 dm23678" tabinde │ │ │ 001a0950: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ @@ -106948,91 +106948,91 @@ │ │ │ 001a1c30: 6172 6765 743d 2223 6964 6d32 3337 3536 arget="#idm23756 │ │ │ 001a1c40: 2220 7461 6269 6e64 6578 3d22 3022 2072 " tabindex="0" r │ │ │ 001a1c50: 6f6c 653d 2262 7574 746f 6e22 2061 7269 ole="button" ari │ │ │ 001a1c60: 612d 6578 7061 6e64 6564 3d22 6661 6c73 a-expanded="fals │ │ │ 001a1c70: 6522 2074 6974 6c65 3d22 4163 7469 7661 e" title="Activa │ │ │ 001a1c80: 7465 2074 6f20 7265 7665 616c 2220 6872 te to reveal" hr │ │ │ 001a1c90: 6566 3d22 2321 223e 5265 6d65 6469 6174 ef="#!">Remediat │ │ │ -001a1ca0: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ -001a1cb0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001a1d60: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -001a1d80: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -001a1db0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -001a1d40: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -001a1d50: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -001a1d70: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -001a1d90: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -001a1da0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -001a1de0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ -001a1df0: 6520 7265 6d6f 7665 5f6e 6769 6e78 0a0a e remove_nginx.. │ │ │ -001a1e00: 636c 6173 7320 7265 6d6f 7665 5f6e 6769 class remove_ngi │ │ │ -001a1e10: 6e78 207b 0a20 2070 6163 6b61 6765 207b nx {. package { │ │ │ -001a1e20: 2027 6e67 696e 7827 3a0a 2020 2020 656e 'nginx':. en │ │ │ -001a1e30: 7375 7265 203d 2667 743b 2027 7075 7267 sure => 'purg │ │ │ -001a1e40: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Re │ │ │ -001a1f00: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -001a1f10: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
Complexity: │ │ │ -001a1ff0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -001a2000: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
- name: Ensure 
│ │ │ -001a2060: 6e67 696e 7820 6973 2072 656d 6f76 6564  nginx is removed
│ │ │ -001a2070: 0a20 2070 6163 6b61 6765 3a0a 2020 2020  .  package:.    
│ │ │ -001a2080: 6e61 6d65 3a20 6e67 696e 780a 2020 2020  name: nginx.    
│ │ │ -001a2090: 7374 6174 653a 2061 6273 656e 740a 2020  state: absent.  
│ │ │ -001a20a0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ -001a20b0: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ -001a20c0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -001a20d0: 2d37 2861 290a 2020 2d20 4e49 5354 2d38  -7(a).  - NIST-8
│ │ │ -001a20e0: 3030 2d35 332d 434d 2d37 2862 290a 2020  00-53-CM-7(b).  
│ │ │ -001a20f0: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ -001a2100: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ -001a2110: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -001a2120: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f  sruption.  - no_
│ │ │ -001a2130: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -001a2140: 2d20 7061 636b 6167 655f 6e67 696e 785f  - package_nginx_
│ │ │ -001a2150: 7265 6d6f 7665 640a 2020 2d20 756e 6b6e  removed.  - unkn
│ │ │ -001a2160: 6f77 6e5f 7365 7665 7269 7479 0a3c 2f63  own_severity.
< │ │ │ +001a1cc0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001a1cd0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001a1ce0: 7365 2220 6964 3d22 6964 6d32 3337 3536 se" id="idm23756 │ │ │ +001a1cf0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
low
Disru │ │ │ -001a1fd0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -001a1fe0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -001a2020: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ -001a2030: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Comp │ │ │ +001a1d40: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +001a1d50: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +001a1d70: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +001a1d90: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +001a1da0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +001a1de0: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ +001a1df0: 653a 2045 6e73 7572 6520 6e67 696e 7820  e: Ensure nginx 
│ │ │ +001a1e00: 6973 2072 656d 6f76 6564 0a20 2070 6163  is removed.  pac
│ │ │ +001a1e10: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20  kage:.    name: 
│ │ │ +001a1e20: 6e67 696e 780a 2020 2020 7374 6174 653a  nginx.    state:
│ │ │ +001a1e30: 2061 6273 656e 740a 2020 7461 6773 3a0a   absent.  tags:.
│ │ │ +001a1e40: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001a1e50: 434d 2d36 2861 290a 2020 2d20 4e49 5354  CM-6(a).  - NIST
│ │ │ +001a1e60: 2d38 3030 2d35 332d 434d 2d37 2861 290a  -800-53-CM-7(a).
│ │ │ +001a1e70: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001a1e80: 434d 2d37 2862 290a 2020 2d20 6469 7361  CM-7(b).  - disa
│ │ │ +001a1e90: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +001a1ea0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +001a1eb0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +001a1ec0: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74  on.  - no_reboot
│ │ │ +001a1ed0: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ +001a1ee0: 6167 655f 6e67 696e 785f 7265 6d6f 7665  age_nginx_remove
│ │ │ +001a1ef0: 640a 2020 2d20 756e 6b6e 6f77 6e5f 7365  d.  - unknown_se
│ │ │ +001a1f00: 7665 7269 7479 0a3c 2f63 6f64 653e 3c2f  verity.
Remedi │ │ │ +001a1fc0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ +001a1fd0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +001a1fe0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +001a2060: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +001a2090: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +001a20b0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +001a20c0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +001a20e0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +001a20f0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +001a2110: 7564 6520 7265 6d6f 7665 5f6e 6769 6e78  ude remove_nginx
│ │ │ +001a2120: 0a0a 636c 6173 7320 7265 6d6f 7665 5f6e  ..class remove_n
│ │ │ +001a2130: 6769 6e78 207b 0a20 2070 6163 6b61 6765  ginx {.  package
│ │ │ +001a2140: 207b 2027 6e67 696e 7827 3a0a 2020 2020   { 'nginx':.    
│ │ │ +001a2150: 656e 7375 7265 203d 2667 743b 2027 7075  ensure => 'pu
│ │ │ +001a2160: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63  rged',.  }.}.
│ │ │ 001a2180: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Remediat │ │ │ -001a3420: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ -001a3430: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001a34e0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -001a3500: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -001a3530: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -001a34c0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -001a34d0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -001a34f0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -001a3510: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -001a3520: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -001a3560: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ -001a3570: 6520 7265 6d6f 7665 5f63 7972 7573 2d69 e remove_cyrus-i │ │ │ -001a3580: 6d61 7064 0a0a 636c 6173 7320 7265 6d6f mapd..class remo │ │ │ -001a3590: 7665 5f63 7972 7573 2d69 6d61 7064 207b ve_cyrus-imapd { │ │ │ -001a35a0: 0a20 2070 6163 6b61 6765 207b 2027 6379 . package { 'cy │ │ │ -001a35b0: 7275 732d 696d 6170 6427 3a0a 2020 2020 rus-imapd':. │ │ │ -001a35c0: 656e 7375 7265 203d 2667 743b 2027 7075 ensure => 'pu │ │ │ -001a35d0: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63 rged',. }.}.
│ │ │ -001a35f0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ -001a3690: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi │ │ │ -001a36a0: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...< │ │ │ -001a36b0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -001a3730: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -001a3750: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -001a37a0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -001a37d0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -001a3740: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -001a3760: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -001a37b0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -001a37c0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
- name: Ensur
│ │ │ -001a37f0: 6520 6379 7275 732d 696d 6170 6420 6973  e cyrus-imapd is
│ │ │ -001a3800: 2072 656d 6f76 6564 0a20 2070 6163 6b61   removed.  packa
│ │ │ -001a3810: 6765 3a0a 2020 2020 6e61 6d65 3a20 6379  ge:.    name: cy
│ │ │ -001a3820: 7275 732d 696d 6170 640a 2020 2020 7374  rus-imapd.    st
│ │ │ -001a3830: 6174 653a 2061 6273 656e 740a 2020 7461  ate: absent.  ta
│ │ │ -001a3840: 6773 3a0a 2020 2d20 6469 7361 626c 655f  gs:.  - disable_
│ │ │ -001a3850: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -001a3860: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -001a3870: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -001a3880: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -001a3890: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ -001a38a0: 6379 7275 732d 696d 6170 645f 7265 6d6f  cyrus-imapd_remo
│ │ │ -001a38b0: 7665 640a 2020 2d20 756e 6b6e 6f77 6e5f  ved.  - unknown_
│ │ │ -001a38c0: 7365 7665 7269 7479 0a3c 2f63 6f64 653e  severity.
│ │ │ +001a3420: 696f 6e20 416e 7369 626c 6520 736e 6970  ion Ansible snip
│ │ │ +001a3430: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c  pet ...
< │ │ │ +001a3440: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001a3450: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001a3460: 7365 2220 6964 3d22 6964 6d32 3337 3737 se" id="idm23777 │ │ │ +001a3470: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ +001a34c0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +001a34d0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +001a34f0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +001a3510: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +001a3520: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +001a3560: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ +001a3570: 653a 2045 6e73 7572 6520 6379 7275 732d  e: Ensure cyrus-
│ │ │ +001a3580: 696d 6170 6420 6973 2072 656d 6f76 6564  imapd is removed
│ │ │ +001a3590: 0a20 2070 6163 6b61 6765 3a0a 2020 2020  .  package:.    
│ │ │ +001a35a0: 6e61 6d65 3a20 6379 7275 732d 696d 6170  name: cyrus-imap
│ │ │ +001a35b0: 640a 2020 2020 7374 6174 653a 2061 6273  d.    state: abs
│ │ │ +001a35c0: 656e 740a 2020 7461 6773 3a0a 2020 2d20  ent.  tags:.  - 
│ │ │ +001a35d0: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ +001a35e0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +001a35f0: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +001a3600: 7570 7469 6f6e 0a20 202d 206e 6f5f 7265  uption.  - no_re
│ │ │ +001a3610: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +001a3620: 7061 636b 6167 655f 6379 7275 732d 696d  package_cyrus-im
│ │ │ +001a3630: 6170 645f 7265 6d6f 7665 640a 2020 2d20  apd_removed.  - 
│ │ │ +001a3640: 756e 6b6e 6f77 6e5f 7365 7665 7269 7479  unknown_severity
│ │ │ +001a3650: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +001a3710: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +001a3720: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ +001a37a0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +001a37b0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +001a37d0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +001a37e0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +001a3800: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +001a3820: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ +001a3850: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ +001a3860: 6d6f 7665 5f63 7972 7573 2d69 6d61 7064  move_cyrus-imapd
│ │ │ +001a3870: 0a0a 636c 6173 7320 7265 6d6f 7665 5f63  ..class remove_c
│ │ │ +001a3880: 7972 7573 2d69 6d61 7064 207b 0a20 2070  yrus-imapd {.  p
│ │ │ +001a3890: 6163 6b61 6765 207b 2027 6379 7275 732d  ackage { 'cyrus-
│ │ │ +001a38a0: 696d 6170 6427 3a0a 2020 2020 656e 7375  imapd':.    ensu
│ │ │ +001a38b0: 7265 203d 2667 743b 2027 7075 7267 6564  re => 'purged
│ │ │ +001a38c0: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │  001a38d0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ -001a4780: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -001a4790: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -001a4830: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001a4840: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -001a4890: 3c74 723e 3c74 683e 5374 7261 7465 6779
in
│ │ │ -001a48d0: 636c 7564 6520 7265 6d6f 7665 5f64 6f76  clude remove_dov
│ │ │ -001a48e0: 6563 6f74 2d63 6f72 650a 0a63 6c61 7373  ecot-core..class
│ │ │ -001a48f0: 2072 656d 6f76 655f 646f 7665 636f 742d   remove_dovecot-
│ │ │ -001a4900: 636f 7265 207b 0a20 2070 6163 6b61 6765  core {.  package
│ │ │ -001a4910: 207b 2027 646f 7665 636f 742d 636f 7265   { 'dovecot-core
│ │ │ -001a4920: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ -001a4930: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ -001a4940: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ -001a4a00: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -001a4a10: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
C │ │ │ -001a4820: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -001a4850: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -001a4860: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -001a48a0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -001a48b0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
│ │ │ -001a4ac0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -001a4ae0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -001a4b10: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -001a4aa0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -001a4ab0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -001a4ad0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -001a4af0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -001a4b00: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -001a4b40: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -001a4b50: 3a20 456e 7375 7265 2064 6f76 6563 6f74 : Ensure dovecot │ │ │ -001a4b60: 2d63 6f72 6520 6973 2072 656d 6f76 6564 -core is removed │ │ │ -001a4b70: 0a20 2070 6163 6b61 6765 3a0a 2020 2020 . package:. │ │ │ -001a4b80: 6e61 6d65 3a20 646f 7665 636f 742d 636f name: dovecot-co │ │ │ -001a4b90: 7265 0a20 2020 2073 7461 7465 3a20 6162 re. state: ab │ │ │ -001a4ba0: 7365 6e74 0a20 2074 6167 733a 0a20 202d sent. tags:. - │ │ │ -001a4bb0: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg │ │ │ -001a4bc0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple │ │ │ -001a4bd0: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis │ │ │ -001a4be0: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72 ruption. - no_r │ │ │ -001a4bf0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. - │ │ │ -001a4c00: 2070 6163 6b61 6765 5f64 6f76 6563 6f74 package_dovecot │ │ │ -001a4c10: 5f72 656d 6f76 6564 0a20 202d 2075 6e6b _removed. - unk │ │ │ -001a4c20: 6e6f 776e 5f73 6576 6572 6974 790a 3c2f nown_severity.< │ │ │ +001a47a0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ +001a4830: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
-
│ │ │ +001a48d0: 206e 616d 653a 2045 6e73 7572 6520 646f   name: Ensure do
│ │ │ +001a48e0: 7665 636f 742d 636f 7265 2069 7320 7265  vecot-core is re
│ │ │ +001a48f0: 6d6f 7665 640a 2020 7061 636b 6167 653a  moved.  package:
│ │ │ +001a4900: 0a20 2020 206e 616d 653a 2064 6f76 6563  .    name: dovec
│ │ │ +001a4910: 6f74 2d63 6f72 650a 2020 2020 7374 6174  ot-core.    stat
│ │ │ +001a4920: 653a 2061 6273 656e 740a 2020 7461 6773  e: absent.  tags
│ │ │ +001a4930: 3a0a 2020 2d20 6469 7361 626c 655f 7374  :.  - disable_st
│ │ │ +001a4940: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +001a4950: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +001a4960: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +001a4970: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +001a4980: 640a 2020 2d20 7061 636b 6167 655f 646f  d.  - package_do
│ │ │ +001a4990: 7665 636f 745f 7265 6d6f 7665 640a 2020  vecot_removed.  
│ │ │ +001a49a0: 2d20 756e 6b6e 6f77 6e5f 7365 7665 7269  - unknown_severi
│ │ │ +001a49b0: 7479 0a3c 2f63 6f64 653e 3c2f 7072 653e  ty.
│ │ │ +001a49c0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediatio │ │ │ +001a4a70: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ +001a4a80: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +001a4ac0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +001a4ad0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +001a4ae0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +001a4af0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +001a4b00: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ +001a4b90: 3c74 643e 6469 7361 626c 653c 2f74 643e │ │ │ +001a4ba0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
│ │ │ +001a4820: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +001a4850: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +001a4860: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +001a48a0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +001a48b0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complex │ │ │ +001a4b10: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +001a4b20: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ +001a4b60: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +001a4b70: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
disable
include │ │ │ +001a4bc0: 7265 6d6f 7665 5f64 6f76 6563 6f74 2d63 remove_dovecot-c │ │ │ +001a4bd0: 6f72 650a 0a63 6c61 7373 2072 656d 6f76 ore..class remov │ │ │ +001a4be0: 655f 646f 7665 636f 742d 636f 7265 207b e_dovecot-core { │ │ │ +001a4bf0: 0a20 2070 6163 6b61 6765 207b 2027 646f . package { 'do │ │ │ +001a4c00: 7665 636f 742d 636f 7265 273a 0a20 2020 vecot-core':. │ │ │ +001a4c10: 2065 6e73 7572 6520 3d26 6774 3b20 2770 ensure => 'p │ │ │ +001a4c20: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f urged',. }.}.
Reme │ │ │ -001a62b0: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -001a62c0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -001a6360: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001a6370: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -001a63c0: 3c74 723e 3c74 683e 5374 7261 7465 6779
in
│ │ │ -001a6400: 636c 7564 6520 7265 6d6f 7665 5f6c 6461  clude remove_lda
│ │ │ -001a6410: 702d 7574 696c 730a 0a63 6c61 7373 2072  p-utils..class r
│ │ │ -001a6420: 656d 6f76 655f 6c64 6170 2d75 7469 6c73  emove_ldap-utils
│ │ │ -001a6430: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ -001a6440: 6c64 6170 2d75 7469 6c73 273a 0a20 2020  ldap-utils':.   
│ │ │ -001a6450: 2065 6e73 7572 6520 3d26 6774 3b20 2770   ensure => 'p
│ │ │ -001a6460: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f  urged',.  }.}.
Remediation Ans │ │ │ -001a6530: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -001a6540: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low< │ │ │ -001a6610: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>
C │ │ │ -001a6350: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -001a6380: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -001a6390: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -001a63d0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -001a63e0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexity: │ │ │ -001a65d0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ -001a65f0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ -001a6640: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -001a6650: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Ensu
│ │ │ -001a6680: 7265 206c 6461 702d 7574 696c 7320 6973  re ldap-utils is
│ │ │ -001a6690: 2072 656d 6f76 6564 0a20 2070 6163 6b61   removed.  packa
│ │ │ -001a66a0: 6765 3a0a 2020 2020 6e61 6d65 3a20 6c64  ge:.    name: ld
│ │ │ -001a66b0: 6170 2d75 7469 6c73 0a20 2020 2073 7461  ap-utils.    sta
│ │ │ -001a66c0: 7465 3a20 6162 7365 6e74 0a20 2074 6167  te: absent.  tag
│ │ │ -001a66d0: 733a 0a20 202d 2064 6973 6162 6c65 5f73  s:.  - disable_s
│ │ │ -001a66e0: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ -001a66f0: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -001a6700: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -001a6710: 2d20 6c6f 775f 7365 7665 7269 7479 0a20  - low_severity. 
│ │ │ -001a6720: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -001a6730: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ -001a6740: 6f70 656e 6c64 6170 2d63 6c69 656e 7473  openldap-clients
│ │ │ -001a6750: 5f72 656d 6f76 6564 0a3c 2f63 6f64 653e  _removed.
│ │ │ +001a62b0: 6469 6174 696f 6e20 416e 7369 626c 6520  diation Ansible 
│ │ │ +001a62c0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c  snippet ...<
│ │ │ +001a62d0: 6272 3e3c 6469 7620 636c 6173 733d 2270  br>
│ │ │ +001a6360: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
-
│ │ │ +001a6400: 206e 616d 653a 2045 6e73 7572 6520 6c64   name: Ensure ld
│ │ │ +001a6410: 6170 2d75 7469 6c73 2069 7320 7265 6d6f  ap-utils is remo
│ │ │ +001a6420: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ +001a6430: 2020 206e 616d 653a 206c 6461 702d 7574     name: ldap-ut
│ │ │ +001a6440: 696c 730a 2020 2020 7374 6174 653a 2061  ils.    state: a
│ │ │ +001a6450: 6273 656e 740a 2020 7461 6773 3a0a 2020  bsent.  tags:.  
│ │ │ +001a6460: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ +001a6470: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +001a6480: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +001a6490: 7372 7570 7469 6f6e 0a20 202d 206c 6f77  sruption.  - low
│ │ │ +001a64a0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +001a64b0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +001a64c0: 202d 2070 6163 6b61 6765 5f6f 7065 6e6c   - package_openl
│ │ │ +001a64d0: 6461 702d 636c 6965 6e74 735f 7265 6d6f  dap-clients_remo
│ │ │ +001a64e0: 7665 640a 3c2f 636f 6465 3e3c 2f70 7265  ved.
Remediati │ │ │ +001a65a0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ +001a65b0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +001a65f0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
│ │ │ +001a6350: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +001a6380: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +001a6390: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +001a63d0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +001a63e0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ +001a6660: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +001a6680: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +001a66b0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ +001a6640: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +001a6650: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +001a6690: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +001a66a0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ +001a66f0: 2072 656d 6f76 655f 6c64 6170 2d75 7469 remove_ldap-uti │ │ │ +001a6700: 6c73 0a0a 636c 6173 7320 7265 6d6f 7665 ls..class remove │ │ │ +001a6710: 5f6c 6461 702d 7574 696c 7320 7b0a 2020 _ldap-utils {. │ │ │ +001a6720: 7061 636b 6167 6520 7b20 276c 6461 702d package { 'ldap- │ │ │ +001a6730: 7574 696c 7327 3a0a 2020 2020 656e 7375 utils':. ensu │ │ │ +001a6740: 7265 203d 2667 743b 2027 7075 7267 6564 re => 'purged │ │ │ +001a6750: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e ',. }.}. │ │ │ 001a6760: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063

Re │ │ │ -001a7cb0: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -001a7cc0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -001a7cd0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -001a7da0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -001a7db0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -001a7e00: 696e 636c 7564 6520 7265 6d6f 7665 5f73  include remove_s
│ │ │ -001a7e10: 6c61 7064 0a0a 636c 6173 7320 7265 6d6f  lapd..class remo
│ │ │ -001a7e20: 7665 5f73 6c61 7064 207b 0a20 2070 6163  ve_slapd {.  pac
│ │ │ -001a7e30: 6b61 6765 207b 2027 736c 6170 6427 3a0a  kage { 'slapd':.
│ │ │ -001a7e40: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -001a7e50: 2027 7075 7267 6564 272c 0a20 207d 0a7d   'purged',.  }.}
│ │ │ -001a7e60: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -001a7f20: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -001a7f30: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001a7fb0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ -001a8040: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -001a8050: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
Complexity:low
Disrup │ │ │ -001a7d80: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -001a7d90: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -001a7dd0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -001a7de0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexi │ │ │ -001a7fc0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -001a7fd0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ -001a8010: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -001a8020: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
- name: E
│ │ │ -001a8070: 6e73 7572 6520 736c 6170 6420 6973 2072  nsure slapd is r
│ │ │ -001a8080: 656d 6f76 6564 0a20 2070 6163 6b61 6765  emoved.  package
│ │ │ -001a8090: 3a0a 2020 2020 6e61 6d65 3a20 736c 6170  :.    name: slap
│ │ │ -001a80a0: 640a 2020 2020 7374 6174 653a 2061 6273  d.    state: abs
│ │ │ -001a80b0: 656e 740a 2020 7461 6773 3a0a 2020 2d20  ent.  tags:.  - 
│ │ │ -001a80c0: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ -001a80d0: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ -001a80e0: 2d35 332d 434d 2d37 2861 290a 2020 2d20  -53-CM-7(a).  - 
│ │ │ -001a80f0: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ -001a8100: 2862 290a 2020 2d20 6469 7361 626c 655f  (b).  - disable_
│ │ │ -001a8110: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -001a8120: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -001a8130: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -001a8140: 202d 206c 6f77 5f73 6576 6572 6974 790a   - low_severity.
│ │ │ -001a8150: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -001a8160: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -001a8170: 5f6f 7065 6e6c 6461 702d 7365 7276 6572  _openldap-server
│ │ │ -001a8180: 735f 7265 6d6f 7665 640a 3c2f 636f 6465  s_removed.
Complexity: │ │ │ +001a7da0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +001a7db0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
- name: Ensure 
│ │ │ +001a7e10: 736c 6170 6420 6973 2072 656d 6f76 6564  slapd is removed
│ │ │ +001a7e20: 0a20 2070 6163 6b61 6765 3a0a 2020 2020  .  package:.    
│ │ │ +001a7e30: 6e61 6d65 3a20 736c 6170 640a 2020 2020  name: slapd.    
│ │ │ +001a7e40: 7374 6174 653a 2061 6273 656e 740a 2020  state: absent.  
│ │ │ +001a7e50: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ +001a7e60: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ +001a7e70: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +001a7e80: 2d37 2861 290a 2020 2d20 4e49 5354 2d38  -7(a).  - NIST-8
│ │ │ +001a7e90: 3030 2d35 332d 434d 2d37 2862 290a 2020  00-53-CM-7(b).  
│ │ │ +001a7ea0: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ +001a7eb0: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +001a7ec0: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +001a7ed0: 7372 7570 7469 6f6e 0a20 202d 206c 6f77  sruption.  - low
│ │ │ +001a7ee0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +001a7ef0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +001a7f00: 202d 2070 6163 6b61 6765 5f6f 7065 6e6c   - package_openl
│ │ │ +001a7f10: 6461 702d 7365 7276 6572 735f 7265 6d6f  dap-servers_remo
│ │ │ +001a7f20: 7665 640a 3c2f 636f 6465 3e3c 2f70 7265  ved.
Remediati │ │ │ +001a7fe0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ +001a7ff0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +001a8030: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
low
Disru │ │ │ +001a7d80: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +001a7d90: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +001a7dd0: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +001a7de0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
< │ │ │ +001a80a0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +001a80c0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +001a80f0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ +001a8080: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +001a8090: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +001a80d0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +001a80e0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ +001a8130: 2072 656d 6f76 655f 736c 6170 640a 0a63 remove_slapd..c │ │ │ +001a8140: 6c61 7373 2072 656d 6f76 655f 736c 6170 lass remove_slap │ │ │ +001a8150: 6420 7b0a 2020 7061 636b 6167 6520 7b20 d {. package { │ │ │ +001a8160: 2773 6c61 7064 273a 0a20 2020 2065 6e73 'slapd':. ens │ │ │ +001a8170: 7572 6520 3d26 6774 3b20 2770 7572 6765 ure => 'purge │ │ │ +001a8180: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 d',. }.}.

Remediati │ │ │ -001ac5a0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -001ac5b0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -001ac5f0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -001ac660: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -001ac680: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -001ac6b0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -001ac640: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -001ac650: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -001ac690: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -001ac6a0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ -001ac6f0: 2072 656d 6f76 655f 7270 6362 696e 640a remove_rpcbind. │ │ │ -001ac700: 0a63 6c61 7373 2072 656d 6f76 655f 7270 .class remove_rp │ │ │ -001ac710: 6362 696e 6420 7b0a 2020 7061 636b 6167 cbind {. packag │ │ │ -001ac720: 6520 7b20 2772 7063 6269 6e64 273a 0a20 e { 'rpcbind':. │ │ │ -001ac730: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure => │ │ │ -001ac740: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a 'purged',. }.}. │ │ │ -001ac750: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64 Remediation A │ │ │ -001ac810: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet . │ │ │ -001ac820: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..

< │ │ │ -001ac8a0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -001ac8b0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ -001ac8d0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ -001ac8e0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ -001ac900: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ -001ac920: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ -001ac950: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761  - name: Ga
│ │ │ -001ac960: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ -001ac970: 2066 6163 7473 0a20 2070 6163 6b61 6765   facts.  package
│ │ │ -001ac980: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61  _facts:.    mana
│ │ │ -001ac990: 6765 723a 2061 7574 6f0a 2020 7461 6773  ger: auto.  tags
│ │ │ -001ac9a0: 3a0a 2020 2d20 6469 7361 626c 655f 7374  :.  - disable_st
│ │ │ -001ac9b0: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ -001ac9c0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ -001ac9d0: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ -001ac9e0: 206c 6f77 5f73 6576 6572 6974 790a 2020   low_severity.  
│ │ │ -001ac9f0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -001aca00: 6564 0a20 202d 2070 6163 6b61 6765 5f72  ed.  - package_r
│ │ │ -001aca10: 7063 6269 6e64 5f72 656d 6f76 6564 0a0a  pcbind_removed..
│ │ │ -001aca20: 2d20 6e61 6d65 3a20 456e 7375 7265 2072  - name: Ensure r
│ │ │ -001aca30: 7063 6269 6e64 2069 7320 7265 6d6f 7665  pcbind is remove
│ │ │ -001aca40: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ -001aca50: 206e 616d 653a 2072 7063 6269 6e64 0a20   name: rpcbind. 
│ │ │ -001aca60: 2020 2073 7461 7465 3a20 6162 7365 6e74     state: absent
│ │ │ -001aca70: 0a20 2077 6865 6e3a 2027 226c 696e 7578  .  when: '"linux
│ │ │ -001aca80: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ -001aca90: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ -001acaa0: 270a 2020 7461 6773 3a0a 2020 2d20 6469  '.  tags:.  - di
│ │ │ -001acab0: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ -001acac0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -001acad0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -001acae0: 7469 6f6e 0a20 202d 206c 6f77 5f73 6576  tion.  - low_sev
│ │ │ -001acaf0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -001acb00: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ -001acb10: 6163 6b61 6765 5f72 7063 6269 6e64 5f72  ackage_rpcbind_r
│ │ │ -001acb20: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f  emoved.
│ │ │ +001ac660: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +001ac680: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +001ac6b0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +001ac640: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +001ac650: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +001ac670: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +001ac690: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +001ac6a0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +001ac6e0: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +001ac6f0: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ +001ac700: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac │ │ │ +001ac710: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ +001ac720: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto. │ │ │ +001ac730: 7461 6773 3a0a 2020 2d20 6469 7361 626c tags:. - disabl │ │ │ +001ac740: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l │ │ │ +001ac750: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity. │ │ │ +001ac760: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption │ │ │ +001ac770: 0a20 202d 206c 6f77 5f73 6576 6572 6974 . - low_severit │ │ │ +001ac780: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_ │ │ │ +001ac790: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa │ │ │ +001ac7a0: 6765 5f72 7063 6269 6e64 5f72 656d 6f76 ge_rpcbind_remov │ │ │ +001ac7b0: 6564 0a0a 2d20 6e61 6d65 3a20 456e 7375 ed..- name: Ensu │ │ │ +001ac7c0: 7265 2072 7063 6269 6e64 2069 7320 7265 re rpcbind is re │ │ │ +001ac7d0: 6d6f 7665 640a 2020 7061 636b 6167 653a moved. package: │ │ │ +001ac7e0: 0a20 2020 206e 616d 653a 2072 7063 6269 . name: rpcbi │ │ │ +001ac7f0: 6e64 0a20 2020 2073 7461 7465 3a20 6162 nd. state: ab │ │ │ +001ac800: 7365 6e74 0a20 2077 6865 6e3a 2027 226c sent. when: '"l │ │ │ +001ac810: 696e 7578 2d62 6173 6522 2069 6e20 616e inux-base" in an │ │ │ +001ac820: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack │ │ │ +001ac830: 6167 6573 270a 2020 7461 6773 3a0a 2020 ages'. tags:. │ │ │ +001ac840: 2d20 6469 7361 626c 655f 7374 7261 7465 - disable_strate │ │ │ +001ac850: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl │ │ │ +001ac860: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di │ │ │ +001ac870: 7372 7570 7469 6f6e 0a20 202d 206c 6f77 sruption. - low │ │ │ +001ac880: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no │ │ │ +001ac890: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed. │ │ │ +001ac8a0: 202d 2070 6163 6b61 6765 5f72 7063 6269 - package_rpcbi │ │ │ +001ac8b0: 6e64 5f72 656d 6f76 6564 0a3c 2f63 6f64 nd_removed.
Re │ │ │ +001ac970: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ +001ac980: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +001ac990: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ +001aca60: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +001aca70: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +001acac0: 696e 636c 7564 6520 7265 6d6f 7665 5f72  include remove_r
│ │ │ +001acad0: 7063 6269 6e64 0a0a 636c 6173 7320 7265  pcbind..class re
│ │ │ +001acae0: 6d6f 7665 5f72 7063 6269 6e64 207b 0a20  move_rpcbind {. 
│ │ │ +001acaf0: 2070 6163 6b61 6765 207b 2027 7270 6362   package { 'rpcb
│ │ │ +001acb00: 696e 6427 3a0a 2020 2020 656e 7375 7265  ind':.    ensure
│ │ │ +001acb10: 203d 2667 743b 2027 7075 7267 6564 272c   => 'purged',
│ │ │ +001acb20: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.R
│ │ │ -001ad780: 656d 6564 6961 7469 6f6e 2050 7570 7065  emediation Puppe
│ │ │ -001ad790: 7420 736e 6970 7065 7420 e287 b23c 2f61  t snippet ...
Complexity:low
Disrup │ │ │ +001aca40: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +001aca50: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +001aca90: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +001acaa0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity: │ │ │ -001ad870: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -001ad880: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ -001ad8e0: 6e66 732d 6b65 726e 656c 2d73 6572 7665  nfs-kernel-serve
│ │ │ -001ad8f0: 720a 0a63 6c61 7373 2072 656d 6f76 655f  r..class remove_
│ │ │ -001ad900: 6e66 732d 6b65 726e 656c 2d73 6572 7665  nfs-kernel-serve
│ │ │ -001ad910: 7220 7b0a 2020 7061 636b 6167 6520 7b20  r {.  package { 
│ │ │ -001ad920: 276e 6673 2d6b 6572 6e65 6c2d 7365 7276  'nfs-kernel-serv
│ │ │ -001ad930: 6572 273a 0a20 2020 2065 6e73 7572 6520  er':.    ensure 
│ │ │ -001ad940: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ -001ad950: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ -001ada10: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ -001ada20: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001ada30: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
low
Disru │ │ │ -001ad850: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -001ad860: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -001ad8a0: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ -001ad8b0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Com │ │ │ -001adab0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -001adae0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -001adb00: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -001adb10: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -001adb30: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -001adb40: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -001adb60: 6d65 3a20 456e 7375 7265 206e 6673 2d6b  me: Ensure nfs-k
│ │ │ -001adb70: 6572 6e65 6c2d 7365 7276 6572 2069 7320  ernel-server is 
│ │ │ -001adb80: 7265 6d6f 7665 640a 2020 7061 636b 6167  removed.  packag
│ │ │ -001adb90: 653a 0a20 2020 206e 616d 653a 206e 6673  e:.    name: nfs
│ │ │ -001adba0: 2d6b 6572 6e65 6c2d 7365 7276 6572 0a20  -kernel-server. 
│ │ │ -001adbb0: 2020 2073 7461 7465 3a20 6162 7365 6e74     state: absent
│ │ │ -001adbc0: 0a20 2074 6167 733a 0a20 202d 2064 6973  .  tags:.  - dis
│ │ │ -001adbd0: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -001adbe0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -001adbf0: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -001adc00: 696f 6e0a 2020 2d20 6c6f 775f 7365 7665  ion.  - low_seve
│ │ │ -001adc10: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -001adc20: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ -001adc30: 636b 6167 655f 6e66 732d 6b65 726e 656c  ckage_nfs-kernel
│ │ │ -001adc40: 2d73 6572 7665 725f 7265 6d6f 7665 640a  -server_removed.
│ │ │ +001ad780: 656d 6564 6961 7469 6f6e 2041 6e73 6962  emediation Ansib
│ │ │ +001ad790: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f  le snippet ...
< │ │ │ +001ad820: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +001ad840: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +001ad890: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +001ad8c0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Ensure
│ │ │ +001ad8e0: 206e 6673 2d6b 6572 6e65 6c2d 7365 7276   nfs-kernel-serv
│ │ │ +001ad8f0: 6572 2069 7320 7265 6d6f 7665 640a 2020  er is removed.  
│ │ │ +001ad900: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ +001ad910: 653a 206e 6673 2d6b 6572 6e65 6c2d 7365  e: nfs-kernel-se
│ │ │ +001ad920: 7276 6572 0a20 2020 2073 7461 7465 3a20  rver.    state: 
│ │ │ +001ad930: 6162 7365 6e74 0a20 2074 6167 733a 0a20  absent.  tags:. 
│ │ │ +001ad940: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ +001ad950: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +001ad960: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +001ad970: 6973 7275 7074 696f 6e0a 2020 2d20 6c6f  isruption.  - lo
│ │ │ +001ad980: 775f 7365 7665 7269 7479 0a20 202d 206e  w_severity.  - n
│ │ │ +001ad990: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +001ad9a0: 2020 2d20 7061 636b 6167 655f 6e66 732d    - package_nfs-
│ │ │ +001ad9b0: 6b65 726e 656c 2d73 6572 7665 725f 7265  kernel-server_re
│ │ │ +001ad9c0: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70  moved.

Remedia │ │ │ +001ada80: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ +001ada90: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +001adaa0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001adab0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001adac0: 7365 2220 6964 3d22 6964 6d32 3431 3135 se" id="idm24115 │ │ │ +001adad0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
low
Disr │ │ │ +001ad850: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +001ad860: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +001ad8a0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +001ad8b0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
Comp │ │ │ +001adb20: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +001adb30: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +001adb50: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +001adb70: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +001adb80: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +001adbc0: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +001adbd0: 6465 2072 656d 6f76 655f 6e66 732d 6b65  de remove_nfs-ke
│ │ │ +001adbe0: 726e 656c 2d73 6572 7665 720a 0a63 6c61  rnel-server..cla
│ │ │ +001adbf0: 7373 2072 656d 6f76 655f 6e66 732d 6b65  ss remove_nfs-ke
│ │ │ +001adc00: 726e 656c 2d73 6572 7665 7220 7b0a 2020  rnel-server {.  
│ │ │ +001adc10: 7061 636b 6167 6520 7b20 276e 6673 2d6b  package { 'nfs-k
│ │ │ +001adc20: 6572 6e65 6c2d 7365 7276 6572 273a 0a20  ernel-server':. 
│ │ │ +001adc30: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ +001adc40: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a  'purged',.  }.}.
│ │ │  001adc50: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
│ │ │ -001afd30: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu │ │ │ -001afd40: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn │ │ │ -001afd50: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.
│ │ │ -001afda0: 5b5b 7061 636b 6167 6573 5d5d 0a6e 616d  [[packages]].nam
│ │ │ -001afdb0: 6520 3d20 2263 6872 6f6e 7922 0a76 6572  e = "chrony".ver
│ │ │ -001afdc0: 7369 6f6e 203d 2022 2a22 0a3c 2f63 6f64  sion = "*".
Re │ │ │ -001afe80: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -001afe90: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -001afea0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -001aff70: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -001aff80: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
i
│ │ │ -001affd0: 6e63 6c75 6465 2069 6e73 7461 6c6c 5f63  nclude install_c
│ │ │ -001affe0: 6872 6f6e 790a 0a63 6c61 7373 2069 6e73  hrony..class ins
│ │ │ -001afff0: 7461 6c6c 5f63 6872 6f6e 7920 7b0a 2020  tall_chrony {.  
│ │ │ -001b0000: 7061 636b 6167 6520 7b20 2763 6872 6f6e  package { 'chron
│ │ │ -001b0010: 7927 3a0a 2020 2020 656e 7375 7265 203d  y':.    ensure =
│ │ │ -001b0020: 2667 743b 2027 696e 7374 616c 6c65 6427  > 'installed'
│ │ │ -001b0030: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ -001b0040: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remed
│ │ │ -001b00f0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073  iation Ansible s
│ │ │ -001b0100: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62  nippet ...
Complexity:low
Disrup │ │ │ -001aff50: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -001aff60: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -001affa0: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ -001affb0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ -001b01a0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001b01b0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -001b0200: 3c74 723e 3c74 683e 5374 7261 7465 6779
- n
│ │ │ -001b0240: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ -001b0250: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ -001b0260: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ -001b0270: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ -001b0280: 0a20 2074 6167 733a 0a20 202d 2044 4953  .  tags:.  - DIS
│ │ │ -001b0290: 412d 5354 4947 2d55 4254 552d 3230 2d30  A-STIG-UBTU-20-0
│ │ │ -001b02a0: 3130 3433 350a 2020 2d20 5043 492d 4453  10435.  - PCI-DS
│ │ │ -001b02b0: 532d 5265 712d 3130 2e34 0a20 202d 2050  S-Req-10.4.  - P
│ │ │ -001b02c0: 4349 2d44 5353 7634 2d31 302e 360a 2020  CI-DSSv4-10.6.  
│ │ │ -001b02d0: 2d20 5043 492d 4453 5376 342d 3130 2e36  - PCI-DSSv4-10.6
│ │ │ -001b02e0: 2e31 0a20 202d 2065 6e61 626c 655f 7374  .1.  - enable_st
│ │ │ -001b02f0: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ -001b0300: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ -001b0310: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ -001b0320: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ -001b0330: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ -001b0340: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ -001b0350: 655f 6368 726f 6e79 5f69 6e73 7461 6c6c  e_chrony_install
│ │ │ -001b0360: 6564 0a0a 2d20 6e61 6d65 3a20 456e 7375  ed..- name: Ensu
│ │ │ -001b0370: 7265 2063 6872 6f6e 7920 6973 2069 6e73  re chrony is ins
│ │ │ -001b0380: 7461 6c6c 6564 0a20 2070 6163 6b61 6765  talled.  package
│ │ │ -001b0390: 3a0a 2020 2020 6e61 6d65 3a20 6368 726f  :.    name: chro
│ │ │ -001b03a0: 6e79 0a20 2020 2073 7461 7465 3a20 7072  ny.    state: pr
│ │ │ -001b03b0: 6573 656e 740a 2020 7768 656e 3a20 2722  esent.  when: '"
│ │ │ -001b03c0: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ -001b03d0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ -001b03e0: 6b61 6765 7327 0a20 2074 6167 733a 0a20  kages'.  tags:. 
│ │ │ -001b03f0: 202d 2044 4953 412d 5354 4947 2d55 4254   - DISA-STIG-UBT
│ │ │ -001b0400: 552d 3230 2d30 3130 3433 350a 2020 2d20  U-20-010435.  - 
│ │ │ -001b0410: 5043 492d 4453 532d 5265 712d 3130 2e34  PCI-DSS-Req-10.4
│ │ │ -001b0420: 0a20 202d 2050 4349 2d44 5353 7634 2d31  .  - PCI-DSSv4-1
│ │ │ -001b0430: 302e 360a 2020 2d20 5043 492d 4453 5376  0.6.  - PCI-DSSv
│ │ │ -001b0440: 342d 3130 2e36 2e31 0a20 202d 2065 6e61  4-10.6.1.  - ena
│ │ │ -001b0450: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -001b0460: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -001b0470: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -001b0480: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -001b0490: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -001b04a0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -001b04b0: 7061 636b 6167 655f 6368 726f 6e79 5f69  package_chrony_i
│ │ │ -001b04c0: 6e73 7461 6c6c 6564 0a3c 2f63 6f64 653e  nstalled.
│ │ │ +001afd30: 5265 6d65 6469 6174 696f 6e20 416e 7369  Remediation Ansi
│ │ │ +001afd40: 626c 6520 736e 6970 7065 7420 e287 b23c  ble snippet ...<
│ │ │ +001afd50: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173  /a>
C │ │ │ -001b0190: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -001b01c0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -001b01d0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -001b0210: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ -001b0220: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
│ │ │ +001afdd0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +001afdf0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +001afe40: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ +001afe70: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Gather
│ │ │ +001afe90: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ +001afea0: 7473 0a20 2070 6163 6b61 6765 5f66 6163  ts.  package_fac
│ │ │ +001afeb0: 7473 3a0a 2020 2020 6d61 6e61 6765 723a  ts:.    manager:
│ │ │ +001afec0: 2061 7574 6f0a 2020 7461 6773 3a0a 2020   auto.  tags:.  
│ │ │ +001afed0: 2d20 4449 5341 2d53 5449 472d 5542 5455  - DISA-STIG-UBTU
│ │ │ +001afee0: 2d32 302d 3031 3034 3335 0a20 202d 2050  -20-010435.  - P
│ │ │ +001afef0: 4349 2d44 5353 2d52 6571 2d31 302e 340a  CI-DSS-Req-10.4.
│ │ │ +001aff00: 2020 2d20 5043 492d 4453 5376 342d 3130    - PCI-DSSv4-10
│ │ │ +001aff10: 2e36 0a20 202d 2050 4349 2d44 5353 7634  .6.  - PCI-DSSv4
│ │ │ +001aff20: 2d31 302e 362e 310a 2020 2d20 656e 6162  -10.6.1.  - enab
│ │ │ +001aff30: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +001aff40: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +001aff50: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +001aff60: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ +001aff70: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +001aff80: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ +001aff90: 6163 6b61 6765 5f63 6872 6f6e 795f 696e  ackage_chrony_in
│ │ │ +001affa0: 7374 616c 6c65 640a 0a2d 206e 616d 653a  stalled..- name:
│ │ │ +001affb0: 2045 6e73 7572 6520 6368 726f 6e79 2069   Ensure chrony i
│ │ │ +001affc0: 7320 696e 7374 616c 6c65 640a 2020 7061  s installed.  pa
│ │ │ +001affd0: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ +001affe0: 2063 6872 6f6e 790a 2020 2020 7374 6174   chrony.    stat
│ │ │ +001afff0: 653a 2070 7265 7365 6e74 0a20 2077 6865  e: present.  whe
│ │ │ +001b0000: 6e3a 2027 226c 696e 7578 2d62 6173 6522  n: '"linux-base"
│ │ │ +001b0010: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ +001b0020: 732e 7061 636b 6167 6573 270a 2020 7461  s.packages'.  ta
│ │ │ +001b0030: 6773 3a0a 2020 2d20 4449 5341 2d53 5449  gs:.  - DISA-STI
│ │ │ +001b0040: 472d 5542 5455 2d32 302d 3031 3034 3335  G-UBTU-20-010435
│ │ │ +001b0050: 0a20 202d 2050 4349 2d44 5353 2d52 6571  .  - PCI-DSS-Req
│ │ │ +001b0060: 2d31 302e 340a 2020 2d20 5043 492d 4453  -10.4.  - PCI-DS
│ │ │ +001b0070: 5376 342d 3130 2e36 0a20 202d 2050 4349  Sv4-10.6.  - PCI
│ │ │ +001b0080: 2d44 5353 7634 2d31 302e 362e 310a 2020  -DSSv4-10.6.1.  
│ │ │ +001b0090: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ +001b00a0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +001b00b0: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +001b00c0: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ +001b00d0: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ +001b00e0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +001b00f0: 0a20 202d 2070 6163 6b61 6765 5f63 6872  .  - package_chr
│ │ │ +001b0100: 6f6e 795f 696e 7374 616c 6c65 640a 3c2f  ony_installed.
Remediation Pup │ │ │ +001b01d0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ +001b01e0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity:< │ │ │ +001afde0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +001afe00: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +001afe50: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ +001afe60: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
│ │ │ +001b0260: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +001b0280: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +001b02d0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ +001b0300: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include instal
│ │ │ +001b0320: 6c5f 6368 726f 6e79 0a0a 636c 6173 7320  l_chrony..class 
│ │ │ +001b0330: 696e 7374 616c 6c5f 6368 726f 6e79 207b  install_chrony {
│ │ │ +001b0340: 0a20 2070 6163 6b61 6765 207b 2027 6368  .  package { 'ch
│ │ │ +001b0350: 726f 6e79 273a 0a20 2020 2065 6e73 7572  rony':.    ensur
│ │ │ +001b0360: 6520 3d26 6774 3b20 2769 6e73 7461 6c6c  e => 'install
│ │ │ +001b0370: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ed',.  }.}.
Re │ │ │ +001b0430: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil │ │ │ +001b0440: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip │ │ │ +001b0450: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +001b0460: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001b0470: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001b0480: 7365 2220 6964 3d22 6964 6d32 3432 3533 se" id="idm24253 │ │ │ +001b0490: 223e 3c70 7265 3e3c 636f 6465 3e0a 5b5b ">
.[[
│ │ │ +001b04a0: 7061 636b 6167 6573 5d5d 0a6e 616d 6520  packages]].name 
│ │ │ +001b04b0: 3d20 2263 6872 6f6e 7922 0a76 6572 7369  = "chrony".versi
│ │ │ +001b04c0: 6f6e 203d 2022 2a22 0a3c 2f63 6f64 653e  on = "*".
│ │ │  001b04d0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
R │ │ │ -001b12d0: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui │ │ │ -001b12e0: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni │ │ │ -001b12f0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001b1300: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
.[
│ │ │ -001b1340: 6375 7374 6f6d 697a 6174 696f 6e73 2e73  customizations.s
│ │ │ -001b1350: 6572 7669 6365 735d 0a65 6e61 626c 6564  ervices].enabled
│ │ │ -001b1360: 203d 205b 2263 6872 6f6e 7922 5d0a 3c2f   = ["chrony"].
Remediation Pup │ │ │ -001b1430: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ -001b1440: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity:< │ │ │ +001b0270: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +001b0290: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +001b02e0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ +001b02f0: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
│ │ │ -001b14c0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -001b14e0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -001b1530: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ -001b1560: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include enable
│ │ │ -001b1580: 5f63 6872 6f6e 790a 0a63 6c61 7373 2065  _chrony..class e
│ │ │ -001b1590: 6e61 626c 655f 6368 726f 6e79 207b 0a20  nable_chrony {. 
│ │ │ -001b15a0: 2073 6572 7669 6365 207b 2763 6872 6f6e   service {'chron
│ │ │ -001b15b0: 7927 3a0a 2020 2020 656e 6162 6c65 203d  y':.    enable =
│ │ │ -001b15c0: 2667 743b 2074 7275 652c 0a20 2020 2065  > true,.    e
│ │ │ -001b15d0: 6e73 7572 6520 3d26 6774 3b20 2772 756e  nsure => 'run
│ │ │ -001b15e0: 6e69 6e67 272c 0a20 207d 0a7d 0a3c 2f63  ning',.  }.}.
│ │ │ -001b1600: 3c61 2063 6c61 7373 3d22 6274 6e20 6274
│ │ │ -001b16a0: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi │ │ │ -001b16b0: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...< │ │ │ -001b16c0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity:< │ │ │ -001b14d0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -001b14f0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -001b1540: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ -001b1550: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
│ │ │ -001b1740: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -001b1760: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -001b17b0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ -001b17e0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Gather
│ │ │ -001b1800: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ -001b1810: 7473 0a20 2070 6163 6b61 6765 5f66 6163  ts.  package_fac
│ │ │ -001b1820: 7473 3a0a 2020 2020 6d61 6e61 6765 723a  ts:.    manager:
│ │ │ -001b1830: 2061 7574 6f0a 2020 7461 6773 3a0a 2020   auto.  tags:.  
│ │ │ -001b1840: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ -001b1850: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -001b1860: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -001b1870: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ -001b1880: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ -001b1890: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -001b18a0: 0a20 202d 2073 6572 7669 6365 5f63 6872  .  - service_chr
│ │ │ -001b18b0: 6f6e 7964 5f65 6e61 626c 6564 0a0a 2d20  onyd_enabled..- 
│ │ │ -001b18c0: 6e61 6d65 3a20 5468 6520 4368 726f 6e79  name: The Chrony
│ │ │ -001b18d0: 6420 7365 7276 6963 6520 6973 2065 6e61  d service is ena
│ │ │ -001b18e0: 626c 6564 202d 2045 6e61 626c 6520 7365  bled - Enable se
│ │ │ -001b18f0: 7276 6963 6520 6368 726f 6e79 0a20 2062  rvice chrony.  b
│ │ │ -001b1900: 6c6f 636b 3a0a 0a20 202d 206e 616d 653a  lock:..  - name:
│ │ │ -001b1910: 2047 6174 6865 7220 7468 6520 7061 636b   Gather the pack
│ │ │ -001b1920: 6167 6520 6661 6374 730a 2020 2020 7061  age facts.    pa
│ │ │ -001b1930: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ -001b1940: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ -001b1950: 0a0a 2020 2d20 6e61 6d65 3a20 5468 6520  ..  - name: The 
│ │ │ -001b1960: 4368 726f 6e79 6420 7365 7276 6963 6520  Chronyd service 
│ │ │ -001b1970: 6973 2065 6e61 626c 6564 202d 2045 6e61  is enabled - Ena
│ │ │ -001b1980: 626c 6520 5365 7276 6963 6520 6368 726f  ble Service chro
│ │ │ -001b1990: 6e79 0a20 2020 2061 6e73 6962 6c65 2e62  ny.    ansible.b
│ │ │ -001b19a0: 7569 6c74 696e 2e73 7973 7465 6d64 3a0a  uiltin.systemd:.
│ │ │ -001b19b0: 2020 2020 2020 6e61 6d65 3a20 6368 726f        name: chro
│ │ │ -001b19c0: 6e79 0a20 2020 2020 2065 6e61 626c 6564  ny.      enabled
│ │ │ -001b19d0: 3a20 7472 7565 0a20 2020 2020 2073 7461  : true.      sta
│ │ │ -001b19e0: 7465 3a20 7374 6172 7465 640a 2020 2020  te: started.    
│ │ │ -001b19f0: 2020 6d61 736b 6564 3a20 6661 6c73 650a    masked: false.
│ │ │ -001b1a00: 2020 2020 7768 656e 3a0a 2020 2020 2d20      when:.    - 
│ │ │ -001b1a10: 2722 6368 726f 6e79 2220 696e 2061 6e73  '"chrony" in ans
│ │ │ -001b1a20: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -001b1a30: 6765 7327 0a20 2077 6865 6e3a 0a20 202d  ges'.  when:.  -
│ │ │ -001b1a40: 2027 226c 696e 7578 2d62 6173 6522 2069   '"linux-base" i
│ │ │ -001b1a50: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ -001b1a60: 7061 636b 6167 6573 270a 2020 2d20 2722  packages'.  - '"
│ │ │ -001b1a70: 6368 726f 6e79 2220 696e 2061 6e73 6962  chrony" in ansib
│ │ │ -001b1a80: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -001b1a90: 7327 0a20 2074 6167 733a 0a20 202d 2065  s'.  tags:.  - e
│ │ │ -001b1aa0: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ -001b1ab0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -001b1ac0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -001b1ad0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ -001b1ae0: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -001b1af0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -001b1b00: 2d20 7365 7276 6963 655f 6368 726f 6e79  - service_chrony
│ │ │ -001b1b10: 645f 656e 6162 6c65 640a 3c2f 636f 6465  d_enabled.
Complexity:< │ │ │ -001b1750: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -001b1770: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -001b17c0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ -001b17d0: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
< │ │ │ +001b1370: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +001b1390: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +001b13e0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
- name: Gather 
│ │ │ +001b1430: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ +001b1440: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ +001b1450: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ +001b1460: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ +001b1470: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ +001b1480: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +001b1490: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +001b14a0: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +001b14b0: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +001b14c0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +001b14d0: 2020 2d20 7365 7276 6963 655f 6368 726f    - service_chro
│ │ │ +001b14e0: 6e79 645f 656e 6162 6c65 640a 0a2d 206e  nyd_enabled..- n
│ │ │ +001b14f0: 616d 653a 2054 6865 2043 6872 6f6e 7964  ame: The Chronyd
│ │ │ +001b1500: 2073 6572 7669 6365 2069 7320 656e 6162   service is enab
│ │ │ +001b1510: 6c65 6420 2d20 456e 6162 6c65 2073 6572  led - Enable ser
│ │ │ +001b1520: 7669 6365 2063 6872 6f6e 790a 2020 626c  vice chrony.  bl
│ │ │ +001b1530: 6f63 6b3a 0a0a 2020 2d20 6e61 6d65 3a20  ock:..  - name: 
│ │ │ +001b1540: 4761 7468 6572 2074 6865 2070 6163 6b61  Gather the packa
│ │ │ +001b1550: 6765 2066 6163 7473 0a20 2020 2070 6163  ge facts.    pac
│ │ │ +001b1560: 6b61 6765 5f66 6163 7473 3a0a 2020 2020  kage_facts:.    
│ │ │ +001b1570: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ +001b1580: 0a20 202d 206e 616d 653a 2054 6865 2043  .  - name: The C
│ │ │ +001b1590: 6872 6f6e 7964 2073 6572 7669 6365 2069  hronyd service i
│ │ │ +001b15a0: 7320 656e 6162 6c65 6420 2d20 456e 6162  s enabled - Enab
│ │ │ +001b15b0: 6c65 2053 6572 7669 6365 2063 6872 6f6e  le Service chron
│ │ │ +001b15c0: 790a 2020 2020 616e 7369 626c 652e 6275  y.    ansible.bu
│ │ │ +001b15d0: 696c 7469 6e2e 7379 7374 656d 643a 0a20  iltin.systemd:. 
│ │ │ +001b15e0: 2020 2020 206e 616d 653a 2063 6872 6f6e       name: chron
│ │ │ +001b15f0: 790a 2020 2020 2020 656e 6162 6c65 643a  y.      enabled:
│ │ │ +001b1600: 2074 7275 650a 2020 2020 2020 7374 6174   true.      stat
│ │ │ +001b1610: 653a 2073 7461 7274 6564 0a20 2020 2020  e: started.     
│ │ │ +001b1620: 206d 6173 6b65 643a 2066 616c 7365 0a20   masked: false. 
│ │ │ +001b1630: 2020 2077 6865 6e3a 0a20 2020 202d 2027     when:.    - '
│ │ │ +001b1640: 2263 6872 6f6e 7922 2069 6e20 616e 7369  "chrony" in ansi
│ │ │ +001b1650: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ +001b1660: 6573 270a 2020 7768 656e 3a0a 2020 2d20  es'.  when:.  - 
│ │ │ +001b1670: 2722 6c69 6e75 782d 6261 7365 2220 696e  '"linux-base" in
│ │ │ +001b1680: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ +001b1690: 6163 6b61 6765 7327 0a20 202d 2027 2263  ackages'.  - '"c
│ │ │ +001b16a0: 6872 6f6e 7922 2069 6e20 616e 7369 626c  hrony" in ansibl
│ │ │ +001b16b0: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +001b16c0: 270a 2020 7461 6773 3a0a 2020 2d20 656e  '.  tags:.  - en
│ │ │ +001b16d0: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +001b16e0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +001b16f0: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +001b1700: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ +001b1710: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +001b1720: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +001b1730: 2073 6572 7669 6365 5f63 6872 6f6e 7964   service_chronyd
│ │ │ +001b1740: 5f65 6e61 626c 6564 0a3c 2f63 6f64 653e  _enabled.
│ │ │ +001b1750: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ +001b1800: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ +001b1810: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
low
Disr │ │ │ +001b13a0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +001b13b0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +001b13f0: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ +001b1400: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
< │ │ │ +001b18b0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001b18c0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +001b1910: 3c74 723e 3c74 683e 5374 7261 7465 6779
inc
│ │ │ +001b1950: 6c75 6465 2065 6e61 626c 655f 6368 726f  lude enable_chro
│ │ │ +001b1960: 6e79 0a0a 636c 6173 7320 656e 6162 6c65  ny..class enable
│ │ │ +001b1970: 5f63 6872 6f6e 7920 7b0a 2020 7365 7276  _chrony {.  serv
│ │ │ +001b1980: 6963 6520 7b27 6368 726f 6e79 273a 0a20  ice {'chrony':. 
│ │ │ +001b1990: 2020 2065 6e61 626c 6520 3d26 6774 3b20     enable => 
│ │ │ +001b19a0: 7472 7565 2c0a 2020 2020 656e 7375 7265  true,.    ensure
│ │ │ +001b19b0: 203d 2667 743b 2027 7275 6e6e 696e 6727   => 'running'
│ │ │ +001b19c0: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ +001b19d0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remed
│ │ │ +001b1a80: 6961 7469 6f6e 204f 5342 7569 6c64 2042  iation OSBuild B
│ │ │ +001b1a90: 6c75 6570 7269 6e74 2073 6e69 7070 6574  lueprint snippet
│ │ │ +001b1aa0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976   ...
< │ │ │ +001b1ae0: 7072 653e 3c63 6f64 653e 0a5b 6375 7374 pre>.[cust │ │ │ +001b1af0: 6f6d 697a 6174 696f 6e73 2e73 6572 7669 omizations.servi │ │ │ +001b1b00: 6365 735d 0a65 6e61 626c 6564 203d 205b ces].enabled = [ │ │ │ +001b1b10: 2263 6872 6f6e 7922 5d0a 3c2f 636f 6465 "chrony"].
Reme │ │ │ -001b2e90: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild │ │ │ -001b2ea0: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe │ │ │ -001b2eb0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -001b2ef0: 3c70 7265 3e3c 636f 6465 3e0a 5b63 7573
.[cus
│ │ │ -001b2f00: 746f 6d69 7a61 7469 6f6e 732e 7365 7276  tomizations.serv
│ │ │ -001b2f10: 6963 6573 5d0a 656e 6162 6c65 6420 3d20  ices].enabled = 
│ │ │ -001b2f20: 5b22 6e74 7022 5d0a 3c2f 636f 6465 3e3c  ["ntp"].<
│ │ │ -001b2f30: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remed
│ │ │ -001b2fe0: 6961 7469 6f6e 2050 7570 7065 7420 736e  iation Puppet sn
│ │ │ -001b2ff0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
C │ │ │ +001b18a0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +001b18d0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +001b18e0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +001b1920: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ +001b1930: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
low< │ │ │ -001b30a0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -001b30f0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ -001b3080: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -001b30b0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -001b30d0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -001b30e0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -001b3100: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ -001b3110: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -001b3130: 7564 6520 656e 6162 6c65 5f6e 7470 0a0a  ude enable_ntp..
│ │ │ -001b3140: 636c 6173 7320 656e 6162 6c65 5f6e 7470  class enable_ntp
│ │ │ -001b3150: 207b 0a20 2073 6572 7669 6365 207b 276e   {.  service {'n
│ │ │ -001b3160: 7470 273a 0a20 2020 2065 6e61 626c 6520  tp':.    enable 
│ │ │ -001b3170: 3d26 6774 3b20 7472 7565 2c0a 2020 2020  => true,.    
│ │ │ -001b3180: 656e 7375 7265 203d 2667 743b 2027 7275  ensure => 'ru
│ │ │ -001b3190: 6e6e 696e 6727 2c0a 2020 7d0a 7d0a 3c2f  nning',.  }.}.
Remediation Ans │ │ │ -001b3260: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -001b3270: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ -001b3300: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -001b3320: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ -001b3340: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ -001b3370: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -001b3380: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ -001b3390: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ -001b33b0: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ -001b33c0: 6374 730a 2020 7061 636b 6167 655f 6661  cts.  package_fa
│ │ │ -001b33d0: 6374 733a 0a20 2020 206d 616e 6167 6572  cts:.    manager
│ │ │ -001b33e0: 3a20 6175 746f 0a20 2074 6167 733a 0a20  : auto.  tags:. 
│ │ │ -001b33f0: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ -001b3400: 552d 3828 3129 2861 290a 2020 2d20 4e49  U-8(1)(a).  - NI
│ │ │ -001b3410: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ -001b3420: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ -001b3430: 712d 3130 2e34 0a20 202d 2050 4349 2d44  q-10.4.  - PCI-D
│ │ │ -001b3440: 5353 7634 2d31 302e 360a 2020 2d20 5043  SSv4-10.6.  - PC
│ │ │ -001b3450: 492d 4453 5376 342d 3130 2e36 2e31 0a20  I-DSSv4-10.6.1. 
│ │ │ -001b3460: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ -001b3470: 6779 0a20 202d 2068 6967 685f 7365 7665  gy.  - high_seve
│ │ │ -001b3480: 7269 7479 0a20 202d 206c 6f77 5f63 6f6d  rity.  - low_com
│ │ │ -001b3490: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -001b34a0: 6469 7372 7570 7469 6f6e 0a20 202d 206e  disruption.  - n
│ │ │ -001b34b0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -001b34c0: 2020 2d20 7365 7276 6963 655f 6e74 705f    - service_ntp_
│ │ │ -001b34d0: 656e 6162 6c65 640a 0a2d 206e 616d 653a  enabled..- name:
│ │ │ -001b34e0: 2045 6e61 626c 6520 7468 6520 4e54 5020   Enable the NTP 
│ │ │ -001b34f0: 4461 656d 6f6e 202d 2045 6e61 626c 6520  Daemon - Enable 
│ │ │ -001b3500: 7365 7276 6963 6520 6e74 700a 2020 626c  service ntp.  bl
│ │ │ -001b3510: 6f63 6b3a 0a0a 2020 2d20 6e61 6d65 3a20  ock:..  - name: 
│ │ │ -001b3520: 4761 7468 6572 2074 6865 2070 6163 6b61  Gather the packa
│ │ │ -001b3530: 6765 2066 6163 7473 0a20 2020 2070 6163  ge facts.    pac
│ │ │ -001b3540: 6b61 6765 5f66 6163 7473 3a0a 2020 2020  kage_facts:.    
│ │ │ -001b3550: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ -001b3560: 0a20 202d 206e 616d 653a 2045 6e61 626c  .  - name: Enabl
│ │ │ -001b3570: 6520 7468 6520 4e54 5020 4461 656d 6f6e  e the NTP Daemon
│ │ │ -001b3580: 202d 2045 6e61 626c 6520 5365 7276 6963   - Enable Servic
│ │ │ -001b3590: 6520 6e74 700a 2020 2020 616e 7369 626c  e ntp.    ansibl
│ │ │ -001b35a0: 652e 6275 696c 7469 6e2e 7379 7374 656d  e.builtin.system
│ │ │ -001b35b0: 643a 0a20 2020 2020 206e 616d 653a 206e  d:.      name: n
│ │ │ -001b35c0: 7470 0a20 2020 2020 2065 6e61 626c 6564  tp.      enabled
│ │ │ -001b35d0: 3a20 7472 7565 0a20 2020 2020 2073 7461  : true.      sta
│ │ │ -001b35e0: 7465 3a20 7374 6172 7465 640a 2020 2020  te: started.    
│ │ │ -001b35f0: 2020 6d61 736b 6564 3a20 6661 6c73 650a    masked: false.
│ │ │ -001b3600: 2020 2020 7768 656e 3a0a 2020 2020 2d20      when:.    - 
│ │ │ -001b3610: 2722 6e74 7022 2069 6e20 616e 7369 626c  '"ntp" in ansibl
│ │ │ -001b3620: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ -001b3630: 270a 2020 7768 656e 3a0a 2020 2d20 2722  '.  when:.  - '"
│ │ │ -001b3640: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ -001b3650: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ -001b3660: 6b61 6765 7327 0a20 202d 2027 226e 7470  kages'.  - '"ntp
│ │ │ -001b3670: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ -001b3680: 7473 2e70 6163 6b61 6765 7327 0a20 2074  ts.packages'.  t
│ │ │ -001b3690: 6167 733a 0a20 202d 204e 4953 542d 3830  ags:.  - NIST-80
│ │ │ -001b36a0: 302d 3533 2d41 552d 3828 3129 2861 290a  0-53-AU-8(1)(a).
│ │ │ -001b36b0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -001b36c0: 434d 2d36 2861 290a 2020 2d20 5043 492d  CM-6(a).  - PCI-
│ │ │ -001b36d0: 4453 532d 5265 712d 3130 2e34 0a20 202d  DSS-Req-10.4.  -
│ │ │ -001b36e0: 2050 4349 2d44 5353 7634 2d31 302e 360a   PCI-DSSv4-10.6.
│ │ │ -001b36f0: 2020 2d20 5043 492d 4453 5376 342d 3130    - PCI-DSSv4-10
│ │ │ -001b3700: 2e36 2e31 0a20 202d 2065 6e61 626c 655f  .6.1.  - enable_
│ │ │ -001b3710: 7374 7261 7465 6779 0a20 202d 2068 6967  strategy.  - hig
│ │ │ -001b3720: 685f 7365 7665 7269 7479 0a20 202d 206c  h_severity.  - l
│ │ │ -001b3730: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ -001b3740: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -001b3750: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ -001b3760: 6565 6465 640a 2020 2d20 7365 7276 6963  eeded.  - servic
│ │ │ -001b3770: 655f 6e74 705f 656e 6162 6c65 640a 3c2f  e_ntp_enabled.<
│ │ │ +001b2eb0: 6272 3e3c 6469 7620 636c 6173 733d 2270  br>
│ │ │ +001b2f40: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
- 
│ │ │ +001b2fe0: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ +001b2ff0: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ +001b3000: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ +001b3010: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ +001b3020: 6f0a 2020 7461 6773 3a0a 2020 2d20 4e49  o.  tags:.  - NI
│ │ │ +001b3030: 5354 2d38 3030 2d35 332d 4155 2d38 2831  ST-800-53-AU-8(1
│ │ │ +001b3040: 2928 6129 0a20 202d 204e 4953 542d 3830  )(a).  - NIST-80
│ │ │ +001b3050: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ +001b3060: 2050 4349 2d44 5353 2d52 6571 2d31 302e   PCI-DSS-Req-10.
│ │ │ +001b3070: 340a 2020 2d20 5043 492d 4453 5376 342d  4.  - PCI-DSSv4-
│ │ │ +001b3080: 3130 2e36 0a20 202d 2050 4349 2d44 5353  10.6.  - PCI-DSS
│ │ │ +001b3090: 7634 2d31 302e 362e 310a 2020 2d20 656e  v4-10.6.1.  - en
│ │ │ +001b30a0: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +001b30b0: 2d20 6869 6768 5f73 6576 6572 6974 790a  - high_severity.
│ │ │ +001b30c0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +001b30d0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +001b30e0: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562  ption.  - no_reb
│ │ │ +001b30f0: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ +001b3100: 6572 7669 6365 5f6e 7470 5f65 6e61 626c  ervice_ntp_enabl
│ │ │ +001b3110: 6564 0a0a 2d20 6e61 6d65 3a20 456e 6162  ed..- name: Enab
│ │ │ +001b3120: 6c65 2074 6865 204e 5450 2044 6165 6d6f  le the NTP Daemo
│ │ │ +001b3130: 6e20 2d20 456e 6162 6c65 2073 6572 7669  n - Enable servi
│ │ │ +001b3140: 6365 206e 7470 0a20 2062 6c6f 636b 3a0a  ce ntp.  block:.
│ │ │ +001b3150: 0a20 202d 206e 616d 653a 2047 6174 6865  .  - name: Gathe
│ │ │ +001b3160: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ +001b3170: 6374 730a 2020 2020 7061 636b 6167 655f  cts.    package_
│ │ │ +001b3180: 6661 6374 733a 0a20 2020 2020 206d 616e  facts:.      man
│ │ │ +001b3190: 6167 6572 3a20 6175 746f 0a0a 2020 2d20  ager: auto..  - 
│ │ │ +001b31a0: 6e61 6d65 3a20 456e 6162 6c65 2074 6865  name: Enable the
│ │ │ +001b31b0: 204e 5450 2044 6165 6d6f 6e20 2d20 456e   NTP Daemon - En
│ │ │ +001b31c0: 6162 6c65 2053 6572 7669 6365 206e 7470  able Service ntp
│ │ │ +001b31d0: 0a20 2020 2061 6e73 6962 6c65 2e62 7569  .    ansible.bui
│ │ │ +001b31e0: 6c74 696e 2e73 7973 7465 6d64 3a0a 2020  ltin.systemd:.  
│ │ │ +001b31f0: 2020 2020 6e61 6d65 3a20 6e74 700a 2020      name: ntp.  
│ │ │ +001b3200: 2020 2020 656e 6162 6c65 643a 2074 7275      enabled: tru
│ │ │ +001b3210: 650a 2020 2020 2020 7374 6174 653a 2073  e.      state: s
│ │ │ +001b3220: 7461 7274 6564 0a20 2020 2020 206d 6173  tarted.      mas
│ │ │ +001b3230: 6b65 643a 2066 616c 7365 0a20 2020 2077  ked: false.    w
│ │ │ +001b3240: 6865 6e3a 0a20 2020 202d 2027 226e 7470  hen:.    - '"ntp
│ │ │ +001b3250: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ +001b3260: 7473 2e70 6163 6b61 6765 7327 0a20 2077  ts.packages'.  w
│ │ │ +001b3270: 6865 6e3a 0a20 202d 2027 226c 696e 7578  hen:.  - '"linux
│ │ │ +001b3280: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ +001b3290: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +001b32a0: 270a 2020 2d20 2722 6e74 7022 2069 6e20  '.  - '"ntp" in 
│ │ │ +001b32b0: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ +001b32c0: 636b 6167 6573 270a 2020 7461 6773 3a0a  ckages'.  tags:.
│ │ │ +001b32d0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001b32e0: 4155 2d38 2831 2928 6129 0a20 202d 204e  AU-8(1)(a).  - N
│ │ │ +001b32f0: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ +001b3300: 6129 0a20 202d 2050 4349 2d44 5353 2d52  a).  - PCI-DSS-R
│ │ │ +001b3310: 6571 2d31 302e 340a 2020 2d20 5043 492d  eq-10.4.  - PCI-
│ │ │ +001b3320: 4453 5376 342d 3130 2e36 0a20 202d 2050  DSSv4-10.6.  - P
│ │ │ +001b3330: 4349 2d44 5353 7634 2d31 302e 362e 310a  CI-DSSv4-10.6.1.
│ │ │ +001b3340: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ +001b3350: 6567 790a 2020 2d20 6869 6768 5f73 6576  egy.  - high_sev
│ │ │ +001b3360: 6572 6974 790a 2020 2d20 6c6f 775f 636f  erity.  - low_co
│ │ │ +001b3370: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +001b3380: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +001b3390: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +001b33a0: 0a20 202d 2073 6572 7669 6365 5f6e 7470  .  - service_ntp
│ │ │ +001b33b0: 5f65 6e61 626c 6564 0a3c 2f63 6f64 653e  _enabled.
│ │ │ +001b33c0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ +001b3470: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ +001b3480: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
│ │ │ +001b2f30: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +001b2f60: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +001b2f70: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +001b2fb0: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ +001b2fc0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
< │ │ │ +001b3520: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001b3530: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +001b3580: 3c74 723e 3c74 683e 5374 7261 7465 6779
inc
│ │ │ +001b35c0: 6c75 6465 2065 6e61 626c 655f 6e74 700a  lude enable_ntp.
│ │ │ +001b35d0: 0a63 6c61 7373 2065 6e61 626c 655f 6e74  .class enable_nt
│ │ │ +001b35e0: 7020 7b0a 2020 7365 7276 6963 6520 7b27  p {.  service {'
│ │ │ +001b35f0: 6e74 7027 3a0a 2020 2020 656e 6162 6c65  ntp':.    enable
│ │ │ +001b3600: 203d 2667 743b 2074 7275 652c 0a20 2020   => true,.   
│ │ │ +001b3610: 2065 6e73 7572 6520 3d26 6774 3b20 2772   ensure => 'r
│ │ │ +001b3620: 756e 6e69 6e67 272c 0a20 207d 0a7d 0a3c  unning',.  }.}.<
│ │ │ +001b3630: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation OS │ │ │ +001b36f0: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint │ │ │ +001b3700: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +001b3710: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
.[customization
│ │ │ +001b3760: 732e 7365 7276 6963 6573 5d0a 656e 6162  s.services].enab
│ │ │ +001b3770: 6c65 6420 3d20 5b22 6e74 7022 5d0a 3c2f  led = ["ntp"].
Remedi │ │ │ -001b4ad0: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl │ │ │ -001b4ae0: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet │ │ │ -001b4af0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...

.[custo │ │ │ -001b4b40: 6d69 7a61 7469 6f6e 732e 7365 7276 6963 mizations.servic │ │ │ -001b4b50: 6573 5d0a 656e 6162 6c65 6420 3d20 5b22 es].enabled = [" │ │ │ -001b4b60: 7379 7374 656d 642d 7469 6d65 7379 6e63 systemd-timesync │ │ │ -001b4b70: 6422 5d0a 3c2f 636f 6465 3e3c 2f70 7265 d"].

Remediati │ │ │ -001b4c30: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -001b4c40: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -001b4c80: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
C │ │ │ +001b3510: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +001b3540: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +001b3550: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +001b3590: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ +001b35a0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
< │ │ │ -001b4cf0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -001b4d10: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -001b4d40: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -001b4d60: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -001b4cd0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -001b4ce0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -001b4d20: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -001b4d30: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ -001b4d80: 656e 6162 6c65 5f73 7973 7465 6d64 2d74 enable_systemd-t │ │ │ -001b4d90: 696d 6573 796e 6364 0a0a 636c 6173 7320 imesyncd..class │ │ │ -001b4da0: 656e 6162 6c65 5f73 7973 7465 6d64 2d74 enable_systemd-t │ │ │ -001b4db0: 696d 6573 796e 6364 207b 0a20 2073 6572 imesyncd {. ser │ │ │ -001b4dc0: 7669 6365 207b 2773 7973 7465 6d64 2d74 vice {'systemd-t │ │ │ -001b4dd0: 696d 6573 796e 6364 273a 0a20 2020 2065 imesyncd':. e │ │ │ -001b4de0: 6e61 626c 6520 3d26 6774 3b20 7472 7565 nable => true │ │ │ -001b4df0: 2c0a 2020 2020 656e 7375 7265 203d 2667 ,. ensure =&g │ │ │ -001b4e00: 743b 2027 7275 6e6e 696e 6727 2c0a 2020 t; 'running',. │ │ │ -001b4e10: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}.
Remediati │ │ │ -001b4ed0: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -001b4ee0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001b4f90: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -001b4fb0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -001b4fe0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -001b4f70: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -001b4f80: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -001b4fa0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -001b4fc0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -001b4fd0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

- name: │ │ │ -001b5020: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack │ │ │ -001b5030: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack │ │ │ -001b5040: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m │ │ │ -001b5050: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t │ │ │ -001b5060: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80 │ │ │ -001b5070: 302d 3533 2d41 552d 3828 3129 2861 290a 0-53-AU-8(1)(a). │ │ │ -001b5080: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53- │ │ │ -001b5090: 434d 2d36 2861 290a 2020 2d20 5043 492d CM-6(a). - PCI- │ │ │ -001b50a0: 4453 532d 5265 712d 3130 2e34 0a20 202d DSS-Req-10.4. - │ │ │ -001b50b0: 2050 4349 2d44 5353 7634 2d31 302e 360a PCI-DSSv4-10.6. │ │ │ -001b50c0: 2020 2d20 5043 492d 4453 5376 342d 3130 - PCI-DSSv4-10 │ │ │ -001b50d0: 2e36 2e31 0a20 202d 2065 6e61 626c 655f .6.1. - enable_ │ │ │ -001b50e0: 7374 7261 7465 6779 0a20 202d 2068 6967 strategy. - hig │ │ │ -001b50f0: 685f 7365 7665 7269 7479 0a20 202d 206c h_severity. - l │ │ │ -001b5100: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity. │ │ │ -001b5110: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption │ │ │ -001b5120: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n │ │ │ -001b5130: 6565 6465 640a 2020 2d20 7365 7276 6963 eeded. - servic │ │ │ -001b5140: 655f 7469 6d65 7379 6e63 645f 656e 6162 e_timesyncd_enab │ │ │ -001b5150: 6c65 640a 0a2d 206e 616d 653a 2045 6e61 led..- name: Ena │ │ │ -001b5160: 626c 6520 7379 7374 656d 645f 7469 6d65 ble systemd_time │ │ │ -001b5170: 7379 6e63 6420 5365 7276 6963 6520 2d20 syncd Service - │ │ │ -001b5180: 456e 6162 6c65 2073 6572 7669 6365 2073 Enable service s │ │ │ -001b5190: 7973 7465 6d64 2d74 696d 6573 796e 6364 ystemd-timesyncd │ │ │ -001b51a0: 0a20 2062 6c6f 636b 3a0a 0a20 202d 206e . block:.. - n │ │ │ -001b51b0: 616d 653a 2047 6174 6865 7220 7468 6520 ame: Gather the │ │ │ -001b51c0: 7061 636b 6167 6520 6661 6374 730a 2020 package facts. │ │ │ -001b51d0: 2020 7061 636b 6167 655f 6661 6374 733a package_facts: │ │ │ -001b51e0: 0a20 2020 2020 206d 616e 6167 6572 3a20 . manager: │ │ │ -001b51f0: 6175 746f 0a0a 2020 2d20 6e61 6d65 3a20 auto.. - name: │ │ │ -001b5200: 456e 6162 6c65 2073 7973 7465 6d64 5f74 Enable systemd_t │ │ │ -001b5210: 696d 6573 796e 6364 2053 6572 7669 6365 imesyncd Service │ │ │ -001b5220: 202d 2045 6e61 626c 6520 5365 7276 6963 - Enable Servic │ │ │ -001b5230: 6520 7379 7374 656d 642d 7469 6d65 7379 e systemd-timesy │ │ │ -001b5240: 6e63 640a 2020 2020 616e 7369 626c 652e ncd. ansible. │ │ │ -001b5250: 6275 696c 7469 6e2e 7379 7374 656d 643a builtin.systemd: │ │ │ -001b5260: 0a20 2020 2020 206e 616d 653a 2073 7973 . name: sys │ │ │ -001b5270: 7465 6d64 2d74 696d 6573 796e 6364 0a20 temd-timesyncd. │ │ │ -001b5280: 2020 2020 2065 6e61 626c 6564 3a20 7472 enabled: tr │ │ │ -001b5290: 7565 0a20 2020 2020 2073 7461 7465 3a20 ue. state: │ │ │ -001b52a0: 7374 6172 7465 640a 2020 2020 2020 6d61 started. ma │ │ │ -001b52b0: 736b 6564 3a20 6661 6c73 650a 2020 2020 sked: false. │ │ │ -001b52c0: 7768 656e 3a0a 2020 2020 2d20 2722 7379 when:. - '"sy │ │ │ -001b52d0: 7374 656d 6422 2069 6e20 616e 7369 626c stemd" in ansibl │ │ │ -001b52e0: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages │ │ │ -001b52f0: 270a 2020 7768 656e 3a0a 2020 2d20 2722 '. when:. - '" │ │ │ -001b5300: 6c69 6e75 782d 6261 7365 2220 696e 2061 linux-base" in a │ │ │ -001b5310: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac │ │ │ -001b5320: 6b61 6765 7327 0a20 202d 2028 206e 6f74 kages'. - ( not │ │ │ -001b5330: 2028 2022 6368 726f 6e79 2220 696e 2061 ( "chrony" in a │ │ │ -001b5340: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac │ │ │ -001b5350: 6b61 6765 7320 2920 616e 6420 6e6f 7420 kages ) and not │ │ │ -001b5360: 2820 226e 7470 2220 696e 2061 6e73 6962 ( "ntp" in ansib │ │ │ -001b5370: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package │ │ │ -001b5380: 730a 2020 2020 2920 290a 2020 7461 6773 s. ) ). tags │ │ │ -001b5390: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35 :. - NIST-800-5 │ │ │ -001b53a0: 332d 4155 2d38 2831 2928 6129 0a20 202d 3-AU-8(1)(a). - │ │ │ -001b53b0: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM- │ │ │ -001b53c0: 3628 6129 0a20 202d 2050 4349 2d44 5353 6(a). - PCI-DSS │ │ │ -001b53d0: 2d52 6571 2d31 302e 340a 2020 2d20 5043 -Req-10.4. - PC │ │ │ -001b53e0: 492d 4453 5376 342d 3130 2e36 0a20 202d I-DSSv4-10.6. - │ │ │ -001b53f0: 2050 4349 2d44 5353 7634 2d31 302e 362e PCI-DSSv4-10.6. │ │ │ -001b5400: 310a 2020 2d20 656e 6162 6c65 5f73 7472 1. - enable_str │ │ │ -001b5410: 6174 6567 790a 2020 2d20 6869 6768 5f73 ategy. - high_s │ │ │ -001b5420: 6576 6572 6974 790a 2020 2d20 6c6f 775f everity. - low_ │ │ │ -001b5430: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l │ │ │ -001b5440: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption. │ │ │ -001b5450: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need │ │ │ -001b5460: 6564 0a20 202d 2073 6572 7669 6365 5f74 ed. - service_t │ │ │ -001b5470: 696d 6573 796e 6364 5f65 6e61 626c 6564 imesyncd_enabled │ │ │ +001b4ad0: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn │ │ │ +001b4ae0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...

low< │ │ │ +001b4b90: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +001b4be0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ +001b4b70: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +001b4ba0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +001b4bc0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +001b4bd0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +001b4bf0: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ +001b4c00: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +001b4c20: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ +001b4c30: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ +001b4c40: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ +001b4c50: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ +001b4c60: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ +001b4c70: 2d38 3030 2d35 332d 4155 2d38 2831 2928  -800-53-AU-8(1)(
│ │ │ +001b4c80: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ +001b4c90: 3533 2d43 4d2d 3628 6129 0a20 202d 2050  53-CM-6(a).  - P
│ │ │ +001b4ca0: 4349 2d44 5353 2d52 6571 2d31 302e 340a  CI-DSS-Req-10.4.
│ │ │ +001b4cb0: 2020 2d20 5043 492d 4453 5376 342d 3130    - PCI-DSSv4-10
│ │ │ +001b4cc0: 2e36 0a20 202d 2050 4349 2d44 5353 7634  .6.  - PCI-DSSv4
│ │ │ +001b4cd0: 2d31 302e 362e 310a 2020 2d20 656e 6162  -10.6.1.  - enab
│ │ │ +001b4ce0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +001b4cf0: 6869 6768 5f73 6576 6572 6974 790a 2020  high_severity.  
│ │ │ +001b4d00: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +001b4d10: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +001b4d20: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f  ion.  - no_reboo
│ │ │ +001b4d30: 745f 6e65 6564 6564 0a20 202d 2073 6572  t_needed.  - ser
│ │ │ +001b4d40: 7669 6365 5f74 696d 6573 796e 6364 5f65  vice_timesyncd_e
│ │ │ +001b4d50: 6e61 626c 6564 0a0a 2d20 6e61 6d65 3a20  nabled..- name: 
│ │ │ +001b4d60: 456e 6162 6c65 2073 7973 7465 6d64 5f74  Enable systemd_t
│ │ │ +001b4d70: 696d 6573 796e 6364 2053 6572 7669 6365  imesyncd Service
│ │ │ +001b4d80: 202d 2045 6e61 626c 6520 7365 7276 6963   - Enable servic
│ │ │ +001b4d90: 6520 7379 7374 656d 642d 7469 6d65 7379  e systemd-timesy
│ │ │ +001b4da0: 6e63 640a 2020 626c 6f63 6b3a 0a0a 2020  ncd.  block:..  
│ │ │ +001b4db0: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ +001b4dc0: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ +001b4dd0: 0a20 2020 2070 6163 6b61 6765 5f66 6163  .    package_fac
│ │ │ +001b4de0: 7473 3a0a 2020 2020 2020 6d61 6e61 6765  ts:.      manage
│ │ │ +001b4df0: 723a 2061 7574 6f0a 0a20 202d 206e 616d  r: auto..  - nam
│ │ │ +001b4e00: 653a 2045 6e61 626c 6520 7379 7374 656d  e: Enable system
│ │ │ +001b4e10: 645f 7469 6d65 7379 6e63 6420 5365 7276  d_timesyncd Serv
│ │ │ +001b4e20: 6963 6520 2d20 456e 6162 6c65 2053 6572  ice - Enable Ser
│ │ │ +001b4e30: 7669 6365 2073 7973 7465 6d64 2d74 696d  vice systemd-tim
│ │ │ +001b4e40: 6573 796e 6364 0a20 2020 2061 6e73 6962  esyncd.    ansib
│ │ │ +001b4e50: 6c65 2e62 7569 6c74 696e 2e73 7973 7465  le.builtin.syste
│ │ │ +001b4e60: 6d64 3a0a 2020 2020 2020 6e61 6d65 3a20  md:.      name: 
│ │ │ +001b4e70: 7379 7374 656d 642d 7469 6d65 7379 6e63  systemd-timesync
│ │ │ +001b4e80: 640a 2020 2020 2020 656e 6162 6c65 643a  d.      enabled:
│ │ │ +001b4e90: 2074 7275 650a 2020 2020 2020 7374 6174   true.      stat
│ │ │ +001b4ea0: 653a 2073 7461 7274 6564 0a20 2020 2020  e: started.     
│ │ │ +001b4eb0: 206d 6173 6b65 643a 2066 616c 7365 0a20   masked: false. 
│ │ │ +001b4ec0: 2020 2077 6865 6e3a 0a20 2020 202d 2027     when:.    - '
│ │ │ +001b4ed0: 2273 7973 7465 6d64 2220 696e 2061 6e73  "systemd" in ans
│ │ │ +001b4ee0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ +001b4ef0: 6765 7327 0a20 2077 6865 6e3a 0a20 202d  ges'.  when:.  -
│ │ │ +001b4f00: 2027 226c 696e 7578 2d62 6173 6522 2069   '"linux-base" i
│ │ │ +001b4f10: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +001b4f20: 7061 636b 6167 6573 270a 2020 2d20 2820  packages'.  - ( 
│ │ │ +001b4f30: 6e6f 7420 2820 2263 6872 6f6e 7922 2069  not ( "chrony" i
│ │ │ +001b4f40: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +001b4f50: 7061 636b 6167 6573 2029 2061 6e64 206e  packages ) and n
│ │ │ +001b4f60: 6f74 2028 2022 6e74 7022 2069 6e20 616e  ot ( "ntp" in an
│ │ │ +001b4f70: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +001b4f80: 6167 6573 0a20 2020 2029 2029 0a20 2074  ages.    ) ).  t
│ │ │ +001b4f90: 6167 733a 0a20 202d 204e 4953 542d 3830  ags:.  - NIST-80
│ │ │ +001b4fa0: 302d 3533 2d41 552d 3828 3129 2861 290a  0-53-AU-8(1)(a).
│ │ │ +001b4fb0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001b4fc0: 434d 2d36 2861 290a 2020 2d20 5043 492d  CM-6(a).  - PCI-
│ │ │ +001b4fd0: 4453 532d 5265 712d 3130 2e34 0a20 202d  DSS-Req-10.4.  -
│ │ │ +001b4fe0: 2050 4349 2d44 5353 7634 2d31 302e 360a   PCI-DSSv4-10.6.
│ │ │ +001b4ff0: 2020 2d20 5043 492d 4453 5376 342d 3130    - PCI-DSSv4-10
│ │ │ +001b5000: 2e36 2e31 0a20 202d 2065 6e61 626c 655f  .6.1.  - enable_
│ │ │ +001b5010: 7374 7261 7465 6779 0a20 202d 2068 6967  strategy.  - hig
│ │ │ +001b5020: 685f 7365 7665 7269 7479 0a20 202d 206c  h_severity.  - l
│ │ │ +001b5030: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +001b5040: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +001b5050: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +001b5060: 6565 6465 640a 2020 2d20 7365 7276 6963  eeded.  - servic
│ │ │ +001b5070: 655f 7469 6d65 7379 6e63 645f 656e 6162  e_timesyncd_enab
│ │ │ +001b5080: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265  led.
Remediati │ │ │ +001b5140: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ +001b5150: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +001b5190: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ +001b5200: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +001b5220: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +001b5250: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ +001b5270: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ +001b51e0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +001b51f0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +001b5230: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +001b5240: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ +001b5290: 656e 6162 6c65 5f73 7973 7465 6d64 2d74 enable_systemd-t │ │ │ +001b52a0: 696d 6573 796e 6364 0a0a 636c 6173 7320 imesyncd..class │ │ │ +001b52b0: 656e 6162 6c65 5f73 7973 7465 6d64 2d74 enable_systemd-t │ │ │ +001b52c0: 696d 6573 796e 6364 207b 0a20 2073 6572 imesyncd {. ser │ │ │ +001b52d0: 7669 6365 207b 2773 7973 7465 6d64 2d74 vice {'systemd-t │ │ │ +001b52e0: 696d 6573 796e 6364 273a 0a20 2020 2065 imesyncd':. e │ │ │ +001b52f0: 6e61 626c 6520 3d26 6774 3b20 7472 7565 nable => true │ │ │ +001b5300: 2c0a 2020 2020 656e 7375 7265 203d 2667 ,. ensure =&g │ │ │ +001b5310: 743b 2027 7275 6e6e 696e 6727 2c0a 2020 t; 'running',. │ │ │ +001b5320: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}.
Remediati │ │ │ +001b53e0: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep │ │ │ +001b53f0: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ... │ │ │ +001b5400: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ +001b5440: 3c63 6f64 653e 0a5b 6375 7374 6f6d 697a  .[customiz
│ │ │ +001b5450: 6174 696f 6e73 2e73 6572 7669 6365 735d  ations.services]
│ │ │ +001b5460: 0a65 6e61 626c 6564 203d 205b 2273 7973  .enabled = ["sys
│ │ │ +001b5470: 7465 6d64 2d74 696d 6573 796e 6364 225d  temd-timesyncd"]
│ │ │  001b5480: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Reme │ │ │ -001bbbd0: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -001bbbe0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -001bbc80: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001bbc90: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -001bbce0: 3c74 723e 3c74 683e 5374 7261 7465 6779
in
│ │ │ -001bbd20: 636c 7564 6520 7265 6d6f 7665 5f78 696e  clude remove_xin
│ │ │ -001bbd30: 6574 640a 0a63 6c61 7373 2072 656d 6f76  etd..class remov
│ │ │ -001bbd40: 655f 7869 6e65 7464 207b 0a20 2070 6163  e_xinetd {.  pac
│ │ │ -001bbd50: 6b61 6765 207b 2027 7869 6e65 7464 273a  kage { 'xinetd':
│ │ │ -001bbd60: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ -001bbd70: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a  ; 'purged',.  }.
│ │ │ -001bbd80: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ -001bbd90: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -001bbe40: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ -001bbe50: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -001bbe90: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -001bbea0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -001bbeb0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -001bbec0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -001bbed0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ -001bbf60: 3c74 643e 6469 7361 626c 653c 2f74 643e │ │ │ -001bbf70: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
C │ │ │ -001bbc70: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -001bbca0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -001bbcb0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -001bbcf0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -001bbd00: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complex │ │ │ -001bbee0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -001bbef0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ -001bbf30: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -001bbf40: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
disable
- name: │ │ │ -001bbf90: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ -001bbfa0: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ -001bbfb0: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ -001bbfc0: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ -001bbfd0: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800 │ │ │ -001bbfe0: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). - │ │ │ -001bbff0: 4e49 5354 2d38 3030 2d35 332d 434d 2d37 NIST-800-53-CM-7 │ │ │ -001bc000: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800 │ │ │ -001bc010: 2d35 332d 434d 2d37 2862 290a 2020 2d20 -53-CM-7(b). - │ │ │ -001bc020: 5043 492d 4453 5376 342d 322e 320a 2020 PCI-DSSv4-2.2. │ │ │ -001bc030: 2d20 5043 492d 4453 5376 342d 322e 322e - PCI-DSSv4-2.2. │ │ │ -001bc040: 340a 2020 2d20 6469 7361 626c 655f 7374 4. - disable_st │ │ │ -001bc050: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c │ │ │ -001bc060: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo │ │ │ -001bc070: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. - │ │ │ -001bc080: 206c 6f77 5f73 6576 6572 6974 790a 2020 low_severity. │ │ │ -001bc090: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need │ │ │ -001bc0a0: 6564 0a20 202d 2070 6163 6b61 6765 5f78 ed. - package_x │ │ │ -001bc0b0: 696e 6574 645f 7265 6d6f 7665 640a 0a2d inetd_removed..- │ │ │ -001bc0c0: 206e 616d 653a 2045 6e73 7572 6520 7869 name: Ensure xi │ │ │ -001bc0d0: 6e65 7464 2069 7320 7265 6d6f 7665 640a netd is removed. │ │ │ -001bc0e0: 2020 7061 636b 6167 653a 0a20 2020 206e package:. n │ │ │ -001bc0f0: 616d 653a 2078 696e 6574 640a 2020 2020 ame: xinetd. │ │ │ -001bc100: 7374 6174 653a 2061 6273 656e 740a 2020 state: absent. │ │ │ -001bc110: 7768 656e 3a20 2722 6c69 6e75 782d 6261 when: '"linux-ba │ │ │ -001bc120: 7365 2220 696e 2061 6e73 6962 6c65 5f66 se" in ansible_f │ │ │ -001bc130: 6163 7473 2e70 6163 6b61 6765 7327 0a20 acts.packages'. │ │ │ -001bc140: 2074 6167 733a 0a20 202d 204e 4953 542d tags:. - NIST- │ │ │ -001bc150: 3830 302d 3533 2d43 4d2d 3628 6129 0a20 800-53-CM-6(a). │ │ │ -001bc160: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C │ │ │ -001bc170: 4d2d 3728 6129 0a20 202d 204e 4953 542d M-7(a). - NIST- │ │ │ -001bc180: 3830 302d 3533 2d43 4d2d 3728 6229 0a20 800-53-CM-7(b). │ │ │ -001bc190: 202d 2050 4349 2d44 5353 7634 2d32 2e32 - PCI-DSSv4-2.2 │ │ │ -001bc1a0: 0a20 202d 2050 4349 2d44 5353 7634 2d32 . - PCI-DSSv4-2 │ │ │ -001bc1b0: 2e32 2e34 0a20 202d 2064 6973 6162 6c65 .2.4. - disable │ │ │ -001bc1c0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo │ │ │ -001bc1d0: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. - │ │ │ -001bc1e0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption. │ │ │ -001bc1f0: 2020 2d20 6c6f 775f 7365 7665 7269 7479 - low_severity │ │ │ -001bc200: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n │ │ │ -001bc210: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag │ │ │ -001bc220: 655f 7869 6e65 7464 5f72 656d 6f76 6564 e_xinetd_removed │ │ │ +001bbbd0: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible │ │ │ +001bbbe0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +001bbbf0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ +001bbc80: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
-
│ │ │ +001bbd20: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ +001bbd30: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ +001bbd40: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ +001bbd50: 0a20 2020 206d 616e 6167 6572 3a20 6175  .    manager: au
│ │ │ +001bbd60: 746f 0a20 2074 6167 733a 0a20 202d 204e  to.  tags:.  - N
│ │ │ +001bbd70: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ +001bbd80: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ +001bbd90: 3533 2d43 4d2d 3728 6129 0a20 202d 204e  53-CM-7(a).  - N
│ │ │ +001bbda0: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ +001bbdb0: 6229 0a20 202d 2050 4349 2d44 5353 7634  b).  - PCI-DSSv4
│ │ │ +001bbdc0: 2d32 2e32 0a20 202d 2050 4349 2d44 5353  -2.2.  - PCI-DSS
│ │ │ +001bbdd0: 7634 2d32 2e32 2e34 0a20 202d 2064 6973  v4-2.2.4.  - dis
│ │ │ +001bbde0: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +001bbdf0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +001bbe00: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +001bbe10: 696f 6e0a 2020 2d20 6c6f 775f 7365 7665  ion.  - low_seve
│ │ │ +001bbe20: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +001bbe30: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ +001bbe40: 636b 6167 655f 7869 6e65 7464 5f72 656d  ckage_xinetd_rem
│ │ │ +001bbe50: 6f76 6564 0a0a 2d20 6e61 6d65 3a20 456e  oved..- name: En
│ │ │ +001bbe60: 7375 7265 2078 696e 6574 6420 6973 2072  sure xinetd is r
│ │ │ +001bbe70: 656d 6f76 6564 0a20 2070 6163 6b61 6765  emoved.  package
│ │ │ +001bbe80: 3a0a 2020 2020 6e61 6d65 3a20 7869 6e65  :.    name: xine
│ │ │ +001bbe90: 7464 0a20 2020 2073 7461 7465 3a20 6162  td.    state: ab
│ │ │ +001bbea0: 7365 6e74 0a20 2077 6865 6e3a 2027 226c  sent.  when: '"l
│ │ │ +001bbeb0: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ +001bbec0: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +001bbed0: 6167 6573 270a 2020 7461 6773 3a0a 2020  ages'.  tags:.  
│ │ │ +001bbee0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +001bbef0: 2d36 2861 290a 2020 2d20 4e49 5354 2d38  -6(a).  - NIST-8
│ │ │ +001bbf00: 3030 2d35 332d 434d 2d37 2861 290a 2020  00-53-CM-7(a).  
│ │ │ +001bbf10: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +001bbf20: 2d37 2862 290a 2020 2d20 5043 492d 4453  -7(b).  - PCI-DS
│ │ │ +001bbf30: 5376 342d 322e 320a 2020 2d20 5043 492d  Sv4-2.2.  - PCI-
│ │ │ +001bbf40: 4453 5376 342d 322e 322e 340a 2020 2d20  DSSv4-2.2.4.  - 
│ │ │ +001bbf50: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ +001bbf60: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +001bbf70: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +001bbf80: 7570 7469 6f6e 0a20 202d 206c 6f77 5f73  uption.  - low_s
│ │ │ +001bbf90: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +001bbfa0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +001bbfb0: 2070 6163 6b61 6765 5f78 696e 6574 645f   package_xinetd_
│ │ │ +001bbfc0: 7265 6d6f 7665 640a 3c2f 636f 6465 3e3c  removed.<
│ │ │ +001bbfd0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remed
│ │ │ +001bc080: 6961 7469 6f6e 2050 7570 7065 7420 736e  iation Puppet sn
│ │ │ +001bc090: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
│ │ │ +001bbc70: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +001bbca0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +001bbcb0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +001bbcf0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +001bbd00: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
low< │ │ │ +001bc140: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +001bc190: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ +001bc1d0: 6c75 6465 2072 656d 6f76 655f 7869 6e65  lude remove_xine
│ │ │ +001bc1e0: 7464 0a0a 636c 6173 7320 7265 6d6f 7665  td..class remove
│ │ │ +001bc1f0: 5f78 696e 6574 6420 7b0a 2020 7061 636b  _xinetd {.  pack
│ │ │ +001bc200: 6167 6520 7b20 2778 696e 6574 6427 3a0a  age { 'xinetd':.
│ │ │ +001bc210: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +001bc220: 2027 7075 7267 6564 272c 0a20 207d 0a7d   'purged',.  }.}
│ │ │  001bc230: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remedi │ │ │ -001bd5d0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ -001bd5e0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001bd5f0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Co │ │ │ +001bc120: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +001bc150: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +001bc170: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +001bc180: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +001bc1a0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +001bc1b0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Com │ │ │ -001bd670: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -001bd6a0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -001bd6c0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -001bd6d0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -001bd6f0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -001bd700: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -001bd720: 7564 6520 7265 6d6f 7665 5f72 7368 2d63  ude remove_rsh-c
│ │ │ -001bd730: 6c69 656e 740a 0a63 6c61 7373 2072 656d  lient..class rem
│ │ │ -001bd740: 6f76 655f 7273 682d 636c 6965 6e74 207b  ove_rsh-client {
│ │ │ -001bd750: 0a20 2070 6163 6b61 6765 207b 2027 7273  .  package { 'rs
│ │ │ -001bd760: 682d 636c 6965 6e74 273a 0a20 2020 2065  h-client':.    e
│ │ │ -001bd770: 6e73 7572 6520 3d26 6774 3b20 2770 7572  nsure => 'pur
│ │ │ -001bd780: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ged',.  }.}.
< │ │ │ -001bd7a0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -001bd7b0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -001bd7c0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -001bd7d0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -001bd7e0: 646d 3234 3935 3322 2074 6162 696e 6465 dm24953" tabinde │ │ │ -001bd7f0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -001bd800: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -001bd810: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -001bd820: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -001bd830: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -001bd840: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ -001bd850: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
< │ │ │ -001bd8e0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -001bd900: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -001bd950: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ -001bd980: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Ensure
│ │ │ -001bd9a0: 2072 7368 2d63 6c69 656e 7420 6973 2072   rsh-client is r
│ │ │ -001bd9b0: 656d 6f76 6564 0a20 2070 6163 6b61 6765  emoved.  package
│ │ │ -001bd9c0: 3a0a 2020 2020 6e61 6d65 3a20 7273 682d  :.    name: rsh-
│ │ │ -001bd9d0: 636c 6965 6e74 0a20 2020 2073 7461 7465  client.    state
│ │ │ -001bd9e0: 3a20 6162 7365 6e74 0a20 2074 6167 733a  : absent.  tags:
│ │ │ -001bd9f0: 0a20 202d 204e 4953 542d 3830 302d 3137  .  - NIST-800-17
│ │ │ -001bda00: 312d 332e 312e 3133 0a20 202d 2050 4349  1-3.1.13.  - PCI
│ │ │ -001bda10: 2d44 5353 7634 2d32 2e32 0a20 202d 2050  -DSSv4-2.2.  - P
│ │ │ -001bda20: 4349 2d44 5353 7634 2d32 2e32 2e34 0a20  CI-DSSv4-2.2.4. 
│ │ │ -001bda30: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ -001bda40: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -001bda50: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -001bda60: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f  isruption.  - no
│ │ │ -001bda70: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -001bda80: 202d 2070 6163 6b61 6765 5f72 7368 5f72   - package_rsh_r
│ │ │ -001bda90: 656d 6f76 6564 0a20 202d 2075 6e6b 6e6f  emoved.  - unkno
│ │ │ -001bdaa0: 776e 5f73 6576 6572 6974 790a 3c2f 636f  wn_severity.
low
Disr │ │ │ -001bd910: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -001bd920: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -001bd960: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ -001bd970: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
low< │ │ │ +001bd690: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +001bd6e0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ +001bd720: 616d 653a 2045 6e73 7572 6520 7273 682d  ame: Ensure rsh-
│ │ │ +001bd730: 636c 6965 6e74 2069 7320 7265 6d6f 7665  client is remove
│ │ │ +001bd740: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ +001bd750: 206e 616d 653a 2072 7368 2d63 6c69 656e   name: rsh-clien
│ │ │ +001bd760: 740a 2020 2020 7374 6174 653a 2061 6273  t.    state: abs
│ │ │ +001bd770: 656e 740a 2020 7461 6773 3a0a 2020 2d20  ent.  tags:.  - 
│ │ │ +001bd780: 4e49 5354 2d38 3030 2d31 3731 2d33 2e31  NIST-800-171-3.1
│ │ │ +001bd790: 2e31 330a 2020 2d20 5043 492d 4453 5376  .13.  - PCI-DSSv
│ │ │ +001bd7a0: 342d 322e 320a 2020 2d20 5043 492d 4453  4-2.2.  - PCI-DS
│ │ │ +001bd7b0: 5376 342d 322e 322e 340a 2020 2d20 6469  Sv4-2.2.4.  - di
│ │ │ +001bd7c0: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ +001bd7d0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +001bd7e0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +001bd7f0: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f  tion.  - no_rebo
│ │ │ +001bd800: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ +001bd810: 636b 6167 655f 7273 685f 7265 6d6f 7665  ckage_rsh_remove
│ │ │ +001bd820: 640a 2020 2d20 756e 6b6e 6f77 6e5f 7365  d.  - unknown_se
│ │ │ +001bd830: 7665 7269 7479 0a3c 2f63 6f64 653e 3c2f  verity.Remedi
│ │ │ +001bd8f0: 6174 696f 6e20 5075 7070 6574 2073 6e69  ation Puppet sni
│ │ │ +001bd900: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e  ppet ...
│ │ │ +001bd910: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Co │ │ │ +001bd670: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +001bd6a0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +001bd6c0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +001bd6d0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +001bd6f0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +001bd700: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Com │ │ │ +001bd990: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +001bd9c0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +001bd9e0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +001bd9f0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +001bda10: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +001bda20: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +001bda40: 7564 6520 7265 6d6f 7665 5f72 7368 2d63  ude remove_rsh-c
│ │ │ +001bda50: 6c69 656e 740a 0a63 6c61 7373 2072 656d  lient..class rem
│ │ │ +001bda60: 6f76 655f 7273 682d 636c 6965 6e74 207b  ove_rsh-client {
│ │ │ +001bda70: 0a20 2070 6163 6b61 6765 207b 2027 7273  .  package { 'rs
│ │ │ +001bda80: 682d 636c 6965 6e74 273a 0a20 2020 2065  h-client':.    e
│ │ │ +001bda90: 6e73 7572 6520 3d26 6774 3b20 2770 7572  nsure => 'pur
│ │ │ +001bdaa0: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ged',.  }.}.
< │ │ │ 001bdac0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 001bdad0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 001bdae0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 001bdaf0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 001bdb00: 646d 3234 3935 3422 2074 6162 696e 6465 dm24954" tabinde │ │ │ 001bdb10: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ @@ -114664,89 +114664,89 @@ │ │ │ 001bfe70: 7267 6574 3d22 2369 646d 3235 3039 3322 rget="#idm25093" │ │ │ 001bfe80: 2074 6162 696e 6465 783d 2230 2220 726f tabindex="0" ro │ │ │ 001bfe90: 6c65 3d22 6275 7474 6f6e 2220 6172 6961 le="button" aria │ │ │ 001bfea0: 2d65 7870 616e 6465 643d 2266 616c 7365 -expanded="false │ │ │ 001bfeb0: 2220 7469 746c 653d 2241 6374 6976 6174 " title="Activat │ │ │ 001bfec0: 6520 746f 2072 6576 6561 6c22 2068 7265 e to reveal" hre │ │ │ 001bfed0: 663d 2223 2122 3e52 656d 6564 6961 7469 f="#!">Remediati │ │ │ -001bfee0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -001bfef0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -001bff30: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -001bffa0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -001bffc0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -001bfff0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -001bff80: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -001bff90: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -001bffd0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -001bffe0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ -001c0030: 2072 656d 6f76 655f 7461 6c6b 0a0a 636c remove_talk..cl │ │ │ -001c0040: 6173 7320 7265 6d6f 7665 5f74 616c 6b20 ass remove_talk │ │ │ -001c0050: 7b0a 2020 7061 636b 6167 6520 7b20 2774 {. package { 't │ │ │ -001c0060: 616c 6b27 3a0a 2020 2020 656e 7375 7265 alk':. ensure │ │ │ -001c0070: 203d 2667 743b 2027 7075 7267 6564 272c => 'purged', │ │ │ -001c0080: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.

Remedi │ │ │ -001c0140: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn │ │ │ -001c0150: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -001c0200: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -001c0250: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ -001c0290: 616d 653a 2045 6e73 7572 6520 7461 6c6b  ame: Ensure talk
│ │ │ -001c02a0: 2069 7320 7265 6d6f 7665 640a 2020 7061   is removed.  pa
│ │ │ -001c02b0: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ -001c02c0: 2074 616c 6b0a 2020 2020 7374 6174 653a   talk.    state:
│ │ │ -001c02d0: 2061 6273 656e 740a 2020 7461 6773 3a0a   absent.  tags:.
│ │ │ -001c02e0: 2020 2d20 5043 492d 4453 5376 342d 322e    - PCI-DSSv4-2.
│ │ │ -001c02f0: 320a 2020 2d20 5043 492d 4453 5376 342d  2.  - PCI-DSSv4-
│ │ │ -001c0300: 322e 322e 340a 2020 2d20 6469 7361 626c  2.2.4.  - disabl
│ │ │ -001c0310: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ -001c0320: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ -001c0330: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -001c0340: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ -001c0350: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -001c0360: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ -001c0370: 636b 6167 655f 7461 6c6b 5f72 656d 6f76  ckage_talk_remov
│ │ │ -001c0380: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e  ed.
│ │ │ +001bfee0: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ +001bfef0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
Co │ │ │ -001c01e0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -001c0210: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -001c0230: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -001c0240: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -001c0260: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -001c0270: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
│ │ │ +001bffa0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +001bffc0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +001bfff0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +001bff80: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +001bff90: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +001bffb0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +001bffd0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +001bffe0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +001c0020: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +001c0030: 3a20 456e 7375 7265 2074 616c 6b20 6973 : Ensure talk is │ │ │ +001c0040: 2072 656d 6f76 6564 0a20 2070 6163 6b61 removed. packa │ │ │ +001c0050: 6765 3a0a 2020 2020 6e61 6d65 3a20 7461 ge:. name: ta │ │ │ +001c0060: 6c6b 0a20 2020 2073 7461 7465 3a20 6162 lk. state: ab │ │ │ +001c0070: 7365 6e74 0a20 2074 6167 733a 0a20 202d sent. tags:. - │ │ │ +001c0080: 2050 4349 2d44 5353 7634 2d32 2e32 0a20 PCI-DSSv4-2.2. │ │ │ +001c0090: 202d 2050 4349 2d44 5353 7634 2d32 2e32 - PCI-DSSv4-2.2 │ │ │ +001c00a0: 2e34 0a20 202d 2064 6973 6162 6c65 5f73 .4. - disable_s │ │ │ +001c00b0: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_ │ │ │ +001c00c0: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l │ │ │ +001c00d0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption. │ │ │ +001c00e0: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit │ │ │ +001c00f0: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_ │ │ │ +001c0100: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa │ │ │ +001c0110: 6765 5f74 616c 6b5f 7265 6d6f 7665 640a ge_talk_removed. │ │ │ +001c0120: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64 Remediation P │ │ │ +001c01e0: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ +001c01f0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ +001c0280: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +001c02a0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +001c02b0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001c02c0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +001c02d0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +001c02f0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ +001c0320: 636f 6465 3e69 6e63 6c75 6465 2072 656d  code>include rem
│ │ │ +001c0330: 6f76 655f 7461 6c6b 0a0a 636c 6173 7320  ove_talk..class 
│ │ │ +001c0340: 7265 6d6f 7665 5f74 616c 6b20 7b0a 2020  remove_talk {.  
│ │ │ +001c0350: 7061 636b 6167 6520 7b20 2774 616c 6b27  package { 'talk'
│ │ │ +001c0360: 3a0a 2020 2020 656e 7375 7265 203d 2667  :.    ensure =&g
│ │ │ +001c0370: 743b 2027 7075 7267 6564 272c 0a20 207d  t; 'purged',.  }
│ │ │ +001c0380: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ 001c0390: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediat │ │ │ -001c1600: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ -001c1610: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001c16c0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -001c16e0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -001c1710: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -001c16a0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -001c16b0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -001c16d0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -001c16f0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -001c1700: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -001c1740: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ -001c1750: 6520 7265 6d6f 7665 5f74 656c 6e65 740a e remove_telnet. │ │ │ -001c1760: 0a63 6c61 7373 2072 656d 6f76 655f 7465 .class remove_te │ │ │ -001c1770: 6c6e 6574 207b 0a20 2070 6163 6b61 6765 lnet {. package │ │ │ -001c1780: 207b 2027 7465 6c6e 6574 273a 0a20 2020 { 'telnet':. │ │ │ -001c1790: 2065 6e73 7572 6520 3d26 6774 3b20 2770 ensure => 'p │ │ │ -001c17a0: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f urged',. }.}.
Remediation Ans │ │ │ -001c1870: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -001c1880: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ -001c1910: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -001c1930: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ -001c1950: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ -001c1980: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -001c1990: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Ensu
│ │ │ -001c19c0: 7265 2074 656c 6e65 7420 6973 2072 656d  re telnet is rem
│ │ │ -001c19d0: 6f76 6564 0a20 2070 6163 6b61 6765 3a0a  oved.  package:.
│ │ │ -001c19e0: 2020 2020 6e61 6d65 3a20 7465 6c6e 6574      name: telnet
│ │ │ -001c19f0: 0a20 2020 2073 7461 7465 3a20 6162 7365  .    state: abse
│ │ │ -001c1a00: 6e74 0a20 2074 6167 733a 0a20 202d 204e  nt.  tags:.  - N
│ │ │ -001c1a10: 4953 542d 3830 302d 3137 312d 332e 312e  IST-800-171-3.1.
│ │ │ -001c1a20: 3133 0a20 202d 2050 4349 2d44 5353 7634  13.  - PCI-DSSv4
│ │ │ -001c1a30: 2d32 2e32 0a20 202d 2050 4349 2d44 5353  -2.2.  - PCI-DSS
│ │ │ -001c1a40: 7634 2d32 2e32 2e34 0a20 202d 2064 6973  v4-2.2.4.  - dis
│ │ │ -001c1a50: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -001c1a60: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -001c1a70: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -001c1a80: 696f 6e0a 2020 2d20 6c6f 775f 7365 7665  ion.  - low_seve
│ │ │ -001c1a90: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -001c1aa0: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ -001c1ab0: 636b 6167 655f 7465 6c6e 6574 5f72 656d  ckage_telnet_rem
│ │ │ -001c1ac0: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072  oved.
< │ │ │ +001c1620: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001c1630: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001c1640: 7365 2220 6964 3d22 6964 6d32 3531 3236 se" id="idm25126 │ │ │ +001c1650: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ +001c16a0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +001c16b0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +001c16d0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +001c16f0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +001c1700: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +001c1740: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ +001c1750: 653a 2045 6e73 7572 6520 7465 6c6e 6574  e: Ensure telnet
│ │ │ +001c1760: 2069 7320 7265 6d6f 7665 640a 2020 7061   is removed.  pa
│ │ │ +001c1770: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ +001c1780: 2074 656c 6e65 740a 2020 2020 7374 6174   telnet.    stat
│ │ │ +001c1790: 653a 2061 6273 656e 740a 2020 7461 6773  e: absent.  tags
│ │ │ +001c17a0: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d31  :.  - NIST-800-1
│ │ │ +001c17b0: 3731 2d33 2e31 2e31 330a 2020 2d20 5043  71-3.1.13.  - PC
│ │ │ +001c17c0: 492d 4453 5376 342d 322e 320a 2020 2d20  I-DSSv4-2.2.  - 
│ │ │ +001c17d0: 5043 492d 4453 5376 342d 322e 322e 340a  PCI-DSSv4-2.2.4.
│ │ │ +001c17e0: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ +001c17f0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +001c1800: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +001c1810: 6469 7372 7570 7469 6f6e 0a20 202d 206c  disruption.  - l
│ │ │ +001c1820: 6f77 5f73 6576 6572 6974 790a 2020 2d20  ow_severity.  - 
│ │ │ +001c1830: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +001c1840: 0a20 202d 2070 6163 6b61 6765 5f74 656c  .  - package_tel
│ │ │ +001c1850: 6e65 745f 7265 6d6f 7665 640a 3c2f 636f  net_removed.
< │ │ │ +001c1870: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +001c1880: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +001c1890: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +001c18a0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +001c18b0: 646d 3235 3132 3722 2074 6162 696e 6465 dm25127" tabinde │ │ │ +001c18c0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +001c18d0: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +001c18e0: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +001c18f0: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +001c1900: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +001c1910: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +001c1920: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity: │ │ │ +001c1a00: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +001c1a10: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ +001c1a70: 7465 6c6e 6574 0a0a 636c 6173 7320 7265  telnet..class re
│ │ │ +001c1a80: 6d6f 7665 5f74 656c 6e65 7420 7b0a 2020  move_telnet {.  
│ │ │ +001c1a90: 7061 636b 6167 6520 7b20 2774 656c 6e65  package { 'telne
│ │ │ +001c1aa0: 7427 3a0a 2020 2020 656e 7375 7265 203d  t':.    ensure =
│ │ │ +001c1ab0: 2667 743b 2027 7075 7267 6564 272c 0a20  > 'purged',. 
│ │ │ +001c1ac0: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.Remediatio
│ │ │ -001c25f0: 6e20 5075 7070 6574 2073 6e69 7070 6574  n Puppet snippet
│ │ │ -001c2600: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976   ...
< │ │ │ -001c2640: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -001c2650: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -001c2660: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -001c2670: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -001c2680: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ -001c2710: 3c74 643e 6469 7361 626c 653c 2f74 643e │ │ │ -001c2720: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
low
Disru │ │ │ +001c19e0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +001c19f0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +001c1a30: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +001c1a40: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complex │ │ │ -001c2690: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -001c26a0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ -001c26e0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -001c26f0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
disable
include │ │ │ -001c2740: 7265 6d6f 7665 5f72 7379 6e63 0a0a 636c remove_rsync..cl │ │ │ -001c2750: 6173 7320 7265 6d6f 7665 5f72 7379 6e63 ass remove_rsync │ │ │ -001c2760: 207b 0a20 2070 6163 6b61 6765 207b 2027 {. package { ' │ │ │ -001c2770: 7273 796e 6327 3a0a 2020 2020 656e 7375 rsync':. ensu │ │ │ -001c2780: 7265 203d 2667 743b 2027 7075 7267 6564 re => 'purged │ │ │ -001c2790: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e ',. }.}. │ │ │ -001c27a0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Reme │ │ │ -001c2850: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible │ │ │ -001c2860: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -001c2870: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ -001c2900: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
-
│ │ │ -001c29a0: 206e 616d 653a 2045 6e73 7572 6520 7273   name: Ensure rs
│ │ │ -001c29b0: 796e 6320 6973 2072 656d 6f76 6564 0a20  ync is removed. 
│ │ │ -001c29c0: 2070 6163 6b61 6765 3a0a 2020 2020 6e61   package:.    na
│ │ │ -001c29d0: 6d65 3a20 7273 796e 630a 2020 2020 7374  me: rsync.    st
│ │ │ -001c29e0: 6174 653a 2061 6273 656e 740a 2020 7461  ate: absent.  ta
│ │ │ -001c29f0: 6773 3a0a 2020 2d20 6469 7361 626c 655f  gs:.  - disable_
│ │ │ -001c2a00: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -001c2a10: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -001c2a20: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -001c2a30: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ -001c2a40: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -001c2a50: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ -001c2a60: 6167 655f 7273 796e 635f 7265 6d6f 7665  age_rsync_remove
│ │ │ -001c2a70: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +001c25f0: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ +001c2600: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +001c2640: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
│ │ │ -001c28f0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -001c2920: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -001c2930: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -001c2970: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ -001c2980: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ +001c26b0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +001c26d0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +001c2700: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ +001c2690: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +001c26a0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +001c26e0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +001c26f0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

- name: │ │ │ +001c2740: 2045 6e73 7572 6520 7273 796e 6320 6973 Ensure rsync is │ │ │ +001c2750: 2072 656d 6f76 6564 0a20 2070 6163 6b61 removed. packa │ │ │ +001c2760: 6765 3a0a 2020 2020 6e61 6d65 3a20 7273 ge:. name: rs │ │ │ +001c2770: 796e 630a 2020 2020 7374 6174 653a 2061 ync. state: a │ │ │ +001c2780: 6273 656e 740a 2020 7461 6773 3a0a 2020 bsent. tags:. │ │ │ +001c2790: 2d20 6469 7361 626c 655f 7374 7261 7465 - disable_strate │ │ │ +001c27a0: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl │ │ │ +001c27b0: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di │ │ │ +001c27c0: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med │ │ │ +001c27d0: 6975 6d5f 7365 7665 7269 7479 0a20 202d ium_severity. - │ │ │ +001c27e0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede │ │ │ +001c27f0: 640a 2020 2d20 7061 636b 6167 655f 7273 d. - package_rs │ │ │ +001c2800: 796e 635f 7265 6d6f 7665 640a 3c2f 636f ync_removed.

< │ │ │ +001c2820: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +001c2830: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +001c2840: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +001c2850: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +001c2860: 646d 3234 3637 3822 2074 6162 696e 6465 dm24678" tabinde │ │ │ +001c2870: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +001c2880: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +001c2890: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +001c28a0: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +001c28b0: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +001c28c0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +001c28d0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity: │ │ │ +001c29b0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +001c29c0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ +001c2a20: 7273 796e 630a 0a63 6c61 7373 2072 656d  rsync..class rem
│ │ │ +001c2a30: 6f76 655f 7273 796e 6320 7b0a 2020 7061  ove_rsync {.  pa
│ │ │ +001c2a40: 636b 6167 6520 7b20 2772 7379 6e63 273a  ckage { 'rsync':
│ │ │ +001c2a50: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ +001c2a60: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a  ; 'purged',.  }.
│ │ │ +001c2a70: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ 001c2a80: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remedia │ │ │ -001c3ff0: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ -001c4000: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -001c4010: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -001c4020: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -001c4030: 7365 2220 6964 3d22 6964 6d32 3532 3133 se" id="idm25213 │ │ │ -001c4040: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
low
Disru │ │ │ +001c2990: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +001c29a0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +001c29e0: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +001c29f0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Comp │ │ │ -001c4090: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -001c40a0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -001c40c0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -001c40e0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -001c40f0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ -001c4130: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -001c4140: 6465 2072 656d 6f76 655f 6375 7073 0a0a  de remove_cups..
│ │ │ -001c4150: 636c 6173 7320 7265 6d6f 7665 5f63 7570  class remove_cup
│ │ │ -001c4160: 7320 7b0a 2020 7061 636b 6167 6520 7b20  s {.  package { 
│ │ │ -001c4170: 2763 7570 7327 3a0a 2020 2020 656e 7375  'cups':.    ensu
│ │ │ -001c4180: 7265 203d 2667 743b 2027 7075 7267 6564  re => 'purged
│ │ │ -001c4190: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │ -001c41a0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ -001c4250: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible │ │ │ -001c4260: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -001c4270: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ -001c4300: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
-
│ │ │ -001c43a0: 206e 616d 653a 2045 6e73 7572 6520 6375   name: Ensure cu
│ │ │ -001c43b0: 7073 2069 7320 7265 6d6f 7665 640a 2020  ps is removed.  
│ │ │ -001c43c0: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ -001c43d0: 653a 2063 7570 730a 2020 2020 7374 6174  e: cups.    stat
│ │ │ -001c43e0: 653a 2061 6273 656e 740a 2020 7461 6773  e: absent.  tags
│ │ │ -001c43f0: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ -001c4400: 332d 434d 2d36 2861 290a 2020 2d20 4e49  3-CM-6(a).  - NI
│ │ │ -001c4410: 5354 2d38 3030 2d35 332d 434d 2d37 2861  ST-800-53-CM-7(a
│ │ │ -001c4420: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -001c4430: 332d 434d 2d37 2862 290a 2020 2d20 6469  3-CM-7(b).  - di
│ │ │ -001c4440: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ -001c4450: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -001c4460: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -001c4470: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f  tion.  - no_rebo
│ │ │ -001c4480: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ -001c4490: 636b 6167 655f 6375 7073 5f72 656d 6f76  ckage_cups_remov
│ │ │ -001c44a0: 6564 0a20 202d 2075 6e6b 6e6f 776e 5f73  ed.  - unknown_s
│ │ │ -001c44b0: 6576 6572 6974 790a 3c2f 636f 6465 3e3c  everity.<
│ │ │ +001c3ff0: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69  tion Ansible sni
│ │ │ +001c4000: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e  ppet ...
│ │ │ +001c4010: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ -001c42f0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -001c4320: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -001c4330: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -001c4370: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ -001c4380: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Com │ │ │ +001c4090: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +001c40c0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +001c40e0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +001c40f0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +001c4110: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +001c4120: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +001c4140: 6d65 3a20 456e 7375 7265 2063 7570 7320  me: Ensure cups 
│ │ │ +001c4150: 6973 2072 656d 6f76 6564 0a20 2070 6163  is removed.  pac
│ │ │ +001c4160: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20  kage:.    name: 
│ │ │ +001c4170: 6375 7073 0a20 2020 2073 7461 7465 3a20  cups.    state: 
│ │ │ +001c4180: 6162 7365 6e74 0a20 2074 6167 733a 0a20  absent.  tags:. 
│ │ │ +001c4190: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +001c41a0: 4d2d 3628 6129 0a20 202d 204e 4953 542d  M-6(a).  - NIST-
│ │ │ +001c41b0: 3830 302d 3533 2d43 4d2d 3728 6129 0a20  800-53-CM-7(a). 
│ │ │ +001c41c0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +001c41d0: 4d2d 3728 6229 0a20 202d 2064 6973 6162  M-7(b).  - disab
│ │ │ +001c41e0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +001c41f0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +001c4200: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +001c4210: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f  n.  - no_reboot_
│ │ │ +001c4220: 6e65 6564 6564 0a20 202d 2070 6163 6b61  needed.  - packa
│ │ │ +001c4230: 6765 5f63 7570 735f 7265 6d6f 7665 640a  ge_cups_removed.
│ │ │ +001c4240: 2020 2d20 756e 6b6e 6f77 6e5f 7365 7665    - unknown_seve
│ │ │ +001c4250: 7269 7479 0a3c 2f63 6f64 653e 3c2f 7072  rity.
Remediat │ │ │ +001c4310: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ +001c4320: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +001c43d0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +001c43f0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +001c4420: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +001c43b0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +001c43c0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +001c43e0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +001c4400: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +001c4410: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +001c4450: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ +001c4460: 6520 7265 6d6f 7665 5f63 7570 730a 0a63 e remove_cups..c │ │ │ +001c4470: 6c61 7373 2072 656d 6f76 655f 6375 7073 lass remove_cups │ │ │ +001c4480: 207b 0a20 2070 6163 6b61 6765 207b 2027 {. package { ' │ │ │ +001c4490: 6375 7073 273a 0a20 2020 2065 6e73 7572 cups':. ensur │ │ │ +001c44a0: 6520 3d26 6774 3b20 2770 7572 6765 6427 e => 'purged' │ │ │ +001c44b0: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.< │ │ │ 001c44c0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remediati │ │ │ -001c57f0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -001c5800: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -001c5840: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -001c58b0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -001c58d0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -001c5900: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -001c5890: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -001c58a0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -001c58e0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -001c58f0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ -001c5940: 2072 656d 6f76 655f 7371 7569 640a 0a63 remove_squid..c │ │ │ -001c5950: 6c61 7373 2072 656d 6f76 655f 7371 7569 lass remove_squi │ │ │ -001c5960: 6420 7b0a 2020 7061 636b 6167 6520 7b20 d {. package { │ │ │ -001c5970: 2773 7175 6964 273a 0a20 2020 2065 6e73 'squid':. ens │ │ │ -001c5980: 7572 6520 3d26 6774 3b20 2770 7572 6765 ure => 'purge │ │ │ -001c5990: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 d',. }.}.

Rem │ │ │ -001c5a50: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ -001c5a60: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -001c5a70: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -001c5b40: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -001c5b50: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -001c5ba0: 2d20 6e61 6d65 3a20 456e 7375 7265 2073  - name: Ensure s
│ │ │ -001c5bb0: 7175 6964 2069 7320 7265 6d6f 7665 640a  quid is removed.
│ │ │ -001c5bc0: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ -001c5bd0: 616d 653a 2073 7175 6964 0a20 2020 2073  ame: squid.    s
│ │ │ -001c5be0: 7461 7465 3a20 6162 7365 6e74 0a20 2074  tate: absent.  t
│ │ │ -001c5bf0: 6167 733a 0a20 202d 2064 6973 6162 6c65  ags:.  - disable
│ │ │ -001c5c00: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ -001c5c10: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -001c5c20: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -001c5c30: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -001c5c40: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -001c5c50: 5f73 7175 6964 5f72 656d 6f76 6564 0a20  _squid_removed. 
│ │ │ -001c5c60: 202d 2075 6e6b 6e6f 776e 5f73 6576 6572   - unknown_sever
│ │ │ -001c5c70: 6974 790a 3c2f 636f 6465 3e3c 2f70 7265  ity.

Complexity:low
Disrup │ │ │ -001c5b20: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -001c5b30: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -001c5b70: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -001c5b80: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +001c58b0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +001c58d0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +001c5900: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +001c5890: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +001c58a0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +001c58c0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +001c58e0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +001c58f0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +001c5930: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +001c5940: 3a20 456e 7375 7265 2073 7175 6964 2069 : Ensure squid i │ │ │ +001c5950: 7320 7265 6d6f 7665 640a 2020 7061 636b s removed. pack │ │ │ +001c5960: 6167 653a 0a20 2020 206e 616d 653a 2073 age:. name: s │ │ │ +001c5970: 7175 6964 0a20 2020 2073 7461 7465 3a20 quid. state: │ │ │ +001c5980: 6162 7365 6e74 0a20 2074 6167 733a 0a20 absent. tags:. │ │ │ +001c5990: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat │ │ │ +001c59a0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp │ │ │ +001c59b0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d │ │ │ +001c59c0: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f isruption. - no │ │ │ +001c59d0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed. │ │ │ +001c59e0: 202d 2070 6163 6b61 6765 5f73 7175 6964 - package_squid │ │ │ +001c59f0: 5f72 656d 6f76 6564 0a20 202d 2075 6e6b _removed. - unk │ │ │ +001c5a00: 6e6f 776e 5f73 6576 6572 6974 790a 3c2f nown_severity.
Remediation Pup │ │ │ +001c5ad0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ +001c5ae0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ +001c5b60: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +001c5b80: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +001c5bd0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ +001c5c00: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ +001c5b70: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +001c5b90: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +001c5be0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ +001c5bf0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ +001c5c20: 655f 7371 7569 640a 0a63 6c61 7373 2072  e_squid..class r
│ │ │ +001c5c30: 656d 6f76 655f 7371 7569 6420 7b0a 2020  emove_squid {.  
│ │ │ +001c5c40: 7061 636b 6167 6520 7b20 2773 7175 6964  package { 'squid
│ │ │ +001c5c50: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ +001c5c60: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ +001c5c70: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remed │ │ │ -001c70c0: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ -001c70d0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -001c7180: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -001c71d0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ -001c7210: 6c75 6465 2072 656d 6f76 655f 7361 6d62  lude remove_samb
│ │ │ -001c7220: 610a 0a63 6c61 7373 2072 656d 6f76 655f  a..class remove_
│ │ │ -001c7230: 7361 6d62 6120 7b0a 2020 7061 636b 6167  samba {.  packag
│ │ │ -001c7240: 6520 7b20 2773 616d 6261 273a 0a20 2020  e { 'samba':.   
│ │ │ -001c7250: 2065 6e73 7572 6520 3d26 6774 3b20 2770   ensure => 'p
│ │ │ -001c7260: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f  urged',.  }.}.
Remediation Ans │ │ │ -001c7330: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -001c7340: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low< │ │ │ -001c7410: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>
Co │ │ │ -001c7160: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -001c7190: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -001c71b0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -001c71c0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -001c71e0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -001c71f0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complexity: │ │ │ -001c73d0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ -001c73f0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ -001c7440: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -001c7450: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Ensu
│ │ │ -001c7480: 7265 2073 616d 6261 2069 7320 7265 6d6f  re samba is remo
│ │ │ -001c7490: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ -001c74a0: 2020 206e 616d 653a 2073 616d 6261 0a20     name: samba. 
│ │ │ -001c74b0: 2020 2073 7461 7465 3a20 6162 7365 6e74     state: absent
│ │ │ -001c74c0: 0a20 2074 6167 733a 0a20 202d 2064 6973  .  tags:.  - dis
│ │ │ -001c74d0: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -001c74e0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -001c74f0: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -001c7500: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f  ion.  - no_reboo
│ │ │ -001c7510: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ -001c7520: 6b61 6765 5f73 616d 6261 5f72 656d 6f76  kage_samba_remov
│ │ │ -001c7530: 6564 0a20 202d 2075 6e6b 6e6f 776e 5f73  ed.  - unknown_s
│ │ │ -001c7540: 6576 6572 6974 790a 3c2f 636f 6465 3e3c  everity.<
│ │ │ +001c70c0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073  iation Ansible s
│ │ │ +001c70d0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62  nippet ...
< │ │ │ +001c7170: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001c7180: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +001c71d0: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ +001c7210: 6e61 6d65 3a20 456e 7375 7265 2073 616d  name: Ensure sam
│ │ │ +001c7220: 6261 2069 7320 7265 6d6f 7665 640a 2020  ba is removed.  
│ │ │ +001c7230: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ +001c7240: 653a 2073 616d 6261 0a20 2020 2073 7461  e: samba.    sta
│ │ │ +001c7250: 7465 3a20 6162 7365 6e74 0a20 2074 6167  te: absent.  tag
│ │ │ +001c7260: 733a 0a20 202d 2064 6973 6162 6c65 5f73  s:.  - disable_s
│ │ │ +001c7270: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ +001c7280: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ +001c7290: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ +001c72a0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +001c72b0: 6564 0a20 202d 2070 6163 6b61 6765 5f73  ed.  - package_s
│ │ │ +001c72c0: 616d 6261 5f72 656d 6f76 6564 0a20 202d  amba_removed.  -
│ │ │ +001c72d0: 2075 6e6b 6e6f 776e 5f73 6576 6572 6974   unknown_severit
│ │ │ +001c72e0: 790a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  y.
< │ │ │ +001c72f0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +001c73a0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +001c73b0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +001c7430: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ +001c74c0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +001c74d0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
C │ │ │ +001c7160: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +001c7190: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +001c71a0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +001c71e0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ +001c71f0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexi │ │ │ +001c7440: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +001c7450: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ +001c7490: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +001c74a0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
include r
│ │ │ +001c74f0: 656d 6f76 655f 7361 6d62 610a 0a63 6c61  emove_samba..cla
│ │ │ +001c7500: 7373 2072 656d 6f76 655f 7361 6d62 6120  ss remove_samba 
│ │ │ +001c7510: 7b0a 2020 7061 636b 6167 6520 7b20 2773  {.  package { 's
│ │ │ +001c7520: 616d 6261 273a 0a20 2020 2065 6e73 7572  amba':.    ensur
│ │ │ +001c7530: 6520 3d26 6774 3b20 2770 7572 6765 6427  e => 'purged'
│ │ │ +001c7540: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │  001c7550: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remediation │ │ │ -001c8970: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -001c8980: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -001c8a00: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -001c8a10: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ -001c8a30: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ -001c8a40: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ -001c8a60: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ -001c8a80: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ -001c8ab0: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ -001c8ac0: 6d6f 7665 5f73 6e6d 700a 0a63 6c61 7373  move_snmp..class
│ │ │ -001c8ad0: 2072 656d 6f76 655f 736e 6d70 207b 0a20   remove_snmp {. 
│ │ │ -001c8ae0: 2070 6163 6b61 6765 207b 2027 736e 6d70   package { 'snmp
│ │ │ -001c8af0: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ -001c8b00: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ -001c8b10: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ -001c8bd0: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -001c8be0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001c8c90: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -001c8cb0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -001c8ce0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -001c8c70: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -001c8c80: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -001c8ca0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -001c8cc0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -001c8cd0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -001c8d10: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -001c8d20: 3a20 456e 7375 7265 2073 6e6d 7020 6973 : Ensure snmp is │ │ │ -001c8d30: 2072 656d 6f76 6564 0a20 2070 6163 6b61 removed. packa │ │ │ -001c8d40: 6765 3a0a 2020 2020 6e61 6d65 3a20 736e ge:. name: sn │ │ │ -001c8d50: 6d70 0a20 2020 2073 7461 7465 3a20 6162 mp. state: ab │ │ │ -001c8d60: 7365 6e74 0a20 2074 6167 733a 0a20 202d sent. tags:. - │ │ │ -001c8d70: 2050 4349 2d44 5353 7634 2d32 2e32 0a20 PCI-DSSv4-2.2. │ │ │ -001c8d80: 202d 2050 4349 2d44 5353 7634 2d32 2e32 - PCI-DSSv4-2.2 │ │ │ -001c8d90: 2e34 0a20 202d 2064 6973 6162 6c65 5f73 .4. - disable_s │ │ │ -001c8da0: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_ │ │ │ -001c8db0: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l │ │ │ -001c8dc0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption. │ │ │ -001c8dd0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need │ │ │ -001c8de0: 6564 0a20 202d 2070 6163 6b61 6765 5f6e ed. - package_n │ │ │ -001c8df0: 6574 2d73 6e6d 705f 7265 6d6f 7665 640a et-snmp_removed. │ │ │ -001c8e00: 2020 2d20 756e 6b6e 6f77 6e5f 7365 7665 - unknown_seve │ │ │ -001c8e10: 7269 7479 0a3c 2f63 6f64 653e 3c2f 7072 rity.
│ │ │ +001c8a00: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +001c8a10: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +001c8a20: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +001c8a60: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +001c8a70: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +001c8a90: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +001c8aa0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: E
│ │ │ +001c8ac0: 6e73 7572 6520 736e 6d70 2069 7320 7265  nsure snmp is re
│ │ │ +001c8ad0: 6d6f 7665 640a 2020 7061 636b 6167 653a  moved.  package:
│ │ │ +001c8ae0: 0a20 2020 206e 616d 653a 2073 6e6d 700a  .    name: snmp.
│ │ │ +001c8af0: 2020 2020 7374 6174 653a 2061 6273 656e      state: absen
│ │ │ +001c8b00: 740a 2020 7461 6773 3a0a 2020 2d20 5043  t.  tags:.  - PC
│ │ │ +001c8b10: 492d 4453 5376 342d 322e 320a 2020 2d20  I-DSSv4-2.2.  - 
│ │ │ +001c8b20: 5043 492d 4453 5376 342d 322e 322e 340a  PCI-DSSv4-2.2.4.
│ │ │ +001c8b30: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ +001c8b40: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +001c8b50: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +001c8b60: 6469 7372 7570 7469 6f6e 0a20 202d 206e  disruption.  - n
│ │ │ +001c8b70: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +001c8b80: 2020 2d20 7061 636b 6167 655f 6e65 742d    - package_net-
│ │ │ +001c8b90: 736e 6d70 5f72 656d 6f76 6564 0a20 202d  snmp_removed.  -
│ │ │ +001c8ba0: 2075 6e6b 6e6f 776e 5f73 6576 6572 6974   unknown_severit
│ │ │ +001c8bb0: 790a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  y.
< │ │ │ +001c8bc0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +001c8c70: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +001c8c80: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +001c8d00: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +001c8d10: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +001c8d20: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +001c8d60: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +001c8d70: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +001c8d90: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +001c8da0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include r
│ │ │ +001c8dc0: 656d 6f76 655f 736e 6d70 0a0a 636c 6173  emove_snmp..clas
│ │ │ +001c8dd0: 7320 7265 6d6f 7665 5f73 6e6d 7020 7b0a  s remove_snmp {.
│ │ │ +001c8de0: 2020 7061 636b 6167 6520 7b20 2773 6e6d    package { 'snm
│ │ │ +001c8df0: 7027 3a0a 2020 2020 656e 7375 7265 203d  p':.    ensure =
│ │ │ +001c8e00: 2667 743b 2027 7075 7267 6564 272c 0a20  > 'purged',. 
│ │ │ +001c8e10: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.
Remediati │ │ │ -001fa0a0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -001fa0b0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -001fa0f0: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -001fa100: 6465 2073 7368 5f70 7269 7661 7465 5f6b  de ssh_private_k
│ │ │ -001fa110: 6579 5f70 6572 6d73 0a0a 636c 6173 7320  ey_perms..class 
│ │ │ -001fa120: 7373 685f 7072 6976 6174 655f 6b65 795f  ssh_private_key_
│ │ │ -001fa130: 7065 726d 7320 7b0a 2020 6578 6563 207b  perms {.  exec {
│ │ │ -001fa140: 2027 7373 6864 5f70 7269 765f 6b65 7927   'sshd_priv_key'
│ │ │ -001fa150: 3a0a 2020 2020 636f 6d6d 616e 6420 3d26  :.    command =&
│ │ │ -001fa160: 6774 3b20 2263 686d 6f64 2030 3634 3020  gt; "chmod 0640 
│ │ │ -001fa170: 2f65 7463 2f73 7368 2f2a 5f6b 6579 222c  /etc/ssh/*_key",
│ │ │ -001fa180: 0a20 2020 2070 6174 6820 2020 203d 2667  .    path    =&g
│ │ │ -001fa190: 743b 2027 2f62 696e 3a2f 7573 722f 6269  t; '/bin:/usr/bi
│ │ │ -001fa1a0: 6e27 0a20 207d 0a7d 0a3c 2f63 6f64 653e  n'.  }.}.
│ │ │ -001fa1b0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ -001fa260: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible │ │ │ -001fa270: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -001fa280: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ -001fa310: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
- name: Gather 
│ │ │ -001fa3c0: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ -001fa3d0: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ -001fa3e0: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ -001fa3f0: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ -001fa400: 204e 4953 542d 3830 302d 3137 312d 332e   NIST-800-171-3.
│ │ │ -001fa410: 312e 3133 0a20 202d 204e 4953 542d 3830  1.13.  - NIST-80
│ │ │ -001fa420: 302d 3137 312d 332e 3133 2e31 300a 2020  0-171-3.13.10.  
│ │ │ -001fa430: 2d20 4e49 5354 2d38 3030 2d35 332d 4143  - NIST-800-53-AC
│ │ │ -001fa440: 2d31 3728 6129 0a20 202d 204e 4953 542d  -17(a).  - NIST-
│ │ │ -001fa450: 3830 302d 3533 2d41 432d 3628 3129 0a20  800-53-AC-6(1). 
│ │ │ -001fa460: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -001fa470: 4d2d 3628 6129 0a20 202d 2050 4349 2d44  M-6(a).  - PCI-D
│ │ │ -001fa480: 5353 2d52 6571 2d32 2e32 2e34 0a20 202d  SS-Req-2.2.4.  -
│ │ │ -001fa490: 2050 4349 2d44 5353 7634 2d32 2e32 0a20   PCI-DSSv4-2.2. 
│ │ │ -001fa4a0: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ -001fa4b0: 2e36 0a20 202d 2063 6f6e 6669 6775 7265  .6.  - configure
│ │ │ -001fa4c0: 5f73 7472 6174 6567 790a 2020 2d20 6669  _strategy.  - fi
│ │ │ -001fa4d0: 6c65 5f70 6572 6d69 7373 696f 6e73 5f73  le_permissions_s
│ │ │ -001fa4e0: 7368 645f 7072 6976 6174 655f 6b65 790a  shd_private_key.
│ │ │ -001fa4f0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -001fa500: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -001fa510: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -001fa520: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -001fa530: 5f72 6562 6f6f 745f 6e65 6564 6564 0a0a  _reboot_needed..
│ │ │ -001fa540: 2d20 6e61 6d65 3a20 4669 6e64 2072 6f6f  - name: Find roo
│ │ │ -001fa550: 743a 726f 6f74 2d6f 776e 6564 206b 6579  t:root-owned key
│ │ │ -001fa560: 730a 2020 616e 7369 626c 652e 6275 696c  s.  ansible.buil
│ │ │ -001fa570: 7469 6e2e 636f 6d6d 616e 643a 2066 696e  tin.command: fin
│ │ │ -001fa580: 6420 2d48 202f 6574 632f 7373 682f 202d  d -H /etc/ssh/ -
│ │ │ -001fa590: 6d61 7864 6570 7468 2031 202d 7573 6572  maxdepth 1 -user
│ │ │ -001fa5a0: 2072 6f6f 7420 2d72 6567 6578 2022 2e2a   root -regex ".*
│ │ │ -001fa5b0: 5f6b 6579 2422 0a20 2020 202d 7479 7065  _key$".    -type
│ │ │ -001fa5c0: 2066 202d 6772 6f75 7020 726f 6f74 202d   f -group root -
│ │ │ -001fa5d0: 7065 726d 202f 752b 7873 2c67 2b78 7772  perm /u+xs,g+xwr
│ │ │ -001fa5e0: 732c 6f2b 7877 7274 0a20 2072 6567 6973  s,o+xwrt.  regis
│ │ │ -001fa5f0: 7465 723a 2072 6f6f 745f 6f77 6e65 645f  ter: root_owned_
│ │ │ -001fa600: 6b65 7973 0a20 2063 6861 6e67 6564 5f77  keys.  changed_w
│ │ │ -001fa610: 6865 6e3a 2066 616c 7365 0a20 2066 6169  hen: false.  fai
│ │ │ -001fa620: 6c65 645f 7768 656e 3a20 6661 6c73 650a  led_when: false.
│ │ │ -001fa630: 2020 6368 6563 6b5f 6d6f 6465 3a20 6661    check_mode: fa
│ │ │ -001fa640: 6c73 650a 2020 7768 656e 3a20 2722 6c69  lse.  when: '"li
│ │ │ -001fa650: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ -001fa660: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -001fa670: 6765 7327 0a20 2074 6167 733a 0a20 202d  ges'.  tags:.  -
│ │ │ -001fa680: 204e 4953 542d 3830 302d 3137 312d 332e   NIST-800-171-3.
│ │ │ -001fa690: 312e 3133 0a20 202d 204e 4953 542d 3830  1.13.  - NIST-80
│ │ │ -001fa6a0: 302d 3137 312d 332e 3133 2e31 300a 2020  0-171-3.13.10.  
│ │ │ -001fa6b0: 2d20 4e49 5354 2d38 3030 2d35 332d 4143  - NIST-800-53-AC
│ │ │ -001fa6c0: 2d31 3728 6129 0a20 202d 204e 4953 542d  -17(a).  - NIST-
│ │ │ -001fa6d0: 3830 302d 3533 2d41 432d 3628 3129 0a20  800-53-AC-6(1). 
│ │ │ -001fa6e0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -001fa6f0: 4d2d 3628 6129 0a20 202d 2050 4349 2d44  M-6(a).  - PCI-D
│ │ │ -001fa700: 5353 2d52 6571 2d32 2e32 2e34 0a20 202d  SS-Req-2.2.4.  -
│ │ │ -001fa710: 2050 4349 2d44 5353 7634 2d32 2e32 0a20   PCI-DSSv4-2.2. 
│ │ │ -001fa720: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ -001fa730: 2e36 0a20 202d 2063 6f6e 6669 6775 7265  .6.  - configure
│ │ │ -001fa740: 5f73 7472 6174 6567 790a 2020 2d20 6669  _strategy.  - fi
│ │ │ -001fa750: 6c65 5f70 6572 6d69 7373 696f 6e73 5f73  le_permissions_s
│ │ │ -001fa760: 7368 645f 7072 6976 6174 655f 6b65 790a  shd_private_key.
│ │ │ -001fa770: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -001fa780: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -001fa790: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -001fa7a0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -001fa7b0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a0a  _reboot_needed..
│ │ │ -001fa7c0: 2d20 6e61 6d65 3a20 5365 7420 7065 726d  - name: Set perm
│ │ │ -001fa7d0: 6973 7369 6f6e 7320 666f 7220 726f 6f74  issions for root
│ │ │ -001fa7e0: 3a72 6f6f 742d 6f77 6e65 6420 6b65 7973  :root-owned keys
│ │ │ -001fa7f0: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74  .  ansible.built
│ │ │ -001fa800: 696e 2e66 696c 653a 0a20 2020 2070 6174  in.file:.    pat
│ │ │ -001fa810: 683a 2027 7b7b 2069 7465 6d20 7d7d 270a  h: '{{ item }}'.
│ │ │ -001fa820: 2020 2020 6d6f 6465 3a20 752d 7873 2c67      mode: u-xs,g
│ │ │ -001fa830: 2d78 7772 732c 6f2d 7877 7274 0a20 2020  -xwrs,o-xwrt.   
│ │ │ -001fa840: 2073 7461 7465 3a20 6669 6c65 0a20 2077   state: file.  w
│ │ │ -001fa850: 6974 685f 6974 656d 733a 0a20 202d 2027  ith_items:.  - '
│ │ │ -001fa860: 7b7b 2072 6f6f 745f 6f77 6e65 645f 6b65  {{ root_owned_ke
│ │ │ -001fa870: 7973 2e73 7464 6f75 745f 6c69 6e65 7320  ys.stdout_lines 
│ │ │ -001fa880: 7d7d 270a 2020 7768 656e 3a20 2722 6c69  }}'.  when: '"li
│ │ │ -001fa890: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ -001fa8a0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -001fa8b0: 6765 7327 0a20 2074 6167 733a 0a20 202d  ges'.  tags:.  -
│ │ │ -001fa8c0: 204e 4953 542d 3830 302d 3137 312d 332e   NIST-800-171-3.
│ │ │ -001fa8d0: 312e 3133 0a20 202d 204e 4953 542d 3830  1.13.  - NIST-80
│ │ │ -001fa8e0: 302d 3137 312d 332e 3133 2e31 300a 2020  0-171-3.13.10.  
│ │ │ -001fa8f0: 2d20 4e49 5354 2d38 3030 2d35 332d 4143  - NIST-800-53-AC
│ │ │ -001fa900: 2d31 3728 6129 0a20 202d 204e 4953 542d  -17(a).  - NIST-
│ │ │ -001fa910: 3830 302d 3533 2d41 432d 3628 3129 0a20  800-53-AC-6(1). 
│ │ │ -001fa920: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -001fa930: 4d2d 3628 6129 0a20 202d 2050 4349 2d44  M-6(a).  - PCI-D
│ │ │ -001fa940: 5353 2d52 6571 2d32 2e32 2e34 0a20 202d  SS-Req-2.2.4.  -
│ │ │ -001fa950: 2050 4349 2d44 5353 7634 2d32 2e32 0a20   PCI-DSSv4-2.2. 
│ │ │ -001fa960: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ -001fa970: 2e36 0a20 202d 2063 6f6e 6669 6775 7265  .6.  - configure
│ │ │ -001fa980: 5f73 7472 6174 6567 790a 2020 2d20 6669  _strategy.  - fi
│ │ │ -001fa990: 6c65 5f70 6572 6d69 7373 696f 6e73 5f73  le_permissions_s
│ │ │ -001fa9a0: 7368 645f 7072 6976 6174 655f 6b65 790a  shd_private_key.
│ │ │ -001fa9b0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -001fa9c0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -001fa9d0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -001fa9e0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -001fa9f0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a3c  _reboot_needed.<
│ │ │ +001fa0a0: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070  on Ansible snipp
│ │ │ +001fa0b0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64  et ...
│ │ │ -001fa300: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -001fa330: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -001fa340: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -001fa380: 793a 3c2f 7468 3e3c 7464 3e63 6f6e 6669 y:confi │ │ │ -001fa390: 6775 7265 3c2f 7464 3e3c 2f74 723e 3c2f gure
│ │ │ +001fa160: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +001fa180: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +001fa1b0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +001fa140: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +001fa150: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +001fa170: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +001fa190: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +001fa1a0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:configure< │ │ │ +001fa1d0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +001fa1f0: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ +001fa200: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ +001fa210: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ +001fa220: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ +001fa230: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ +001fa240: 2d38 3030 2d31 3731 2d33 2e31 2e31 330a  -800-171-3.1.13.
│ │ │ +001fa250: 2020 2d20 4e49 5354 2d38 3030 2d31 3731    - NIST-800-171
│ │ │ +001fa260: 2d33 2e31 332e 3130 0a20 202d 204e 4953  -3.13.10.  - NIS
│ │ │ +001fa270: 542d 3830 302d 3533 2d41 432d 3137 2861  T-800-53-AC-17(a
│ │ │ +001fa280: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +001fa290: 332d 4143 2d36 2831 290a 2020 2d20 4e49  3-AC-6(1).  - NI
│ │ │ +001fa2a0: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +001fa2b0: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ +001fa2c0: 712d 322e 322e 340a 2020 2d20 5043 492d  q-2.2.4.  - PCI-
│ │ │ +001fa2d0: 4453 5376 342d 322e 320a 2020 2d20 5043  DSSv4-2.2.  - PC
│ │ │ +001fa2e0: 492d 4453 5376 342d 322e 322e 360a 2020  I-DSSv4-2.2.6.  
│ │ │ +001fa2f0: 2d20 636f 6e66 6967 7572 655f 7374 7261  - configure_stra
│ │ │ +001fa300: 7465 6779 0a20 202d 2066 696c 655f 7065  tegy.  - file_pe
│ │ │ +001fa310: 726d 6973 7369 6f6e 735f 7373 6864 5f70  rmissions_sshd_p
│ │ │ +001fa320: 7269 7661 7465 5f6b 6579 0a20 202d 206c  rivate_key.  - l
│ │ │ +001fa330: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +001fa340: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +001fa350: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ +001fa360: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +001fa370: 6f74 5f6e 6565 6465 640a 0a2d 206e 616d  ot_needed..- nam
│ │ │ +001fa380: 653a 2046 696e 6420 726f 6f74 3a72 6f6f  e: Find root:roo
│ │ │ +001fa390: 742d 6f77 6e65 6420 6b65 7973 0a20 2061  t-owned keys.  a
│ │ │ +001fa3a0: 6e73 6962 6c65 2e62 7569 6c74 696e 2e63  nsible.builtin.c
│ │ │ +001fa3b0: 6f6d 6d61 6e64 3a20 6669 6e64 202d 4820  ommand: find -H 
│ │ │ +001fa3c0: 2f65 7463 2f73 7368 2f20 2d6d 6178 6465  /etc/ssh/ -maxde
│ │ │ +001fa3d0: 7074 6820 3120 2d75 7365 7220 726f 6f74  pth 1 -user root
│ │ │ +001fa3e0: 202d 7265 6765 7820 222e 2a5f 6b65 7924   -regex ".*_key$
│ │ │ +001fa3f0: 220a 2020 2020 2d74 7970 6520 6620 2d67  ".    -type f -g
│ │ │ +001fa400: 726f 7570 2072 6f6f 7420 2d70 6572 6d20  roup root -perm 
│ │ │ +001fa410: 2f75 2b78 732c 672b 7877 7273 2c6f 2b78  /u+xs,g+xwrs,o+x
│ │ │ +001fa420: 7772 740a 2020 7265 6769 7374 6572 3a20  wrt.  register: 
│ │ │ +001fa430: 726f 6f74 5f6f 776e 6564 5f6b 6579 730a  root_owned_keys.
│ │ │ +001fa440: 2020 6368 616e 6765 645f 7768 656e 3a20    changed_when: 
│ │ │ +001fa450: 6661 6c73 650a 2020 6661 696c 6564 5f77  false.  failed_w
│ │ │ +001fa460: 6865 6e3a 2066 616c 7365 0a20 2063 6865  hen: false.  che
│ │ │ +001fa470: 636b 5f6d 6f64 653a 2066 616c 7365 0a20  ck_mode: false. 
│ │ │ +001fa480: 2077 6865 6e3a 2027 226c 696e 7578 2d62   when: '"linux-b
│ │ │ +001fa490: 6173 6522 2069 6e20 616e 7369 626c 655f  ase" in ansible_
│ │ │ +001fa4a0: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ +001fa4b0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ +001fa4c0: 2d38 3030 2d31 3731 2d33 2e31 2e31 330a  -800-171-3.1.13.
│ │ │ +001fa4d0: 2020 2d20 4e49 5354 2d38 3030 2d31 3731    - NIST-800-171
│ │ │ +001fa4e0: 2d33 2e31 332e 3130 0a20 202d 204e 4953  -3.13.10.  - NIS
│ │ │ +001fa4f0: 542d 3830 302d 3533 2d41 432d 3137 2861  T-800-53-AC-17(a
│ │ │ +001fa500: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +001fa510: 332d 4143 2d36 2831 290a 2020 2d20 4e49  3-AC-6(1).  - NI
│ │ │ +001fa520: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +001fa530: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ +001fa540: 712d 322e 322e 340a 2020 2d20 5043 492d  q-2.2.4.  - PCI-
│ │ │ +001fa550: 4453 5376 342d 322e 320a 2020 2d20 5043  DSSv4-2.2.  - PC
│ │ │ +001fa560: 492d 4453 5376 342d 322e 322e 360a 2020  I-DSSv4-2.2.6.  
│ │ │ +001fa570: 2d20 636f 6e66 6967 7572 655f 7374 7261  - configure_stra
│ │ │ +001fa580: 7465 6779 0a20 202d 2066 696c 655f 7065  tegy.  - file_pe
│ │ │ +001fa590: 726d 6973 7369 6f6e 735f 7373 6864 5f70  rmissions_sshd_p
│ │ │ +001fa5a0: 7269 7661 7465 5f6b 6579 0a20 202d 206c  rivate_key.  - l
│ │ │ +001fa5b0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +001fa5c0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +001fa5d0: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ +001fa5e0: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +001fa5f0: 6f74 5f6e 6565 6465 640a 0a2d 206e 616d  ot_needed..- nam
│ │ │ +001fa600: 653a 2053 6574 2070 6572 6d69 7373 696f  e: Set permissio
│ │ │ +001fa610: 6e73 2066 6f72 2072 6f6f 743a 726f 6f74  ns for root:root
│ │ │ +001fa620: 2d6f 776e 6564 206b 6579 730a 2020 616e  -owned keys.  an
│ │ │ +001fa630: 7369 626c 652e 6275 696c 7469 6e2e 6669  sible.builtin.fi
│ │ │ +001fa640: 6c65 3a0a 2020 2020 7061 7468 3a20 277b  le:.    path: '{
│ │ │ +001fa650: 7b20 6974 656d 207d 7d27 0a20 2020 206d  { item }}'.    m
│ │ │ +001fa660: 6f64 653a 2075 2d78 732c 672d 7877 7273  ode: u-xs,g-xwrs
│ │ │ +001fa670: 2c6f 2d78 7772 740a 2020 2020 7374 6174  ,o-xwrt.    stat
│ │ │ +001fa680: 653a 2066 696c 650a 2020 7769 7468 5f69  e: file.  with_i
│ │ │ +001fa690: 7465 6d73 3a0a 2020 2d20 277b 7b20 726f  tems:.  - '{{ ro
│ │ │ +001fa6a0: 6f74 5f6f 776e 6564 5f6b 6579 732e 7374  ot_owned_keys.st
│ │ │ +001fa6b0: 646f 7574 5f6c 696e 6573 207d 7d27 0a20  dout_lines }}'. 
│ │ │ +001fa6c0: 2077 6865 6e3a 2027 226c 696e 7578 2d62   when: '"linux-b
│ │ │ +001fa6d0: 6173 6522 2069 6e20 616e 7369 626c 655f  ase" in ansible_
│ │ │ +001fa6e0: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ +001fa6f0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ +001fa700: 2d38 3030 2d31 3731 2d33 2e31 2e31 330a  -800-171-3.1.13.
│ │ │ +001fa710: 2020 2d20 4e49 5354 2d38 3030 2d31 3731    - NIST-800-171
│ │ │ +001fa720: 2d33 2e31 332e 3130 0a20 202d 204e 4953  -3.13.10.  - NIS
│ │ │ +001fa730: 542d 3830 302d 3533 2d41 432d 3137 2861  T-800-53-AC-17(a
│ │ │ +001fa740: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +001fa750: 332d 4143 2d36 2831 290a 2020 2d20 4e49  3-AC-6(1).  - NI
│ │ │ +001fa760: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +001fa770: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ +001fa780: 712d 322e 322e 340a 2020 2d20 5043 492d  q-2.2.4.  - PCI-
│ │ │ +001fa790: 4453 5376 342d 322e 320a 2020 2d20 5043  DSSv4-2.2.  - PC
│ │ │ +001fa7a0: 492d 4453 5376 342d 322e 322e 360a 2020  I-DSSv4-2.2.6.  
│ │ │ +001fa7b0: 2d20 636f 6e66 6967 7572 655f 7374 7261  - configure_stra
│ │ │ +001fa7c0: 7465 6779 0a20 202d 2066 696c 655f 7065  tegy.  - file_pe
│ │ │ +001fa7d0: 726d 6973 7369 6f6e 735f 7373 6864 5f70  rmissions_sshd_p
│ │ │ +001fa7e0: 7269 7661 7465 5f6b 6579 0a20 202d 206c  rivate_key.  - l
│ │ │ +001fa7f0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +001fa800: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +001fa810: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ +001fa820: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +001fa830: 6f74 5f6e 6565 6465 640a 3c2f 636f 6465  ot_needed.
Rem │ │ │ +001fa8f0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ +001fa900: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +001fa910: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
include ssh_pri
│ │ │ +001fa960: 7661 7465 5f6b 6579 5f70 6572 6d73 0a0a  vate_key_perms..
│ │ │ +001fa970: 636c 6173 7320 7373 685f 7072 6976 6174  class ssh_privat
│ │ │ +001fa980: 655f 6b65 795f 7065 726d 7320 7b0a 2020  e_key_perms {.  
│ │ │ +001fa990: 6578 6563 207b 2027 7373 6864 5f70 7269  exec { 'sshd_pri
│ │ │ +001fa9a0: 765f 6b65 7927 3a0a 2020 2020 636f 6d6d  v_key':.    comm
│ │ │ +001fa9b0: 616e 6420 3d26 6774 3b20 2263 686d 6f64  and => "chmod
│ │ │ +001fa9c0: 2030 3634 3020 2f65 7463 2f73 7368 2f2a   0640 /etc/ssh/*
│ │ │ +001fa9d0: 5f6b 6579 222c 0a20 2020 2070 6174 6820  _key",.    path 
│ │ │ +001fa9e0: 2020 203d 2667 743b 2027 2f62 696e 3a2f     => '/bin:/
│ │ │ +001fa9f0: 7573 722f 6269 6e27 0a20 207d 0a7d 0a3c  usr/bin'.  }.}.<
│ │ │  001faa00: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Reme │ │ │ -001fbed0: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -001fbee0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...

│ │ │ -001fbf30: 696e 636c 7564 6520 7373 685f 7075 626c  include ssh_publ
│ │ │ -001fbf40: 6963 5f6b 6579 5f70 6572 6d73 0a0a 636c  ic_key_perms..cl
│ │ │ -001fbf50: 6173 7320 7373 685f 7075 626c 6963 5f6b  ass ssh_public_k
│ │ │ -001fbf60: 6579 5f70 6572 6d73 207b 0a20 2065 7865  ey_perms {.  exe
│ │ │ -001fbf70: 6320 7b20 2773 7368 645f 7075 625f 6b65  c { 'sshd_pub_ke
│ │ │ -001fbf80: 7927 3a0a 2020 2020 636f 6d6d 616e 6420  y':.    command 
│ │ │ -001fbf90: 3d26 6774 3b20 2263 686d 6f64 2030 3634  => "chmod 064
│ │ │ -001fbfa0: 3420 2f65 7463 2f73 7368 2f2a 2e70 7562  4 /etc/ssh/*.pub
│ │ │ -001fbfb0: 222c 0a20 2020 2070 6174 6820 2020 203d  ",.    path    =
│ │ │ -001fbfc0: 2667 743b 2027 2f62 696e 3a2f 7573 722f  > '/bin:/usr/
│ │ │ -001fbfd0: 6269 6e27 0a20 207d 0a7d 0a3c 2f63 6f64  bin'.  }.}.
Re │ │ │ -001fc090: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -001fc0a0: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
Complexity: │ │ │ -001fc180: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -001fc190: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f │ │ │ -001fc1d0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
low
Disru │ │ │ -001fc160: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -001fc170: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -001fc1b0: 6567 793a 3c2f 7468 3e3c 7464 3e63 6f6e egy:con │ │ │ -001fc1c0: 6669 6775 7265 3c2f 7464 3e3c 2f74 723e figure
- name: Gathe
│ │ │ -001fc1f0: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ -001fc200: 6374 730a 2020 7061 636b 6167 655f 6661  cts.  package_fa
│ │ │ -001fc210: 6374 733a 0a20 2020 206d 616e 6167 6572  cts:.    manager
│ │ │ -001fc220: 3a20 6175 746f 0a20 2074 6167 733a 0a20  : auto.  tags:. 
│ │ │ -001fc230: 202d 204e 4953 542d 3830 302d 3137 312d   - NIST-800-171-
│ │ │ -001fc240: 332e 312e 3133 0a20 202d 204e 4953 542d  3.1.13.  - NIST-
│ │ │ -001fc250: 3830 302d 3137 312d 332e 3133 2e31 300a  800-171-3.13.10.
│ │ │ -001fc260: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -001fc270: 4143 2d31 3728 6129 0a20 202d 204e 4953  AC-17(a).  - NIS
│ │ │ -001fc280: 542d 3830 302d 3533 2d41 432d 3628 3129  T-800-53-AC-6(1)
│ │ │ -001fc290: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -001fc2a0: 2d43 4d2d 3628 6129 0a20 202d 2050 4349  -CM-6(a).  - PCI
│ │ │ -001fc2b0: 2d44 5353 2d52 6571 2d32 2e32 2e34 0a20  -DSS-Req-2.2.4. 
│ │ │ -001fc2c0: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ -001fc2d0: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ -001fc2e0: 2e32 2e36 0a20 202d 2063 6f6e 6669 6775  .2.6.  - configu
│ │ │ -001fc2f0: 7265 5f73 7472 6174 6567 790a 2020 2d20  re_strategy.  - 
│ │ │ -001fc300: 6669 6c65 5f70 6572 6d69 7373 696f 6e73  file_permissions
│ │ │ -001fc310: 5f73 7368 645f 7075 625f 6b65 790a 2020  _sshd_pub_key.  
│ │ │ -001fc320: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -001fc330: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -001fc340: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ -001fc350: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ -001fc360: 6562 6f6f 745f 6e65 6564 6564 0a0a 2d20  eboot_needed..- 
│ │ │ -001fc370: 6e61 6d65 3a20 4669 6e64 202f 6574 632f  name: Find /etc/
│ │ │ -001fc380: 7373 682f 2066 696c 6528 7329 0a20 2063  ssh/ file(s).  c
│ │ │ -001fc390: 6f6d 6d61 6e64 3a20 6669 6e64 202d 4820  ommand: find -H 
│ │ │ -001fc3a0: 2f65 7463 2f73 7368 2f20 2d6d 6178 6465  /etc/ssh/ -maxde
│ │ │ -001fc3b0: 7074 6820 3120 2d70 6572 6d20 2f75 2b78  pth 1 -perm /u+x
│ │ │ -001fc3c0: 732c 672b 7877 732c 6f2b 7877 7420 202d  s,g+xws,o+xwt  -
│ │ │ -001fc3d0: 7479 7065 2066 202d 7265 6765 7874 7970  type f -regextyp
│ │ │ -001fc3e0: 650a 2020 2020 706f 7369 782d 6578 7465  e.    posix-exte
│ │ │ -001fc3f0: 6e64 6564 202d 7265 6765 7820 225e 2e2a  nded -regex "^.*
│ │ │ -001fc400: 5c2e 7075 6224 220a 2020 7265 6769 7374  \.pub$".  regist
│ │ │ -001fc410: 6572 3a20 6669 6c65 735f 666f 756e 640a  er: files_found.
│ │ │ -001fc420: 2020 6368 616e 6765 645f 7768 656e 3a20    changed_when: 
│ │ │ -001fc430: 6661 6c73 650a 2020 6661 696c 6564 5f77  false.  failed_w
│ │ │ -001fc440: 6865 6e3a 2066 616c 7365 0a20 2063 6865  hen: false.  che
│ │ │ -001fc450: 636b 5f6d 6f64 653a 2066 616c 7365 0a20  ck_mode: false. 
│ │ │ -001fc460: 2077 6865 6e3a 2027 226c 696e 7578 2d62   when: '"linux-b
│ │ │ -001fc470: 6173 6522 2069 6e20 616e 7369 626c 655f  ase" in ansible_
│ │ │ -001fc480: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -001fc490: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ -001fc4a0: 2d38 3030 2d31 3731 2d33 2e31 2e31 330a  -800-171-3.1.13.
│ │ │ -001fc4b0: 2020 2d20 4e49 5354 2d38 3030 2d31 3731    - NIST-800-171
│ │ │ -001fc4c0: 2d33 2e31 332e 3130 0a20 202d 204e 4953  -3.13.10.  - NIS
│ │ │ -001fc4d0: 542d 3830 302d 3533 2d41 432d 3137 2861  T-800-53-AC-17(a
│ │ │ -001fc4e0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -001fc4f0: 332d 4143 2d36 2831 290a 2020 2d20 4e49  3-AC-6(1).  - NI
│ │ │ -001fc500: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ -001fc510: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ -001fc520: 712d 322e 322e 340a 2020 2d20 5043 492d  q-2.2.4.  - PCI-
│ │ │ -001fc530: 4453 5376 342d 322e 320a 2020 2d20 5043  DSSv4-2.2.  - PC
│ │ │ -001fc540: 492d 4453 5376 342d 322e 322e 360a 2020  I-DSSv4-2.2.6.  
│ │ │ -001fc550: 2d20 636f 6e66 6967 7572 655f 7374 7261  - configure_stra
│ │ │ -001fc560: 7465 6779 0a20 202d 2066 696c 655f 7065  tegy.  - file_pe
│ │ │ -001fc570: 726d 6973 7369 6f6e 735f 7373 6864 5f70  rmissions_sshd_p
│ │ │ -001fc580: 7562 5f6b 6579 0a20 202d 206c 6f77 5f63  ub_key.  - low_c
│ │ │ -001fc590: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ -001fc5a0: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ -001fc5b0: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ -001fc5c0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ -001fc5d0: 6565 6465 640a 0a2d 206e 616d 653a 2053  eeded..- name: S
│ │ │ -001fc5e0: 6574 2070 6572 6d69 7373 696f 6e73 2066  et permissions f
│ │ │ -001fc5f0: 6f72 202f 6574 632f 7373 682f 2066 696c  or /etc/ssh/ fil
│ │ │ -001fc600: 6528 7329 0a20 2066 696c 653a 0a20 2020  e(s).  file:.   
│ │ │ -001fc610: 2070 6174 683a 2027 7b7b 2069 7465 6d20   path: '{{ item 
│ │ │ -001fc620: 7d7d 270a 2020 2020 6d6f 6465 3a20 752d  }}'.    mode: u-
│ │ │ -001fc630: 7873 2c67 2d78 7773 2c6f 2d78 7774 0a20  xs,g-xws,o-xwt. 
│ │ │ -001fc640: 2020 2073 7461 7465 3a20 6669 6c65 0a20     state: file. 
│ │ │ -001fc650: 2077 6974 685f 6974 656d 733a 0a20 202d   with_items:.  -
│ │ │ -001fc660: 2027 7b7b 2066 696c 6573 5f66 6f75 6e64   '{{ files_found
│ │ │ -001fc670: 2e73 7464 6f75 745f 6c69 6e65 7320 7d7d  .stdout_lines }}
│ │ │ -001fc680: 270a 2020 7768 656e 3a20 2722 6c69 6e75  '.  when: '"linu
│ │ │ -001fc690: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ -001fc6a0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -001fc6b0: 7327 0a20 2074 6167 733a 0a20 202d 204e  s'.  tags:.  - N
│ │ │ -001fc6c0: 4953 542d 3830 302d 3137 312d 332e 312e  IST-800-171-3.1.
│ │ │ -001fc6d0: 3133 0a20 202d 204e 4953 542d 3830 302d  13.  - NIST-800-
│ │ │ -001fc6e0: 3137 312d 332e 3133 2e31 300a 2020 2d20  171-3.13.10.  - 
│ │ │ -001fc6f0: 4e49 5354 2d38 3030 2d35 332d 4143 2d31  NIST-800-53-AC-1
│ │ │ -001fc700: 3728 6129 0a20 202d 204e 4953 542d 3830  7(a).  - NIST-80
│ │ │ -001fc710: 302d 3533 2d41 432d 3628 3129 0a20 202d  0-53-AC-6(1).  -
│ │ │ -001fc720: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -001fc730: 3628 6129 0a20 202d 2050 4349 2d44 5353  6(a).  - PCI-DSS
│ │ │ -001fc740: 2d52 6571 2d32 2e32 2e34 0a20 202d 2050  -Req-2.2.4.  - P
│ │ │ -001fc750: 4349 2d44 5353 7634 2d32 2e32 0a20 202d  CI-DSSv4-2.2.  -
│ │ │ -001fc760: 2050 4349 2d44 5353 7634 2d32 2e32 2e36   PCI-DSSv4-2.2.6
│ │ │ -001fc770: 0a20 202d 2063 6f6e 6669 6775 7265 5f73  .  - configure_s
│ │ │ -001fc780: 7472 6174 6567 790a 2020 2d20 6669 6c65  trategy.  - file
│ │ │ -001fc790: 5f70 6572 6d69 7373 696f 6e73 5f73 7368  _permissions_ssh
│ │ │ -001fc7a0: 645f 7075 625f 6b65 790a 2020 2d20 6c6f  d_pub_key.  - lo
│ │ │ -001fc7b0: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -001fc7c0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -001fc7d0: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ -001fc7e0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ -001fc7f0: 745f 6e65 6564 6564 0a3c 2f63 6f64 653e  t_needed.
│ │ │ +001fbed0: 6469 6174 696f 6e20 416e 7369 626c 6520  diation Ansible 
│ │ │ +001fbee0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c  snippet ...<
│ │ │ +001fbef0: 6272 3e3c 6469 7620 636c 6173 733d 2270  br>
│ │ │ +001fbf80: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
- name: Gather 
│ │ │ +001fc030: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ +001fc040: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ +001fc050: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ +001fc060: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ +001fc070: 204e 4953 542d 3830 302d 3137 312d 332e   NIST-800-171-3.
│ │ │ +001fc080: 312e 3133 0a20 202d 204e 4953 542d 3830  1.13.  - NIST-80
│ │ │ +001fc090: 302d 3137 312d 332e 3133 2e31 300a 2020  0-171-3.13.10.  
│ │ │ +001fc0a0: 2d20 4e49 5354 2d38 3030 2d35 332d 4143  - NIST-800-53-AC
│ │ │ +001fc0b0: 2d31 3728 6129 0a20 202d 204e 4953 542d  -17(a).  - NIST-
│ │ │ +001fc0c0: 3830 302d 3533 2d41 432d 3628 3129 0a20  800-53-AC-6(1). 
│ │ │ +001fc0d0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +001fc0e0: 4d2d 3628 6129 0a20 202d 2050 4349 2d44  M-6(a).  - PCI-D
│ │ │ +001fc0f0: 5353 2d52 6571 2d32 2e32 2e34 0a20 202d  SS-Req-2.2.4.  -
│ │ │ +001fc100: 2050 4349 2d44 5353 7634 2d32 2e32 0a20   PCI-DSSv4-2.2. 
│ │ │ +001fc110: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ +001fc120: 2e36 0a20 202d 2063 6f6e 6669 6775 7265  .6.  - configure
│ │ │ +001fc130: 5f73 7472 6174 6567 790a 2020 2d20 6669  _strategy.  - fi
│ │ │ +001fc140: 6c65 5f70 6572 6d69 7373 696f 6e73 5f73  le_permissions_s
│ │ │ +001fc150: 7368 645f 7075 625f 6b65 790a 2020 2d20  shd_pub_key.  - 
│ │ │ +001fc160: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +001fc170: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +001fc180: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ +001fc190: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +001fc1a0: 6f6f 745f 6e65 6564 6564 0a0a 2d20 6e61  oot_needed..- na
│ │ │ +001fc1b0: 6d65 3a20 4669 6e64 202f 6574 632f 7373  me: Find /etc/ss
│ │ │ +001fc1c0: 682f 2066 696c 6528 7329 0a20 2063 6f6d  h/ file(s).  com
│ │ │ +001fc1d0: 6d61 6e64 3a20 6669 6e64 202d 4820 2f65  mand: find -H /e
│ │ │ +001fc1e0: 7463 2f73 7368 2f20 2d6d 6178 6465 7074  tc/ssh/ -maxdept
│ │ │ +001fc1f0: 6820 3120 2d70 6572 6d20 2f75 2b78 732c  h 1 -perm /u+xs,
│ │ │ +001fc200: 672b 7877 732c 6f2b 7877 7420 202d 7479  g+xws,o+xwt  -ty
│ │ │ +001fc210: 7065 2066 202d 7265 6765 7874 7970 650a  pe f -regextype.
│ │ │ +001fc220: 2020 2020 706f 7369 782d 6578 7465 6e64      posix-extend
│ │ │ +001fc230: 6564 202d 7265 6765 7820 225e 2e2a 5c2e  ed -regex "^.*\.
│ │ │ +001fc240: 7075 6224 220a 2020 7265 6769 7374 6572  pub$".  register
│ │ │ +001fc250: 3a20 6669 6c65 735f 666f 756e 640a 2020  : files_found.  
│ │ │ +001fc260: 6368 616e 6765 645f 7768 656e 3a20 6661  changed_when: fa
│ │ │ +001fc270: 6c73 650a 2020 6661 696c 6564 5f77 6865  lse.  failed_whe
│ │ │ +001fc280: 6e3a 2066 616c 7365 0a20 2063 6865 636b  n: false.  check
│ │ │ +001fc290: 5f6d 6f64 653a 2066 616c 7365 0a20 2077  _mode: false.  w
│ │ │ +001fc2a0: 6865 6e3a 2027 226c 696e 7578 2d62 6173  hen: '"linux-bas
│ │ │ +001fc2b0: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ +001fc2c0: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ +001fc2d0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ +001fc2e0: 3030 2d31 3731 2d33 2e31 2e31 330a 2020  00-171-3.1.13.  
│ │ │ +001fc2f0: 2d20 4e49 5354 2d38 3030 2d31 3731 2d33  - NIST-800-171-3
│ │ │ +001fc300: 2e31 332e 3130 0a20 202d 204e 4953 542d  .13.10.  - NIST-
│ │ │ +001fc310: 3830 302d 3533 2d41 432d 3137 2861 290a  800-53-AC-17(a).
│ │ │ +001fc320: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001fc330: 4143 2d36 2831 290a 2020 2d20 4e49 5354  AC-6(1).  - NIST
│ │ │ +001fc340: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ +001fc350: 2020 2d20 5043 492d 4453 532d 5265 712d    - PCI-DSS-Req-
│ │ │ +001fc360: 322e 322e 340a 2020 2d20 5043 492d 4453  2.2.4.  - PCI-DS
│ │ │ +001fc370: 5376 342d 322e 320a 2020 2d20 5043 492d  Sv4-2.2.  - PCI-
│ │ │ +001fc380: 4453 5376 342d 322e 322e 360a 2020 2d20  DSSv4-2.2.6.  - 
│ │ │ +001fc390: 636f 6e66 6967 7572 655f 7374 7261 7465  configure_strate
│ │ │ +001fc3a0: 6779 0a20 202d 2066 696c 655f 7065 726d  gy.  - file_perm
│ │ │ +001fc3b0: 6973 7369 6f6e 735f 7373 6864 5f70 7562  issions_sshd_pub
│ │ │ +001fc3c0: 5f6b 6579 0a20 202d 206c 6f77 5f63 6f6d  _key.  - low_com
│ │ │ +001fc3d0: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +001fc3e0: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ +001fc3f0: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ +001fc400: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +001fc410: 6465 640a 0a2d 206e 616d 653a 2053 6574  ded..- name: Set
│ │ │ +001fc420: 2070 6572 6d69 7373 696f 6e73 2066 6f72   permissions for
│ │ │ +001fc430: 202f 6574 632f 7373 682f 2066 696c 6528   /etc/ssh/ file(
│ │ │ +001fc440: 7329 0a20 2066 696c 653a 0a20 2020 2070  s).  file:.    p
│ │ │ +001fc450: 6174 683a 2027 7b7b 2069 7465 6d20 7d7d  ath: '{{ item }}
│ │ │ +001fc460: 270a 2020 2020 6d6f 6465 3a20 752d 7873  '.    mode: u-xs
│ │ │ +001fc470: 2c67 2d78 7773 2c6f 2d78 7774 0a20 2020  ,g-xws,o-xwt.   
│ │ │ +001fc480: 2073 7461 7465 3a20 6669 6c65 0a20 2077   state: file.  w
│ │ │ +001fc490: 6974 685f 6974 656d 733a 0a20 202d 2027  ith_items:.  - '
│ │ │ +001fc4a0: 7b7b 2066 696c 6573 5f66 6f75 6e64 2e73  {{ files_found.s
│ │ │ +001fc4b0: 7464 6f75 745f 6c69 6e65 7320 7d7d 270a  tdout_lines }}'.
│ │ │ +001fc4c0: 2020 7768 656e 3a20 2722 6c69 6e75 782d    when: '"linux-
│ │ │ +001fc4d0: 6261 7365 2220 696e 2061 6e73 6962 6c65  base" in ansible
│ │ │ +001fc4e0: 5f66 6163 7473 2e70 6163 6b61 6765 7327  _facts.packages'
│ │ │ +001fc4f0: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ +001fc500: 542d 3830 302d 3137 312d 332e 312e 3133  T-800-171-3.1.13
│ │ │ +001fc510: 0a20 202d 204e 4953 542d 3830 302d 3137  .  - NIST-800-17
│ │ │ +001fc520: 312d 332e 3133 2e31 300a 2020 2d20 4e49  1-3.13.10.  - NI
│ │ │ +001fc530: 5354 2d38 3030 2d35 332d 4143 2d31 3728  ST-800-53-AC-17(
│ │ │ +001fc540: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ +001fc550: 3533 2d41 432d 3628 3129 0a20 202d 204e  53-AC-6(1).  - N
│ │ │ +001fc560: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ +001fc570: 6129 0a20 202d 2050 4349 2d44 5353 2d52  a).  - PCI-DSS-R
│ │ │ +001fc580: 6571 2d32 2e32 2e34 0a20 202d 2050 4349  eq-2.2.4.  - PCI
│ │ │ +001fc590: 2d44 5353 7634 2d32 2e32 0a20 202d 2050  -DSSv4-2.2.  - P
│ │ │ +001fc5a0: 4349 2d44 5353 7634 2d32 2e32 2e36 0a20  CI-DSSv4-2.2.6. 
│ │ │ +001fc5b0: 202d 2063 6f6e 6669 6775 7265 5f73 7472   - configure_str
│ │ │ +001fc5c0: 6174 6567 790a 2020 2d20 6669 6c65 5f70  ategy.  - file_p
│ │ │ +001fc5d0: 6572 6d69 7373 696f 6e73 5f73 7368 645f  ermissions_sshd_
│ │ │ +001fc5e0: 7075 625f 6b65 790a 2020 2d20 6c6f 775f  pub_key.  - low_
│ │ │ +001fc5f0: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ +001fc600: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ +001fc610: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ +001fc620: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ +001fc630: 6e65 6564 6564 0a3c 2f63 6f64 653e 3c2f  needed.Remedi
│ │ │ +001fc6f0: 6174 696f 6e20 5075 7070 6574 2073 6e69  ation Puppet sni
│ │ │ +001fc700: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e  ppet ...
│ │ │ +001fc710: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
in
│ │ │ +001fc750: 636c 7564 6520 7373 685f 7075 626c 6963  clude ssh_public
│ │ │ +001fc760: 5f6b 6579 5f70 6572 6d73 0a0a 636c 6173  _key_perms..clas
│ │ │ +001fc770: 7320 7373 685f 7075 626c 6963 5f6b 6579  s ssh_public_key
│ │ │ +001fc780: 5f70 6572 6d73 207b 0a20 2065 7865 6320  _perms {.  exec 
│ │ │ +001fc790: 7b20 2773 7368 645f 7075 625f 6b65 7927  { 'sshd_pub_key'
│ │ │ +001fc7a0: 3a0a 2020 2020 636f 6d6d 616e 6420 3d26  :.    command =&
│ │ │ +001fc7b0: 6774 3b20 2263 686d 6f64 2030 3634 3420  gt; "chmod 0644 
│ │ │ +001fc7c0: 2f65 7463 2f73 7368 2f2a 2e70 7562 222c  /etc/ssh/*.pub",
│ │ │ +001fc7d0: 0a20 2020 2070 6174 6820 2020 203d 2667  .    path    =&g
│ │ │ +001fc7e0: 743b 2027 2f62 696e 3a2f 7573 722f 6269  t; '/bin:/usr/bi
│ │ │ +001fc7f0: 6e27 0a20 207d 0a7d 0a3c 2f63 6f64 653e  n'.  }.}.
│ │ │  001fc800: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -175,14 +158,31 @@ │ │ │ │ - PCI-DSSv4-11.5.2 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_aide_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_aide │ │ │ │ + │ │ │ │ +class install_aide { │ │ │ │ + package { 'aide': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "aide" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -635,26 +635,14 @@ │ │ │ │ $ apt-get remove prelink │ │ │ │ The use of the prelink package can interfere with the operation of AIDE since it │ │ │ │ Rationale: binaries. Prelinking can also increase damage caused by vulnerability in a common library │ │ │ │ like libc. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_prelink_removed │ │ │ │ References: _c_i_s 1.6.3 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_prelink │ │ │ │ - │ │ │ │ -class remove_prelink { │ │ │ │ - package { 'prelink': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: medium │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Check If Prelinked Is Installed │ │ │ │ ansible.builtin.stat: │ │ │ │ @@ -688,14 +676,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_disruption │ │ │ │ - medium_complexity │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_prelink_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_prelink │ │ │ │ + │ │ │ │ +class remove_prelink { │ │ │ │ + package { 'prelink': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: medium │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ if [[ -f /usr/sbin/prelink ]]; │ │ │ │ @@ -960,31 +960,14 @@ │ │ │ │ _i_s_m 1382, 1384, 1386 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ References: _o_s_p_p FMT_MOF_EXT.1 │ │ │ │ _o_s_-_s_r_g SRG-OS-000324-GPOS-00125 │ │ │ │ _c_i_s 1.3.1 │ │ │ │ _a_n_s_s_i R33 │ │ │ │ _p_c_i_d_s_s_4 2.2.6, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "sudo" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_sudo │ │ │ │ - │ │ │ │ -class install_sudo { │ │ │ │ - package { 'sudo': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -1011,14 +994,31 @@ │ │ │ │ - PCI-DSSv4-2.2.6 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_sudo_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_sudo │ │ │ │ + │ │ │ │ +class install_sudo { │ │ │ │ + package { 'sudo': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "sudo" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -4341,31 +4341,14 @@ │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_pam_pwquality_installed │ │ │ │ _d_i_s_a CCI-000366 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00225 │ │ │ │ References: _s_t_i_g_i_d UBTU-20-010057 │ │ │ │ _c_i_s 5.3.1 │ │ │ │ _s_t_i_g_r_e_f SV-238228r653859_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "libpam-pwquality" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_libpam-pwquality │ │ │ │ - │ │ │ │ -class install_libpam-pwquality { │ │ │ │ - package { 'libpam-pwquality': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -4388,14 +4371,31 @@ │ │ │ │ - DISA-STIG-UBTU-20-010057 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_pam_pwquality_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_libpam-pwquality │ │ │ │ + │ │ │ │ +class install_libpam-pwquality { │ │ │ │ + package { 'libpam-pwquality': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "libpam-pwquality" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status}\n' 'libpam-runtime' 2>/dev/null | grep - │ │ │ │ @@ -6720,31 +6720,14 @@ │ │ │ │ _d_i_s_a CCI-001764, CCI-001774, CCI-002165, CCI-002235 │ │ │ │ _o_s_-_s_r_g SRG-OS-000368-GPOS-00154, SRG-OS-000312-GPOS-00122, SRG-OS-000312-GPOS-00123, │ │ │ │ SRG-OS-000312-GPOS-00124, SRG-OS-000324-GPOS-00125, SRG-OS-000370-GPOS-00155 │ │ │ │ References: _s_t_i_g_i_d UBTU-20-010439 │ │ │ │ _c_i_s 1.7.1.1 │ │ │ │ _a_n_s_s_i R45 │ │ │ │ _s_t_i_g_r_e_f SV-238360r853435_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "apparmor" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_apparmor │ │ │ │ - │ │ │ │ -class install_apparmor { │ │ │ │ - package { 'apparmor': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Ensure apparmor is installed │ │ │ │ package: │ │ │ │ @@ -6755,14 +6738,31 @@ │ │ │ │ - DISA-STIG-UBTU-20-010439 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_apparmor_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_apparmor │ │ │ │ + │ │ │ │ +class install_apparmor { │ │ │ │ + package { 'apparmor': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "apparmor" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if [ ! -f /.dockerenv ] && [ ! -f /run/.containerenv ]; then │ │ │ │ @@ -7657,31 +7657,14 @@ │ │ │ │ References: _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _o_s_-_s_r_g SRG-OS-000479-GPOS-00224, SRG-OS-000051-GPOS-00024, SRG-OS-000480-GPOS- │ │ │ │ 00227 │ │ │ │ _c_i_s 4.2.1.1 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "rsyslog" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_rsyslog │ │ │ │ - │ │ │ │ -class install_rsyslog { │ │ │ │ - package { 'rsyslog': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -7704,14 +7687,31 @@ │ │ │ │ - NIST-800-53-CM-6(a) │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_rsyslog_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_rsyslog │ │ │ │ + │ │ │ │ +class install_rsyslog { │ │ │ │ + package { 'rsyslog': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "rsyslog" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -7742,31 +7742,14 @@ │ │ │ │ A.15.2.1, A.15.2.2, A.17.2.1 │ │ │ │ _n_i_s_t CM-6(a), AU-4(1) │ │ │ │ _n_i_s_t_-_c_s_f DE.CM-1, DE.CM-3, DE.CM-7, ID.SC-4, PR.DS-4, PR.PT-1 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00227 │ │ │ │ _s_t_i_g_i_d UBTU-20-010432 │ │ │ │ _c_i_s 4.2.1.2 │ │ │ │ _s_t_i_g_r_e_f SV-238353r654234_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["rsyslog"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_rsyslog │ │ │ │ - │ │ │ │ -class enable_rsyslog { │ │ │ │ - service {'rsyslog': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -7804,14 +7787,31 @@ │ │ │ │ - NIST-800-53-CM-6(a) │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_rsyslog_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_rsyslog │ │ │ │ + │ │ │ │ +class enable_rsyslog { │ │ │ │ + service {'rsyslog': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["rsyslog"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -8321,31 +8321,14 @@ │ │ │ │ The iptables-persistent package can be installed with the following command: │ │ │ │ $ apt-get install iptables-persistent │ │ │ │ Rationale: A method of configuring and maintaining firewall rules is necessary to configure a Host │ │ │ │ Based Firewall. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_iptables-persistent_installed │ │ │ │ References: _c_i_s 3.5.3.1.1 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "iptables-persistent" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_iptables-persistent │ │ │ │ - │ │ │ │ -class install_iptables-persistent { │ │ │ │ - package { 'iptables-persistent': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -8366,14 +8349,31 @@ │ │ │ │ tags: │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_iptables-persistent_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_iptables-persistent │ │ │ │ + │ │ │ │ +class install_iptables-persistent { │ │ │ │ + package { 'iptables-persistent': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "iptables-persistent" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status}\n' 'iptables' 2>/dev/null | grep - │ │ │ │ @@ -8391,31 +8391,14 @@ │ │ │ │ operators to set up firewalls and IP masquerading, etc. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_iptables_installed │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ References: _p_c_i_d_s_s Req-1.4.1 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00227 │ │ │ │ _c_i_s 3.5.3.1.1 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "iptables" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_iptables │ │ │ │ - │ │ │ │ -class install_iptables { │ │ │ │ - package { 'iptables': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -8440,14 +8423,31 @@ │ │ │ │ - PCI-DSS-Req-1.4.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_iptables_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_iptables │ │ │ │ + │ │ │ │ +class install_iptables { │ │ │ │ + package { 'iptables': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "iptables" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if ( dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -8462,26 +8462,14 @@ │ │ │ │ The iptables-persistent package can be removed with the following command: │ │ │ │ $ apt-get remove iptables-persistent │ │ │ │ Rationale: Running both ufw and the services included in the iptables-persistent package may lead to │ │ │ │ conflict. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_iptables-persistent_removed │ │ │ │ References: _c_i_s 3.5.1.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_iptables-persistent │ │ │ │ - │ │ │ │ -class remove_iptables-persistent { │ │ │ │ - package { 'iptables-persistent': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -8502,14 +8490,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_iptables-persistent_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_iptables-persistent │ │ │ │ + │ │ │ │ +class remove_iptables-persistent { │ │ │ │ + package { 'iptables-persistent': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status}\n' 'ufw' 2>/dev/null | grep -q '^installed'; │ │ │ │ @@ -13305,31 +13305,14 @@ │ │ │ │ nftables is a subsystem of the Linux kernel that can protect against threats originating │ │ │ │ Rationale: from within a corporate network to include malicious mobile code and poorly configured │ │ │ │ software on a host. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_nftables_installed │ │ │ │ References: _c_i_s 3.5.2.1 │ │ │ │ _p_c_i_d_s_s_4 1.2.1, 1.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "nftables" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_nftables │ │ │ │ - │ │ │ │ -class install_nftables { │ │ │ │ - package { 'nftables': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -13354,14 +13337,31 @@ │ │ │ │ - PCI-DSSv4-1.2.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_nftables_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_nftables │ │ │ │ + │ │ │ │ +class install_nftables { │ │ │ │ + package { 'nftables': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "nftables" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if ( dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -13377,26 +13377,14 @@ │ │ │ │ packets/datagrams/frames and is the successor to iptables. The nftables package can be removed with │ │ │ │ the following command: │ │ │ │ $ apt-get remove nftables │ │ │ │ Rationale: Running both firewalld and nftables may lead to conflict. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_nftables_removed │ │ │ │ References: _c_i_s 3.5.3.1.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_nftables │ │ │ │ - │ │ │ │ -class remove_nftables { │ │ │ │ - package { 'nftables': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure nftables is removed │ │ │ │ package: │ │ │ │ @@ -13405,14 +13393,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_nftables_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_nftables │ │ │ │ + │ │ │ │ +class remove_nftables { │ │ │ │ + package { 'nftables': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove nftables │ │ │ │ @@ -13427,31 +13427,14 @@ │ │ │ │ nftables service The nftables service can be enabled with the following command: │ │ │ │ $ sudo systemctl enable nftables.service │ │ │ │ Rationale: The nftables service restores the nftables rules from the rules files referenced in the / │ │ │ │ etc/sysconfig/nftables.conf file during boot or the starting of the nftables service │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_nftables_enabled │ │ │ │ References: _c_i_s 3.5.2.9 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["nftables"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_nftables │ │ │ │ - │ │ │ │ -class enable_nftables { │ │ │ │ - service {'nftables': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -13484,14 +13467,31 @@ │ │ │ │ tags: │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_nftables_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_nftables │ │ │ │ + │ │ │ │ +class enable_nftables { │ │ │ │ + service {'nftables': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["nftables"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if ( dpkg-query --show --showformat='${db:Status-Status}\n' 'nftables' 2>/dev/null | grep - │ │ │ │ @@ -13515,50 +13515,14 @@ │ │ │ │ systemctl disable nftables │ │ │ │ Rationale: Running both firewalld and nftables may lead to conflict. nftables is actually one of the │ │ │ │ backends for firewalld management tools. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_nftables_disabled │ │ │ │ References: _c_i_s 3.5.3.1.2 │ │ │ │ _p_c_i_d_s_s_4 1.2.1, 1.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -masked = ["nftables"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: medium │ │ │ │ -RReebboooott:: true │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ -kind: MachineConfig │ │ │ │ -spec: │ │ │ │ - config: │ │ │ │ - ignition: │ │ │ │ - version: 3.1.0 │ │ │ │ - systemd: │ │ │ │ - units: │ │ │ │ - - name: nftables.service │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ - - name: nftables.socket │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include disable_nftables │ │ │ │ - │ │ │ │ -class disable_nftables { │ │ │ │ - service {'nftables': │ │ │ │ - enable => false, │ │ │ │ - ensure => 'stopped', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -13645,14 +13609,50 @@ │ │ │ │ - PCI-DSSv4-1.2.1 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_nftables_disabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: medium │ │ │ │ +RReebboooott:: true │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ +kind: MachineConfig │ │ │ │ +spec: │ │ │ │ + config: │ │ │ │ + ignition: │ │ │ │ + version: 3.1.0 │ │ │ │ + systemd: │ │ │ │ + units: │ │ │ │ + - name: nftables.service │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ + - name: nftables.socket │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include disable_nftables │ │ │ │ + │ │ │ │ +class disable_nftables { │ │ │ │ + service {'nftables': │ │ │ │ + enable => false, │ │ │ │ + ensure => 'stopped', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +masked = ["nftables"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if ( dpkg-query --show --showformat='${db:Status-Status}\n' 'firewalld' 2>/dev/null | grep - │ │ │ │ @@ -14194,31 +14194,14 @@ │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_ufw_installed │ │ │ │ _d_i_s_a CCI-002314 │ │ │ │ _o_s_-_s_r_g SRG-OS-000297-GPOS-00115 │ │ │ │ References: _s_t_i_g_i_d UBTU-20-010433 │ │ │ │ _c_i_s 3.5.1.1 │ │ │ │ _s_t_i_g_r_e_f SV-238354r853429_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "ufw" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_ufw │ │ │ │ - │ │ │ │ -class install_ufw { │ │ │ │ - package { 'ufw': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -14241,14 +14224,31 @@ │ │ │ │ - DISA-STIG-UBTU-20-010433 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_ufw_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_ufw │ │ │ │ + │ │ │ │ +class install_ufw { │ │ │ │ + package { 'ufw': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "ufw" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -14262,26 +14262,14 @@ │ │ │ │ ****** RRuullee? ?  RReemmoovvee uuffww PPaacckkaaggee ? ? _[[_rr_ee_ff_]] ****** │ │ │ │ The ufw package can be removed with the following command: │ │ │ │ $ apt-get remove ufw │ │ │ │ Rationale: Running iptables.persistent with ufw enabled may lead to conflict and unexpected results. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_ufw_removed │ │ │ │ References: _c_i_s 3.5.2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_ufw │ │ │ │ - │ │ │ │ -class remove_ufw { │ │ │ │ - package { 'ufw': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -14302,14 +14290,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_ufw_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_ufw │ │ │ │ + │ │ │ │ +class remove_ufw { │ │ │ │ + package { 'ufw': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -14333,31 +14333,14 @@ │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_ufw_enabled │ │ │ │ _d_i_s_a CCI-002314 │ │ │ │ _o_s_-_s_r_g SRG-OS-000297-GPOS-00115 │ │ │ │ References: _s_t_i_g_i_d UBTU-20-010434 │ │ │ │ _c_i_s 3.5.1.3 │ │ │ │ _s_t_i_g_r_e_f SV-238355r853430_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["ufw"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_ufw │ │ │ │ - │ │ │ │ -class enable_ufw { │ │ │ │ - service {'ufw': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -14393,14 +14376,31 @@ │ │ │ │ - DISA-STIG-UBTU-20-010434 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_ufw_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_ufw │ │ │ │ + │ │ │ │ +class enable_ufw { │ │ │ │ + service {'ufw': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["ufw"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -19441,26 +19441,14 @@ │ │ │ │ SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.3 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_avahi-daemon │ │ │ │ - │ │ │ │ -class remove_avahi-daemon { │ │ │ │ - package { 'avahi-daemon': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure avahi-daemon is removed │ │ │ │ package: │ │ │ │ @@ -19472,14 +19460,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_avahi_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_avahi-daemon │ │ │ │ + │ │ │ │ +class remove_avahi-daemon { │ │ │ │ + package { 'avahi-daemon': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove avahi-daemon │ │ │ │ @@ -19508,50 +19508,14 @@ │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.3 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -masked = ["avahi-daemon"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: medium │ │ │ │ -RReebboooott:: true │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ -kind: MachineConfig │ │ │ │ -spec: │ │ │ │ - config: │ │ │ │ - ignition: │ │ │ │ - version: 3.1.0 │ │ │ │ - systemd: │ │ │ │ - units: │ │ │ │ - - name: avahi-daemon.service │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ - - name: avahi-daemon.socket │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include disable_avahi-daemon │ │ │ │ - │ │ │ │ -class disable_avahi-daemon { │ │ │ │ - service {'avahi-daemon': │ │ │ │ - enable => false, │ │ │ │ - ensure => 'stopped', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -19652,14 +19616,50 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_avahi-daemon_disabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: medium │ │ │ │ +RReebboooott:: true │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ +kind: MachineConfig │ │ │ │ +spec: │ │ │ │ + config: │ │ │ │ + ignition: │ │ │ │ + version: 3.1.0 │ │ │ │ + systemd: │ │ │ │ + units: │ │ │ │ + - name: avahi-daemon.service │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ + - name: avahi-daemon.socket │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include disable_avahi-daemon │ │ │ │ + │ │ │ │ +class disable_avahi-daemon { │ │ │ │ + service {'avahi-daemon': │ │ │ │ + enable => false, │ │ │ │ + ensure => 'stopped', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +masked = ["avahi-daemon"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if ( dpkg-query --show --showformat='${db:Status-Status}\n' 'avahi-daemon' 2>/dev/null | grep - │ │ │ │ @@ -20205,31 +20205,14 @@ │ │ │ │ SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 5.1.1 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["cron"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_cron │ │ │ │ - │ │ │ │ -class enable_cron { │ │ │ │ - service {'cron': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -20263,14 +20246,31 @@ │ │ │ │ - NIST-800-53-CM-6(a) │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_cron_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_cron │ │ │ │ + │ │ │ │ +class enable_cron { │ │ │ │ + service {'cron': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["cron"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -21792,26 +21792,14 @@ │ │ │ │ The support for Yellowpages should not be installed unless it is required. │ │ │ │ NIS is the historical SUN service for central account management, more and more replaced │ │ │ │ Rationale: by LDAP. NIS does not support efficiently security constraints, ACL, etc. and should not │ │ │ │ be used. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_nis_removed │ │ │ │ References: _c_i_s 2.2.17 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_nis │ │ │ │ - │ │ │ │ -class remove_nis { │ │ │ │ - package { 'nis': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure nis is removed │ │ │ │ package: │ │ │ │ @@ -21820,14 +21808,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_nis_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_nis │ │ │ │ + │ │ │ │ +class remove_nis { │ │ │ │ + package { 'nis': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove nis │ │ │ │ @@ -21869,26 +21869,14 @@ │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.5 │ │ │ │ _a_n_s_s_i R62 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_isc-dhcp-server │ │ │ │ - │ │ │ │ -class remove_isc-dhcp-server { │ │ │ │ - package { 'isc-dhcp-server': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure isc-dhcp-server is removed │ │ │ │ package: │ │ │ │ @@ -21902,14 +21890,26 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_dhcp_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_isc-dhcp-server │ │ │ │ + │ │ │ │ +class remove_isc-dhcp-server { │ │ │ │ + package { 'isc-dhcp-server': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove isc-dhcp-server │ │ │ │ @@ -21945,26 +21945,14 @@ │ │ │ │ SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.8 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_bind9 │ │ │ │ - │ │ │ │ -class remove_bind9 { │ │ │ │ - package { 'bind9': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure bind9 is removed │ │ │ │ package: │ │ │ │ @@ -21976,14 +21964,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_bind_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_bind9 │ │ │ │ + │ │ │ │ +class remove_bind9 { │ │ │ │ + package { 'bind9': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove bind9 │ │ │ │ @@ -22022,26 +22022,14 @@ │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a), IA-5(1)(c), IA-5(1).1(v), CM-7, CM-7.1(ii) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _o_s_-_s_r_g SRG-OS-000074-GPOS-00042, SRG-OS-000095-GPOS-00049, SRG-OS-000480-GPOS- │ │ │ │ 00227 │ │ │ │ _c_i_s 2.2.9 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_vsftpd │ │ │ │ - │ │ │ │ -class remove_vsftpd { │ │ │ │ - package { 'vsftpd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure vsftpd is removed │ │ │ │ package: │ │ │ │ @@ -22057,14 +22045,26 @@ │ │ │ │ - NIST-800-53-IA-5(1).1(v) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_vsftpd_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_vsftpd │ │ │ │ + │ │ │ │ +class remove_vsftpd { │ │ │ │ + package { 'vsftpd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove vsftpd │ │ │ │ @@ -22103,26 +22103,14 @@ │ │ │ │ References: SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.10 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_apache2 │ │ │ │ - │ │ │ │ -class remove_apache2 { │ │ │ │ - package { 'apache2': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure apache2 is removed │ │ │ │ package: │ │ │ │ @@ -22134,14 +22122,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_httpd_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_apache2 │ │ │ │ + │ │ │ │ +class remove_apache2 { │ │ │ │ + package { 'apache2': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove apache2 │ │ │ │ @@ -22169,26 +22169,14 @@ │ │ │ │ References: SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.10 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_nginx │ │ │ │ - │ │ │ │ -class remove_nginx { │ │ │ │ - package { 'nginx': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure nginx is removed │ │ │ │ package: │ │ │ │ @@ -22200,14 +22188,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_nginx_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_nginx │ │ │ │ + │ │ │ │ +class remove_nginx { │ │ │ │ + package { 'nginx': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove nginx │ │ │ │ @@ -22227,26 +22227,14 @@ │ │ │ │ The cyrus-imapd package can be removed with the following command: │ │ │ │ $ apt-get remove cyrus-imapd │ │ │ │ Rationale: If there is no need to make the cyrus-imapd software available, removing it provides a │ │ │ │ safeguard against its activation. │ │ │ │ Severity:  unknown │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_cyrus-imapd_removed │ │ │ │ References: _c_i_s 2.2.11 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_cyrus-imapd │ │ │ │ - │ │ │ │ -class remove_cyrus-imapd { │ │ │ │ - package { 'cyrus-imapd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure cyrus-imapd is removed │ │ │ │ package: │ │ │ │ @@ -22255,14 +22243,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_cyrus-imapd_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_cyrus-imapd │ │ │ │ + │ │ │ │ +class remove_cyrus-imapd { │ │ │ │ + package { 'cyrus-imapd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove cyrus-imapd │ │ │ │ @@ -22279,26 +22279,14 @@ │ │ │ │ The dovecot-core package can be removed with the following command: │ │ │ │ $ apt-get remove dovecot-core │ │ │ │ Rationale: If there is no need to make the Dovecot software available, removing it provides a │ │ │ │ safeguard against its activation. │ │ │ │ Severity:  unknown │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_dovecot_removed │ │ │ │ References: _c_i_s 2.2.11 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_dovecot-core │ │ │ │ - │ │ │ │ -class remove_dovecot-core { │ │ │ │ - package { 'dovecot-core': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure dovecot-core is removed │ │ │ │ package: │ │ │ │ @@ -22307,14 +22295,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_dovecot_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_dovecot-core │ │ │ │ + │ │ │ │ +class remove_dovecot-core { │ │ │ │ + package { 'dovecot-core': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove dovecot-core │ │ │ │ @@ -22344,26 +22344,14 @@ │ │ │ │ command: │ │ │ │ $ apt-get remove lapd-utils │ │ │ │ Rationale: If the system does not need to act as an LDAP client, it is recommended that the software │ │ │ │ is removed to reduce the potential attack surface. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_openldap-clients_removed │ │ │ │ References: _c_i_s 2.3.5 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_ldap-utils │ │ │ │ - │ │ │ │ -class remove_ldap-utils { │ │ │ │ - package { 'ldap-utils': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure ldap-utils is removed │ │ │ │ package: │ │ │ │ @@ -22372,14 +22360,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_openldap-clients_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_ldap-utils │ │ │ │ + │ │ │ │ +class remove_ldap-utils { │ │ │ │ + package { 'ldap-utils': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove ldap-utils │ │ │ │ @@ -22410,26 +22410,14 @@ │ │ │ │ SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_slapd │ │ │ │ - │ │ │ │ -class remove_slapd { │ │ │ │ - package { 'slapd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure slapd is removed │ │ │ │ package: │ │ │ │ @@ -22441,14 +22429,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_openldap-servers_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_slapd │ │ │ │ + │ │ │ │ +class remove_slapd { │ │ │ │ + package { 'slapd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove slapd │ │ │ │ @@ -22566,26 +22566,14 @@ │ │ │ │ then this service should be disabled. The rpcbind package can be removed with the following command: │ │ │ │ $ apt-get remove rpcbind │ │ │ │ Rationale: If the system does not require rpc based services, it is recommended that rpcbind be │ │ │ │ disabled to reduce the attack surface. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_rpcbind_removed │ │ │ │ References: _c_i_s 2.3.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_rpcbind │ │ │ │ - │ │ │ │ -class remove_rpcbind { │ │ │ │ - package { 'rpcbind': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -22606,14 +22594,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_rpcbind_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_rpcbind │ │ │ │ + │ │ │ │ +class remove_rpcbind { │ │ │ │ + package { 'rpcbind': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -22634,26 +22634,14 @@ │ │ │ │ The nfs-kernel-server package can be removed with the following command: │ │ │ │ $ apt-get remove nfs-kernel-server │ │ │ │ Rationale: If the system does not export NFS shares or act as an NFS client, it is recommended that │ │ │ │ these services be removed to reduce the remote attack surface. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_nfs-kernel-server_removed │ │ │ │ References: _c_i_s 2.2.7 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_nfs-kernel-server │ │ │ │ - │ │ │ │ -class remove_nfs-kernel-server { │ │ │ │ - package { 'nfs-kernel-server': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure nfs-kernel-server is removed │ │ │ │ package: │ │ │ │ @@ -22662,14 +22650,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_nfs-kernel-server_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_nfs-kernel-server │ │ │ │ + │ │ │ │ +class remove_nfs-kernel-server { │ │ │ │ + package { 'nfs-kernel-server': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove nfs-kernel-server │ │ │ │ @@ -22738,31 +22738,14 @@ │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ References: _o_s_-_s_r_g SRG-OS-000355-GPOS-00143 │ │ │ │ _s_t_i_g_i_d UBTU-20-010435 │ │ │ │ _c_i_s 2.2.1.1 │ │ │ │ _a_n_s_s_i R71 │ │ │ │ _p_c_i_d_s_s_4 10.6.1, 10.6 │ │ │ │ _s_t_i_g_r_e_f SV-238356r877038_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "chrony" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_chrony │ │ │ │ - │ │ │ │ -class install_chrony { │ │ │ │ - package { 'chrony': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -22791,14 +22774,31 @@ │ │ │ │ - PCI-DSSv4-10.6.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_chrony_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_chrony │ │ │ │ + │ │ │ │ +class install_chrony { │ │ │ │ + package { 'chrony': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "chrony" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -22819,31 +22819,14 @@ │ │ │ │ synchronization is working properly. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_chronyd_enabled │ │ │ │ _d_i_s_a CCI-004923 │ │ │ │ References: _i_s_m 0988, 1405 │ │ │ │ _o_s_-_s_r_g SRG-OS-000355-GPOS-00143 │ │ │ │ _c_i_s 2.2.1.3 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["chrony"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_chrony │ │ │ │ - │ │ │ │ -class enable_chrony { │ │ │ │ - service {'chrony': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -22877,14 +22860,31 @@ │ │ │ │ tags: │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_chronyd_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_chrony │ │ │ │ + │ │ │ │ +class enable_chrony { │ │ │ │ + service {'chrony': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["chrony"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -22921,31 +22921,14 @@ │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ References: _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a), AU-8(1)(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ _c_i_s 2.2.1.4 │ │ │ │ _p_c_i_d_s_s_4 10.6.1, 10.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["ntp"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_ntp │ │ │ │ - │ │ │ │ -class enable_ntp { │ │ │ │ - service {'ntp': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -22989,14 +22972,31 @@ │ │ │ │ - PCI-DSSv4-10.6.1 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - service_ntp_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_ntp │ │ │ │ + │ │ │ │ +class enable_ntp { │ │ │ │ + service {'ntp': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["ntp"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -23032,31 +23032,14 @@ │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ References: _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a), AU-8(1)(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ _c_i_s 2.2.1.2 │ │ │ │ _p_c_i_d_s_s_4 10.6.1, 10.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["systemd-timesyncd"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_systemd-timesyncd │ │ │ │ - │ │ │ │ -class enable_systemd-timesyncd { │ │ │ │ - service {'systemd-timesyncd': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -23101,14 +23084,31 @@ │ │ │ │ - PCI-DSSv4-10.6.1 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - service_timesyncd_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_systemd-timesyncd │ │ │ │ + │ │ │ │ +class enable_systemd-timesyncd { │ │ │ │ + service {'systemd-timesyncd': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["systemd-timesyncd"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -23409,26 +23409,14 @@ │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1, A.13.2.1, A.14.1.3, │ │ │ │ A.14.2.2, A.14.2.3, A.14.2.4, A.6.2.1, A.6.2.2, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4 │ │ │ │ _c_i_s 2.1.1 │ │ │ │ _a_n_s_s_i R62 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_xinetd │ │ │ │ - │ │ │ │ -class remove_xinetd { │ │ │ │ - package { 'xinetd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -23459,14 +23447,26 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_xinetd_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_xinetd │ │ │ │ + │ │ │ │ +class remove_xinetd { │ │ │ │ + package { 'xinetd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -23498,26 +23498,14 @@ │ │ │ │ _c_u_i 3.1.13 │ │ │ │ _h_i_p_a_a 164.308(a)(4)(i), 164.308(b)(1), 164.308(b)(3), 164.310(b), 164.312(e)(1), │ │ │ │ 164.312(e)(2)(ii) │ │ │ │ References: _i_s_o_2_7_0_0_1_-_2_0_1_3 A.8.2.3, A.13.1.1, A.13.2.1, A.13.2.3, A.14.1.2, A.14.1.3 │ │ │ │ _c_i_s 2.3.2 │ │ │ │ _a_n_s_s_i R62 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_rsh-client │ │ │ │ - │ │ │ │ -class remove_rsh-client { │ │ │ │ - package { 'rsh-client': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure rsh-client is removed │ │ │ │ package: │ │ │ │ @@ -23529,14 +23517,26 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_rsh_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_rsh-client │ │ │ │ + │ │ │ │ +class remove_rsh-client { │ │ │ │ + package { 'rsh-client': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove rsh-client │ │ │ │ @@ -23603,26 +23603,14 @@ │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_talk_removed │ │ │ │ _h_i_p_a_a 164.308(a)(4)(i), 164.308(b)(1), 164.308(b)(3), 164.310(b), 164.312(e)(1), │ │ │ │ 164.312(e)(2)(ii) │ │ │ │ References: _c_i_s 2.3.3 │ │ │ │ _a_n_s_s_i R62 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_talk │ │ │ │ - │ │ │ │ -class remove_talk { │ │ │ │ - package { 'talk': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure talk is removed │ │ │ │ package: │ │ │ │ @@ -23633,14 +23621,26 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_talk_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_talk │ │ │ │ + │ │ │ │ +class remove_talk { │ │ │ │ + package { 'talk': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove talk │ │ │ │ @@ -23664,26 +23664,14 @@ │ │ │ │ _c_u_i 3.1.13 │ │ │ │ _h_i_p_a_a 164.308(a)(4)(i), 164.308(b)(1), 164.308(b)(3), 164.310(b), 164.312(e)(1), │ │ │ │ 164.312(e)(2)(ii) │ │ │ │ References: _i_s_o_2_7_0_0_1_-_2_0_1_3 A.8.2.3, A.13.1.1, A.13.2.1, A.13.2.3, A.14.1.2, A.14.1.3 │ │ │ │ _c_i_s 2.3.4 │ │ │ │ _a_n_s_s_i R62 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_telnet │ │ │ │ - │ │ │ │ -class remove_telnet { │ │ │ │ - package { 'telnet': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure telnet is removed │ │ │ │ package: │ │ │ │ @@ -23695,14 +23683,26 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_telnet_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_telnet │ │ │ │ + │ │ │ │ +class remove_telnet { │ │ │ │ + package { 'telnet': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove telnet │ │ │ │ @@ -23717,26 +23717,14 @@ │ │ │ │ package can be removed with the following command: │ │ │ │ $ apt-get remove rsync │ │ │ │ Rationale: The rsyncd service presents a security risk as it uses unencrypted protocols for │ │ │ │ communication. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_rsync_removed │ │ │ │ References: _c_i_s 2.2.16 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_rsync │ │ │ │ - │ │ │ │ -class remove_rsync { │ │ │ │ - package { 'rsync': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure rsync is removed │ │ │ │ package: │ │ │ │ @@ -23745,14 +23733,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_rsync_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_rsync │ │ │ │ + │ │ │ │ +class remove_rsync { │ │ │ │ + package { 'rsync': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove rsync │ │ │ │ @@ -23785,26 +23785,14 @@ │ │ │ │ References: SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_cups │ │ │ │ - │ │ │ │ -class remove_cups { │ │ │ │ - package { 'cups': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure cups is removed │ │ │ │ package: │ │ │ │ @@ -23816,14 +23804,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_cups_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_cups │ │ │ │ + │ │ │ │ +class remove_cups { │ │ │ │ + package { 'cups': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove cups │ │ │ │ @@ -23846,26 +23846,14 @@ │ │ │ │ The squid package can be removed with the following command: │ │ │ │ $ apt-get remove squid │ │ │ │ Rationale: If there is no need to make the proxy server software available, removing it provides a │ │ │ │ safeguard against its activation. │ │ │ │ Severity:  unknown │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_squid_removed │ │ │ │ References: _c_i_s 2.2.13 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_squid │ │ │ │ - │ │ │ │ -class remove_squid { │ │ │ │ - package { 'squid': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure squid is removed │ │ │ │ package: │ │ │ │ @@ -23874,14 +23862,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_squid_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_squid │ │ │ │ + │ │ │ │ +class remove_squid { │ │ │ │ + package { 'squid': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove squid │ │ │ │ @@ -23906,26 +23906,14 @@ │ │ │ │ The samba package can be removed with the following command: │ │ │ │ $ apt-get remove samba │ │ │ │ Rationale: If there is no need to make the Samba software available, removing it provides a │ │ │ │ safeguard against its activation. │ │ │ │ Severity:  unknown │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_samba_removed │ │ │ │ References: _c_i_s 2.2.12 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_samba │ │ │ │ - │ │ │ │ -class remove_samba { │ │ │ │ - package { 'samba': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure samba is removed │ │ │ │ package: │ │ │ │ @@ -23934,14 +23922,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_samba_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_samba │ │ │ │ + │ │ │ │ +class remove_samba { │ │ │ │ + package { 'samba': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove samba │ │ │ │ @@ -23966,26 +23966,14 @@ │ │ │ │ $ apt-get remove snmp │ │ │ │ Rationale: If there is no need to run SNMP server software, removing the package provides a │ │ │ │ safeguard against its activation. │ │ │ │ Severity:  unknown │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_net-snmp_removed │ │ │ │ References: _c_i_s 2.2.14 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_snmp │ │ │ │ - │ │ │ │ -class remove_snmp { │ │ │ │ - package { 'snmp': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure snmp is removed │ │ │ │ package: │ │ │ │ @@ -23996,14 +23984,26 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_net-snmp_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_snmp │ │ │ │ + │ │ │ │ +class remove_snmp { │ │ │ │ + package { 'snmp': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove snmp │ │ │ │ @@ -27289,23 +27289,14 @@ │ │ │ │ _n_i_s_t AC-17(a), CM-6(a), AC-6(1) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-4, PR.DS-5 │ │ │ │ _p_c_i_d_s_s Req-2.2.4 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00227 │ │ │ │ _c_i_s 5.2.2 │ │ │ │ _a_n_s_s_i R50 │ │ │ │ _p_c_i_d_s_s_4 2.2.6, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -include ssh_private_key_perms │ │ │ │ - │ │ │ │ -class ssh_private_key_perms { │ │ │ │ - exec { 'sshd_priv_key': │ │ │ │ - command => "chmod 0640 /etc/ssh/*_key", │ │ │ │ - path => '/bin:/usr/bin' │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: configure │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -27369,14 +27360,23 @@ │ │ │ │ - PCI-DSSv4-2.2.6 │ │ │ │ - configure_strategy │ │ │ │ - file_permissions_sshd_private_key │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +include ssh_private_key_perms │ │ │ │ + │ │ │ │ +class ssh_private_key_perms { │ │ │ │ + exec { 'sshd_priv_key': │ │ │ │ + command => "chmod 0640 /etc/ssh/*_key", │ │ │ │ + path => '/bin:/usr/bin' │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ ' 'linux-base' 2>/dev/null | grep -q ^installed; then │ │ │ │ │ │ │ │ for keyfile in /etc/ssh/*_key; do │ │ │ │ test -f "$keyfile" || continue │ │ │ │ @@ -27417,23 +27417,14 @@ │ │ │ │ _n_i_s_t AC-17(a), CM-6(a), AC-6(1) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-4, PR.DS-5 │ │ │ │ _p_c_i_d_s_s Req-2.2.4 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00227 │ │ │ │ _c_i_s 5.2.3 │ │ │ │ _a_n_s_s_i R50 │ │ │ │ _p_c_i_d_s_s_4 2.2.6, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -include ssh_public_key_perms │ │ │ │ - │ │ │ │ -class ssh_public_key_perms { │ │ │ │ - exec { 'sshd_pub_key': │ │ │ │ - command => "chmod 0644 /etc/ssh/*.pub", │ │ │ │ - path => '/bin:/usr/bin' │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: configure │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -27497,14 +27488,23 @@ │ │ │ │ - PCI-DSSv4-2.2.6 │ │ │ │ - configure_strategy │ │ │ │ - file_permissions_sshd_pub_key │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +include ssh_public_key_perms │ │ │ │ + │ │ │ │ +class ssh_public_key_perms { │ │ │ │ + exec { 'sshd_pub_key': │ │ │ │ + command => "chmod 0644 /etc/ssh/*.pub", │ │ │ │ + path => '/bin:/usr/bin' │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: configure │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ ├── ./usr/share/doc/ssg-debderived/ssg-ubuntu2004-guide-cis_level2_server.html │ │ │ @@ -15117,137 +15117,137 @@ │ │ │ 0003b0c0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 0003b0d0: 646d 3237 3633 2220 7461 6269 6e64 6578 dm2763" tabindex │ │ │ 0003b0e0: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ 0003b0f0: 6e22 2061 7269 612d 6578 7061 6e64 6564 n" aria-expanded │ │ │ 0003b100: 3d22 6661 6c73 6522 2074 6974 6c65 3d22 ="false" title=" │ │ │ 0003b110: 4163 7469 7661 7465 2074 6f20 7265 7665 Activate to reve │ │ │ 0003b120: 616c 2220 6872 6566 3d22 2321 223e 5265 al" href="#!">Re │ │ │ -0003b130: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil │ │ │ -0003b140: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip │ │ │ -0003b150: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -0003b160: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -0003b170: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -0003b180: 7365 2220 6964 3d22 6964 6d32 3736 3322 se" id="idm2763" │ │ │ -0003b190: 3e3c 7072 653e 3c63 6f64 653e 0a5b 5b70 >
.[[p
│ │ │ -0003b1a0: 6163 6b61 6765 735d 5d0a 6e61 6d65 203d  ackages]].name =
│ │ │ -0003b1b0: 2022 6169 6465 220a 7665 7273 696f 6e20   "aide".version 
│ │ │ -0003b1c0: 3d20 222a 220a 3c2f 636f 6465 3e3c 2f70  = "*".

Remediat │ │ │ -0003b280: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ -0003b290: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -0003b2d0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
│ │ │ +001fbf70: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +001fbfa0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +001fbfb0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +001fbff0: 793a 3c2f 7468 3e3c 7464 3e63 6f6e 6669 y:confi │ │ │ +001fc000: 6775 7265 3c2f 7464 3e3c 2f74 723e 3c2f gure
< │ │ │ -0003b340: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -0003b360: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -0003b390: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -0003b3b0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -0003b320: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -0003b330: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -0003b370: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -0003b380: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ -0003b3d0: 696e 7374 616c 6c5f 6169 6465 0a0a 636c install_aide..cl │ │ │ -0003b3e0: 6173 7320 696e 7374 616c 6c5f 6169 6465 ass install_aide │ │ │ -0003b3f0: 207b 0a20 2070 6163 6b61 6765 207b 2027 {. package { ' │ │ │ -0003b400: 6169 6465 273a 0a20 2020 2065 6e73 7572 aide':. ensur │ │ │ -0003b410: 6520 3d26 6774 3b20 2769 6e73 7461 6c6c e => 'install │ │ │ -0003b420: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Rem │ │ │ -0003b4e0: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ -0003b4f0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -0003b500: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
│ │ │ -0003b590: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
- 
│ │ │ -0003b630: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ -0003b640: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ -0003b650: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ -0003b660: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ -0003b670: 6f0a 2020 7461 6773 3a0a 2020 2d20 434a  o.  tags:.  - CJ
│ │ │ -0003b680: 4953 2d35 2e31 302e 312e 330a 2020 2d20  IS-5.10.1.3.  - 
│ │ │ -0003b690: 4449 5341 2d53 5449 472d 5542 5455 2d32  DISA-STIG-UBTU-2
│ │ │ -0003b6a0: 302d 3031 3034 3530 0a20 202d 204e 4953  0-010450.  - NIS
│ │ │ -0003b6b0: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ -0003b6c0: 0a20 202d 2050 4349 2d44 5353 2d52 6571  .  - PCI-DSS-Req
│ │ │ -0003b6d0: 2d31 312e 350a 2020 2d20 5043 492d 4453  -11.5.  - PCI-DS
│ │ │ -0003b6e0: 5376 342d 3131 2e35 2e32 0a20 202d 2065  Sv4-11.5.2.  - e
│ │ │ -0003b6f0: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ -0003b700: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -0003b710: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -0003b720: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ -0003b730: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -0003b740: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -0003b750: 2d20 7061 636b 6167 655f 6169 6465 5f69  - package_aide_i
│ │ │ -0003b760: 6e73 7461 6c6c 6564 0a0a 2d20 6e61 6d65  nstalled..- name
│ │ │ -0003b770: 3a20 456e 7375 7265 2061 6964 6520 6973  : Ensure aide is
│ │ │ -0003b780: 2069 6e73 7461 6c6c 6564 0a20 2070 6163   installed.  pac
│ │ │ -0003b790: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20  kage:.    name: 
│ │ │ -0003b7a0: 6169 6465 0a20 2020 2073 7461 7465 3a20  aide.    state: 
│ │ │ -0003b7b0: 7072 6573 656e 740a 2020 7768 656e 3a20  present.  when: 
│ │ │ -0003b7c0: 2722 6c69 6e75 782d 6261 7365 2220 696e  '"linux-base" in
│ │ │ -0003b7d0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ -0003b7e0: 6163 6b61 6765 7327 0a20 2074 6167 733a  ackages'.  tags:
│ │ │ -0003b7f0: 0a20 202d 2043 4a49 532d 352e 3130 2e31  .  - CJIS-5.10.1
│ │ │ -0003b800: 2e33 0a20 202d 2044 4953 412d 5354 4947  .3.  - DISA-STIG
│ │ │ -0003b810: 2d55 4254 552d 3230 2d30 3130 3435 300a  -UBTU-20-010450.
│ │ │ -0003b820: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -0003b830: 434d 2d36 2861 290a 2020 2d20 5043 492d  CM-6(a).  - PCI-
│ │ │ -0003b840: 4453 532d 5265 712d 3131 2e35 0a20 202d  DSS-Req-11.5.  -
│ │ │ -0003b850: 2050 4349 2d44 5353 7634 2d31 312e 352e   PCI-DSSv4-11.5.
│ │ │ -0003b860: 320a 2020 2d20 656e 6162 6c65 5f73 7472  2.  - enable_str
│ │ │ -0003b870: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ -0003b880: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -0003b890: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -0003b8a0: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ -0003b8b0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -0003b8c0: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -0003b8d0: 5f61 6964 655f 696e 7374 616c 6c65 640a  _aide_installed.
│ │ │ +0003b130: 6d65 6469 6174 696f 6e20 416e 7369 626c  mediation Ansibl
│ │ │ +0003b140: 6520 736e 6970 7065 7420 e287 b23c 2f61  e snippet ...
│ │ │ -0003b580: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -0003b5b0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -0003b5c0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -0003b600: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ -0003b610: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
< │ │ │ +0003b220: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +0003b230: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
-
│ │ │ +0003b280: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ +0003b290: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ +0003b2a0: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ +0003b2b0: 0a20 2020 206d 616e 6167 6572 3a20 6175  .    manager: au
│ │ │ +0003b2c0: 746f 0a20 2074 6167 733a 0a20 202d 2043  to.  tags:.  - C
│ │ │ +0003b2d0: 4a49 532d 352e 3130 2e31 2e33 0a20 202d  JIS-5.10.1.3.  -
│ │ │ +0003b2e0: 2044 4953 412d 5354 4947 2d55 4254 552d   DISA-STIG-UBTU-
│ │ │ +0003b2f0: 3230 2d30 3130 3435 300a 2020 2d20 4e49  20-010450.  - NI
│ │ │ +0003b300: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +0003b310: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ +0003b320: 712d 3131 2e35 0a20 202d 2050 4349 2d44  q-11.5.  - PCI-D
│ │ │ +0003b330: 5353 7634 2d31 312e 352e 320a 2020 2d20  SSv4-11.5.2.  - 
│ │ │ +0003b340: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ +0003b350: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +0003b360: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +0003b370: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ +0003b380: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +0003b390: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +0003b3a0: 202d 2070 6163 6b61 6765 5f61 6964 655f   - package_aide_
│ │ │ +0003b3b0: 696e 7374 616c 6c65 640a 0a2d 206e 616d  installed..- nam
│ │ │ +0003b3c0: 653a 2045 6e73 7572 6520 6169 6465 2069  e: Ensure aide i
│ │ │ +0003b3d0: 7320 696e 7374 616c 6c65 640a 2020 7061  s installed.  pa
│ │ │ +0003b3e0: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ +0003b3f0: 2061 6964 650a 2020 2020 7374 6174 653a   aide.    state:
│ │ │ +0003b400: 2070 7265 7365 6e74 0a20 2077 6865 6e3a   present.  when:
│ │ │ +0003b410: 2027 226c 696e 7578 2d62 6173 6522 2069   '"linux-base" i
│ │ │ +0003b420: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +0003b430: 7061 636b 6167 6573 270a 2020 7461 6773  packages'.  tags
│ │ │ +0003b440: 3a0a 2020 2d20 434a 4953 2d35 2e31 302e  :.  - CJIS-5.10.
│ │ │ +0003b450: 312e 330a 2020 2d20 4449 5341 2d53 5449  1.3.  - DISA-STI
│ │ │ +0003b460: 472d 5542 5455 2d32 302d 3031 3034 3530  G-UBTU-20-010450
│ │ │ +0003b470: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +0003b480: 2d43 4d2d 3628 6129 0a20 202d 2050 4349  -CM-6(a).  - PCI
│ │ │ +0003b490: 2d44 5353 2d52 6571 2d31 312e 350a 2020  -DSS-Req-11.5.  
│ │ │ +0003b4a0: 2d20 5043 492d 4453 5376 342d 3131 2e35  - PCI-DSSv4-11.5
│ │ │ +0003b4b0: 2e32 0a20 202d 2065 6e61 626c 655f 7374  .2.  - enable_st
│ │ │ +0003b4c0: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +0003b4d0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +0003b4e0: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +0003b4f0: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ +0003b500: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +0003b510: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ +0003b520: 655f 6169 6465 5f69 6e73 7461 6c6c 6564  e_aide_installed
│ │ │ +0003b530: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation P │ │ │ +0003b5f0: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ +0003b600: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
low< │ │ │ +0003b6d0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr> │ │ │ +0003b720: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:low
Disrup │ │ │ +0003b200: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +0003b210: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +0003b250: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +0003b260: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexity: │ │ │ +0003b690: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ +0003b6b0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ +0003b700: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +0003b710: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
include insta
│ │ │ +0003b740: 6c6c 5f61 6964 650a 0a63 6c61 7373 2069  ll_aide..class i
│ │ │ +0003b750: 6e73 7461 6c6c 5f61 6964 6520 7b0a 2020  nstall_aide {.  
│ │ │ +0003b760: 7061 636b 6167 6520 7b20 2761 6964 6527  package { 'aide'
│ │ │ +0003b770: 3a0a 2020 2020 656e 7375 7265 203d 2667  :.    ensure =&g
│ │ │ +0003b780: 743b 2027 696e 7374 616c 6c65 6427 2c0a  t; 'installed',.
│ │ │ +0003b790: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remediat │ │ │ +0003b850: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue │ │ │ +0003b860: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet .. │ │ │ +0003b870: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
│ │ │ +0003b8b0: 3c63 6f64 653e 0a5b 5b70 6163 6b61 6765  .[[package
│ │ │ +0003b8c0: 735d 5d0a 6e61 6d65 203d 2022 6169 6465  s]].name = "aide
│ │ │ +0003b8d0: 220a 7665 7273 696f 6e20 3d20 222a 220a  ".version = "*".
│ │ │  0003b8e0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediat │ │ │ -000415e0: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ -000415f0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -00041630: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -000416a0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -000416c0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -000416f0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -00041680: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -00041690: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -000416d0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -000416e0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ -00041730: 2072 656d 6f76 655f 7072 656c 696e 6b0a remove_prelink. │ │ │ -00041740: 0a63 6c61 7373 2072 656d 6f76 655f 7072 .class remove_pr │ │ │ -00041750: 656c 696e 6b20 7b0a 2020 7061 636b 6167 elink {. packag │ │ │ -00041760: 6520 7b20 2770 7265 6c69 6e6b 273a 0a20 e { 'prelink':. │ │ │ -00041770: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure => │ │ │ -00041780: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a 'purged',. }.}. │ │ │ -00041790: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64

Remediation An │ │ │ -00041850: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -00041860: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity: │ │ │ -000418f0: 3c2f 7468 3e3c 7464 3e6d 6564 6975 6d3c medium< │ │ │ -00041900: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -00041940: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -00041950: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -00041970: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -00041980: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: C
│ │ │ -000419a0: 6865 636b 2049 6620 5072 656c 696e 6b65  heck If Prelinke
│ │ │ -000419b0: 6420 4973 2049 6e73 7461 6c6c 6564 0a20  d Is Installed. 
│ │ │ -000419c0: 2061 6e73 6962 6c65 2e62 7569 6c74 696e   ansible.builtin
│ │ │ -000419d0: 2e73 7461 743a 0a20 2020 2070 6174 683a  .stat:.    path:
│ │ │ -000419e0: 202f 7573 722f 7362 696e 2f70 7265 6c69   /usr/sbin/preli
│ │ │ -000419f0: 6e6b 0a20 2020 2067 6574 5f63 6865 636b  nk.    get_check
│ │ │ -00041a00: 7375 6d3a 2066 616c 7365 0a20 2072 6567  sum: false.  reg
│ │ │ -00041a10: 6973 7465 723a 2070 7265 6c69 6e6b 0a20  ister: prelink. 
│ │ │ -00041a20: 2074 6167 733a 0a20 202d 2064 6973 6162   tags:.  - disab
│ │ │ -00041a30: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -00041a40: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -00041a50: 202d 206d 6564 6975 6d5f 636f 6d70 6c65   - medium_comple
│ │ │ -00041a60: 7869 7479 0a20 202d 206d 6564 6975 6d5f  xity.  - medium_
│ │ │ -00041a70: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -00041a80: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -00041a90: 2d20 7061 636b 6167 655f 7072 656c 696e  - package_prelin
│ │ │ -00041aa0: 6b5f 7265 6d6f 7665 640a 0a2d 206e 616d  k_removed..- nam
│ │ │ -00041ab0: 653a 2052 6573 746f 7265 2050 7265 6c69  e: Restore Preli
│ │ │ -00041ac0: 6e6b 6564 2042 696e 6172 6965 730a 2020  nked Binaries.  
│ │ │ -00041ad0: 616e 7369 626c 652e 6275 696c 7469 6e2e  ansible.builtin.
│ │ │ -00041ae0: 636f 6d6d 616e 643a 0a20 2020 2063 6d64  command:.    cmd
│ │ │ -00041af0: 3a20 7072 656c 696e 6b20 2d75 610a 2020  : prelink -ua.  
│ │ │ -00041b00: 7768 656e 3a20 7072 656c 696e 6b2e 7374  when: prelink.st
│ │ │ -00041b10: 6174 2e65 7869 7374 730a 2020 7461 6773  at.exists.  tags
│ │ │ -00041b20: 3a0a 2020 2d20 6469 7361 626c 655f 7374  :.  - disable_st
│ │ │ -00041b30: 7261 7465 6779 0a20 202d 206c 6f77 5f64  rategy.  - low_d
│ │ │ -00041b40: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -00041b50: 6469 756d 5f63 6f6d 706c 6578 6974 790a  dium_complexity.
│ │ │ -00041b60: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ -00041b70: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ -00041b80: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ -00041b90: 6b61 6765 5f70 7265 6c69 6e6b 5f72 656d  kage_prelink_rem
│ │ │ -00041ba0: 6f76 6564 0a0a 2d20 6e61 6d65 3a20 456e  oved..- name: En
│ │ │ -00041bb0: 7375 7265 2070 7265 6c69 6e6b 2069 7320  sure prelink is 
│ │ │ -00041bc0: 5265 6d6f 7665 640a 2020 616e 7369 626c  Removed.  ansibl
│ │ │ -00041bd0: 652e 6275 696c 7469 6e2e 7061 636b 6167  e.builtin.packag
│ │ │ -00041be0: 653a 0a20 2020 206e 616d 653a 2070 7265  e:.    name: pre
│ │ │ -00041bf0: 6c69 6e6b 0a20 2020 2073 7461 7465 3a20  link.    state: 
│ │ │ -00041c00: 6162 7365 6e74 0a20 2074 6167 733a 0a20  absent.  tags:. 
│ │ │ -00041c10: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ -00041c20: 6567 790a 2020 2d20 6c6f 775f 6469 7372  egy.  - low_disr
│ │ │ -00041c30: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ -00041c40: 6d5f 636f 6d70 6c65 7869 7479 0a20 202d  m_complexity.  -
│ │ │ -00041c50: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ -00041c60: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ -00041c70: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ -00041c80: 655f 7072 656c 696e 6b5f 7265 6d6f 7665  e_prelink_remove
│ │ │ -00041c90: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +000415e0: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip │ │ │ +000415f0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +00041600: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +00041610: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +00041620: 7365 2220 6964 3d22 6964 6d32 3636 3322 se" id="idm2663" │ │ │ +00041630: 3e3c 7461 626c 6520 636c 6173 733d 2274 >< │ │ │ +000416a0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +000416f0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ +00041730: 616d 653a 2043 6865 636b 2049 6620 5072  ame: Check If Pr
│ │ │ +00041740: 656c 696e 6b65 6420 4973 2049 6e73 7461  elinked Is Insta
│ │ │ +00041750: 6c6c 6564 0a20 2061 6e73 6962 6c65 2e62  lled.  ansible.b
│ │ │ +00041760: 7569 6c74 696e 2e73 7461 743a 0a20 2020  uiltin.stat:.   
│ │ │ +00041770: 2070 6174 683a 202f 7573 722f 7362 696e   path: /usr/sbin
│ │ │ +00041780: 2f70 7265 6c69 6e6b 0a20 2020 2067 6574  /prelink.    get
│ │ │ +00041790: 5f63 6865 636b 7375 6d3a 2066 616c 7365  _checksum: false
│ │ │ +000417a0: 0a20 2072 6567 6973 7465 723a 2070 7265  .  register: pre
│ │ │ +000417b0: 6c69 6e6b 0a20 2074 6167 733a 0a20 202d  link.  tags:.  -
│ │ │ +000417c0: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ +000417d0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +000417e0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +000417f0: 636f 6d70 6c65 7869 7479 0a20 202d 206d  complexity.  - m
│ │ │ +00041800: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ +00041810: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +00041820: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ +00041830: 7072 656c 696e 6b5f 7265 6d6f 7665 640a  prelink_removed.
│ │ │ +00041840: 0a2d 206e 616d 653a 2052 6573 746f 7265  .- name: Restore
│ │ │ +00041850: 2050 7265 6c69 6e6b 6564 2042 696e 6172   Prelinked Binar
│ │ │ +00041860: 6965 730a 2020 616e 7369 626c 652e 6275  ies.  ansible.bu
│ │ │ +00041870: 696c 7469 6e2e 636f 6d6d 616e 643a 0a20  iltin.command:. 
│ │ │ +00041880: 2020 2063 6d64 3a20 7072 656c 696e 6b20     cmd: prelink 
│ │ │ +00041890: 2d75 610a 2020 7768 656e 3a20 7072 656c  -ua.  when: prel
│ │ │ +000418a0: 696e 6b2e 7374 6174 2e65 7869 7374 730a  ink.stat.exists.
│ │ │ +000418b0: 2020 7461 6773 3a0a 2020 2d20 6469 7361    tags:.  - disa
│ │ │ +000418c0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +000418d0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ +000418e0: 2020 2d20 6d65 6469 756d 5f63 6f6d 706c    - medium_compl
│ │ │ +000418f0: 6578 6974 790a 2020 2d20 6d65 6469 756d  exity.  - medium
│ │ │ +00041900: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +00041910: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +00041920: 202d 2070 6163 6b61 6765 5f70 7265 6c69   - package_preli
│ │ │ +00041930: 6e6b 5f72 656d 6f76 6564 0a0a 2d20 6e61  nk_removed..- na
│ │ │ +00041940: 6d65 3a20 456e 7375 7265 2070 7265 6c69  me: Ensure preli
│ │ │ +00041950: 6e6b 2069 7320 5265 6d6f 7665 640a 2020  nk is Removed.  
│ │ │ +00041960: 616e 7369 626c 652e 6275 696c 7469 6e2e  ansible.builtin.
│ │ │ +00041970: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ +00041980: 653a 2070 7265 6c69 6e6b 0a20 2020 2073  e: prelink.    s
│ │ │ +00041990: 7461 7465 3a20 6162 7365 6e74 0a20 2074  tate: absent.  t
│ │ │ +000419a0: 6167 733a 0a20 202d 2064 6973 6162 6c65  ags:.  - disable
│ │ │ +000419b0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ +000419c0: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +000419d0: 206d 6564 6975 6d5f 636f 6d70 6c65 7869   medium_complexi
│ │ │ +000419e0: 7479 0a20 202d 206d 6564 6975 6d5f 7365  ty.  - medium_se
│ │ │ +000419f0: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +00041a00: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +00041a10: 7061 636b 6167 655f 7072 656c 696e 6b5f  package_prelink_
│ │ │ +00041a20: 7265 6d6f 7665 640a 3c2f 636f 6465 3e3c  removed.<
│ │ │ +00041a30: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remedi
│ │ │ +00041ae0: 6174 696f 6e20 5075 7070 6574 2073 6e69  ation Puppet sni
│ │ │ +00041af0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e  ppet ...
│ │ │ +00041b00: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Compl │ │ │ +00041680: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6d exity:m │ │ │ +00041690: 6564 6975 6d3c 2f74 643e 3c2f 7472 3e3c edium
Disruptio │ │ │ +000416b0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +000416d0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +000416e0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +00041700: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +00041710: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Comp │ │ │ +00041b80: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +00041b90: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +00041bb0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +00041bd0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +00041be0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +00041c20: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +00041c30: 6465 2072 656d 6f76 655f 7072 656c 696e  de remove_prelin
│ │ │ +00041c40: 6b0a 0a63 6c61 7373 2072 656d 6f76 655f  k..class remove_
│ │ │ +00041c50: 7072 656c 696e 6b20 7b0a 2020 7061 636b  prelink {.  pack
│ │ │ +00041c60: 6167 6520 7b20 2770 7265 6c69 6e6b 273a  age { 'prelink':
│ │ │ +00041c70: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ +00041c80: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a  ; 'purged',.  }.
│ │ │ +00041c90: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ 00041ca0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remed │ │ │ -000485b0: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ -000485c0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Com │ │ │ -00048650: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -00048680: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -000486a0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -000486b0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -000486d0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -000486e0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -00048700: 7564 6520 7265 6d6f 7665 5f67 646d 330a  ude remove_gdm3.
│ │ │ -00048710: 0a63 6c61 7373 2072 656d 6f76 655f 6764  .class remove_gd
│ │ │ -00048720: 6d33 207b 0a20 2070 6163 6b61 6765 207b  m3 {.  package {
│ │ │ -00048730: 2027 6764 6d33 273a 0a20 2020 2065 6e73   'gdm3':.    ens
│ │ │ -00048740: 7572 6520 3d26 6774 3b20 2770 7572 6765  ure => 'purge
│ │ │ -00048750: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Reme │ │ │ -00048810: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible │ │ │ -00048820: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -00048830: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
< │ │ │ -000488c0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -000488d0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -00048920: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ -00048960: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ -00048970: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ -00048980: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ -00048990: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ -000489a0: 6f0a 2020 7461 6773 3a0a 2020 2d20 4e49  o.  tags:.  - NI
│ │ │ -000489b0: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ -000489c0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -000489d0: 332d 434d 2d37 2861 290a 2020 2d20 4e49  3-CM-7(a).  - NI
│ │ │ -000489e0: 5354 2d38 3030 2d35 332d 434d 2d37 2862  ST-800-53-CM-7(b
│ │ │ -000489f0: 290a 2020 2d20 6469 7361 626c 655f 7374  ).  - disable_st
│ │ │ -00048a00: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ -00048a10: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ -00048a20: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ -00048a30: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ -00048a40: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ -00048a50: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ -00048a60: 655f 6764 6d5f 7265 6d6f 7665 640a 0a2d  e_gdm_removed..-
│ │ │ -00048a70: 206e 616d 653a 2045 6e73 7572 6520 6764   name: Ensure gd
│ │ │ -00048a80: 6d33 2069 7320 7265 6d6f 7665 640a 2020  m3 is removed.  
│ │ │ -00048a90: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ -00048aa0: 653a 2067 646d 330a 2020 2020 7374 6174  e: gdm3.    stat
│ │ │ -00048ab0: 653a 2061 6273 656e 740a 2020 7768 656e  e: absent.  when
│ │ │ -00048ac0: 3a20 2722 6764 6d33 2220 696e 2061 6e73  : '"gdm3" in ans
│ │ │ -00048ad0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -00048ae0: 6765 7327 0a20 2074 6167 733a 0a20 202d  ges'.  tags:.  -
│ │ │ -00048af0: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -00048b00: 3628 6129 0a20 202d 204e 4953 542d 3830  6(a).  - NIST-80
│ │ │ -00048b10: 302d 3533 2d43 4d2d 3728 6129 0a20 202d  0-53-CM-7(a).  -
│ │ │ -00048b20: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -00048b30: 3728 6229 0a20 202d 2064 6973 6162 6c65  7(b).  - disable
│ │ │ -00048b40: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ -00048b50: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -00048b60: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -00048b70: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ -00048b80: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ -00048b90: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ -00048ba0: 6b61 6765 5f67 646d 5f72 656d 6f76 6564  kage_gdm_removed
│ │ │ +000485b0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073  iation Ansible s
│ │ │ +000485c0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62  nippet ...
C │ │ │ -000488b0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -000488e0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -000488f0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -00048930: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -00048940: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
low< │ │ │ +00048670: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +000486c0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ +00048700: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ +00048710: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ +00048720: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ +00048730: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ +00048740: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ +00048750: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ +00048760: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +00048770: 2d43 4d2d 3728 6129 0a20 202d 204e 4953  -CM-7(a).  - NIS
│ │ │ +00048780: 542d 3830 302d 3533 2d43 4d2d 3728 6229  T-800-53-CM-7(b)
│ │ │ +00048790: 0a20 202d 2064 6973 6162 6c65 5f73 7472  .  - disable_str
│ │ │ +000487a0: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ +000487b0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +000487c0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +000487d0: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ +000487e0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ +000487f0: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ +00048800: 5f67 646d 5f72 656d 6f76 6564 0a0a 2d20  _gdm_removed..- 
│ │ │ +00048810: 6e61 6d65 3a20 456e 7375 7265 2067 646d  name: Ensure gdm
│ │ │ +00048820: 3320 6973 2072 656d 6f76 6564 0a20 2070  3 is removed.  p
│ │ │ +00048830: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65  ackage:.    name
│ │ │ +00048840: 3a20 6764 6d33 0a20 2020 2073 7461 7465  : gdm3.    state
│ │ │ +00048850: 3a20 6162 7365 6e74 0a20 2077 6865 6e3a  : absent.  when:
│ │ │ +00048860: 2027 2267 646d 3322 2069 6e20 616e 7369   '"gdm3" in ansi
│ │ │ +00048870: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ +00048880: 6573 270a 2020 7461 6773 3a0a 2020 2d20  es'.  tags:.  - 
│ │ │ +00048890: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ +000488a0: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ +000488b0: 2d35 332d 434d 2d37 2861 290a 2020 2d20  -53-CM-7(a).  - 
│ │ │ +000488c0: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ +000488d0: 2862 290a 2020 2d20 6469 7361 626c 655f  (b).  - disable_
│ │ │ +000488e0: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ +000488f0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +00048900: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +00048910: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ +00048920: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ +00048930: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ +00048940: 6167 655f 6764 6d5f 7265 6d6f 7665 640a  age_gdm_removed.
│ │ │ +00048950: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation Pu │ │ │ +00048a10: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ +00048a20: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Co │ │ │ +00048650: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +00048680: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +000486a0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +000486b0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +000486d0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +000486e0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
│ │ │ +00048aa0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +00048ac0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +00048b10: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ +00048b40: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ +00048ab0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +00048ad0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +00048b20: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ +00048b30: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ +00048b60: 655f 6764 6d33 0a0a 636c 6173 7320 7265  e_gdm3..class re
│ │ │ +00048b70: 6d6f 7665 5f67 646d 3320 7b0a 2020 7061  move_gdm3 {.  pa
│ │ │ +00048b80: 636b 6167 6520 7b20 2767 646d 3327 3a0a  ckage { 'gdm3':.
│ │ │ +00048b90: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +00048ba0: 2027 7075 7267 6564 272c 0a20 207d 0a7d   'purged',.  }.}
│ │ │  00048bb0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
│ │ │ -0004a040: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu │ │ │ -0004a050: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn │ │ │ -0004a060: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.[
│ │ │ -0004a0b0: 5b70 6163 6b61 6765 735d 5d0a 6e61 6d65  [packages]].name
│ │ │ -0004a0c0: 203d 2022 7375 646f 220a 7665 7273 696f   = "sudo".versio
│ │ │ -0004a0d0: 6e20 3d20 222a 220a 3c2f 636f 6465 3e3c  n = "*".<
│ │ │ -0004a0e0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remedi │ │ │ -0004a190: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ -0004a1a0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -0004a1b0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Comp │ │ │ -0004a230: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -0004a240: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -0004a260: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -0004a280: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -0004a290: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ -0004a2d0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ -0004a2e0: 6520 696e 7374 616c 6c5f 7375 646f 0a0a e install_sudo.. │ │ │ -0004a2f0: 636c 6173 7320 696e 7374 616c 6c5f 7375 class install_su │ │ │ -0004a300: 646f 207b 0a20 2070 6163 6b61 6765 207b do {. package { │ │ │ -0004a310: 2027 7375 646f 273a 0a20 2020 2065 6e73 'sudo':. ens │ │ │ -0004a320: 7572 6520 3d26 6774 3b20 2769 6e73 7461 ure => 'insta │ │ │ -0004a330: 6c6c 6564 272c 0a20 207d 0a7d 0a3c 2f63 lled',. }.}.
│ │ │ -0004a350: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 R │ │ │ -0004a3f0: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ -0004a400: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
Complexity: │ │ │ -0004a4e0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -0004a4f0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ -0004a540: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ -0004a550: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ -0004a560: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ -0004a570: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ -0004a580: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ -0004a590: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ -0004a5a0: 2861 290a 2020 2d20 5043 492d 4453 5376  (a).  - PCI-DSSv
│ │ │ -0004a5b0: 342d 322e 320a 2020 2d20 5043 492d 4453  4-2.2.  - PCI-DS
│ │ │ -0004a5c0: 5376 342d 322e 322e 360a 2020 2d20 656e  Sv4-2.2.6.  - en
│ │ │ -0004a5d0: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -0004a5e0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -0004a5f0: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -0004a600: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ -0004a610: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ -0004a620: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -0004a630: 2070 6163 6b61 6765 5f73 7564 6f5f 696e   package_sudo_in
│ │ │ -0004a640: 7374 616c 6c65 640a 0a2d 206e 616d 653a  stalled..- name:
│ │ │ -0004a650: 2045 6e73 7572 6520 7375 646f 2069 7320   Ensure sudo is 
│ │ │ -0004a660: 696e 7374 616c 6c65 640a 2020 7061 636b  installed.  pack
│ │ │ -0004a670: 6167 653a 0a20 2020 206e 616d 653a 2073  age:.    name: s
│ │ │ -0004a680: 7564 6f0a 2020 2020 7374 6174 653a 2070  udo.    state: p
│ │ │ -0004a690: 7265 7365 6e74 0a20 2077 6865 6e3a 2027  resent.  when: '
│ │ │ -0004a6a0: 226c 696e 7578 2d62 6173 6522 2069 6e20  "linux-base" in 
│ │ │ -0004a6b0: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -0004a6c0: 636b 6167 6573 270a 2020 7461 6773 3a0a  ckages'.  tags:.
│ │ │ -0004a6d0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -0004a6e0: 434d 2d36 2861 290a 2020 2d20 5043 492d  CM-6(a).  - PCI-
│ │ │ -0004a6f0: 4453 5376 342d 322e 320a 2020 2d20 5043  DSSv4-2.2.  - PC
│ │ │ -0004a700: 492d 4453 5376 342d 322e 322e 360a 2020  I-DSSv4-2.2.6.  
│ │ │ -0004a710: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ -0004a720: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -0004a730: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -0004a740: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ -0004a750: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ -0004a760: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -0004a770: 0a20 202d 2070 6163 6b61 6765 5f73 7564  .  - package_sud
│ │ │ -0004a780: 6f5f 696e 7374 616c 6c65 640a 3c2f 636f  o_installed.
low
Disru │ │ │ -0004a4c0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -0004a4d0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -0004a510: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ -0004a520: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
< │ │ │ +0004a0e0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +0004a100: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +0004a150: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
- name: Gather 
│ │ │ +0004a1a0: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ +0004a1b0: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ +0004a1c0: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ +0004a1d0: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ +0004a1e0: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +0004a1f0: 3628 6129 0a20 202d 2050 4349 2d44 5353  6(a).  - PCI-DSS
│ │ │ +0004a200: 7634 2d32 2e32 0a20 202d 2050 4349 2d44  v4-2.2.  - PCI-D
│ │ │ +0004a210: 5353 7634 2d32 2e32 2e36 0a20 202d 2065  SSv4-2.2.6.  - e
│ │ │ +0004a220: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ +0004a230: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +0004a240: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +0004a250: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +0004a260: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +0004a270: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +0004a280: 2d20 7061 636b 6167 655f 7375 646f 5f69  - package_sudo_i
│ │ │ +0004a290: 6e73 7461 6c6c 6564 0a0a 2d20 6e61 6d65  nstalled..- name
│ │ │ +0004a2a0: 3a20 456e 7375 7265 2073 7564 6f20 6973  : Ensure sudo is
│ │ │ +0004a2b0: 2069 6e73 7461 6c6c 6564 0a20 2070 6163   installed.  pac
│ │ │ +0004a2c0: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20  kage:.    name: 
│ │ │ +0004a2d0: 7375 646f 0a20 2020 2073 7461 7465 3a20  sudo.    state: 
│ │ │ +0004a2e0: 7072 6573 656e 740a 2020 7768 656e 3a20  present.  when: 
│ │ │ +0004a2f0: 2722 6c69 6e75 782d 6261 7365 2220 696e  '"linux-base" in
│ │ │ +0004a300: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ +0004a310: 6163 6b61 6765 7327 0a20 2074 6167 733a  ackages'.  tags:
│ │ │ +0004a320: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +0004a330: 2d43 4d2d 3628 6129 0a20 202d 2050 4349  -CM-6(a).  - PCI
│ │ │ +0004a340: 2d44 5353 7634 2d32 2e32 0a20 202d 2050  -DSSv4-2.2.  - P
│ │ │ +0004a350: 4349 2d44 5353 7634 2d32 2e32 2e36 0a20  CI-DSSv4-2.2.6. 
│ │ │ +0004a360: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ +0004a370: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +0004a380: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +0004a390: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +0004a3a0: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +0004a3b0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +0004a3c0: 640a 2020 2d20 7061 636b 6167 655f 7375  d.  - package_su
│ │ │ +0004a3d0: 646f 5f69 6e73 7461 6c6c 6564 0a3c 2f63  do_installed.
│ │ │ +0004a3f0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 R │ │ │ +0004a490: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +0004a4a0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
low
Disr │ │ │ +0004a110: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +0004a120: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +0004a160: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ +0004a170: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
< │ │ │ +0004a580: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +0004a590: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
i
│ │ │ +0004a5e0: 6e63 6c75 6465 2069 6e73 7461 6c6c 5f73  nclude install_s
│ │ │ +0004a5f0: 7564 6f0a 0a63 6c61 7373 2069 6e73 7461  udo..class insta
│ │ │ +0004a600: 6c6c 5f73 7564 6f20 7b0a 2020 7061 636b  ll_sudo {.  pack
│ │ │ +0004a610: 6167 6520 7b20 2773 7564 6f27 3a0a 2020  age { 'sudo':.  
│ │ │ +0004a620: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ +0004a630: 696e 7374 616c 6c65 6427 2c0a 2020 7d0a  installed',.  }.
│ │ │ +0004a640: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ +0004a650: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +0004a700: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin │ │ │ +0004a710: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
.[[packages]].
│ │ │ +0004a770: 6e61 6d65 203d 2022 7375 646f 220a 7665  name = "sudo".ve
│ │ │ +0004a780: 7273 696f 6e20 3d20 222a 220a 3c2f 636f  rsion = "*".
< │ │ │ 0004a7a0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 0004a7b0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 0004a7c0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 0004a7d0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 0004a7e0: 646d 3339 3535 2220 7461 6269 6e64 6578 dm3955" tabindex │ │ │ 0004a7f0: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ @@ -30590,132 +30590,132 @@ │ │ │ 000777d0: 2d74 6172 6765 743d 2223 6964 6d34 3837 -target="#idm487 │ │ │ 000777e0: 3422 2074 6162 696e 6465 783d 2230 2220 4" tabindex="0" │ │ │ 000777f0: 726f 6c65 3d22 6275 7474 6f6e 2220 6172 role="button" ar │ │ │ 00077800: 6961 2d65 7870 616e 6465 643d 2266 616c ia-expanded="fal │ │ │ 00077810: 7365 2220 7469 746c 653d 2241 6374 6976 se" title="Activ │ │ │ 00077820: 6174 6520 746f 2072 6576 6561 6c22 2068 ate to reveal" h │ │ │ 00077830: 7265 663d 2223 2122 3e52 656d 6564 6961 ref="#!">Remedia │ │ │ -00077840: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu │ │ │ -00077850: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet . │ │ │ -00077860: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
.[[packag
│ │ │ -000778b0: 6573 5d5d 0a6e 616d 6520 3d20 226c 6962  es]].name = "lib
│ │ │ -000778c0: 7061 6d2d 7077 7175 616c 6974 7922 0a76  pam-pwquality".v
│ │ │ -000778d0: 6572 7369 6f6e 203d 2022 2a22 0a3c 2f63  ersion = "*".
│ │ │ -000778f0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 R │ │ │ -00077990: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ -000779a0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity:low
Disrup │ │ │ +0004a560: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +0004a570: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +0004a5b0: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +0004a5c0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ -00077a80: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -00077a90: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
i
│ │ │ -00077ae0: 6e63 6c75 6465 2069 6e73 7461 6c6c 5f6c  nclude install_l
│ │ │ -00077af0: 6962 7061 6d2d 7077 7175 616c 6974 790a  ibpam-pwquality.
│ │ │ -00077b00: 0a63 6c61 7373 2069 6e73 7461 6c6c 5f6c  .class install_l
│ │ │ -00077b10: 6962 7061 6d2d 7077 7175 616c 6974 7920  ibpam-pwquality 
│ │ │ -00077b20: 7b0a 2020 7061 636b 6167 6520 7b20 276c  {.  package { 'l
│ │ │ -00077b30: 6962 7061 6d2d 7077 7175 616c 6974 7927  ibpam-pwquality'
│ │ │ -00077b40: 3a0a 2020 2020 656e 7375 7265 203d 2667  :.    ensure =&g
│ │ │ -00077b50: 743b 2027 696e 7374 616c 6c65 6427 2c0a  t; 'installed',.
│ │ │ -00077b60: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remediat │ │ │ -00077c20: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip │ │ │ -00077c30: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -00077c40: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -00077c50: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -00077c60: 7365 2220 6964 3d22 6964 6d34 3837 3622 se" id="idm4876" │ │ │ -00077c70: 3e3c 7461 626c 6520 636c 6173 733d 2274 >
Complexity:low
Disrup │ │ │ -00077a60: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -00077a70: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -00077ab0: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ -00077ac0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
│ │ │ -00077ce0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -00077d00: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -00077d30: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -00077cc0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -00077cd0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -00077cf0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -00077d10: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -00077d20: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

- name: │ │ │ -00077d70: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack │ │ │ -00077d80: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack │ │ │ -00077d90: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m │ │ │ -00077da0: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t │ │ │ -00077db0: 6167 733a 0a20 202d 2044 4953 412d 5354 ags:. - DISA-ST │ │ │ -00077dc0: 4947 2d55 4254 552d 3230 2d30 3130 3035 IG-UBTU-20-01005 │ │ │ -00077dd0: 370a 2020 2d20 656e 6162 6c65 5f73 7472 7. - enable_str │ │ │ -00077de0: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co │ │ │ -00077df0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low │ │ │ -00077e00: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. - │ │ │ -00077e10: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity. │ │ │ -00077e20: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ -00077e30: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package │ │ │ -00077e40: 5f70 616d 5f70 7771 7561 6c69 7479 5f69 _pam_pwquality_i │ │ │ -00077e50: 6e73 7461 6c6c 6564 0a0a 2d20 6e61 6d65 nstalled..- name │ │ │ -00077e60: 3a20 456e 7375 7265 206c 6962 7061 6d2d : Ensure libpam- │ │ │ -00077e70: 7077 7175 616c 6974 7920 6973 2069 6e73 pwquality is ins │ │ │ -00077e80: 7461 6c6c 6564 0a20 2070 6163 6b61 6765 talled. package │ │ │ -00077e90: 3a0a 2020 2020 6e61 6d65 3a20 6c69 6270 :. name: libp │ │ │ -00077ea0: 616d 2d70 7771 7561 6c69 7479 0a20 2020 am-pwquality. │ │ │ -00077eb0: 2073 7461 7465 3a20 7072 6573 656e 740a state: present. │ │ │ -00077ec0: 2020 7768 656e 3a20 2722 6c69 6270 616d when: '"libpam │ │ │ -00077ed0: 2d72 756e 7469 6d65 2220 696e 2061 6e73 -runtime" in ans │ │ │ -00077ee0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa │ │ │ -00077ef0: 6765 7327 0a20 2074 6167 733a 0a20 202d ges'. tags:. - │ │ │ -00077f00: 2044 4953 412d 5354 4947 2d55 4254 552d DISA-STIG-UBTU- │ │ │ -00077f10: 3230 2d30 3130 3035 370a 2020 2d20 656e 20-010057. - en │ │ │ -00077f20: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy. │ │ │ -00077f30: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity │ │ │ -00077f40: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt │ │ │ -00077f50: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s │ │ │ -00077f60: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r │ │ │ -00077f70: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. - │ │ │ -00077f80: 2070 6163 6b61 6765 5f70 616d 5f70 7771 package_pam_pwq │ │ │ -00077f90: 7561 6c69 7479 5f69 6e73 7461 6c6c 6564 uality_installed │ │ │ +00077840: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ +00077850: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +00077860: 3c64 6976 2063 6c61 7373 3d22 7061 6e65

Comp │ │ │ +000778e0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +000778f0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +00077910: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +00077930: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +00077940: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ +00077980: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +00077990: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ +000779a0: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac │ │ │ +000779b0: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ +000779c0: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto. │ │ │ +000779d0: 7461 6773 3a0a 2020 2d20 4449 5341 2d53 tags:. - DISA-S │ │ │ +000779e0: 5449 472d 5542 5455 2d32 302d 3031 3030 TIG-UBTU-20-0100 │ │ │ +000779f0: 3537 0a20 202d 2065 6e61 626c 655f 7374 57. - enable_st │ │ │ +00077a00: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c │ │ │ +00077a10: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo │ │ │ +00077a20: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. - │ │ │ +00077a30: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity │ │ │ +00077a40: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n │ │ │ +00077a50: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag │ │ │ +00077a60: 655f 7061 6d5f 7077 7175 616c 6974 795f e_pam_pwquality_ │ │ │ +00077a70: 696e 7374 616c 6c65 640a 0a2d 206e 616d installed..- nam │ │ │ +00077a80: 653a 2045 6e73 7572 6520 6c69 6270 616d e: Ensure libpam │ │ │ +00077a90: 2d70 7771 7561 6c69 7479 2069 7320 696e -pwquality is in │ │ │ +00077aa0: 7374 616c 6c65 640a 2020 7061 636b 6167 stalled. packag │ │ │ +00077ab0: 653a 0a20 2020 206e 616d 653a 206c 6962 e:. name: lib │ │ │ +00077ac0: 7061 6d2d 7077 7175 616c 6974 790a 2020 pam-pwquality. │ │ │ +00077ad0: 2020 7374 6174 653a 2070 7265 7365 6e74 state: present │ │ │ +00077ae0: 0a20 2077 6865 6e3a 2027 226c 6962 7061 . when: '"libpa │ │ │ +00077af0: 6d2d 7275 6e74 696d 6522 2069 6e20 616e m-runtime" in an │ │ │ +00077b00: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack │ │ │ +00077b10: 6167 6573 270a 2020 7461 6773 3a0a 2020 ages'. tags:. │ │ │ +00077b20: 2d20 4449 5341 2d53 5449 472d 5542 5455 - DISA-STIG-UBTU │ │ │ +00077b30: 2d32 302d 3031 3030 3537 0a20 202d 2065 -20-010057. - e │ │ │ +00077b40: 6e61 626c 655f 7374 7261 7465 6779 0a20 nable_strategy. │ │ │ +00077b50: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit │ │ │ +00077b60: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup │ │ │ +00077b70: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_ │ │ │ +00077b80: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_ │ │ │ +00077b90: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed. │ │ │ +00077ba0: 2d20 7061 636b 6167 655f 7061 6d5f 7077 - package_pam_pw │ │ │ +00077bb0: 7175 616c 6974 795f 696e 7374 616c 6c65 quality_installe │ │ │ +00077bc0: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c d.< │ │ │ +00077bd0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +00077c80: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +00077c90: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
Complexity │ │ │ +00077d20: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +00077d40: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +00077d50: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +00077d60: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +00077d70: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +00077d90: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
include inst
│ │ │ +00077dd0: 616c 6c5f 6c69 6270 616d 2d70 7771 7561  all_libpam-pwqua
│ │ │ +00077de0: 6c69 7479 0a0a 636c 6173 7320 696e 7374  lity..class inst
│ │ │ +00077df0: 616c 6c5f 6c69 6270 616d 2d70 7771 7561  all_libpam-pwqua
│ │ │ +00077e00: 6c69 7479 207b 0a20 2070 6163 6b61 6765  lity {.  package
│ │ │ +00077e10: 207b 2027 6c69 6270 616d 2d70 7771 7561   { 'libpam-pwqua
│ │ │ +00077e20: 6c69 7479 273a 0a20 2020 2065 6e73 7572  lity':.    ensur
│ │ │ +00077e30: 6520 3d26 6774 3b20 2769 6e73 7461 6c6c  e => 'install
│ │ │ +00077e40: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ed',.  }.}.
Rem │ │ │ +00077f00: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild │ │ │ +00077f10: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp │ │ │ +00077f20: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +00077f60: 3c70 7265 3e3c 636f 6465 3e0a 5b5b 7061
.[[pa
│ │ │ +00077f70: 636b 6167 6573 5d5d 0a6e 616d 6520 3d20  ckages]].name = 
│ │ │ +00077f80: 226c 6962 7061 6d2d 7077 7175 616c 6974  "libpam-pwqualit
│ │ │ +00077f90: 7922 0a76 6572 7369 6f6e 203d 2022 2a22  y".version = "*"
│ │ │  00077fa0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediati │ │ │ -000a8bb0: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep │ │ │ -000a8bc0: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ... │ │ │ -000a8bd0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
<
│ │ │ -000a8c10: 636f 6465 3e0a 5b5b 7061 636b 6167 6573  code>.[[packages
│ │ │ -000a8c20: 5d5d 0a6e 616d 6520 3d20 2261 7070 6172  ]].name = "appar
│ │ │ -000a8c30: 6d6f 7222 0a76 6572 7369 6f6e 203d 2022  mor".version = "
│ │ │ -000a8c40: 2a22 0a3c 2f63 6f64 653e 3c2f 7072 653e  *".
│ │ │ -000a8c50: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediation │ │ │ -000a8d00: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ -000a8d10: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
< │ │ │ -000a8d90: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -000a8da0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ -000a8dc0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ -000a8dd0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ -000a8df0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ -000a8e10: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:enable
<
│ │ │ -000a8e40: 636f 6465 3e69 6e63 6c75 6465 2069 6e73  code>include ins
│ │ │ -000a8e50: 7461 6c6c 5f61 7070 6172 6d6f 720a 0a63  tall_apparmor..c
│ │ │ -000a8e60: 6c61 7373 2069 6e73 7461 6c6c 5f61 7070  lass install_app
│ │ │ -000a8e70: 6172 6d6f 7220 7b0a 2020 7061 636b 6167  armor {.  packag
│ │ │ -000a8e80: 6520 7b20 2761 7070 6172 6d6f 7227 3a0a  e { 'apparmor':.
│ │ │ -000a8e90: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -000a8ea0: 2027 696e 7374 616c 6c65 6427 2c0a 2020   'installed',.  
│ │ │ -000a8eb0: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediatio │ │ │ -000a8f70: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ -000a8f80: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
< │ │ │ -000a8fc0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -000a8fd0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -000a8fe0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -000a8ff0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -000a9000: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -000a9010: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -000a9020: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -000a9060: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -000a9070: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -000a9090: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ -000a90a0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: E
│ │ │ -000a90c0: 6e73 7572 6520 6170 7061 726d 6f72 2069  nsure apparmor i
│ │ │ -000a90d0: 7320 696e 7374 616c 6c65 640a 2020 7061  s installed.  pa
│ │ │ -000a90e0: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ -000a90f0: 2061 7070 6172 6d6f 720a 2020 2020 7374   apparmor.    st
│ │ │ -000a9100: 6174 653a 2070 7265 7365 6e74 0a20 2077  ate: present.  w
│ │ │ -000a9110: 6865 6e3a 2061 6e73 6962 6c65 5f76 6972  hen: ansible_vir
│ │ │ -000a9120: 7475 616c 697a 6174 696f 6e5f 7479 7065  tualization_type
│ │ │ -000a9130: 206e 6f74 2069 6e20 5b22 646f 636b 6572   not in ["docker
│ │ │ -000a9140: 222c 2022 6c78 6322 2c20 226f 7065 6e76  ", "lxc", "openv
│ │ │ -000a9150: 7a22 2c20 2270 6f64 6d61 6e22 2c20 2263  z", "podman", "c
│ │ │ -000a9160: 6f6e 7461 696e 6572 225d 0a20 2074 6167  ontainer"].  tag
│ │ │ -000a9170: 733a 0a20 202d 2044 4953 412d 5354 4947  s:.  - DISA-STIG
│ │ │ -000a9180: 2d55 4254 552d 3230 2d30 3130 3433 390a  -UBTU-20-010439.
│ │ │ -000a9190: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -000a91a0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -000a91b0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -000a91c0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -000a91d0: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -000a91e0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -000a91f0: 6564 0a20 202d 2070 6163 6b61 6765 5f61  ed.  - package_a
│ │ │ -000a9200: 7070 6172 6d6f 725f 696e 7374 616c 6c65  pparmor_installe
│ │ │ -000a9210: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +000a8bb0: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ +000a8bc0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +000a8c00: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ +000a8c70: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +000a8c90: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +000a8cc0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ +000a8ce0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ +000a8c50: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +000a8c60: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +000a8ca0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +000a8cb0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
- name: │ │ │ +000a8d00: 456e 7375 7265 2061 7070 6172 6d6f 7220 Ensure apparmor │ │ │ +000a8d10: 6973 2069 6e73 7461 6c6c 6564 0a20 2070 is installed. p │ │ │ +000a8d20: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65 ackage:. name │ │ │ +000a8d30: 3a20 6170 7061 726d 6f72 0a20 2020 2073 : apparmor. s │ │ │ +000a8d40: 7461 7465 3a20 7072 6573 656e 740a 2020 tate: present. │ │ │ +000a8d50: 7768 656e 3a20 616e 7369 626c 655f 7669 when: ansible_vi │ │ │ +000a8d60: 7274 7561 6c69 7a61 7469 6f6e 5f74 7970 rtualization_typ │ │ │ +000a8d70: 6520 6e6f 7420 696e 205b 2264 6f63 6b65 e not in ["docke │ │ │ +000a8d80: 7222 2c20 226c 7863 222c 2022 6f70 656e r", "lxc", "open │ │ │ +000a8d90: 767a 222c 2022 706f 646d 616e 222c 2022 vz", "podman", " │ │ │ +000a8da0: 636f 6e74 6169 6e65 7222 5d0a 2020 7461 container"]. ta │ │ │ +000a8db0: 6773 3a0a 2020 2d20 4449 5341 2d53 5449 gs:. - DISA-STI │ │ │ +000a8dc0: 472d 5542 5455 2d32 302d 3031 3034 3339 G-UBTU-20-010439 │ │ │ +000a8dd0: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra │ │ │ +000a8de0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com │ │ │ +000a8df0: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_ │ │ │ +000a8e00: 6469 7372 7570 7469 6f6e 0a20 202d 206d disruption. - m │ │ │ +000a8e10: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity. │ │ │ +000a8e20: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee │ │ │ +000a8e30: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_ │ │ │ +000a8e40: 6170 7061 726d 6f72 5f69 6e73 7461 6c6c apparmor_install │ │ │ +000a8e50: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e ed. │ │ │ +000a8e60: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediation │ │ │ +000a8f10: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +000a8f20: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
< │ │ │ +000a8fa0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +000a8fb0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +000a8fd0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +000a8fe0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +000a9000: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +000a9020: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:enable
<
│ │ │ +000a9050: 636f 6465 3e69 6e63 6c75 6465 2069 6e73  code>include ins
│ │ │ +000a9060: 7461 6c6c 5f61 7070 6172 6d6f 720a 0a63  tall_apparmor..c
│ │ │ +000a9070: 6c61 7373 2069 6e73 7461 6c6c 5f61 7070  lass install_app
│ │ │ +000a9080: 6172 6d6f 7220 7b0a 2020 7061 636b 6167  armor {.  packag
│ │ │ +000a9090: 6520 7b20 2761 7070 6172 6d6f 7227 3a0a  e { 'apparmor':.
│ │ │ +000a90a0: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +000a90b0: 2027 696e 7374 616c 6c65 6427 2c0a 2020   'installed',.  
│ │ │ +000a90c0: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediatio │ │ │ +000a9180: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr │ │ │ +000a9190: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...< │ │ │ +000a91a0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Reme │ │ │ -000bbd80: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -000bbd90: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -000bbe30: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -000bbe40: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -000bbe90: 3c74 723e 3c74 683e 5374 7261 7465 6779
inc
│ │ │ -000bbed0: 6c75 6465 2069 6e73 7461 6c6c 5f72 7379  lude install_rsy
│ │ │ -000bbee0: 736c 6f67 0a0a 636c 6173 7320 696e 7374  slog..class inst
│ │ │ -000bbef0: 616c 6c5f 7273 7973 6c6f 6720 7b0a 2020  all_rsyslog {.  
│ │ │ -000bbf00: 7061 636b 6167 6520 7b20 2772 7379 736c  package { 'rsysl
│ │ │ -000bbf10: 6f67 273a 0a20 2020 2065 6e73 7572 6520  og':.    ensure 
│ │ │ -000bbf20: 3d26 6774 3b20 2769 6e73 7461 6c6c 6564  => 'installed
│ │ │ -000bbf30: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │ -000bbf40: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ -000bbff0: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible │ │ │ -000bc000: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -000bc010: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
C │ │ │ -000bbe20: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -000bbe50: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -000bbe60: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -000bbea0: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ -000bbeb0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
│ │ │ -000bc0a0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
- 
│ │ │ -000bc140: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ -000bc150: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ -000bc160: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ -000bc170: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ -000bc180: 6f0a 2020 7461 6773 3a0a 2020 2d20 4e49  o.  tags:.  - NI
│ │ │ -000bc190: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ -000bc1a0: 290a 2020 2d20 656e 6162 6c65 5f73 7472  ).  - enable_str
│ │ │ -000bc1b0: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ -000bc1c0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -000bc1d0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -000bc1e0: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ -000bc1f0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -000bc200: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -000bc210: 5f72 7379 736c 6f67 5f69 6e73 7461 6c6c  _rsyslog_install
│ │ │ -000bc220: 6564 0a0a 2d20 6e61 6d65 3a20 456e 7375  ed..- name: Ensu
│ │ │ -000bc230: 7265 2072 7379 736c 6f67 2069 7320 696e  re rsyslog is in
│ │ │ -000bc240: 7374 616c 6c65 640a 2020 7061 636b 6167  stalled.  packag
│ │ │ -000bc250: 653a 0a20 2020 206e 616d 653a 2072 7379  e:.    name: rsy
│ │ │ -000bc260: 736c 6f67 0a20 2020 2073 7461 7465 3a20  slog.    state: 
│ │ │ -000bc270: 7072 6573 656e 740a 2020 7768 656e 3a20  present.  when: 
│ │ │ -000bc280: 2722 6c69 6e75 782d 6261 7365 2220 696e  '"linux-base" in
│ │ │ -000bc290: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ -000bc2a0: 6163 6b61 6765 7327 0a20 2074 6167 733a  ackages'.  tags:
│ │ │ -000bc2b0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -000bc2c0: 2d43 4d2d 3628 6129 0a20 202d 2065 6e61  -CM-6(a).  - ena
│ │ │ -000bc2d0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -000bc2e0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -000bc2f0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -000bc300: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -000bc310: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -000bc320: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -000bc330: 7061 636b 6167 655f 7273 7973 6c6f 675f  package_rsyslog_
│ │ │ -000bc340: 696e 7374 616c 6c65 640a 3c2f 636f 6465  installed.
│ │ │ +000bbc50: 3c62 723e 3c64 6976 2063 6c61 7373 3d22  
│ │ │ -000bc090: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -000bc0c0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -000bc0d0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -000bc110: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ -000bc120: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
< │ │ │ +000bbd20: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +000bbd30: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
-
│ │ │ +000bbd80: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ +000bbd90: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ +000bbda0: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ +000bbdb0: 0a20 2020 206d 616e 6167 6572 3a20 6175  .    manager: au
│ │ │ +000bbdc0: 746f 0a20 2074 6167 733a 0a20 202d 204e  to.  tags:.  - N
│ │ │ +000bbdd0: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ +000bbde0: 6129 0a20 202d 2065 6e61 626c 655f 7374  a).  - enable_st
│ │ │ +000bbdf0: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +000bbe00: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +000bbe10: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +000bbe20: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ +000bbe30: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +000bbe40: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ +000bbe50: 655f 7273 7973 6c6f 675f 696e 7374 616c  e_rsyslog_instal
│ │ │ +000bbe60: 6c65 640a 0a2d 206e 616d 653a 2045 6e73  led..- name: Ens
│ │ │ +000bbe70: 7572 6520 7273 7973 6c6f 6720 6973 2069  ure rsyslog is i
│ │ │ +000bbe80: 6e73 7461 6c6c 6564 0a20 2070 6163 6b61  nstalled.  packa
│ │ │ +000bbe90: 6765 3a0a 2020 2020 6e61 6d65 3a20 7273  ge:.    name: rs
│ │ │ +000bbea0: 7973 6c6f 670a 2020 2020 7374 6174 653a  yslog.    state:
│ │ │ +000bbeb0: 2070 7265 7365 6e74 0a20 2077 6865 6e3a   present.  when:
│ │ │ +000bbec0: 2027 226c 696e 7578 2d62 6173 6522 2069   '"linux-base" i
│ │ │ +000bbed0: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +000bbee0: 7061 636b 6167 6573 270a 2020 7461 6773  packages'.  tags
│ │ │ +000bbef0: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ +000bbf00: 332d 434d 2d36 2861 290a 2020 2d20 656e  3-CM-6(a).  - en
│ │ │ +000bbf10: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +000bbf20: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +000bbf30: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +000bbf40: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ +000bbf50: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +000bbf60: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +000bbf70: 2070 6163 6b61 6765 5f72 7379 736c 6f67   package_rsyslog
│ │ │ +000bbf80: 5f69 6e73 7461 6c6c 6564 0a3c 2f63 6f64  _installed.
Re │ │ │ +000bc040: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ +000bc050: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +000bc060: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Complexity:low
Disrup │ │ │ +000bbd00: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +000bbd10: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +000bbd50: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +000bbd60: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ +000bc130: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +000bc140: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
i
│ │ │ +000bc190: 6e63 6c75 6465 2069 6e73 7461 6c6c 5f72  nclude install_r
│ │ │ +000bc1a0: 7379 736c 6f67 0a0a 636c 6173 7320 696e  syslog..class in
│ │ │ +000bc1b0: 7374 616c 6c5f 7273 7973 6c6f 6720 7b0a  stall_rsyslog {.
│ │ │ +000bc1c0: 2020 7061 636b 6167 6520 7b20 2772 7379    package { 'rsy
│ │ │ +000bc1d0: 736c 6f67 273a 0a20 2020 2065 6e73 7572  slog':.    ensur
│ │ │ +000bc1e0: 6520 3d26 6774 3b20 2769 6e73 7461 6c6c  e => 'install
│ │ │ +000bc1f0: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ed',.  }.}.
Re │ │ │ +000bc2b0: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil │ │ │ +000bc2c0: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip │ │ │ +000bc2d0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +000bc2e0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +000bc2f0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +000bc300: 7365 2220 6964 3d22 6964 6d31 3037 3638 se" id="idm10768 │ │ │ +000bc310: 223e 3c70 7265 3e3c 636f 6465 3e0a 5b5b ">
.[[
│ │ │ +000bc320: 7061 636b 6167 6573 5d5d 0a6e 616d 6520  packages]].name 
│ │ │ +000bc330: 3d20 2272 7379 736c 6f67 220a 7665 7273  = "rsyslog".vers
│ │ │ +000bc340: 696f 6e20 3d20 222a 220a 3c2f 636f 6465  ion = "*".
Remediation │ │ │ -000bd6c0: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin │ │ │ -000bd6d0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
.[customizati
│ │ │ -000bd730: 6f6e 732e 7365 7276 6963 6573 5d0a 656e  ons.services].en
│ │ │ -000bd740: 6162 6c65 6420 3d20 5b22 7273 7973 6c6f  abled = ["rsyslo
│ │ │ -000bd750: 6722 5d0a 3c2f 636f 6465 3e3c 2f70 7265  g"].
Remediati │ │ │ -000bd810: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -000bd820: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -000bd860: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
Complexity:low
Disrup │ │ │ +000bc110: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +000bc120: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +000bc160: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +000bc170: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ -000bd8d0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -000bd8f0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -000bd920: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -000bd940: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -000bd8b0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -000bd8c0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -000bd900: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -000bd910: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ -000bd960: 656e 6162 6c65 5f72 7379 736c 6f67 0a0a enable_rsyslog.. │ │ │ -000bd970: 636c 6173 7320 656e 6162 6c65 5f72 7379 class enable_rsy │ │ │ -000bd980: 736c 6f67 207b 0a20 2073 6572 7669 6365 slog {. service │ │ │ -000bd990: 207b 2772 7379 736c 6f67 273a 0a20 2020 {'rsyslog':. │ │ │ -000bd9a0: 2065 6e61 626c 6520 3d26 6774 3b20 7472 enable => tr │ │ │ -000bd9b0: 7565 2c0a 2020 2020 656e 7375 7265 203d ue,. ensure = │ │ │ -000bd9c0: 2667 743b 2027 7275 6e6e 696e 6727 2c0a > 'running',. │ │ │ -000bd9d0: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.

Remedia │ │ │ -000bda90: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ -000bdaa0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -000bdab0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -000bdb30: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -000bdb60: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -000bdb80: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -000bdb90: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -000bdbb0: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ -000bdbd0: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ -000bdbe0: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ -000bdbf0: 636b 6167 6520 6661 6374 730a 2020 7061  ckage facts.  pa
│ │ │ -000bdc00: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ -000bdc10: 206d 616e 6167 6572 3a20 6175 746f 0a20   manager: auto. 
│ │ │ -000bdc20: 2074 6167 733a 0a20 202d 2044 4953 412d   tags:.  - DISA-
│ │ │ -000bdc30: 5354 4947 2d55 4254 552d 3230 2d30 3130  STIG-UBTU-20-010
│ │ │ -000bdc40: 3433 320a 2020 2d20 4e49 5354 2d38 3030  432.  - NIST-800
│ │ │ -000bdc50: 2d35 332d 4155 2d34 2831 290a 2020 2d20  -53-AU-4(1).  - 
│ │ │ -000bdc60: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ -000bdc70: 2861 290a 2020 2d20 656e 6162 6c65 5f73  (a).  - enable_s
│ │ │ -000bdc80: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ -000bdc90: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -000bdca0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -000bdcb0: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ -000bdcc0: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ -000bdcd0: 6e65 6564 6564 0a20 202d 2073 6572 7669  needed.  - servi
│ │ │ -000bdce0: 6365 5f72 7379 736c 6f67 5f65 6e61 626c  ce_rsyslog_enabl
│ │ │ -000bdcf0: 6564 0a0a 2d20 6e61 6d65 3a20 456e 6162  ed..- name: Enab
│ │ │ -000bdd00: 6c65 2072 7379 736c 6f67 2053 6572 7669  le rsyslog Servi
│ │ │ -000bdd10: 6365 202d 2045 6e61 626c 6520 7365 7276  ce - Enable serv
│ │ │ -000bdd20: 6963 6520 7273 7973 6c6f 670a 2020 626c  ice rsyslog.  bl
│ │ │ -000bdd30: 6f63 6b3a 0a0a 2020 2d20 6e61 6d65 3a20  ock:..  - name: 
│ │ │ -000bdd40: 4761 7468 6572 2074 6865 2070 6163 6b61  Gather the packa
│ │ │ -000bdd50: 6765 2066 6163 7473 0a20 2020 2070 6163  ge facts.    pac
│ │ │ -000bdd60: 6b61 6765 5f66 6163 7473 3a0a 2020 2020  kage_facts:.    
│ │ │ -000bdd70: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ -000bdd80: 0a20 202d 206e 616d 653a 2045 6e61 626c  .  - name: Enabl
│ │ │ -000bdd90: 6520 7273 7973 6c6f 6720 5365 7276 6963  e rsyslog Servic
│ │ │ -000bdda0: 6520 2d20 456e 6162 6c65 2053 6572 7669  e - Enable Servi
│ │ │ -000bddb0: 6365 2072 7379 736c 6f67 0a20 2020 2061  ce rsyslog.    a
│ │ │ -000bddc0: 6e73 6962 6c65 2e62 7569 6c74 696e 2e73  nsible.builtin.s
│ │ │ -000bddd0: 7973 7465 6d64 3a0a 2020 2020 2020 6e61  ystemd:.      na
│ │ │ -000bdde0: 6d65 3a20 7273 7973 6c6f 670a 2020 2020  me: rsyslog.    
│ │ │ -000bddf0: 2020 656e 6162 6c65 643a 2074 7275 650a    enabled: true.
│ │ │ -000bde00: 2020 2020 2020 7374 6174 653a 2073 7461        state: sta
│ │ │ -000bde10: 7274 6564 0a20 2020 2020 206d 6173 6b65  rted.      maske
│ │ │ -000bde20: 643a 2066 616c 7365 0a20 2020 2077 6865  d: false.    whe
│ │ │ -000bde30: 6e3a 0a20 2020 202d 2027 2272 7379 736c  n:.    - '"rsysl
│ │ │ -000bde40: 6f67 2220 696e 2061 6e73 6962 6c65 5f66  og" in ansible_f
│ │ │ -000bde50: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ -000bde60: 2077 6865 6e3a 2027 226c 696e 7578 2d62   when: '"linux-b
│ │ │ -000bde70: 6173 6522 2069 6e20 616e 7369 626c 655f  ase" in ansible_
│ │ │ -000bde80: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -000bde90: 2020 7461 6773 3a0a 2020 2d20 4449 5341    tags:.  - DISA
│ │ │ -000bdea0: 2d53 5449 472d 5542 5455 2d32 302d 3031  -STIG-UBTU-20-01
│ │ │ -000bdeb0: 3034 3332 0a20 202d 204e 4953 542d 3830  0432.  - NIST-80
│ │ │ -000bdec0: 302d 3533 2d41 552d 3428 3129 0a20 202d  0-53-AU-4(1).  -
│ │ │ -000bded0: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -000bdee0: 3628 6129 0a20 202d 2065 6e61 626c 655f  6(a).  - enable_
│ │ │ -000bdef0: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -000bdf00: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -000bdf10: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -000bdf20: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ -000bdf30: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -000bdf40: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ -000bdf50: 6963 655f 7273 7973 6c6f 675f 656e 6162  ice_rsyslog_enab
│ │ │ -000bdf60: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265  led.

│ │ │ +000bd750: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +000bd760: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +000bd770: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +000bd7b0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +000bd7c0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +000bd7e0: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ +000bd800: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761  - name: Ga
│ │ │ +000bd810: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ +000bd820: 2066 6163 7473 0a20 2070 6163 6b61 6765   facts.  package
│ │ │ +000bd830: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61  _facts:.    mana
│ │ │ +000bd840: 6765 723a 2061 7574 6f0a 2020 7461 6773  ger: auto.  tags
│ │ │ +000bd850: 3a0a 2020 2d20 4449 5341 2d53 5449 472d  :.  - DISA-STIG-
│ │ │ +000bd860: 5542 5455 2d32 302d 3031 3034 3332 0a20  UBTU-20-010432. 
│ │ │ +000bd870: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ +000bd880: 552d 3428 3129 0a20 202d 204e 4953 542d  U-4(1).  - NIST-
│ │ │ +000bd890: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ +000bd8a0: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ +000bd8b0: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +000bd8c0: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +000bd8d0: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +000bd8e0: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +000bd8f0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +000bd900: 640a 2020 2d20 7365 7276 6963 655f 7273  d.  - service_rs
│ │ │ +000bd910: 7973 6c6f 675f 656e 6162 6c65 640a 0a2d  yslog_enabled..-
│ │ │ +000bd920: 206e 616d 653a 2045 6e61 626c 6520 7273   name: Enable rs
│ │ │ +000bd930: 7973 6c6f 6720 5365 7276 6963 6520 2d20  yslog Service - 
│ │ │ +000bd940: 456e 6162 6c65 2073 6572 7669 6365 2072  Enable service r
│ │ │ +000bd950: 7379 736c 6f67 0a20 2062 6c6f 636b 3a0a  syslog.  block:.
│ │ │ +000bd960: 0a20 202d 206e 616d 653a 2047 6174 6865  .  - name: Gathe
│ │ │ +000bd970: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ +000bd980: 6374 730a 2020 2020 7061 636b 6167 655f  cts.    package_
│ │ │ +000bd990: 6661 6374 733a 0a20 2020 2020 206d 616e  facts:.      man
│ │ │ +000bd9a0: 6167 6572 3a20 6175 746f 0a0a 2020 2d20  ager: auto..  - 
│ │ │ +000bd9b0: 6e61 6d65 3a20 456e 6162 6c65 2072 7379  name: Enable rsy
│ │ │ +000bd9c0: 736c 6f67 2053 6572 7669 6365 202d 2045  slog Service - E
│ │ │ +000bd9d0: 6e61 626c 6520 5365 7276 6963 6520 7273  nable Service rs
│ │ │ +000bd9e0: 7973 6c6f 670a 2020 2020 616e 7369 626c  yslog.    ansibl
│ │ │ +000bd9f0: 652e 6275 696c 7469 6e2e 7379 7374 656d  e.builtin.system
│ │ │ +000bda00: 643a 0a20 2020 2020 206e 616d 653a 2072  d:.      name: r
│ │ │ +000bda10: 7379 736c 6f67 0a20 2020 2020 2065 6e61  syslog.      ena
│ │ │ +000bda20: 626c 6564 3a20 7472 7565 0a20 2020 2020  bled: true.     
│ │ │ +000bda30: 2073 7461 7465 3a20 7374 6172 7465 640a   state: started.
│ │ │ +000bda40: 2020 2020 2020 6d61 736b 6564 3a20 6661        masked: fa
│ │ │ +000bda50: 6c73 650a 2020 2020 7768 656e 3a0a 2020  lse.    when:.  
│ │ │ +000bda60: 2020 2d20 2722 7273 7973 6c6f 6722 2069    - '"rsyslog" i
│ │ │ +000bda70: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +000bda80: 7061 636b 6167 6573 270a 2020 7768 656e  packages'.  when
│ │ │ +000bda90: 3a20 2722 6c69 6e75 782d 6261 7365 2220  : '"linux-base" 
│ │ │ +000bdaa0: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +000bdab0: 2e70 6163 6b61 6765 7327 0a20 2074 6167  .packages'.  tag
│ │ │ +000bdac0: 733a 0a20 202d 2044 4953 412d 5354 4947  s:.  - DISA-STIG
│ │ │ +000bdad0: 2d55 4254 552d 3230 2d30 3130 3433 320a  -UBTU-20-010432.
│ │ │ +000bdae0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +000bdaf0: 4155 2d34 2831 290a 2020 2d20 4e49 5354  AU-4(1).  - NIST
│ │ │ +000bdb00: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ +000bdb10: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ +000bdb20: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +000bdb30: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +000bdb40: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ +000bdb50: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ +000bdb60: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +000bdb70: 6564 0a20 202d 2073 6572 7669 6365 5f72  ed.  - service_r
│ │ │ +000bdb80: 7379 736c 6f67 5f65 6e61 626c 6564 0a3c  syslog_enabled.<
│ │ │ +000bdb90: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ +000bdc50: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ +000bdc60: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ +000bdcf0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +000bdd10: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +000bdd30: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +000bdd60: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +000bdd70: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ +000bdd80: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include enabl
│ │ │ +000bdda0: 655f 7273 7973 6c6f 670a 0a63 6c61 7373  e_rsyslog..class
│ │ │ +000bddb0: 2065 6e61 626c 655f 7273 7973 6c6f 6720   enable_rsyslog 
│ │ │ +000bddc0: 7b0a 2020 7365 7276 6963 6520 7b27 7273  {.  service {'rs
│ │ │ +000bddd0: 7973 6c6f 6727 3a0a 2020 2020 656e 6162  yslog':.    enab
│ │ │ +000bdde0: 6c65 203d 2667 743b 2074 7275 652c 0a20  le => true,. 
│ │ │ +000bddf0: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ +000bde00: 2772 756e 6e69 6e67 272c 0a20 207d 0a7d  'running',.  }.}
│ │ │ +000bde10: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +000bded0: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin │ │ │ +000bdee0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
.[customizati
│ │ │ +000bdf40: 6f6e 732e 7365 7276 6963 6573 5d0a 656e  ons.services].en
│ │ │ +000bdf50: 6162 6c65 6420 3d20 5b22 7273 7973 6c6f  abled = ["rsyslo
│ │ │ +000bdf60: 6722 5d0a 3c2f 636f 6465 3e3c 2f70 7265  g"].
│ │ │ -000c7770: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu │ │ │ -000c7780: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn │ │ │ -000c7790: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.
│ │ │ -000c77e0: 5b5b 7061 636b 6167 6573 5d5d 0a6e 616d  [[packages]].nam
│ │ │ -000c77f0: 6520 3d20 2269 7074 6162 6c65 732d 7065  e = "iptables-pe
│ │ │ -000c7800: 7273 6973 7465 6e74 220a 7665 7273 696f  rsistent".versio
│ │ │ -000c7810: 6e20 3d20 222a 220a 3c2f 636f 6465 3e3c  n = "*".<
│ │ │ -000c7820: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remed │ │ │ -000c78d0: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ -000c78e0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -000c7990: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -000c79e0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ -000c7970: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -000c79a0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -000c79c0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -000c79d0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -000c79f0: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ -000c7a00: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -000c7a20: 7564 6520 696e 7374 616c 6c5f 6970 7461  ude install_ipta
│ │ │ -000c7a30: 626c 6573 2d70 6572 7369 7374 656e 740a  bles-persistent.
│ │ │ -000c7a40: 0a63 6c61 7373 2069 6e73 7461 6c6c 5f69  .class install_i
│ │ │ -000c7a50: 7074 6162 6c65 732d 7065 7273 6973 7465  ptables-persiste
│ │ │ -000c7a60: 6e74 207b 0a20 2070 6163 6b61 6765 207b  nt {.  package {
│ │ │ -000c7a70: 2027 6970 7461 626c 6573 2d70 6572 7369   'iptables-persi
│ │ │ -000c7a80: 7374 656e 7427 3a0a 2020 2020 656e 7375  stent':.    ensu
│ │ │ -000c7a90: 7265 203d 2667 743b 2027 696e 7374 616c  re => 'instal
│ │ │ -000c7aa0: 6c65 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  led',.  }.}.
< │ │ │ -000c7ac0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -000c7ad0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -000c7ae0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -000c7af0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -000c7b00: 646d 3131 3730 3422 2074 6162 696e 6465 dm11704" tabinde │ │ │ -000c7b10: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -000c7b20: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -000c7b30: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -000c7b40: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -000c7b50: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -000c7b60: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ -000c7b70: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
< │ │ │ -000c7c00: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -000c7c20: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -000c7c70: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
- name: Gather 
│ │ │ -000c7cc0: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ -000c7cd0: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ -000c7ce0: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ -000c7cf0: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ -000c7d00: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ -000c7d10: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -000c7d20: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -000c7d30: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ -000c7d40: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ -000c7d50: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -000c7d60: 2020 2d20 7061 636b 6167 655f 6970 7461    - package_ipta
│ │ │ -000c7d70: 626c 6573 2d70 6572 7369 7374 656e 745f  bles-persistent_
│ │ │ -000c7d80: 696e 7374 616c 6c65 640a 0a2d 206e 616d  installed..- nam
│ │ │ -000c7d90: 653a 2045 6e73 7572 6520 6970 7461 626c  e: Ensure iptabl
│ │ │ -000c7da0: 6573 2d70 6572 7369 7374 656e 7420 6973  es-persistent is
│ │ │ -000c7db0: 2069 6e73 7461 6c6c 6564 0a20 2070 6163   installed.  pac
│ │ │ -000c7dc0: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20  kage:.    name: 
│ │ │ -000c7dd0: 6970 7461 626c 6573 2d70 6572 7369 7374  iptables-persist
│ │ │ -000c7de0: 656e 740a 2020 2020 7374 6174 653a 2070  ent.    state: p
│ │ │ -000c7df0: 7265 7365 6e74 0a20 2077 6865 6e3a 2027  resent.  when: '
│ │ │ -000c7e00: 2269 7074 6162 6c65 7322 2069 6e20 616e  "iptables" in an
│ │ │ -000c7e10: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ -000c7e20: 6167 6573 270a 2020 7461 6773 3a0a 2020  ages'.  tags:.  
│ │ │ -000c7e30: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ -000c7e40: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -000c7e50: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -000c7e60: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ -000c7e70: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ -000c7e80: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -000c7e90: 0a20 202d 2070 6163 6b61 6765 5f69 7074  .  - package_ipt
│ │ │ -000c7ea0: 6162 6c65 732d 7065 7273 6973 7465 6e74  ables-persistent
│ │ │ -000c7eb0: 5f69 6e73 7461 6c6c 6564 0a3c 2f63 6f64  _installed.
low
Disr │ │ │ -000c7c30: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -000c7c40: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -000c7c80: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ -000c7c90: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ +000c7810: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +000c7830: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +000c7880: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ +000c78b0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Gather
│ │ │ +000c78d0: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ +000c78e0: 7473 0a20 2070 6163 6b61 6765 5f66 6163  ts.  package_fac
│ │ │ +000c78f0: 7473 3a0a 2020 2020 6d61 6e61 6765 723a  ts:.    manager:
│ │ │ +000c7900: 2061 7574 6f0a 2020 7461 6773 3a0a 2020   auto.  tags:.  
│ │ │ +000c7910: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ +000c7920: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +000c7930: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +000c7940: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ +000c7950: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ +000c7960: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +000c7970: 0a20 202d 2070 6163 6b61 6765 5f69 7074  .  - package_ipt
│ │ │ +000c7980: 6162 6c65 732d 7065 7273 6973 7465 6e74  ables-persistent
│ │ │ +000c7990: 5f69 6e73 7461 6c6c 6564 0a0a 2d20 6e61  _installed..- na
│ │ │ +000c79a0: 6d65 3a20 456e 7375 7265 2069 7074 6162  me: Ensure iptab
│ │ │ +000c79b0: 6c65 732d 7065 7273 6973 7465 6e74 2069  les-persistent i
│ │ │ +000c79c0: 7320 696e 7374 616c 6c65 640a 2020 7061  s installed.  pa
│ │ │ +000c79d0: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ +000c79e0: 2069 7074 6162 6c65 732d 7065 7273 6973   iptables-persis
│ │ │ +000c79f0: 7465 6e74 0a20 2020 2073 7461 7465 3a20  tent.    state: 
│ │ │ +000c7a00: 7072 6573 656e 740a 2020 7768 656e 3a20  present.  when: 
│ │ │ +000c7a10: 2722 6970 7461 626c 6573 2220 696e 2061  '"iptables" in a
│ │ │ +000c7a20: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +000c7a30: 6b61 6765 7327 0a20 2074 6167 733a 0a20  kages'.  tags:. 
│ │ │ +000c7a40: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ +000c7a50: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +000c7a60: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +000c7a70: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +000c7a80: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +000c7a90: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +000c7aa0: 640a 2020 2d20 7061 636b 6167 655f 6970  d.  - package_ip
│ │ │ +000c7ab0: 7461 626c 6573 2d70 6572 7369 7374 656e  tables-persisten
│ │ │ +000c7ac0: 745f 696e 7374 616c 6c65 640a 3c2f 636f  t_installed.
< │ │ │ +000c7ae0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +000c7af0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +000c7b00: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +000c7b10: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +000c7b20: 646d 3131 3730 3322 2074 6162 696e 6465 dm11703" tabinde │ │ │ +000c7b30: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +000c7b40: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +000c7b50: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +000c7b60: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +000c7b70: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +000c7b80: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +000c7b90: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity:< │ │ │ +000c7820: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +000c7840: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +000c7890: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ +000c78a0: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
Complexity: │ │ │ +000c7c70: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +000c7c80: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ +000c7cd0: 696e 636c 7564 6520 696e 7374 616c 6c5f  include install_
│ │ │ +000c7ce0: 6970 7461 626c 6573 2d70 6572 7369 7374  iptables-persist
│ │ │ +000c7cf0: 656e 740a 0a63 6c61 7373 2069 6e73 7461  ent..class insta
│ │ │ +000c7d00: 6c6c 5f69 7074 6162 6c65 732d 7065 7273  ll_iptables-pers
│ │ │ +000c7d10: 6973 7465 6e74 207b 0a20 2070 6163 6b61  istent {.  packa
│ │ │ +000c7d20: 6765 207b 2027 6970 7461 626c 6573 2d70  ge { 'iptables-p
│ │ │ +000c7d30: 6572 7369 7374 656e 7427 3a0a 2020 2020  ersistent':.    
│ │ │ +000c7d40: 656e 7375 7265 203d 2667 743b 2027 696e  ensure => 'in
│ │ │ +000c7d50: 7374 616c 6c65 6427 2c0a 2020 7d0a 7d0a  stalled',.  }.}.
│ │ │ +000c7d60: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation O │ │ │ +000c7e20: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint │ │ │ +000c7e30: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +000c7e40: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.[[packages]].
│ │ │ +000c7e90: 6e61 6d65 203d 2022 6970 7461 626c 6573  name = "iptables
│ │ │ +000c7ea0: 2d70 6572 7369 7374 656e 7422 0a76 6572  -persistent".ver
│ │ │ +000c7eb0: 7369 6f6e 203d 2022 2a22 0a3c 2f63 6f64  sion = "*".
R │ │ │ -000c8bd0: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui │ │ │ -000c8be0: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni │ │ │ -000c8bf0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -000c8c00: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
.[
│ │ │ -000c8c40: 5b70 6163 6b61 6765 735d 5d0a 6e61 6d65  [packages]].name
│ │ │ -000c8c50: 203d 2022 6970 7461 626c 6573 220a 7665   = "iptables".ve
│ │ │ -000c8c60: 7273 696f 6e20 3d20 222a 220a 3c2f 636f  rsion = "*".
< │ │ │ -000c8c80: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -000c8c90: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -000c8ca0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -000c8cb0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -000c8cc0: 646d 3131 3732 3422 2074 6162 696e 6465 dm11724" tabinde │ │ │ -000c8cd0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -000c8ce0: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -000c8cf0: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -000c8d00: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -000c8d10: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -000c8d20: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ -000c8d30: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
low
Disru │ │ │ +000c7c50: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +000c7c60: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +000c7ca0: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ +000c7cb0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity: │ │ │ -000c8e10: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -000c8e20: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ -000c8e70: 696e 636c 7564 6520 696e 7374 616c 6c5f  include install_
│ │ │ -000c8e80: 6970 7461 626c 6573 0a0a 636c 6173 7320  iptables..class 
│ │ │ -000c8e90: 696e 7374 616c 6c5f 6970 7461 626c 6573  install_iptables
│ │ │ -000c8ea0: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ -000c8eb0: 6970 7461 626c 6573 273a 0a20 2020 2065  iptables':.    e
│ │ │ -000c8ec0: 6e73 7572 6520 3d26 6774 3b20 2769 6e73  nsure => 'ins
│ │ │ -000c8ed0: 7461 6c6c 6564 272c 0a20 207d 0a7d 0a3c  talled',.  }.}.<
│ │ │ -000c8ee0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation An │ │ │ -000c8fa0: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -000c8fb0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ -000c9070: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -000c9080: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
low
Disru │ │ │ -000c8df0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -000c8e00: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -000c8e40: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ -000c8e50: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity │ │ │ -000c9040: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ -000c9060: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ -000c9090: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ -000c90b0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
- name: Gath
│ │ │ -000c90f0: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ -000c9100: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ -000c9110: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ -000c9120: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ -000c9130: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -000c9140: 434d 2d36 2861 290a 2020 2d20 5043 492d  CM-6(a).  - PCI-
│ │ │ -000c9150: 4453 532d 5265 712d 312e 342e 310a 2020  DSS-Req-1.4.1.  
│ │ │ -000c9160: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ -000c9170: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -000c9180: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -000c9190: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ -000c91a0: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ -000c91b0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -000c91c0: 0a20 202d 2070 6163 6b61 6765 5f69 7074  .  - package_ipt
│ │ │ -000c91d0: 6162 6c65 735f 696e 7374 616c 6c65 640a  ables_installed.
│ │ │ -000c91e0: 0a2d 206e 616d 653a 2045 6e73 7572 6520  .- name: Ensure 
│ │ │ -000c91f0: 6970 7461 626c 6573 2069 7320 696e 7374  iptables is inst
│ │ │ -000c9200: 616c 6c65 640a 2020 7061 636b 6167 653a  alled.  package:
│ │ │ -000c9210: 0a20 2020 206e 616d 653a 2069 7074 6162  .    name: iptab
│ │ │ -000c9220: 6c65 730a 2020 2020 7374 6174 653a 2070  les.    state: p
│ │ │ -000c9230: 7265 7365 6e74 0a20 2077 6865 6e3a 2028  resent.  when: (
│ │ │ -000c9240: 2022 6c69 6e75 782d 6261 7365 2220 696e   "linux-base" in
│ │ │ -000c9250: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ -000c9260: 6163 6b61 6765 7320 290a 2020 7461 6773  ackages ).  tags
│ │ │ -000c9270: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ -000c9280: 332d 434d 2d36 2861 290a 2020 2d20 5043  3-CM-6(a).  - PC
│ │ │ -000c9290: 492d 4453 532d 5265 712d 312e 342e 310a  I-DSS-Req-1.4.1.
│ │ │ -000c92a0: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -000c92b0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -000c92c0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -000c92d0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -000c92e0: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -000c92f0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -000c9300: 6564 0a20 202d 2070 6163 6b61 6765 5f69  ed.  - package_i
│ │ │ -000c9310: 7074 6162 6c65 735f 696e 7374 616c 6c65  ptables_installe
│ │ │ -000c9320: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +000c8bd0: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ +000c8be0: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
< │ │ │ +000c8c70: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +000c8c90: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +000c8ce0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
- name: Gather 
│ │ │ +000c8d30: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ +000c8d40: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ +000c8d50: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ +000c8d60: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ +000c8d70: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +000c8d80: 3628 6129 0a20 202d 2050 4349 2d44 5353  6(a).  - PCI-DSS
│ │ │ +000c8d90: 2d52 6571 2d31 2e34 2e31 0a20 202d 2065  -Req-1.4.1.  - e
│ │ │ +000c8da0: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ +000c8db0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +000c8dc0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +000c8dd0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +000c8de0: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +000c8df0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +000c8e00: 2d20 7061 636b 6167 655f 6970 7461 626c  - package_iptabl
│ │ │ +000c8e10: 6573 5f69 6e73 7461 6c6c 6564 0a0a 2d20  es_installed..- 
│ │ │ +000c8e20: 6e61 6d65 3a20 456e 7375 7265 2069 7074  name: Ensure ipt
│ │ │ +000c8e30: 6162 6c65 7320 6973 2069 6e73 7461 6c6c  ables is install
│ │ │ +000c8e40: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ +000c8e50: 2020 6e61 6d65 3a20 6970 7461 626c 6573    name: iptables
│ │ │ +000c8e60: 0a20 2020 2073 7461 7465 3a20 7072 6573  .    state: pres
│ │ │ +000c8e70: 656e 740a 2020 7768 656e 3a20 2820 226c  ent.  when: ( "l
│ │ │ +000c8e80: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ +000c8e90: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +000c8ea0: 6167 6573 2029 0a20 2074 6167 733a 0a20  ages ).  tags:. 
│ │ │ +000c8eb0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +000c8ec0: 4d2d 3628 6129 0a20 202d 2050 4349 2d44  M-6(a).  - PCI-D
│ │ │ +000c8ed0: 5353 2d52 6571 2d31 2e34 2e31 0a20 202d  SS-Req-1.4.1.  -
│ │ │ +000c8ee0: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ +000c8ef0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +000c8f00: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +000c8f10: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +000c8f20: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +000c8f30: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +000c8f40: 2020 2d20 7061 636b 6167 655f 6970 7461    - package_ipta
│ │ │ +000c8f50: 626c 6573 5f69 6e73 7461 6c6c 6564 0a3c  bles_installed.<
│ │ │ +000c8f60: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ +000c9020: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ +000c9030: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low< │ │ │ +000c9100: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr> │ │ │ +000c9150: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
low
Disr │ │ │ +000c8ca0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +000c8cb0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +000c8cf0: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ +000c8d00: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complexity: │ │ │ +000c90c0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ +000c90e0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ +000c9130: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +000c9140: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
include insta
│ │ │ +000c9170: 6c6c 5f69 7074 6162 6c65 730a 0a63 6c61  ll_iptables..cla
│ │ │ +000c9180: 7373 2069 6e73 7461 6c6c 5f69 7074 6162  ss install_iptab
│ │ │ +000c9190: 6c65 7320 7b0a 2020 7061 636b 6167 6520  les {.  package 
│ │ │ +000c91a0: 7b20 2769 7074 6162 6c65 7327 3a0a 2020  { 'iptables':.  
│ │ │ +000c91b0: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ +000c91c0: 696e 7374 616c 6c65 6427 2c0a 2020 7d0a  installed',.  }.
│ │ │ +000c91d0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ +000c91e0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +000c9290: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ +000c92a0: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
.[[packages]
│ │ │ +000c9300: 5d0a 6e61 6d65 203d 2022 6970 7461 626c  ].name = "iptabl
│ │ │ +000c9310: 6573 220a 7665 7273 696f 6e20 3d20 222a  es".version = "*
│ │ │ +000c9320: 220a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  ".
< │ │ │ 000c9330: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>
Remedia │ │ │ -000c9eb0: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ -000c9ec0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -000c9ed0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -000c9ee0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -000c9ef0: 7365 2220 6964 3d22 6964 6d31 3137 3431 se" id="idm11741 │ │ │ -000c9f00: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ -000c9f50: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -000c9f60: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -000c9f80: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -000c9fa0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -000c9fb0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ -000c9ff0: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -000ca000: 6465 2072 656d 6f76 655f 6970 7461 626c  de remove_iptabl
│ │ │ -000ca010: 6573 2d70 6572 7369 7374 656e 740a 0a63  es-persistent..c
│ │ │ -000ca020: 6c61 7373 2072 656d 6f76 655f 6970 7461  lass remove_ipta
│ │ │ -000ca030: 626c 6573 2d70 6572 7369 7374 656e 7420  bles-persistent 
│ │ │ -000ca040: 7b0a 2020 7061 636b 6167 6520 7b20 2769  {.  package { 'i
│ │ │ -000ca050: 7074 6162 6c65 732d 7065 7273 6973 7465  ptables-persiste
│ │ │ -000ca060: 6e74 273a 0a20 2020 2065 6e73 7572 6520  nt':.    ensure 
│ │ │ -000ca070: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ -000ca080: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ -000ca140: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ -000ca150: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -000ca160: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -000ca1e0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -000ca210: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -000ca230: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -000ca240: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -000ca260: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -000ca270: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -000ca290: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ -000ca2a0: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ -000ca2b0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ -000ca2c0: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ -000ca2d0: 2020 7461 6773 3a0a 2020 2d20 6469 7361    tags:.  - disa
│ │ │ -000ca2e0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -000ca2f0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -000ca300: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -000ca310: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -000ca320: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -000ca330: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -000ca340: 7061 636b 6167 655f 6970 7461 626c 6573  package_iptables
│ │ │ -000ca350: 2d70 6572 7369 7374 656e 745f 7265 6d6f  -persistent_remo
│ │ │ -000ca360: 7665 640a 0a2d 206e 616d 653a 2045 6e73  ved..- name: Ens
│ │ │ -000ca370: 7572 6520 6970 7461 626c 6573 2d70 6572  ure iptables-per
│ │ │ -000ca380: 7369 7374 656e 7420 6973 2072 656d 6f76  sistent is remov
│ │ │ -000ca390: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ -000ca3a0: 2020 6e61 6d65 3a20 6970 7461 626c 6573    name: iptables
│ │ │ -000ca3b0: 2d70 6572 7369 7374 656e 740a 2020 2020  -persistent.    
│ │ │ -000ca3c0: 7374 6174 653a 2061 6273 656e 740a 2020  state: absent.  
│ │ │ -000ca3d0: 7768 656e 3a20 2722 7566 7722 2069 6e20  when: '"ufw" in 
│ │ │ -000ca3e0: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -000ca3f0: 636b 6167 6573 270a 2020 7461 6773 3a0a  ckages'.  tags:.
│ │ │ -000ca400: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ -000ca410: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ -000ca420: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -000ca430: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ -000ca440: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ -000ca450: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -000ca460: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ -000ca470: 6970 7461 626c 6573 2d70 6572 7369 7374  iptables-persist
│ │ │ -000ca480: 656e 745f 7265 6d6f 7665 640a 3c2f 636f  ent_removed.
│ │ │ +000c9ed0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +000c9f50: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +000c9f80: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +000c9fa0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +000c9fb0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +000c9fd0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +000c9fe0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +000ca000: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ +000ca010: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ +000ca020: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ +000ca030: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ +000ca040: 2020 7461 6773 3a0a 2020 2d20 6469 7361    tags:.  - disa
│ │ │ +000ca050: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +000ca060: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +000ca070: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +000ca080: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ +000ca090: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +000ca0a0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +000ca0b0: 7061 636b 6167 655f 6970 7461 626c 6573  package_iptables
│ │ │ +000ca0c0: 2d70 6572 7369 7374 656e 745f 7265 6d6f  -persistent_remo
│ │ │ +000ca0d0: 7665 640a 0a2d 206e 616d 653a 2045 6e73  ved..- name: Ens
│ │ │ +000ca0e0: 7572 6520 6970 7461 626c 6573 2d70 6572  ure iptables-per
│ │ │ +000ca0f0: 7369 7374 656e 7420 6973 2072 656d 6f76  sistent is remov
│ │ │ +000ca100: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ +000ca110: 2020 6e61 6d65 3a20 6970 7461 626c 6573    name: iptables
│ │ │ +000ca120: 2d70 6572 7369 7374 656e 740a 2020 2020  -persistent.    
│ │ │ +000ca130: 7374 6174 653a 2061 6273 656e 740a 2020  state: absent.  
│ │ │ +000ca140: 7768 656e 3a20 2722 7566 7722 2069 6e20  when: '"ufw" in 
│ │ │ +000ca150: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ +000ca160: 636b 6167 6573 270a 2020 7461 6773 3a0a  ckages'.  tags:.
│ │ │ +000ca170: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ +000ca180: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +000ca190: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +000ca1a0: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ +000ca1b0: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ +000ca1c0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +000ca1d0: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ +000ca1e0: 6970 7461 626c 6573 2d70 6572 7369 7374  iptables-persist
│ │ │ +000ca1f0: 656e 745f 7265 6d6f 7665 640a 3c2f 636f  ent_removed.
< │ │ │ +000ca210: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +000ca220: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +000ca230: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +000ca240: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +000ca250: 646d 3131 3734 3222 2074 6162 696e 6465 dm11742" tabinde │ │ │ +000ca260: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +000ca270: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +000ca280: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +000ca290: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +000ca2a0: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +000ca2b0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +000ca2c0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity: │ │ │ +000ca3a0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +000ca3b0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ +000ca410: 6970 7461 626c 6573 2d70 6572 7369 7374  iptables-persist
│ │ │ +000ca420: 656e 740a 0a63 6c61 7373 2072 656d 6f76  ent..class remov
│ │ │ +000ca430: 655f 6970 7461 626c 6573 2d70 6572 7369  e_iptables-persi
│ │ │ +000ca440: 7374 656e 7420 7b0a 2020 7061 636b 6167  stent {.  packag
│ │ │ +000ca450: 6520 7b20 2769 7074 6162 6c65 732d 7065  e { 'iptables-pe
│ │ │ +000ca460: 7273 6973 7465 6e74 273a 0a20 2020 2065  rsistent':.    e
│ │ │ +000ca470: 6e73 7572 6520 3d26 6774 3b20 2770 7572  nsure => 'pur
│ │ │ +000ca480: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ged',.  }.}.
< │ │ │ 000ca4a0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 000ca4b0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 000ca4c0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 000ca4d0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 000ca4e0: 646d 3131 3734 3322 2074 6162 696e 6465 dm11743" tabinde │ │ │ 000ca4f0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ @@ -68415,130 +68415,130 @@ │ │ │ 0010b3e0: 7461 2d74 6172 6765 743d 2223 6964 6d31 ta-target="#idm1 │ │ │ 0010b3f0: 3539 3235 2220 7461 6269 6e64 6578 3d22 5925" tabindex=" │ │ │ 0010b400: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button" │ │ │ 0010b410: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded=" │ │ │ 0010b420: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac │ │ │ 0010b430: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal │ │ │ 0010b440: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme │ │ │ -0010b450: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild │ │ │ -0010b460: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe │ │ │ -0010b470: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -0010b4b0: 3c70 7265 3e3c 636f 6465 3e0a 5b5b 7061
.[[pa
│ │ │ -0010b4c0: 636b 6167 6573 5d5d 0a6e 616d 6520 3d20  ckages]].name = 
│ │ │ -0010b4d0: 226e 6674 6162 6c65 7322 0a76 6572 7369  "nftables".versi
│ │ │ -0010b4e0: 6f6e 203d 2022 2a22 0a3c 2f63 6f64 653e  on = "*".
│ │ │ -0010b4f0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ -0010b5a0: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -0010b5b0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
low
Disru │ │ │ +000ca380: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +000ca390: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +000ca3d0: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +000ca3e0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
< │ │ │ -0010b650: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -0010b660: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -0010b6b0: 3c74 723e 3c74 683e 5374 7261 7465 6779
inc
│ │ │ -0010b6f0: 6c75 6465 2069 6e73 7461 6c6c 5f6e 6674  lude install_nft
│ │ │ -0010b700: 6162 6c65 730a 0a63 6c61 7373 2069 6e73  ables..class ins
│ │ │ -0010b710: 7461 6c6c 5f6e 6674 6162 6c65 7320 7b0a  tall_nftables {.
│ │ │ -0010b720: 2020 7061 636b 6167 6520 7b20 276e 6674    package { 'nft
│ │ │ -0010b730: 6162 6c65 7327 3a0a 2020 2020 656e 7375  ables':.    ensu
│ │ │ -0010b740: 7265 203d 2667 743b 2027 696e 7374 616c  re => 'instal
│ │ │ -0010b750: 6c65 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  led',.  }.}.
< │ │ │ -0010b770: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -0010b780: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -0010b790: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -0010b7a0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -0010b7b0: 646d 3135 3932 3722 2074 6162 696e 6465 dm15927" tabinde │ │ │ -0010b7c0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -0010b7d0: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -0010b7e0: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -0010b7f0: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -0010b800: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -0010b810: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ -0010b820: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
C │ │ │ -0010b640: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -0010b670: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -0010b680: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -0010b6c0: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ -0010b6d0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
< │ │ │ -0010b8b0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -0010b8d0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -0010b920: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
- name: Gather 
│ │ │ -0010b970: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ -0010b980: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ -0010b990: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ -0010b9a0: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ -0010b9b0: 2050 4349 2d44 5353 7634 2d31 2e32 0a20   PCI-DSSv4-1.2. 
│ │ │ -0010b9c0: 202d 2050 4349 2d44 5353 7634 2d31 2e32   - PCI-DSSv4-1.2
│ │ │ -0010b9d0: 2e31 0a20 202d 2065 6e61 626c 655f 7374  .1.  - enable_st
│ │ │ -0010b9e0: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ -0010b9f0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ -0010ba00: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ -0010ba10: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ -0010ba20: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ -0010ba30: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ -0010ba40: 655f 6e66 7461 626c 6573 5f69 6e73 7461  e_nftables_insta
│ │ │ -0010ba50: 6c6c 6564 0a0a 2d20 6e61 6d65 3a20 456e  lled..- name: En
│ │ │ -0010ba60: 7375 7265 206e 6674 6162 6c65 7320 6973  sure nftables is
│ │ │ -0010ba70: 2069 6e73 7461 6c6c 6564 0a20 2070 6163   installed.  pac
│ │ │ -0010ba80: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20  kage:.    name: 
│ │ │ -0010ba90: 6e66 7461 626c 6573 0a20 2020 2073 7461  nftables.    sta
│ │ │ -0010baa0: 7465 3a20 7072 6573 656e 740a 2020 7768  te: present.  wh
│ │ │ -0010bab0: 656e 3a20 2820 226c 696e 7578 2d62 6173  en: ( "linux-bas
│ │ │ -0010bac0: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ -0010bad0: 6374 732e 7061 636b 6167 6573 2029 0a20  cts.packages ). 
│ │ │ -0010bae0: 2074 6167 733a 0a20 202d 2050 4349 2d44   tags:.  - PCI-D
│ │ │ -0010baf0: 5353 7634 2d31 2e32 0a20 202d 2050 4349  SSv4-1.2.  - PCI
│ │ │ -0010bb00: 2d44 5353 7634 2d31 2e32 2e31 0a20 202d  -DSSv4-1.2.1.  -
│ │ │ -0010bb10: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ -0010bb20: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -0010bb30: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -0010bb40: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ -0010bb50: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ -0010bb60: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -0010bb70: 2020 2d20 7061 636b 6167 655f 6e66 7461    - package_nfta
│ │ │ -0010bb80: 626c 6573 5f69 6e73 7461 6c6c 6564 0a3c  bles_installed.<
│ │ │ +0010b450: 6469 6174 696f 6e20 416e 7369 626c 6520  diation Ansible 
│ │ │ +0010b460: 736e 6970 7065 7420 e287 b23c 2f61 3e3c  snippet ...<
│ │ │ +0010b470: 6272 3e3c 6469 7620 636c 6173 733d 2270  br>
low
Disr │ │ │ -0010b8e0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -0010b8f0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -0010b930: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ -0010b940: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ +0010b500: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
- 
│ │ │ +0010b5a0: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ +0010b5b0: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ +0010b5c0: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ +0010b5d0: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ +0010b5e0: 6f0a 2020 7461 6773 3a0a 2020 2d20 5043  o.  tags:.  - PC
│ │ │ +0010b5f0: 492d 4453 5376 342d 312e 320a 2020 2d20  I-DSSv4-1.2.  - 
│ │ │ +0010b600: 5043 492d 4453 5376 342d 312e 322e 310a  PCI-DSSv4-1.2.1.
│ │ │ +0010b610: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ +0010b620: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +0010b630: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +0010b640: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ +0010b650: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ +0010b660: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +0010b670: 6564 0a20 202d 2070 6163 6b61 6765 5f6e  ed.  - package_n
│ │ │ +0010b680: 6674 6162 6c65 735f 696e 7374 616c 6c65  ftables_installe
│ │ │ +0010b690: 640a 0a2d 206e 616d 653a 2045 6e73 7572  d..- name: Ensur
│ │ │ +0010b6a0: 6520 6e66 7461 626c 6573 2069 7320 696e  e nftables is in
│ │ │ +0010b6b0: 7374 616c 6c65 640a 2020 7061 636b 6167  stalled.  packag
│ │ │ +0010b6c0: 653a 0a20 2020 206e 616d 653a 206e 6674  e:.    name: nft
│ │ │ +0010b6d0: 6162 6c65 730a 2020 2020 7374 6174 653a  ables.    state:
│ │ │ +0010b6e0: 2070 7265 7365 6e74 0a20 2077 6865 6e3a   present.  when:
│ │ │ +0010b6f0: 2028 2022 6c69 6e75 782d 6261 7365 2220   ( "linux-base" 
│ │ │ +0010b700: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +0010b710: 2e70 6163 6b61 6765 7320 290a 2020 7461  .packages ).  ta
│ │ │ +0010b720: 6773 3a0a 2020 2d20 5043 492d 4453 5376  gs:.  - PCI-DSSv
│ │ │ +0010b730: 342d 312e 320a 2020 2d20 5043 492d 4453  4-1.2.  - PCI-DS
│ │ │ +0010b740: 5376 342d 312e 322e 310a 2020 2d20 656e  Sv4-1.2.1.  - en
│ │ │ +0010b750: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +0010b760: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +0010b770: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +0010b780: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ +0010b790: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +0010b7a0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +0010b7b0: 2070 6163 6b61 6765 5f6e 6674 6162 6c65   package_nftable
│ │ │ +0010b7c0: 735f 696e 7374 616c 6c65 640a 3c2f 636f  s_installed.
< │ │ │ +0010b7e0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +0010b7f0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +0010b800: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +0010b810: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +0010b820: 646d 3135 3932 3622 2074 6162 696e 6465 dm15926" tabinde │ │ │ +0010b830: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +0010b840: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +0010b850: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +0010b860: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +0010b870: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +0010b880: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +0010b890: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
│ │ │ +0010b4f0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +0010b520: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +0010b530: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +0010b570: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ +0010b580: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexity: │ │ │ +0010b970: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +0010b980: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ +0010b9d0: 696e 636c 7564 6520 696e 7374 616c 6c5f  include install_
│ │ │ +0010b9e0: 6e66 7461 626c 6573 0a0a 636c 6173 7320  nftables..class 
│ │ │ +0010b9f0: 696e 7374 616c 6c5f 6e66 7461 626c 6573  install_nftables
│ │ │ +0010ba00: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ +0010ba10: 6e66 7461 626c 6573 273a 0a20 2020 2065  nftables':.    e
│ │ │ +0010ba20: 6e73 7572 6520 3d26 6774 3b20 2769 6e73  nsure => 'ins
│ │ │ +0010ba30: 7461 6c6c 6564 272c 0a20 207d 0a7d 0a3c  talled',.  }.}.<
│ │ │ +0010ba40: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation OS │ │ │ +0010bb00: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint │ │ │ +0010bb10: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +0010bb20: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
.[[packages]].n
│ │ │ +0010bb70: 616d 6520 3d20 226e 6674 6162 6c65 7322  ame = "nftables"
│ │ │ +0010bb80: 0a76 6572 7369 6f6e 203d 2022 2a22 0a3c  .version = "*".<
│ │ │  0010bb90: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ -0010c740: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ -0010c750: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low< │ │ │ -0010c820: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>
low
Disru │ │ │ +0010b950: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +0010b960: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +0010b9a0: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ +0010b9b0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity: │ │ │ -0010c7e0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ -0010c800: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ -0010c850: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -0010c860: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
include remo
│ │ │ -0010c890: 7665 5f6e 6674 6162 6c65 730a 0a63 6c61  ve_nftables..cla
│ │ │ -0010c8a0: 7373 2072 656d 6f76 655f 6e66 7461 626c  ss remove_nftabl
│ │ │ -0010c8b0: 6573 207b 0a20 2070 6163 6b61 6765 207b  es {.  package {
│ │ │ -0010c8c0: 2027 6e66 7461 626c 6573 273a 0a20 2020   'nftables':.   
│ │ │ -0010c8d0: 2065 6e73 7572 6520 3d26 6774 3b20 2770   ensure => 'p
│ │ │ -0010c8e0: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f  urged',.  }.}.
Remediation Ans │ │ │ -0010c9b0: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -0010c9c0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ -0010ca50: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -0010ca70: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ -0010ca90: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ -0010cac0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -0010cad0: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Ensu
│ │ │ -0010cb00: 7265 206e 6674 6162 6c65 7320 6973 2072  re nftables is r
│ │ │ -0010cb10: 656d 6f76 6564 0a20 2070 6163 6b61 6765  emoved.  package
│ │ │ -0010cb20: 3a0a 2020 2020 6e61 6d65 3a20 6e66 7461  :.    name: nfta
│ │ │ -0010cb30: 626c 6573 0a20 2020 2073 7461 7465 3a20  bles.    state: 
│ │ │ -0010cb40: 6162 7365 6e74 0a20 2074 6167 733a 0a20  absent.  tags:. 
│ │ │ -0010cb50: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ -0010cb60: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -0010cb70: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -0010cb80: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -0010cb90: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -0010cba0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -0010cbb0: 6564 0a20 202d 2070 6163 6b61 6765 5f6e  ed.  - package_n
│ │ │ -0010cbc0: 6674 6162 6c65 735f 7265 6d6f 7665 640a  ftables_removed.
│ │ │ +0010c730: 223e 5265 6d65 6469 6174 696f 6e20 416e  ">Remediation An
│ │ │ +0010c740: 7369 626c 6520 736e 6970 7065 7420 e287  sible snippet ..
│ │ │ +0010c750: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c  .
Complexity │ │ │ +0010c7e0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +0010c800: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +0010c810: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +0010c820: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +0010c830: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +0010c850: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ +0010c880: 636f 6465 3e2d 206e 616d 653a 2045 6e73  code>- name: Ens
│ │ │ +0010c890: 7572 6520 6e66 7461 626c 6573 2069 7320  ure nftables is 
│ │ │ +0010c8a0: 7265 6d6f 7665 640a 2020 7061 636b 6167  removed.  packag
│ │ │ +0010c8b0: 653a 0a20 2020 206e 616d 653a 206e 6674  e:.    name: nft
│ │ │ +0010c8c0: 6162 6c65 730a 2020 2020 7374 6174 653a  ables.    state:
│ │ │ +0010c8d0: 2061 6273 656e 740a 2020 7461 6773 3a0a   absent.  tags:.
│ │ │ +0010c8e0: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ +0010c8f0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +0010c900: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +0010c910: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ +0010c920: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ +0010c930: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +0010c940: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ +0010c950: 6e66 7461 626c 6573 5f72 656d 6f76 6564  nftables_removed
│ │ │ +0010c960: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +0010ca20: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +0010ca30: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ +0010cab0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +0010cac0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +0010cae0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +0010caf0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +0010cb10: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +0010cb30: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ +0010cb60: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ +0010cb70: 6d6f 7665 5f6e 6674 6162 6c65 730a 0a63  move_nftables..c
│ │ │ +0010cb80: 6c61 7373 2072 656d 6f76 655f 6e66 7461  lass remove_nfta
│ │ │ +0010cb90: 626c 6573 207b 0a20 2070 6163 6b61 6765  bles {.  package
│ │ │ +0010cba0: 207b 2027 6e66 7461 626c 6573 273a 0a20   { 'nftables':. 
│ │ │ +0010cbb0: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ +0010cbc0: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a  'purged',.  }.}.
│ │ │  0010cbd0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation │ │ │ -0010d7b0: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ -0010d7c0: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
.[customizat
│ │ │ -0010d820: 696f 6e73 2e73 6572 7669 6365 735d 0a65  ions.services].e
│ │ │ -0010d830: 6e61 626c 6564 203d 205b 226e 6674 6162  nabled = ["nftab
│ │ │ -0010d840: 6c65 7322 5d0a 3c2f 636f 6465 3e3c 2f70  les"].

Remedia │ │ │ -0010d900: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ -0010d910: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -0010d920: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -0010d930: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -0010d940: 7365 2220 6964 3d22 6964 6d31 3539 3539 se" id="idm15959 │ │ │ -0010d950: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ -0010d9a0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -0010d9b0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -0010d9d0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -0010d9f0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -0010da00: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ -0010da40: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ -0010da50: 6520 656e 6162 6c65 5f6e 6674 6162 6c65 e enable_nftable │ │ │ -0010da60: 730a 0a63 6c61 7373 2065 6e61 626c 655f s..class enable_ │ │ │ -0010da70: 6e66 7461 626c 6573 207b 0a20 2073 6572 nftables {. ser │ │ │ -0010da80: 7669 6365 207b 276e 6674 6162 6c65 7327 vice {'nftables' │ │ │ -0010da90: 3a0a 2020 2020 656e 6162 6c65 203d 2667 :. enable =&g │ │ │ -0010daa0: 743b 2074 7275 652c 0a20 2020 2065 6e73 t; true,. ens │ │ │ -0010dab0: 7572 6520 3d26 6774 3b20 2772 756e 6e69 ure => 'runni │ │ │ -0010dac0: 6e67 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ng',. }.}.
Re │ │ │ -0010db80: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -0010db90: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
Complexity: │ │ │ -0010dc70: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -0010dc80: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ -0010dcd0: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ -0010dce0: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ -0010dcf0: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ -0010dd00: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ -0010dd10: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ -0010dd20: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ -0010dd30: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -0010dd40: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -0010dd50: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -0010dd60: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -0010dd70: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -0010dd80: 202d 2073 6572 7669 6365 5f6e 6674 6162   - service_nftab
│ │ │ -0010dd90: 6c65 735f 656e 6162 6c65 640a 0a2d 206e  les_enabled..- n
│ │ │ -0010dda0: 616d 653a 2056 6572 6966 7920 6e66 7461  ame: Verify nfta
│ │ │ -0010ddb0: 626c 6573 2053 6572 7669 6365 2069 7320  bles Service is 
│ │ │ -0010ddc0: 456e 6162 6c65 6420 2d20 456e 6162 6c65  Enabled - Enable
│ │ │ -0010ddd0: 2073 6572 7669 6365 206e 6674 6162 6c65   service nftable
│ │ │ -0010dde0: 730a 2020 626c 6f63 6b3a 0a0a 2020 2d20  s.  block:..  - 
│ │ │ -0010ddf0: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ -0010de00: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ -0010de10: 2020 2070 6163 6b61 6765 5f66 6163 7473     package_facts
│ │ │ -0010de20: 3a0a 2020 2020 2020 6d61 6e61 6765 723a  :.      manager:
│ │ │ -0010de30: 2061 7574 6f0a 0a20 202d 206e 616d 653a   auto..  - name:
│ │ │ -0010de40: 2056 6572 6966 7920 6e66 7461 626c 6573   Verify nftables
│ │ │ -0010de50: 2053 6572 7669 6365 2069 7320 456e 6162   Service is Enab
│ │ │ -0010de60: 6c65 6420 2d20 456e 6162 6c65 2053 6572  led - Enable Ser
│ │ │ -0010de70: 7669 6365 206e 6674 6162 6c65 730a 2020  vice nftables.  
│ │ │ -0010de80: 2020 616e 7369 626c 652e 6275 696c 7469    ansible.builti
│ │ │ -0010de90: 6e2e 7379 7374 656d 643a 0a20 2020 2020  n.systemd:.     
│ │ │ -0010dea0: 206e 616d 653a 206e 6674 6162 6c65 730a   name: nftables.
│ │ │ -0010deb0: 2020 2020 2020 656e 6162 6c65 643a 2074        enabled: t
│ │ │ -0010dec0: 7275 650a 2020 2020 2020 7374 6174 653a  rue.      state:
│ │ │ -0010ded0: 2073 7461 7274 6564 0a20 2020 2020 206d   started.      m
│ │ │ -0010dee0: 6173 6b65 643a 2066 616c 7365 0a20 2020  asked: false.   
│ │ │ -0010def0: 2077 6865 6e3a 0a20 2020 202d 2027 226e   when:.    - '"n
│ │ │ -0010df00: 6674 6162 6c65 7322 2069 6e20 616e 7369  ftables" in ansi
│ │ │ -0010df10: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -0010df20: 6573 270a 2020 7768 656e 3a20 2820 226e  es'.  when: ( "n
│ │ │ -0010df30: 6674 6162 6c65 7322 2069 6e20 616e 7369  ftables" in ansi
│ │ │ -0010df40: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -0010df50: 6573 2061 6e64 2022 6c69 6e75 782d 6261  es and "linux-ba
│ │ │ -0010df60: 7365 2220 696e 2061 6e73 6962 6c65 5f66  se" in ansible_f
│ │ │ -0010df70: 6163 7473 2e70 6163 6b61 6765 730a 2020  acts.packages.  
│ │ │ -0010df80: 2020 290a 2020 7461 6773 3a0a 2020 2d20    ).  tags:.  - 
│ │ │ -0010df90: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ -0010dfa0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -0010dfb0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -0010dfc0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -0010dfd0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -0010dfe0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -0010dff0: 202d 2073 6572 7669 6365 5f6e 6674 6162   - service_nftab
│ │ │ -0010e000: 6c65 735f 656e 6162 6c65 640a 3c2f 636f  les_enabled.
< │ │ │ +0010d800: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +0010d810: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +0010d820: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +0010d830: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +0010d840: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ +0010d8d0: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c < │ │ │ +0010d8e0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
low
Disru │ │ │ -0010dc50: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -0010dc60: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -0010dca0: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ -0010dcb0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complex │ │ │ +0010d850: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +0010d860: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ +0010d8a0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +0010d8b0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
enable
- name: G
│ │ │ +0010d900: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ +0010d910: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ +0010d920: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ +0010d930: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ +0010d940: 733a 0a20 202d 2065 6e61 626c 655f 7374  s:.  - enable_st
│ │ │ +0010d950: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +0010d960: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +0010d970: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +0010d980: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ +0010d990: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +0010d9a0: 6565 6465 640a 2020 2d20 7365 7276 6963  eeded.  - servic
│ │ │ +0010d9b0: 655f 6e66 7461 626c 6573 5f65 6e61 626c  e_nftables_enabl
│ │ │ +0010d9c0: 6564 0a0a 2d20 6e61 6d65 3a20 5665 7269  ed..- name: Veri
│ │ │ +0010d9d0: 6679 206e 6674 6162 6c65 7320 5365 7276  fy nftables Serv
│ │ │ +0010d9e0: 6963 6520 6973 2045 6e61 626c 6564 202d  ice is Enabled -
│ │ │ +0010d9f0: 2045 6e61 626c 6520 7365 7276 6963 6520   Enable service 
│ │ │ +0010da00: 6e66 7461 626c 6573 0a20 2062 6c6f 636b  nftables.  block
│ │ │ +0010da10: 3a0a 0a20 202d 206e 616d 653a 2047 6174  :..  - name: Gat
│ │ │ +0010da20: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ +0010da30: 6661 6374 730a 2020 2020 7061 636b 6167  facts.    packag
│ │ │ +0010da40: 655f 6661 6374 733a 0a20 2020 2020 206d  e_facts:.      m
│ │ │ +0010da50: 616e 6167 6572 3a20 6175 746f 0a0a 2020  anager: auto..  
│ │ │ +0010da60: 2d20 6e61 6d65 3a20 5665 7269 6679 206e  - name: Verify n
│ │ │ +0010da70: 6674 6162 6c65 7320 5365 7276 6963 6520  ftables Service 
│ │ │ +0010da80: 6973 2045 6e61 626c 6564 202d 2045 6e61  is Enabled - Ena
│ │ │ +0010da90: 626c 6520 5365 7276 6963 6520 6e66 7461  ble Service nfta
│ │ │ +0010daa0: 626c 6573 0a20 2020 2061 6e73 6962 6c65  bles.    ansible
│ │ │ +0010dab0: 2e62 7569 6c74 696e 2e73 7973 7465 6d64  .builtin.systemd
│ │ │ +0010dac0: 3a0a 2020 2020 2020 6e61 6d65 3a20 6e66  :.      name: nf
│ │ │ +0010dad0: 7461 626c 6573 0a20 2020 2020 2065 6e61  tables.      ena
│ │ │ +0010dae0: 626c 6564 3a20 7472 7565 0a20 2020 2020  bled: true.     
│ │ │ +0010daf0: 2073 7461 7465 3a20 7374 6172 7465 640a   state: started.
│ │ │ +0010db00: 2020 2020 2020 6d61 736b 6564 3a20 6661        masked: fa
│ │ │ +0010db10: 6c73 650a 2020 2020 7768 656e 3a0a 2020  lse.    when:.  
│ │ │ +0010db20: 2020 2d20 2722 6e66 7461 626c 6573 2220    - '"nftables" 
│ │ │ +0010db30: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +0010db40: 2e70 6163 6b61 6765 7327 0a20 2077 6865  .packages'.  whe
│ │ │ +0010db50: 6e3a 2028 2022 6e66 7461 626c 6573 2220  n: ( "nftables" 
│ │ │ +0010db60: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +0010db70: 2e70 6163 6b61 6765 7320 616e 6420 226c  .packages and "l
│ │ │ +0010db80: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ +0010db90: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +0010dba0: 6167 6573 0a20 2020 2029 0a20 2074 6167  ages.    ).  tag
│ │ │ +0010dbb0: 733a 0a20 202d 2065 6e61 626c 655f 7374  s:.  - enable_st
│ │ │ +0010dbc0: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +0010dbd0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +0010dbe0: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +0010dbf0: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ +0010dc00: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +0010dc10: 6565 6465 640a 2020 2d20 7365 7276 6963  eeded.  - servic
│ │ │ +0010dc20: 655f 6e66 7461 626c 6573 5f65 6e61 626c  e_nftables_enabl
│ │ │ +0010dc30: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e  ed.
│ │ │ +0010dc40: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ +0010dcf0: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ +0010dd00: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +0010dd40: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +0010dd50: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +0010dd60: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +0010dd70: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +0010dd80: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +0010dd90: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +0010dda0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +0010dde0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +0010ddf0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +0010de10: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ +0010de20: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include e
│ │ │ +0010de40: 6e61 626c 655f 6e66 7461 626c 6573 0a0a  nable_nftables..
│ │ │ +0010de50: 636c 6173 7320 656e 6162 6c65 5f6e 6674  class enable_nft
│ │ │ +0010de60: 6162 6c65 7320 7b0a 2020 7365 7276 6963  ables {.  servic
│ │ │ +0010de70: 6520 7b27 6e66 7461 626c 6573 273a 0a20  e {'nftables':. 
│ │ │ +0010de80: 2020 2065 6e61 626c 6520 3d26 6774 3b20     enable => 
│ │ │ +0010de90: 7472 7565 2c0a 2020 2020 656e 7375 7265  true,.    ensure
│ │ │ +0010dea0: 203d 2667 743b 2027 7275 6e6e 696e 6727   => 'running'
│ │ │ +0010deb0: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ +0010dec0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remed │ │ │ +0010df70: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B │ │ │ +0010df80: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet │ │ │ +0010df90: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +0010dfd0: 7072 653e 3c63 6f64 653e 0a5b 6375 7374 pre>.[cust │ │ │ +0010dfe0: 6f6d 697a 6174 696f 6e73 2e73 6572 7669 omizations.servi │ │ │ +0010dff0: 6365 735d 0a65 6e61 626c 6564 203d 205b ces].enabled = [ │ │ │ +0010e000: 226e 6674 6162 6c65 7322 5d0a 3c2f 636f "nftables"].
< │ │ │ 0010e020: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 0010e030: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 0010e040: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 0010e050: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 0010e060: 646d 3135 3936 3122 2074 6162 696e 6465 dm15961" tabinde │ │ │ 0010e070: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ @@ -69335,308 +69335,308 @@ │ │ │ 0010ed60: 6461 7461 2d74 6172 6765 743d 2223 6964 data-target="#id │ │ │ 0010ed70: 6d31 3539 3830 2220 7461 6269 6e64 6578 m15980" tabindex │ │ │ 0010ed80: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ 0010ed90: 6e22 2061 7269 612d 6578 7061 6e64 6564 n" aria-expanded │ │ │ 0010eda0: 3d22 6661 6c73 6522 2074 6974 6c65 3d22 ="false" title=" │ │ │ 0010edb0: 4163 7469 7661 7465 2074 6f20 7265 7665 Activate to reve │ │ │ 0010edc0: 616c 2220 6872 6566 3d22 2321 223e 5265 al" href="#!">Re │ │ │ -0010edd0: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil │ │ │ -0010ede0: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip │ │ │ -0010edf0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -0010ee00: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -0010ee10: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -0010ee20: 7365 2220 6964 3d22 6964 6d31 3539 3830 se" id="idm15980 │ │ │ -0010ee30: 223e 3c70 7265 3e3c 636f 6465 3e0a 5b63 ">
.[c
│ │ │ -0010ee40: 7573 746f 6d69 7a61 7469 6f6e 732e 7365  ustomizations.se
│ │ │ -0010ee50: 7276 6963 6573 5d0a 6d61 736b 6564 203d  rvices].masked =
│ │ │ -0010ee60: 205b 226e 6674 6162 6c65 7322 5d0a 3c2f   ["nftables"].
Remediation Kub │ │ │ -0010ef30: 6572 6e65 7465 7320 736e 6970 7065 7420 ernetes snippet │ │ │ -0010ef40: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -0010efc0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -0010efd0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -0010efe0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:medium │ │ │ -0010f010: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb │ │ │ -0010f020: 6f6f 743a 3c2f 7468 3e3c 7464 3e74 7275 oot:tru │ │ │ -0010f030: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e< │ │ │ -0010f040: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable

apiVers │ │ │ -0010f080: 696f 6e3a 206d 6163 6869 6e65 636f 6e66 ion: machineconf │ │ │ -0010f090: 6967 7572 6174 696f 6e2e 6f70 656e 7368 iguration.opensh │ │ │ -0010f0a0: 6966 742e 696f 2f76 310a 6b69 6e64 3a20 ift.io/v1.kind: │ │ │ -0010f0b0: 4d61 6368 696e 6543 6f6e 6669 670a 7370 MachineConfig.sp │ │ │ -0010f0c0: 6563 3a0a 2020 636f 6e66 6967 3a0a 2020 ec:. config:. │ │ │ -0010f0d0: 2020 6967 6e69 7469 6f6e 3a0a 2020 2020 ignition:. │ │ │ -0010f0e0: 2020 7665 7273 696f 6e3a 2033 2e31 2e30 version: 3.1.0 │ │ │ -0010f0f0: 0a20 2020 2073 7973 7465 6d64 3a0a 2020 . systemd:. │ │ │ -0010f100: 2020 2020 756e 6974 733a 0a20 2020 2020 units:. │ │ │ -0010f110: 202d 206e 616d 653a 206e 6674 6162 6c65 - name: nftable │ │ │ -0010f120: 732e 7365 7276 6963 650a 2020 2020 2020 s.service. │ │ │ -0010f130: 2020 656e 6162 6c65 643a 2066 616c 7365 enabled: false │ │ │ -0010f140: 0a20 2020 2020 2020 206d 6173 6b3a 2074 . mask: t │ │ │ -0010f150: 7275 650a 2020 2020 2020 2d20 6e61 6d65 rue. - name │ │ │ -0010f160: 3a20 6e66 7461 626c 6573 2e73 6f63 6b65 : nftables.socke │ │ │ -0010f170: 740a 2020 2020 2020 2020 656e 6162 6c65 t. enable │ │ │ -0010f180: 643a 2066 616c 7365 0a20 2020 2020 2020 d: false. │ │ │ -0010f190: 206d 6173 6b3a 2074 7275 650a 3c2f 636f mask: true.

< │ │ │ -0010f1b0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -0010f1c0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -0010f1d0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -0010f1e0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -0010f1f0: 646d 3135 3938 3222 2074 6162 696e 6465 dm15982" tabinde │ │ │ -0010f200: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -0010f210: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -0010f220: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -0010f230: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -0010f240: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -0010f250: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ -0010f260: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity: │ │ │ -0010f340: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -0010f350: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ -0010f3a0: 696e 636c 7564 6520 6469 7361 626c 655f  include disable_
│ │ │ -0010f3b0: 6e66 7461 626c 6573 0a0a 636c 6173 7320  nftables..class 
│ │ │ -0010f3c0: 6469 7361 626c 655f 6e66 7461 626c 6573  disable_nftables
│ │ │ -0010f3d0: 207b 0a20 2073 6572 7669 6365 207b 276e   {.  service {'n
│ │ │ -0010f3e0: 6674 6162 6c65 7327 3a0a 2020 2020 656e  ftables':.    en
│ │ │ -0010f3f0: 6162 6c65 203d 2667 743b 2066 616c 7365  able => false
│ │ │ -0010f400: 2c0a 2020 2020 656e 7375 7265 203d 2667  ,.    ensure =&g
│ │ │ -0010f410: 743b 2027 7374 6f70 7065 6427 2c0a 2020  t; 'stopped',.  
│ │ │ -0010f420: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ -0010f4e0: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -0010f4f0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
low
Disru │ │ │ -0010f320: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -0010f330: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -0010f370: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ -0010f380: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -0010f5a0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -0010f5c0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -0010f5f0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -0010f580: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -0010f590: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -0010f5b0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -0010f5d0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -0010f5e0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -0010f620: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -0010f630: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ -0010f640: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac │ │ │ -0010f650: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ -0010f660: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto. │ │ │ -0010f670: 7461 6773 3a0a 2020 2d20 5043 492d 4453 tags:. - PCI-DS │ │ │ -0010f680: 5376 342d 312e 320a 2020 2d20 5043 492d Sv4-1.2. - PCI- │ │ │ -0010f690: 4453 5376 342d 312e 322e 310a 2020 2d20 DSSv4-1.2.1. - │ │ │ -0010f6a0: 6469 7361 626c 655f 7374 7261 7465 6779 disable_strategy │ │ │ -0010f6b0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex │ │ │ -0010f6c0: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr │ │ │ -0010f6d0: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu │ │ │ -0010f6e0: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n │ │ │ -0010f6f0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed. │ │ │ -0010f700: 2020 2d20 7365 7276 6963 655f 6e66 7461 - service_nfta │ │ │ -0010f710: 626c 6573 5f64 6973 6162 6c65 640a 0a2d bles_disabled..- │ │ │ -0010f720: 206e 616d 653a 2056 6572 6966 7920 6e66 name: Verify nf │ │ │ -0010f730: 7461 626c 6573 2053 6572 7669 6365 2069 tables Service i │ │ │ -0010f740: 7320 4469 7361 626c 6564 202d 2043 6f6c s Disabled - Col │ │ │ -0010f750: 6c65 6374 2073 7973 7465 6d64 2053 6572 lect systemd Ser │ │ │ -0010f760: 7669 6365 7320 5072 6573 656e 7420 696e vices Present in │ │ │ -0010f770: 0a20 2020 2074 6865 2053 7973 7465 6d0a . the System. │ │ │ -0010f780: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti │ │ │ -0010f790: 6e2e 636f 6d6d 616e 643a 2073 7973 7465 n.command: syste │ │ │ -0010f7a0: 6d63 746c 202d 7120 6c69 7374 2d75 6e69 mctl -q list-uni │ │ │ -0010f7b0: 742d 6669 6c65 7320 2d2d 7479 7065 2073 t-files --type s │ │ │ -0010f7c0: 6572 7669 6365 0a20 2072 6567 6973 7465 ervice. registe │ │ │ -0010f7d0: 723a 2073 6572 7669 6365 5f65 7869 7374 r: service_exist │ │ │ -0010f7e0: 730a 2020 6368 616e 6765 645f 7768 656e s. changed_when │ │ │ -0010f7f0: 3a20 6661 6c73 650a 2020 6661 696c 6564 : false. failed │ │ │ -0010f800: 5f77 6865 6e3a 2073 6572 7669 6365 5f65 _when: service_e │ │ │ -0010f810: 7869 7374 732e 7263 206e 6f74 2069 6e20 xists.rc not in │ │ │ -0010f820: 5b30 2c20 315d 0a20 2063 6865 636b 5f6d [0, 1]. check_m │ │ │ -0010f830: 6f64 653a 2066 616c 7365 0a20 2077 6865 ode: false. whe │ │ │ -0010f840: 6e3a 2028 2022 6669 7265 7761 6c6c 6422 n: ( "firewalld" │ │ │ -0010f850: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact │ │ │ -0010f860: 732e 7061 636b 6167 6573 2061 6e64 2022 s.packages and " │ │ │ -0010f870: 6e66 7461 626c 6573 2220 696e 2061 6e73 nftables" in ans │ │ │ -0010f880: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa │ │ │ -0010f890: 6765 730a 2020 2020 616e 6420 226c 696e ges. and "lin │ │ │ -0010f8a0: 7578 2d62 6173 6522 2069 6e20 616e 7369 ux-base" in ansi │ │ │ -0010f8b0: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag │ │ │ -0010f8c0: 6573 2029 0a20 2074 6167 733a 0a20 202d es ). tags:. - │ │ │ -0010f8d0: 2050 4349 2d44 5353 7634 2d31 2e32 0a20 PCI-DSSv4-1.2. │ │ │ -0010f8e0: 202d 2050 4349 2d44 5353 7634 2d31 2e32 - PCI-DSSv4-1.2 │ │ │ -0010f8f0: 2e31 0a20 202d 2064 6973 6162 6c65 5f73 .1. - disable_s │ │ │ -0010f900: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_ │ │ │ -0010f910: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l │ │ │ -0010f920: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption. │ │ │ -0010f930: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit │ │ │ -0010f940: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_ │ │ │ -0010f950: 6e65 6564 6564 0a20 202d 2073 6572 7669 needed. - servi │ │ │ -0010f960: 6365 5f6e 6674 6162 6c65 735f 6469 7361 ce_nftables_disa │ │ │ -0010f970: 626c 6564 0a0a 2d20 6e61 6d65 3a20 5665 bled..- name: Ve │ │ │ -0010f980: 7269 6679 206e 6674 6162 6c65 7320 5365 rify nftables Se │ │ │ -0010f990: 7276 6963 6520 6973 2044 6973 6162 6c65 rvice is Disable │ │ │ -0010f9a0: 6420 2d20 456e 7375 7265 206e 6674 6162 d - Ensure nftab │ │ │ -0010f9b0: 6c65 732e 7365 7276 6963 6520 6973 204d les.service is M │ │ │ -0010f9c0: 6173 6b65 640a 2020 616e 7369 626c 652e asked. ansible. │ │ │ -0010f9d0: 6275 696c 7469 6e2e 7379 7374 656d 643a builtin.systemd: │ │ │ -0010f9e0: 0a20 2020 206e 616d 653a 206e 6674 6162 . name: nftab │ │ │ -0010f9f0: 6c65 732e 7365 7276 6963 650a 2020 2020 les.service. │ │ │ -0010fa00: 7374 6174 653a 2073 746f 7070 6564 0a20 state: stopped. │ │ │ -0010fa10: 2020 2065 6e61 626c 6564 3a20 6661 6c73 enabled: fals │ │ │ -0010fa20: 650a 2020 2020 6d61 736b 6564 3a20 7472 e. masked: tr │ │ │ -0010fa30: 7565 0a20 2077 6865 6e3a 0a20 202d 2028 ue. when:. - ( │ │ │ -0010fa40: 2022 6669 7265 7761 6c6c 6422 2069 6e20 "firewalld" in │ │ │ -0010fa50: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa │ │ │ -0010fa60: 636b 6167 6573 2061 6e64 2022 6e66 7461 ckages and "nfta │ │ │ -0010fa70: 626c 6573 2220 696e 2061 6e73 6962 6c65 bles" in ansible │ │ │ -0010fa80: 5f66 6163 7473 2e70 6163 6b61 6765 730a _facts.packages. │ │ │ -0010fa90: 2020 2020 616e 6420 226c 696e 7578 2d62 and "linux-b │ │ │ -0010faa0: 6173 6522 2069 6e20 616e 7369 626c 655f ase" in ansible_ │ │ │ -0010fab0: 6661 6374 732e 7061 636b 6167 6573 2029 facts.packages ) │ │ │ -0010fac0: 0a20 202d 2073 6572 7669 6365 5f65 7869 . - service_exi │ │ │ -0010fad0: 7374 732e 7374 646f 7574 5f6c 696e 6573 sts.stdout_lines │ │ │ -0010fae0: 2069 7320 7365 6172 6368 2822 6e66 7461 is search("nfta │ │ │ -0010faf0: 626c 6573 2e73 6572 7669 6365 222c 206d bles.service", m │ │ │ -0010fb00: 756c 7469 6c69 6e65 3d54 7275 6529 0a20 ultiline=True). │ │ │ -0010fb10: 2074 6167 733a 0a20 202d 2050 4349 2d44 tags:. - PCI-D │ │ │ -0010fb20: 5353 7634 2d31 2e32 0a20 202d 2050 4349 SSv4-1.2. - PCI │ │ │ -0010fb30: 2d44 5353 7634 2d31 2e32 2e31 0a20 202d -DSSv4-1.2.1. - │ │ │ -0010fb40: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg │ │ │ -0010fb50: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple │ │ │ -0010fb60: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis │ │ │ -0010fb70: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi │ │ │ -0010fb80: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. - │ │ │ -0010fb90: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed │ │ │ -0010fba0: 0a20 202d 2073 6572 7669 6365 5f6e 6674 . - service_nft │ │ │ -0010fbb0: 6162 6c65 735f 6469 7361 626c 6564 0a0a ables_disabled.. │ │ │ -0010fbc0: 2d20 6e61 6d65 3a20 556e 6974 2053 6f63 - name: Unit Soc │ │ │ -0010fbd0: 6b65 7420 4578 6973 7473 202d 206e 6674 ket Exists - nft │ │ │ -0010fbe0: 6162 6c65 732e 736f 636b 6574 0a20 2061 ables.socket. a │ │ │ -0010fbf0: 6e73 6962 6c65 2e62 7569 6c74 696e 2e63 nsible.builtin.c │ │ │ -0010fc00: 6f6d 6d61 6e64 3a20 7379 7374 656d 6374 ommand: systemct │ │ │ -0010fc10: 6c20 2d71 206c 6973 742d 756e 6974 2d66 l -q list-unit-f │ │ │ -0010fc20: 696c 6573 206e 6674 6162 6c65 732e 736f iles nftables.so │ │ │ -0010fc30: 636b 6574 0a20 2072 6567 6973 7465 723a cket. register: │ │ │ -0010fc40: 2073 6f63 6b65 745f 6669 6c65 5f65 7869 socket_file_exi │ │ │ -0010fc50: 7374 730a 2020 6368 616e 6765 645f 7768 sts. changed_wh │ │ │ -0010fc60: 656e 3a20 6661 6c73 650a 2020 6661 696c en: false. fail │ │ │ -0010fc70: 6564 5f77 6865 6e3a 2073 6f63 6b65 745f ed_when: socket_ │ │ │ -0010fc80: 6669 6c65 5f65 7869 7374 732e 7263 206e file_exists.rc n │ │ │ -0010fc90: 6f74 2069 6e20 5b30 2c20 315d 0a20 2063 ot in [0, 1]. c │ │ │ -0010fca0: 6865 636b 5f6d 6f64 653a 2066 616c 7365 heck_mode: false │ │ │ -0010fcb0: 0a20 2077 6865 6e3a 2028 2022 6669 7265 . when: ( "fire │ │ │ -0010fcc0: 7761 6c6c 6422 2069 6e20 616e 7369 626c walld" in ansibl │ │ │ -0010fcd0: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages │ │ │ -0010fce0: 2061 6e64 2022 6e66 7461 626c 6573 2220 and "nftables" │ │ │ -0010fcf0: 696e 2061 6e73 6962 6c65 5f66 6163 7473 in ansible_facts │ │ │ -0010fd00: 2e70 6163 6b61 6765 730a 2020 2020 616e .packages. an │ │ │ -0010fd10: 6420 226c 696e 7578 2d62 6173 6522 2069 d "linux-base" i │ │ │ -0010fd20: 6e20 616e 7369 626c 655f 6661 6374 732e n ansible_facts. │ │ │ -0010fd30: 7061 636b 6167 6573 2029 0a20 2074 6167 packages ). tag │ │ │ -0010fd40: 733a 0a20 202d 2050 4349 2d44 5353 7634 s:. - PCI-DSSv4 │ │ │ -0010fd50: 2d31 2e32 0a20 202d 2050 4349 2d44 5353 -1.2. - PCI-DSS │ │ │ -0010fd60: 7634 2d31 2e32 2e31 0a20 202d 2064 6973 v4-1.2.1. - dis │ │ │ -0010fd70: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy. │ │ │ -0010fd80: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity │ │ │ -0010fd90: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt │ │ │ -0010fda0: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s │ │ │ -0010fdb0: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r │ │ │ -0010fdc0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. - │ │ │ -0010fdd0: 2073 6572 7669 6365 5f6e 6674 6162 6c65 service_nftable │ │ │ -0010fde0: 735f 6469 7361 626c 6564 0a0a 2d20 6e61 s_disabled..- na │ │ │ -0010fdf0: 6d65 3a20 5665 7269 6679 206e 6674 6162 me: Verify nftab │ │ │ -0010fe00: 6c65 7320 5365 7276 6963 6520 6973 2044 les Service is D │ │ │ -0010fe10: 6973 6162 6c65 6420 2d20 4469 7361 626c isabled - Disabl │ │ │ -0010fe20: 6520 536f 636b 6574 206e 6674 6162 6c65 e Socket nftable │ │ │ -0010fe30: 730a 2020 616e 7369 626c 652e 6275 696c s. ansible.buil │ │ │ -0010fe40: 7469 6e2e 7379 7374 656d 643a 0a20 2020 tin.systemd:. │ │ │ -0010fe50: 206e 616d 653a 206e 6674 6162 6c65 732e name: nftables. │ │ │ -0010fe60: 736f 636b 6574 0a20 2020 2065 6e61 626c socket. enabl │ │ │ -0010fe70: 6564 3a20 6661 6c73 650a 2020 2020 7374 ed: false. st │ │ │ -0010fe80: 6174 653a 2073 746f 7070 6564 0a20 2020 ate: stopped. │ │ │ -0010fe90: 206d 6173 6b65 643a 2074 7275 650a 2020 masked: true. │ │ │ -0010fea0: 7768 656e 3a0a 2020 2d20 2820 2266 6972 when:. - ( "fir │ │ │ -0010feb0: 6577 616c 6c64 2220 696e 2061 6e73 6962 ewalld" in ansib │ │ │ -0010fec0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package │ │ │ -0010fed0: 7320 616e 6420 226e 6674 6162 6c65 7322 s and "nftables" │ │ │ -0010fee0: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact │ │ │ -0010fef0: 732e 7061 636b 6167 6573 0a20 2020 2061 s.packages. a │ │ │ -0010ff00: 6e64 2022 6c69 6e75 782d 6261 7365 2220 nd "linux-base" │ │ │ -0010ff10: 696e 2061 6e73 6962 6c65 5f66 6163 7473 in ansible_facts │ │ │ -0010ff20: 2e70 6163 6b61 6765 7320 290a 2020 2d20 .packages ). - │ │ │ -0010ff30: 736f 636b 6574 5f66 696c 655f 6578 6973 socket_file_exis │ │ │ -0010ff40: 7473 2e73 7464 6f75 745f 6c69 6e65 7320 ts.stdout_lines │ │ │ -0010ff50: 6973 2073 6561 7263 6828 226e 6674 6162 is search("nftab │ │ │ -0010ff60: 6c65 732e 736f 636b 6574 222c 206d 756c les.socket", mul │ │ │ -0010ff70: 7469 6c69 6e65 3d54 7275 6529 0a20 2074 tiline=True). t │ │ │ -0010ff80: 6167 733a 0a20 202d 2050 4349 2d44 5353 ags:. - PCI-DSS │ │ │ -0010ff90: 7634 2d31 2e32 0a20 202d 2050 4349 2d44 v4-1.2. - PCI-D │ │ │ -0010ffa0: 5353 7634 2d31 2e32 2e31 0a20 202d 2064 SSv4-1.2.1. - d │ │ │ -0010ffb0: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy. │ │ │ -0010ffc0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi │ │ │ -0010ffd0: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru │ │ │ -0010ffe0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium │ │ │ -0010fff0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no │ │ │ -00110000: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed. │ │ │ -00110010: 202d 2073 6572 7669 6365 5f6e 6674 6162 - service_nftab │ │ │ -00110020: 6c65 735f 6469 7361 626c 6564 0a3c 2f63 les_disabled.
Complexity: │ │ │ +0010eec0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +0010eed0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
- name: Gather 
│ │ │ +0010ef30: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ +0010ef40: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ +0010ef50: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ +0010ef60: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ +0010ef70: 2050 4349 2d44 5353 7634 2d31 2e32 0a20   PCI-DSSv4-1.2. 
│ │ │ +0010ef80: 202d 2050 4349 2d44 5353 7634 2d31 2e32   - PCI-DSSv4-1.2
│ │ │ +0010ef90: 2e31 0a20 202d 2064 6973 6162 6c65 5f73  .1.  - disable_s
│ │ │ +0010efa0: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ +0010efb0: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ +0010efc0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ +0010efd0: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ +0010efe0: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ +0010eff0: 6e65 6564 6564 0a20 202d 2073 6572 7669  needed.  - servi
│ │ │ +0010f000: 6365 5f6e 6674 6162 6c65 735f 6469 7361  ce_nftables_disa
│ │ │ +0010f010: 626c 6564 0a0a 2d20 6e61 6d65 3a20 5665  bled..- name: Ve
│ │ │ +0010f020: 7269 6679 206e 6674 6162 6c65 7320 5365  rify nftables Se
│ │ │ +0010f030: 7276 6963 6520 6973 2044 6973 6162 6c65  rvice is Disable
│ │ │ +0010f040: 6420 2d20 436f 6c6c 6563 7420 7379 7374  d - Collect syst
│ │ │ +0010f050: 656d 6420 5365 7276 6963 6573 2050 7265  emd Services Pre
│ │ │ +0010f060: 7365 6e74 2069 6e0a 2020 2020 7468 6520  sent in.    the 
│ │ │ +0010f070: 5379 7374 656d 0a20 2061 6e73 6962 6c65  System.  ansible
│ │ │ +0010f080: 2e62 7569 6c74 696e 2e63 6f6d 6d61 6e64  .builtin.command
│ │ │ +0010f090: 3a20 7379 7374 656d 6374 6c20 2d71 206c  : systemctl -q l
│ │ │ +0010f0a0: 6973 742d 756e 6974 2d66 696c 6573 202d  ist-unit-files -
│ │ │ +0010f0b0: 2d74 7970 6520 7365 7276 6963 650a 2020  -type service.  
│ │ │ +0010f0c0: 7265 6769 7374 6572 3a20 7365 7276 6963  register: servic
│ │ │ +0010f0d0: 655f 6578 6973 7473 0a20 2063 6861 6e67  e_exists.  chang
│ │ │ +0010f0e0: 6564 5f77 6865 6e3a 2066 616c 7365 0a20  ed_when: false. 
│ │ │ +0010f0f0: 2066 6169 6c65 645f 7768 656e 3a20 7365   failed_when: se
│ │ │ +0010f100: 7276 6963 655f 6578 6973 7473 2e72 6320  rvice_exists.rc 
│ │ │ +0010f110: 6e6f 7420 696e 205b 302c 2031 5d0a 2020  not in [0, 1].  
│ │ │ +0010f120: 6368 6563 6b5f 6d6f 6465 3a20 6661 6c73  check_mode: fals
│ │ │ +0010f130: 650a 2020 7768 656e 3a20 2820 2266 6972  e.  when: ( "fir
│ │ │ +0010f140: 6577 616c 6c64 2220 696e 2061 6e73 6962  ewalld" in ansib
│ │ │ +0010f150: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +0010f160: 7320 616e 6420 226e 6674 6162 6c65 7322  s and "nftables"
│ │ │ +0010f170: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ +0010f180: 732e 7061 636b 6167 6573 0a20 2020 2061  s.packages.    a
│ │ │ +0010f190: 6e64 2022 6c69 6e75 782d 6261 7365 2220  nd "linux-base" 
│ │ │ +0010f1a0: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +0010f1b0: 2e70 6163 6b61 6765 7320 290a 2020 7461  .packages ).  ta
│ │ │ +0010f1c0: 6773 3a0a 2020 2d20 5043 492d 4453 5376  gs:.  - PCI-DSSv
│ │ │ +0010f1d0: 342d 312e 320a 2020 2d20 5043 492d 4453  4-1.2.  - PCI-DS
│ │ │ +0010f1e0: 5376 342d 312e 322e 310a 2020 2d20 6469  Sv4-1.2.1.  - di
│ │ │ +0010f1f0: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ +0010f200: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +0010f210: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +0010f220: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +0010f230: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +0010f240: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +0010f250: 2d20 7365 7276 6963 655f 6e66 7461 626c  - service_nftabl
│ │ │ +0010f260: 6573 5f64 6973 6162 6c65 640a 0a2d 206e  es_disabled..- n
│ │ │ +0010f270: 616d 653a 2056 6572 6966 7920 6e66 7461  ame: Verify nfta
│ │ │ +0010f280: 626c 6573 2053 6572 7669 6365 2069 7320  bles Service is 
│ │ │ +0010f290: 4469 7361 626c 6564 202d 2045 6e73 7572  Disabled - Ensur
│ │ │ +0010f2a0: 6520 6e66 7461 626c 6573 2e73 6572 7669  e nftables.servi
│ │ │ +0010f2b0: 6365 2069 7320 4d61 736b 6564 0a20 2061  ce is Masked.  a
│ │ │ +0010f2c0: 6e73 6962 6c65 2e62 7569 6c74 696e 2e73  nsible.builtin.s
│ │ │ +0010f2d0: 7973 7465 6d64 3a0a 2020 2020 6e61 6d65  ystemd:.    name
│ │ │ +0010f2e0: 3a20 6e66 7461 626c 6573 2e73 6572 7669  : nftables.servi
│ │ │ +0010f2f0: 6365 0a20 2020 2073 7461 7465 3a20 7374  ce.    state: st
│ │ │ +0010f300: 6f70 7065 640a 2020 2020 656e 6162 6c65  opped.    enable
│ │ │ +0010f310: 643a 2066 616c 7365 0a20 2020 206d 6173  d: false.    mas
│ │ │ +0010f320: 6b65 643a 2074 7275 650a 2020 7768 656e  ked: true.  when
│ │ │ +0010f330: 3a0a 2020 2d20 2820 2266 6972 6577 616c  :.  - ( "firewal
│ │ │ +0010f340: 6c64 2220 696e 2061 6e73 6962 6c65 5f66  ld" in ansible_f
│ │ │ +0010f350: 6163 7473 2e70 6163 6b61 6765 7320 616e  acts.packages an
│ │ │ +0010f360: 6420 226e 6674 6162 6c65 7322 2069 6e20  d "nftables" in 
│ │ │ +0010f370: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ +0010f380: 636b 6167 6573 0a20 2020 2061 6e64 2022  ckages.    and "
│ │ │ +0010f390: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ +0010f3a0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +0010f3b0: 6b61 6765 7320 290a 2020 2d20 7365 7276  kages ).  - serv
│ │ │ +0010f3c0: 6963 655f 6578 6973 7473 2e73 7464 6f75  ice_exists.stdou
│ │ │ +0010f3d0: 745f 6c69 6e65 7320 6973 2073 6561 7263  t_lines is searc
│ │ │ +0010f3e0: 6828 226e 6674 6162 6c65 732e 7365 7276  h("nftables.serv
│ │ │ +0010f3f0: 6963 6522 2c20 6d75 6c74 696c 696e 653d  ice", multiline=
│ │ │ +0010f400: 5472 7565 290a 2020 7461 6773 3a0a 2020  True).  tags:.  
│ │ │ +0010f410: 2d20 5043 492d 4453 5376 342d 312e 320a  - PCI-DSSv4-1.2.
│ │ │ +0010f420: 2020 2d20 5043 492d 4453 5376 342d 312e    - PCI-DSSv4-1.
│ │ │ +0010f430: 322e 310a 2020 2d20 6469 7361 626c 655f  2.1.  - disable_
│ │ │ +0010f440: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ +0010f450: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +0010f460: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +0010f470: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ +0010f480: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ +0010f490: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ +0010f4a0: 6963 655f 6e66 7461 626c 6573 5f64 6973  ice_nftables_dis
│ │ │ +0010f4b0: 6162 6c65 640a 0a2d 206e 616d 653a 2055  abled..- name: U
│ │ │ +0010f4c0: 6e69 7420 536f 636b 6574 2045 7869 7374  nit Socket Exist
│ │ │ +0010f4d0: 7320 2d20 6e66 7461 626c 6573 2e73 6f63  s - nftables.soc
│ │ │ +0010f4e0: 6b65 740a 2020 616e 7369 626c 652e 6275  ket.  ansible.bu
│ │ │ +0010f4f0: 696c 7469 6e2e 636f 6d6d 616e 643a 2073  iltin.command: s
│ │ │ +0010f500: 7973 7465 6d63 746c 202d 7120 6c69 7374  ystemctl -q list
│ │ │ +0010f510: 2d75 6e69 742d 6669 6c65 7320 6e66 7461  -unit-files nfta
│ │ │ +0010f520: 626c 6573 2e73 6f63 6b65 740a 2020 7265  bles.socket.  re
│ │ │ +0010f530: 6769 7374 6572 3a20 736f 636b 6574 5f66  gister: socket_f
│ │ │ +0010f540: 696c 655f 6578 6973 7473 0a20 2063 6861  ile_exists.  cha
│ │ │ +0010f550: 6e67 6564 5f77 6865 6e3a 2066 616c 7365  nged_when: false
│ │ │ +0010f560: 0a20 2066 6169 6c65 645f 7768 656e 3a20  .  failed_when: 
│ │ │ +0010f570: 736f 636b 6574 5f66 696c 655f 6578 6973  socket_file_exis
│ │ │ +0010f580: 7473 2e72 6320 6e6f 7420 696e 205b 302c  ts.rc not in [0,
│ │ │ +0010f590: 2031 5d0a 2020 6368 6563 6b5f 6d6f 6465   1].  check_mode
│ │ │ +0010f5a0: 3a20 6661 6c73 650a 2020 7768 656e 3a20  : false.  when: 
│ │ │ +0010f5b0: 2820 2266 6972 6577 616c 6c64 2220 696e  ( "firewalld" in
│ │ │ +0010f5c0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ +0010f5d0: 6163 6b61 6765 7320 616e 6420 226e 6674  ackages and "nft
│ │ │ +0010f5e0: 6162 6c65 7322 2069 6e20 616e 7369 626c  ables" in ansibl
│ │ │ +0010f5f0: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +0010f600: 0a20 2020 2061 6e64 2022 6c69 6e75 782d  .    and "linux-
│ │ │ +0010f610: 6261 7365 2220 696e 2061 6e73 6962 6c65  base" in ansible
│ │ │ +0010f620: 5f66 6163 7473 2e70 6163 6b61 6765 7320  _facts.packages 
│ │ │ +0010f630: 290a 2020 7461 6773 3a0a 2020 2d20 5043  ).  tags:.  - PC
│ │ │ +0010f640: 492d 4453 5376 342d 312e 320a 2020 2d20  I-DSSv4-1.2.  - 
│ │ │ +0010f650: 5043 492d 4453 5376 342d 312e 322e 310a  PCI-DSSv4-1.2.1.
│ │ │ +0010f660: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ +0010f670: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +0010f680: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +0010f690: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ +0010f6a0: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ +0010f6b0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +0010f6c0: 6465 640a 2020 2d20 7365 7276 6963 655f  ded.  - service_
│ │ │ +0010f6d0: 6e66 7461 626c 6573 5f64 6973 6162 6c65  nftables_disable
│ │ │ +0010f6e0: 640a 0a2d 206e 616d 653a 2056 6572 6966  d..- name: Verif
│ │ │ +0010f6f0: 7920 6e66 7461 626c 6573 2053 6572 7669  y nftables Servi
│ │ │ +0010f700: 6365 2069 7320 4469 7361 626c 6564 202d  ce is Disabled -
│ │ │ +0010f710: 2044 6973 6162 6c65 2053 6f63 6b65 7420   Disable Socket 
│ │ │ +0010f720: 6e66 7461 626c 6573 0a20 2061 6e73 6962  nftables.  ansib
│ │ │ +0010f730: 6c65 2e62 7569 6c74 696e 2e73 7973 7465  le.builtin.syste
│ │ │ +0010f740: 6d64 3a0a 2020 2020 6e61 6d65 3a20 6e66  md:.    name: nf
│ │ │ +0010f750: 7461 626c 6573 2e73 6f63 6b65 740a 2020  tables.socket.  
│ │ │ +0010f760: 2020 656e 6162 6c65 643a 2066 616c 7365    enabled: false
│ │ │ +0010f770: 0a20 2020 2073 7461 7465 3a20 7374 6f70  .    state: stop
│ │ │ +0010f780: 7065 640a 2020 2020 6d61 736b 6564 3a20  ped.    masked: 
│ │ │ +0010f790: 7472 7565 0a20 2077 6865 6e3a 0a20 202d  true.  when:.  -
│ │ │ +0010f7a0: 2028 2022 6669 7265 7761 6c6c 6422 2069   ( "firewalld" i
│ │ │ +0010f7b0: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +0010f7c0: 7061 636b 6167 6573 2061 6e64 2022 6e66  packages and "nf
│ │ │ +0010f7d0: 7461 626c 6573 2220 696e 2061 6e73 6962  tables" in ansib
│ │ │ +0010f7e0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +0010f7f0: 730a 2020 2020 616e 6420 226c 696e 7578  s.    and "linux
│ │ │ +0010f800: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ +0010f810: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +0010f820: 2029 0a20 202d 2073 6f63 6b65 745f 6669   ).  - socket_fi
│ │ │ +0010f830: 6c65 5f65 7869 7374 732e 7374 646f 7574  le_exists.stdout
│ │ │ +0010f840: 5f6c 696e 6573 2069 7320 7365 6172 6368  _lines is search
│ │ │ +0010f850: 2822 6e66 7461 626c 6573 2e73 6f63 6b65  ("nftables.socke
│ │ │ +0010f860: 7422 2c20 6d75 6c74 696c 696e 653d 5472  t", multiline=Tr
│ │ │ +0010f870: 7565 290a 2020 7461 6773 3a0a 2020 2d20  ue).  tags:.  - 
│ │ │ +0010f880: 5043 492d 4453 5376 342d 312e 320a 2020  PCI-DSSv4-1.2.  
│ │ │ +0010f890: 2d20 5043 492d 4453 5376 342d 312e 322e  - PCI-DSSv4-1.2.
│ │ │ +0010f8a0: 310a 2020 2d20 6469 7361 626c 655f 7374  1.  - disable_st
│ │ │ +0010f8b0: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +0010f8c0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +0010f8d0: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +0010f8e0: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ +0010f8f0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +0010f900: 6565 6465 640a 2020 2d20 7365 7276 6963  eeded.  - servic
│ │ │ +0010f910: 655f 6e66 7461 626c 6573 5f64 6973 6162  e_nftables_disab
│ │ │ +0010f920: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265  led.
Remediati │ │ │ +0010f9e0: 6f6e 204b 7562 6572 6e65 7465 7320 736e on Kubernetes sn │ │ │ +0010f9f0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low
Disru │ │ │ +0010eea0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +0010eeb0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +0010eef0: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +0010ef00: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
low< │ │ │ +0010faa0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +0010fad0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +0010fae0: 7464 3e74 7275 653c 2f74 643e 3c2f 7472 td>true
a
│ │ │ +0010fb30: 7069 5665 7273 696f 6e3a 206d 6163 6869  piVersion: machi
│ │ │ +0010fb40: 6e65 636f 6e66 6967 7572 6174 696f 6e2e  neconfiguration.
│ │ │ +0010fb50: 6f70 656e 7368 6966 742e 696f 2f76 310a  openshift.io/v1.
│ │ │ +0010fb60: 6b69 6e64 3a20 4d61 6368 696e 6543 6f6e  kind: MachineCon
│ │ │ +0010fb70: 6669 670a 7370 6563 3a0a 2020 636f 6e66  fig.spec:.  conf
│ │ │ +0010fb80: 6967 3a0a 2020 2020 6967 6e69 7469 6f6e  ig:.    ignition
│ │ │ +0010fb90: 3a0a 2020 2020 2020 7665 7273 696f 6e3a  :.      version:
│ │ │ +0010fba0: 2033 2e31 2e30 0a20 2020 2073 7973 7465   3.1.0.    syste
│ │ │ +0010fbb0: 6d64 3a0a 2020 2020 2020 756e 6974 733a  md:.      units:
│ │ │ +0010fbc0: 0a20 2020 2020 202d 206e 616d 653a 206e  .      - name: n
│ │ │ +0010fbd0: 6674 6162 6c65 732e 7365 7276 6963 650a  ftables.service.
│ │ │ +0010fbe0: 2020 2020 2020 2020 656e 6162 6c65 643a          enabled:
│ │ │ +0010fbf0: 2066 616c 7365 0a20 2020 2020 2020 206d   false.        m
│ │ │ +0010fc00: 6173 6b3a 2074 7275 650a 2020 2020 2020  ask: true.      
│ │ │ +0010fc10: 2d20 6e61 6d65 3a20 6e66 7461 626c 6573  - name: nftables
│ │ │ +0010fc20: 2e73 6f63 6b65 740a 2020 2020 2020 2020  .socket.        
│ │ │ +0010fc30: 656e 6162 6c65 643a 2066 616c 7365 0a20  enabled: false. 
│ │ │ +0010fc40: 2020 2020 2020 206d 6173 6b3a 2074 7275         mask: tru
│ │ │ +0010fc50: 650a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  e.
< │ │ │ +0010fc60: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +0010fd10: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +0010fd20: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +0010fda0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ +0010fe30: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
Co │ │ │ +0010fa80: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +0010fab0: 6e3a 3c2f 7468 3e3c 7464 3e6d 6564 6975 n:mediu │ │ │ +0010fac0: 6d3c 2f74 643e 3c2f 7472 3e3c 7472 3e3c m
Strateg │ │ │ +0010fb00: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +0010fb10: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexi │ │ │ +0010fdb0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +0010fdc0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ +0010fe00: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +0010fe10: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
│ │ │ +0010fe50: 3c63 6f64 653e 696e 636c 7564 6520 6469  include di
│ │ │ +0010fe60: 7361 626c 655f 6e66 7461 626c 6573 0a0a  sable_nftables..
│ │ │ +0010fe70: 636c 6173 7320 6469 7361 626c 655f 6e66  class disable_nf
│ │ │ +0010fe80: 7461 626c 6573 207b 0a20 2073 6572 7669  tables {.  servi
│ │ │ +0010fe90: 6365 207b 276e 6674 6162 6c65 7327 3a0a  ce {'nftables':.
│ │ │ +0010fea0: 2020 2020 656e 6162 6c65 203d 2667 743b      enable =>
│ │ │ +0010feb0: 2066 616c 7365 2c0a 2020 2020 656e 7375   false,.    ensu
│ │ │ +0010fec0: 7265 203d 2667 743b 2027 7374 6f70 7065  re => 'stoppe
│ │ │ +0010fed0: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Rem │ │ │ +0010ff90: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild │ │ │ +0010ffa0: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp │ │ │ +0010ffb0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[cu
│ │ │ +00110000: 7374 6f6d 697a 6174 696f 6e73 2e73 6572  stomizations.ser
│ │ │ +00110010: 7669 6365 735d 0a6d 6173 6b65 6420 3d20  vices].masked = 
│ │ │ +00110020: 5b22 6e66 7461 626c 6573 225d 0a3c 2f63  ["nftables"].
│ │ │ 00110040: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Remediati │ │ │ -00118f70: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep │ │ │ -00118f80: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ... │ │ │ -00118f90: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ -00118fd0: 3c63 6f64 653e 0a5b 5b70 6163 6b61 6765  .[[package
│ │ │ -00118fe0: 735d 5d0a 6e61 6d65 203d 2022 7566 7722  s]].name = "ufw"
│ │ │ -00118ff0: 0a76 6572 7369 6f6e 203d 2022 2a22 0a3c  .version = "*".<
│ │ │ -00119000: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ -001190c0: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ -001190d0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ -00119160: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -00119180: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ -001191a0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ -001191d0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -001191e0: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ -001191f0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include insta
│ │ │ -00119210: 6c6c 5f75 6677 0a0a 636c 6173 7320 696e  ll_ufw..class in
│ │ │ -00119220: 7374 616c 6c5f 7566 7720 7b0a 2020 7061  stall_ufw {.  pa
│ │ │ -00119230: 636b 6167 6520 7b20 2775 6677 273a 0a20  ckage { 'ufw':. 
│ │ │ -00119240: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ -00119250: 2769 6e73 7461 6c6c 6564 272c 0a20 207d  'installed',.  }
│ │ │ -00119260: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ -00119270: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ -00119320: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ -00119330: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -00119370: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -001193e0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -00119400: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -00119430: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -00119450: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -001193c0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -001193d0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -00119410: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -00119420: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
- name: │ │ │ -00119470: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ -00119480: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ -00119490: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ -001194a0: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ -001194b0: 6773 3a0a 2020 2d20 4449 5341 2d53 5449 gs:. - DISA-STI │ │ │ -001194c0: 472d 5542 5455 2d32 302d 3031 3034 3333 G-UBTU-20-010433 │ │ │ -001194d0: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra │ │ │ -001194e0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com │ │ │ -001194f0: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_ │ │ │ -00119500: 6469 7372 7570 7469 6f6e 0a20 202d 206d disruption. - m │ │ │ -00119510: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity. │ │ │ -00119520: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee │ │ │ -00119530: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_ │ │ │ -00119540: 7566 775f 696e 7374 616c 6c65 640a 0a2d ufw_installed..- │ │ │ -00119550: 206e 616d 653a 2045 6e73 7572 6520 7566 name: Ensure uf │ │ │ -00119560: 7720 6973 2069 6e73 7461 6c6c 6564 0a20 w is installed. │ │ │ -00119570: 2070 6163 6b61 6765 3a0a 2020 2020 6e61 package:. na │ │ │ -00119580: 6d65 3a20 7566 770a 2020 2020 7374 6174 me: ufw. stat │ │ │ -00119590: 653a 2070 7265 7365 6e74 0a20 2077 6865 e: present. whe │ │ │ -001195a0: 6e3a 2027 226c 696e 7578 2d62 6173 6522 n: '"linux-base" │ │ │ -001195b0: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact │ │ │ -001195c0: 732e 7061 636b 6167 6573 270a 2020 7461 s.packages'. ta │ │ │ -001195d0: 6773 3a0a 2020 2d20 4449 5341 2d53 5449 gs:. - DISA-STI │ │ │ -001195e0: 472d 5542 5455 2d32 302d 3031 3034 3333 G-UBTU-20-010433 │ │ │ -001195f0: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra │ │ │ -00119600: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com │ │ │ -00119610: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_ │ │ │ -00119620: 6469 7372 7570 7469 6f6e 0a20 202d 206d disruption. - m │ │ │ -00119630: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity. │ │ │ -00119640: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee │ │ │ -00119650: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_ │ │ │ -00119660: 7566 775f 696e 7374 616c 6c65 640a 3c2f ufw_installed.
│ │ │ +00119030: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +00119050: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +00119080: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +00119010: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +00119020: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +00119040: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +00119060: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +00119070: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

- name: │ │ │ +001190c0: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack │ │ │ +001190d0: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack │ │ │ +001190e0: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m │ │ │ +001190f0: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t │ │ │ +00119100: 6167 733a 0a20 202d 2044 4953 412d 5354 ags:. - DISA-ST │ │ │ +00119110: 4947 2d55 4254 552d 3230 2d30 3130 3433 IG-UBTU-20-01043 │ │ │ +00119120: 330a 2020 2d20 656e 6162 6c65 5f73 7472 3. - enable_str │ │ │ +00119130: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co │ │ │ +00119140: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low │ │ │ +00119150: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. - │ │ │ +00119160: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity. │ │ │ +00119170: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ +00119180: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package │ │ │ +00119190: 5f75 6677 5f69 6e73 7461 6c6c 6564 0a0a _ufw_installed.. │ │ │ +001191a0: 2d20 6e61 6d65 3a20 456e 7375 7265 2075 - name: Ensure u │ │ │ +001191b0: 6677 2069 7320 696e 7374 616c 6c65 640a fw is installed. │ │ │ +001191c0: 2020 7061 636b 6167 653a 0a20 2020 206e package:. n │ │ │ +001191d0: 616d 653a 2075 6677 0a20 2020 2073 7461 ame: ufw. sta │ │ │ +001191e0: 7465 3a20 7072 6573 656e 740a 2020 7768 te: present. wh │ │ │ +001191f0: 656e 3a20 2722 6c69 6e75 782d 6261 7365 en: '"linux-base │ │ │ +00119200: 2220 696e 2061 6e73 6962 6c65 5f66 6163 " in ansible_fac │ │ │ +00119210: 7473 2e70 6163 6b61 6765 7327 0a20 2074 ts.packages'. t │ │ │ +00119220: 6167 733a 0a20 202d 2044 4953 412d 5354 ags:. - DISA-ST │ │ │ +00119230: 4947 2d55 4254 552d 3230 2d30 3130 3433 IG-UBTU-20-01043 │ │ │ +00119240: 330a 2020 2d20 656e 6162 6c65 5f73 7472 3. - enable_str │ │ │ +00119250: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co │ │ │ +00119260: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low │ │ │ +00119270: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. - │ │ │ +00119280: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity. │ │ │ +00119290: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ +001192a0: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package │ │ │ +001192b0: 5f75 6677 5f69 6e73 7461 6c6c 6564 0a3c _ufw_installed.< │ │ │ +001192c0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>Remediation Pu │ │ │ +00119380: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ +00119390: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61

Complexity: │ │ │ +00119420: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +00119440: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +00119460: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +00119490: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +001194a0: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ +001194b0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include insta
│ │ │ +001194d0: 6c6c 5f75 6677 0a0a 636c 6173 7320 696e  ll_ufw..class in
│ │ │ +001194e0: 7374 616c 6c5f 7566 7720 7b0a 2020 7061  stall_ufw {.  pa
│ │ │ +001194f0: 636b 6167 6520 7b20 2775 6677 273a 0a20  ckage { 'ufw':. 
│ │ │ +00119500: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ +00119510: 2769 6e73 7461 6c6c 6564 272c 0a20 207d  'installed',.  }
│ │ │ +00119520: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ +00119530: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ +001195e0: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr │ │ │ +001195f0: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...< │ │ │ +00119600: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
<
│ │ │ +00119640: 636f 6465 3e0a 5b5b 7061 636b 6167 6573  code>.[[packages
│ │ │ +00119650: 5d5d 0a6e 616d 6520 3d20 2275 6677 220a  ]].name = "ufw".
│ │ │ +00119660: 7665 7273 696f 6e20 3d20 222a 220a 3c2f  version = "*".
Rem │ │ │ -0011a160: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ -0011a170: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -0011a180: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ -0011a210: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
i
│ │ │ -0011a2b0: 6e63 6c75 6465 2072 656d 6f76 655f 7566  nclude remove_uf
│ │ │ -0011a2c0: 770a 0a63 6c61 7373 2072 656d 6f76 655f  w..class remove_
│ │ │ -0011a2d0: 7566 7720 7b0a 2020 7061 636b 6167 6520  ufw {.  package 
│ │ │ -0011a2e0: 7b20 2775 6677 273a 0a20 2020 2065 6e73  { 'ufw':.    ens
│ │ │ -0011a2f0: 7572 6520 3d26 6774 3b20 2770 7572 6765  ure => 'purge
│ │ │ -0011a300: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Rem │ │ │ -0011a3c0: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ -0011a3d0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -0011a3e0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
│ │ │ -0011a200: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -0011a230: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -0011a240: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -0011a280: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ -0011a290: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ -0011a4b0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -0011a4c0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -0011a510: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ -0011a520: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ -0011a530: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ -0011a540: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ -0011a550: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ -0011a560: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ -0011a570: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -0011a580: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -0011a590: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ -0011a5a0: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ -0011a5b0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -0011a5c0: 2020 2d20 7061 636b 6167 655f 7566 775f    - package_ufw_
│ │ │ -0011a5d0: 7265 6d6f 7665 640a 0a2d 206e 616d 653a  removed..- name:
│ │ │ -0011a5e0: 2045 6e73 7572 6520 7566 7720 6973 2072   Ensure ufw is r
│ │ │ -0011a5f0: 656d 6f76 6564 0a20 2070 6163 6b61 6765  emoved.  package
│ │ │ -0011a600: 3a0a 2020 2020 6e61 6d65 3a20 7566 770a  :.    name: ufw.
│ │ │ -0011a610: 2020 2020 7374 6174 653a 2061 6273 656e      state: absen
│ │ │ -0011a620: 740a 2020 7768 656e 3a20 2722 6c69 6e75  t.  when: '"linu
│ │ │ -0011a630: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ -0011a640: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -0011a650: 7327 0a20 2074 6167 733a 0a20 202d 2064  s'.  tags:.  - d
│ │ │ -0011a660: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ -0011a670: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -0011a680: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -0011a690: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -0011a6a0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -0011a6b0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -0011a6c0: 202d 2070 6163 6b61 6765 5f75 6677 5f72   - package_ufw_r
│ │ │ -0011a6d0: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f  emoved.
│ │ │ +0011a180: 3c62 723e 3c64 6976 2063 6c61 7373 3d22  
Complexity:low
Disrup │ │ │ -0011a490: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -0011a4a0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -0011a4e0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -0011a4f0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
< │ │ │ +0011a250: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +0011a260: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +0011a2b0: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ +0011a2c0: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ +0011a2d0: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ +0011a2e0: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ +0011a2f0: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ +0011a300: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ +0011a310: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +0011a320: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +0011a330: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +0011a340: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +0011a350: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +0011a360: 2020 2d20 7061 636b 6167 655f 7566 775f    - package_ufw_
│ │ │ +0011a370: 7265 6d6f 7665 640a 0a2d 206e 616d 653a  removed..- name:
│ │ │ +0011a380: 2045 6e73 7572 6520 7566 7720 6973 2072   Ensure ufw is r
│ │ │ +0011a390: 656d 6f76 6564 0a20 2070 6163 6b61 6765  emoved.  package
│ │ │ +0011a3a0: 3a0a 2020 2020 6e61 6d65 3a20 7566 770a  :.    name: ufw.
│ │ │ +0011a3b0: 2020 2020 7374 6174 653a 2061 6273 656e      state: absen
│ │ │ +0011a3c0: 740a 2020 7768 656e 3a20 2722 6c69 6e75  t.  when: '"linu
│ │ │ +0011a3d0: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ +0011a3e0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +0011a3f0: 7327 0a20 2074 6167 733a 0a20 202d 2064  s'.  tags:.  - d
│ │ │ +0011a400: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ +0011a410: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +0011a420: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +0011a430: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ +0011a440: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +0011a450: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +0011a460: 202d 2070 6163 6b61 6765 5f75 6677 5f72   - package_ufw_r
│ │ │ +0011a470: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f  emoved.Remedi
│ │ │ +0011a530: 6174 696f 6e20 5075 7070 6574 2073 6e69  ation Puppet sni
│ │ │ +0011a540: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e  ppet ...
│ │ │ +0011a550: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Complexity:low
Disrup │ │ │ +0011a230: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +0011a240: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +0011a280: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +0011a290: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Com │ │ │ +0011a5d0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +0011a600: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +0011a620: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +0011a630: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +0011a650: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +0011a660: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +0011a680: 7564 6520 7265 6d6f 7665 5f75 6677 0a0a  ude remove_ufw..
│ │ │ +0011a690: 636c 6173 7320 7265 6d6f 7665 5f75 6677  class remove_ufw
│ │ │ +0011a6a0: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ +0011a6b0: 7566 7727 3a0a 2020 2020 656e 7375 7265  ufw':.    ensure
│ │ │ +0011a6c0: 203d 2667 743b 2027 7075 7267 6564 272c   => 'purged',
│ │ │ +0011a6d0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.
Rem │ │ │ -0011b490: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild │ │ │ -0011b4a0: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp │ │ │ -0011b4b0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[cu
│ │ │ -0011b500: 7374 6f6d 697a 6174 696f 6e73 2e73 6572  stomizations.ser
│ │ │ -0011b510: 7669 6365 735d 0a65 6e61 626c 6564 203d  vices].enabled =
│ │ │ -0011b520: 205b 2275 6677 225d 0a3c 2f63 6f64 653e   ["ufw"].
│ │ │ -0011b530: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ -0011b5e0: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -0011b5f0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -0011b690: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -0011b6a0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -0011b6f0: 3c74 723e 3c74 683e 5374 7261 7465 6779
inc
│ │ │ -0011b730: 6c75 6465 2065 6e61 626c 655f 7566 770a  lude enable_ufw.
│ │ │ -0011b740: 0a63 6c61 7373 2065 6e61 626c 655f 7566  .class enable_uf
│ │ │ -0011b750: 7720 7b0a 2020 7365 7276 6963 6520 7b27  w {.  service {'
│ │ │ -0011b760: 7566 7727 3a0a 2020 2020 656e 6162 6c65  ufw':.    enable
│ │ │ -0011b770: 203d 2667 743b 2074 7275 652c 0a20 2020   => true,.   
│ │ │ -0011b780: 2065 6e73 7572 6520 3d26 6774 3b20 2772   ensure => 'r
│ │ │ -0011b790: 756e 6e69 6e67 272c 0a20 207d 0a7d 0a3c  unning',.  }.}.<
│ │ │ -0011b7a0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation An │ │ │ -0011b860: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -0011b870: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ -0011b930: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -0011b940: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
C │ │ │ -0011b680: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -0011b6b0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -0011b6c0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -0011b700: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ -0011b710: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complexity │ │ │ -0011b900: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ -0011b920: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ -0011b950: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ -0011b970: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
- name: Gath
│ │ │ -0011b9b0: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ -0011b9c0: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ -0011b9d0: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ -0011b9e0: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ -0011b9f0: 2020 2d20 4449 5341 2d53 5449 472d 5542    - DISA-STIG-UB
│ │ │ -0011ba00: 5455 2d32 302d 3031 3034 3334 0a20 202d  TU-20-010434.  -
│ │ │ -0011ba10: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ -0011ba20: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -0011ba30: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -0011ba40: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ -0011ba50: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ -0011ba60: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -0011ba70: 2020 2d20 7365 7276 6963 655f 7566 775f    - service_ufw_
│ │ │ -0011ba80: 656e 6162 6c65 640a 0a2d 206e 616d 653a  enabled..- name:
│ │ │ -0011ba90: 2056 6572 6966 7920 7566 7720 456e 6162   Verify ufw Enab
│ │ │ -0011baa0: 6c65 6420 2d20 456e 6162 6c65 2073 6572  led - Enable ser
│ │ │ -0011bab0: 7669 6365 2075 6677 0a20 2062 6c6f 636b  vice ufw.  block
│ │ │ -0011bac0: 3a0a 0a20 202d 206e 616d 653a 2047 6174  :..  - name: Gat
│ │ │ -0011bad0: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ -0011bae0: 6661 6374 730a 2020 2020 7061 636b 6167  facts.    packag
│ │ │ -0011baf0: 655f 6661 6374 733a 0a20 2020 2020 206d  e_facts:.      m
│ │ │ -0011bb00: 616e 6167 6572 3a20 6175 746f 0a0a 2020  anager: auto..  
│ │ │ -0011bb10: 2d20 6e61 6d65 3a20 5665 7269 6679 2075  - name: Verify u
│ │ │ -0011bb20: 6677 2045 6e61 626c 6564 202d 2045 6e61  fw Enabled - Ena
│ │ │ -0011bb30: 626c 6520 5365 7276 6963 6520 7566 770a  ble Service ufw.
│ │ │ -0011bb40: 2020 2020 616e 7369 626c 652e 6275 696c      ansible.buil
│ │ │ -0011bb50: 7469 6e2e 7379 7374 656d 643a 0a20 2020  tin.systemd:.   
│ │ │ -0011bb60: 2020 206e 616d 653a 2075 6677 0a20 2020     name: ufw.   
│ │ │ -0011bb70: 2020 2065 6e61 626c 6564 3a20 7472 7565     enabled: true
│ │ │ -0011bb80: 0a20 2020 2020 2073 7461 7465 3a20 7374  .      state: st
│ │ │ -0011bb90: 6172 7465 640a 2020 2020 2020 6d61 736b  arted.      mask
│ │ │ -0011bba0: 6564 3a20 6661 6c73 650a 2020 2020 7768  ed: false.    wh
│ │ │ -0011bbb0: 656e 3a0a 2020 2020 2d20 2722 7566 7722  en:.    - '"ufw"
│ │ │ -0011bbc0: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ -0011bbd0: 732e 7061 636b 6167 6573 270a 2020 7768  s.packages'.  wh
│ │ │ -0011bbe0: 656e 3a0a 2020 2d20 2722 6c69 6e75 782d  en:.  - '"linux-
│ │ │ -0011bbf0: 6261 7365 2220 696e 2061 6e73 6962 6c65  base" in ansible
│ │ │ -0011bc00: 5f66 6163 7473 2e70 6163 6b61 6765 7327  _facts.packages'
│ │ │ -0011bc10: 0a20 202d 2028 2022 7566 7722 2069 6e20  .  - ( "ufw" in 
│ │ │ -0011bc20: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -0011bc30: 636b 6167 6573 2061 6e64 2022 6c69 6e75  ckages and "linu
│ │ │ -0011bc40: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ -0011bc50: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -0011bc60: 7320 290a 2020 7461 6773 3a0a 2020 2d20  s ).  tags:.  - 
│ │ │ -0011bc70: 4449 5341 2d53 5449 472d 5542 5455 2d32  DISA-STIG-UBTU-2
│ │ │ -0011bc80: 302d 3031 3034 3334 0a20 202d 2065 6e61  0-010434.  - ena
│ │ │ -0011bc90: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -0011bca0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -0011bcb0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -0011bcc0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -0011bcd0: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -0011bce0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -0011bcf0: 7365 7276 6963 655f 7566 775f 656e 6162  service_ufw_enab
│ │ │ -0011bd00: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265  led.
│ │ │ +0011b4b0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ +0011b580: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +0011b590: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
-
│ │ │ +0011b5e0: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ +0011b5f0: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ +0011b600: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ +0011b610: 0a20 2020 206d 616e 6167 6572 3a20 6175  .    manager: au
│ │ │ +0011b620: 746f 0a20 2074 6167 733a 0a20 202d 2044  to.  tags:.  - D
│ │ │ +0011b630: 4953 412d 5354 4947 2d55 4254 552d 3230  ISA-STIG-UBTU-20
│ │ │ +0011b640: 2d30 3130 3433 340a 2020 2d20 656e 6162  -010434.  - enab
│ │ │ +0011b650: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +0011b660: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +0011b670: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +0011b680: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ +0011b690: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +0011b6a0: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ +0011b6b0: 6572 7669 6365 5f75 6677 5f65 6e61 626c  ervice_ufw_enabl
│ │ │ +0011b6c0: 6564 0a0a 2d20 6e61 6d65 3a20 5665 7269  ed..- name: Veri
│ │ │ +0011b6d0: 6679 2075 6677 2045 6e61 626c 6564 202d  fy ufw Enabled -
│ │ │ +0011b6e0: 2045 6e61 626c 6520 7365 7276 6963 6520   Enable service 
│ │ │ +0011b6f0: 7566 770a 2020 626c 6f63 6b3a 0a0a 2020  ufw.  block:..  
│ │ │ +0011b700: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ +0011b710: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ +0011b720: 0a20 2020 2070 6163 6b61 6765 5f66 6163  .    package_fac
│ │ │ +0011b730: 7473 3a0a 2020 2020 2020 6d61 6e61 6765  ts:.      manage
│ │ │ +0011b740: 723a 2061 7574 6f0a 0a20 202d 206e 616d  r: auto..  - nam
│ │ │ +0011b750: 653a 2056 6572 6966 7920 7566 7720 456e  e: Verify ufw En
│ │ │ +0011b760: 6162 6c65 6420 2d20 456e 6162 6c65 2053  abled - Enable S
│ │ │ +0011b770: 6572 7669 6365 2075 6677 0a20 2020 2061  ervice ufw.    a
│ │ │ +0011b780: 6e73 6962 6c65 2e62 7569 6c74 696e 2e73  nsible.builtin.s
│ │ │ +0011b790: 7973 7465 6d64 3a0a 2020 2020 2020 6e61  ystemd:.      na
│ │ │ +0011b7a0: 6d65 3a20 7566 770a 2020 2020 2020 656e  me: ufw.      en
│ │ │ +0011b7b0: 6162 6c65 643a 2074 7275 650a 2020 2020  abled: true.    
│ │ │ +0011b7c0: 2020 7374 6174 653a 2073 7461 7274 6564    state: started
│ │ │ +0011b7d0: 0a20 2020 2020 206d 6173 6b65 643a 2066  .      masked: f
│ │ │ +0011b7e0: 616c 7365 0a20 2020 2077 6865 6e3a 0a20  alse.    when:. 
│ │ │ +0011b7f0: 2020 202d 2027 2275 6677 2220 696e 2061     - '"ufw" in a
│ │ │ +0011b800: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +0011b810: 6b61 6765 7327 0a20 2077 6865 6e3a 0a20  kages'.  when:. 
│ │ │ +0011b820: 202d 2027 226c 696e 7578 2d62 6173 6522   - '"linux-base"
│ │ │ +0011b830: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ +0011b840: 732e 7061 636b 6167 6573 270a 2020 2d20  s.packages'.  - 
│ │ │ +0011b850: 2820 2275 6677 2220 696e 2061 6e73 6962  ( "ufw" in ansib
│ │ │ +0011b860: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +0011b870: 7320 616e 6420 226c 696e 7578 2d62 6173  s and "linux-bas
│ │ │ +0011b880: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ +0011b890: 6374 732e 7061 636b 6167 6573 2029 0a20  cts.packages ). 
│ │ │ +0011b8a0: 2074 6167 733a 0a20 202d 2044 4953 412d   tags:.  - DISA-
│ │ │ +0011b8b0: 5354 4947 2d55 4254 552d 3230 2d30 3130  STIG-UBTU-20-010
│ │ │ +0011b8c0: 3433 340a 2020 2d20 656e 6162 6c65 5f73  434.  - enable_s
│ │ │ +0011b8d0: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ +0011b8e0: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ +0011b8f0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ +0011b900: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ +0011b910: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ +0011b920: 6e65 6564 6564 0a20 202d 2073 6572 7669  needed.  - servi
│ │ │ +0011b930: 6365 5f75 6677 5f65 6e61 626c 6564 0a3c  ce_ufw_enabled.<
│ │ │ +0011b940: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ +0011ba00: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ +0011ba10: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low< │ │ │ +0011bae0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr> │ │ │ +0011bb30: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:low
Disrup │ │ │ +0011b560: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +0011b570: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +0011b5b0: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +0011b5c0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexity: │ │ │ +0011baa0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ +0011bac0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ +0011bb10: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +0011bb20: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
include enabl
│ │ │ +0011bb50: 655f 7566 770a 0a63 6c61 7373 2065 6e61  e_ufw..class ena
│ │ │ +0011bb60: 626c 655f 7566 7720 7b0a 2020 7365 7276  ble_ufw {.  serv
│ │ │ +0011bb70: 6963 6520 7b27 7566 7727 3a0a 2020 2020  ice {'ufw':.    
│ │ │ +0011bb80: 656e 6162 6c65 203d 2667 743b 2074 7275  enable => tru
│ │ │ +0011bb90: 652c 0a20 2020 2065 6e73 7572 6520 3d26  e,.    ensure =&
│ │ │ +0011bba0: 6774 3b20 2772 756e 6e69 6e67 272c 0a20  gt; 'running',. 
│ │ │ +0011bbb0: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.
Remediat │ │ │ +0011bc70: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue │ │ │ +0011bc80: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet .. │ │ │ +0011bc90: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
.[customi
│ │ │ +0011bce0: 7a61 7469 6f6e 732e 7365 7276 6963 6573  zations.services
│ │ │ +0011bcf0: 5d0a 656e 6162 6c65 6420 3d20 5b22 7566  ].enabled = ["uf
│ │ │ +0011bd00: 7722 5d0a 3c2f 636f 6465 3e3c 2f70 7265  w"].
Remediation │ │ │ -0014f150: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ -0014f160: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
.[customizat
│ │ │ -0014f1c0: 696f 6e73 2e73 6572 7669 6365 735d 0a6d  ions.services].m
│ │ │ -0014f1d0: 6173 6b65 6420 3d20 5b22 6175 746f 6673  asked = ["autofs
│ │ │ -0014f1e0: 225d 0a3c 2f63 6f64 653e 3c2f 7072 653e  "].
│ │ │ -0014f1f0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ -0014f2a0: 6e20 4b75 6265 726e 6574 6573 2073 6e69 n Kubernetes sni │ │ │ -0014f2b0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -0014f2c0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Reboot:true │ │ │ -0014f3b0: 3c74 723e 3c74 683e 5374 7261 7465 6779
ap
│ │ │ -0014f3f0: 6956 6572 7369 6f6e 3a20 6d61 6368 696e  iVersion: machin
│ │ │ -0014f400: 6563 6f6e 6669 6775 7261 7469 6f6e 2e6f  econfiguration.o
│ │ │ -0014f410: 7065 6e73 6869 6674 2e69 6f2f 7631 0a6b  penshift.io/v1.k
│ │ │ -0014f420: 696e 643a 204d 6163 6869 6e65 436f 6e66  ind: MachineConf
│ │ │ -0014f430: 6967 0a73 7065 633a 0a20 2063 6f6e 6669  ig.spec:.  confi
│ │ │ -0014f440: 673a 0a20 2020 2069 676e 6974 696f 6e3a  g:.    ignition:
│ │ │ -0014f450: 0a20 2020 2020 2076 6572 7369 6f6e 3a20  .      version: 
│ │ │ -0014f460: 332e 312e 300a 2020 2020 7379 7374 656d  3.1.0.    system
│ │ │ -0014f470: 643a 0a20 2020 2020 2075 6e69 7473 3a0a  d:.      units:.
│ │ │ -0014f480: 2020 2020 2020 2d20 6e61 6d65 3a20 6175        - name: au
│ │ │ -0014f490: 746f 6673 2e73 6572 7669 6365 0a20 2020  tofs.service.   
│ │ │ -0014f4a0: 2020 2020 2065 6e61 626c 6564 3a20 6661       enabled: fa
│ │ │ -0014f4b0: 6c73 650a 2020 2020 2020 2020 6d61 736b  lse.        mask
│ │ │ -0014f4c0: 3a20 7472 7565 0a20 2020 2020 202d 206e  : true.      - n
│ │ │ -0014f4d0: 616d 653a 2061 7574 6f66 732e 736f 636b  ame: autofs.sock
│ │ │ -0014f4e0: 6574 0a20 2020 2020 2020 2065 6e61 626c  et.        enabl
│ │ │ -0014f4f0: 6564 3a20 6661 6c73 650a 2020 2020 2020  ed: false.      
│ │ │ -0014f500: 2020 6d61 736b 3a20 7472 7565 0a3c 2f63    mask: true.
│ │ │ -0014f520: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ -0014f5c0: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ -0014f5d0: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
Com │ │ │ -0014f340: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -0014f370: 3a3c 2f74 683e 3c74 643e 6d65 6469 756d :medium │ │ │ -0014f380: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strategy │ │ │ -0014f3c0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -0014f3d0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
< │ │ │ -0014f660: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -0014f680: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -0014f6d0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
include disable
│ │ │ -0014f720: 5f61 7574 6f66 730a 0a63 6c61 7373 2064  _autofs..class d
│ │ │ -0014f730: 6973 6162 6c65 5f61 7574 6f66 7320 7b0a  isable_autofs {.
│ │ │ -0014f740: 2020 7365 7276 6963 6520 7b27 6175 746f    service {'auto
│ │ │ -0014f750: 6673 273a 0a20 2020 2065 6e61 626c 6520  fs':.    enable 
│ │ │ -0014f760: 3d26 6774 3b20 6661 6c73 652c 0a20 2020  => false,.   
│ │ │ -0014f770: 2065 6e73 7572 6520 3d26 6774 3b20 2773   ensure => 's
│ │ │ -0014f780: 746f 7070 6564 272c 0a20 207d 0a7d 0a3c  topped',.  }.}.<
│ │ │ -0014f790: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation An │ │ │ -0014f850: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -0014f860: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ -0014f920: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -0014f930: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
low
Disr │ │ │ -0014f690: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -0014f6a0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -0014f6e0: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ -0014f6f0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complexity │ │ │ -0014f8f0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ -0014f910: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ -0014f940: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ -0014f960: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ -0014f990: 636f 6465 3e2d 206e 616d 653a 2047 6174  code>- name: Gat
│ │ │ -0014f9a0: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ -0014f9b0: 6661 6374 730a 2020 7061 636b 6167 655f  facts.  package_
│ │ │ -0014f9c0: 6661 6374 733a 0a20 2020 206d 616e 6167  facts:.    manag
│ │ │ -0014f9d0: 6572 3a20 6175 746f 0a20 2074 6167 733a  er: auto.  tags:
│ │ │ -0014f9e0: 0a20 202d 204e 4953 542d 3830 302d 3137  .  - NIST-800-17
│ │ │ -0014f9f0: 312d 332e 342e 360a 2020 2d20 4e49 5354  1-3.4.6.  - NIST
│ │ │ -0014fa00: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ -0014fa10: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -0014fa20: 434d 2d37 2861 290a 2020 2d20 4e49 5354  CM-7(a).  - NIST
│ │ │ -0014fa30: 2d38 3030 2d35 332d 434d 2d37 2862 290a  -800-53-CM-7(b).
│ │ │ -0014fa40: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -0014fa50: 4d50 2d37 0a20 202d 2064 6973 6162 6c65  MP-7.  - disable
│ │ │ -0014fa60: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ -0014fa70: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -0014fa80: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -0014fa90: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ -0014faa0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ -0014fab0: 745f 6e65 6564 6564 0a20 202d 2073 6572  t_needed.  - ser
│ │ │ -0014fac0: 7669 6365 5f61 7574 6f66 735f 6469 7361  vice_autofs_disa
│ │ │ -0014fad0: 626c 6564 0a0a 2d20 6e61 6d65 3a20 4469  bled..- name: Di
│ │ │ -0014fae0: 7361 626c 6520 7468 6520 4175 746f 6d6f  sable the Automo
│ │ │ -0014faf0: 756e 7465 7220 2d20 436f 6c6c 6563 7420  unter - Collect 
│ │ │ -0014fb00: 7379 7374 656d 6420 5365 7276 6963 6573  systemd Services
│ │ │ -0014fb10: 2050 7265 7365 6e74 2069 6e20 7468 6520   Present in the 
│ │ │ -0014fb20: 5379 7374 656d 0a20 2061 6e73 6962 6c65  System.  ansible
│ │ │ -0014fb30: 2e62 7569 6c74 696e 2e63 6f6d 6d61 6e64  .builtin.command
│ │ │ -0014fb40: 3a20 7379 7374 656d 6374 6c20 2d71 206c  : systemctl -q l
│ │ │ -0014fb50: 6973 742d 756e 6974 2d66 696c 6573 202d  ist-unit-files -
│ │ │ -0014fb60: 2d74 7970 6520 7365 7276 6963 650a 2020  -type service.  
│ │ │ -0014fb70: 7265 6769 7374 6572 3a20 7365 7276 6963  register: servic
│ │ │ -0014fb80: 655f 6578 6973 7473 0a20 2063 6861 6e67  e_exists.  chang
│ │ │ -0014fb90: 6564 5f77 6865 6e3a 2066 616c 7365 0a20  ed_when: false. 
│ │ │ -0014fba0: 2066 6169 6c65 645f 7768 656e 3a20 7365   failed_when: se
│ │ │ -0014fbb0: 7276 6963 655f 6578 6973 7473 2e72 6320  rvice_exists.rc 
│ │ │ -0014fbc0: 6e6f 7420 696e 205b 302c 2031 5d0a 2020  not in [0, 1].  
│ │ │ -0014fbd0: 6368 6563 6b5f 6d6f 6465 3a20 6661 6c73  check_mode: fals
│ │ │ -0014fbe0: 650a 2020 7768 656e 3a20 2820 2261 7574  e.  when: ( "aut
│ │ │ -0014fbf0: 6f66 7322 2069 6e20 616e 7369 626c 655f  ofs" in ansible_
│ │ │ -0014fc00: 6661 6374 732e 7061 636b 6167 6573 2061  facts.packages a
│ │ │ -0014fc10: 6e64 2022 6c69 6e75 782d 6261 7365 2220  nd "linux-base" 
│ │ │ -0014fc20: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -0014fc30: 2e70 6163 6b61 6765 730a 2020 2020 290a  .packages.    ).
│ │ │ -0014fc40: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ -0014fc50: 2d38 3030 2d31 3731 2d33 2e34 2e36 0a20  -800-171-3.4.6. 
│ │ │ -0014fc60: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -0014fc70: 4d2d 3628 6129 0a20 202d 204e 4953 542d  M-6(a).  - NIST-
│ │ │ -0014fc80: 3830 302d 3533 2d43 4d2d 3728 6129 0a20  800-53-CM-7(a). 
│ │ │ -0014fc90: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -0014fca0: 4d2d 3728 6229 0a20 202d 204e 4953 542d  M-7(b).  - NIST-
│ │ │ -0014fcb0: 3830 302d 3533 2d4d 502d 370a 2020 2d20  800-53-MP-7.  - 
│ │ │ -0014fcc0: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ -0014fcd0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -0014fce0: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -0014fcf0: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ -0014fd00: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ -0014fd10: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -0014fd20: 2020 2d20 7365 7276 6963 655f 6175 746f    - service_auto
│ │ │ -0014fd30: 6673 5f64 6973 6162 6c65 640a 0a2d 206e  fs_disabled..- n
│ │ │ -0014fd40: 616d 653a 2044 6973 6162 6c65 2074 6865  ame: Disable the
│ │ │ -0014fd50: 2041 7574 6f6d 6f75 6e74 6572 202d 2045   Automounter - E
│ │ │ -0014fd60: 6e73 7572 6520 6175 746f 6673 2e73 6572  nsure autofs.ser
│ │ │ -0014fd70: 7669 6365 2069 7320 4d61 736b 6564 0a20  vice is Masked. 
│ │ │ -0014fd80: 2061 6e73 6962 6c65 2e62 7569 6c74 696e   ansible.builtin
│ │ │ -0014fd90: 2e73 7973 7465 6d64 3a0a 2020 2020 6e61  .systemd:.    na
│ │ │ -0014fda0: 6d65 3a20 6175 746f 6673 2e73 6572 7669  me: autofs.servi
│ │ │ -0014fdb0: 6365 0a20 2020 2073 7461 7465 3a20 7374  ce.    state: st
│ │ │ -0014fdc0: 6f70 7065 640a 2020 2020 656e 6162 6c65  opped.    enable
│ │ │ -0014fdd0: 643a 2066 616c 7365 0a20 2020 206d 6173  d: false.    mas
│ │ │ -0014fde0: 6b65 643a 2074 7275 650a 2020 7768 656e  ked: true.  when
│ │ │ -0014fdf0: 3a0a 2020 2d20 2820 2261 7574 6f66 7322  :.  - ( "autofs"
│ │ │ -0014fe00: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ -0014fe10: 732e 7061 636b 6167 6573 2061 6e64 2022  s.packages and "
│ │ │ -0014fe20: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ -0014fe30: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ -0014fe40: 6b61 6765 730a 2020 2020 290a 2020 2d20  kages.    ).  - 
│ │ │ -0014fe50: 7365 7276 6963 655f 6578 6973 7473 2e73  service_exists.s
│ │ │ -0014fe60: 7464 6f75 745f 6c69 6e65 7320 6973 2073  tdout_lines is s
│ │ │ -0014fe70: 6561 7263 6828 2261 7574 6f66 732e 7365  earch("autofs.se
│ │ │ -0014fe80: 7276 6963 6522 2c20 6d75 6c74 696c 696e  rvice", multilin
│ │ │ -0014fe90: 653d 5472 7565 290a 2020 7461 6773 3a0a  e=True).  tags:.
│ │ │ -0014fea0: 2020 2d20 4e49 5354 2d38 3030 2d31 3731    - NIST-800-171
│ │ │ -0014feb0: 2d33 2e34 2e36 0a20 202d 204e 4953 542d  -3.4.6.  - NIST-
│ │ │ -0014fec0: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ -0014fed0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -0014fee0: 4d2d 3728 6129 0a20 202d 204e 4953 542d  M-7(a).  - NIST-
│ │ │ -0014fef0: 3830 302d 3533 2d43 4d2d 3728 6229 0a20  800-53-CM-7(b). 
│ │ │ -0014ff00: 202d 204e 4953 542d 3830 302d 3533 2d4d   - NIST-800-53-M
│ │ │ -0014ff10: 502d 370a 2020 2d20 6469 7361 626c 655f  P-7.  - disable_
│ │ │ -0014ff20: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -0014ff30: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -0014ff40: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -0014ff50: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ -0014ff60: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -0014ff70: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ -0014ff80: 6963 655f 6175 746f 6673 5f64 6973 6162  ice_autofs_disab
│ │ │ -0014ff90: 6c65 640a 0a2d 206e 616d 653a 2055 6e69  led..- name: Uni
│ │ │ -0014ffa0: 7420 536f 636b 6574 2045 7869 7374 7320  t Socket Exists 
│ │ │ -0014ffb0: 2d20 6175 746f 6673 2e73 6f63 6b65 740a  - autofs.socket.
│ │ │ -0014ffc0: 2020 616e 7369 626c 652e 6275 696c 7469    ansible.builti
│ │ │ -0014ffd0: 6e2e 636f 6d6d 616e 643a 2073 7973 7465  n.command: syste
│ │ │ -0014ffe0: 6d63 746c 202d 7120 6c69 7374 2d75 6e69  mctl -q list-uni
│ │ │ -0014fff0: 742d 6669 6c65 7320 6175 746f 6673 2e73  t-files autofs.s
│ │ │ -00150000: 6f63 6b65 740a 2020 7265 6769 7374 6572  ocket.  register
│ │ │ -00150010: 3a20 736f 636b 6574 5f66 696c 655f 6578  : socket_file_ex
│ │ │ -00150020: 6973 7473 0a20 2063 6861 6e67 6564 5f77  ists.  changed_w
│ │ │ -00150030: 6865 6e3a 2066 616c 7365 0a20 2066 6169  hen: false.  fai
│ │ │ -00150040: 6c65 645f 7768 656e 3a20 736f 636b 6574  led_when: socket
│ │ │ -00150050: 5f66 696c 655f 6578 6973 7473 2e72 6320  _file_exists.rc 
│ │ │ -00150060: 6e6f 7420 696e 205b 302c 2031 5d0a 2020  not in [0, 1].  
│ │ │ -00150070: 6368 6563 6b5f 6d6f 6465 3a20 6661 6c73  check_mode: fals
│ │ │ -00150080: 650a 2020 7768 656e 3a20 2820 2261 7574  e.  when: ( "aut
│ │ │ -00150090: 6f66 7322 2069 6e20 616e 7369 626c 655f  ofs" in ansible_
│ │ │ -001500a0: 6661 6374 732e 7061 636b 6167 6573 2061  facts.packages a
│ │ │ -001500b0: 6e64 2022 6c69 6e75 782d 6261 7365 2220  nd "linux-base" 
│ │ │ -001500c0: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -001500d0: 2e70 6163 6b61 6765 730a 2020 2020 290a  .packages.    ).
│ │ │ -001500e0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ -001500f0: 2d38 3030 2d31 3731 2d33 2e34 2e36 0a20  -800-171-3.4.6. 
│ │ │ -00150100: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -00150110: 4d2d 3628 6129 0a20 202d 204e 4953 542d  M-6(a).  - NIST-
│ │ │ -00150120: 3830 302d 3533 2d43 4d2d 3728 6129 0a20  800-53-CM-7(a). 
│ │ │ -00150130: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -00150140: 4d2d 3728 6229 0a20 202d 204e 4953 542d  M-7(b).  - NIST-
│ │ │ -00150150: 3830 302d 3533 2d4d 502d 370a 2020 2d20  800-53-MP-7.  - 
│ │ │ -00150160: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ -00150170: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -00150180: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -00150190: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ -001501a0: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ -001501b0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -001501c0: 2020 2d20 7365 7276 6963 655f 6175 746f    - service_auto
│ │ │ -001501d0: 6673 5f64 6973 6162 6c65 640a 0a2d 206e  fs_disabled..- n
│ │ │ -001501e0: 616d 653a 2044 6973 6162 6c65 2074 6865  ame: Disable the
│ │ │ -001501f0: 2041 7574 6f6d 6f75 6e74 6572 202d 2044   Automounter - D
│ │ │ -00150200: 6973 6162 6c65 2053 6f63 6b65 7420 6175  isable Socket au
│ │ │ -00150210: 746f 6673 0a20 2061 6e73 6962 6c65 2e62  tofs.  ansible.b
│ │ │ -00150220: 7569 6c74 696e 2e73 7973 7465 6d64 3a0a  uiltin.systemd:.
│ │ │ -00150230: 2020 2020 6e61 6d65 3a20 6175 746f 6673      name: autofs
│ │ │ -00150240: 2e73 6f63 6b65 740a 2020 2020 656e 6162  .socket.    enab
│ │ │ -00150250: 6c65 643a 2066 616c 7365 0a20 2020 2073  led: false.    s
│ │ │ -00150260: 7461 7465 3a20 7374 6f70 7065 640a 2020  tate: stopped.  
│ │ │ -00150270: 2020 6d61 736b 6564 3a20 7472 7565 0a20    masked: true. 
│ │ │ -00150280: 2077 6865 6e3a 0a20 202d 2028 2022 6175   when:.  - ( "au
│ │ │ -00150290: 746f 6673 2220 696e 2061 6e73 6962 6c65  tofs" in ansible
│ │ │ -001502a0: 5f66 6163 7473 2e70 6163 6b61 6765 7320  _facts.packages 
│ │ │ -001502b0: 616e 6420 226c 696e 7578 2d62 6173 6522  and "linux-base"
│ │ │ -001502c0: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ -001502d0: 732e 7061 636b 6167 6573 0a20 2020 2029  s.packages.    )
│ │ │ -001502e0: 0a20 202d 2073 6f63 6b65 745f 6669 6c65  .  - socket_file
│ │ │ -001502f0: 5f65 7869 7374 732e 7374 646f 7574 5f6c  _exists.stdout_l
│ │ │ -00150300: 696e 6573 2069 7320 7365 6172 6368 2822  ines is search("
│ │ │ -00150310: 6175 746f 6673 2e73 6f63 6b65 7422 2c20  autofs.socket", 
│ │ │ -00150320: 6d75 6c74 696c 696e 653d 5472 7565 290a  multiline=True).
│ │ │ -00150330: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ -00150340: 2d38 3030 2d31 3731 2d33 2e34 2e36 0a20  -800-171-3.4.6. 
│ │ │ -00150350: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -00150360: 4d2d 3628 6129 0a20 202d 204e 4953 542d  M-6(a).  - NIST-
│ │ │ -00150370: 3830 302d 3533 2d43 4d2d 3728 6129 0a20  800-53-CM-7(a). 
│ │ │ -00150380: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -00150390: 4d2d 3728 6229 0a20 202d 204e 4953 542d  M-7(b).  - NIST-
│ │ │ -001503a0: 3830 302d 3533 2d4d 502d 370a 2020 2d20  800-53-MP-7.  - 
│ │ │ -001503b0: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ -001503c0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -001503d0: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -001503e0: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ -001503f0: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ -00150400: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -00150410: 2020 2d20 7365 7276 6963 655f 6175 746f    - service_auto
│ │ │ -00150420: 6673 5f64 6973 6162 6c65 640a 3c2f 636f  fs_disabled.
< │ │ │ +0014f1a0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +0014f1b0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +0014f1c0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +0014f1d0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +0014f1e0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +0014f1f0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +0014f200: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +0014f240: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +0014f250: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +0014f270: 3c74 643e 6469 7361 626c 653c 2f74 643e disable │ │ │ +0014f280: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 - name: │ │ │ +0014f2a0: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ +0014f2b0: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ +0014f2c0: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ +0014f2d0: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ +0014f2e0: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800 │ │ │ +0014f2f0: 2d31 3731 2d33 2e34 2e36 0a20 202d 204e -171-3.4.6. - N │ │ │ +0014f300: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6( │ │ │ +0014f310: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800- │ │ │ +0014f320: 3533 2d43 4d2d 3728 6129 0a20 202d 204e 53-CM-7(a). - N │ │ │ +0014f330: 4953 542d 3830 302d 3533 2d43 4d2d 3728 IST-800-53-CM-7( │ │ │ +0014f340: 6229 0a20 202d 204e 4953 542d 3830 302d b). - NIST-800- │ │ │ +0014f350: 3533 2d4d 502d 370a 2020 2d20 6469 7361 53-MP-7. - disa │ │ │ +0014f360: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. - │ │ │ +0014f370: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity. │ │ │ +0014f380: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti │ │ │ +0014f390: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365 on. - medium_se │ │ │ +0014f3a0: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re │ │ │ +0014f3b0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. - │ │ │ +0014f3c0: 7365 7276 6963 655f 6175 746f 6673 5f64 service_autofs_d │ │ │ +0014f3d0: 6973 6162 6c65 640a 0a2d 206e 616d 653a isabled..- name: │ │ │ +0014f3e0: 2044 6973 6162 6c65 2074 6865 2041 7574 Disable the Aut │ │ │ +0014f3f0: 6f6d 6f75 6e74 6572 202d 2043 6f6c 6c65 omounter - Colle │ │ │ +0014f400: 6374 2073 7973 7465 6d64 2053 6572 7669 ct systemd Servi │ │ │ +0014f410: 6365 7320 5072 6573 656e 7420 696e 2074 ces Present in t │ │ │ +0014f420: 6865 2053 7973 7465 6d0a 2020 616e 7369 he System. ansi │ │ │ +0014f430: 626c 652e 6275 696c 7469 6e2e 636f 6d6d ble.builtin.comm │ │ │ +0014f440: 616e 643a 2073 7973 7465 6d63 746c 202d and: systemctl - │ │ │ +0014f450: 7120 6c69 7374 2d75 6e69 742d 6669 6c65 q list-unit-file │ │ │ +0014f460: 7320 2d2d 7479 7065 2073 6572 7669 6365 s --type service │ │ │ +0014f470: 0a20 2072 6567 6973 7465 723a 2073 6572 . register: ser │ │ │ +0014f480: 7669 6365 5f65 7869 7374 730a 2020 6368 vice_exists. ch │ │ │ +0014f490: 616e 6765 645f 7768 656e 3a20 6661 6c73 anged_when: fals │ │ │ +0014f4a0: 650a 2020 6661 696c 6564 5f77 6865 6e3a e. failed_when: │ │ │ +0014f4b0: 2073 6572 7669 6365 5f65 7869 7374 732e service_exists. │ │ │ +0014f4c0: 7263 206e 6f74 2069 6e20 5b30 2c20 315d rc not in [0, 1] │ │ │ +0014f4d0: 0a20 2063 6865 636b 5f6d 6f64 653a 2066 . check_mode: f │ │ │ +0014f4e0: 616c 7365 0a20 2077 6865 6e3a 2028 2022 alse. when: ( " │ │ │ +0014f4f0: 6175 746f 6673 2220 696e 2061 6e73 6962 autofs" in ansib │ │ │ +0014f500: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package │ │ │ +0014f510: 7320 616e 6420 226c 696e 7578 2d62 6173 s and "linux-bas │ │ │ +0014f520: 6522 2069 6e20 616e 7369 626c 655f 6661 e" in ansible_fa │ │ │ +0014f530: 6374 732e 7061 636b 6167 6573 0a20 2020 cts.packages. │ │ │ +0014f540: 2029 0a20 2074 6167 733a 0a20 202d 204e ). tags:. - N │ │ │ +0014f550: 4953 542d 3830 302d 3137 312d 332e 342e IST-800-171-3.4. │ │ │ +0014f560: 360a 2020 2d20 4e49 5354 2d38 3030 2d35 6. - NIST-800-5 │ │ │ +0014f570: 332d 434d 2d36 2861 290a 2020 2d20 4e49 3-CM-6(a). - NI │ │ │ +0014f580: 5354 2d38 3030 2d35 332d 434d 2d37 2861 ST-800-53-CM-7(a │ │ │ +0014f590: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5 │ │ │ +0014f5a0: 332d 434d 2d37 2862 290a 2020 2d20 4e49 3-CM-7(b). - NI │ │ │ +0014f5b0: 5354 2d38 3030 2d35 332d 4d50 2d37 0a20 ST-800-53-MP-7. │ │ │ +0014f5c0: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat │ │ │ +0014f5d0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp │ │ │ +0014f5e0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d │ │ │ +0014f5f0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me │ │ │ +0014f600: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity. │ │ │ +0014f610: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need │ │ │ +0014f620: 6564 0a20 202d 2073 6572 7669 6365 5f61 ed. - service_a │ │ │ +0014f630: 7574 6f66 735f 6469 7361 626c 6564 0a0a utofs_disabled.. │ │ │ +0014f640: 2d20 6e61 6d65 3a20 4469 7361 626c 6520 - name: Disable │ │ │ +0014f650: 7468 6520 4175 746f 6d6f 756e 7465 7220 the Automounter │ │ │ +0014f660: 2d20 456e 7375 7265 2061 7574 6f66 732e - Ensure autofs. │ │ │ +0014f670: 7365 7276 6963 6520 6973 204d 6173 6b65 service is Maske │ │ │ +0014f680: 640a 2020 616e 7369 626c 652e 6275 696c d. ansible.buil │ │ │ +0014f690: 7469 6e2e 7379 7374 656d 643a 0a20 2020 tin.systemd:. │ │ │ +0014f6a0: 206e 616d 653a 2061 7574 6f66 732e 7365 name: autofs.se │ │ │ +0014f6b0: 7276 6963 650a 2020 2020 7374 6174 653a rvice. state: │ │ │ +0014f6c0: 2073 746f 7070 6564 0a20 2020 2065 6e61 stopped. ena │ │ │ +0014f6d0: 626c 6564 3a20 6661 6c73 650a 2020 2020 bled: false. │ │ │ +0014f6e0: 6d61 736b 6564 3a20 7472 7565 0a20 2077 masked: true. w │ │ │ +0014f6f0: 6865 6e3a 0a20 202d 2028 2022 6175 746f hen:. - ( "auto │ │ │ +0014f700: 6673 2220 696e 2061 6e73 6962 6c65 5f66 fs" in ansible_f │ │ │ +0014f710: 6163 7473 2e70 6163 6b61 6765 7320 616e acts.packages an │ │ │ +0014f720: 6420 226c 696e 7578 2d62 6173 6522 2069 d "linux-base" i │ │ │ +0014f730: 6e20 616e 7369 626c 655f 6661 6374 732e n ansible_facts. │ │ │ +0014f740: 7061 636b 6167 6573 0a20 2020 2029 0a20 packages. ). │ │ │ +0014f750: 202d 2073 6572 7669 6365 5f65 7869 7374 - service_exist │ │ │ +0014f760: 732e 7374 646f 7574 5f6c 696e 6573 2069 s.stdout_lines i │ │ │ +0014f770: 7320 7365 6172 6368 2822 6175 746f 6673 s search("autofs │ │ │ +0014f780: 2e73 6572 7669 6365 222c 206d 756c 7469 .service", multi │ │ │ +0014f790: 6c69 6e65 3d54 7275 6529 0a20 2074 6167 line=True). tag │ │ │ +0014f7a0: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800- │ │ │ +0014f7b0: 3137 312d 332e 342e 360a 2020 2d20 4e49 171-3.4.6. - NI │ │ │ +0014f7c0: 5354 2d38 3030 2d35 332d 434d 2d36 2861 ST-800-53-CM-6(a │ │ │ +0014f7d0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5 │ │ │ +0014f7e0: 332d 434d 2d37 2861 290a 2020 2d20 4e49 3-CM-7(a). - NI │ │ │ +0014f7f0: 5354 2d38 3030 2d35 332d 434d 2d37 2862 ST-800-53-CM-7(b │ │ │ +0014f800: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5 │ │ │ +0014f810: 332d 4d50 2d37 0a20 202d 2064 6973 6162 3-MP-7. - disab │ │ │ +0014f820: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. - │ │ │ +0014f830: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity. │ │ │ +0014f840: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio │ │ │ +0014f850: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576 n. - medium_sev │ │ │ +0014f860: 6572 6974 790a 2020 2d20 6e6f 5f72 6562 erity. - no_reb │ │ │ +0014f870: 6f6f 745f 6e65 6564 6564 0a20 202d 2073 oot_needed. - s │ │ │ +0014f880: 6572 7669 6365 5f61 7574 6f66 735f 6469 ervice_autofs_di │ │ │ +0014f890: 7361 626c 6564 0a0a 2d20 6e61 6d65 3a20 sabled..- name: │ │ │ +0014f8a0: 556e 6974 2053 6f63 6b65 7420 4578 6973 Unit Socket Exis │ │ │ +0014f8b0: 7473 202d 2061 7574 6f66 732e 736f 636b ts - autofs.sock │ │ │ +0014f8c0: 6574 0a20 2061 6e73 6962 6c65 2e62 7569 et. ansible.bui │ │ │ +0014f8d0: 6c74 696e 2e63 6f6d 6d61 6e64 3a20 7379 ltin.command: sy │ │ │ +0014f8e0: 7374 656d 6374 6c20 2d71 206c 6973 742d stemctl -q list- │ │ │ +0014f8f0: 756e 6974 2d66 696c 6573 2061 7574 6f66 unit-files autof │ │ │ +0014f900: 732e 736f 636b 6574 0a20 2072 6567 6973 s.socket. regis │ │ │ +0014f910: 7465 723a 2073 6f63 6b65 745f 6669 6c65 ter: socket_file │ │ │ +0014f920: 5f65 7869 7374 730a 2020 6368 616e 6765 _exists. change │ │ │ +0014f930: 645f 7768 656e 3a20 6661 6c73 650a 2020 d_when: false. │ │ │ +0014f940: 6661 696c 6564 5f77 6865 6e3a 2073 6f63 failed_when: soc │ │ │ +0014f950: 6b65 745f 6669 6c65 5f65 7869 7374 732e ket_file_exists. │ │ │ +0014f960: 7263 206e 6f74 2069 6e20 5b30 2c20 315d rc not in [0, 1] │ │ │ +0014f970: 0a20 2063 6865 636b 5f6d 6f64 653a 2066 . check_mode: f │ │ │ +0014f980: 616c 7365 0a20 2077 6865 6e3a 2028 2022 alse. when: ( " │ │ │ +0014f990: 6175 746f 6673 2220 696e 2061 6e73 6962 autofs" in ansib │ │ │ +0014f9a0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package │ │ │ +0014f9b0: 7320 616e 6420 226c 696e 7578 2d62 6173 s and "linux-bas │ │ │ +0014f9c0: 6522 2069 6e20 616e 7369 626c 655f 6661 e" in ansible_fa │ │ │ +0014f9d0: 6374 732e 7061 636b 6167 6573 0a20 2020 cts.packages. │ │ │ +0014f9e0: 2029 0a20 2074 6167 733a 0a20 202d 204e ). tags:. - N │ │ │ +0014f9f0: 4953 542d 3830 302d 3137 312d 332e 342e IST-800-171-3.4. │ │ │ +0014fa00: 360a 2020 2d20 4e49 5354 2d38 3030 2d35 6. - NIST-800-5 │ │ │ +0014fa10: 332d 434d 2d36 2861 290a 2020 2d20 4e49 3-CM-6(a). - NI │ │ │ +0014fa20: 5354 2d38 3030 2d35 332d 434d 2d37 2861 ST-800-53-CM-7(a │ │ │ +0014fa30: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5 │ │ │ +0014fa40: 332d 434d 2d37 2862 290a 2020 2d20 4e49 3-CM-7(b). - NI │ │ │ +0014fa50: 5354 2d38 3030 2d35 332d 4d50 2d37 0a20 ST-800-53-MP-7. │ │ │ +0014fa60: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat │ │ │ +0014fa70: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp │ │ │ +0014fa80: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d │ │ │ +0014fa90: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me │ │ │ +0014faa0: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity. │ │ │ +0014fab0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need │ │ │ +0014fac0: 6564 0a20 202d 2073 6572 7669 6365 5f61 ed. - service_a │ │ │ +0014fad0: 7574 6f66 735f 6469 7361 626c 6564 0a0a utofs_disabled.. │ │ │ +0014fae0: 2d20 6e61 6d65 3a20 4469 7361 626c 6520 - name: Disable │ │ │ +0014faf0: 7468 6520 4175 746f 6d6f 756e 7465 7220 the Automounter │ │ │ +0014fb00: 2d20 4469 7361 626c 6520 536f 636b 6574 - Disable Socket │ │ │ +0014fb10: 2061 7574 6f66 730a 2020 616e 7369 626c autofs. ansibl │ │ │ +0014fb20: 652e 6275 696c 7469 6e2e 7379 7374 656d e.builtin.system │ │ │ +0014fb30: 643a 0a20 2020 206e 616d 653a 2061 7574 d:. name: aut │ │ │ +0014fb40: 6f66 732e 736f 636b 6574 0a20 2020 2065 ofs.socket. e │ │ │ +0014fb50: 6e61 626c 6564 3a20 6661 6c73 650a 2020 nabled: false. │ │ │ +0014fb60: 2020 7374 6174 653a 2073 746f 7070 6564 state: stopped │ │ │ +0014fb70: 0a20 2020 206d 6173 6b65 643a 2074 7275 . masked: tru │ │ │ +0014fb80: 650a 2020 7768 656e 3a0a 2020 2d20 2820 e. when:. - ( │ │ │ +0014fb90: 2261 7574 6f66 7322 2069 6e20 616e 7369 "autofs" in ansi │ │ │ +0014fba0: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag │ │ │ +0014fbb0: 6573 2061 6e64 2022 6c69 6e75 782d 6261 es and "linux-ba │ │ │ +0014fbc0: 7365 2220 696e 2061 6e73 6962 6c65 5f66 se" in ansible_f │ │ │ +0014fbd0: 6163 7473 2e70 6163 6b61 6765 730a 2020 acts.packages. │ │ │ +0014fbe0: 2020 290a 2020 2d20 736f 636b 6574 5f66 ). - socket_f │ │ │ +0014fbf0: 696c 655f 6578 6973 7473 2e73 7464 6f75 ile_exists.stdou │ │ │ +0014fc00: 745f 6c69 6e65 7320 6973 2073 6561 7263 t_lines is searc │ │ │ +0014fc10: 6828 2261 7574 6f66 732e 736f 636b 6574 h("autofs.socket │ │ │ +0014fc20: 222c 206d 756c 7469 6c69 6e65 3d54 7275 ", multiline=Tru │ │ │ +0014fc30: 6529 0a20 2074 6167 733a 0a20 202d 204e e). tags:. - N │ │ │ +0014fc40: 4953 542d 3830 302d 3137 312d 332e 342e IST-800-171-3.4. │ │ │ +0014fc50: 360a 2020 2d20 4e49 5354 2d38 3030 2d35 6. - NIST-800-5 │ │ │ +0014fc60: 332d 434d 2d36 2861 290a 2020 2d20 4e49 3-CM-6(a). - NI │ │ │ +0014fc70: 5354 2d38 3030 2d35 332d 434d 2d37 2861 ST-800-53-CM-7(a │ │ │ +0014fc80: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5 │ │ │ +0014fc90: 332d 434d 2d37 2862 290a 2020 2d20 4e49 3-CM-7(b). - NI │ │ │ +0014fca0: 5354 2d38 3030 2d35 332d 4d50 2d37 0a20 ST-800-53-MP-7. │ │ │ +0014fcb0: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat │ │ │ +0014fcc0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp │ │ │ +0014fcd0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d │ │ │ +0014fce0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me │ │ │ +0014fcf0: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity. │ │ │ +0014fd00: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need │ │ │ +0014fd10: 6564 0a20 202d 2073 6572 7669 6365 5f61 ed. - service_a │ │ │ +0014fd20: 7574 6f66 735f 6469 7361 626c 6564 0a3c utofs_disabled.< │ │ │ +0014fd30: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
Remediation Ku │ │ │ +0014fdf0: 6265 726e 6574 6573 2073 6e69 7070 6574 bernetes snippet │ │ │ +0014fe00: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +0014fe40: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +0014fe50: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +0014fe60: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +0014fe70: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +0014fe80: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +0014fe90: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +0014fea0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:mediumRe │ │ │ +0014fee0: 626f 6f74 3a3c 2f74 683e 3c74 643e 7472 boot:tr │ │ │ +0014fef0: 7565 3c2f 7464 3e3c 2f74 723e 3c74 723e ue │ │ │ +0014ff00: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy:disable< │ │ │ +0014ff30: 7072 653e 3c63 6f64 653e 6170 6956 6572 pre>apiVer │ │ │ +0014ff40: 7369 6f6e 3a20 6d61 6368 696e 6563 6f6e sion: machinecon │ │ │ +0014ff50: 6669 6775 7261 7469 6f6e 2e6f 7065 6e73 figuration.opens │ │ │ +0014ff60: 6869 6674 2e69 6f2f 7631 0a6b 696e 643a hift.io/v1.kind: │ │ │ +0014ff70: 204d 6163 6869 6e65 436f 6e66 6967 0a73 MachineConfig.s │ │ │ +0014ff80: 7065 633a 0a20 2063 6f6e 6669 673a 0a20 pec:. config:. │ │ │ +0014ff90: 2020 2069 676e 6974 696f 6e3a 0a20 2020 ignition:. │ │ │ +0014ffa0: 2020 2076 6572 7369 6f6e 3a20 332e 312e version: 3.1. │ │ │ +0014ffb0: 300a 2020 2020 7379 7374 656d 643a 0a20 0. systemd:. │ │ │ +0014ffc0: 2020 2020 2075 6e69 7473 3a0a 2020 2020 units:. │ │ │ +0014ffd0: 2020 2d20 6e61 6d65 3a20 6175 746f 6673 - name: autofs │ │ │ +0014ffe0: 2e73 6572 7669 6365 0a20 2020 2020 2020 .service. │ │ │ +0014fff0: 2065 6e61 626c 6564 3a20 6661 6c73 650a enabled: false. │ │ │ +00150000: 2020 2020 2020 2020 6d61 736b 3a20 7472 mask: tr │ │ │ +00150010: 7565 0a20 2020 2020 202d 206e 616d 653a ue. - name: │ │ │ +00150020: 2061 7574 6f66 732e 736f 636b 6574 0a20 autofs.socket. │ │ │ +00150030: 2020 2020 2020 2065 6e61 626c 6564 3a20 enabled: │ │ │ +00150040: 6661 6c73 650a 2020 2020 2020 2020 6d61 false. ma │ │ │ +00150050: 736b 3a20 7472 7565 0a3c 2f63 6f64 653e sk: true. │ │ │ +00150060: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Reme │ │ │ +00150110: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ +00150120: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ +001501c0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001501d0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +00150220: 3c74 723e 3c74 683e 5374 7261 7465 6779
inc
│ │ │ +00150260: 6c75 6465 2064 6973 6162 6c65 5f61 7574  lude disable_aut
│ │ │ +00150270: 6f66 730a 0a63 6c61 7373 2064 6973 6162  ofs..class disab
│ │ │ +00150280: 6c65 5f61 7574 6f66 7320 7b0a 2020 7365  le_autofs {.  se
│ │ │ +00150290: 7276 6963 6520 7b27 6175 746f 6673 273a  rvice {'autofs':
│ │ │ +001502a0: 0a20 2020 2065 6e61 626c 6520 3d26 6774  .    enable =>
│ │ │ +001502b0: 3b20 6661 6c73 652c 0a20 2020 2065 6e73  ; false,.    ens
│ │ │ +001502c0: 7572 6520 3d26 6774 3b20 2773 746f 7070  ure => 'stopp
│ │ │ +001502d0: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ed',.  }.}.
Re │ │ │ +00150390: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil │ │ │ +001503a0: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip │ │ │ +001503b0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +001503c0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001503d0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001503e0: 7365 2220 6964 3d22 6964 6d31 3930 3234 se" id="idm19024 │ │ │ +001503f0: 223e 3c70 7265 3e3c 636f 6465 3e0a 5b63 ">
.[c
│ │ │ +00150400: 7573 746f 6d69 7a61 7469 6f6e 732e 7365  ustomizations.se
│ │ │ +00150410: 7276 6963 6573 5d0a 6d61 736b 6564 203d  rvices].masked =
│ │ │ +00150420: 205b 2261 7574 6f66 7322 5d0a 3c2f 636f   ["autofs"].
< │ │ │ 00150440: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 00150450: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 00150460: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 00150470: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 00150480: 646d 3139 3032 3522 2074 6162 696e 6465 dm19025" tabinde │ │ │ 00150490: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ @@ -97896,94 +97896,94 @@ │ │ │ 0017e670: 2220 6461 7461 2d74 6172 6765 743d 2223 " data-target="# │ │ │ 0017e680: 6964 6d32 3131 3630 2220 7461 6269 6e64 idm21160" tabind │ │ │ 0017e690: 6578 3d22 3022 2072 6f6c 653d 2262 7574 ex="0" role="but │ │ │ 0017e6a0: 746f 6e22 2061 7269 612d 6578 7061 6e64 ton" aria-expand │ │ │ 0017e6b0: 6564 3d22 6661 6c73 6522 2074 6974 6c65 ed="false" title │ │ │ 0017e6c0: 3d22 4163 7469 7661 7465 2074 6f20 7265 ="Activate to re │ │ │ 0017e6d0: 7665 616c 2220 6872 6566 3d22 2321 223e veal" href="#!"> │ │ │ -0017e6e0: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ -0017e6f0: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
C │ │ │ +001501b0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +001501e0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +001501f0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +00150230: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ +00150240: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
< │ │ │ -0017e780: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -0017e7a0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -0017e7f0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ -0017e820: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include remove
│ │ │ -0017e840: 5f61 7661 6869 2d64 6165 6d6f 6e0a 0a63  _avahi-daemon..c
│ │ │ -0017e850: 6c61 7373 2072 656d 6f76 655f 6176 6168  lass remove_avah
│ │ │ -0017e860: 692d 6461 656d 6f6e 207b 0a20 2070 6163  i-daemon {.  pac
│ │ │ -0017e870: 6b61 6765 207b 2027 6176 6168 692d 6461  kage { 'avahi-da
│ │ │ -0017e880: 656d 6f6e 273a 0a20 2020 2065 6e73 7572  emon':.    ensur
│ │ │ -0017e890: 6520 3d26 6774 3b20 2770 7572 6765 6427  e => 'purged'
│ │ │ -0017e8a0: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ -0017e8b0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remed
│ │ │ -0017e960: 6961 7469 6f6e 2041 6e73 6962 6c65 2073  iation Ansible s
│ │ │ -0017e970: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62  nippet ...
low
Disr │ │ │ -0017e7b0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -0017e7c0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -0017e800: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ -0017e810: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
< │ │ │ -0017ea10: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -0017ea20: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -0017ea70: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ -0017eab0: 6e61 6d65 3a20 456e 7375 7265 2061 7661  name: Ensure ava
│ │ │ -0017eac0: 6869 2d64 6165 6d6f 6e20 6973 2072 656d  hi-daemon is rem
│ │ │ -0017ead0: 6f76 6564 0a20 2070 6163 6b61 6765 3a0a  oved.  package:.
│ │ │ -0017eae0: 2020 2020 6e61 6d65 3a20 6176 6168 692d      name: avahi-
│ │ │ -0017eaf0: 6461 656d 6f6e 0a20 2020 2073 7461 7465  daemon.    state
│ │ │ -0017eb00: 3a20 6162 7365 6e74 0a20 2074 6167 733a  : absent.  tags:
│ │ │ -0017eb10: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -0017eb20: 2d43 4d2d 3628 6129 0a20 202d 204e 4953  -CM-6(a).  - NIS
│ │ │ -0017eb30: 542d 3830 302d 3533 2d43 4d2d 3728 6129  T-800-53-CM-7(a)
│ │ │ -0017eb40: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -0017eb50: 2d43 4d2d 3728 6229 0a20 202d 2064 6973  -CM-7(b).  - dis
│ │ │ -0017eb60: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -0017eb70: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -0017eb80: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -0017eb90: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ -0017eba0: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ -0017ebb0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -0017ebc0: 2070 6163 6b61 6765 5f61 7661 6869 5f72   package_avahi_r
│ │ │ -0017ebd0: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f  emoved.
C │ │ │ -0017ea00: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -0017ea30: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -0017ea40: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -0017ea80: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -0017ea90: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
│ │ │ +0017e780: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +0017e7a0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +0017e7f0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ +0017e820: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ +0017e790: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +0017e7b0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +0017e800: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ +0017e810: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
- name: Ensur
│ │ │ +0017e840: 6520 6176 6168 692d 6461 656d 6f6e 2069  e avahi-daemon i
│ │ │ +0017e850: 7320 7265 6d6f 7665 640a 2020 7061 636b  s removed.  pack
│ │ │ +0017e860: 6167 653a 0a20 2020 206e 616d 653a 2061  age:.    name: a
│ │ │ +0017e870: 7661 6869 2d64 6165 6d6f 6e0a 2020 2020  vahi-daemon.    
│ │ │ +0017e880: 7374 6174 653a 2061 6273 656e 740a 2020  state: absent.  
│ │ │ +0017e890: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ +0017e8a0: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ +0017e8b0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +0017e8c0: 2d37 2861 290a 2020 2d20 4e49 5354 2d38  -7(a).  - NIST-8
│ │ │ +0017e8d0: 3030 2d35 332d 434d 2d37 2862 290a 2020  00-53-CM-7(b).  
│ │ │ +0017e8e0: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ +0017e8f0: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +0017e900: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +0017e910: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +0017e920: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +0017e930: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +0017e940: 640a 2020 2d20 7061 636b 6167 655f 6176  d.  - package_av
│ │ │ +0017e950: 6168 695f 7265 6d6f 7665 640a 3c2f 636f  ahi_removed.
< │ │ │ +0017e970: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +0017e980: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +0017e990: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +0017e9a0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +0017e9b0: 646d 3231 3136 3122 2074 6162 696e 6465 dm21161" tabinde │ │ │ +0017e9c0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +0017e9d0: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +0017e9e0: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +0017e9f0: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +0017ea00: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +0017ea10: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +0017ea20: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity: │ │ │ +0017eb00: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +0017eb10: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ +0017eb70: 6176 6168 692d 6461 656d 6f6e 0a0a 636c  avahi-daemon..cl
│ │ │ +0017eb80: 6173 7320 7265 6d6f 7665 5f61 7661 6869  ass remove_avahi
│ │ │ +0017eb90: 2d64 6165 6d6f 6e20 7b0a 2020 7061 636b  -daemon {.  pack
│ │ │ +0017eba0: 6167 6520 7b20 2761 7661 6869 2d64 6165  age { 'avahi-dae
│ │ │ +0017ebb0: 6d6f 6e27 3a0a 2020 2020 656e 7375 7265  mon':.    ensure
│ │ │ +0017ebc0: 203d 2667 743b 2027 7075 7267 6564 272c   => 'purged',
│ │ │ +0017ebd0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.Rem
│ │ │ -0017fdc0: 6564 6961 7469 6f6e 204f 5342 7569 6c64  ediation OSBuild
│ │ │ -0017fdd0: 2042 6c75 6570 7269 6e74 2073 6e69 7070   Blueprint snipp
│ │ │ -0017fde0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64  et ...
.[cu
│ │ │ -0017fe30: 7374 6f6d 697a 6174 696f 6e73 2e73 6572  stomizations.ser
│ │ │ -0017fe40: 7669 6365 735d 0a6d 6173 6b65 6420 3d20  vices].masked = 
│ │ │ -0017fe50: 5b22 6176 6168 692d 6461 656d 6f6e 225d  ["avahi-daemon"]
│ │ │ -0017fe60: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -0017ff20: 4b75 6265 726e 6574 6573 2073 6e69 7070 Kubernetes snipp │ │ │ -0017ff30: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
low
Disru │ │ │ +0017eae0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +0017eaf0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +0017eb30: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +0017eb40: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -0017ffe0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c
Compl │ │ │ -0017ffc0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -0017ffd0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -0017fff0: 2f74 683e 3c74 643e 6d65 6469 756d 3c2f /th>medium
│ │ │ -00180010: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -00180020: 7472 7565 3c2f 7464 3e3c 2f74 723e 3c74 true
Strategy:< │ │ │ -00180040: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -00180050: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
apiV
│ │ │ -00180070: 6572 7369 6f6e 3a20 6d61 6368 696e 6563  ersion: machinec
│ │ │ -00180080: 6f6e 6669 6775 7261 7469 6f6e 2e6f 7065  onfiguration.ope
│ │ │ -00180090: 6e73 6869 6674 2e69 6f2f 7631 0a6b 696e  nshift.io/v1.kin
│ │ │ -001800a0: 643a 204d 6163 6869 6e65 436f 6e66 6967  d: MachineConfig
│ │ │ -001800b0: 0a73 7065 633a 0a20 2063 6f6e 6669 673a  .spec:.  config:
│ │ │ -001800c0: 0a20 2020 2069 676e 6974 696f 6e3a 0a20  .    ignition:. 
│ │ │ -001800d0: 2020 2020 2076 6572 7369 6f6e 3a20 332e       version: 3.
│ │ │ -001800e0: 312e 300a 2020 2020 7379 7374 656d 643a  1.0.    systemd:
│ │ │ -001800f0: 0a20 2020 2020 2075 6e69 7473 3a0a 2020  .      units:.  
│ │ │ -00180100: 2020 2020 2d20 6e61 6d65 3a20 6176 6168      - name: avah
│ │ │ -00180110: 692d 6461 656d 6f6e 2e73 6572 7669 6365  i-daemon.service
│ │ │ -00180120: 0a20 2020 2020 2020 2065 6e61 626c 6564  .        enabled
│ │ │ -00180130: 3a20 6661 6c73 650a 2020 2020 2020 2020  : false.        
│ │ │ -00180140: 6d61 736b 3a20 7472 7565 0a20 2020 2020  mask: true.     
│ │ │ -00180150: 202d 206e 616d 653a 2061 7661 6869 2d64   - name: avahi-d
│ │ │ -00180160: 6165 6d6f 6e2e 736f 636b 6574 0a20 2020  aemon.socket.   
│ │ │ -00180170: 2020 2020 2065 6e61 626c 6564 3a20 6661       enabled: fa
│ │ │ -00180180: 6c73 650a 2020 2020 2020 2020 6d61 736b  lse.        mask
│ │ │ -00180190: 3a20 7472 7565 0a3c 2f63 6f64 653e 3c2f  : true.
Remedi │ │ │ -00180250: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ -00180260: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -00180270: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -001802f0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -00180320: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -00180340: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -00180350: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -00180370: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ -00180390: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -001803a0: 6465 2064 6973 6162 6c65 5f61 7661 6869  de disable_avahi
│ │ │ -001803b0: 2d64 6165 6d6f 6e0a 0a63 6c61 7373 2064  -daemon..class d
│ │ │ -001803c0: 6973 6162 6c65 5f61 7661 6869 2d64 6165  isable_avahi-dae
│ │ │ -001803d0: 6d6f 6e20 7b0a 2020 7365 7276 6963 6520  mon {.  service 
│ │ │ -001803e0: 7b27 6176 6168 692d 6461 656d 6f6e 273a  {'avahi-daemon':
│ │ │ -001803f0: 0a20 2020 2065 6e61 626c 6520 3d26 6774  .    enable =>
│ │ │ -00180400: 3b20 6661 6c73 652c 0a20 2020 2065 6e73  ; false,.    ens
│ │ │ -00180410: 7572 6520 3d26 6774 3b20 2773 746f 7070  ure => 'stopp
│ │ │ -00180420: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ed',.  }.}.
Re │ │ │ -001804e0: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -001804f0: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
Complexity: │ │ │ -001805d0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -001805e0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
- name: Gather 
│ │ │ -00180640: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ -00180650: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ -00180660: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ -00180670: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ -00180680: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -00180690: 3628 6129 0a20 202d 204e 4953 542d 3830  6(a).  - NIST-80
│ │ │ -001806a0: 302d 3533 2d43 4d2d 3728 6129 0a20 202d  0-53-CM-7(a).  -
│ │ │ -001806b0: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -001806c0: 3728 6229 0a20 202d 2050 4349 2d44 5353  7(b).  - PCI-DSS
│ │ │ -001806d0: 7634 2d32 2e32 0a20 202d 2050 4349 2d44  v4-2.2.  - PCI-D
│ │ │ -001806e0: 5353 7634 2d32 2e32 2e34 0a20 202d 2064  SSv4-2.2.4.  - d
│ │ │ -001806f0: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ -00180700: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -00180710: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -00180720: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -00180730: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -00180740: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -00180750: 202d 2073 6572 7669 6365 5f61 7661 6869   - service_avahi
│ │ │ -00180760: 2d64 6165 6d6f 6e5f 6469 7361 626c 6564  -daemon_disabled
│ │ │ -00180770: 0a0a 2d20 6e61 6d65 3a20 4469 7361 626c  ..- name: Disabl
│ │ │ -00180780: 6520 4176 6168 6920 5365 7276 6572 2053  e Avahi Server S
│ │ │ -00180790: 6f66 7477 6172 6520 2d20 436f 6c6c 6563  oftware - Collec
│ │ │ -001807a0: 7420 7379 7374 656d 6420 5365 7276 6963  t systemd Servic
│ │ │ -001807b0: 6573 2050 7265 7365 6e74 2069 6e20 7468  es Present in th
│ │ │ -001807c0: 6520 5379 7374 656d 0a20 2061 6e73 6962  e System.  ansib
│ │ │ -001807d0: 6c65 2e62 7569 6c74 696e 2e63 6f6d 6d61  le.builtin.comma
│ │ │ -001807e0: 6e64 3a20 7379 7374 656d 6374 6c20 2d71  nd: systemctl -q
│ │ │ -001807f0: 206c 6973 742d 756e 6974 2d66 696c 6573   list-unit-files
│ │ │ -00180800: 202d 2d74 7970 6520 7365 7276 6963 650a   --type service.
│ │ │ -00180810: 2020 7265 6769 7374 6572 3a20 7365 7276    register: serv
│ │ │ -00180820: 6963 655f 6578 6973 7473 0a20 2063 6861  ice_exists.  cha
│ │ │ -00180830: 6e67 6564 5f77 6865 6e3a 2066 616c 7365  nged_when: false
│ │ │ -00180840: 0a20 2066 6169 6c65 645f 7768 656e 3a20  .  failed_when: 
│ │ │ -00180850: 7365 7276 6963 655f 6578 6973 7473 2e72  service_exists.r
│ │ │ -00180860: 6320 6e6f 7420 696e 205b 302c 2031 5d0a  c not in [0, 1].
│ │ │ -00180870: 2020 6368 6563 6b5f 6d6f 6465 3a20 6661    check_mode: fa
│ │ │ -00180880: 6c73 650a 2020 7768 656e 3a20 2820 2261  lse.  when: ( "a
│ │ │ -00180890: 7661 6869 2d64 6165 6d6f 6e22 2069 6e20  vahi-daemon" in 
│ │ │ -001808a0: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -001808b0: 636b 6167 6573 2061 6e64 2022 6c69 6e75  ckages and "linu
│ │ │ -001808c0: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ -001808d0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -001808e0: 730a 2020 2020 290a 2020 7461 6773 3a0a  s.    ).  tags:.
│ │ │ -001808f0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -00180900: 434d 2d36 2861 290a 2020 2d20 4e49 5354  CM-6(a).  - NIST
│ │ │ -00180910: 2d38 3030 2d35 332d 434d 2d37 2861 290a  -800-53-CM-7(a).
│ │ │ -00180920: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -00180930: 434d 2d37 2862 290a 2020 2d20 5043 492d  CM-7(b).  - PCI-
│ │ │ -00180940: 4453 5376 342d 322e 320a 2020 2d20 5043  DSSv4-2.2.  - PC
│ │ │ -00180950: 492d 4453 5376 342d 322e 322e 340a 2020  I-DSSv4-2.2.4.  
│ │ │ -00180960: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ -00180970: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ -00180980: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -00180990: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ -001809a0: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ -001809b0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -001809c0: 640a 2020 2d20 7365 7276 6963 655f 6176  d.  - service_av
│ │ │ -001809d0: 6168 692d 6461 656d 6f6e 5f64 6973 6162  ahi-daemon_disab
│ │ │ -001809e0: 6c65 640a 0a2d 206e 616d 653a 2044 6973  led..- name: Dis
│ │ │ -001809f0: 6162 6c65 2041 7661 6869 2053 6572 7665  able Avahi Serve
│ │ │ -00180a00: 7220 536f 6674 7761 7265 202d 2045 6e73  r Software - Ens
│ │ │ -00180a10: 7572 6520 6176 6168 692d 6461 656d 6f6e  ure avahi-daemon
│ │ │ -00180a20: 2e73 6572 7669 6365 2069 7320 4d61 736b  .service is Mask
│ │ │ -00180a30: 6564 0a20 2061 6e73 6962 6c65 2e62 7569  ed.  ansible.bui
│ │ │ -00180a40: 6c74 696e 2e73 7973 7465 6d64 3a0a 2020  ltin.systemd:.  
│ │ │ -00180a50: 2020 6e61 6d65 3a20 6176 6168 692d 6461    name: avahi-da
│ │ │ -00180a60: 656d 6f6e 2e73 6572 7669 6365 0a20 2020  emon.service.   
│ │ │ -00180a70: 2073 7461 7465 3a20 7374 6f70 7065 640a   state: stopped.
│ │ │ -00180a80: 2020 2020 656e 6162 6c65 643a 2066 616c      enabled: fal
│ │ │ -00180a90: 7365 0a20 2020 206d 6173 6b65 643a 2074  se.    masked: t
│ │ │ -00180aa0: 7275 650a 2020 7768 656e 3a0a 2020 2d20  rue.  when:.  - 
│ │ │ -00180ab0: 2820 2261 7661 6869 2d64 6165 6d6f 6e22  ( "avahi-daemon"
│ │ │ -00180ac0: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ -00180ad0: 732e 7061 636b 6167 6573 2061 6e64 2022  s.packages and "
│ │ │ -00180ae0: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ -00180af0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ -00180b00: 6b61 6765 730a 2020 2020 290a 2020 2d20  kages.    ).  - 
│ │ │ -00180b10: 7365 7276 6963 655f 6578 6973 7473 2e73  service_exists.s
│ │ │ -00180b20: 7464 6f75 745f 6c69 6e65 7320 6973 2073  tdout_lines is s
│ │ │ -00180b30: 6561 7263 6828 2261 7661 6869 2d64 6165  earch("avahi-dae
│ │ │ -00180b40: 6d6f 6e2e 7365 7276 6963 6522 2c20 6d75  mon.service", mu
│ │ │ -00180b50: 6c74 696c 696e 653d 5472 7565 290a 2020  ltiline=True).  
│ │ │ -00180b60: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ -00180b70: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ -00180b80: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -00180b90: 2d37 2861 290a 2020 2d20 4e49 5354 2d38  -7(a).  - NIST-8
│ │ │ -00180ba0: 3030 2d35 332d 434d 2d37 2862 290a 2020  00-53-CM-7(b).  
│ │ │ -00180bb0: 2d20 5043 492d 4453 5376 342d 322e 320a  - PCI-DSSv4-2.2.
│ │ │ -00180bc0: 2020 2d20 5043 492d 4453 5376 342d 322e    - PCI-DSSv4-2.
│ │ │ -00180bd0: 322e 340a 2020 2d20 6469 7361 626c 655f  2.4.  - disable_
│ │ │ -00180be0: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -00180bf0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -00180c00: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -00180c10: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ -00180c20: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -00180c30: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ -00180c40: 6963 655f 6176 6168 692d 6461 656d 6f6e  ice_avahi-daemon
│ │ │ -00180c50: 5f64 6973 6162 6c65 640a 0a2d 206e 616d  _disabled..- nam
│ │ │ -00180c60: 653a 2055 6e69 7420 536f 636b 6574 2045  e: Unit Socket E
│ │ │ -00180c70: 7869 7374 7320 2d20 6176 6168 692d 6461  xists - avahi-da
│ │ │ -00180c80: 656d 6f6e 2e73 6f63 6b65 740a 2020 616e  emon.socket.  an
│ │ │ -00180c90: 7369 626c 652e 6275 696c 7469 6e2e 636f  sible.builtin.co
│ │ │ -00180ca0: 6d6d 616e 643a 2073 7973 7465 6d63 746c  mmand: systemctl
│ │ │ -00180cb0: 202d 7120 6c69 7374 2d75 6e69 742d 6669   -q list-unit-fi
│ │ │ -00180cc0: 6c65 7320 6176 6168 692d 6461 656d 6f6e  les avahi-daemon
│ │ │ -00180cd0: 2e73 6f63 6b65 740a 2020 7265 6769 7374  .socket.  regist
│ │ │ -00180ce0: 6572 3a20 736f 636b 6574 5f66 696c 655f  er: socket_file_
│ │ │ -00180cf0: 6578 6973 7473 0a20 2063 6861 6e67 6564  exists.  changed
│ │ │ -00180d00: 5f77 6865 6e3a 2066 616c 7365 0a20 2066  _when: false.  f
│ │ │ -00180d10: 6169 6c65 645f 7768 656e 3a20 736f 636b  ailed_when: sock
│ │ │ -00180d20: 6574 5f66 696c 655f 6578 6973 7473 2e72  et_file_exists.r
│ │ │ -00180d30: 6320 6e6f 7420 696e 205b 302c 2031 5d0a  c not in [0, 1].
│ │ │ -00180d40: 2020 6368 6563 6b5f 6d6f 6465 3a20 6661    check_mode: fa
│ │ │ -00180d50: 6c73 650a 2020 7768 656e 3a20 2820 2261  lse.  when: ( "a
│ │ │ -00180d60: 7661 6869 2d64 6165 6d6f 6e22 2069 6e20  vahi-daemon" in 
│ │ │ -00180d70: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -00180d80: 636b 6167 6573 2061 6e64 2022 6c69 6e75  ckages and "linu
│ │ │ -00180d90: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ -00180da0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -00180db0: 730a 2020 2020 290a 2020 7461 6773 3a0a  s.    ).  tags:.
│ │ │ -00180dc0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -00180dd0: 434d 2d36 2861 290a 2020 2d20 4e49 5354  CM-6(a).  - NIST
│ │ │ -00180de0: 2d38 3030 2d35 332d 434d 2d37 2861 290a  -800-53-CM-7(a).
│ │ │ -00180df0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -00180e00: 434d 2d37 2862 290a 2020 2d20 5043 492d  CM-7(b).  - PCI-
│ │ │ -00180e10: 4453 5376 342d 322e 320a 2020 2d20 5043  DSSv4-2.2.  - PC
│ │ │ -00180e20: 492d 4453 5376 342d 322e 322e 340a 2020  I-DSSv4-2.2.4.  
│ │ │ -00180e30: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ -00180e40: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ -00180e50: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -00180e60: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ -00180e70: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ -00180e80: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -00180e90: 640a 2020 2d20 7365 7276 6963 655f 6176  d.  - service_av
│ │ │ -00180ea0: 6168 692d 6461 656d 6f6e 5f64 6973 6162  ahi-daemon_disab
│ │ │ -00180eb0: 6c65 640a 0a2d 206e 616d 653a 2044 6973  led..- name: Dis
│ │ │ -00180ec0: 6162 6c65 2041 7661 6869 2053 6572 7665  able Avahi Serve
│ │ │ -00180ed0: 7220 536f 6674 7761 7265 202d 2044 6973  r Software - Dis
│ │ │ -00180ee0: 6162 6c65 2053 6f63 6b65 7420 6176 6168  able Socket avah
│ │ │ -00180ef0: 692d 6461 656d 6f6e 0a20 2061 6e73 6962  i-daemon.  ansib
│ │ │ -00180f00: 6c65 2e62 7569 6c74 696e 2e73 7973 7465  le.builtin.syste
│ │ │ -00180f10: 6d64 3a0a 2020 2020 6e61 6d65 3a20 6176  md:.    name: av
│ │ │ -00180f20: 6168 692d 6461 656d 6f6e 2e73 6f63 6b65  ahi-daemon.socke
│ │ │ -00180f30: 740a 2020 2020 656e 6162 6c65 643a 2066  t.    enabled: f
│ │ │ -00180f40: 616c 7365 0a20 2020 2073 7461 7465 3a20  alse.    state: 
│ │ │ -00180f50: 7374 6f70 7065 640a 2020 2020 6d61 736b  stopped.    mask
│ │ │ -00180f60: 6564 3a20 7472 7565 0a20 2077 6865 6e3a  ed: true.  when:
│ │ │ -00180f70: 0a20 202d 2028 2022 6176 6168 692d 6461  .  - ( "avahi-da
│ │ │ -00180f80: 656d 6f6e 2220 696e 2061 6e73 6962 6c65  emon" in ansible
│ │ │ -00180f90: 5f66 6163 7473 2e70 6163 6b61 6765 7320  _facts.packages 
│ │ │ -00180fa0: 616e 6420 226c 696e 7578 2d62 6173 6522  and "linux-base"
│ │ │ -00180fb0: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ -00180fc0: 732e 7061 636b 6167 6573 0a20 2020 2029  s.packages.    )
│ │ │ -00180fd0: 0a20 202d 2073 6f63 6b65 745f 6669 6c65  .  - socket_file
│ │ │ -00180fe0: 5f65 7869 7374 732e 7374 646f 7574 5f6c  _exists.stdout_l
│ │ │ -00180ff0: 696e 6573 2069 7320 7365 6172 6368 2822  ines is search("
│ │ │ -00181000: 6176 6168 692d 6461 656d 6f6e 2e73 6f63  avahi-daemon.soc
│ │ │ -00181010: 6b65 7422 2c20 6d75 6c74 696c 696e 653d  ket", multiline=
│ │ │ -00181020: 5472 7565 290a 2020 7461 6773 3a0a 2020  True).  tags:.  
│ │ │ -00181030: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -00181040: 2d36 2861 290a 2020 2d20 4e49 5354 2d38  -6(a).  - NIST-8
│ │ │ -00181050: 3030 2d35 332d 434d 2d37 2861 290a 2020  00-53-CM-7(a).  
│ │ │ -00181060: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -00181070: 2d37 2862 290a 2020 2d20 5043 492d 4453  -7(b).  - PCI-DS
│ │ │ -00181080: 5376 342d 322e 320a 2020 2d20 5043 492d  Sv4-2.2.  - PCI-
│ │ │ -00181090: 4453 5376 342d 322e 322e 340a 2020 2d20  DSSv4-2.2.4.  - 
│ │ │ -001810a0: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ -001810b0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -001810c0: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -001810d0: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ -001810e0: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ -001810f0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -00181100: 2020 2d20 7365 7276 6963 655f 6176 6168    - service_avah
│ │ │ -00181110: 692d 6461 656d 6f6e 5f64 6973 6162 6c65  i-daemon_disable
│ │ │ -00181120: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +0017fdc0: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ +0017fdd0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +0017fde0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
low
Disru │ │ │ -001805b0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -001805c0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -00180600: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ -00180610: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
< │ │ │ +0017feb0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +0017fec0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +0017ff10: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ +0017ff20: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ +0017ff30: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ +0017ff40: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ +0017ff50: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ +0017ff60: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ +0017ff70: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ +0017ff80: 2d35 332d 434d 2d37 2861 290a 2020 2d20  -53-CM-7(a).  - 
│ │ │ +0017ff90: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ +0017ffa0: 2862 290a 2020 2d20 5043 492d 4453 5376  (b).  - PCI-DSSv
│ │ │ +0017ffb0: 342d 322e 320a 2020 2d20 5043 492d 4453  4-2.2.  - PCI-DS
│ │ │ +0017ffc0: 5376 342d 322e 322e 340a 2020 2d20 6469  Sv4-2.2.4.  - di
│ │ │ +0017ffd0: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ +0017ffe0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +0017fff0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +00180000: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +00180010: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +00180020: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +00180030: 2d20 7365 7276 6963 655f 6176 6168 692d  - service_avahi-
│ │ │ +00180040: 6461 656d 6f6e 5f64 6973 6162 6c65 640a  daemon_disabled.
│ │ │ +00180050: 0a2d 206e 616d 653a 2044 6973 6162 6c65  .- name: Disable
│ │ │ +00180060: 2041 7661 6869 2053 6572 7665 7220 536f   Avahi Server So
│ │ │ +00180070: 6674 7761 7265 202d 2043 6f6c 6c65 6374  ftware - Collect
│ │ │ +00180080: 2073 7973 7465 6d64 2053 6572 7669 6365   systemd Service
│ │ │ +00180090: 7320 5072 6573 656e 7420 696e 2074 6865  s Present in the
│ │ │ +001800a0: 2053 7973 7465 6d0a 2020 616e 7369 626c   System.  ansibl
│ │ │ +001800b0: 652e 6275 696c 7469 6e2e 636f 6d6d 616e  e.builtin.comman
│ │ │ +001800c0: 643a 2073 7973 7465 6d63 746c 202d 7120  d: systemctl -q 
│ │ │ +001800d0: 6c69 7374 2d75 6e69 742d 6669 6c65 7320  list-unit-files 
│ │ │ +001800e0: 2d2d 7479 7065 2073 6572 7669 6365 0a20  --type service. 
│ │ │ +001800f0: 2072 6567 6973 7465 723a 2073 6572 7669   register: servi
│ │ │ +00180100: 6365 5f65 7869 7374 730a 2020 6368 616e  ce_exists.  chan
│ │ │ +00180110: 6765 645f 7768 656e 3a20 6661 6c73 650a  ged_when: false.
│ │ │ +00180120: 2020 6661 696c 6564 5f77 6865 6e3a 2073    failed_when: s
│ │ │ +00180130: 6572 7669 6365 5f65 7869 7374 732e 7263  ervice_exists.rc
│ │ │ +00180140: 206e 6f74 2069 6e20 5b30 2c20 315d 0a20   not in [0, 1]. 
│ │ │ +00180150: 2063 6865 636b 5f6d 6f64 653a 2066 616c   check_mode: fal
│ │ │ +00180160: 7365 0a20 2077 6865 6e3a 2028 2022 6176  se.  when: ( "av
│ │ │ +00180170: 6168 692d 6461 656d 6f6e 2220 696e 2061  ahi-daemon" in a
│ │ │ +00180180: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +00180190: 6b61 6765 7320 616e 6420 226c 696e 7578  kages and "linux
│ │ │ +001801a0: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ +001801b0: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +001801c0: 0a20 2020 2029 0a20 2074 6167 733a 0a20  .    ).  tags:. 
│ │ │ +001801d0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +001801e0: 4d2d 3628 6129 0a20 202d 204e 4953 542d  M-6(a).  - NIST-
│ │ │ +001801f0: 3830 302d 3533 2d43 4d2d 3728 6129 0a20  800-53-CM-7(a). 
│ │ │ +00180200: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +00180210: 4d2d 3728 6229 0a20 202d 2050 4349 2d44  M-7(b).  - PCI-D
│ │ │ +00180220: 5353 7634 2d32 2e32 0a20 202d 2050 4349  SSv4-2.2.  - PCI
│ │ │ +00180230: 2d44 5353 7634 2d32 2e32 2e34 0a20 202d  -DSSv4-2.2.4.  -
│ │ │ +00180240: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ +00180250: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +00180260: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +00180270: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ +00180280: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ +00180290: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +001802a0: 0a20 202d 2073 6572 7669 6365 5f61 7661  .  - service_ava
│ │ │ +001802b0: 6869 2d64 6165 6d6f 6e5f 6469 7361 626c  hi-daemon_disabl
│ │ │ +001802c0: 6564 0a0a 2d20 6e61 6d65 3a20 4469 7361  ed..- name: Disa
│ │ │ +001802d0: 626c 6520 4176 6168 6920 5365 7276 6572  ble Avahi Server
│ │ │ +001802e0: 2053 6f66 7477 6172 6520 2d20 456e 7375   Software - Ensu
│ │ │ +001802f0: 7265 2061 7661 6869 2d64 6165 6d6f 6e2e  re avahi-daemon.
│ │ │ +00180300: 7365 7276 6963 6520 6973 204d 6173 6b65  service is Maske
│ │ │ +00180310: 640a 2020 616e 7369 626c 652e 6275 696c  d.  ansible.buil
│ │ │ +00180320: 7469 6e2e 7379 7374 656d 643a 0a20 2020  tin.systemd:.   
│ │ │ +00180330: 206e 616d 653a 2061 7661 6869 2d64 6165   name: avahi-dae
│ │ │ +00180340: 6d6f 6e2e 7365 7276 6963 650a 2020 2020  mon.service.    
│ │ │ +00180350: 7374 6174 653a 2073 746f 7070 6564 0a20  state: stopped. 
│ │ │ +00180360: 2020 2065 6e61 626c 6564 3a20 6661 6c73     enabled: fals
│ │ │ +00180370: 650a 2020 2020 6d61 736b 6564 3a20 7472  e.    masked: tr
│ │ │ +00180380: 7565 0a20 2077 6865 6e3a 0a20 202d 2028  ue.  when:.  - (
│ │ │ +00180390: 2022 6176 6168 692d 6461 656d 6f6e 2220   "avahi-daemon" 
│ │ │ +001803a0: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +001803b0: 2e70 6163 6b61 6765 7320 616e 6420 226c  .packages and "l
│ │ │ +001803c0: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ +001803d0: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +001803e0: 6167 6573 0a20 2020 2029 0a20 202d 2073  ages.    ).  - s
│ │ │ +001803f0: 6572 7669 6365 5f65 7869 7374 732e 7374  ervice_exists.st
│ │ │ +00180400: 646f 7574 5f6c 696e 6573 2069 7320 7365  dout_lines is se
│ │ │ +00180410: 6172 6368 2822 6176 6168 692d 6461 656d  arch("avahi-daem
│ │ │ +00180420: 6f6e 2e73 6572 7669 6365 222c 206d 756c  on.service", mul
│ │ │ +00180430: 7469 6c69 6e65 3d54 7275 6529 0a20 2074  tiline=True).  t
│ │ │ +00180440: 6167 733a 0a20 202d 204e 4953 542d 3830  ags:.  - NIST-80
│ │ │ +00180450: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ +00180460: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +00180470: 3728 6129 0a20 202d 204e 4953 542d 3830  7(a).  - NIST-80
│ │ │ +00180480: 302d 3533 2d43 4d2d 3728 6229 0a20 202d  0-53-CM-7(b).  -
│ │ │ +00180490: 2050 4349 2d44 5353 7634 2d32 2e32 0a20   PCI-DSSv4-2.2. 
│ │ │ +001804a0: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ +001804b0: 2e34 0a20 202d 2064 6973 6162 6c65 5f73  .4.  - disable_s
│ │ │ +001804c0: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ +001804d0: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ +001804e0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ +001804f0: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ +00180500: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ +00180510: 6e65 6564 6564 0a20 202d 2073 6572 7669  needed.  - servi
│ │ │ +00180520: 6365 5f61 7661 6869 2d64 6165 6d6f 6e5f  ce_avahi-daemon_
│ │ │ +00180530: 6469 7361 626c 6564 0a0a 2d20 6e61 6d65  disabled..- name
│ │ │ +00180540: 3a20 556e 6974 2053 6f63 6b65 7420 4578  : Unit Socket Ex
│ │ │ +00180550: 6973 7473 202d 2061 7661 6869 2d64 6165  ists - avahi-dae
│ │ │ +00180560: 6d6f 6e2e 736f 636b 6574 0a20 2061 6e73  mon.socket.  ans
│ │ │ +00180570: 6962 6c65 2e62 7569 6c74 696e 2e63 6f6d  ible.builtin.com
│ │ │ +00180580: 6d61 6e64 3a20 7379 7374 656d 6374 6c20  mand: systemctl 
│ │ │ +00180590: 2d71 206c 6973 742d 756e 6974 2d66 696c  -q list-unit-fil
│ │ │ +001805a0: 6573 2061 7661 6869 2d64 6165 6d6f 6e2e  es avahi-daemon.
│ │ │ +001805b0: 736f 636b 6574 0a20 2072 6567 6973 7465  socket.  registe
│ │ │ +001805c0: 723a 2073 6f63 6b65 745f 6669 6c65 5f65  r: socket_file_e
│ │ │ +001805d0: 7869 7374 730a 2020 6368 616e 6765 645f  xists.  changed_
│ │ │ +001805e0: 7768 656e 3a20 6661 6c73 650a 2020 6661  when: false.  fa
│ │ │ +001805f0: 696c 6564 5f77 6865 6e3a 2073 6f63 6b65  iled_when: socke
│ │ │ +00180600: 745f 6669 6c65 5f65 7869 7374 732e 7263  t_file_exists.rc
│ │ │ +00180610: 206e 6f74 2069 6e20 5b30 2c20 315d 0a20   not in [0, 1]. 
│ │ │ +00180620: 2063 6865 636b 5f6d 6f64 653a 2066 616c   check_mode: fal
│ │ │ +00180630: 7365 0a20 2077 6865 6e3a 2028 2022 6176  se.  when: ( "av
│ │ │ +00180640: 6168 692d 6461 656d 6f6e 2220 696e 2061  ahi-daemon" in a
│ │ │ +00180650: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +00180660: 6b61 6765 7320 616e 6420 226c 696e 7578  kages and "linux
│ │ │ +00180670: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ +00180680: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +00180690: 0a20 2020 2029 0a20 2074 6167 733a 0a20  .    ).  tags:. 
│ │ │ +001806a0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +001806b0: 4d2d 3628 6129 0a20 202d 204e 4953 542d  M-6(a).  - NIST-
│ │ │ +001806c0: 3830 302d 3533 2d43 4d2d 3728 6129 0a20  800-53-CM-7(a). 
│ │ │ +001806d0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +001806e0: 4d2d 3728 6229 0a20 202d 2050 4349 2d44  M-7(b).  - PCI-D
│ │ │ +001806f0: 5353 7634 2d32 2e32 0a20 202d 2050 4349  SSv4-2.2.  - PCI
│ │ │ +00180700: 2d44 5353 7634 2d32 2e32 2e34 0a20 202d  -DSSv4-2.2.4.  -
│ │ │ +00180710: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ +00180720: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +00180730: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +00180740: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ +00180750: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ +00180760: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +00180770: 0a20 202d 2073 6572 7669 6365 5f61 7661  .  - service_ava
│ │ │ +00180780: 6869 2d64 6165 6d6f 6e5f 6469 7361 626c  hi-daemon_disabl
│ │ │ +00180790: 6564 0a0a 2d20 6e61 6d65 3a20 4469 7361  ed..- name: Disa
│ │ │ +001807a0: 626c 6520 4176 6168 6920 5365 7276 6572  ble Avahi Server
│ │ │ +001807b0: 2053 6f66 7477 6172 6520 2d20 4469 7361   Software - Disa
│ │ │ +001807c0: 626c 6520 536f 636b 6574 2061 7661 6869  ble Socket avahi
│ │ │ +001807d0: 2d64 6165 6d6f 6e0a 2020 616e 7369 626c  -daemon.  ansibl
│ │ │ +001807e0: 652e 6275 696c 7469 6e2e 7379 7374 656d  e.builtin.system
│ │ │ +001807f0: 643a 0a20 2020 206e 616d 653a 2061 7661  d:.    name: ava
│ │ │ +00180800: 6869 2d64 6165 6d6f 6e2e 736f 636b 6574  hi-daemon.socket
│ │ │ +00180810: 0a20 2020 2065 6e61 626c 6564 3a20 6661  .    enabled: fa
│ │ │ +00180820: 6c73 650a 2020 2020 7374 6174 653a 2073  lse.    state: s
│ │ │ +00180830: 746f 7070 6564 0a20 2020 206d 6173 6b65  topped.    maske
│ │ │ +00180840: 643a 2074 7275 650a 2020 7768 656e 3a0a  d: true.  when:.
│ │ │ +00180850: 2020 2d20 2820 2261 7661 6869 2d64 6165    - ( "avahi-dae
│ │ │ +00180860: 6d6f 6e22 2069 6e20 616e 7369 626c 655f  mon" in ansible_
│ │ │ +00180870: 6661 6374 732e 7061 636b 6167 6573 2061  facts.packages a
│ │ │ +00180880: 6e64 2022 6c69 6e75 782d 6261 7365 2220  nd "linux-base" 
│ │ │ +00180890: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +001808a0: 2e70 6163 6b61 6765 730a 2020 2020 290a  .packages.    ).
│ │ │ +001808b0: 2020 2d20 736f 636b 6574 5f66 696c 655f    - socket_file_
│ │ │ +001808c0: 6578 6973 7473 2e73 7464 6f75 745f 6c69  exists.stdout_li
│ │ │ +001808d0: 6e65 7320 6973 2073 6561 7263 6828 2261  nes is search("a
│ │ │ +001808e0: 7661 6869 2d64 6165 6d6f 6e2e 736f 636b  vahi-daemon.sock
│ │ │ +001808f0: 6574 222c 206d 756c 7469 6c69 6e65 3d54  et", multiline=T
│ │ │ +00180900: 7275 6529 0a20 2074 6167 733a 0a20 202d  rue).  tags:.  -
│ │ │ +00180910: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +00180920: 3628 6129 0a20 202d 204e 4953 542d 3830  6(a).  - NIST-80
│ │ │ +00180930: 302d 3533 2d43 4d2d 3728 6129 0a20 202d  0-53-CM-7(a).  -
│ │ │ +00180940: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +00180950: 3728 6229 0a20 202d 2050 4349 2d44 5353  7(b).  - PCI-DSS
│ │ │ +00180960: 7634 2d32 2e32 0a20 202d 2050 4349 2d44  v4-2.2.  - PCI-D
│ │ │ +00180970: 5353 7634 2d32 2e32 2e34 0a20 202d 2064  SSv4-2.2.4.  - d
│ │ │ +00180980: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ +00180990: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +001809a0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +001809b0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ +001809c0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +001809d0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +001809e0: 202d 2073 6572 7669 6365 5f61 7661 6869   - service_avahi
│ │ │ +001809f0: 2d64 6165 6d6f 6e5f 6469 7361 626c 6564  -daemon_disabled
│ │ │ +00180a00: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +00180ac0: 4b75 6265 726e 6574 6573 2073 6e69 7070 Kubernetes snipp │ │ │ +00180ad0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
Complexity:low
Disrup │ │ │ +0017fe90: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +0017fea0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +0017fee0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +0017fef0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +00180b80: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c
Compl │ │ │ +00180b60: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +00180b70: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +00180b90: 2f74 683e 3c74 643e 6d65 6469 756d 3c2f /th>medium
│ │ │ +00180bb0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +00180bc0: 7472 7565 3c2f 7464 3e3c 2f74 723e 3c74 true
Strategy:< │ │ │ +00180be0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +00180bf0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
apiV
│ │ │ +00180c10: 6572 7369 6f6e 3a20 6d61 6368 696e 6563  ersion: machinec
│ │ │ +00180c20: 6f6e 6669 6775 7261 7469 6f6e 2e6f 7065  onfiguration.ope
│ │ │ +00180c30: 6e73 6869 6674 2e69 6f2f 7631 0a6b 696e  nshift.io/v1.kin
│ │ │ +00180c40: 643a 204d 6163 6869 6e65 436f 6e66 6967  d: MachineConfig
│ │ │ +00180c50: 0a73 7065 633a 0a20 2063 6f6e 6669 673a  .spec:.  config:
│ │ │ +00180c60: 0a20 2020 2069 676e 6974 696f 6e3a 0a20  .    ignition:. 
│ │ │ +00180c70: 2020 2020 2076 6572 7369 6f6e 3a20 332e       version: 3.
│ │ │ +00180c80: 312e 300a 2020 2020 7379 7374 656d 643a  1.0.    systemd:
│ │ │ +00180c90: 0a20 2020 2020 2075 6e69 7473 3a0a 2020  .      units:.  
│ │ │ +00180ca0: 2020 2020 2d20 6e61 6d65 3a20 6176 6168      - name: avah
│ │ │ +00180cb0: 692d 6461 656d 6f6e 2e73 6572 7669 6365  i-daemon.service
│ │ │ +00180cc0: 0a20 2020 2020 2020 2065 6e61 626c 6564  .        enabled
│ │ │ +00180cd0: 3a20 6661 6c73 650a 2020 2020 2020 2020  : false.        
│ │ │ +00180ce0: 6d61 736b 3a20 7472 7565 0a20 2020 2020  mask: true.     
│ │ │ +00180cf0: 202d 206e 616d 653a 2061 7661 6869 2d64   - name: avahi-d
│ │ │ +00180d00: 6165 6d6f 6e2e 736f 636b 6574 0a20 2020  aemon.socket.   
│ │ │ +00180d10: 2020 2020 2065 6e61 626c 6564 3a20 6661       enabled: fa
│ │ │ +00180d20: 6c73 650a 2020 2020 2020 2020 6d61 736b  lse.        mask
│ │ │ +00180d30: 3a20 7472 7565 0a3c 2f63 6f64 653e 3c2f  : true.
Remedi │ │ │ +00180df0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ +00180e00: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +00180e10: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +00180e90: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +00180ec0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +00180ee0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +00180ef0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +00180f10: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ +00180f30: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +00180f40: 6465 2064 6973 6162 6c65 5f61 7661 6869  de disable_avahi
│ │ │ +00180f50: 2d64 6165 6d6f 6e0a 0a63 6c61 7373 2064  -daemon..class d
│ │ │ +00180f60: 6973 6162 6c65 5f61 7661 6869 2d64 6165  isable_avahi-dae
│ │ │ +00180f70: 6d6f 6e20 7b0a 2020 7365 7276 6963 6520  mon {.  service 
│ │ │ +00180f80: 7b27 6176 6168 692d 6461 656d 6f6e 273a  {'avahi-daemon':
│ │ │ +00180f90: 0a20 2020 2065 6e61 626c 6520 3d26 6774  .    enable =>
│ │ │ +00180fa0: 3b20 6661 6c73 652c 0a20 2020 2065 6e73  ; false,.    ens
│ │ │ +00180fb0: 7572 6520 3d26 6774 3b20 2773 746f 7070  ure => 'stopp
│ │ │ +00180fc0: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ed',.  }.}.
Re │ │ │ +00181080: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil │ │ │ +00181090: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip │ │ │ +001810a0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +001810b0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001810c0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001810d0: 7365 2220 6964 3d22 6964 6d32 3132 3438 se" id="idm21248 │ │ │ +001810e0: 223e 3c70 7265 3e3c 636f 6465 3e0a 5b63 ">
.[c
│ │ │ +001810f0: 7573 746f 6d69 7a61 7469 6f6e 732e 7365  ustomizations.se
│ │ │ +00181100: 7276 6963 6573 5d0a 6d61 736b 6564 203d  rvices].masked =
│ │ │ +00181110: 205b 2261 7661 6869 2d64 6165 6d6f 6e22   ["avahi-daemon"
│ │ │ +00181120: 5d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  ].
< │ │ │ 00181130: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediatio │ │ │ -0018a7e0: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr │ │ │ -0018a7f0: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...< │ │ │ -0018a800: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
<
│ │ │ -0018a840: 636f 6465 3e0a 5b63 7573 746f 6d69 7a61  code>.[customiza
│ │ │ -0018a850: 7469 6f6e 732e 7365 7276 6963 6573 5d0a  tions.services].
│ │ │ -0018a860: 656e 6162 6c65 6420 3d20 5b22 6372 6f6e  enabled = ["cron
│ │ │ -0018a870: 225d 0a3c 2f63 6f64 653e 3c2f 7072 653e  "].
│ │ │ -0018a880: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ -0018a930: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ -0018a940: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -0018a980: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -0018a990: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -0018a9a0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -0018a9b0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -0018a9c0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -0018a9d0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -0018a9e0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -0018aa20: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -0018aa30: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -0018aa50: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ -0018aa60: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include e
│ │ │ -0018aa80: 6e61 626c 655f 6372 6f6e 0a0a 636c 6173  nable_cron..clas
│ │ │ -0018aa90: 7320 656e 6162 6c65 5f63 726f 6e20 7b0a  s enable_cron {.
│ │ │ -0018aaa0: 2020 7365 7276 6963 6520 7b27 6372 6f6e    service {'cron
│ │ │ -0018aab0: 273a 0a20 2020 2065 6e61 626c 6520 3d26  ':.    enable =&
│ │ │ -0018aac0: 6774 3b20 7472 7565 2c0a 2020 2020 656e  gt; true,.    en
│ │ │ -0018aad0: 7375 7265 203d 2667 743b 2027 7275 6e6e  sure => 'runn
│ │ │ -0018aae0: 696e 6727 2c0a 2020 7d0a 7d0a 3c2f 636f  ing',.  }.}.
< │ │ │ -0018ab00: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -0018ab10: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -0018ab20: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -0018ab30: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -0018ab40: 646d 3231 3535 3122 2074 6162 696e 6465 dm21551" tabinde │ │ │ -0018ab50: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -0018ab60: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -0018ab70: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -0018ab80: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -0018ab90: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -0018aba0: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ -0018abb0: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
< │ │ │ -0018ac40: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -0018ac60: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -0018acb0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
- name: Gather 
│ │ │ -0018ad00: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ -0018ad10: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ -0018ad20: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ -0018ad30: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ -0018ad40: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -0018ad50: 3628 6129 0a20 202d 2065 6e61 626c 655f  6(a).  - enable_
│ │ │ -0018ad60: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -0018ad70: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -0018ad80: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -0018ad90: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ -0018ada0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -0018adb0: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ -0018adc0: 6963 655f 6372 6f6e 5f65 6e61 626c 6564  ice_cron_enabled
│ │ │ -0018add0: 0a0a 2d20 6e61 6d65 3a20 456e 6162 6c65  ..- name: Enable
│ │ │ -0018ade0: 2063 726f 6e20 5365 7276 6963 6520 2d20   cron Service - 
│ │ │ -0018adf0: 456e 6162 6c65 2073 6572 7669 6365 2063  Enable service c
│ │ │ -0018ae00: 726f 6e0a 2020 626c 6f63 6b3a 0a0a 2020  ron.  block:..  
│ │ │ -0018ae10: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ -0018ae20: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ -0018ae30: 0a20 2020 2070 6163 6b61 6765 5f66 6163  .    package_fac
│ │ │ -0018ae40: 7473 3a0a 2020 2020 2020 6d61 6e61 6765  ts:.      manage
│ │ │ -0018ae50: 723a 2061 7574 6f0a 0a20 202d 206e 616d  r: auto..  - nam
│ │ │ -0018ae60: 653a 2045 6e61 626c 6520 6372 6f6e 2053  e: Enable cron S
│ │ │ -0018ae70: 6572 7669 6365 202d 2045 6e61 626c 6520  ervice - Enable 
│ │ │ -0018ae80: 5365 7276 6963 6520 6372 6f6e 0a20 2020  Service cron.   
│ │ │ -0018ae90: 2061 6e73 6962 6c65 2e62 7569 6c74 696e   ansible.builtin
│ │ │ -0018aea0: 2e73 7973 7465 6d64 3a0a 2020 2020 2020  .systemd:.      
│ │ │ -0018aeb0: 6e61 6d65 3a20 6372 6f6e 0a20 2020 2020  name: cron.     
│ │ │ -0018aec0: 2065 6e61 626c 6564 3a20 7472 7565 0a20   enabled: true. 
│ │ │ -0018aed0: 2020 2020 2073 7461 7465 3a20 7374 6172       state: star
│ │ │ -0018aee0: 7465 640a 2020 2020 2020 6d61 736b 6564  ted.      masked
│ │ │ -0018aef0: 3a20 6661 6c73 650a 2020 2020 7768 656e  : false.    when
│ │ │ -0018af00: 3a0a 2020 2020 2d20 2722 6372 6f6e 2220  :.    - '"cron" 
│ │ │ -0018af10: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -0018af20: 2e70 6163 6b61 6765 7327 0a20 2077 6865  .packages'.  whe
│ │ │ -0018af30: 6e3a 2027 226c 696e 7578 2d62 6173 6522  n: '"linux-base"
│ │ │ -0018af40: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ -0018af50: 732e 7061 636b 6167 6573 270a 2020 7461  s.packages'.  ta
│ │ │ -0018af60: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030  gs:.  - NIST-800
│ │ │ -0018af70: 2d35 332d 434d 2d36 2861 290a 2020 2d20  -53-CM-6(a).  - 
│ │ │ -0018af80: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ -0018af90: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -0018afa0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -0018afb0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -0018afc0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -0018afd0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -0018afe0: 202d 2073 6572 7669 6365 5f63 726f 6e5f   - service_cron_
│ │ │ -0018aff0: 656e 6162 6c65 640a 3c2f 636f 6465 3e3c  enabled.<
│ │ │ +0018a7e0: 6e20 416e 7369 626c 6520 736e 6970 7065  n Ansible snippe
│ │ │ +0018a7f0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469  t ...
│ │ │ +0018a830: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
low
Disr │ │ │ -0018ac70: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -0018ac80: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -0018acc0: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ -0018acd0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
< │ │ │ +0018a8a0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +0018a8c0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +0018a8f0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ +0018a910: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ +0018a880: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +0018a890: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +0018a8d0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +0018a8e0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
- name: │ │ │ +0018a930: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ +0018a940: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ +0018a950: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ +0018a960: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ +0018a970: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800 │ │ │ +0018a980: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). - │ │ │ +0018a990: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy. │ │ │ +0018a9a0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi │ │ │ +0018a9b0: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru │ │ │ +0018a9c0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium │ │ │ +0018a9d0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no │ │ │ +0018a9e0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed. │ │ │ +0018a9f0: 202d 2073 6572 7669 6365 5f63 726f 6e5f - service_cron_ │ │ │ +0018aa00: 656e 6162 6c65 640a 0a2d 206e 616d 653a enabled..- name: │ │ │ +0018aa10: 2045 6e61 626c 6520 6372 6f6e 2053 6572 Enable cron Ser │ │ │ +0018aa20: 7669 6365 202d 2045 6e61 626c 6520 7365 vice - Enable se │ │ │ +0018aa30: 7276 6963 6520 6372 6f6e 0a20 2062 6c6f rvice cron. blo │ │ │ +0018aa40: 636b 3a0a 0a20 202d 206e 616d 653a 2047 ck:.. - name: G │ │ │ +0018aa50: 6174 6865 7220 7468 6520 7061 636b 6167 ather the packag │ │ │ +0018aa60: 6520 6661 6374 730a 2020 2020 7061 636b e facts. pack │ │ │ +0018aa70: 6167 655f 6661 6374 733a 0a20 2020 2020 age_facts:. │ │ │ +0018aa80: 206d 616e 6167 6572 3a20 6175 746f 0a0a manager: auto.. │ │ │ +0018aa90: 2020 2d20 6e61 6d65 3a20 456e 6162 6c65 - name: Enable │ │ │ +0018aaa0: 2063 726f 6e20 5365 7276 6963 6520 2d20 cron Service - │ │ │ +0018aab0: 456e 6162 6c65 2053 6572 7669 6365 2063 Enable Service c │ │ │ +0018aac0: 726f 6e0a 2020 2020 616e 7369 626c 652e ron. ansible. │ │ │ +0018aad0: 6275 696c 7469 6e2e 7379 7374 656d 643a builtin.systemd: │ │ │ +0018aae0: 0a20 2020 2020 206e 616d 653a 2063 726f . name: cro │ │ │ +0018aaf0: 6e0a 2020 2020 2020 656e 6162 6c65 643a n. enabled: │ │ │ +0018ab00: 2074 7275 650a 2020 2020 2020 7374 6174 true. stat │ │ │ +0018ab10: 653a 2073 7461 7274 6564 0a20 2020 2020 e: started. │ │ │ +0018ab20: 206d 6173 6b65 643a 2066 616c 7365 0a20 masked: false. │ │ │ +0018ab30: 2020 2077 6865 6e3a 0a20 2020 202d 2027 when:. - ' │ │ │ +0018ab40: 2263 726f 6e22 2069 6e20 616e 7369 626c "cron" in ansibl │ │ │ +0018ab50: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages │ │ │ +0018ab60: 270a 2020 7768 656e 3a20 2722 6c69 6e75 '. when: '"linu │ │ │ +0018ab70: 782d 6261 7365 2220 696e 2061 6e73 6962 x-base" in ansib │ │ │ +0018ab80: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package │ │ │ +0018ab90: 7327 0a20 2074 6167 733a 0a20 202d 204e s'. tags:. - N │ │ │ +0018aba0: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6( │ │ │ +0018abb0: 6129 0a20 202d 2065 6e61 626c 655f 7374 a). - enable_st │ │ │ +0018abc0: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c │ │ │ +0018abd0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo │ │ │ +0018abe0: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. - │ │ │ +0018abf0: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity │ │ │ +0018ac00: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n │ │ │ +0018ac10: 6565 6465 640a 2020 2d20 7365 7276 6963 eeded. - servic │ │ │ +0018ac20: 655f 6372 6f6e 5f65 6e61 626c 6564 0a3c e_cron_enabled.< │ │ │ +0018ac30: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>Remediation Pu │ │ │ +0018acf0: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ +0018ad00: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ +0018ad90: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +0018adb0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +0018add0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +0018ae00: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +0018ae10: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ +0018ae20: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include enabl
│ │ │ +0018ae40: 655f 6372 6f6e 0a0a 636c 6173 7320 656e  e_cron..class en
│ │ │ +0018ae50: 6162 6c65 5f63 726f 6e20 7b0a 2020 7365  able_cron {.  se
│ │ │ +0018ae60: 7276 6963 6520 7b27 6372 6f6e 273a 0a20  rvice {'cron':. 
│ │ │ +0018ae70: 2020 2065 6e61 626c 6520 3d26 6774 3b20     enable => 
│ │ │ +0018ae80: 7472 7565 2c0a 2020 2020 656e 7375 7265  true,.    ensure
│ │ │ +0018ae90: 203d 2667 743b 2027 7275 6e6e 696e 6727   => 'running'
│ │ │ +0018aea0: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ +0018aeb0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remed │ │ │ +0018af60: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B │ │ │ +0018af70: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet │ │ │ +0018af80: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +0018afc0: 7072 653e 3c63 6f64 653e 0a5b 6375 7374 pre>.[cust │ │ │ +0018afd0: 6f6d 697a 6174 696f 6e73 2e73 6572 7669 omizations.servi │ │ │ +0018afe0: 6365 735d 0a65 6e61 626c 6564 203d 205b ces].enabled = [ │ │ │ +0018aff0: 2263 726f 6e22 5d0a 3c2f 636f 6465 3e3c "cron"].< │ │ │ 0018b000: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remedia │ │ │ -001a5790: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ -001a57a0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -001a57b0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -001a57c0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -001a57d0: 7365 2220 6964 3d22 6964 6d32 3239 3435 se" id="idm22945 │ │ │ -001a57e0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ -001a5830: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -001a5840: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -001a5860: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -001a5880: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -001a5890: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ -001a58d0: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -001a58e0: 6465 2072 656d 6f76 655f 6e69 730a 0a63  de remove_nis..c
│ │ │ -001a58f0: 6c61 7373 2072 656d 6f76 655f 6e69 7320  lass remove_nis 
│ │ │ -001a5900: 7b0a 2020 7061 636b 6167 6520 7b20 276e  {.  package { 'n
│ │ │ -001a5910: 6973 273a 0a20 2020 2065 6e73 7572 6520  is':.    ensure 
│ │ │ -001a5920: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ -001a5930: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ -001a59f0: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ -001a5a00: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001a5a10: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -001a5a90: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -001a5ac0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -001a5ae0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -001a5af0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -001a5b10: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -001a5b20: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -001a5b40: 6d65 3a20 456e 7375 7265 206e 6973 2069  me: Ensure nis i
│ │ │ -001a5b50: 7320 7265 6d6f 7665 640a 2020 7061 636b  s removed.  pack
│ │ │ -001a5b60: 6167 653a 0a20 2020 206e 616d 653a 206e  age:.    name: n
│ │ │ -001a5b70: 6973 0a20 2020 2073 7461 7465 3a20 6162  is.    state: ab
│ │ │ -001a5b80: 7365 6e74 0a20 2074 6167 733a 0a20 202d  sent.  tags:.  -
│ │ │ -001a5b90: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ -001a5ba0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -001a5bb0: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -001a5bc0: 7275 7074 696f 6e0a 2020 2d20 6c6f 775f  ruption.  - low_
│ │ │ -001a5bd0: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -001a5be0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -001a5bf0: 2d20 7061 636b 6167 655f 6e69 735f 7265  - package_nis_re
│ │ │ -001a5c00: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70  moved.


│ │ │ +001a57b0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +001a5830: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +001a5860: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +001a5880: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +001a5890: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +001a58b0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +001a58c0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +001a58e0: 6d65 3a20 456e 7375 7265 206e 6973 2069  me: Ensure nis i
│ │ │ +001a58f0: 7320 7265 6d6f 7665 640a 2020 7061 636b  s removed.  pack
│ │ │ +001a5900: 6167 653a 0a20 2020 206e 616d 653a 206e  age:.    name: n
│ │ │ +001a5910: 6973 0a20 2020 2073 7461 7465 3a20 6162  is.    state: ab
│ │ │ +001a5920: 7365 6e74 0a20 2074 6167 733a 0a20 202d  sent.  tags:.  -
│ │ │ +001a5930: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ +001a5940: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +001a5950: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +001a5960: 7275 7074 696f 6e0a 2020 2d20 6c6f 775f  ruption.  - low_
│ │ │ +001a5970: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +001a5980: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +001a5990: 2d20 7061 636b 6167 655f 6e69 735f 7265  - package_nis_re
│ │ │ +001a59a0: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70  moved.

Remedia │ │ │ +001a5a60: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ +001a5a70: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +001a5a80: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001a5a90: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001a5aa0: 7365 2220 6964 3d22 6964 6d32 3239 3436 se" id="idm22946 │ │ │ +001a5ab0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ +001a5b00: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +001a5b10: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +001a5b30: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +001a5b50: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +001a5b60: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +001a5ba0: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +001a5bb0: 6465 2072 656d 6f76 655f 6e69 730a 0a63  de remove_nis..c
│ │ │ +001a5bc0: 6c61 7373 2072 656d 6f76 655f 6e69 7320  lass remove_nis 
│ │ │ +001a5bd0: 7b0a 2020 7061 636b 6167 6520 7b20 276e  {.  package { 'n
│ │ │ +001a5be0: 6973 273a 0a20 2020 2065 6e73 7572 6520  is':.    ensure 
│ │ │ +001a5bf0: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ +001a5c00: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Re │ │ │ -001a7750: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -001a7760: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -001a7770: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -001a7840: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -001a7850: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -001a78a0: 696e 636c 7564 6520 7265 6d6f 7665 5f69  include remove_i
│ │ │ -001a78b0: 7363 2d64 6863 702d 7365 7276 6572 0a0a  sc-dhcp-server..
│ │ │ -001a78c0: 636c 6173 7320 7265 6d6f 7665 5f69 7363  class remove_isc
│ │ │ -001a78d0: 2d64 6863 702d 7365 7276 6572 207b 0a20  -dhcp-server {. 
│ │ │ -001a78e0: 2070 6163 6b61 6765 207b 2027 6973 632d   package { 'isc-
│ │ │ -001a78f0: 6468 6370 2d73 6572 7665 7227 3a0a 2020  dhcp-server':.  
│ │ │ -001a7900: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ -001a7910: 7075 7267 6564 272c 0a20 207d 0a7d 0a3c  purged',.  }.}.<
│ │ │ -001a7920: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation An │ │ │ -001a79e0: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -001a79f0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ -001a7ab0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001a7ac0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
Complexity:low
Disrup │ │ │ -001a7820: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -001a7830: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -001a7870: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -001a7880: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity │ │ │ -001a7a80: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ -001a7aa0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ -001a7ad0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ -001a7af0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ -001a7b20: 636f 6465 3e2d 206e 616d 653a 2045 6e73  code>- name: Ens
│ │ │ -001a7b30: 7572 6520 6973 632d 6468 6370 2d73 6572  ure isc-dhcp-ser
│ │ │ -001a7b40: 7665 7220 6973 2072 656d 6f76 6564 0a20  ver is removed. 
│ │ │ -001a7b50: 2070 6163 6b61 6765 3a0a 2020 2020 6e61   package:.    na
│ │ │ -001a7b60: 6d65 3a20 6973 632d 6468 6370 2d73 6572  me: isc-dhcp-ser
│ │ │ -001a7b70: 7665 720a 2020 2020 7374 6174 653a 2061  ver.    state: a
│ │ │ -001a7b80: 6273 656e 740a 2020 7461 6773 3a0a 2020  bsent.  tags:.  
│ │ │ -001a7b90: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -001a7ba0: 2d36 2861 290a 2020 2d20 4e49 5354 2d38  -6(a).  - NIST-8
│ │ │ -001a7bb0: 3030 2d35 332d 434d 2d37 2861 290a 2020  00-53-CM-7(a).  
│ │ │ -001a7bc0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -001a7bd0: 2d37 2862 290a 2020 2d20 5043 492d 4453  -7(b).  - PCI-DS
│ │ │ -001a7be0: 5376 342d 322e 320a 2020 2d20 5043 492d  Sv4-2.2.  - PCI-
│ │ │ -001a7bf0: 4453 5376 342d 322e 322e 340a 2020 2d20  DSSv4-2.2.4.  - 
│ │ │ -001a7c00: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ -001a7c10: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -001a7c20: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -001a7c30: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ -001a7c40: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ -001a7c50: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -001a7c60: 2020 2d20 7061 636b 6167 655f 6468 6370    - package_dhcp
│ │ │ -001a7c70: 5f72 656d 6f76 6564 0a3c 2f63 6f64 653e  _removed.
│ │ │ +001a7750: 6d65 6469 6174 696f 6e20 416e 7369 626c  mediation Ansibl
│ │ │ +001a7760: 6520 736e 6970 7065 7420 e287 b23c 2f61  e snippet ...
Complexity: │ │ │ +001a7840: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +001a7850: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
- name: Ensure 
│ │ │ +001a78b0: 6973 632d 6468 6370 2d73 6572 7665 7220  isc-dhcp-server 
│ │ │ +001a78c0: 6973 2072 656d 6f76 6564 0a20 2070 6163  is removed.  pac
│ │ │ +001a78d0: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20  kage:.    name: 
│ │ │ +001a78e0: 6973 632d 6468 6370 2d73 6572 7665 720a  isc-dhcp-server.
│ │ │ +001a78f0: 2020 2020 7374 6174 653a 2061 6273 656e      state: absen
│ │ │ +001a7900: 740a 2020 7461 6773 3a0a 2020 2d20 4e49  t.  tags:.  - NI
│ │ │ +001a7910: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +001a7920: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +001a7930: 332d 434d 2d37 2861 290a 2020 2d20 4e49  3-CM-7(a).  - NI
│ │ │ +001a7940: 5354 2d38 3030 2d35 332d 434d 2d37 2862  ST-800-53-CM-7(b
│ │ │ +001a7950: 290a 2020 2d20 5043 492d 4453 5376 342d  ).  - PCI-DSSv4-
│ │ │ +001a7960: 322e 320a 2020 2d20 5043 492d 4453 5376  2.2.  - PCI-DSSv
│ │ │ +001a7970: 342d 322e 322e 340a 2020 2d20 6469 7361  4-2.2.4.  - disa
│ │ │ +001a7980: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +001a7990: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +001a79a0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +001a79b0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ +001a79c0: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +001a79d0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +001a79e0: 7061 636b 6167 655f 6468 6370 5f72 656d  package_dhcp_rem
│ │ │ +001a79f0: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072  oved.Remediat
│ │ │ +001a7ab0: 696f 6e20 5075 7070 6574 2073 6e69 7070  ion Puppet snipp
│ │ │ +001a7ac0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64  et ...
low
Disru │ │ │ +001a7820: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +001a7830: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +001a7870: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +001a7880: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ +001a7b70: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +001a7b90: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +001a7bc0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +001a7b50: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +001a7b60: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +001a7b80: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +001a7ba0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +001a7bb0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +001a7bf0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ +001a7c00: 6520 7265 6d6f 7665 5f69 7363 2d64 6863 e remove_isc-dhc │ │ │ +001a7c10: 702d 7365 7276 6572 0a0a 636c 6173 7320 p-server..class │ │ │ +001a7c20: 7265 6d6f 7665 5f69 7363 2d64 6863 702d remove_isc-dhcp- │ │ │ +001a7c30: 7365 7276 6572 207b 0a20 2070 6163 6b61 server {. packa │ │ │ +001a7c40: 6765 207b 2027 6973 632d 6468 6370 2d73 ge { 'isc-dhcp-s │ │ │ +001a7c50: 6572 7665 7227 3a0a 2020 2020 656e 7375 erver':. ensu │ │ │ +001a7c60: 7265 203d 2667 743b 2027 7075 7267 6564 re => 'purged │ │ │ +001a7c70: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e ',. }.}. │ │ │ 001a7c80: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remed │ │ │ -001a95b0: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ -001a95c0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -001a9670: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -001a96c0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ -001a9700: 6c75 6465 2072 656d 6f76 655f 6269 6e64  lude remove_bind
│ │ │ -001a9710: 390a 0a63 6c61 7373 2072 656d 6f76 655f  9..class remove_
│ │ │ -001a9720: 6269 6e64 3920 7b0a 2020 7061 636b 6167  bind9 {.  packag
│ │ │ -001a9730: 6520 7b20 2762 696e 6439 273a 0a20 2020  e { 'bind9':.   
│ │ │ -001a9740: 2065 6e73 7572 6520 3d26 6774 3b20 2770   ensure => 'p
│ │ │ -001a9750: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f  urged',.  }.}.
Remediation Ans │ │ │ -001a9820: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -001a9830: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low< │ │ │ -001a9900: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>
Co │ │ │ -001a9650: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -001a9680: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -001a96a0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -001a96b0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -001a96d0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -001a96e0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complexity: │ │ │ -001a98c0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ -001a98e0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ -001a9930: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -001a9940: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Ensu
│ │ │ -001a9970: 7265 2062 696e 6439 2069 7320 7265 6d6f  re bind9 is remo
│ │ │ -001a9980: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ -001a9990: 2020 206e 616d 653a 2062 696e 6439 0a20     name: bind9. 
│ │ │ -001a99a0: 2020 2073 7461 7465 3a20 6162 7365 6e74     state: absent
│ │ │ -001a99b0: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ -001a99c0: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ -001a99d0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -001a99e0: 2d43 4d2d 3728 6129 0a20 202d 204e 4953  -CM-7(a).  - NIS
│ │ │ -001a99f0: 542d 3830 302d 3533 2d43 4d2d 3728 6229  T-800-53-CM-7(b)
│ │ │ -001a9a00: 0a20 202d 2064 6973 6162 6c65 5f73 7472  .  - disable_str
│ │ │ -001a9a10: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ -001a9a20: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -001a9a30: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -001a9a40: 6c6f 775f 7365 7665 7269 7479 0a20 202d  low_severity.  -
│ │ │ -001a9a50: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -001a9a60: 640a 2020 2d20 7061 636b 6167 655f 6269  d.  - package_bi
│ │ │ -001a9a70: 6e64 5f72 656d 6f76 6564 0a3c 2f63 6f64  nd_removed.
< │ │ │ +001a9660: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001a9670: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +001a96c0: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ +001a9700: 6e61 6d65 3a20 456e 7375 7265 2062 696e  name: Ensure bin
│ │ │ +001a9710: 6439 2069 7320 7265 6d6f 7665 640a 2020  d9 is removed.  
│ │ │ +001a9720: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ +001a9730: 653a 2062 696e 6439 0a20 2020 2073 7461  e: bind9.    sta
│ │ │ +001a9740: 7465 3a20 6162 7365 6e74 0a20 2074 6167  te: absent.  tag
│ │ │ +001a9750: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +001a9760: 3533 2d43 4d2d 3628 6129 0a20 202d 204e  53-CM-6(a).  - N
│ │ │ +001a9770: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ +001a9780: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ +001a9790: 3533 2d43 4d2d 3728 6229 0a20 202d 2064  53-CM-7(b).  - d
│ │ │ +001a97a0: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ +001a97b0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +001a97c0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +001a97d0: 7074 696f 6e0a 2020 2d20 6c6f 775f 7365  ption.  - low_se
│ │ │ +001a97e0: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +001a97f0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +001a9800: 7061 636b 6167 655f 6269 6e64 5f72 656d  package_bind_rem
│ │ │ +001a9810: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072  oved.Remediat
│ │ │ +001a98d0: 696f 6e20 5075 7070 6574 2073 6e69 7070  ion Puppet snipp
│ │ │ +001a98e0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64  et ...
C │ │ │ +001a9650: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +001a9680: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +001a9690: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +001a96d0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ +001a96e0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
│ │ │ +001a9990: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +001a99b0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +001a99e0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +001a9970: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +001a9980: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +001a99a0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +001a99c0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +001a99d0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +001a9a10: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ +001a9a20: 6520 7265 6d6f 7665 5f62 696e 6439 0a0a e remove_bind9.. │ │ │ +001a9a30: 636c 6173 7320 7265 6d6f 7665 5f62 696e class remove_bin │ │ │ +001a9a40: 6439 207b 0a20 2070 6163 6b61 6765 207b d9 {. package { │ │ │ +001a9a50: 2027 6269 6e64 3927 3a0a 2020 2020 656e 'bind9':. en │ │ │ +001a9a60: 7375 7265 203d 2667 743b 2027 7075 7267 sure => 'purg │ │ │ +001a9a70: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
R │ │ │ -001ab4b0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ -001ab4c0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity: │ │ │ -001ab5a0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -001ab5b0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ -001ab610: 7673 6674 7064 0a0a 636c 6173 7320 7265  vsftpd..class re
│ │ │ -001ab620: 6d6f 7665 5f76 7366 7470 6420 7b0a 2020  move_vsftpd {.  
│ │ │ -001ab630: 7061 636b 6167 6520 7b20 2776 7366 7470  package { 'vsftp
│ │ │ -001ab640: 6427 3a0a 2020 2020 656e 7375 7265 203d  d':.    ensure =
│ │ │ -001ab650: 2667 743b 2027 7075 7267 6564 272c 0a20  > 'purged',. 
│ │ │ -001ab660: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.Remediat
│ │ │ -001ab720: 696f 6e20 416e 7369 626c 6520 736e 6970  ion Ansible snip
│ │ │ -001ab730: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c  pet ...
< │ │ │ -001ab740: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -001ab750: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -001ab760: 7365 2220 6964 3d22 6964 6d32 3335 3531 se" id="idm23551 │ │ │ -001ab770: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
low
Disru │ │ │ -001ab580: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -001ab590: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -001ab5d0: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ -001ab5e0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Comp │ │ │ -001ab7c0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -001ab7d0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -001ab7f0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -001ab810: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -001ab820: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ -001ab860: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ -001ab870: 653a 2045 6e73 7572 6520 7673 6674 7064  e: Ensure vsftpd
│ │ │ -001ab880: 2069 7320 7265 6d6f 7665 640a 2020 7061   is removed.  pa
│ │ │ -001ab890: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ -001ab8a0: 2076 7366 7470 640a 2020 2020 7374 6174   vsftpd.    stat
│ │ │ -001ab8b0: 653a 2061 6273 656e 740a 2020 7461 6773  e: absent.  tags
│ │ │ -001ab8c0: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ -001ab8d0: 332d 434d 2d36 2861 290a 2020 2d20 4e49  3-CM-6(a).  - NI
│ │ │ -001ab8e0: 5354 2d38 3030 2d35 332d 434d 2d37 0a20  ST-800-53-CM-7. 
│ │ │ -001ab8f0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -001ab900: 4d2d 3728 6129 0a20 202d 204e 4953 542d  M-7(a).  - NIST-
│ │ │ -001ab910: 3830 302d 3533 2d43 4d2d 3728 6229 0a20  800-53-CM-7(b). 
│ │ │ -001ab920: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -001ab930: 4d2d 372e 3128 6969 290a 2020 2d20 4e49  M-7.1(ii).  - NI
│ │ │ -001ab940: 5354 2d38 3030 2d35 332d 4941 2d35 2831  ST-800-53-IA-5(1
│ │ │ -001ab950: 2928 6329 0a20 202d 204e 4953 542d 3830  )(c).  - NIST-80
│ │ │ -001ab960: 302d 3533 2d49 412d 3528 3129 2e31 2876  0-53-IA-5(1).1(v
│ │ │ -001ab970: 290a 2020 2d20 6469 7361 626c 655f 7374  ).  - disable_st
│ │ │ -001ab980: 7261 7465 6779 0a20 202d 2068 6967 685f  rategy.  - high_
│ │ │ -001ab990: 7365 7665 7269 7479 0a20 202d 206c 6f77  severity.  - low
│ │ │ -001ab9a0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -001ab9b0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -001ab9c0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -001ab9d0: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ -001ab9e0: 7673 6674 7064 5f72 656d 6f76 6564 0a3c  vsftpd_removed.<
│ │ │ +001ab4b0: 656d 6564 6961 7469 6f6e 2041 6e73 6962  emediation Ansib
│ │ │ +001ab4c0: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f  le snippet ...
< │ │ │ +001ab550: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +001ab570: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +001ab5c0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +001ab5f0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Ensure
│ │ │ +001ab610: 2076 7366 7470 6420 6973 2072 656d 6f76   vsftpd is remov
│ │ │ +001ab620: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ +001ab630: 2020 6e61 6d65 3a20 7673 6674 7064 0a20    name: vsftpd. 
│ │ │ +001ab640: 2020 2073 7461 7465 3a20 6162 7365 6e74     state: absent
│ │ │ +001ab650: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ +001ab660: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ +001ab670: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +001ab680: 2d43 4d2d 370a 2020 2d20 4e49 5354 2d38  -CM-7.  - NIST-8
│ │ │ +001ab690: 3030 2d35 332d 434d 2d37 2861 290a 2020  00-53-CM-7(a).  
│ │ │ +001ab6a0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +001ab6b0: 2d37 2862 290a 2020 2d20 4e49 5354 2d38  -7(b).  - NIST-8
│ │ │ +001ab6c0: 3030 2d35 332d 434d 2d37 2e31 2869 6929  00-53-CM-7.1(ii)
│ │ │ +001ab6d0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +001ab6e0: 2d49 412d 3528 3129 2863 290a 2020 2d20  -IA-5(1)(c).  - 
│ │ │ +001ab6f0: 4e49 5354 2d38 3030 2d35 332d 4941 2d35  NIST-800-53-IA-5
│ │ │ +001ab700: 2831 292e 3128 7629 0a20 202d 2064 6973  (1).1(v).  - dis
│ │ │ +001ab710: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +001ab720: 2d20 6869 6768 5f73 6576 6572 6974 790a  - high_severity.
│ │ │ +001ab730: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +001ab740: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +001ab750: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562  ption.  - no_reb
│ │ │ +001ab760: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ +001ab770: 6163 6b61 6765 5f76 7366 7470 645f 7265  ackage_vsftpd_re
│ │ │ +001ab780: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70  moved.

Remedia │ │ │ +001ab840: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ +001ab850: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +001ab860: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001ab870: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001ab880: 7365 2220 6964 3d22 6964 6d32 3335 3531 se" id="idm23551 │ │ │ +001ab890: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
low
Disr │ │ │ +001ab580: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +001ab590: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +001ab5d0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +001ab5e0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
Comp │ │ │ +001ab8e0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +001ab8f0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +001ab910: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +001ab930: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +001ab940: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +001ab980: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +001ab990: 6465 2072 656d 6f76 655f 7673 6674 7064  de remove_vsftpd
│ │ │ +001ab9a0: 0a0a 636c 6173 7320 7265 6d6f 7665 5f76  ..class remove_v
│ │ │ +001ab9b0: 7366 7470 6420 7b0a 2020 7061 636b 6167  sftpd {.  packag
│ │ │ +001ab9c0: 6520 7b20 2776 7366 7470 6427 3a0a 2020  e { 'vsftpd':.  
│ │ │ +001ab9d0: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ +001ab9e0: 7075 7267 6564 272c 0a20 207d 0a7d 0a3c  purged',.  }.}.<
│ │ │  001ab9f0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
│ │ │ -001ad320: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ -001ad330: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
< │ │ │ -001ad3c0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -001ad3e0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -001ad430: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ -001ad460: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include remove
│ │ │ -001ad480: 5f61 7061 6368 6532 0a0a 636c 6173 7320  _apache2..class 
│ │ │ -001ad490: 7265 6d6f 7665 5f61 7061 6368 6532 207b  remove_apache2 {
│ │ │ -001ad4a0: 0a20 2070 6163 6b61 6765 207b 2027 6170  .  package { 'ap
│ │ │ -001ad4b0: 6163 6865 3227 3a0a 2020 2020 656e 7375  ache2':.    ensu
│ │ │ -001ad4c0: 7265 203d 2667 743b 2027 7075 7267 6564  re => 'purged
│ │ │ -001ad4d0: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │ -001ad4e0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ -001ad590: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible │ │ │ -001ad5a0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -001ad5b0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
low
Disr │ │ │ -001ad3f0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -001ad400: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -001ad440: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ -001ad450: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
│ │ │ -001ad640: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
-
│ │ │ -001ad6e0: 206e 616d 653a 2045 6e73 7572 6520 6170   name: Ensure ap
│ │ │ -001ad6f0: 6163 6865 3220 6973 2072 656d 6f76 6564  ache2 is removed
│ │ │ -001ad700: 0a20 2070 6163 6b61 6765 3a0a 2020 2020  .  package:.    
│ │ │ -001ad710: 6e61 6d65 3a20 6170 6163 6865 320a 2020  name: apache2.  
│ │ │ -001ad720: 2020 7374 6174 653a 2061 6273 656e 740a    state: absent.
│ │ │ -001ad730: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ -001ad740: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ -001ad750: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -001ad760: 434d 2d37 2861 290a 2020 2d20 4e49 5354  CM-7(a).  - NIST
│ │ │ -001ad770: 2d38 3030 2d35 332d 434d 2d37 2862 290a  -800-53-CM-7(b).
│ │ │ -001ad780: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ -001ad790: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ -001ad7a0: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -001ad7b0: 6469 7372 7570 7469 6f6e 0a20 202d 206e  disruption.  - n
│ │ │ -001ad7c0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -001ad7d0: 2020 2d20 7061 636b 6167 655f 6874 7470    - package_http
│ │ │ -001ad7e0: 645f 7265 6d6f 7665 640a 2020 2d20 756e  d_removed.  - un
│ │ │ -001ad7f0: 6b6e 6f77 6e5f 7365 7665 7269 7479 0a3c  known_severity.<
│ │ │ +001ad320: 5265 6d65 6469 6174 696f 6e20 416e 7369  Remediation Ansi
│ │ │ +001ad330: 626c 6520 736e 6970 7065 7420 e287 b23c  ble snippet ...<
│ │ │ +001ad340: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173  /a>
│ │ │ -001ad630: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -001ad660: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -001ad670: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -001ad6b0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ -001ad6c0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
│ │ │ +001ad3c0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +001ad3e0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +001ad430: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ +001ad460: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ +001ad3d0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +001ad3f0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +001ad440: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ +001ad450: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
- name: Ensur
│ │ │ +001ad480: 6520 6170 6163 6865 3220 6973 2072 656d  e apache2 is rem
│ │ │ +001ad490: 6f76 6564 0a20 2070 6163 6b61 6765 3a0a  oved.  package:.
│ │ │ +001ad4a0: 2020 2020 6e61 6d65 3a20 6170 6163 6865      name: apache
│ │ │ +001ad4b0: 320a 2020 2020 7374 6174 653a 2061 6273  2.    state: abs
│ │ │ +001ad4c0: 656e 740a 2020 7461 6773 3a0a 2020 2d20  ent.  tags:.  - 
│ │ │ +001ad4d0: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ +001ad4e0: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ +001ad4f0: 2d35 332d 434d 2d37 2861 290a 2020 2d20  -53-CM-7(a).  - 
│ │ │ +001ad500: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ +001ad510: 2862 290a 2020 2d20 6469 7361 626c 655f  (b).  - disable_
│ │ │ +001ad520: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ +001ad530: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +001ad540: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +001ad550: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +001ad560: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ +001ad570: 6874 7470 645f 7265 6d6f 7665 640a 2020  httpd_removed.  
│ │ │ +001ad580: 2d20 756e 6b6e 6f77 6e5f 7365 7665 7269  - unknown_severi
│ │ │ +001ad590: 7479 0a3c 2f63 6f64 653e 3c2f 7072 653e  ty.
│ │ │ +001ad5a0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ +001ad650: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ +001ad660: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +001ad6a0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +001ad6b0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +001ad6c0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +001ad6d0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +001ad6e0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +001ad6f0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +001ad700: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +001ad740: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +001ad750: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +001ad770: 3c74 643e 6469 7361 626c 653c 2f74 643e disable │ │ │ +001ad780: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 include │ │ │ +001ad7a0: 7265 6d6f 7665 5f61 7061 6368 6532 0a0a remove_apache2.. │ │ │ +001ad7b0: 636c 6173 7320 7265 6d6f 7665 5f61 7061 class remove_apa │ │ │ +001ad7c0: 6368 6532 207b 0a20 2070 6163 6b61 6765 che2 {. package │ │ │ +001ad7d0: 207b 2027 6170 6163 6865 3227 3a0a 2020 { 'apache2':. │ │ │ +001ad7e0: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => ' │ │ │ +001ad7f0: 7075 7267 6564 272c 0a20 207d 0a7d 0a3c purged',. }.}.< │ │ │ 001ad800: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
Remed │ │ │ -001aebb0: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ -001aebc0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -001aec70: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -001aecc0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ -001aed00: 6c75 6465 2072 656d 6f76 655f 6e67 696e  lude remove_ngin
│ │ │ -001aed10: 780a 0a63 6c61 7373 2072 656d 6f76 655f  x..class remove_
│ │ │ -001aed20: 6e67 696e 7820 7b0a 2020 7061 636b 6167  nginx {.  packag
│ │ │ -001aed30: 6520 7b20 276e 6769 6e78 273a 0a20 2020  e { 'nginx':.   
│ │ │ -001aed40: 2065 6e73 7572 6520 3d26 6774 3b20 2770   ensure => 'p
│ │ │ -001aed50: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f  urged',.  }.}.
Remediation Ans │ │ │ -001aee20: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -001aee30: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low< │ │ │ -001aef00: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>
Co │ │ │ -001aec50: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -001aec80: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -001aeca0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -001aecb0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -001aecd0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -001aece0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complexity: │ │ │ -001aeec0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ -001aeee0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ -001aef30: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -001aef40: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Ensu
│ │ │ -001aef70: 7265 206e 6769 6e78 2069 7320 7265 6d6f  re nginx is remo
│ │ │ -001aef80: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ -001aef90: 2020 206e 616d 653a 206e 6769 6e78 0a20     name: nginx. 
│ │ │ -001aefa0: 2020 2073 7461 7465 3a20 6162 7365 6e74     state: absent
│ │ │ -001aefb0: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ -001aefc0: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ -001aefd0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -001aefe0: 2d43 4d2d 3728 6129 0a20 202d 204e 4953  -CM-7(a).  - NIS
│ │ │ -001aeff0: 542d 3830 302d 3533 2d43 4d2d 3728 6229  T-800-53-CM-7(b)
│ │ │ -001af000: 0a20 202d 2064 6973 6162 6c65 5f73 7472  .  - disable_str
│ │ │ -001af010: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ -001af020: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -001af030: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -001af040: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -001af050: 0a20 202d 2070 6163 6b61 6765 5f6e 6769  .  - package_ngi
│ │ │ -001af060: 6e78 5f72 656d 6f76 6564 0a20 202d 2075  nx_removed.  - u
│ │ │ -001af070: 6e6b 6e6f 776e 5f73 6576 6572 6974 790a  nknown_severity.
│ │ │ +001aebb0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073  iation Ansible s
│ │ │ +001aebc0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62  nippet ...
< │ │ │ +001aec60: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001aec70: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +001aecc0: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ +001aed00: 6e61 6d65 3a20 456e 7375 7265 206e 6769  name: Ensure ngi
│ │ │ +001aed10: 6e78 2069 7320 7265 6d6f 7665 640a 2020  nx is removed.  
│ │ │ +001aed20: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ +001aed30: 653a 206e 6769 6e78 0a20 2020 2073 7461  e: nginx.    sta
│ │ │ +001aed40: 7465 3a20 6162 7365 6e74 0a20 2074 6167  te: absent.  tag
│ │ │ +001aed50: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +001aed60: 3533 2d43 4d2d 3628 6129 0a20 202d 204e  53-CM-6(a).  - N
│ │ │ +001aed70: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ +001aed80: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ +001aed90: 3533 2d43 4d2d 3728 6229 0a20 202d 2064  53-CM-7(b).  - d
│ │ │ +001aeda0: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ +001aedb0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +001aedc0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +001aedd0: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562  ption.  - no_reb
│ │ │ +001aede0: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ +001aedf0: 6163 6b61 6765 5f6e 6769 6e78 5f72 656d  ackage_nginx_rem
│ │ │ +001aee00: 6f76 6564 0a20 202d 2075 6e6b 6e6f 776e  oved.  - unknown
│ │ │ +001aee10: 5f73 6576 6572 6974 790a 3c2f 636f 6465  _severity.
Rem │ │ │ +001aeed0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ +001aeee0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +001aeef0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
C │ │ │ +001aec50: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +001aec80: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +001aec90: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +001aecd0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ +001aece0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
│ │ │ +001aef80: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
i
│ │ │ +001af020: 6e63 6c75 6465 2072 656d 6f76 655f 6e67  nclude remove_ng
│ │ │ +001af030: 696e 780a 0a63 6c61 7373 2072 656d 6f76  inx..class remov
│ │ │ +001af040: 655f 6e67 696e 7820 7b0a 2020 7061 636b  e_nginx {.  pack
│ │ │ +001af050: 6167 6520 7b20 276e 6769 6e78 273a 0a20  age { 'nginx':. 
│ │ │ +001af060: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ +001af070: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a  'purged',.  }.}.
│ │ │  001af080: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remed │ │ │ -001b0330: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ -001b0340: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
│ │ │ +001aef70: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +001aefa0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +001aefb0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +001aeff0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +001af000: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
low< │ │ │ -001b03f0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -001b0440: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ -001b0480: 6c75 6465 2072 656d 6f76 655f 6379 7275  lude remove_cyru
│ │ │ -001b0490: 732d 696d 6170 640a 0a63 6c61 7373 2072  s-imapd..class r
│ │ │ -001b04a0: 656d 6f76 655f 6379 7275 732d 696d 6170  emove_cyrus-imap
│ │ │ -001b04b0: 6420 7b0a 2020 7061 636b 6167 6520 7b20  d {.  package { 
│ │ │ -001b04c0: 2763 7972 7573 2d69 6d61 7064 273a 0a20  'cyrus-imapd':. 
│ │ │ -001b04d0: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ -001b04e0: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a  'purged',.  }.}.
│ │ │ -001b04f0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation A │ │ │ -001b05b0: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet . │ │ │ -001b05c0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -001b0640: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ -001b0680: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 disable
Co │ │ │ -001b03d0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -001b0400: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -001b0420: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -001b0430: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -001b0450: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -001b0460: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complexit │ │ │ -001b0650: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ -001b0670: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ -001b06a0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -001b06c0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
│ │ │ -001b06f0: 3c63 6f64 653e 2d20 6e61 6d65 3a20 456e  - name: En
│ │ │ -001b0700: 7375 7265 2063 7972 7573 2d69 6d61 7064  sure cyrus-imapd
│ │ │ -001b0710: 2069 7320 7265 6d6f 7665 640a 2020 7061   is removed.  pa
│ │ │ -001b0720: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ -001b0730: 2063 7972 7573 2d69 6d61 7064 0a20 2020   cyrus-imapd.   
│ │ │ -001b0740: 2073 7461 7465 3a20 6162 7365 6e74 0a20   state: absent. 
│ │ │ -001b0750: 2074 6167 733a 0a20 202d 2064 6973 6162   tags:.  - disab
│ │ │ -001b0760: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -001b0770: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -001b0780: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -001b0790: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f  n.  - no_reboot_
│ │ │ -001b07a0: 6e65 6564 6564 0a20 202d 2070 6163 6b61  needed.  - packa
│ │ │ -001b07b0: 6765 5f63 7972 7573 2d69 6d61 7064 5f72  ge_cyrus-imapd_r
│ │ │ -001b07c0: 656d 6f76 6564 0a20 202d 2075 6e6b 6e6f  emoved.  - unkno
│ │ │ -001b07d0: 776e 5f73 6576 6572 6974 790a 3c2f 636f  wn_severity.
< │ │ │ +001b03e0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001b03f0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +001b0440: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ +001b0480: 6e61 6d65 3a20 456e 7375 7265 2063 7972  name: Ensure cyr
│ │ │ +001b0490: 7573 2d69 6d61 7064 2069 7320 7265 6d6f  us-imapd is remo
│ │ │ +001b04a0: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ +001b04b0: 2020 206e 616d 653a 2063 7972 7573 2d69     name: cyrus-i
│ │ │ +001b04c0: 6d61 7064 0a20 2020 2073 7461 7465 3a20  mapd.    state: 
│ │ │ +001b04d0: 6162 7365 6e74 0a20 2074 6167 733a 0a20  absent.  tags:. 
│ │ │ +001b04e0: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ +001b04f0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +001b0500: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +001b0510: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f  isruption.  - no
│ │ │ +001b0520: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +001b0530: 202d 2070 6163 6b61 6765 5f63 7972 7573   - package_cyrus
│ │ │ +001b0540: 2d69 6d61 7064 5f72 656d 6f76 6564 0a20  -imapd_removed. 
│ │ │ +001b0550: 202d 2075 6e6b 6e6f 776e 5f73 6576 6572   - unknown_sever
│ │ │ +001b0560: 6974 790a 3c2f 636f 6465 3e3c 2f70 7265  ity.
Remediati │ │ │ +001b0620: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ +001b0630: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +001b0670: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
C │ │ │ +001b03d0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +001b0400: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +001b0410: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +001b0450: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ +001b0460: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
< │ │ │ +001b06e0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +001b0700: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +001b0730: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ +001b06c0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +001b06d0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +001b0710: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +001b0720: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ +001b0770: 2072 656d 6f76 655f 6379 7275 732d 696d remove_cyrus-im │ │ │ +001b0780: 6170 640a 0a63 6c61 7373 2072 656d 6f76 apd..class remov │ │ │ +001b0790: 655f 6379 7275 732d 696d 6170 6420 7b0a e_cyrus-imapd {. │ │ │ +001b07a0: 2020 7061 636b 6167 6520 7b20 2763 7972 package { 'cyr │ │ │ +001b07b0: 7573 2d69 6d61 7064 273a 0a20 2020 2065 us-imapd':. e │ │ │ +001b07c0: 6e73 7572 6520 3d26 6774 3b20 2770 7572 nsure => 'pur │ │ │ +001b07d0: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f ged',. }.}.

< │ │ │ 001b07f0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 001b0800: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 001b0810: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 001b0820: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 001b0830: 646d 3233 3737 3922 2074 6162 696e 6465 dm23779" tabinde │ │ │ 001b0840: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ @@ -110947,89 +110947,89 @@ │ │ │ 001b1620: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 001b1630: 646d 3233 3739 3422 2074 6162 696e 6465 dm23794" tabinde │ │ │ 001b1640: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ 001b1650: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ 001b1660: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ 001b1670: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ 001b1680: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -001b1690: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ -001b16a0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity: │ │ │ -001b1780: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -001b1790: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ -001b17f0: 646f 7665 636f 742d 636f 7265 0a0a 636c  dovecot-core..cl
│ │ │ -001b1800: 6173 7320 7265 6d6f 7665 5f64 6f76 6563  ass remove_dovec
│ │ │ -001b1810: 6f74 2d63 6f72 6520 7b0a 2020 7061 636b  ot-core {.  pack
│ │ │ -001b1820: 6167 6520 7b20 2764 6f76 6563 6f74 2d63  age { 'dovecot-c
│ │ │ -001b1830: 6f72 6527 3a0a 2020 2020 656e 7375 7265  ore':.    ensure
│ │ │ -001b1840: 203d 2667 743b 2027 7075 7267 6564 272c   => 'purged',
│ │ │ -001b1850: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.Remedi
│ │ │ -001b1910: 6174 696f 6e20 416e 7369 626c 6520 736e  ation Ansible sn
│ │ │ -001b1920: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
low
Disru │ │ │ -001b1760: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -001b1770: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -001b17b0: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ -001b17c0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
low< │ │ │ -001b19d0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -001b1a20: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ -001b1a60: 616d 653a 2045 6e73 7572 6520 646f 7665  ame: Ensure dove
│ │ │ -001b1a70: 636f 742d 636f 7265 2069 7320 7265 6d6f  cot-core is remo
│ │ │ -001b1a80: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ -001b1a90: 2020 206e 616d 653a 2064 6f76 6563 6f74     name: dovecot
│ │ │ -001b1aa0: 2d63 6f72 650a 2020 2020 7374 6174 653a  -core.    state:
│ │ │ -001b1ab0: 2061 6273 656e 740a 2020 7461 6773 3a0a   absent.  tags:.
│ │ │ -001b1ac0: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ -001b1ad0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ -001b1ae0: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -001b1af0: 6469 7372 7570 7469 6f6e 0a20 202d 206e  disruption.  - n
│ │ │ -001b1b00: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -001b1b10: 2020 2d20 7061 636b 6167 655f 646f 7665    - package_dove
│ │ │ -001b1b20: 636f 745f 7265 6d6f 7665 640a 2020 2d20  cot_removed.  - 
│ │ │ -001b1b30: 756e 6b6e 6f77 6e5f 7365 7665 7269 7479  unknown_severity
│ │ │ +001b1690: 656d 6564 6961 7469 6f6e 2041 6e73 6962  emediation Ansib
│ │ │ +001b16a0: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f  le snippet ...
Co │ │ │ -001b19b0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -001b19e0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -001b1a00: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -001b1a10: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -001b1a30: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -001b1a40: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
< │ │ │ +001b1730: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +001b1750: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +001b17a0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +001b17d0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Ensure
│ │ │ +001b17f0: 2064 6f76 6563 6f74 2d63 6f72 6520 6973   dovecot-core is
│ │ │ +001b1800: 2072 656d 6f76 6564 0a20 2070 6163 6b61   removed.  packa
│ │ │ +001b1810: 6765 3a0a 2020 2020 6e61 6d65 3a20 646f  ge:.    name: do
│ │ │ +001b1820: 7665 636f 742d 636f 7265 0a20 2020 2073  vecot-core.    s
│ │ │ +001b1830: 7461 7465 3a20 6162 7365 6e74 0a20 2074  tate: absent.  t
│ │ │ +001b1840: 6167 733a 0a20 202d 2064 6973 6162 6c65  ags:.  - disable
│ │ │ +001b1850: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ +001b1860: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ +001b1870: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ +001b1880: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ +001b1890: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ +001b18a0: 5f64 6f76 6563 6f74 5f72 656d 6f76 6564  _dovecot_removed
│ │ │ +001b18b0: 0a20 202d 2075 6e6b 6e6f 776e 5f73 6576  .  - unknown_sev
│ │ │ +001b18c0: 6572 6974 790a 3c2f 636f 6465 3e3c 2f70  erity.

Remedia │ │ │ +001b1980: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ +001b1990: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +001b19a0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001b19b0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001b19c0: 7365 2220 6964 3d22 6964 6d32 3337 3935 se" id="idm23795 │ │ │ +001b19d0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
low
Disr │ │ │ +001b1760: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +001b1770: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +001b17b0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +001b17c0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
Comp │ │ │ +001b1a20: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +001b1a30: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +001b1a50: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +001b1a70: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +001b1a80: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +001b1ac0: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +001b1ad0: 6465 2072 656d 6f76 655f 646f 7665 636f  de remove_doveco
│ │ │ +001b1ae0: 742d 636f 7265 0a0a 636c 6173 7320 7265  t-core..class re
│ │ │ +001b1af0: 6d6f 7665 5f64 6f76 6563 6f74 2d63 6f72  move_dovecot-cor
│ │ │ +001b1b00: 6520 7b0a 2020 7061 636b 6167 6520 7b20  e {.  package { 
│ │ │ +001b1b10: 2764 6f76 6563 6f74 2d63 6f72 6527 3a0a  'dovecot-core':.
│ │ │ +001b1b20: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +001b1b30: 2027 7075 7267 6564 272c 0a20 207d 0a7d   'purged',.  }.}
│ │ │  001b1b40: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
R │ │ │ -001b31c0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ -001b31d0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity: │ │ │ -001b32b0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -001b32c0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ -001b3320: 6c64 6170 2d75 7469 6c73 0a0a 636c 6173  ldap-utils..clas
│ │ │ -001b3330: 7320 7265 6d6f 7665 5f6c 6461 702d 7574  s remove_ldap-ut
│ │ │ -001b3340: 696c 7320 7b0a 2020 7061 636b 6167 6520  ils {.  package 
│ │ │ -001b3350: 7b20 276c 6461 702d 7574 696c 7327 3a0a  { 'ldap-utils':.
│ │ │ -001b3360: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -001b3370: 2027 7075 7267 6564 272c 0a20 207d 0a7d   'purged',.  }.}
│ │ │ -001b3380: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -001b3440: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -001b3450: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001b34d0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ -001b3560: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -001b3570: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
low
Disru │ │ │ -001b3290: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -001b32a0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -001b32e0: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ -001b32f0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complexi │ │ │ -001b34e0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -001b34f0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ -001b3530: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -001b3540: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
- name: E
│ │ │ -001b3590: 6e73 7572 6520 6c64 6170 2d75 7469 6c73  nsure ldap-utils
│ │ │ -001b35a0: 2069 7320 7265 6d6f 7665 640a 2020 7061   is removed.  pa
│ │ │ -001b35b0: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ -001b35c0: 206c 6461 702d 7574 696c 730a 2020 2020   ldap-utils.    
│ │ │ -001b35d0: 7374 6174 653a 2061 6273 656e 740a 2020  state: absent.  
│ │ │ -001b35e0: 7461 6773 3a0a 2020 2d20 6469 7361 626c  tags:.  - disabl
│ │ │ -001b35f0: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ -001b3600: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ -001b3610: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -001b3620: 0a20 202d 206c 6f77 5f73 6576 6572 6974  .  - low_severit
│ │ │ -001b3630: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ -001b3640: 6e65 6564 6564 0a20 202d 2070 6163 6b61  needed.  - packa
│ │ │ -001b3650: 6765 5f6f 7065 6e6c 6461 702d 636c 6965  ge_openldap-clie
│ │ │ -001b3660: 6e74 735f 7265 6d6f 7665 640a 3c2f 636f  nts_removed.
< │ │ │ +001b3260: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +001b3280: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +001b32d0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +001b3300: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Ensure
│ │ │ +001b3320: 206c 6461 702d 7574 696c 7320 6973 2072   ldap-utils is r
│ │ │ +001b3330: 656d 6f76 6564 0a20 2070 6163 6b61 6765  emoved.  package
│ │ │ +001b3340: 3a0a 2020 2020 6e61 6d65 3a20 6c64 6170  :.    name: ldap
│ │ │ +001b3350: 2d75 7469 6c73 0a20 2020 2073 7461 7465  -utils.    state
│ │ │ +001b3360: 3a20 6162 7365 6e74 0a20 2074 6167 733a  : absent.  tags:
│ │ │ +001b3370: 0a20 202d 2064 6973 6162 6c65 5f73 7472  .  - disable_str
│ │ │ +001b3380: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ +001b3390: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +001b33a0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +001b33b0: 6c6f 775f 7365 7665 7269 7479 0a20 202d  low_severity.  -
│ │ │ +001b33c0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +001b33d0: 640a 2020 2d20 7061 636b 6167 655f 6f70  d.  - package_op
│ │ │ +001b33e0: 656e 6c64 6170 2d63 6c69 656e 7473 5f72  enldap-clients_r
│ │ │ +001b33f0: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f  emoved.Remedi
│ │ │ +001b34b0: 6174 696f 6e20 5075 7070 6574 2073 6e69  ation Puppet sni
│ │ │ +001b34c0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e  ppet ...
│ │ │ +001b34d0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
low
Disr │ │ │ +001b3290: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +001b32a0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +001b32e0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +001b32f0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
Com │ │ │ +001b3550: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +001b3580: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +001b35a0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +001b35b0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +001b35d0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +001b35e0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +001b3600: 7564 6520 7265 6d6f 7665 5f6c 6461 702d  ude remove_ldap-
│ │ │ +001b3610: 7574 696c 730a 0a63 6c61 7373 2072 656d  utils..class rem
│ │ │ +001b3620: 6f76 655f 6c64 6170 2d75 7469 6c73 207b  ove_ldap-utils {
│ │ │ +001b3630: 0a20 2070 6163 6b61 6765 207b 2027 6c64  .  package { 'ld
│ │ │ +001b3640: 6170 2d75 7469 6c73 273a 0a20 2020 2065  ap-utils':.    e
│ │ │ +001b3650: 6e73 7572 6520 3d26 6774 3b20 2770 7572  nsure => 'pur
│ │ │ +001b3660: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ged',.  }.}.
< │ │ │ 001b3680: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 001b3690: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 001b36a0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 001b36b0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 001b36c0: 646d 3233 3831 3822 2074 6162 696e 6465 dm23818" tabinde │ │ │ 001b36d0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ @@ -111798,92 +111798,92 @@ │ │ │ 001b4b50: 6522 2064 6174 612d 7461 7267 6574 3d22 e" data-target=" │ │ │ 001b4b60: 2369 646d 3233 3839 3922 2074 6162 696e #idm23899" tabin │ │ │ 001b4b70: 6465 783d 2230 2220 726f 6c65 3d22 6275 dex="0" role="bu │ │ │ 001b4b80: 7474 6f6e 2220 6172 6961 2d65 7870 616e tton" aria-expan │ │ │ 001b4b90: 6465 643d 2266 616c 7365 2220 7469 746c ded="false" titl │ │ │ 001b4ba0: 653d 2241 6374 6976 6174 6520 746f 2072 e="Activate to r │ │ │ 001b4bb0: 6576 6561 6c22 2068 7265 663d 2223 2122 eveal" href="#!" │ │ │ -001b4bc0: 3e52 656d 6564 6961 7469 6f6e 2050 7570 >Remediation Pup │ │ │ -001b4bd0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ -001b4be0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -001b4c60: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -001b4c80: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -001b4cd0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -001b4d00: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -001b4c70: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -001b4c90: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -001b4ce0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -001b4cf0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ -001b4d20: 655f 736c 6170 640a 0a63 6c61 7373 2072  e_slapd..class r
│ │ │ -001b4d30: 656d 6f76 655f 736c 6170 6420 7b0a 2020  emove_slapd {.  
│ │ │ -001b4d40: 7061 636b 6167 6520 7b20 2773 6c61 7064  package { 'slapd
│ │ │ -001b4d50: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ -001b4d60: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ -001b4d70: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ -001b4e30: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -001b4e40: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001b4ef0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -001b4f10: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -001b4f40: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -001b4ed0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -001b4ee0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -001b4f00: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -001b4f20: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -001b4f30: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -001b4f70: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -001b4f80: 3a20 456e 7375 7265 2073 6c61 7064 2069 : Ensure slapd i │ │ │ -001b4f90: 7320 7265 6d6f 7665 640a 2020 7061 636b s removed. pack │ │ │ -001b4fa0: 6167 653a 0a20 2020 206e 616d 653a 2073 age:. name: s │ │ │ -001b4fb0: 6c61 7064 0a20 2020 2073 7461 7465 3a20 lapd. state: │ │ │ -001b4fc0: 6162 7365 6e74 0a20 2074 6167 733a 0a20 absent. tags:. │ │ │ -001b4fd0: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C │ │ │ -001b4fe0: 4d2d 3628 6129 0a20 202d 204e 4953 542d M-6(a). - NIST- │ │ │ -001b4ff0: 3830 302d 3533 2d43 4d2d 3728 6129 0a20 800-53-CM-7(a). │ │ │ -001b5000: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C │ │ │ -001b5010: 4d2d 3728 6229 0a20 202d 2064 6973 6162 M-7(b). - disab │ │ │ -001b5020: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. - │ │ │ -001b5030: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity. │ │ │ -001b5040: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio │ │ │ -001b5050: 6e0a 2020 2d20 6c6f 775f 7365 7665 7269 n. - low_severi │ │ │ -001b5060: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot │ │ │ -001b5070: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack │ │ │ -001b5080: 6167 655f 6f70 656e 6c64 6170 2d73 6572 age_openldap-ser │ │ │ -001b5090: 7665 7273 5f72 656d 6f76 6564 0a3c 2f63 vers_removed.Remediation Ans │ │ │ +001b4bd0: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ +001b4be0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ +001b4c70: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +001b4c90: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +001b4cb0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +001b4ce0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +001b4cf0: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Ensu
│ │ │ +001b4d20: 7265 2073 6c61 7064 2069 7320 7265 6d6f  re slapd is remo
│ │ │ +001b4d30: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ +001b4d40: 2020 206e 616d 653a 2073 6c61 7064 0a20     name: slapd. 
│ │ │ +001b4d50: 2020 2073 7461 7465 3a20 6162 7365 6e74     state: absent
│ │ │ +001b4d60: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ +001b4d70: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ +001b4d80: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +001b4d90: 2d43 4d2d 3728 6129 0a20 202d 204e 4953  -CM-7(a).  - NIS
│ │ │ +001b4da0: 542d 3830 302d 3533 2d43 4d2d 3728 6229  T-800-53-CM-7(b)
│ │ │ +001b4db0: 0a20 202d 2064 6973 6162 6c65 5f73 7472  .  - disable_str
│ │ │ +001b4dc0: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ +001b4dd0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +001b4de0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +001b4df0: 6c6f 775f 7365 7665 7269 7479 0a20 202d  low_severity.  -
│ │ │ +001b4e00: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +001b4e10: 640a 2020 2d20 7061 636b 6167 655f 6f70  d.  - package_op
│ │ │ +001b4e20: 656e 6c64 6170 2d73 6572 7665 7273 5f72  enldap-servers_r
│ │ │ +001b4e30: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f  emoved.
Remedi │ │ │ +001b4ef0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ +001b4f00: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +001b4f10: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +001b4f90: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +001b4fc0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +001b4fe0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +001b4ff0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +001b5010: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +001b5020: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +001b5040: 7564 6520 7265 6d6f 7665 5f73 6c61 7064  ude remove_slapd
│ │ │ +001b5050: 0a0a 636c 6173 7320 7265 6d6f 7665 5f73  ..class remove_s
│ │ │ +001b5060: 6c61 7064 207b 0a20 2070 6163 6b61 6765  lapd {.  package
│ │ │ +001b5070: 207b 2027 736c 6170 6427 3a0a 2020 2020   { 'slapd':.    
│ │ │ +001b5080: 656e 7375 7265 203d 2667 743b 2027 7075  ensure => 'pu
│ │ │ +001b5090: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63  rged',.  }.}.
│ │ │ 001b50b0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Remedi │ │ │ -001b94b0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ -001b94c0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001b94d0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -001b9550: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -001b9580: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -001b95a0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -001b95b0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -001b95d0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -001b95e0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -001b9600: 7564 6520 7265 6d6f 7665 5f72 7063 6269  ude remove_rpcbi
│ │ │ -001b9610: 6e64 0a0a 636c 6173 7320 7265 6d6f 7665  nd..class remove
│ │ │ -001b9620: 5f72 7063 6269 6e64 207b 0a20 2070 6163  _rpcbind {.  pac
│ │ │ -001b9630: 6b61 6765 207b 2027 7270 6362 696e 6427  kage { 'rpcbind'
│ │ │ -001b9640: 3a0a 2020 2020 656e 7375 7265 203d 2667  :.    ensure =&g
│ │ │ -001b9650: 743b 2027 7075 7267 6564 272c 0a20 207d  t; 'purged',.  }
│ │ │ -001b9660: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ -001b9670: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ -001b9720: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ -001b9730: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -001b9770: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -001b97e0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -001b9800: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -001b9830: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -001b97c0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -001b97d0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -001b9810: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -001b9820: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

- name: │ │ │ -001b9870: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack │ │ │ -001b9880: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack │ │ │ -001b9890: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m │ │ │ -001b98a0: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t │ │ │ -001b98b0: 6167 733a 0a20 202d 2064 6973 6162 6c65 ags:. - disable │ │ │ -001b98c0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo │ │ │ -001b98d0: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. - │ │ │ -001b98e0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption. │ │ │ -001b98f0: 2020 2d20 6c6f 775f 7365 7665 7269 7479 - low_severity │ │ │ -001b9900: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n │ │ │ -001b9910: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag │ │ │ -001b9920: 655f 7270 6362 696e 645f 7265 6d6f 7665 e_rpcbind_remove │ │ │ -001b9930: 640a 0a2d 206e 616d 653a 2045 6e73 7572 d..- name: Ensur │ │ │ -001b9940: 6520 7270 6362 696e 6420 6973 2072 656d e rpcbind is rem │ │ │ -001b9950: 6f76 6564 0a20 2070 6163 6b61 6765 3a0a oved. package:. │ │ │ -001b9960: 2020 2020 6e61 6d65 3a20 7270 6362 696e name: rpcbin │ │ │ -001b9970: 640a 2020 2020 7374 6174 653a 2061 6273 d. state: abs │ │ │ -001b9980: 656e 740a 2020 7768 656e 3a20 2722 6c69 ent. when: '"li │ │ │ -001b9990: 6e75 782d 6261 7365 2220 696e 2061 6e73 nux-base" in ans │ │ │ -001b99a0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa │ │ │ -001b99b0: 6765 7327 0a20 2074 6167 733a 0a20 202d ges'. tags:. - │ │ │ -001b99c0: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg │ │ │ -001b99d0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple │ │ │ -001b99e0: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis │ │ │ -001b99f0: 7275 7074 696f 6e0a 2020 2d20 6c6f 775f ruption. - low_ │ │ │ -001b9a00: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_ │ │ │ -001b9a10: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed. │ │ │ -001b9a20: 2d20 7061 636b 6167 655f 7270 6362 696e - package_rpcbin │ │ │ -001b9a30: 645f 7265 6d6f 7665 640a 3c2f 636f 6465 d_removed.

low< │ │ │ +001b9570: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +001b95c0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ +001b9600: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ +001b9610: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ +001b9620: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ +001b9630: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ +001b9640: 0a20 2074 6167 733a 0a20 202d 2064 6973  .  tags:.  - dis
│ │ │ +001b9650: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +001b9660: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +001b9670: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +001b9680: 696f 6e0a 2020 2d20 6c6f 775f 7365 7665  ion.  - low_seve
│ │ │ +001b9690: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +001b96a0: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ +001b96b0: 636b 6167 655f 7270 6362 696e 645f 7265  ckage_rpcbind_re
│ │ │ +001b96c0: 6d6f 7665 640a 0a2d 206e 616d 653a 2045  moved..- name: E
│ │ │ +001b96d0: 6e73 7572 6520 7270 6362 696e 6420 6973  nsure rpcbind is
│ │ │ +001b96e0: 2072 656d 6f76 6564 0a20 2070 6163 6b61   removed.  packa
│ │ │ +001b96f0: 6765 3a0a 2020 2020 6e61 6d65 3a20 7270  ge:.    name: rp
│ │ │ +001b9700: 6362 696e 640a 2020 2020 7374 6174 653a  cbind.    state:
│ │ │ +001b9710: 2061 6273 656e 740a 2020 7768 656e 3a20   absent.  when: 
│ │ │ +001b9720: 2722 6c69 6e75 782d 6261 7365 2220 696e  '"linux-base" in
│ │ │ +001b9730: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ +001b9740: 6163 6b61 6765 7327 0a20 2074 6167 733a  ackages'.  tags:
│ │ │ +001b9750: 0a20 202d 2064 6973 6162 6c65 5f73 7472  .  - disable_str
│ │ │ +001b9760: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ +001b9770: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +001b9780: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +001b9790: 6c6f 775f 7365 7665 7269 7479 0a20 202d  low_severity.  -
│ │ │ +001b97a0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +001b97b0: 640a 2020 2d20 7061 636b 6167 655f 7270  d.  - package_rp
│ │ │ +001b97c0: 6362 696e 645f 7265 6d6f 7665 640a 3c2f  cbind_removed.
Remediation Pup │ │ │ +001b9890: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ +001b98a0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Co │ │ │ +001b9550: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +001b9580: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +001b95a0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +001b95b0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +001b95d0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +001b95e0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
│ │ │ +001b9920: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +001b9940: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +001b9990: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ +001b99c0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ +001b9930: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +001b9950: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +001b99a0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ +001b99b0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ +001b99e0: 655f 7270 6362 696e 640a 0a63 6c61 7373  e_rpcbind..class
│ │ │ +001b99f0: 2072 656d 6f76 655f 7270 6362 696e 6420   remove_rpcbind 
│ │ │ +001b9a00: 7b0a 2020 7061 636b 6167 6520 7b20 2772  {.  package { 'r
│ │ │ +001b9a10: 7063 6269 6e64 273a 0a20 2020 2065 6e73  pcbind':.    ens
│ │ │ +001b9a20: 7572 6520 3d26 6774 3b20 2770 7572 6765  ure => 'purge
│ │ │ +001b9a30: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Remediation Pu │ │ │ -001ba6a0: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ -001ba6b0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ -001ba740: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -001ba760: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ -001ba780: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ -001ba7b0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -001ba7c0: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
include remo
│ │ │ -001ba7f0: 7665 5f6e 6673 2d6b 6572 6e65 6c2d 7365  ve_nfs-kernel-se
│ │ │ -001ba800: 7276 6572 0a0a 636c 6173 7320 7265 6d6f  rver..class remo
│ │ │ -001ba810: 7665 5f6e 6673 2d6b 6572 6e65 6c2d 7365  ve_nfs-kernel-se
│ │ │ -001ba820: 7276 6572 207b 0a20 2070 6163 6b61 6765  rver {.  package
│ │ │ -001ba830: 207b 2027 6e66 732d 6b65 726e 656c 2d73   { 'nfs-kernel-s
│ │ │ -001ba840: 6572 7665 7227 3a0a 2020 2020 656e 7375  erver':.    ensu
│ │ │ -001ba850: 7265 203d 2667 743b 2027 7075 7267 6564  re => 'purged
│ │ │ -001ba860: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │ -001ba870: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ -001ba920: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible │ │ │ -001ba930: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -001ba940: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ -001ba9d0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
-
│ │ │ -001baa70: 206e 616d 653a 2045 6e73 7572 6520 6e66   name: Ensure nf
│ │ │ -001baa80: 732d 6b65 726e 656c 2d73 6572 7665 7220  s-kernel-server 
│ │ │ -001baa90: 6973 2072 656d 6f76 6564 0a20 2070 6163  is removed.  pac
│ │ │ -001baaa0: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20  kage:.    name: 
│ │ │ -001baab0: 6e66 732d 6b65 726e 656c 2d73 6572 7665  nfs-kernel-serve
│ │ │ -001baac0: 720a 2020 2020 7374 6174 653a 2061 6273  r.    state: abs
│ │ │ -001baad0: 656e 740a 2020 7461 6773 3a0a 2020 2d20  ent.  tags:.  - 
│ │ │ -001baae0: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ -001baaf0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -001bab00: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -001bab10: 7570 7469 6f6e 0a20 202d 206c 6f77 5f73  uption.  - low_s
│ │ │ -001bab20: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ -001bab30: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -001bab40: 2070 6163 6b61 6765 5f6e 6673 2d6b 6572   package_nfs-ker
│ │ │ -001bab50: 6e65 6c2d 7365 7276 6572 5f72 656d 6f76  nel-server_remov
│ │ │ -001bab60: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e  ed.
│ │ │ +001ba690: 223e 5265 6d65 6469 6174 696f 6e20 416e ">Remediation An │ │ │ +001ba6a0: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ +001ba6b0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ +001ba770: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001ba780: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
│ │ │ -001ba9c0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -001ba9f0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -001baa00: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -001baa40: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ -001baa50: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexity │ │ │ +001ba740: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ +001ba760: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ +001ba790: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ +001ba7b0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ +001ba7e0: 636f 6465 3e2d 206e 616d 653a 2045 6e73  code>- name: Ens
│ │ │ +001ba7f0: 7572 6520 6e66 732d 6b65 726e 656c 2d73  ure nfs-kernel-s
│ │ │ +001ba800: 6572 7665 7220 6973 2072 656d 6f76 6564  erver is removed
│ │ │ +001ba810: 0a20 2070 6163 6b61 6765 3a0a 2020 2020  .  package:.    
│ │ │ +001ba820: 6e61 6d65 3a20 6e66 732d 6b65 726e 656c  name: nfs-kernel
│ │ │ +001ba830: 2d73 6572 7665 720a 2020 2020 7374 6174  -server.    stat
│ │ │ +001ba840: 653a 2061 6273 656e 740a 2020 7461 6773  e: absent.  tags
│ │ │ +001ba850: 3a0a 2020 2d20 6469 7361 626c 655f 7374  :.  - disable_st
│ │ │ +001ba860: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +001ba870: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +001ba880: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +001ba890: 206c 6f77 5f73 6576 6572 6974 790a 2020   low_severity.  
│ │ │ +001ba8a0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +001ba8b0: 6564 0a20 202d 2070 6163 6b61 6765 5f6e  ed.  - package_n
│ │ │ +001ba8c0: 6673 2d6b 6572 6e65 6c2d 7365 7276 6572  fs-kernel-server
│ │ │ +001ba8d0: 5f72 656d 6f76 6564 0a3c 2f63 6f64 653e  _removed.
│ │ │ +001ba8e0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ +001ba990: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ +001ba9a0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ +001baa40: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001baa50: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +001baaa0: 3c74 723e 3c74 683e 5374 7261 7465 6779
in
│ │ │ +001baae0: 636c 7564 6520 7265 6d6f 7665 5f6e 6673  clude remove_nfs
│ │ │ +001baaf0: 2d6b 6572 6e65 6c2d 7365 7276 6572 0a0a  -kernel-server..
│ │ │ +001bab00: 636c 6173 7320 7265 6d6f 7665 5f6e 6673  class remove_nfs
│ │ │ +001bab10: 2d6b 6572 6e65 6c2d 7365 7276 6572 207b  -kernel-server {
│ │ │ +001bab20: 0a20 2070 6163 6b61 6765 207b 2027 6e66  .  package { 'nf
│ │ │ +001bab30: 732d 6b65 726e 656c 2d73 6572 7665 7227  s-kernel-server'
│ │ │ +001bab40: 3a0a 2020 2020 656e 7375 7265 203d 2667  :.    ensure =&g
│ │ │ +001bab50: 743b 2027 7075 7267 6564 272c 0a20 207d  t; 'purged',.  }
│ │ │ +001bab60: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ 001bab70: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation O │ │ │ -001bcc50: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint │ │ │ -001bcc60: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -001bcc70: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.[[packages]].
│ │ │ -001bccc0: 6e61 6d65 203d 2022 6368 726f 6e79 220a  name = "chrony".
│ │ │ -001bccd0: 7665 7273 696f 6e20 3d20 222a 220a 3c2f  version = "*".
Remediation Pup │ │ │ -001bcda0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ -001bcdb0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
C │ │ │ +001baa30: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +001baa60: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +001baa70: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +001baab0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ +001baac0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
│ │ │ -001bce30: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -001bce50: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -001bcea0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ -001bced0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include instal
│ │ │ -001bcef0: 6c5f 6368 726f 6e79 0a0a 636c 6173 7320  l_chrony..class 
│ │ │ -001bcf00: 696e 7374 616c 6c5f 6368 726f 6e79 207b  install_chrony {
│ │ │ -001bcf10: 0a20 2070 6163 6b61 6765 207b 2027 6368  .  package { 'ch
│ │ │ -001bcf20: 726f 6e79 273a 0a20 2020 2065 6e73 7572  rony':.    ensur
│ │ │ -001bcf30: 6520 3d26 6774 3b20 2769 6e73 7461 6c6c  e => 'install
│ │ │ -001bcf40: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ed',.  }.}.
Re │ │ │ -001bd000: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -001bd010: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
Complexity:< │ │ │ -001bce40: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -001bce60: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -001bceb0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ -001bcec0: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
Complexity: │ │ │ -001bd0f0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -001bd100: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ -001bd150: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ -001bd160: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ -001bd170: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ -001bd180: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ -001bd190: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ -001bd1a0: 4449 5341 2d53 5449 472d 5542 5455 2d32  DISA-STIG-UBTU-2
│ │ │ -001bd1b0: 302d 3031 3034 3335 0a20 202d 2050 4349  0-010435.  - PCI
│ │ │ -001bd1c0: 2d44 5353 2d52 6571 2d31 302e 340a 2020  -DSS-Req-10.4.  
│ │ │ -001bd1d0: 2d20 5043 492d 4453 5376 342d 3130 2e36  - PCI-DSSv4-10.6
│ │ │ -001bd1e0: 0a20 202d 2050 4349 2d44 5353 7634 2d31  .  - PCI-DSSv4-1
│ │ │ -001bd1f0: 302e 362e 310a 2020 2d20 656e 6162 6c65  0.6.1.  - enable
│ │ │ -001bd200: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ -001bd210: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -001bd220: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -001bd230: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ -001bd240: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ -001bd250: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ -001bd260: 6b61 6765 5f63 6872 6f6e 795f 696e 7374  kage_chrony_inst
│ │ │ -001bd270: 616c 6c65 640a 0a2d 206e 616d 653a 2045  alled..- name: E
│ │ │ -001bd280: 6e73 7572 6520 6368 726f 6e79 2069 7320  nsure chrony is 
│ │ │ -001bd290: 696e 7374 616c 6c65 640a 2020 7061 636b  installed.  pack
│ │ │ -001bd2a0: 6167 653a 0a20 2020 206e 616d 653a 2063  age:.    name: c
│ │ │ -001bd2b0: 6872 6f6e 790a 2020 2020 7374 6174 653a  hrony.    state:
│ │ │ -001bd2c0: 2070 7265 7365 6e74 0a20 2077 6865 6e3a   present.  when:
│ │ │ -001bd2d0: 2027 226c 696e 7578 2d62 6173 6522 2069   '"linux-base" i
│ │ │ -001bd2e0: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ -001bd2f0: 7061 636b 6167 6573 270a 2020 7461 6773  packages'.  tags
│ │ │ -001bd300: 3a0a 2020 2d20 4449 5341 2d53 5449 472d  :.  - DISA-STIG-
│ │ │ -001bd310: 5542 5455 2d32 302d 3031 3034 3335 0a20  UBTU-20-010435. 
│ │ │ -001bd320: 202d 2050 4349 2d44 5353 2d52 6571 2d31   - PCI-DSS-Req-1
│ │ │ -001bd330: 302e 340a 2020 2d20 5043 492d 4453 5376  0.4.  - PCI-DSSv
│ │ │ -001bd340: 342d 3130 2e36 0a20 202d 2050 4349 2d44  4-10.6.  - PCI-D
│ │ │ -001bd350: 5353 7634 2d31 302e 362e 310a 2020 2d20  SSv4-10.6.1.  - 
│ │ │ -001bd360: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ -001bd370: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -001bd380: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -001bd390: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -001bd3a0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -001bd3b0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -001bd3c0: 202d 2070 6163 6b61 6765 5f63 6872 6f6e   - package_chron
│ │ │ -001bd3d0: 795f 696e 7374 616c 6c65 640a 3c2f 636f  y_installed.Remediation A
│ │ │ +001bcc50: 6e73 6962 6c65 2073 6e69 7070 6574 20e2  nsible snippet .
│ │ │ +001bcc60: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063  ..
< │ │ │ +001bcce0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ +001bcd20: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 enable
low
Disru │ │ │ -001bd0d0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -001bd0e0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -001bd120: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ -001bd130: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexit │ │ │ +001bccf0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ +001bcd10: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ +001bcd40: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +001bcd60: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
<
│ │ │ +001bcd90: 636f 6465 3e2d 206e 616d 653a 2047 6174  code>- name: Gat
│ │ │ +001bcda0: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ +001bcdb0: 6661 6374 730a 2020 7061 636b 6167 655f  facts.  package_
│ │ │ +001bcdc0: 6661 6374 733a 0a20 2020 206d 616e 6167  facts:.    manag
│ │ │ +001bcdd0: 6572 3a20 6175 746f 0a20 2074 6167 733a  er: auto.  tags:
│ │ │ +001bcde0: 0a20 202d 2044 4953 412d 5354 4947 2d55  .  - DISA-STIG-U
│ │ │ +001bcdf0: 4254 552d 3230 2d30 3130 3433 350a 2020  BTU-20-010435.  
│ │ │ +001bce00: 2d20 5043 492d 4453 532d 5265 712d 3130  - PCI-DSS-Req-10
│ │ │ +001bce10: 2e34 0a20 202d 2050 4349 2d44 5353 7634  .4.  - PCI-DSSv4
│ │ │ +001bce20: 2d31 302e 360a 2020 2d20 5043 492d 4453  -10.6.  - PCI-DS
│ │ │ +001bce30: 5376 342d 3130 2e36 2e31 0a20 202d 2065  Sv4-10.6.1.  - e
│ │ │ +001bce40: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ +001bce50: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +001bce60: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +001bce70: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +001bce80: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +001bce90: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +001bcea0: 2d20 7061 636b 6167 655f 6368 726f 6e79  - package_chrony
│ │ │ +001bceb0: 5f69 6e73 7461 6c6c 6564 0a0a 2d20 6e61  _installed..- na
│ │ │ +001bcec0: 6d65 3a20 456e 7375 7265 2063 6872 6f6e  me: Ensure chron
│ │ │ +001bced0: 7920 6973 2069 6e73 7461 6c6c 6564 0a20  y is installed. 
│ │ │ +001bcee0: 2070 6163 6b61 6765 3a0a 2020 2020 6e61   package:.    na
│ │ │ +001bcef0: 6d65 3a20 6368 726f 6e79 0a20 2020 2073  me: chrony.    s
│ │ │ +001bcf00: 7461 7465 3a20 7072 6573 656e 740a 2020  tate: present.  
│ │ │ +001bcf10: 7768 656e 3a20 2722 6c69 6e75 782d 6261  when: '"linux-ba
│ │ │ +001bcf20: 7365 2220 696e 2061 6e73 6962 6c65 5f66  se" in ansible_f
│ │ │ +001bcf30: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ +001bcf40: 2074 6167 733a 0a20 202d 2044 4953 412d   tags:.  - DISA-
│ │ │ +001bcf50: 5354 4947 2d55 4254 552d 3230 2d30 3130  STIG-UBTU-20-010
│ │ │ +001bcf60: 3433 350a 2020 2d20 5043 492d 4453 532d  435.  - PCI-DSS-
│ │ │ +001bcf70: 5265 712d 3130 2e34 0a20 202d 2050 4349  Req-10.4.  - PCI
│ │ │ +001bcf80: 2d44 5353 7634 2d31 302e 360a 2020 2d20  -DSSv4-10.6.  - 
│ │ │ +001bcf90: 5043 492d 4453 5376 342d 3130 2e36 2e31  PCI-DSSv4-10.6.1
│ │ │ +001bcfa0: 0a20 202d 2065 6e61 626c 655f 7374 7261  .  - enable_stra
│ │ │ +001bcfb0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +001bcfc0: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +001bcfd0: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ +001bcfe0: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ +001bcff0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +001bd000: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ +001bd010: 6368 726f 6e79 5f69 6e73 7461 6c6c 6564  chrony_installed
│ │ │ +001bd020: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +001bd0e0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +001bd0f0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ +001bd170: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +001bd180: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +001bd1a0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +001bd1b0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +001bd1d0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +001bd1f0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:enable
<
│ │ │ +001bd220: 636f 6465 3e69 6e63 6c75 6465 2069 6e73  code>include ins
│ │ │ +001bd230: 7461 6c6c 5f63 6872 6f6e 790a 0a63 6c61  tall_chrony..cla
│ │ │ +001bd240: 7373 2069 6e73 7461 6c6c 5f63 6872 6f6e  ss install_chron
│ │ │ +001bd250: 7920 7b0a 2020 7061 636b 6167 6520 7b20  y {.  package { 
│ │ │ +001bd260: 2763 6872 6f6e 7927 3a0a 2020 2020 656e  'chrony':.    en
│ │ │ +001bd270: 7375 7265 203d 2667 743b 2027 696e 7374  sure => 'inst
│ │ │ +001bd280: 616c 6c65 6427 2c0a 2020 7d0a 7d0a 3c2f  alled',.  }.}.
Remediation OSB │ │ │ +001bd350: 7569 6c64 2042 6c75 6570 7269 6e74 2073 uild Blueprint s │ │ │ +001bd360: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...

│ │ │ +001bd3b0: 0a5b 5b70 6163 6b61 6765 735d 5d0a 6e61  .[[packages]].na
│ │ │ +001bd3c0: 6d65 203d 2022 6368 726f 6e79 220a 7665  me = "chrony".ve
│ │ │ +001bd3d0: 7273 696f 6e20 3d20 222a 220a 3c2f 636f  rsion = "*".
< │ │ │ 001bd3f0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 001bd400: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 001bd410: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 001bd420: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 001bd430: 646d 3234 3235 3422 2074 6162 696e 6465 dm24254" tabinde │ │ │ 001bd440: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ @@ -114200,147 +114200,147 @@ │ │ │ 001be170: 7365 2220 6461 7461 2d74 6172 6765 743d se" data-target= │ │ │ 001be180: 2223 6964 6d32 3433 3539 2220 7461 6269 "#idm24359" tabi │ │ │ 001be190: 6e64 6578 3d22 3022 2072 6f6c 653d 2262 ndex="0" role="b │ │ │ 001be1a0: 7574 746f 6e22 2061 7269 612d 6578 7061 utton" aria-expa │ │ │ 001be1b0: 6e64 6564 3d22 6661 6c73 6522 2074 6974 nded="false" tit │ │ │ 001be1c0: 6c65 3d22 4163 7469 7661 7465 2074 6f20 le="Activate to │ │ │ 001be1d0: 7265 7665 616c 2220 6872 6566 3d22 2321 reveal" href="#! │ │ │ -001be1e0: 223e 5265 6d65 6469 6174 696f 6e20 4f53 ">Remediation OS │ │ │ -001be1f0: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint │ │ │ -001be200: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -001be210: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
.[customization
│ │ │ -001be260: 732e 7365 7276 6963 6573 5d0a 656e 6162  s.services].enab
│ │ │ -001be270: 6c65 6420 3d20 5b22 6368 726f 6e79 225d  led = ["chrony"]
│ │ │ -001be280: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -001be340: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -001be350: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -001be3d0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -001be3e0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ -001be400: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ -001be410: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ -001be430: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ -001be450: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:enable
<
│ │ │ -001be480: 636f 6465 3e69 6e63 6c75 6465 2065 6e61  code>include ena
│ │ │ -001be490: 626c 655f 6368 726f 6e79 0a0a 636c 6173  ble_chrony..clas
│ │ │ -001be4a0: 7320 656e 6162 6c65 5f63 6872 6f6e 7920  s enable_chrony 
│ │ │ -001be4b0: 7b0a 2020 7365 7276 6963 6520 7b27 6368  {.  service {'ch
│ │ │ -001be4c0: 726f 6e79 273a 0a20 2020 2065 6e61 626c  rony':.    enabl
│ │ │ -001be4d0: 6520 3d26 6774 3b20 7472 7565 2c0a 2020  e => true,.  
│ │ │ -001be4e0: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ -001be4f0: 7275 6e6e 696e 6727 2c0a 2020 7d0a 7d0a  running',.  }.}.
│ │ │ -001be500: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation A │ │ │ -001be5c0: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet . │ │ │ -001be5d0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -001be650: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -001be660: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ -001be680: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ -001be690: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ -001be6b0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ -001be6d0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:enable
<
│ │ │ -001be700: 636f 6465 3e2d 206e 616d 653a 2047 6174  code>- name: Gat
│ │ │ -001be710: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ -001be720: 6661 6374 730a 2020 7061 636b 6167 655f  facts.  package_
│ │ │ -001be730: 6661 6374 733a 0a20 2020 206d 616e 6167  facts:.    manag
│ │ │ -001be740: 6572 3a20 6175 746f 0a20 2074 6167 733a  er: auto.  tags:
│ │ │ -001be750: 0a20 202d 2065 6e61 626c 655f 7374 7261  .  - enable_stra
│ │ │ -001be760: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ -001be770: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -001be780: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ -001be790: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ -001be7a0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -001be7b0: 6465 640a 2020 2d20 7365 7276 6963 655f  ded.  - service_
│ │ │ -001be7c0: 6368 726f 6e79 645f 656e 6162 6c65 640a  chronyd_enabled.
│ │ │ -001be7d0: 0a2d 206e 616d 653a 2054 6865 2043 6872  .- name: The Chr
│ │ │ -001be7e0: 6f6e 7964 2073 6572 7669 6365 2069 7320  onyd service is 
│ │ │ -001be7f0: 656e 6162 6c65 6420 2d20 456e 6162 6c65  enabled - Enable
│ │ │ -001be800: 2073 6572 7669 6365 2063 6872 6f6e 790a   service chrony.
│ │ │ -001be810: 2020 626c 6f63 6b3a 0a0a 2020 2d20 6e61    block:..  - na
│ │ │ -001be820: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ -001be830: 6163 6b61 6765 2066 6163 7473 0a20 2020  ackage facts.   
│ │ │ -001be840: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ -001be850: 2020 2020 2020 6d61 6e61 6765 723a 2061        manager: a
│ │ │ -001be860: 7574 6f0a 0a20 202d 206e 616d 653a 2054  uto..  - name: T
│ │ │ -001be870: 6865 2043 6872 6f6e 7964 2073 6572 7669  he Chronyd servi
│ │ │ -001be880: 6365 2069 7320 656e 6162 6c65 6420 2d20  ce is enabled - 
│ │ │ -001be890: 456e 6162 6c65 2053 6572 7669 6365 2063  Enable Service c
│ │ │ -001be8a0: 6872 6f6e 790a 2020 2020 616e 7369 626c  hrony.    ansibl
│ │ │ -001be8b0: 652e 6275 696c 7469 6e2e 7379 7374 656d  e.builtin.system
│ │ │ -001be8c0: 643a 0a20 2020 2020 206e 616d 653a 2063  d:.      name: c
│ │ │ -001be8d0: 6872 6f6e 790a 2020 2020 2020 656e 6162  hrony.      enab
│ │ │ -001be8e0: 6c65 643a 2074 7275 650a 2020 2020 2020  led: true.      
│ │ │ -001be8f0: 7374 6174 653a 2073 7461 7274 6564 0a20  state: started. 
│ │ │ -001be900: 2020 2020 206d 6173 6b65 643a 2066 616c       masked: fal
│ │ │ -001be910: 7365 0a20 2020 2077 6865 6e3a 0a20 2020  se.    when:.   
│ │ │ -001be920: 202d 2027 2263 6872 6f6e 7922 2069 6e20   - '"chrony" in 
│ │ │ -001be930: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -001be940: 636b 6167 6573 270a 2020 7768 656e 3a0a  ckages'.  when:.
│ │ │ -001be950: 2020 2d20 2722 6c69 6e75 782d 6261 7365    - '"linux-base
│ │ │ -001be960: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ -001be970: 7473 2e70 6163 6b61 6765 7327 0a20 202d  ts.packages'.  -
│ │ │ -001be980: 2027 2263 6872 6f6e 7922 2069 6e20 616e   '"chrony" in an
│ │ │ -001be990: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ -001be9a0: 6167 6573 270a 2020 7461 6773 3a0a 2020  ages'.  tags:.  
│ │ │ -001be9b0: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ -001be9c0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -001be9d0: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -001be9e0: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ -001be9f0: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ -001bea00: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -001bea10: 0a20 202d 2073 6572 7669 6365 5f63 6872  .  - service_chr
│ │ │ -001bea20: 6f6e 7964 5f65 6e61 626c 6564 0a3c 2f63  onyd_enabled.Remediation An
│ │ │ +001be1f0: 7369 626c 6520 736e 6970 7065 7420 e287  sible snippet ..
│ │ │ +001be200: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c  .
Complexity │ │ │ +001be290: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +001be2b0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +001be2c0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001be2d0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +001be2e0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +001be300: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
- name: Gath
│ │ │ +001be340: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ +001be350: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ +001be360: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ +001be370: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ +001be380: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ +001be390: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +001be3a0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +001be3b0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ +001be3c0: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ +001be3d0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +001be3e0: 6564 0a20 202d 2073 6572 7669 6365 5f63  ed.  - service_c
│ │ │ +001be3f0: 6872 6f6e 7964 5f65 6e61 626c 6564 0a0a  hronyd_enabled..
│ │ │ +001be400: 2d20 6e61 6d65 3a20 5468 6520 4368 726f  - name: The Chro
│ │ │ +001be410: 6e79 6420 7365 7276 6963 6520 6973 2065  nyd service is e
│ │ │ +001be420: 6e61 626c 6564 202d 2045 6e61 626c 6520  nabled - Enable 
│ │ │ +001be430: 7365 7276 6963 6520 6368 726f 6e79 0a20  service chrony. 
│ │ │ +001be440: 2062 6c6f 636b 3a0a 0a20 202d 206e 616d   block:..  - nam
│ │ │ +001be450: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ +001be460: 636b 6167 6520 6661 6374 730a 2020 2020  ckage facts.    
│ │ │ +001be470: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ +001be480: 2020 2020 206d 616e 6167 6572 3a20 6175       manager: au
│ │ │ +001be490: 746f 0a0a 2020 2d20 6e61 6d65 3a20 5468  to..  - name: Th
│ │ │ +001be4a0: 6520 4368 726f 6e79 6420 7365 7276 6963  e Chronyd servic
│ │ │ +001be4b0: 6520 6973 2065 6e61 626c 6564 202d 2045  e is enabled - E
│ │ │ +001be4c0: 6e61 626c 6520 5365 7276 6963 6520 6368  nable Service ch
│ │ │ +001be4d0: 726f 6e79 0a20 2020 2061 6e73 6962 6c65  rony.    ansible
│ │ │ +001be4e0: 2e62 7569 6c74 696e 2e73 7973 7465 6d64  .builtin.systemd
│ │ │ +001be4f0: 3a0a 2020 2020 2020 6e61 6d65 3a20 6368  :.      name: ch
│ │ │ +001be500: 726f 6e79 0a20 2020 2020 2065 6e61 626c  rony.      enabl
│ │ │ +001be510: 6564 3a20 7472 7565 0a20 2020 2020 2073  ed: true.      s
│ │ │ +001be520: 7461 7465 3a20 7374 6172 7465 640a 2020  tate: started.  
│ │ │ +001be530: 2020 2020 6d61 736b 6564 3a20 6661 6c73      masked: fals
│ │ │ +001be540: 650a 2020 2020 7768 656e 3a0a 2020 2020  e.    when:.    
│ │ │ +001be550: 2d20 2722 6368 726f 6e79 2220 696e 2061  - '"chrony" in a
│ │ │ +001be560: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +001be570: 6b61 6765 7327 0a20 2077 6865 6e3a 0a20  kages'.  when:. 
│ │ │ +001be580: 202d 2027 226c 696e 7578 2d62 6173 6522   - '"linux-base"
│ │ │ +001be590: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ +001be5a0: 732e 7061 636b 6167 6573 270a 2020 2d20  s.packages'.  - 
│ │ │ +001be5b0: 2722 6368 726f 6e79 2220 696e 2061 6e73  '"chrony" in ans
│ │ │ +001be5c0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ +001be5d0: 6765 7327 0a20 2074 6167 733a 0a20 202d  ges'.  tags:.  -
│ │ │ +001be5e0: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ +001be5f0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +001be600: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +001be610: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +001be620: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +001be630: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +001be640: 2020 2d20 7365 7276 6963 655f 6368 726f    - service_chro
│ │ │ +001be650: 6e79 645f 656e 6162 6c65 640a 3c2f 636f  nyd_enabled.
< │ │ │ +001be670: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +001be680: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +001be690: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +001be6a0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +001be6b0: 646d 3234 3336 3022 2074 6162 696e 6465 dm24360" tabinde │ │ │ +001be6c0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +001be6d0: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +001be6e0: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +001be6f0: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +001be700: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +001be710: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +001be720: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity: │ │ │ +001be800: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +001be810: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ +001be860: 696e 636c 7564 6520 656e 6162 6c65 5f63  include enable_c
│ │ │ +001be870: 6872 6f6e 790a 0a63 6c61 7373 2065 6e61  hrony..class ena
│ │ │ +001be880: 626c 655f 6368 726f 6e79 207b 0a20 2073  ble_chrony {.  s
│ │ │ +001be890: 6572 7669 6365 207b 2763 6872 6f6e 7927  ervice {'chrony'
│ │ │ +001be8a0: 3a0a 2020 2020 656e 6162 6c65 203d 2667  :.    enable =&g
│ │ │ +001be8b0: 743b 2074 7275 652c 0a20 2020 2065 6e73  t; true,.    ens
│ │ │ +001be8c0: 7572 6520 3d26 6774 3b20 2772 756e 6e69  ure => 'runni
│ │ │ +001be8d0: 6e67 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ng',.  }.}.
Re │ │ │ +001be990: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil │ │ │ +001be9a0: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip │ │ │ +001be9b0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +001be9c0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001be9d0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001be9e0: 7365 2220 6964 3d22 6964 6d32 3433 3631 se" id="idm24361 │ │ │ +001be9f0: 223e 3c70 7265 3e3c 636f 6465 3e0a 5b63 ">
.[c
│ │ │ +001bea00: 7573 746f 6d69 7a61 7469 6f6e 732e 7365  ustomizations.se
│ │ │ +001bea10: 7276 6963 6573 5d0a 656e 6162 6c65 6420  rvices].enabled 
│ │ │ +001bea20: 3d20 5b22 6368 726f 6e79 225d 0a3c 2f63  = ["chrony"].
│ │ │ 001bea40: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 R │ │ │ -001bfda0: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui │ │ │ -001bfdb0: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni │ │ │ -001bfdc0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001bfdd0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
.[
│ │ │ -001bfe10: 6375 7374 6f6d 697a 6174 696f 6e73 2e73  customizations.s
│ │ │ -001bfe20: 6572 7669 6365 735d 0a65 6e61 626c 6564  ervices].enabled
│ │ │ -001bfe30: 203d 205b 226e 7470 225d 0a3c 2f63 6f64   = ["ntp"].
Re │ │ │ -001bfef0: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -001bff00: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -001bff10: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
low
Disru │ │ │ +001be7e0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +001be7f0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +001be830: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ +001be840: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
< │ │ │ -001bffe0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -001bfff0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
i
│ │ │ -001c0040: 6e63 6c75 6465 2065 6e61 626c 655f 6e74  nclude enable_nt
│ │ │ -001c0050: 700a 0a63 6c61 7373 2065 6e61 626c 655f  p..class enable_
│ │ │ -001c0060: 6e74 7020 7b0a 2020 7365 7276 6963 6520  ntp {.  service 
│ │ │ -001c0070: 7b27 6e74 7027 3a0a 2020 2020 656e 6162  {'ntp':.    enab
│ │ │ -001c0080: 6c65 203d 2667 743b 2074 7275 652c 0a20  le => true,. 
│ │ │ -001c0090: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ -001c00a0: 2772 756e 6e69 6e67 272c 0a20 207d 0a7d  'running',.  }.}
│ │ │ -001c00b0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -001c0170: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -001c0180: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001c0200: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ -001c0290: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
Complexity:low
Disrup │ │ │ -001bffc0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -001bffd0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -001c0010: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ -001c0020: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexi │ │ │ -001c0210: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -001c0220: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ -001c0260: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -001c0270: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
│ │ │ -001c02b0: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761  - name: Ga
│ │ │ -001c02c0: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ -001c02d0: 2066 6163 7473 0a20 2070 6163 6b61 6765   facts.  package
│ │ │ -001c02e0: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61  _facts:.    mana
│ │ │ -001c02f0: 6765 723a 2061 7574 6f0a 2020 7461 6773  ger: auto.  tags
│ │ │ -001c0300: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ -001c0310: 332d 4155 2d38 2831 2928 6129 0a20 202d  3-AU-8(1)(a).  -
│ │ │ -001c0320: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -001c0330: 3628 6129 0a20 202d 2050 4349 2d44 5353  6(a).  - PCI-DSS
│ │ │ -001c0340: 2d52 6571 2d31 302e 340a 2020 2d20 5043  -Req-10.4.  - PC
│ │ │ -001c0350: 492d 4453 5376 342d 3130 2e36 0a20 202d  I-DSSv4-10.6.  -
│ │ │ -001c0360: 2050 4349 2d44 5353 7634 2d31 302e 362e   PCI-DSSv4-10.6.
│ │ │ -001c0370: 310a 2020 2d20 656e 6162 6c65 5f73 7472  1.  - enable_str
│ │ │ -001c0380: 6174 6567 790a 2020 2d20 6869 6768 5f73  ategy.  - high_s
│ │ │ -001c0390: 6576 6572 6974 790a 2020 2d20 6c6f 775f  everity.  - low_
│ │ │ -001c03a0: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -001c03b0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -001c03c0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -001c03d0: 6564 0a20 202d 2073 6572 7669 6365 5f6e  ed.  - service_n
│ │ │ -001c03e0: 7470 5f65 6e61 626c 6564 0a0a 2d20 6e61  tp_enabled..- na
│ │ │ -001c03f0: 6d65 3a20 456e 6162 6c65 2074 6865 204e  me: Enable the N
│ │ │ -001c0400: 5450 2044 6165 6d6f 6e20 2d20 456e 6162  TP Daemon - Enab
│ │ │ -001c0410: 6c65 2073 6572 7669 6365 206e 7470 0a20  le service ntp. 
│ │ │ -001c0420: 2062 6c6f 636b 3a0a 0a20 202d 206e 616d   block:..  - nam
│ │ │ -001c0430: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ -001c0440: 636b 6167 6520 6661 6374 730a 2020 2020  ckage facts.    
│ │ │ -001c0450: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ -001c0460: 2020 2020 206d 616e 6167 6572 3a20 6175       manager: au
│ │ │ -001c0470: 746f 0a0a 2020 2d20 6e61 6d65 3a20 456e  to..  - name: En
│ │ │ -001c0480: 6162 6c65 2074 6865 204e 5450 2044 6165  able the NTP Dae
│ │ │ -001c0490: 6d6f 6e20 2d20 456e 6162 6c65 2053 6572  mon - Enable Ser
│ │ │ -001c04a0: 7669 6365 206e 7470 0a20 2020 2061 6e73  vice ntp.    ans
│ │ │ -001c04b0: 6962 6c65 2e62 7569 6c74 696e 2e73 7973  ible.builtin.sys
│ │ │ -001c04c0: 7465 6d64 3a0a 2020 2020 2020 6e61 6d65  temd:.      name
│ │ │ -001c04d0: 3a20 6e74 700a 2020 2020 2020 656e 6162  : ntp.      enab
│ │ │ -001c04e0: 6c65 643a 2074 7275 650a 2020 2020 2020  led: true.      
│ │ │ -001c04f0: 7374 6174 653a 2073 7461 7274 6564 0a20  state: started. 
│ │ │ -001c0500: 2020 2020 206d 6173 6b65 643a 2066 616c       masked: fal
│ │ │ -001c0510: 7365 0a20 2020 2077 6865 6e3a 0a20 2020  se.    when:.   
│ │ │ -001c0520: 202d 2027 226e 7470 2220 696e 2061 6e73   - '"ntp" in ans
│ │ │ -001c0530: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -001c0540: 6765 7327 0a20 2077 6865 6e3a 0a20 202d  ges'.  when:.  -
│ │ │ -001c0550: 2027 226c 696e 7578 2d62 6173 6522 2069   '"linux-base" i
│ │ │ -001c0560: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ -001c0570: 7061 636b 6167 6573 270a 2020 2d20 2722  packages'.  - '"
│ │ │ -001c0580: 6e74 7022 2069 6e20 616e 7369 626c 655f  ntp" in ansible_
│ │ │ -001c0590: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -001c05a0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ -001c05b0: 2d38 3030 2d35 332d 4155 2d38 2831 2928  -800-53-AU-8(1)(
│ │ │ -001c05c0: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ -001c05d0: 3533 2d43 4d2d 3628 6129 0a20 202d 2050  53-CM-6(a).  - P
│ │ │ -001c05e0: 4349 2d44 5353 2d52 6571 2d31 302e 340a  CI-DSS-Req-10.4.
│ │ │ -001c05f0: 2020 2d20 5043 492d 4453 5376 342d 3130    - PCI-DSSv4-10
│ │ │ -001c0600: 2e36 0a20 202d 2050 4349 2d44 5353 7634  .6.  - PCI-DSSv4
│ │ │ -001c0610: 2d31 302e 362e 310a 2020 2d20 656e 6162  -10.6.1.  - enab
│ │ │ -001c0620: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -001c0630: 6869 6768 5f73 6576 6572 6974 790a 2020  high_severity.  
│ │ │ -001c0640: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -001c0650: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -001c0660: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f  ion.  - no_reboo
│ │ │ -001c0670: 745f 6e65 6564 6564 0a20 202d 2073 6572  t_needed.  - ser
│ │ │ -001c0680: 7669 6365 5f6e 7470 5f65 6e61 626c 6564  vice_ntp_enabled
│ │ │ +001bfda0: 656d 6564 6961 7469 6f6e 2041 6e73 6962  emediation Ansib
│ │ │ +001bfdb0: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f  le snippet ...
< │ │ │ +001bfe40: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +001bfe60: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +001bfeb0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
- name: Gather 
│ │ │ +001bff00: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ +001bff10: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ +001bff20: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ +001bff30: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ +001bff40: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ +001bff50: 3828 3129 2861 290a 2020 2d20 4e49 5354  8(1)(a).  - NIST
│ │ │ +001bff60: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ +001bff70: 2020 2d20 5043 492d 4453 532d 5265 712d    - PCI-DSS-Req-
│ │ │ +001bff80: 3130 2e34 0a20 202d 2050 4349 2d44 5353  10.4.  - PCI-DSS
│ │ │ +001bff90: 7634 2d31 302e 360a 2020 2d20 5043 492d  v4-10.6.  - PCI-
│ │ │ +001bffa0: 4453 5376 342d 3130 2e36 2e31 0a20 202d  DSSv4-10.6.1.  -
│ │ │ +001bffb0: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ +001bffc0: 0a20 202d 2068 6967 685f 7365 7665 7269  .  - high_severi
│ │ │ +001bffd0: 7479 0a20 202d 206c 6f77 5f63 6f6d 706c  ty.  - low_compl
│ │ │ +001bffe0: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +001bfff0: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f  sruption.  - no_
│ │ │ +001c0000: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +001c0010: 2d20 7365 7276 6963 655f 6e74 705f 656e  - service_ntp_en
│ │ │ +001c0020: 6162 6c65 640a 0a2d 206e 616d 653a 2045  abled..- name: E
│ │ │ +001c0030: 6e61 626c 6520 7468 6520 4e54 5020 4461  nable the NTP Da
│ │ │ +001c0040: 656d 6f6e 202d 2045 6e61 626c 6520 7365  emon - Enable se
│ │ │ +001c0050: 7276 6963 6520 6e74 700a 2020 626c 6f63  rvice ntp.  bloc
│ │ │ +001c0060: 6b3a 0a0a 2020 2d20 6e61 6d65 3a20 4761  k:..  - name: Ga
│ │ │ +001c0070: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ +001c0080: 2066 6163 7473 0a20 2020 2070 6163 6b61   facts.    packa
│ │ │ +001c0090: 6765 5f66 6163 7473 3a0a 2020 2020 2020  ge_facts:.      
│ │ │ +001c00a0: 6d61 6e61 6765 723a 2061 7574 6f0a 0a20  manager: auto.. 
│ │ │ +001c00b0: 202d 206e 616d 653a 2045 6e61 626c 6520   - name: Enable 
│ │ │ +001c00c0: 7468 6520 4e54 5020 4461 656d 6f6e 202d  the NTP Daemon -
│ │ │ +001c00d0: 2045 6e61 626c 6520 5365 7276 6963 6520   Enable Service 
│ │ │ +001c00e0: 6e74 700a 2020 2020 616e 7369 626c 652e  ntp.    ansible.
│ │ │ +001c00f0: 6275 696c 7469 6e2e 7379 7374 656d 643a  builtin.systemd:
│ │ │ +001c0100: 0a20 2020 2020 206e 616d 653a 206e 7470  .      name: ntp
│ │ │ +001c0110: 0a20 2020 2020 2065 6e61 626c 6564 3a20  .      enabled: 
│ │ │ +001c0120: 7472 7565 0a20 2020 2020 2073 7461 7465  true.      state
│ │ │ +001c0130: 3a20 7374 6172 7465 640a 2020 2020 2020  : started.      
│ │ │ +001c0140: 6d61 736b 6564 3a20 6661 6c73 650a 2020  masked: false.  
│ │ │ +001c0150: 2020 7768 656e 3a0a 2020 2020 2d20 2722    when:.    - '"
│ │ │ +001c0160: 6e74 7022 2069 6e20 616e 7369 626c 655f  ntp" in ansible_
│ │ │ +001c0170: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ +001c0180: 2020 7768 656e 3a0a 2020 2d20 2722 6c69    when:.  - '"li
│ │ │ +001c0190: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ +001c01a0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ +001c01b0: 6765 7327 0a20 202d 2027 226e 7470 2220  ges'.  - '"ntp" 
│ │ │ +001c01c0: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +001c01d0: 2e70 6163 6b61 6765 7327 0a20 2074 6167  .packages'.  tag
│ │ │ +001c01e0: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +001c01f0: 3533 2d41 552d 3828 3129 2861 290a 2020  53-AU-8(1)(a).  
│ │ │ +001c0200: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +001c0210: 2d36 2861 290a 2020 2d20 5043 492d 4453  -6(a).  - PCI-DS
│ │ │ +001c0220: 532d 5265 712d 3130 2e34 0a20 202d 2050  S-Req-10.4.  - P
│ │ │ +001c0230: 4349 2d44 5353 7634 2d31 302e 360a 2020  CI-DSSv4-10.6.  
│ │ │ +001c0240: 2d20 5043 492d 4453 5376 342d 3130 2e36  - PCI-DSSv4-10.6
│ │ │ +001c0250: 2e31 0a20 202d 2065 6e61 626c 655f 7374  .1.  - enable_st
│ │ │ +001c0260: 7261 7465 6779 0a20 202d 2068 6967 685f  rategy.  - high_
│ │ │ +001c0270: 7365 7665 7269 7479 0a20 202d 206c 6f77  severity.  - low
│ │ │ +001c0280: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +001c0290: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +001c02a0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +001c02b0: 6465 640a 2020 2d20 7365 7276 6963 655f  ded.  - service_
│ │ │ +001c02c0: 6e74 705f 656e 6162 6c65 640a 3c2f 636f  ntp_enabled.
< │ │ │ +001c02e0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +001c02f0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +001c0300: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +001c0310: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +001c0320: 646d 3234 3431 3622 2074 6162 696e 6465 dm24416" tabinde │ │ │ +001c0330: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +001c0340: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +001c0350: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +001c0360: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +001c0370: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +001c0380: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +001c0390: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
low
Disr │ │ │ +001bfe70: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +001bfe80: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +001bfec0: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ +001bfed0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complexity: │ │ │ +001c0470: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +001c0480: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ +001c04d0: 696e 636c 7564 6520 656e 6162 6c65 5f6e  include enable_n
│ │ │ +001c04e0: 7470 0a0a 636c 6173 7320 656e 6162 6c65  tp..class enable
│ │ │ +001c04f0: 5f6e 7470 207b 0a20 2073 6572 7669 6365  _ntp {.  service
│ │ │ +001c0500: 207b 276e 7470 273a 0a20 2020 2065 6e61   {'ntp':.    ena
│ │ │ +001c0510: 626c 6520 3d26 6774 3b20 7472 7565 2c0a  ble => true,.
│ │ │ +001c0520: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +001c0530: 2027 7275 6e6e 696e 6727 2c0a 2020 7d0a   'running',.  }.
│ │ │ +001c0540: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ +001c0550: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +001c0600: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ +001c0610: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
.[customizat
│ │ │ +001c0670: 696f 6e73 2e73 6572 7669 6365 735d 0a65  ions.services].e
│ │ │ +001c0680: 6e61 626c 6564 203d 205b 226e 7470 225d  nabled = ["ntp"]
│ │ │  001c0690: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Rem │ │ │ -001c19e0: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild │ │ │ -001c19f0: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp │ │ │ -001c1a00: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[cu
│ │ │ -001c1a50: 7374 6f6d 697a 6174 696f 6e73 2e73 6572  stomizations.ser
│ │ │ -001c1a60: 7669 6365 735d 0a65 6e61 626c 6564 203d  vices].enabled =
│ │ │ -001c1a70: 205b 2273 7973 7465 6d64 2d74 696d 6573   ["systemd-times
│ │ │ -001c1a80: 796e 6364 225d 0a3c 2f63 6f64 653e 3c2f  yncd"].
Remedi │ │ │ -001c1b40: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ -001c1b50: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001c1b60: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
low
Disru │ │ │ +001c0450: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +001c0460: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +001c04a0: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ +001c04b0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Com │ │ │ -001c1be0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -001c1c10: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -001c1c30: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -001c1c40: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -001c1c60: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ -001c1c80: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -001c1c90: 6465 2065 6e61 626c 655f 7379 7374 656d  de enable_system
│ │ │ -001c1ca0: 642d 7469 6d65 7379 6e63 640a 0a63 6c61  d-timesyncd..cla
│ │ │ -001c1cb0: 7373 2065 6e61 626c 655f 7379 7374 656d  ss enable_system
│ │ │ -001c1cc0: 642d 7469 6d65 7379 6e63 6420 7b0a 2020  d-timesyncd {.  
│ │ │ -001c1cd0: 7365 7276 6963 6520 7b27 7379 7374 656d  service {'system
│ │ │ -001c1ce0: 642d 7469 6d65 7379 6e63 6427 3a0a 2020  d-timesyncd':.  
│ │ │ -001c1cf0: 2020 656e 6162 6c65 203d 2667 743b 2074    enable => t
│ │ │ -001c1d00: 7275 652c 0a20 2020 2065 6e73 7572 6520  rue,.    ensure 
│ │ │ -001c1d10: 3d26 6774 3b20 2772 756e 6e69 6e67 272c  => 'running',
│ │ │ -001c1d20: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.
Remedi │ │ │ -001c1de0: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn │ │ │ -001c1df0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -001c1ea0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -001c1ef0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ -001c1e80: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -001c1eb0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -001c1ed0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -001c1ee0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -001c1f00: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ -001c1f10: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -001c1f30: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ -001c1f40: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ -001c1f50: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ -001c1f60: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ -001c1f70: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ -001c1f80: 2d38 3030 2d35 332d 4155 2d38 2831 2928  -800-53-AU-8(1)(
│ │ │ -001c1f90: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ -001c1fa0: 3533 2d43 4d2d 3628 6129 0a20 202d 2050  53-CM-6(a).  - P
│ │ │ -001c1fb0: 4349 2d44 5353 2d52 6571 2d31 302e 340a  CI-DSS-Req-10.4.
│ │ │ -001c1fc0: 2020 2d20 5043 492d 4453 5376 342d 3130    - PCI-DSSv4-10
│ │ │ -001c1fd0: 2e36 0a20 202d 2050 4349 2d44 5353 7634  .6.  - PCI-DSSv4
│ │ │ -001c1fe0: 2d31 302e 362e 310a 2020 2d20 656e 6162  -10.6.1.  - enab
│ │ │ -001c1ff0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -001c2000: 6869 6768 5f73 6576 6572 6974 790a 2020  high_severity.  
│ │ │ -001c2010: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -001c2020: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -001c2030: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f  ion.  - no_reboo
│ │ │ -001c2040: 745f 6e65 6564 6564 0a20 202d 2073 6572  t_needed.  - ser
│ │ │ -001c2050: 7669 6365 5f74 696d 6573 796e 6364 5f65  vice_timesyncd_e
│ │ │ -001c2060: 6e61 626c 6564 0a0a 2d20 6e61 6d65 3a20  nabled..- name: 
│ │ │ -001c2070: 456e 6162 6c65 2073 7973 7465 6d64 5f74  Enable systemd_t
│ │ │ -001c2080: 696d 6573 796e 6364 2053 6572 7669 6365  imesyncd Service
│ │ │ -001c2090: 202d 2045 6e61 626c 6520 7365 7276 6963   - Enable servic
│ │ │ -001c20a0: 6520 7379 7374 656d 642d 7469 6d65 7379  e systemd-timesy
│ │ │ -001c20b0: 6e63 640a 2020 626c 6f63 6b3a 0a0a 2020  ncd.  block:..  
│ │ │ -001c20c0: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ -001c20d0: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ -001c20e0: 0a20 2020 2070 6163 6b61 6765 5f66 6163  .    package_fac
│ │ │ -001c20f0: 7473 3a0a 2020 2020 2020 6d61 6e61 6765  ts:.      manage
│ │ │ -001c2100: 723a 2061 7574 6f0a 0a20 202d 206e 616d  r: auto..  - nam
│ │ │ -001c2110: 653a 2045 6e61 626c 6520 7379 7374 656d  e: Enable system
│ │ │ -001c2120: 645f 7469 6d65 7379 6e63 6420 5365 7276  d_timesyncd Serv
│ │ │ -001c2130: 6963 6520 2d20 456e 6162 6c65 2053 6572  ice - Enable Ser
│ │ │ -001c2140: 7669 6365 2073 7973 7465 6d64 2d74 696d  vice systemd-tim
│ │ │ -001c2150: 6573 796e 6364 0a20 2020 2061 6e73 6962  esyncd.    ansib
│ │ │ -001c2160: 6c65 2e62 7569 6c74 696e 2e73 7973 7465  le.builtin.syste
│ │ │ -001c2170: 6d64 3a0a 2020 2020 2020 6e61 6d65 3a20  md:.      name: 
│ │ │ -001c2180: 7379 7374 656d 642d 7469 6d65 7379 6e63  systemd-timesync
│ │ │ -001c2190: 640a 2020 2020 2020 656e 6162 6c65 643a  d.      enabled:
│ │ │ -001c21a0: 2074 7275 650a 2020 2020 2020 7374 6174   true.      stat
│ │ │ -001c21b0: 653a 2073 7461 7274 6564 0a20 2020 2020  e: started.     
│ │ │ -001c21c0: 206d 6173 6b65 643a 2066 616c 7365 0a20   masked: false. 
│ │ │ -001c21d0: 2020 2077 6865 6e3a 0a20 2020 202d 2027     when:.    - '
│ │ │ -001c21e0: 2273 7973 7465 6d64 2220 696e 2061 6e73  "systemd" in ans
│ │ │ -001c21f0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -001c2200: 6765 7327 0a20 2077 6865 6e3a 0a20 202d  ges'.  when:.  -
│ │ │ -001c2210: 2027 226c 696e 7578 2d62 6173 6522 2069   '"linux-base" i
│ │ │ -001c2220: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ -001c2230: 7061 636b 6167 6573 270a 2020 2d20 2820  packages'.  - ( 
│ │ │ -001c2240: 6e6f 7420 2820 2263 6872 6f6e 7922 2069  not ( "chrony" i
│ │ │ -001c2250: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ -001c2260: 7061 636b 6167 6573 2029 2061 6e64 206e  packages ) and n
│ │ │ -001c2270: 6f74 2028 2022 6e74 7022 2069 6e20 616e  ot ( "ntp" in an
│ │ │ -001c2280: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ -001c2290: 6167 6573 0a20 2020 2029 2029 0a20 2074  ages.    ) ).  t
│ │ │ -001c22a0: 6167 733a 0a20 202d 204e 4953 542d 3830  ags:.  - NIST-80
│ │ │ -001c22b0: 302d 3533 2d41 552d 3828 3129 2861 290a  0-53-AU-8(1)(a).
│ │ │ -001c22c0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -001c22d0: 434d 2d36 2861 290a 2020 2d20 5043 492d  CM-6(a).  - PCI-
│ │ │ -001c22e0: 4453 532d 5265 712d 3130 2e34 0a20 202d  DSS-Req-10.4.  -
│ │ │ -001c22f0: 2050 4349 2d44 5353 7634 2d31 302e 360a   PCI-DSSv4-10.6.
│ │ │ -001c2300: 2020 2d20 5043 492d 4453 5376 342d 3130    - PCI-DSSv4-10
│ │ │ -001c2310: 2e36 2e31 0a20 202d 2065 6e61 626c 655f  .6.1.  - enable_
│ │ │ -001c2320: 7374 7261 7465 6779 0a20 202d 2068 6967  strategy.  - hig
│ │ │ -001c2330: 685f 7365 7665 7269 7479 0a20 202d 206c  h_severity.  - l
│ │ │ -001c2340: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ -001c2350: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -001c2360: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ -001c2370: 6565 6465 640a 2020 2d20 7365 7276 6963  eeded.  - servic
│ │ │ -001c2380: 655f 7469 6d65 7379 6e63 645f 656e 6162  e_timesyncd_enab
│ │ │ -001c2390: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265  led.
│ │ │ +001c1a00: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ +001c1ad0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +001c1ae0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
-
│ │ │ +001c1b30: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ +001c1b40: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ +001c1b50: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ +001c1b60: 0a20 2020 206d 616e 6167 6572 3a20 6175  .    manager: au
│ │ │ +001c1b70: 746f 0a20 2074 6167 733a 0a20 202d 204e  to.  tags:.  - N
│ │ │ +001c1b80: 4953 542d 3830 302d 3533 2d41 552d 3828  IST-800-53-AU-8(
│ │ │ +001c1b90: 3129 2861 290a 2020 2d20 4e49 5354 2d38  1)(a).  - NIST-8
│ │ │ +001c1ba0: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ +001c1bb0: 2d20 5043 492d 4453 532d 5265 712d 3130  - PCI-DSS-Req-10
│ │ │ +001c1bc0: 2e34 0a20 202d 2050 4349 2d44 5353 7634  .4.  - PCI-DSSv4
│ │ │ +001c1bd0: 2d31 302e 360a 2020 2d20 5043 492d 4453  -10.6.  - PCI-DS
│ │ │ +001c1be0: 5376 342d 3130 2e36 2e31 0a20 202d 2065  Sv4-10.6.1.  - e
│ │ │ +001c1bf0: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ +001c1c00: 202d 2068 6967 685f 7365 7665 7269 7479   - high_severity
│ │ │ +001c1c10: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +001c1c20: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +001c1c30: 7570 7469 6f6e 0a20 202d 206e 6f5f 7265  uption.  - no_re
│ │ │ +001c1c40: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +001c1c50: 7365 7276 6963 655f 7469 6d65 7379 6e63  service_timesync
│ │ │ +001c1c60: 645f 656e 6162 6c65 640a 0a2d 206e 616d  d_enabled..- nam
│ │ │ +001c1c70: 653a 2045 6e61 626c 6520 7379 7374 656d  e: Enable system
│ │ │ +001c1c80: 645f 7469 6d65 7379 6e63 6420 5365 7276  d_timesyncd Serv
│ │ │ +001c1c90: 6963 6520 2d20 456e 6162 6c65 2073 6572  ice - Enable ser
│ │ │ +001c1ca0: 7669 6365 2073 7973 7465 6d64 2d74 696d  vice systemd-tim
│ │ │ +001c1cb0: 6573 796e 6364 0a20 2062 6c6f 636b 3a0a  esyncd.  block:.
│ │ │ +001c1cc0: 0a20 202d 206e 616d 653a 2047 6174 6865  .  - name: Gathe
│ │ │ +001c1cd0: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ +001c1ce0: 6374 730a 2020 2020 7061 636b 6167 655f  cts.    package_
│ │ │ +001c1cf0: 6661 6374 733a 0a20 2020 2020 206d 616e  facts:.      man
│ │ │ +001c1d00: 6167 6572 3a20 6175 746f 0a0a 2020 2d20  ager: auto..  - 
│ │ │ +001c1d10: 6e61 6d65 3a20 456e 6162 6c65 2073 7973  name: Enable sys
│ │ │ +001c1d20: 7465 6d64 5f74 696d 6573 796e 6364 2053  temd_timesyncd S
│ │ │ +001c1d30: 6572 7669 6365 202d 2045 6e61 626c 6520  ervice - Enable 
│ │ │ +001c1d40: 5365 7276 6963 6520 7379 7374 656d 642d  Service systemd-
│ │ │ +001c1d50: 7469 6d65 7379 6e63 640a 2020 2020 616e  timesyncd.    an
│ │ │ +001c1d60: 7369 626c 652e 6275 696c 7469 6e2e 7379  sible.builtin.sy
│ │ │ +001c1d70: 7374 656d 643a 0a20 2020 2020 206e 616d  stemd:.      nam
│ │ │ +001c1d80: 653a 2073 7973 7465 6d64 2d74 696d 6573  e: systemd-times
│ │ │ +001c1d90: 796e 6364 0a20 2020 2020 2065 6e61 626c  yncd.      enabl
│ │ │ +001c1da0: 6564 3a20 7472 7565 0a20 2020 2020 2073  ed: true.      s
│ │ │ +001c1db0: 7461 7465 3a20 7374 6172 7465 640a 2020  tate: started.  
│ │ │ +001c1dc0: 2020 2020 6d61 736b 6564 3a20 6661 6c73      masked: fals
│ │ │ +001c1dd0: 650a 2020 2020 7768 656e 3a0a 2020 2020  e.    when:.    
│ │ │ +001c1de0: 2d20 2722 7379 7374 656d 6422 2069 6e20  - '"systemd" in 
│ │ │ +001c1df0: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ +001c1e00: 636b 6167 6573 270a 2020 7768 656e 3a0a  ckages'.  when:.
│ │ │ +001c1e10: 2020 2d20 2722 6c69 6e75 782d 6261 7365    - '"linux-base
│ │ │ +001c1e20: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ +001c1e30: 7473 2e70 6163 6b61 6765 7327 0a20 202d  ts.packages'.  -
│ │ │ +001c1e40: 2028 206e 6f74 2028 2022 6368 726f 6e79   ( not ( "chrony
│ │ │ +001c1e50: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ +001c1e60: 7473 2e70 6163 6b61 6765 7320 2920 616e  ts.packages ) an
│ │ │ +001c1e70: 6420 6e6f 7420 2820 226e 7470 2220 696e  d not ( "ntp" in
│ │ │ +001c1e80: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ +001c1e90: 6163 6b61 6765 730a 2020 2020 2920 290a  ackages.    ) ).
│ │ │ +001c1ea0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ +001c1eb0: 2d38 3030 2d35 332d 4155 2d38 2831 2928  -800-53-AU-8(1)(
│ │ │ +001c1ec0: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ +001c1ed0: 3533 2d43 4d2d 3628 6129 0a20 202d 2050  53-CM-6(a).  - P
│ │ │ +001c1ee0: 4349 2d44 5353 2d52 6571 2d31 302e 340a  CI-DSS-Req-10.4.
│ │ │ +001c1ef0: 2020 2d20 5043 492d 4453 5376 342d 3130    - PCI-DSSv4-10
│ │ │ +001c1f00: 2e36 0a20 202d 2050 4349 2d44 5353 7634  .6.  - PCI-DSSv4
│ │ │ +001c1f10: 2d31 302e 362e 310a 2020 2d20 656e 6162  -10.6.1.  - enab
│ │ │ +001c1f20: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +001c1f30: 6869 6768 5f73 6576 6572 6974 790a 2020  high_severity.  
│ │ │ +001c1f40: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +001c1f50: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +001c1f60: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f  ion.  - no_reboo
│ │ │ +001c1f70: 745f 6e65 6564 6564 0a20 202d 2073 6572  t_needed.  - ser
│ │ │ +001c1f80: 7669 6365 5f74 696d 6573 796e 6364 5f65  vice_timesyncd_e
│ │ │ +001c1f90: 6e61 626c 6564 0a3c 2f63 6f64 653e 3c2f  nabled.Remedi
│ │ │ +001c2050: 6174 696f 6e20 5075 7070 6574 2073 6e69  ation Puppet sni
│ │ │ +001c2060: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e  ppet ...
│ │ │ +001c2070: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Complexity:low
Disrup │ │ │ +001c1ab0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +001c1ac0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +001c1b00: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +001c1b10: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Com │ │ │ +001c20f0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +001c2120: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +001c2140: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +001c2150: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +001c2170: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ +001c2190: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +001c21a0: 6465 2065 6e61 626c 655f 7379 7374 656d  de enable_system
│ │ │ +001c21b0: 642d 7469 6d65 7379 6e63 640a 0a63 6c61  d-timesyncd..cla
│ │ │ +001c21c0: 7373 2065 6e61 626c 655f 7379 7374 656d  ss enable_system
│ │ │ +001c21d0: 642d 7469 6d65 7379 6e63 6420 7b0a 2020  d-timesyncd {.  
│ │ │ +001c21e0: 7365 7276 6963 6520 7b27 7379 7374 656d  service {'system
│ │ │ +001c21f0: 642d 7469 6d65 7379 6e63 6427 3a0a 2020  d-timesyncd':.  
│ │ │ +001c2200: 2020 656e 6162 6c65 203d 2667 743b 2074    enable => t
│ │ │ +001c2210: 7275 652c 0a20 2020 2065 6e73 7572 6520  rue,.    ensure 
│ │ │ +001c2220: 3d26 6774 3b20 2772 756e 6e69 6e67 272c  => 'running',
│ │ │ +001c2230: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.
Remedi │ │ │ +001c22f0: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl │ │ │ +001c2300: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet │ │ │ +001c2310: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...

.[custo │ │ │ +001c2360: 6d69 7a61 7469 6f6e 732e 7365 7276 6963 mizations.servic │ │ │ +001c2370: 6573 5d0a 656e 6162 6c65 6420 3d20 5b22 es].enabled = [" │ │ │ +001c2380: 7379 7374 656d 642d 7469 6d65 7379 6e63 systemd-timesync │ │ │ +001c2390: 6422 5d0a 3c2f 636f 6465 3e3c 2f70 7265 d"].

R │ │ │ -001c8ae0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ -001c8af0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity: │ │ │ -001c8bd0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -001c8be0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ -001c8c40: 7869 6e65 7464 0a0a 636c 6173 7320 7265  xinetd..class re
│ │ │ -001c8c50: 6d6f 7665 5f78 696e 6574 6420 7b0a 2020  move_xinetd {.  
│ │ │ -001c8c60: 7061 636b 6167 6520 7b20 2778 696e 6574  package { 'xinet
│ │ │ -001c8c70: 6427 3a0a 2020 2020 656e 7375 7265 203d  d':.    ensure =
│ │ │ -001c8c80: 2667 743b 2027 7075 7267 6564 272c 0a20  > 'purged',. 
│ │ │ -001c8c90: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.Remediat
│ │ │ -001c8d50: 696f 6e20 416e 7369 626c 6520 736e 6970  ion Ansible snip
│ │ │ -001c8d60: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c  pet ...
< │ │ │ -001c8d70: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -001c8d80: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -001c8d90: 7365 2220 6964 3d22 6964 6d32 3437 3938 se" id="idm24798 │ │ │ -001c8da0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
low
Disru │ │ │ -001c8bb0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -001c8bc0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -001c8c00: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ -001c8c10: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Comp │ │ │ -001c8df0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -001c8e00: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -001c8e20: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -001c8e40: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -001c8e50: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ -001c8e90: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ -001c8ea0: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ -001c8eb0: 636b 6167 6520 6661 6374 730a 2020 7061  ckage facts.  pa
│ │ │ -001c8ec0: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ -001c8ed0: 206d 616e 6167 6572 3a20 6175 746f 0a20   manager: auto. 
│ │ │ -001c8ee0: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ -001c8ef0: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ -001c8f00: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -001c8f10: 4d2d 3728 6129 0a20 202d 204e 4953 542d  M-7(a).  - NIST-
│ │ │ -001c8f20: 3830 302d 3533 2d43 4d2d 3728 6229 0a20  800-53-CM-7(b). 
│ │ │ -001c8f30: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ -001c8f40: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ -001c8f50: 2e32 2e34 0a20 202d 2064 6973 6162 6c65  .2.4.  - disable
│ │ │ -001c8f60: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ -001c8f70: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -001c8f80: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -001c8f90: 2020 2d20 6c6f 775f 7365 7665 7269 7479    - low_severity
│ │ │ -001c8fa0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ -001c8fb0: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ -001c8fc0: 655f 7869 6e65 7464 5f72 656d 6f76 6564  e_xinetd_removed
│ │ │ -001c8fd0: 0a0a 2d20 6e61 6d65 3a20 456e 7375 7265  ..- name: Ensure
│ │ │ -001c8fe0: 2078 696e 6574 6420 6973 2072 656d 6f76   xinetd is remov
│ │ │ -001c8ff0: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ -001c9000: 2020 6e61 6d65 3a20 7869 6e65 7464 0a20    name: xinetd. 
│ │ │ -001c9010: 2020 2073 7461 7465 3a20 6162 7365 6e74     state: absent
│ │ │ -001c9020: 0a20 2077 6865 6e3a 2027 226c 696e 7578  .  when: '"linux
│ │ │ -001c9030: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ -001c9040: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ -001c9050: 270a 2020 7461 6773 3a0a 2020 2d20 4e49  '.  tags:.  - NI
│ │ │ -001c9060: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ -001c9070: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -001c9080: 332d 434d 2d37 2861 290a 2020 2d20 4e49  3-CM-7(a).  - NI
│ │ │ -001c9090: 5354 2d38 3030 2d35 332d 434d 2d37 2862  ST-800-53-CM-7(b
│ │ │ -001c90a0: 290a 2020 2d20 5043 492d 4453 5376 342d  ).  - PCI-DSSv4-
│ │ │ -001c90b0: 322e 320a 2020 2d20 5043 492d 4453 5376  2.2.  - PCI-DSSv
│ │ │ -001c90c0: 342d 322e 322e 340a 2020 2d20 6469 7361  4-2.2.4.  - disa
│ │ │ -001c90d0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -001c90e0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -001c90f0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -001c9100: 6f6e 0a20 202d 206c 6f77 5f73 6576 6572  on.  - low_sever
│ │ │ -001c9110: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ -001c9120: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ -001c9130: 6b61 6765 5f78 696e 6574 645f 7265 6d6f  kage_xinetd_remo
│ │ │ -001c9140: 7665 640a 3c2f 636f 6465 3e3c 2f70 7265  ved.

< │ │ │ +001c8b80: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +001c8ba0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +001c8bf0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +001c8c20: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Gather
│ │ │ +001c8c40: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ +001c8c50: 7473 0a20 2070 6163 6b61 6765 5f66 6163  ts.  package_fac
│ │ │ +001c8c60: 7473 3a0a 2020 2020 6d61 6e61 6765 723a  ts:.    manager:
│ │ │ +001c8c70: 2061 7574 6f0a 2020 7461 6773 3a0a 2020   auto.  tags:.  
│ │ │ +001c8c80: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +001c8c90: 2d36 2861 290a 2020 2d20 4e49 5354 2d38  -6(a).  - NIST-8
│ │ │ +001c8ca0: 3030 2d35 332d 434d 2d37 2861 290a 2020  00-53-CM-7(a).  
│ │ │ +001c8cb0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +001c8cc0: 2d37 2862 290a 2020 2d20 5043 492d 4453  -7(b).  - PCI-DS
│ │ │ +001c8cd0: 5376 342d 322e 320a 2020 2d20 5043 492d  Sv4-2.2.  - PCI-
│ │ │ +001c8ce0: 4453 5376 342d 322e 322e 340a 2020 2d20  DSSv4-2.2.4.  - 
│ │ │ +001c8cf0: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ +001c8d00: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +001c8d10: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +001c8d20: 7570 7469 6f6e 0a20 202d 206c 6f77 5f73  uption.  - low_s
│ │ │ +001c8d30: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +001c8d40: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +001c8d50: 2070 6163 6b61 6765 5f78 696e 6574 645f   package_xinetd_
│ │ │ +001c8d60: 7265 6d6f 7665 640a 0a2d 206e 616d 653a  removed..- name:
│ │ │ +001c8d70: 2045 6e73 7572 6520 7869 6e65 7464 2069   Ensure xinetd i
│ │ │ +001c8d80: 7320 7265 6d6f 7665 640a 2020 7061 636b  s removed.  pack
│ │ │ +001c8d90: 6167 653a 0a20 2020 206e 616d 653a 2078  age:.    name: x
│ │ │ +001c8da0: 696e 6574 640a 2020 2020 7374 6174 653a  inetd.    state:
│ │ │ +001c8db0: 2061 6273 656e 740a 2020 7768 656e 3a20   absent.  when: 
│ │ │ +001c8dc0: 2722 6c69 6e75 782d 6261 7365 2220 696e  '"linux-base" in
│ │ │ +001c8dd0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ +001c8de0: 6163 6b61 6765 7327 0a20 2074 6167 733a  ackages'.  tags:
│ │ │ +001c8df0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +001c8e00: 2d43 4d2d 3628 6129 0a20 202d 204e 4953  -CM-6(a).  - NIS
│ │ │ +001c8e10: 542d 3830 302d 3533 2d43 4d2d 3728 6129  T-800-53-CM-7(a)
│ │ │ +001c8e20: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +001c8e30: 2d43 4d2d 3728 6229 0a20 202d 2050 4349  -CM-7(b).  - PCI
│ │ │ +001c8e40: 2d44 5353 7634 2d32 2e32 0a20 202d 2050  -DSSv4-2.2.  - P
│ │ │ +001c8e50: 4349 2d44 5353 7634 2d32 2e32 2e34 0a20  CI-DSSv4-2.2.4. 
│ │ │ +001c8e60: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ +001c8e70: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +001c8e80: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +001c8e90: 6973 7275 7074 696f 6e0a 2020 2d20 6c6f  isruption.  - lo
│ │ │ +001c8ea0: 775f 7365 7665 7269 7479 0a20 202d 206e  w_severity.  - n
│ │ │ +001c8eb0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +001c8ec0: 2020 2d20 7061 636b 6167 655f 7869 6e65    - package_xine
│ │ │ +001c8ed0: 7464 5f72 656d 6f76 6564 0a3c 2f63 6f64  td_removed.
Re │ │ │ +001c8f90: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ +001c8fa0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +001c8fb0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
low
Disr │ │ │ +001c8bb0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +001c8bc0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +001c8c00: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +001c8c10: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
< │ │ │ +001c9080: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +001c9090: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +001c90e0: 696e 636c 7564 6520 7265 6d6f 7665 5f78  include remove_x
│ │ │ +001c90f0: 696e 6574 640a 0a63 6c61 7373 2072 656d  inetd..class rem
│ │ │ +001c9100: 6f76 655f 7869 6e65 7464 207b 0a20 2070  ove_xinetd {.  p
│ │ │ +001c9110: 6163 6b61 6765 207b 2027 7869 6e65 7464  ackage { 'xinetd
│ │ │ +001c9120: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ +001c9130: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ +001c9140: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Rem │ │ │ -001ca4e0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ -001ca4f0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -001ca500: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
Complexity:low
Disrup │ │ │ +001c9060: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +001c9070: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +001c90b0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +001c90c0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -001ca590: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
i
│ │ │ -001ca630: 6e63 6c75 6465 2072 656d 6f76 655f 7273  nclude remove_rs
│ │ │ -001ca640: 682d 636c 6965 6e74 0a0a 636c 6173 7320  h-client..class 
│ │ │ -001ca650: 7265 6d6f 7665 5f72 7368 2d63 6c69 656e  remove_rsh-clien
│ │ │ -001ca660: 7420 7b0a 2020 7061 636b 6167 6520 7b20  t {.  package { 
│ │ │ -001ca670: 2772 7368 2d63 6c69 656e 7427 3a0a 2020  'rsh-client':.  
│ │ │ -001ca680: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ -001ca690: 7075 7267 6564 272c 0a20 207d 0a7d 0a3c  purged',.  }.}.<
│ │ │ -001ca6a0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation An │ │ │ -001ca760: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -001ca770: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ -001ca830: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001ca840: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
│ │ │ -001ca580: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -001ca5b0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -001ca5c0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -001ca600: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ -001ca610: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexity │ │ │ -001ca800: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ -001ca820: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ -001ca850: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ -001ca870: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ -001ca8a0: 636f 6465 3e2d 206e 616d 653a 2045 6e73  code>- name: Ens
│ │ │ -001ca8b0: 7572 6520 7273 682d 636c 6965 6e74 2069  ure rsh-client i
│ │ │ -001ca8c0: 7320 7265 6d6f 7665 640a 2020 7061 636b  s removed.  pack
│ │ │ -001ca8d0: 6167 653a 0a20 2020 206e 616d 653a 2072  age:.    name: r
│ │ │ -001ca8e0: 7368 2d63 6c69 656e 740a 2020 2020 7374  sh-client.    st
│ │ │ -001ca8f0: 6174 653a 2061 6273 656e 740a 2020 7461  ate: absent.  ta
│ │ │ -001ca900: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030  gs:.  - NIST-800
│ │ │ -001ca910: 2d31 3731 2d33 2e31 2e31 330a 2020 2d20  -171-3.1.13.  - 
│ │ │ -001ca920: 5043 492d 4453 5376 342d 322e 320a 2020  PCI-DSSv4-2.2.  
│ │ │ -001ca930: 2d20 5043 492d 4453 5376 342d 322e 322e  - PCI-DSSv4-2.2.
│ │ │ -001ca940: 340a 2020 2d20 6469 7361 626c 655f 7374  4.  - disable_st
│ │ │ -001ca950: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ -001ca960: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ -001ca970: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ -001ca980: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -001ca990: 640a 2020 2d20 7061 636b 6167 655f 7273  d.  - package_rs
│ │ │ -001ca9a0: 685f 7265 6d6f 7665 640a 2020 2d20 756e  h_removed.  - un
│ │ │ -001ca9b0: 6b6e 6f77 6e5f 7365 7665 7269 7479 0a3c  known_severity.<
│ │ │ +001ca4e0: 6564 6961 7469 6f6e 2041 6e73 6962 6c65  ediation Ansible
│ │ │ +001ca4f0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e   snippet ...
│ │ │ +001ca500: 3c62 723e 3c64 6976 2063 6c61 7373 3d22  
< │ │ │ +001ca5d0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +001ca5e0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +001ca630: 2d20 6e61 6d65 3a20 456e 7375 7265 2072  - name: Ensure r
│ │ │ +001ca640: 7368 2d63 6c69 656e 7420 6973 2072 656d  sh-client is rem
│ │ │ +001ca650: 6f76 6564 0a20 2070 6163 6b61 6765 3a0a  oved.  package:.
│ │ │ +001ca660: 2020 2020 6e61 6d65 3a20 7273 682d 636c      name: rsh-cl
│ │ │ +001ca670: 6965 6e74 0a20 2020 2073 7461 7465 3a20  ient.    state: 
│ │ │ +001ca680: 6162 7365 6e74 0a20 2074 6167 733a 0a20  absent.  tags:. 
│ │ │ +001ca690: 202d 204e 4953 542d 3830 302d 3137 312d   - NIST-800-171-
│ │ │ +001ca6a0: 332e 312e 3133 0a20 202d 2050 4349 2d44  3.1.13.  - PCI-D
│ │ │ +001ca6b0: 5353 7634 2d32 2e32 0a20 202d 2050 4349  SSv4-2.2.  - PCI
│ │ │ +001ca6c0: 2d44 5353 7634 2d32 2e32 2e34 0a20 202d  -DSSv4-2.2.4.  -
│ │ │ +001ca6d0: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ +001ca6e0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +001ca6f0: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +001ca700: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72  ruption.  - no_r
│ │ │ +001ca710: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +001ca720: 2070 6163 6b61 6765 5f72 7368 5f72 656d   package_rsh_rem
│ │ │ +001ca730: 6f76 6564 0a20 202d 2075 6e6b 6e6f 776e  oved.  - unknown
│ │ │ +001ca740: 5f73 6576 6572 6974 790a 3c2f 636f 6465  _severity.
Rem │ │ │ +001ca800: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ +001ca810: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +001ca820: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
Complexity:low
Disrup │ │ │ +001ca5b0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +001ca5c0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +001ca600: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +001ca610: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +001ca8b0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
i
│ │ │ +001ca950: 6e63 6c75 6465 2072 656d 6f76 655f 7273  nclude remove_rs
│ │ │ +001ca960: 682d 636c 6965 6e74 0a0a 636c 6173 7320  h-client..class 
│ │ │ +001ca970: 7265 6d6f 7665 5f72 7368 2d63 6c69 656e  remove_rsh-clien
│ │ │ +001ca980: 7420 7b0a 2020 7061 636b 6167 6520 7b20  t {.  package { 
│ │ │ +001ca990: 2772 7368 2d63 6c69 656e 7427 3a0a 2020  'rsh-client':.  
│ │ │ +001ca9a0: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ +001ca9b0: 7075 7267 6564 272c 0a20 207d 0a7d 0a3c  purged',.  }.}.<
│ │ │  001ca9c0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remedi │ │ │ -001ccdf0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ -001cce00: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001cce10: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +001ca8a0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +001ca8d0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +001ca8e0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +001ca920: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +001ca930: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Com │ │ │ -001cce90: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -001ccec0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -001ccee0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -001ccef0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -001ccf10: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -001ccf20: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -001ccf40: 7564 6520 7265 6d6f 7665 5f74 616c 6b0a  ude remove_talk.
│ │ │ -001ccf50: 0a63 6c61 7373 2072 656d 6f76 655f 7461  .class remove_ta
│ │ │ -001ccf60: 6c6b 207b 0a20 2070 6163 6b61 6765 207b  lk {.  package {
│ │ │ -001ccf70: 2027 7461 6c6b 273a 0a20 2020 2065 6e73   'talk':.    ens
│ │ │ -001ccf80: 7572 6520 3d26 6774 3b20 2770 7572 6765  ure => 'purge
│ │ │ -001ccf90: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Rem │ │ │ -001cd050: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ -001cd060: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -001cd070: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -001cd140: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -001cd150: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -001cd1a0: 2d20 6e61 6d65 3a20 456e 7375 7265 2074  - name: Ensure t
│ │ │ -001cd1b0: 616c 6b20 6973 2072 656d 6f76 6564 0a20  alk is removed. 
│ │ │ -001cd1c0: 2070 6163 6b61 6765 3a0a 2020 2020 6e61   package:.    na
│ │ │ -001cd1d0: 6d65 3a20 7461 6c6b 0a20 2020 2073 7461  me: talk.    sta
│ │ │ -001cd1e0: 7465 3a20 6162 7365 6e74 0a20 2074 6167  te: absent.  tag
│ │ │ -001cd1f0: 733a 0a20 202d 2050 4349 2d44 5353 7634  s:.  - PCI-DSSv4
│ │ │ -001cd200: 2d32 2e32 0a20 202d 2050 4349 2d44 5353  -2.2.  - PCI-DSS
│ │ │ -001cd210: 7634 2d32 2e32 2e34 0a20 202d 2064 6973  v4-2.2.4.  - dis
│ │ │ -001cd220: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -001cd230: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -001cd240: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -001cd250: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ -001cd260: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ -001cd270: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -001cd280: 2070 6163 6b61 6765 5f74 616c 6b5f 7265   package_talk_re
│ │ │ -001cd290: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70  moved.


Complexity:low
Disrup │ │ │ -001cd120: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -001cd130: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -001cd170: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -001cd180: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
low< │ │ │ +001cceb0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +001ccf00: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ +001ccf40: 616d 653a 2045 6e73 7572 6520 7461 6c6b  ame: Ensure talk
│ │ │ +001ccf50: 2069 7320 7265 6d6f 7665 640a 2020 7061   is removed.  pa
│ │ │ +001ccf60: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ +001ccf70: 2074 616c 6b0a 2020 2020 7374 6174 653a   talk.    state:
│ │ │ +001ccf80: 2061 6273 656e 740a 2020 7461 6773 3a0a   absent.  tags:.
│ │ │ +001ccf90: 2020 2d20 5043 492d 4453 5376 342d 322e    - PCI-DSSv4-2.
│ │ │ +001ccfa0: 320a 2020 2d20 5043 492d 4453 5376 342d  2.  - PCI-DSSv4-
│ │ │ +001ccfb0: 322e 322e 340a 2020 2d20 6469 7361 626c  2.2.4.  - disabl
│ │ │ +001ccfc0: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ +001ccfd0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +001ccfe0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +001ccff0: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ +001cd000: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +001cd010: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ +001cd020: 636b 6167 655f 7461 6c6b 5f72 656d 6f76  ckage_talk_remov
│ │ │ +001cd030: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e  ed.
│ │ │ +001cd040: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediatio │ │ │ +001cd0f0: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ +001cd100: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +001cd140: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +001cd150: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +001cd160: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +001cd170: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +001cd180: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ +001cd210: 3c74 643e 6469 7361 626c 653c 2f74 643e │ │ │ +001cd220: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Co │ │ │ +001cce90: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +001ccec0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +001ccee0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +001ccef0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +001ccf10: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +001ccf20: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complex │ │ │ +001cd190: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +001cd1a0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ +001cd1e0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +001cd1f0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
disable
include │ │ │ +001cd240: 7265 6d6f 7665 5f74 616c 6b0a 0a63 6c61 remove_talk..cla │ │ │ +001cd250: 7373 2072 656d 6f76 655f 7461 6c6b 207b ss remove_talk { │ │ │ +001cd260: 0a20 2070 6163 6b61 6765 207b 2027 7461 . package { 'ta │ │ │ +001cd270: 6c6b 273a 0a20 2020 2065 6e73 7572 6520 lk':. ensure │ │ │ +001cd280: 3d26 6774 3b20 2770 7572 6765 6427 2c0a => 'purged',. │ │ │ +001cd290: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.

Remed │ │ │ -001ce510: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ -001ce520: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -001ce5d0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -001ce620: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ -001ce660: 6c75 6465 2072 656d 6f76 655f 7465 6c6e  lude remove_teln
│ │ │ -001ce670: 6574 0a0a 636c 6173 7320 7265 6d6f 7665  et..class remove
│ │ │ -001ce680: 5f74 656c 6e65 7420 7b0a 2020 7061 636b  _telnet {.  pack
│ │ │ -001ce690: 6167 6520 7b20 2774 656c 6e65 7427 3a0a  age { 'telnet':.
│ │ │ -001ce6a0: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -001ce6b0: 2027 7075 7267 6564 272c 0a20 207d 0a7d   'purged',.  }.}
│ │ │ -001ce6c0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -001ce780: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -001ce790: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001ce810: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ -001ce8a0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -001ce8b0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
Co │ │ │ -001ce5b0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -001ce5e0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -001ce600: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -001ce610: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -001ce630: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -001ce640: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complexi │ │ │ -001ce820: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -001ce830: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ -001ce870: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -001ce880: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
- name: E
│ │ │ -001ce8d0: 6e73 7572 6520 7465 6c6e 6574 2069 7320  nsure telnet is 
│ │ │ -001ce8e0: 7265 6d6f 7665 640a 2020 7061 636b 6167  removed.  packag
│ │ │ -001ce8f0: 653a 0a20 2020 206e 616d 653a 2074 656c  e:.    name: tel
│ │ │ -001ce900: 6e65 740a 2020 2020 7374 6174 653a 2061  net.    state: a
│ │ │ -001ce910: 6273 656e 740a 2020 7461 6773 3a0a 2020  bsent.  tags:.  
│ │ │ -001ce920: 2d20 4e49 5354 2d38 3030 2d31 3731 2d33  - NIST-800-171-3
│ │ │ -001ce930: 2e31 2e31 330a 2020 2d20 5043 492d 4453  .1.13.  - PCI-DS
│ │ │ -001ce940: 5376 342d 322e 320a 2020 2d20 5043 492d  Sv4-2.2.  - PCI-
│ │ │ -001ce950: 4453 5376 342d 322e 322e 340a 2020 2d20  DSSv4-2.2.4.  - 
│ │ │ -001ce960: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ -001ce970: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -001ce980: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -001ce990: 7570 7469 6f6e 0a20 202d 206c 6f77 5f73  uption.  - low_s
│ │ │ -001ce9a0: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ -001ce9b0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -001ce9c0: 2070 6163 6b61 6765 5f74 656c 6e65 745f   package_telnet_
│ │ │ -001ce9d0: 7265 6d6f 7665 640a 3c2f 636f 6465 3e3c  removed.<
│ │ │ +001ce510: 6961 7469 6f6e 2041 6e73 6962 6c65 2073  iation Ansible s
│ │ │ +001ce520: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62  nippet ...
< │ │ │ +001ce5c0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001ce5d0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +001ce620: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ +001ce660: 6e61 6d65 3a20 456e 7375 7265 2074 656c  name: Ensure tel
│ │ │ +001ce670: 6e65 7420 6973 2072 656d 6f76 6564 0a20  net is removed. 
│ │ │ +001ce680: 2070 6163 6b61 6765 3a0a 2020 2020 6e61   package:.    na
│ │ │ +001ce690: 6d65 3a20 7465 6c6e 6574 0a20 2020 2073  me: telnet.    s
│ │ │ +001ce6a0: 7461 7465 3a20 6162 7365 6e74 0a20 2074  tate: absent.  t
│ │ │ +001ce6b0: 6167 733a 0a20 202d 204e 4953 542d 3830  ags:.  - NIST-80
│ │ │ +001ce6c0: 302d 3137 312d 332e 312e 3133 0a20 202d  0-171-3.1.13.  -
│ │ │ +001ce6d0: 2050 4349 2d44 5353 7634 2d32 2e32 0a20   PCI-DSSv4-2.2. 
│ │ │ +001ce6e0: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ +001ce6f0: 2e34 0a20 202d 2064 6973 6162 6c65 5f73  .4.  - disable_s
│ │ │ +001ce700: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ +001ce710: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ +001ce720: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ +001ce730: 2d20 6c6f 775f 7365 7665 7269 7479 0a20  - low_severity. 
│ │ │ +001ce740: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +001ce750: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ +001ce760: 7465 6c6e 6574 5f72 656d 6f76 6564 0a3c  telnet_removed.<
│ │ │ +001ce770: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ +001ce830: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ +001ce840: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low< │ │ │ +001ce910: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>
C │ │ │ +001ce5b0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +001ce5e0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +001ce5f0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +001ce630: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ +001ce640: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexity: │ │ │ +001ce8d0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ +001ce8f0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ +001ce940: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +001ce950: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
include remo
│ │ │ +001ce980: 7665 5f74 656c 6e65 740a 0a63 6c61 7373  ve_telnet..class
│ │ │ +001ce990: 2072 656d 6f76 655f 7465 6c6e 6574 207b   remove_telnet {
│ │ │ +001ce9a0: 0a20 2070 6163 6b61 6765 207b 2027 7465  .  package { 'te
│ │ │ +001ce9b0: 6c6e 6574 273a 0a20 2020 2065 6e73 7572  lnet':.    ensur
│ │ │ +001ce9c0: 6520 3d26 6774 3b20 2770 7572 6765 6427  e => 'purged'
│ │ │ +001ce9d0: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │  001ce9e0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remedia │ │ │ -001cf500: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ -001cf510: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -001cf520: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -001cf530: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -001cf540: 7365 2220 6964 3d22 6964 6d32 3436 3737 se" id="idm24677 │ │ │ -001cf550: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ -001cf5a0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -001cf5b0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -001cf5d0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -001cf5f0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -001cf600: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ -001cf640: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -001cf650: 6465 2072 656d 6f76 655f 7273 796e 630a  de remove_rsync.
│ │ │ -001cf660: 0a63 6c61 7373 2072 656d 6f76 655f 7273  .class remove_rs
│ │ │ -001cf670: 796e 6320 7b0a 2020 7061 636b 6167 6520  ync {.  package 
│ │ │ -001cf680: 7b20 2772 7379 6e63 273a 0a20 2020 2065  { 'rsync':.    e
│ │ │ -001cf690: 6e73 7572 6520 3d26 6774 3b20 2770 7572  nsure => 'pur
│ │ │ -001cf6a0: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ged',.  }.}.
< │ │ │ -001cf6c0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -001cf6d0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -001cf6e0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -001cf6f0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -001cf700: 646d 3234 3637 3822 2074 6162 696e 6465 dm24678" tabinde │ │ │ -001cf710: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -001cf720: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -001cf730: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -001cf740: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -001cf750: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -001cf760: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ -001cf770: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
< │ │ │ -001cf800: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -001cf820: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -001cf870: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ -001cf8a0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Ensure
│ │ │ -001cf8c0: 2072 7379 6e63 2069 7320 7265 6d6f 7665   rsync is remove
│ │ │ -001cf8d0: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ -001cf8e0: 206e 616d 653a 2072 7379 6e63 0a20 2020   name: rsync.   
│ │ │ -001cf8f0: 2073 7461 7465 3a20 6162 7365 6e74 0a20   state: absent. 
│ │ │ -001cf900: 2074 6167 733a 0a20 202d 2064 6973 6162   tags:.  - disab
│ │ │ -001cf910: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -001cf920: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -001cf930: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -001cf940: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ -001cf950: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -001cf960: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ -001cf970: 6163 6b61 6765 5f72 7379 6e63 5f72 656d  ackage_rsync_rem
│ │ │ -001cf980: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072  oved.
│ │ │ +001cf520: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
low
Disr │ │ │ -001cf830: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -001cf840: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -001cf880: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ -001cf890: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
Com │ │ │ +001cf5a0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +001cf5d0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +001cf5f0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +001cf600: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +001cf620: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +001cf630: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +001cf650: 6d65 3a20 456e 7375 7265 2072 7379 6e63  me: Ensure rsync
│ │ │ +001cf660: 2069 7320 7265 6d6f 7665 640a 2020 7061   is removed.  pa
│ │ │ +001cf670: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ +001cf680: 2072 7379 6e63 0a20 2020 2073 7461 7465   rsync.    state
│ │ │ +001cf690: 3a20 6162 7365 6e74 0a20 2074 6167 733a  : absent.  tags:
│ │ │ +001cf6a0: 0a20 202d 2064 6973 6162 6c65 5f73 7472  .  - disable_str
│ │ │ +001cf6b0: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ +001cf6c0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +001cf6d0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +001cf6e0: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ +001cf6f0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ +001cf700: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ +001cf710: 5f72 7379 6e63 5f72 656d 6f76 6564 0a3c  _rsync_removed.<
│ │ │ +001cf720: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ +001cf7e0: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ +001cf7f0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ +001cf880: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +001cf8a0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +001cf8c0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +001cf8f0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +001cf900: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
include remo
│ │ │ +001cf930: 7665 5f72 7379 6e63 0a0a 636c 6173 7320  ve_rsync..class 
│ │ │ +001cf940: 7265 6d6f 7665 5f72 7379 6e63 207b 0a20  remove_rsync {. 
│ │ │ +001cf950: 2070 6163 6b61 6765 207b 2027 7273 796e   package { 'rsyn
│ │ │ +001cf960: 6327 3a0a 2020 2020 656e 7375 7265 203d  c':.    ensure =
│ │ │ +001cf970: 2667 743b 2027 7075 7267 6564 272c 0a20  > 'purged',. 
│ │ │ +001cf980: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.
Reme │ │ │ -001d0f00: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -001d0f10: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -001d0fb0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001d0fc0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -001d1010: 3c74 723e 3c74 683e 5374 7261 7465 6779
in
│ │ │ -001d1050: 636c 7564 6520 7265 6d6f 7665 5f63 7570  clude remove_cup
│ │ │ -001d1060: 730a 0a63 6c61 7373 2072 656d 6f76 655f  s..class remove_
│ │ │ -001d1070: 6375 7073 207b 0a20 2070 6163 6b61 6765  cups {.  package
│ │ │ -001d1080: 207b 2027 6375 7073 273a 0a20 2020 2065   { 'cups':.    e
│ │ │ -001d1090: 6e73 7572 6520 3d26 6774 3b20 2770 7572  nsure => 'pur
│ │ │ -001d10a0: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ged',.  }.}.
< │ │ │ -001d10c0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -001d10d0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -001d10e0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -001d10f0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -001d1100: 646d 3235 3231 3422 2074 6162 696e 6465 dm25214" tabinde │ │ │ -001d1110: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -001d1120: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -001d1130: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -001d1140: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -001d1150: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -001d1160: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ -001d1170: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
C │ │ │ -001d0fa0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -001d0fd0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -001d0fe0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -001d1020: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -001d1030: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
< │ │ │ -001d1200: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -001d1220: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -001d1270: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ -001d12a0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Ensure
│ │ │ -001d12c0: 2063 7570 7320 6973 2072 656d 6f76 6564   cups is removed
│ │ │ -001d12d0: 0a20 2070 6163 6b61 6765 3a0a 2020 2020  .  package:.    
│ │ │ -001d12e0: 6e61 6d65 3a20 6375 7073 0a20 2020 2073  name: cups.    s
│ │ │ -001d12f0: 7461 7465 3a20 6162 7365 6e74 0a20 2074  tate: absent.  t
│ │ │ -001d1300: 6167 733a 0a20 202d 204e 4953 542d 3830  ags:.  - NIST-80
│ │ │ -001d1310: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ -001d1320: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -001d1330: 3728 6129 0a20 202d 204e 4953 542d 3830  7(a).  - NIST-80
│ │ │ -001d1340: 302d 3533 2d43 4d2d 3728 6229 0a20 202d  0-53-CM-7(b).  -
│ │ │ -001d1350: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ -001d1360: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -001d1370: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -001d1380: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72  ruption.  - no_r
│ │ │ -001d1390: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -001d13a0: 2070 6163 6b61 6765 5f63 7570 735f 7265   package_cups_re
│ │ │ -001d13b0: 6d6f 7665 640a 2020 2d20 756e 6b6e 6f77  moved.  - unknow
│ │ │ -001d13c0: 6e5f 7365 7665 7269 7479 0a3c 2f63 6f64  n_severity.<
│ │ │ +001d0f20: 6272 3e3c 6469 7620 636c 6173 733d 2270  br>
low
Disr │ │ │ -001d1230: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -001d1240: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -001d1280: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ -001d1290: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
│ │ │ +001d0fb0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
-
│ │ │ +001d1050: 206e 616d 653a 2045 6e73 7572 6520 6375   name: Ensure cu
│ │ │ +001d1060: 7073 2069 7320 7265 6d6f 7665 640a 2020  ps is removed.  
│ │ │ +001d1070: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ +001d1080: 653a 2063 7570 730a 2020 2020 7374 6174  e: cups.    stat
│ │ │ +001d1090: 653a 2061 6273 656e 740a 2020 7461 6773  e: absent.  tags
│ │ │ +001d10a0: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ +001d10b0: 332d 434d 2d36 2861 290a 2020 2d20 4e49  3-CM-6(a).  - NI
│ │ │ +001d10c0: 5354 2d38 3030 2d35 332d 434d 2d37 2861  ST-800-53-CM-7(a
│ │ │ +001d10d0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +001d10e0: 332d 434d 2d37 2862 290a 2020 2d20 6469  3-CM-7(b).  - di
│ │ │ +001d10f0: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ +001d1100: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +001d1110: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +001d1120: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f  tion.  - no_rebo
│ │ │ +001d1130: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ +001d1140: 636b 6167 655f 6375 7073 5f72 656d 6f76  ckage_cups_remov
│ │ │ +001d1150: 6564 0a20 202d 2075 6e6b 6e6f 776e 5f73  ed.  - unknown_s
│ │ │ +001d1160: 6576 6572 6974 790a 3c2f 636f 6465 3e3c  everity.<
│ │ │ +001d1170: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remed
│ │ │ +001d1220: 6961 7469 6f6e 2050 7570 7065 7420 736e  iation Puppet sn
│ │ │ +001d1230: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
│ │ │ +001d0fa0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +001d0fd0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +001d0fe0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +001d1020: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +001d1030: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
low< │ │ │ +001d12e0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +001d1330: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ +001d1370: 6c75 6465 2072 656d 6f76 655f 6375 7073  lude remove_cups
│ │ │ +001d1380: 0a0a 636c 6173 7320 7265 6d6f 7665 5f63  ..class remove_c
│ │ │ +001d1390: 7570 7320 7b0a 2020 7061 636b 6167 6520  ups {.  package 
│ │ │ +001d13a0: 7b20 2763 7570 7327 3a0a 2020 2020 656e  { 'cups':.    en
│ │ │ +001d13b0: 7375 7265 203d 2667 743b 2027 7075 7267  sure => 'purg
│ │ │ +001d13c0: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ed',.  }.}.
Remediati │ │ │ -001d23f0: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep │ │ │ -001d2400: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ... │ │ │ -001d2410: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ -001d2450: 3c63 6f64 653e 0a5b 6375 7374 6f6d 697a  .[customiz
│ │ │ -001d2460: 6174 696f 6e73 2e73 6572 7669 6365 735d  ations.services]
│ │ │ -001d2470: 0a6d 6173 6b65 6420 3d20 5b22 6375 7073  .masked = ["cups
│ │ │ -001d2480: 225d 0a3c 2f63 6f64 653e 3c2f 7072 653e  "].
│ │ │ -001d2490: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ -001d2540: 6e20 4b75 6265 726e 6574 6573 2073 6e69 n Kubernetes sni │ │ │ -001d2550: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001d2560: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Co │ │ │ +001d12c0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +001d12f0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +001d1310: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +001d1320: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +001d1340: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +001d1350: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Reboot:true │ │ │ -001d2650: 3c74 723e 3c74 683e 5374 7261 7465 6779
ap
│ │ │ -001d2690: 6956 6572 7369 6f6e 3a20 6d61 6368 696e  iVersion: machin
│ │ │ -001d26a0: 6563 6f6e 6669 6775 7261 7469 6f6e 2e6f  econfiguration.o
│ │ │ -001d26b0: 7065 6e73 6869 6674 2e69 6f2f 7631 0a6b  penshift.io/v1.k
│ │ │ -001d26c0: 696e 643a 204d 6163 6869 6e65 436f 6e66  ind: MachineConf
│ │ │ -001d26d0: 6967 0a73 7065 633a 0a20 2063 6f6e 6669  ig.spec:.  confi
│ │ │ -001d26e0: 673a 0a20 2020 2069 676e 6974 696f 6e3a  g:.    ignition:
│ │ │ -001d26f0: 0a20 2020 2020 2076 6572 7369 6f6e 3a20  .      version: 
│ │ │ -001d2700: 332e 312e 300a 2020 2020 7379 7374 656d  3.1.0.    system
│ │ │ -001d2710: 643a 0a20 2020 2020 2075 6e69 7473 3a0a  d:.      units:.
│ │ │ -001d2720: 2020 2020 2020 2d20 6e61 6d65 3a20 6375        - name: cu
│ │ │ -001d2730: 7073 2e73 6572 7669 6365 0a20 2020 2020  ps.service.     
│ │ │ -001d2740: 2020 2065 6e61 626c 6564 3a20 6661 6c73     enabled: fals
│ │ │ -001d2750: 650a 2020 2020 2020 2020 6d61 736b 3a20  e.        mask: 
│ │ │ -001d2760: 7472 7565 0a20 2020 2020 202d 206e 616d  true.      - nam
│ │ │ -001d2770: 653a 2063 7570 732e 736f 636b 6574 0a20  e: cups.socket. 
│ │ │ -001d2780: 2020 2020 2020 2065 6e61 626c 6564 3a20         enabled: 
│ │ │ -001d2790: 6661 6c73 650a 2020 2020 2020 2020 6d61  false.        ma
│ │ │ -001d27a0: 736b 3a20 7472 7565 0a3c 2f63 6f64 653e  sk: true.
│ │ │ -001d27b0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ -001d2860: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -001d2870: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
Com │ │ │ -001d25e0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -001d2610: 3a3c 2f74 683e 3c74 643e 6d65 6469 756d :medium │ │ │ -001d2620: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strategy │ │ │ -001d2660: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -001d2670: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
< │ │ │ -001d2910: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001d2920: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -001d2970: 3c74 723e 3c74 683e 5374 7261 7465 6779
inc
│ │ │ -001d29b0: 6c75 6465 2064 6973 6162 6c65 5f63 7570  lude disable_cup
│ │ │ -001d29c0: 730a 0a63 6c61 7373 2064 6973 6162 6c65  s..class disable
│ │ │ -001d29d0: 5f63 7570 7320 7b0a 2020 7365 7276 6963  _cups {.  servic
│ │ │ -001d29e0: 6520 7b27 6375 7073 273a 0a20 2020 2065  e {'cups':.    e
│ │ │ -001d29f0: 6e61 626c 6520 3d26 6774 3b20 6661 6c73  nable => fals
│ │ │ -001d2a00: 652c 0a20 2020 2065 6e73 7572 6520 3d26  e,.    ensure =&
│ │ │ -001d2a10: 6774 3b20 2773 746f 7070 6564 272c 0a20  gt; 'stopped',. 
│ │ │ -001d2a20: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.Remediat
│ │ │ -001d2ae0: 696f 6e20 416e 7369 626c 6520 736e 6970  ion Ansible snip
│ │ │ -001d2af0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c  pet ...
< │ │ │ -001d2b00: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -001d2b10: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -001d2b20: 7365 2220 6964 3d22 6964 6d32 3532 3938 se" id="idm25298 │ │ │ -001d2b30: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
C │ │ │ -001d2900: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -001d2930: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -001d2940: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -001d2980: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ -001d2990: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Comp │ │ │ -001d2b80: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -001d2b90: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -001d2bb0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -001d2bd0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -001d2be0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ -001d2c20: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ -001d2c30: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ -001d2c40: 636b 6167 6520 6661 6374 730a 2020 7061  ckage facts.  pa
│ │ │ -001d2c50: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ -001d2c60: 206d 616e 6167 6572 3a20 6175 746f 0a20   manager: auto. 
│ │ │ -001d2c70: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ -001d2c80: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ -001d2c90: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -001d2ca0: 4d2d 3728 6129 0a20 202d 204e 4953 542d  M-7(a).  - NIST-
│ │ │ -001d2cb0: 3830 302d 3533 2d43 4d2d 3728 6229 0a20  800-53-CM-7(b). 
│ │ │ -001d2cc0: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ -001d2cd0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -001d2ce0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -001d2cf0: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f  isruption.  - no
│ │ │ -001d2d00: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -001d2d10: 202d 2073 6572 7669 6365 5f63 7570 735f   - service_cups_
│ │ │ -001d2d20: 6469 7361 626c 6564 0a20 202d 2075 6e6b  disabled.  - unk
│ │ │ -001d2d30: 6e6f 776e 5f73 6576 6572 6974 790a 0a2d  nown_severity..-
│ │ │ -001d2d40: 206e 616d 653a 2044 6973 6162 6c65 2074   name: Disable t
│ │ │ -001d2d50: 6865 2043 5550 5320 5365 7276 6963 6520  he CUPS Service 
│ │ │ -001d2d60: 2d20 436f 6c6c 6563 7420 7379 7374 656d  - Collect system
│ │ │ -001d2d70: 6420 5365 7276 6963 6573 2050 7265 7365  d Services Prese
│ │ │ -001d2d80: 6e74 2069 6e20 7468 6520 5379 7374 656d  nt in the System
│ │ │ -001d2d90: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74  .  ansible.built
│ │ │ -001d2da0: 696e 2e63 6f6d 6d61 6e64 3a20 7379 7374  in.command: syst
│ │ │ -001d2db0: 656d 6374 6c20 2d71 206c 6973 742d 756e  emctl -q list-un
│ │ │ -001d2dc0: 6974 2d66 696c 6573 202d 2d74 7970 6520  it-files --type 
│ │ │ -001d2dd0: 7365 7276 6963 650a 2020 7265 6769 7374  service.  regist
│ │ │ -001d2de0: 6572 3a20 7365 7276 6963 655f 6578 6973  er: service_exis
│ │ │ -001d2df0: 7473 0a20 2063 6861 6e67 6564 5f77 6865  ts.  changed_whe
│ │ │ -001d2e00: 6e3a 2066 616c 7365 0a20 2066 6169 6c65  n: false.  faile
│ │ │ -001d2e10: 645f 7768 656e 3a20 7365 7276 6963 655f  d_when: service_
│ │ │ -001d2e20: 6578 6973 7473 2e72 6320 6e6f 7420 696e  exists.rc not in
│ │ │ -001d2e30: 205b 302c 2031 5d0a 2020 6368 6563 6b5f   [0, 1].  check_
│ │ │ -001d2e40: 6d6f 6465 3a20 6661 6c73 650a 2020 7768  mode: false.  wh
│ │ │ -001d2e50: 656e 3a20 2722 6c69 6e75 782d 6261 7365  en: '"linux-base
│ │ │ -001d2e60: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ -001d2e70: 7473 2e70 6163 6b61 6765 7327 0a20 2074  ts.packages'.  t
│ │ │ -001d2e80: 6167 733a 0a20 202d 204e 4953 542d 3830  ags:.  - NIST-80
│ │ │ -001d2e90: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ -001d2ea0: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -001d2eb0: 3728 6129 0a20 202d 204e 4953 542d 3830  7(a).  - NIST-80
│ │ │ -001d2ec0: 302d 3533 2d43 4d2d 3728 6229 0a20 202d  0-53-CM-7(b).  -
│ │ │ -001d2ed0: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ -001d2ee0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -001d2ef0: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -001d2f00: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72  ruption.  - no_r
│ │ │ -001d2f10: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -001d2f20: 2073 6572 7669 6365 5f63 7570 735f 6469   service_cups_di
│ │ │ -001d2f30: 7361 626c 6564 0a20 202d 2075 6e6b 6e6f  sabled.  - unkno
│ │ │ -001d2f40: 776e 5f73 6576 6572 6974 790a 0a2d 206e  wn_severity..- n
│ │ │ -001d2f50: 616d 653a 2044 6973 6162 6c65 2074 6865  ame: Disable the
│ │ │ -001d2f60: 2043 5550 5320 5365 7276 6963 6520 2d20   CUPS Service - 
│ │ │ -001d2f70: 456e 7375 7265 2063 7570 732e 7365 7276  Ensure cups.serv
│ │ │ -001d2f80: 6963 6520 6973 204d 6173 6b65 640a 2020  ice is Masked.  
│ │ │ -001d2f90: 616e 7369 626c 652e 6275 696c 7469 6e2e  ansible.builtin.
│ │ │ -001d2fa0: 7379 7374 656d 643a 0a20 2020 206e 616d  systemd:.    nam
│ │ │ -001d2fb0: 653a 2063 7570 732e 7365 7276 6963 650a  e: cups.service.
│ │ │ -001d2fc0: 2020 2020 7374 6174 653a 2073 746f 7070      state: stopp
│ │ │ -001d2fd0: 6564 0a20 2020 2065 6e61 626c 6564 3a20  ed.    enabled: 
│ │ │ -001d2fe0: 6661 6c73 650a 2020 2020 6d61 736b 6564  false.    masked
│ │ │ -001d2ff0: 3a20 7472 7565 0a20 2077 6865 6e3a 0a20  : true.  when:. 
│ │ │ -001d3000: 202d 2027 226c 696e 7578 2d62 6173 6522   - '"linux-base"
│ │ │ -001d3010: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ -001d3020: 732e 7061 636b 6167 6573 270a 2020 2d20  s.packages'.  - 
│ │ │ -001d3030: 7365 7276 6963 655f 6578 6973 7473 2e73  service_exists.s
│ │ │ -001d3040: 7464 6f75 745f 6c69 6e65 7320 6973 2073  tdout_lines is s
│ │ │ -001d3050: 6561 7263 6828 2263 7570 732e 7365 7276  earch("cups.serv
│ │ │ -001d3060: 6963 6522 2c20 6d75 6c74 696c 696e 653d  ice", multiline=
│ │ │ -001d3070: 5472 7565 290a 2020 7461 6773 3a0a 2020  True).  tags:.  
│ │ │ -001d3080: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -001d3090: 2d36 2861 290a 2020 2d20 4e49 5354 2d38  -6(a).  - NIST-8
│ │ │ -001d30a0: 3030 2d35 332d 434d 2d37 2861 290a 2020  00-53-CM-7(a).  
│ │ │ -001d30b0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -001d30c0: 2d37 2862 290a 2020 2d20 6469 7361 626c  -7(b).  - disabl
│ │ │ -001d30d0: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ -001d30e0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ -001d30f0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -001d3100: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ -001d3110: 6565 6465 640a 2020 2d20 7365 7276 6963  eeded.  - servic
│ │ │ -001d3120: 655f 6375 7073 5f64 6973 6162 6c65 640a  e_cups_disabled.
│ │ │ -001d3130: 2020 2d20 756e 6b6e 6f77 6e5f 7365 7665    - unknown_seve
│ │ │ -001d3140: 7269 7479 0a0a 2d20 6e61 6d65 3a20 556e  rity..- name: Un
│ │ │ -001d3150: 6974 2053 6f63 6b65 7420 4578 6973 7473  it Socket Exists
│ │ │ -001d3160: 202d 2063 7570 732e 736f 636b 6574 0a20   - cups.socket. 
│ │ │ -001d3170: 2061 6e73 6962 6c65 2e62 7569 6c74 696e   ansible.builtin
│ │ │ -001d3180: 2e63 6f6d 6d61 6e64 3a20 7379 7374 656d  .command: system
│ │ │ -001d3190: 6374 6c20 2d71 206c 6973 742d 756e 6974  ctl -q list-unit
│ │ │ -001d31a0: 2d66 696c 6573 2063 7570 732e 736f 636b  -files cups.sock
│ │ │ -001d31b0: 6574 0a20 2072 6567 6973 7465 723a 2073  et.  register: s
│ │ │ -001d31c0: 6f63 6b65 745f 6669 6c65 5f65 7869 7374  ocket_file_exist
│ │ │ -001d31d0: 730a 2020 6368 616e 6765 645f 7768 656e  s.  changed_when
│ │ │ -001d31e0: 3a20 6661 6c73 650a 2020 6661 696c 6564  : false.  failed
│ │ │ -001d31f0: 5f77 6865 6e3a 2073 6f63 6b65 745f 6669  _when: socket_fi
│ │ │ -001d3200: 6c65 5f65 7869 7374 732e 7263 206e 6f74  le_exists.rc not
│ │ │ -001d3210: 2069 6e20 5b30 2c20 315d 0a20 2063 6865   in [0, 1].  che
│ │ │ -001d3220: 636b 5f6d 6f64 653a 2066 616c 7365 0a20  ck_mode: false. 
│ │ │ -001d3230: 2077 6865 6e3a 2027 226c 696e 7578 2d62   when: '"linux-b
│ │ │ -001d3240: 6173 6522 2069 6e20 616e 7369 626c 655f  ase" in ansible_
│ │ │ -001d3250: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -001d3260: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ -001d3270: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ -001d3280: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -001d3290: 434d 2d37 2861 290a 2020 2d20 4e49 5354  CM-7(a).  - NIST
│ │ │ -001d32a0: 2d38 3030 2d35 332d 434d 2d37 2862 290a  -800-53-CM-7(b).
│ │ │ -001d32b0: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ -001d32c0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ -001d32d0: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -001d32e0: 6469 7372 7570 7469 6f6e 0a20 202d 206e  disruption.  - n
│ │ │ -001d32f0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -001d3300: 2020 2d20 7365 7276 6963 655f 6375 7073    - service_cups
│ │ │ -001d3310: 5f64 6973 6162 6c65 640a 2020 2d20 756e  _disabled.  - un
│ │ │ -001d3320: 6b6e 6f77 6e5f 7365 7665 7269 7479 0a0a  known_severity..
│ │ │ -001d3330: 2d20 6e61 6d65 3a20 4469 7361 626c 6520  - name: Disable 
│ │ │ -001d3340: 7468 6520 4355 5053 2053 6572 7669 6365  the CUPS Service
│ │ │ -001d3350: 202d 2044 6973 6162 6c65 2053 6f63 6b65   - Disable Socke
│ │ │ -001d3360: 7420 6375 7073 0a20 2061 6e73 6962 6c65  t cups.  ansible
│ │ │ -001d3370: 2e62 7569 6c74 696e 2e73 7973 7465 6d64  .builtin.systemd
│ │ │ -001d3380: 3a0a 2020 2020 6e61 6d65 3a20 6375 7073  :.    name: cups
│ │ │ -001d3390: 2e73 6f63 6b65 740a 2020 2020 656e 6162  .socket.    enab
│ │ │ -001d33a0: 6c65 643a 2066 616c 7365 0a20 2020 2073  led: false.    s
│ │ │ -001d33b0: 7461 7465 3a20 7374 6f70 7065 640a 2020  tate: stopped.  
│ │ │ -001d33c0: 2020 6d61 736b 6564 3a20 7472 7565 0a20    masked: true. 
│ │ │ -001d33d0: 2077 6865 6e3a 0a20 202d 2027 226c 696e   when:.  - '"lin
│ │ │ -001d33e0: 7578 2d62 6173 6522 2069 6e20 616e 7369  ux-base" in ansi
│ │ │ -001d33f0: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -001d3400: 6573 270a 2020 2d20 736f 636b 6574 5f66  es'.  - socket_f
│ │ │ -001d3410: 696c 655f 6578 6973 7473 2e73 7464 6f75  ile_exists.stdou
│ │ │ -001d3420: 745f 6c69 6e65 7320 6973 2073 6561 7263  t_lines is searc
│ │ │ -001d3430: 6828 2263 7570 732e 736f 636b 6574 222c  h("cups.socket",
│ │ │ -001d3440: 206d 756c 7469 6c69 6e65 3d54 7275 6529   multiline=True)
│ │ │ -001d3450: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ -001d3460: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ -001d3470: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -001d3480: 2d43 4d2d 3728 6129 0a20 202d 204e 4953  -CM-7(a).  - NIS
│ │ │ -001d3490: 542d 3830 302d 3533 2d43 4d2d 3728 6229  T-800-53-CM-7(b)
│ │ │ -001d34a0: 0a20 202d 2064 6973 6162 6c65 5f73 7472  .  - disable_str
│ │ │ -001d34b0: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ -001d34c0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -001d34d0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -001d34e0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -001d34f0: 0a20 202d 2073 6572 7669 6365 5f63 7570  .  - service_cup
│ │ │ -001d3500: 735f 6469 7361 626c 6564 0a20 202d 2075  s_disabled.  - u
│ │ │ -001d3510: 6e6b 6e6f 776e 5f73 6576 6572 6974 790a  nknown_severity.
│ │ │ +001d23f0: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070  on Ansible snipp
│ │ │ +001d2400: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64  et ...
│ │ │ +001d24b0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +001d24d0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +001d2500: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +001d2490: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +001d24a0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +001d24c0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +001d24e0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +001d24f0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +001d2530: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +001d2540: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ +001d2550: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac │ │ │ +001d2560: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ +001d2570: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto. │ │ │ +001d2580: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8 │ │ │ +001d2590: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a). │ │ │ +001d25a0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM │ │ │ +001d25b0: 2d37 2861 290a 2020 2d20 4e49 5354 2d38 -7(a). - NIST-8 │ │ │ +001d25c0: 3030 2d35 332d 434d 2d37 2862 290a 2020 00-53-CM-7(b). │ │ │ +001d25d0: 2d20 6469 7361 626c 655f 7374 7261 7465 - disable_strate │ │ │ +001d25e0: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl │ │ │ +001d25f0: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di │ │ │ +001d2600: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f sruption. - no_ │ │ │ +001d2610: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed. │ │ │ +001d2620: 2d20 7365 7276 6963 655f 6375 7073 5f64 - service_cups_d │ │ │ +001d2630: 6973 6162 6c65 640a 2020 2d20 756e 6b6e isabled. - unkn │ │ │ +001d2640: 6f77 6e5f 7365 7665 7269 7479 0a0a 2d20 own_severity..- │ │ │ +001d2650: 6e61 6d65 3a20 4469 7361 626c 6520 7468 name: Disable th │ │ │ +001d2660: 6520 4355 5053 2053 6572 7669 6365 202d e CUPS Service - │ │ │ +001d2670: 2043 6f6c 6c65 6374 2073 7973 7465 6d64 Collect systemd │ │ │ +001d2680: 2053 6572 7669 6365 7320 5072 6573 656e Services Presen │ │ │ +001d2690: 7420 696e 2074 6865 2053 7973 7465 6d0a t in the System. │ │ │ +001d26a0: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti │ │ │ +001d26b0: 6e2e 636f 6d6d 616e 643a 2073 7973 7465 n.command: syste │ │ │ +001d26c0: 6d63 746c 202d 7120 6c69 7374 2d75 6e69 mctl -q list-uni │ │ │ +001d26d0: 742d 6669 6c65 7320 2d2d 7479 7065 2073 t-files --type s │ │ │ +001d26e0: 6572 7669 6365 0a20 2072 6567 6973 7465 ervice. registe │ │ │ +001d26f0: 723a 2073 6572 7669 6365 5f65 7869 7374 r: service_exist │ │ │ +001d2700: 730a 2020 6368 616e 6765 645f 7768 656e s. changed_when │ │ │ +001d2710: 3a20 6661 6c73 650a 2020 6661 696c 6564 : false. failed │ │ │ +001d2720: 5f77 6865 6e3a 2073 6572 7669 6365 5f65 _when: service_e │ │ │ +001d2730: 7869 7374 732e 7263 206e 6f74 2069 6e20 xists.rc not in │ │ │ +001d2740: 5b30 2c20 315d 0a20 2063 6865 636b 5f6d [0, 1]. check_m │ │ │ +001d2750: 6f64 653a 2066 616c 7365 0a20 2077 6865 ode: false. whe │ │ │ +001d2760: 6e3a 2027 226c 696e 7578 2d62 6173 6522 n: '"linux-base" │ │ │ +001d2770: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact │ │ │ +001d2780: 732e 7061 636b 6167 6573 270a 2020 7461 s.packages'. ta │ │ │ +001d2790: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800 │ │ │ +001d27a0: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). - │ │ │ +001d27b0: 4e49 5354 2d38 3030 2d35 332d 434d 2d37 NIST-800-53-CM-7 │ │ │ +001d27c0: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800 │ │ │ +001d27d0: 2d35 332d 434d 2d37 2862 290a 2020 2d20 -53-CM-7(b). - │ │ │ +001d27e0: 6469 7361 626c 655f 7374 7261 7465 6779 disable_strategy │ │ │ +001d27f0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex │ │ │ +001d2800: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr │ │ │ +001d2810: 7570 7469 6f6e 0a20 202d 206e 6f5f 7265 uption. - no_re │ │ │ +001d2820: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. - │ │ │ +001d2830: 7365 7276 6963 655f 6375 7073 5f64 6973 service_cups_dis │ │ │ +001d2840: 6162 6c65 640a 2020 2d20 756e 6b6e 6f77 abled. - unknow │ │ │ +001d2850: 6e5f 7365 7665 7269 7479 0a0a 2d20 6e61 n_severity..- na │ │ │ +001d2860: 6d65 3a20 4469 7361 626c 6520 7468 6520 me: Disable the │ │ │ +001d2870: 4355 5053 2053 6572 7669 6365 202d 2045 CUPS Service - E │ │ │ +001d2880: 6e73 7572 6520 6375 7073 2e73 6572 7669 nsure cups.servi │ │ │ +001d2890: 6365 2069 7320 4d61 736b 6564 0a20 2061 ce is Masked. a │ │ │ +001d28a0: 6e73 6962 6c65 2e62 7569 6c74 696e 2e73 nsible.builtin.s │ │ │ +001d28b0: 7973 7465 6d64 3a0a 2020 2020 6e61 6d65 ystemd:. name │ │ │ +001d28c0: 3a20 6375 7073 2e73 6572 7669 6365 0a20 : cups.service. │ │ │ +001d28d0: 2020 2073 7461 7465 3a20 7374 6f70 7065 state: stoppe │ │ │ +001d28e0: 640a 2020 2020 656e 6162 6c65 643a 2066 d. enabled: f │ │ │ +001d28f0: 616c 7365 0a20 2020 206d 6173 6b65 643a alse. masked: │ │ │ +001d2900: 2074 7275 650a 2020 7768 656e 3a0a 2020 true. when:. │ │ │ +001d2910: 2d20 2722 6c69 6e75 782d 6261 7365 2220 - '"linux-base" │ │ │ +001d2920: 696e 2061 6e73 6962 6c65 5f66 6163 7473 in ansible_facts │ │ │ +001d2930: 2e70 6163 6b61 6765 7327 0a20 202d 2073 .packages'. - s │ │ │ +001d2940: 6572 7669 6365 5f65 7869 7374 732e 7374 ervice_exists.st │ │ │ +001d2950: 646f 7574 5f6c 696e 6573 2069 7320 7365 dout_lines is se │ │ │ +001d2960: 6172 6368 2822 6375 7073 2e73 6572 7669 arch("cups.servi │ │ │ +001d2970: 6365 222c 206d 756c 7469 6c69 6e65 3d54 ce", multiline=T │ │ │ +001d2980: 7275 6529 0a20 2074 6167 733a 0a20 202d rue). tags:. - │ │ │ +001d2990: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM- │ │ │ +001d29a0: 3628 6129 0a20 202d 204e 4953 542d 3830 6(a). - NIST-80 │ │ │ +001d29b0: 302d 3533 2d43 4d2d 3728 6129 0a20 202d 0-53-CM-7(a). - │ │ │ +001d29c0: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM- │ │ │ +001d29d0: 3728 6229 0a20 202d 2064 6973 6162 6c65 7(b). - disable │ │ │ +001d29e0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo │ │ │ +001d29f0: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. - │ │ │ +001d2a00: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption. │ │ │ +001d2a10: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ +001d2a20: 6564 6564 0a20 202d 2073 6572 7669 6365 eded. - service │ │ │ +001d2a30: 5f63 7570 735f 6469 7361 626c 6564 0a20 _cups_disabled. │ │ │ +001d2a40: 202d 2075 6e6b 6e6f 776e 5f73 6576 6572 - unknown_sever │ │ │ +001d2a50: 6974 790a 0a2d 206e 616d 653a 2055 6e69 ity..- name: Uni │ │ │ +001d2a60: 7420 536f 636b 6574 2045 7869 7374 7320 t Socket Exists │ │ │ +001d2a70: 2d20 6375 7073 2e73 6f63 6b65 740a 2020 - cups.socket. │ │ │ +001d2a80: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin. │ │ │ +001d2a90: 636f 6d6d 616e 643a 2073 7973 7465 6d63 command: systemc │ │ │ +001d2aa0: 746c 202d 7120 6c69 7374 2d75 6e69 742d tl -q list-unit- │ │ │ +001d2ab0: 6669 6c65 7320 6375 7073 2e73 6f63 6b65 files cups.socke │ │ │ +001d2ac0: 740a 2020 7265 6769 7374 6572 3a20 736f t. register: so │ │ │ +001d2ad0: 636b 6574 5f66 696c 655f 6578 6973 7473 cket_file_exists │ │ │ +001d2ae0: 0a20 2063 6861 6e67 6564 5f77 6865 6e3a . changed_when: │ │ │ +001d2af0: 2066 616c 7365 0a20 2066 6169 6c65 645f false. failed_ │ │ │ +001d2b00: 7768 656e 3a20 736f 636b 6574 5f66 696c when: socket_fil │ │ │ +001d2b10: 655f 6578 6973 7473 2e72 6320 6e6f 7420 e_exists.rc not │ │ │ +001d2b20: 696e 205b 302c 2031 5d0a 2020 6368 6563 in [0, 1]. chec │ │ │ +001d2b30: 6b5f 6d6f 6465 3a20 6661 6c73 650a 2020 k_mode: false. │ │ │ +001d2b40: 7768 656e 3a20 2722 6c69 6e75 782d 6261 when: '"linux-ba │ │ │ +001d2b50: 7365 2220 696e 2061 6e73 6962 6c65 5f66 se" in ansible_f │ │ │ +001d2b60: 6163 7473 2e70 6163 6b61 6765 7327 0a20 acts.packages'. │ │ │ +001d2b70: 2074 6167 733a 0a20 202d 204e 4953 542d tags:. - NIST- │ │ │ +001d2b80: 3830 302d 3533 2d43 4d2d 3628 6129 0a20 800-53-CM-6(a). │ │ │ +001d2b90: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C │ │ │ +001d2ba0: 4d2d 3728 6129 0a20 202d 204e 4953 542d M-7(a). - NIST- │ │ │ +001d2bb0: 3830 302d 3533 2d43 4d2d 3728 6229 0a20 800-53-CM-7(b). │ │ │ +001d2bc0: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat │ │ │ +001d2bd0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp │ │ │ +001d2be0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d │ │ │ +001d2bf0: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f isruption. - no │ │ │ +001d2c00: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed. │ │ │ +001d2c10: 202d 2073 6572 7669 6365 5f63 7570 735f - service_cups_ │ │ │ +001d2c20: 6469 7361 626c 6564 0a20 202d 2075 6e6b disabled. - unk │ │ │ +001d2c30: 6e6f 776e 5f73 6576 6572 6974 790a 0a2d nown_severity..- │ │ │ +001d2c40: 206e 616d 653a 2044 6973 6162 6c65 2074 name: Disable t │ │ │ +001d2c50: 6865 2043 5550 5320 5365 7276 6963 6520 he CUPS Service │ │ │ +001d2c60: 2d20 4469 7361 626c 6520 536f 636b 6574 - Disable Socket │ │ │ +001d2c70: 2063 7570 730a 2020 616e 7369 626c 652e cups. ansible. │ │ │ +001d2c80: 6275 696c 7469 6e2e 7379 7374 656d 643a builtin.systemd: │ │ │ +001d2c90: 0a20 2020 206e 616d 653a 2063 7570 732e . name: cups. │ │ │ +001d2ca0: 736f 636b 6574 0a20 2020 2065 6e61 626c socket. enabl │ │ │ +001d2cb0: 6564 3a20 6661 6c73 650a 2020 2020 7374 ed: false. st │ │ │ +001d2cc0: 6174 653a 2073 746f 7070 6564 0a20 2020 ate: stopped. │ │ │ +001d2cd0: 206d 6173 6b65 643a 2074 7275 650a 2020 masked: true. │ │ │ +001d2ce0: 7768 656e 3a0a 2020 2d20 2722 6c69 6e75 when:. - '"linu │ │ │ +001d2cf0: 782d 6261 7365 2220 696e 2061 6e73 6962 x-base" in ansib │ │ │ +001d2d00: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package │ │ │ +001d2d10: 7327 0a20 202d 2073 6f63 6b65 745f 6669 s'. - socket_fi │ │ │ +001d2d20: 6c65 5f65 7869 7374 732e 7374 646f 7574 le_exists.stdout │ │ │ +001d2d30: 5f6c 696e 6573 2069 7320 7365 6172 6368 _lines is search │ │ │ +001d2d40: 2822 6375 7073 2e73 6f63 6b65 7422 2c20 ("cups.socket", │ │ │ +001d2d50: 6d75 6c74 696c 696e 653d 5472 7565 290a multiline=True). │ │ │ +001d2d60: 2020 7461 6773 3a0a 2020 2d20 4e49 5354 tags:. - NIST │ │ │ +001d2d70: 2d38 3030 2d35 332d 434d 2d36 2861 290a -800-53-CM-6(a). │ │ │ +001d2d80: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53- │ │ │ +001d2d90: 434d 2d37 2861 290a 2020 2d20 4e49 5354 CM-7(a). - NIST │ │ │ +001d2da0: 2d38 3030 2d35 332d 434d 2d37 2862 290a -800-53-CM-7(b). │ │ │ +001d2db0: 2020 2d20 6469 7361 626c 655f 7374 7261 - disable_stra │ │ │ +001d2dc0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com │ │ │ +001d2dd0: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_ │ │ │ +001d2de0: 6469 7372 7570 7469 6f6e 0a20 202d 206e disruption. - n │ │ │ +001d2df0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed. │ │ │ +001d2e00: 2020 2d20 7365 7276 6963 655f 6375 7073 - service_cups │ │ │ +001d2e10: 5f64 6973 6162 6c65 640a 2020 2d20 756e _disabled. - un │ │ │ +001d2e20: 6b6e 6f77 6e5f 7365 7665 7269 7479 0a3c known_severity.< │ │ │ +001d2e30: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
Remediation Ku │ │ │ +001d2ef0: 6265 726e 6574 6573 2073 6e69 7070 6574 bernetes snippet │ │ │ +001d2f00: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +001d2f40: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +001d2f50: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +001d2f60: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +001d2f70: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +001d2f80: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +001d2f90: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +001d2fa0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:mediumRe │ │ │ +001d2fe0: 626f 6f74 3a3c 2f74 683e 3c74 643e 7472 boot:tr │ │ │ +001d2ff0: 7565 3c2f 7464 3e3c 2f74 723e 3c74 723e ue │ │ │ +001d3000: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy:disable< │ │ │ +001d3030: 7072 653e 3c63 6f64 653e 6170 6956 6572 pre>apiVer │ │ │ +001d3040: 7369 6f6e 3a20 6d61 6368 696e 6563 6f6e sion: machinecon │ │ │ +001d3050: 6669 6775 7261 7469 6f6e 2e6f 7065 6e73 figuration.opens │ │ │ +001d3060: 6869 6674 2e69 6f2f 7631 0a6b 696e 643a hift.io/v1.kind: │ │ │ +001d3070: 204d 6163 6869 6e65 436f 6e66 6967 0a73 MachineConfig.s │ │ │ +001d3080: 7065 633a 0a20 2063 6f6e 6669 673a 0a20 pec:. config:. │ │ │ +001d3090: 2020 2069 676e 6974 696f 6e3a 0a20 2020 ignition:. │ │ │ +001d30a0: 2020 2076 6572 7369 6f6e 3a20 332e 312e version: 3.1. │ │ │ +001d30b0: 300a 2020 2020 7379 7374 656d 643a 0a20 0. systemd:. │ │ │ +001d30c0: 2020 2020 2075 6e69 7473 3a0a 2020 2020 units:. │ │ │ +001d30d0: 2020 2d20 6e61 6d65 3a20 6375 7073 2e73 - name: cups.s │ │ │ +001d30e0: 6572 7669 6365 0a20 2020 2020 2020 2065 ervice. e │ │ │ +001d30f0: 6e61 626c 6564 3a20 6661 6c73 650a 2020 nabled: false. │ │ │ +001d3100: 2020 2020 2020 6d61 736b 3a20 7472 7565 mask: true │ │ │ +001d3110: 0a20 2020 2020 202d 206e 616d 653a 2063 . - name: c │ │ │ +001d3120: 7570 732e 736f 636b 6574 0a20 2020 2020 ups.socket. │ │ │ +001d3130: 2020 2065 6e61 626c 6564 3a20 6661 6c73 enabled: fals │ │ │ +001d3140: 650a 2020 2020 2020 2020 6d61 736b 3a20 e. mask: │ │ │ +001d3150: 7472 7565 0a3c 2f63 6f64 653e 3c2f 7072 true.
Remediat │ │ │ +001d3210: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ +001d3220: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +001d32d0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +001d32f0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +001d3320: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +001d32b0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +001d32c0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +001d32e0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +001d3300: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +001d3310: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

include │ │ │ +001d3360: 2064 6973 6162 6c65 5f63 7570 730a 0a63 disable_cups..c │ │ │ +001d3370: 6c61 7373 2064 6973 6162 6c65 5f63 7570 lass disable_cup │ │ │ +001d3380: 7320 7b0a 2020 7365 7276 6963 6520 7b27 s {. service {' │ │ │ +001d3390: 6375 7073 273a 0a20 2020 2065 6e61 626c cups':. enabl │ │ │ +001d33a0: 6520 3d26 6774 3b20 6661 6c73 652c 0a20 e => false,. │ │ │ +001d33b0: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure => │ │ │ +001d33c0: 2773 746f 7070 6564 272c 0a20 207d 0a7d 'stopped',. }.} │ │ │ +001d33d0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .

Remediation │ │ │ +001d3490: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin │ │ │ +001d34a0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
.[customizati
│ │ │ +001d3500: 6f6e 732e 7365 7276 6963 6573 5d0a 6d61  ons.services].ma
│ │ │ +001d3510: 736b 6564 203d 205b 2263 7570 7322 5d0a  sked = ["cups"].
│ │ │  001d3520: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remedia │ │ │ -001d4b30: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ -001d4b40: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -001d4b50: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -001d4b60: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -001d4b70: 7365 2220 6964 3d22 6964 6d32 3533 3137 se" id="idm25317 │ │ │ -001d4b80: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ -001d4bd0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -001d4be0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -001d4c00: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -001d4c20: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -001d4c30: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ -001d4c70: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -001d4c80: 6465 2072 656d 6f76 655f 7371 7569 640a  de remove_squid.
│ │ │ -001d4c90: 0a63 6c61 7373 2072 656d 6f76 655f 7371  .class remove_sq
│ │ │ -001d4ca0: 7569 6420 7b0a 2020 7061 636b 6167 6520  uid {.  package 
│ │ │ -001d4cb0: 7b20 2773 7175 6964 273a 0a20 2020 2065  { 'squid':.    e
│ │ │ -001d4cc0: 6e73 7572 6520 3d26 6774 3b20 2770 7572  nsure => 'pur
│ │ │ -001d4cd0: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ged',.  }.}.
< │ │ │ -001d4cf0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -001d4d00: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -001d4d10: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -001d4d20: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -001d4d30: 646d 3235 3331 3822 2074 6162 696e 6465 dm25318" tabinde │ │ │ -001d4d40: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -001d4d50: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -001d4d60: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -001d4d70: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -001d4d80: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -001d4d90: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ -001d4da0: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
< │ │ │ -001d4e30: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -001d4e50: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -001d4ea0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ -001d4ed0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Ensure
│ │ │ -001d4ef0: 2073 7175 6964 2069 7320 7265 6d6f 7665   squid is remove
│ │ │ -001d4f00: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ -001d4f10: 206e 616d 653a 2073 7175 6964 0a20 2020   name: squid.   
│ │ │ -001d4f20: 2073 7461 7465 3a20 6162 7365 6e74 0a20   state: absent. 
│ │ │ -001d4f30: 2074 6167 733a 0a20 202d 2064 6973 6162   tags:.  - disab
│ │ │ -001d4f40: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -001d4f50: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -001d4f60: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -001d4f70: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f  n.  - no_reboot_
│ │ │ -001d4f80: 6e65 6564 6564 0a20 202d 2070 6163 6b61  needed.  - packa
│ │ │ -001d4f90: 6765 5f73 7175 6964 5f72 656d 6f76 6564  ge_squid_removed
│ │ │ -001d4fa0: 0a20 202d 2075 6e6b 6e6f 776e 5f73 6576  .  - unknown_sev
│ │ │ -001d4fb0: 6572 6974 790a 3c2f 636f 6465 3e3c 2f70  erity.


│ │ │ +001d4b50: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
low
Disr │ │ │ -001d4e60: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -001d4e70: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -001d4eb0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ -001d4ec0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
Com │ │ │ +001d4bd0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +001d4c00: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +001d4c20: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +001d4c30: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +001d4c50: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +001d4c60: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +001d4c80: 6d65 3a20 456e 7375 7265 2073 7175 6964  me: Ensure squid
│ │ │ +001d4c90: 2069 7320 7265 6d6f 7665 640a 2020 7061   is removed.  pa
│ │ │ +001d4ca0: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ +001d4cb0: 2073 7175 6964 0a20 2020 2073 7461 7465   squid.    state
│ │ │ +001d4cc0: 3a20 6162 7365 6e74 0a20 2074 6167 733a  : absent.  tags:
│ │ │ +001d4cd0: 0a20 202d 2064 6973 6162 6c65 5f73 7472  .  - disable_str
│ │ │ +001d4ce0: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ +001d4cf0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +001d4d00: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +001d4d10: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +001d4d20: 0a20 202d 2070 6163 6b61 6765 5f73 7175  .  - package_squ
│ │ │ +001d4d30: 6964 5f72 656d 6f76 6564 0a20 202d 2075  id_removed.  - u
│ │ │ +001d4d40: 6e6b 6e6f 776e 5f73 6576 6572 6974 790a  nknown_severity.
│ │ │ +001d4d50: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation P │ │ │ +001d4e10: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ +001d4e20: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ +001d4eb0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +001d4ed0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +001d4ee0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001d4ef0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +001d4f00: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +001d4f20: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ +001d4f50: 636f 6465 3e69 6e63 6c75 6465 2072 656d  code>include rem
│ │ │ +001d4f60: 6f76 655f 7371 7569 640a 0a63 6c61 7373  ove_squid..class
│ │ │ +001d4f70: 2072 656d 6f76 655f 7371 7569 6420 7b0a   remove_squid {.
│ │ │ +001d4f80: 2020 7061 636b 6167 6520 7b20 2773 7175    package { 'squ
│ │ │ +001d4f90: 6964 273a 0a20 2020 2065 6e73 7572 6520  id':.    ensure 
│ │ │ +001d4fa0: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ +001d4fb0: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Rem │ │ │ -001d6400: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ -001d6410: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -001d6420: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ -001d64b0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
i
│ │ │ -001d6550: 6e63 6c75 6465 2072 656d 6f76 655f 7361  nclude remove_sa
│ │ │ -001d6560: 6d62 610a 0a63 6c61 7373 2072 656d 6f76  mba..class remov
│ │ │ -001d6570: 655f 7361 6d62 6120 7b0a 2020 7061 636b  e_samba {.  pack
│ │ │ -001d6580: 6167 6520 7b20 2773 616d 6261 273a 0a20  age { 'samba':. 
│ │ │ -001d6590: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ -001d65a0: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a  'purged',.  }.}.
│ │ │ -001d65b0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation A │ │ │ -001d6670: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet . │ │ │ -001d6680: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -001d6700: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ -001d6740: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 disable
│ │ │ -001d64a0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -001d64d0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -001d64e0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -001d6520: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ -001d6530: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexit │ │ │ -001d6710: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ -001d6730: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ -001d6760: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -001d6780: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
│ │ │ -001d67b0: 3c63 6f64 653e 2d20 6e61 6d65 3a20 456e  - name: En
│ │ │ -001d67c0: 7375 7265 2073 616d 6261 2069 7320 7265  sure samba is re
│ │ │ -001d67d0: 6d6f 7665 640a 2020 7061 636b 6167 653a  moved.  package:
│ │ │ -001d67e0: 0a20 2020 206e 616d 653a 2073 616d 6261  .    name: samba
│ │ │ -001d67f0: 0a20 2020 2073 7461 7465 3a20 6162 7365  .    state: abse
│ │ │ -001d6800: 6e74 0a20 2074 6167 733a 0a20 202d 2064  nt.  tags:.  - d
│ │ │ -001d6810: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ -001d6820: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -001d6830: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -001d6840: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562  ption.  - no_reb
│ │ │ -001d6850: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ -001d6860: 6163 6b61 6765 5f73 616d 6261 5f72 656d  ackage_samba_rem
│ │ │ -001d6870: 6f76 6564 0a20 202d 2075 6e6b 6e6f 776e  oved.  - unknown
│ │ │ -001d6880: 5f73 6576 6572 6974 790a 3c2f 636f 6465  _severity.
│ │ │ +001d6420: 3c62 723e 3c64 6976 2063 6c61 7373 3d22  
< │ │ │ +001d64f0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +001d6500: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +001d6550: 2d20 6e61 6d65 3a20 456e 7375 7265 2073  - name: Ensure s
│ │ │ +001d6560: 616d 6261 2069 7320 7265 6d6f 7665 640a  amba is removed.
│ │ │ +001d6570: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ +001d6580: 616d 653a 2073 616d 6261 0a20 2020 2073  ame: samba.    s
│ │ │ +001d6590: 7461 7465 3a20 6162 7365 6e74 0a20 2074  tate: absent.  t
│ │ │ +001d65a0: 6167 733a 0a20 202d 2064 6973 6162 6c65  ags:.  - disable
│ │ │ +001d65b0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ +001d65c0: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ +001d65d0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ +001d65e0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ +001d65f0: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ +001d6600: 5f73 616d 6261 5f72 656d 6f76 6564 0a20  _samba_removed. 
│ │ │ +001d6610: 202d 2075 6e6b 6e6f 776e 5f73 6576 6572   - unknown_sever
│ │ │ +001d6620: 6974 790a 3c2f 636f 6465 3e3c 2f70 7265  ity.
Remediati │ │ │ +001d66e0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ +001d66f0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +001d6730: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
Complexity:low
Disrup │ │ │ +001d64d0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +001d64e0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +001d6520: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +001d6530: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
< │ │ │ +001d67a0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +001d67c0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +001d67f0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ +001d6780: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +001d6790: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +001d67d0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +001d67e0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ +001d6830: 2072 656d 6f76 655f 7361 6d62 610a 0a63 remove_samba..c │ │ │ +001d6840: 6c61 7373 2072 656d 6f76 655f 7361 6d62 lass remove_samb │ │ │ +001d6850: 6120 7b0a 2020 7061 636b 6167 6520 7b20 a {. package { │ │ │ +001d6860: 2773 616d 6261 273a 0a20 2020 2065 6e73 'samba':. ens │ │ │ +001d6870: 7572 6520 3d26 6774 3b20 2770 7572 6765 ure => 'purge │ │ │ +001d6880: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 d',. }.}.

Remediatio │ │ │ -001d7cb0: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ -001d7cc0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -001d7d00: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -001d7d10: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -001d7d20: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -001d7d30: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -001d7d40: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -001d7d50: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -001d7d60: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -001d7da0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -001d7db0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -001d7dd0: 3c74 643e 6469 7361 626c 653c 2f74 643e disable │ │ │ -001d7de0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 include │ │ │ -001d7e00: 7265 6d6f 7665 5f73 6e6d 700a 0a63 6c61 remove_snmp..cla │ │ │ -001d7e10: 7373 2072 656d 6f76 655f 736e 6d70 207b ss remove_snmp { │ │ │ -001d7e20: 0a20 2070 6163 6b61 6765 207b 2027 736e . package { 'sn │ │ │ -001d7e30: 6d70 273a 0a20 2020 2065 6e73 7572 6520 mp':. ensure │ │ │ -001d7e40: 3d26 6774 3b20 2770 7572 6765 6427 2c0a => 'purged',. │ │ │ -001d7e50: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.

Remedia │ │ │ -001d7f10: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ -001d7f20: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001d7f30: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -001d7fb0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -001d7fe0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -001d8000: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -001d8010: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -001d8030: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -001d8040: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -001d8060: 6d65 3a20 456e 7375 7265 2073 6e6d 7020  me: Ensure snmp 
│ │ │ -001d8070: 6973 2072 656d 6f76 6564 0a20 2070 6163  is removed.  pac
│ │ │ -001d8080: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20  kage:.    name: 
│ │ │ -001d8090: 736e 6d70 0a20 2020 2073 7461 7465 3a20  snmp.    state: 
│ │ │ -001d80a0: 6162 7365 6e74 0a20 2074 6167 733a 0a20  absent.  tags:. 
│ │ │ -001d80b0: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ -001d80c0: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ -001d80d0: 2e32 2e34 0a20 202d 2064 6973 6162 6c65  .2.4.  - disable
│ │ │ -001d80e0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ -001d80f0: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -001d8100: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -001d8110: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -001d8120: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -001d8130: 5f6e 6574 2d73 6e6d 705f 7265 6d6f 7665  _net-snmp_remove
│ │ │ -001d8140: 640a 2020 2d20 756e 6b6e 6f77 6e5f 7365  d.  - unknown_se
│ │ │ -001d8150: 7665 7269 7479 0a3c 2f63 6f64 653e 3c2f  verity.
│ │ │ +001d7d00: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ +001d7d70: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +001d7d90: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +001d7dc0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ +001d7d50: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +001d7d60: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +001d7da0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +001d7db0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

- name: │ │ │ +001d7e00: 2045 6e73 7572 6520 736e 6d70 2069 7320 Ensure snmp is │ │ │ +001d7e10: 7265 6d6f 7665 640a 2020 7061 636b 6167 removed. packag │ │ │ +001d7e20: 653a 0a20 2020 206e 616d 653a 2073 6e6d e:. name: snm │ │ │ +001d7e30: 700a 2020 2020 7374 6174 653a 2061 6273 p. state: abs │ │ │ +001d7e40: 656e 740a 2020 7461 6773 3a0a 2020 2d20 ent. tags:. - │ │ │ +001d7e50: 5043 492d 4453 5376 342d 322e 320a 2020 PCI-DSSv4-2.2. │ │ │ +001d7e60: 2d20 5043 492d 4453 5376 342d 322e 322e - PCI-DSSv4-2.2. │ │ │ +001d7e70: 340a 2020 2d20 6469 7361 626c 655f 7374 4. - disable_st │ │ │ +001d7e80: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c │ │ │ +001d7e90: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo │ │ │ +001d7ea0: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. - │ │ │ +001d7eb0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede │ │ │ +001d7ec0: 640a 2020 2d20 7061 636b 6167 655f 6e65 d. - package_ne │ │ │ +001d7ed0: 742d 736e 6d70 5f72 656d 6f76 6564 0a20 t-snmp_removed. │ │ │ +001d7ee0: 202d 2075 6e6b 6e6f 776e 5f73 6576 6572 - unknown_sever │ │ │ +001d7ef0: 6974 790a 3c2f 636f 6465 3e3c 2f70 7265 ity.

Remediati │ │ │ +001d7fb0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ +001d7fc0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +001d8000: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ +001d8070: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +001d8090: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +001d80c0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ +001d8050: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +001d8060: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +001d80a0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +001d80b0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ +001d8100: 2072 656d 6f76 655f 736e 6d70 0a0a 636c remove_snmp..cl │ │ │ +001d8110: 6173 7320 7265 6d6f 7665 5f73 6e6d 7020 ass remove_snmp │ │ │ +001d8120: 7b0a 2020 7061 636b 6167 6520 7b20 2773 {. package { 's │ │ │ +001d8130: 6e6d 7027 3a0a 2020 2020 656e 7375 7265 nmp':. ensure │ │ │ +001d8140: 203d 2667 743b 2027 7075 7267 6564 272c => 'purged', │ │ │ +001d8150: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.

Remediati │ │ │ -0020af80: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -0020af90: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -0020afd0: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -0020afe0: 6465 2073 7368 5f70 7269 7661 7465 5f6b  de ssh_private_k
│ │ │ -0020aff0: 6579 5f70 6572 6d73 0a0a 636c 6173 7320  ey_perms..class 
│ │ │ -0020b000: 7373 685f 7072 6976 6174 655f 6b65 795f  ssh_private_key_
│ │ │ -0020b010: 7065 726d 7320 7b0a 2020 6578 6563 207b  perms {.  exec {
│ │ │ -0020b020: 2027 7373 6864 5f70 7269 765f 6b65 7927   'sshd_priv_key'
│ │ │ -0020b030: 3a0a 2020 2020 636f 6d6d 616e 6420 3d26  :.    command =&
│ │ │ -0020b040: 6774 3b20 2263 686d 6f64 2030 3634 3020  gt; "chmod 0640 
│ │ │ -0020b050: 2f65 7463 2f73 7368 2f2a 5f6b 6579 222c  /etc/ssh/*_key",
│ │ │ -0020b060: 0a20 2020 2070 6174 6820 2020 203d 2667  .    path    =&g
│ │ │ -0020b070: 743b 2027 2f62 696e 3a2f 7573 722f 6269  t; '/bin:/usr/bi
│ │ │ -0020b080: 6e27 0a20 207d 0a7d 0a3c 2f63 6f64 653e  n'.  }.}.
│ │ │ -0020b090: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ -0020b140: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible │ │ │ -0020b150: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -0020b160: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ -0020b1f0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
- name: Gather 
│ │ │ -0020b2a0: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ -0020b2b0: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ -0020b2c0: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ -0020b2d0: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ -0020b2e0: 204e 4953 542d 3830 302d 3137 312d 332e   NIST-800-171-3.
│ │ │ -0020b2f0: 312e 3133 0a20 202d 204e 4953 542d 3830  1.13.  - NIST-80
│ │ │ -0020b300: 302d 3137 312d 332e 3133 2e31 300a 2020  0-171-3.13.10.  
│ │ │ -0020b310: 2d20 4e49 5354 2d38 3030 2d35 332d 4143  - NIST-800-53-AC
│ │ │ -0020b320: 2d31 3728 6129 0a20 202d 204e 4953 542d  -17(a).  - NIST-
│ │ │ -0020b330: 3830 302d 3533 2d41 432d 3628 3129 0a20  800-53-AC-6(1). 
│ │ │ -0020b340: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -0020b350: 4d2d 3628 6129 0a20 202d 2050 4349 2d44  M-6(a).  - PCI-D
│ │ │ -0020b360: 5353 2d52 6571 2d32 2e32 2e34 0a20 202d  SS-Req-2.2.4.  -
│ │ │ -0020b370: 2050 4349 2d44 5353 7634 2d32 2e32 0a20   PCI-DSSv4-2.2. 
│ │ │ -0020b380: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ -0020b390: 2e36 0a20 202d 2063 6f6e 6669 6775 7265  .6.  - configure
│ │ │ -0020b3a0: 5f73 7472 6174 6567 790a 2020 2d20 6669  _strategy.  - fi
│ │ │ -0020b3b0: 6c65 5f70 6572 6d69 7373 696f 6e73 5f73  le_permissions_s
│ │ │ -0020b3c0: 7368 645f 7072 6976 6174 655f 6b65 790a  shd_private_key.
│ │ │ -0020b3d0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -0020b3e0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -0020b3f0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -0020b400: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -0020b410: 5f72 6562 6f6f 745f 6e65 6564 6564 0a0a  _reboot_needed..
│ │ │ -0020b420: 2d20 6e61 6d65 3a20 4669 6e64 2072 6f6f  - name: Find roo
│ │ │ -0020b430: 743a 726f 6f74 2d6f 776e 6564 206b 6579  t:root-owned key
│ │ │ -0020b440: 730a 2020 616e 7369 626c 652e 6275 696c  s.  ansible.buil
│ │ │ -0020b450: 7469 6e2e 636f 6d6d 616e 643a 2066 696e  tin.command: fin
│ │ │ -0020b460: 6420 2d48 202f 6574 632f 7373 682f 202d  d -H /etc/ssh/ -
│ │ │ -0020b470: 6d61 7864 6570 7468 2031 202d 7573 6572  maxdepth 1 -user
│ │ │ -0020b480: 2072 6f6f 7420 2d72 6567 6578 2022 2e2a   root -regex ".*
│ │ │ -0020b490: 5f6b 6579 2422 0a20 2020 202d 7479 7065  _key$".    -type
│ │ │ -0020b4a0: 2066 202d 6772 6f75 7020 726f 6f74 202d   f -group root -
│ │ │ -0020b4b0: 7065 726d 202f 752b 7873 2c67 2b78 7772  perm /u+xs,g+xwr
│ │ │ -0020b4c0: 732c 6f2b 7877 7274 0a20 2072 6567 6973  s,o+xwrt.  regis
│ │ │ -0020b4d0: 7465 723a 2072 6f6f 745f 6f77 6e65 645f  ter: root_owned_
│ │ │ -0020b4e0: 6b65 7973 0a20 2063 6861 6e67 6564 5f77  keys.  changed_w
│ │ │ -0020b4f0: 6865 6e3a 2066 616c 7365 0a20 2066 6169  hen: false.  fai
│ │ │ -0020b500: 6c65 645f 7768 656e 3a20 6661 6c73 650a  led_when: false.
│ │ │ -0020b510: 2020 6368 6563 6b5f 6d6f 6465 3a20 6661    check_mode: fa
│ │ │ -0020b520: 6c73 650a 2020 7768 656e 3a20 2722 6c69  lse.  when: '"li
│ │ │ -0020b530: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ -0020b540: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -0020b550: 6765 7327 0a20 2074 6167 733a 0a20 202d  ges'.  tags:.  -
│ │ │ -0020b560: 204e 4953 542d 3830 302d 3137 312d 332e   NIST-800-171-3.
│ │ │ -0020b570: 312e 3133 0a20 202d 204e 4953 542d 3830  1.13.  - NIST-80
│ │ │ -0020b580: 302d 3137 312d 332e 3133 2e31 300a 2020  0-171-3.13.10.  
│ │ │ -0020b590: 2d20 4e49 5354 2d38 3030 2d35 332d 4143  - NIST-800-53-AC
│ │ │ -0020b5a0: 2d31 3728 6129 0a20 202d 204e 4953 542d  -17(a).  - NIST-
│ │ │ -0020b5b0: 3830 302d 3533 2d41 432d 3628 3129 0a20  800-53-AC-6(1). 
│ │ │ -0020b5c0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -0020b5d0: 4d2d 3628 6129 0a20 202d 2050 4349 2d44  M-6(a).  - PCI-D
│ │ │ -0020b5e0: 5353 2d52 6571 2d32 2e32 2e34 0a20 202d  SS-Req-2.2.4.  -
│ │ │ -0020b5f0: 2050 4349 2d44 5353 7634 2d32 2e32 0a20   PCI-DSSv4-2.2. 
│ │ │ -0020b600: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ -0020b610: 2e36 0a20 202d 2063 6f6e 6669 6775 7265  .6.  - configure
│ │ │ -0020b620: 5f73 7472 6174 6567 790a 2020 2d20 6669  _strategy.  - fi
│ │ │ -0020b630: 6c65 5f70 6572 6d69 7373 696f 6e73 5f73  le_permissions_s
│ │ │ -0020b640: 7368 645f 7072 6976 6174 655f 6b65 790a  shd_private_key.
│ │ │ -0020b650: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -0020b660: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -0020b670: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -0020b680: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -0020b690: 5f72 6562 6f6f 745f 6e65 6564 6564 0a0a  _reboot_needed..
│ │ │ -0020b6a0: 2d20 6e61 6d65 3a20 5365 7420 7065 726d  - name: Set perm
│ │ │ -0020b6b0: 6973 7369 6f6e 7320 666f 7220 726f 6f74  issions for root
│ │ │ -0020b6c0: 3a72 6f6f 742d 6f77 6e65 6420 6b65 7973  :root-owned keys
│ │ │ -0020b6d0: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74  .  ansible.built
│ │ │ -0020b6e0: 696e 2e66 696c 653a 0a20 2020 2070 6174  in.file:.    pat
│ │ │ -0020b6f0: 683a 2027 7b7b 2069 7465 6d20 7d7d 270a  h: '{{ item }}'.
│ │ │ -0020b700: 2020 2020 6d6f 6465 3a20 752d 7873 2c67      mode: u-xs,g
│ │ │ -0020b710: 2d78 7772 732c 6f2d 7877 7274 0a20 2020  -xwrs,o-xwrt.   
│ │ │ -0020b720: 2073 7461 7465 3a20 6669 6c65 0a20 2077   state: file.  w
│ │ │ -0020b730: 6974 685f 6974 656d 733a 0a20 202d 2027  ith_items:.  - '
│ │ │ -0020b740: 7b7b 2072 6f6f 745f 6f77 6e65 645f 6b65  {{ root_owned_ke
│ │ │ -0020b750: 7973 2e73 7464 6f75 745f 6c69 6e65 7320  ys.stdout_lines 
│ │ │ -0020b760: 7d7d 270a 2020 7768 656e 3a20 2722 6c69  }}'.  when: '"li
│ │ │ -0020b770: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ -0020b780: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -0020b790: 6765 7327 0a20 2074 6167 733a 0a20 202d  ges'.  tags:.  -
│ │ │ -0020b7a0: 204e 4953 542d 3830 302d 3137 312d 332e   NIST-800-171-3.
│ │ │ -0020b7b0: 312e 3133 0a20 202d 204e 4953 542d 3830  1.13.  - NIST-80
│ │ │ -0020b7c0: 302d 3137 312d 332e 3133 2e31 300a 2020  0-171-3.13.10.  
│ │ │ -0020b7d0: 2d20 4e49 5354 2d38 3030 2d35 332d 4143  - NIST-800-53-AC
│ │ │ -0020b7e0: 2d31 3728 6129 0a20 202d 204e 4953 542d  -17(a).  - NIST-
│ │ │ -0020b7f0: 3830 302d 3533 2d41 432d 3628 3129 0a20  800-53-AC-6(1). 
│ │ │ -0020b800: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -0020b810: 4d2d 3628 6129 0a20 202d 2050 4349 2d44  M-6(a).  - PCI-D
│ │ │ -0020b820: 5353 2d52 6571 2d32 2e32 2e34 0a20 202d  SS-Req-2.2.4.  -
│ │ │ -0020b830: 2050 4349 2d44 5353 7634 2d32 2e32 0a20   PCI-DSSv4-2.2. 
│ │ │ -0020b840: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ -0020b850: 2e36 0a20 202d 2063 6f6e 6669 6775 7265  .6.  - configure
│ │ │ -0020b860: 5f73 7472 6174 6567 790a 2020 2d20 6669  _strategy.  - fi
│ │ │ -0020b870: 6c65 5f70 6572 6d69 7373 696f 6e73 5f73  le_permissions_s
│ │ │ -0020b880: 7368 645f 7072 6976 6174 655f 6b65 790a  shd_private_key.
│ │ │ -0020b890: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -0020b8a0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -0020b8b0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -0020b8c0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -0020b8d0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a3c  _reboot_needed.<
│ │ │ +0020af80: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070  on Ansible snipp
│ │ │ +0020af90: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64  et ...
│ │ │ -0020b1e0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -0020b210: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -0020b220: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -0020b260: 793a 3c2f 7468 3e3c 7464 3e63 6f6e 6669 y:confi │ │ │ -0020b270: 6775 7265 3c2f 7464 3e3c 2f74 723e 3c2f gure
│ │ │ +0020b040: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +0020b060: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +0020b090: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +0020b020: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +0020b030: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +0020b050: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +0020b070: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +0020b080: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:configure< │ │ │ +0020b0b0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +0020b0d0: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ +0020b0e0: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ +0020b0f0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ +0020b100: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ +0020b110: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ +0020b120: 2d38 3030 2d31 3731 2d33 2e31 2e31 330a  -800-171-3.1.13.
│ │ │ +0020b130: 2020 2d20 4e49 5354 2d38 3030 2d31 3731    - NIST-800-171
│ │ │ +0020b140: 2d33 2e31 332e 3130 0a20 202d 204e 4953  -3.13.10.  - NIS
│ │ │ +0020b150: 542d 3830 302d 3533 2d41 432d 3137 2861  T-800-53-AC-17(a
│ │ │ +0020b160: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +0020b170: 332d 4143 2d36 2831 290a 2020 2d20 4e49  3-AC-6(1).  - NI
│ │ │ +0020b180: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +0020b190: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ +0020b1a0: 712d 322e 322e 340a 2020 2d20 5043 492d  q-2.2.4.  - PCI-
│ │ │ +0020b1b0: 4453 5376 342d 322e 320a 2020 2d20 5043  DSSv4-2.2.  - PC
│ │ │ +0020b1c0: 492d 4453 5376 342d 322e 322e 360a 2020  I-DSSv4-2.2.6.  
│ │ │ +0020b1d0: 2d20 636f 6e66 6967 7572 655f 7374 7261  - configure_stra
│ │ │ +0020b1e0: 7465 6779 0a20 202d 2066 696c 655f 7065  tegy.  - file_pe
│ │ │ +0020b1f0: 726d 6973 7369 6f6e 735f 7373 6864 5f70  rmissions_sshd_p
│ │ │ +0020b200: 7269 7661 7465 5f6b 6579 0a20 202d 206c  rivate_key.  - l
│ │ │ +0020b210: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +0020b220: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +0020b230: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ +0020b240: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +0020b250: 6f74 5f6e 6565 6465 640a 0a2d 206e 616d  ot_needed..- nam
│ │ │ +0020b260: 653a 2046 696e 6420 726f 6f74 3a72 6f6f  e: Find root:roo
│ │ │ +0020b270: 742d 6f77 6e65 6420 6b65 7973 0a20 2061  t-owned keys.  a
│ │ │ +0020b280: 6e73 6962 6c65 2e62 7569 6c74 696e 2e63  nsible.builtin.c
│ │ │ +0020b290: 6f6d 6d61 6e64 3a20 6669 6e64 202d 4820  ommand: find -H 
│ │ │ +0020b2a0: 2f65 7463 2f73 7368 2f20 2d6d 6178 6465  /etc/ssh/ -maxde
│ │ │ +0020b2b0: 7074 6820 3120 2d75 7365 7220 726f 6f74  pth 1 -user root
│ │ │ +0020b2c0: 202d 7265 6765 7820 222e 2a5f 6b65 7924   -regex ".*_key$
│ │ │ +0020b2d0: 220a 2020 2020 2d74 7970 6520 6620 2d67  ".    -type f -g
│ │ │ +0020b2e0: 726f 7570 2072 6f6f 7420 2d70 6572 6d20  roup root -perm 
│ │ │ +0020b2f0: 2f75 2b78 732c 672b 7877 7273 2c6f 2b78  /u+xs,g+xwrs,o+x
│ │ │ +0020b300: 7772 740a 2020 7265 6769 7374 6572 3a20  wrt.  register: 
│ │ │ +0020b310: 726f 6f74 5f6f 776e 6564 5f6b 6579 730a  root_owned_keys.
│ │ │ +0020b320: 2020 6368 616e 6765 645f 7768 656e 3a20    changed_when: 
│ │ │ +0020b330: 6661 6c73 650a 2020 6661 696c 6564 5f77  false.  failed_w
│ │ │ +0020b340: 6865 6e3a 2066 616c 7365 0a20 2063 6865  hen: false.  che
│ │ │ +0020b350: 636b 5f6d 6f64 653a 2066 616c 7365 0a20  ck_mode: false. 
│ │ │ +0020b360: 2077 6865 6e3a 2027 226c 696e 7578 2d62   when: '"linux-b
│ │ │ +0020b370: 6173 6522 2069 6e20 616e 7369 626c 655f  ase" in ansible_
│ │ │ +0020b380: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ +0020b390: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ +0020b3a0: 2d38 3030 2d31 3731 2d33 2e31 2e31 330a  -800-171-3.1.13.
│ │ │ +0020b3b0: 2020 2d20 4e49 5354 2d38 3030 2d31 3731    - NIST-800-171
│ │ │ +0020b3c0: 2d33 2e31 332e 3130 0a20 202d 204e 4953  -3.13.10.  - NIS
│ │ │ +0020b3d0: 542d 3830 302d 3533 2d41 432d 3137 2861  T-800-53-AC-17(a
│ │ │ +0020b3e0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +0020b3f0: 332d 4143 2d36 2831 290a 2020 2d20 4e49  3-AC-6(1).  - NI
│ │ │ +0020b400: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +0020b410: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ +0020b420: 712d 322e 322e 340a 2020 2d20 5043 492d  q-2.2.4.  - PCI-
│ │ │ +0020b430: 4453 5376 342d 322e 320a 2020 2d20 5043  DSSv4-2.2.  - PC
│ │ │ +0020b440: 492d 4453 5376 342d 322e 322e 360a 2020  I-DSSv4-2.2.6.  
│ │ │ +0020b450: 2d20 636f 6e66 6967 7572 655f 7374 7261  - configure_stra
│ │ │ +0020b460: 7465 6779 0a20 202d 2066 696c 655f 7065  tegy.  - file_pe
│ │ │ +0020b470: 726d 6973 7369 6f6e 735f 7373 6864 5f70  rmissions_sshd_p
│ │ │ +0020b480: 7269 7661 7465 5f6b 6579 0a20 202d 206c  rivate_key.  - l
│ │ │ +0020b490: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +0020b4a0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +0020b4b0: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ +0020b4c0: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +0020b4d0: 6f74 5f6e 6565 6465 640a 0a2d 206e 616d  ot_needed..- nam
│ │ │ +0020b4e0: 653a 2053 6574 2070 6572 6d69 7373 696f  e: Set permissio
│ │ │ +0020b4f0: 6e73 2066 6f72 2072 6f6f 743a 726f 6f74  ns for root:root
│ │ │ +0020b500: 2d6f 776e 6564 206b 6579 730a 2020 616e  -owned keys.  an
│ │ │ +0020b510: 7369 626c 652e 6275 696c 7469 6e2e 6669  sible.builtin.fi
│ │ │ +0020b520: 6c65 3a0a 2020 2020 7061 7468 3a20 277b  le:.    path: '{
│ │ │ +0020b530: 7b20 6974 656d 207d 7d27 0a20 2020 206d  { item }}'.    m
│ │ │ +0020b540: 6f64 653a 2075 2d78 732c 672d 7877 7273  ode: u-xs,g-xwrs
│ │ │ +0020b550: 2c6f 2d78 7772 740a 2020 2020 7374 6174  ,o-xwrt.    stat
│ │ │ +0020b560: 653a 2066 696c 650a 2020 7769 7468 5f69  e: file.  with_i
│ │ │ +0020b570: 7465 6d73 3a0a 2020 2d20 277b 7b20 726f  tems:.  - '{{ ro
│ │ │ +0020b580: 6f74 5f6f 776e 6564 5f6b 6579 732e 7374  ot_owned_keys.st
│ │ │ +0020b590: 646f 7574 5f6c 696e 6573 207d 7d27 0a20  dout_lines }}'. 
│ │ │ +0020b5a0: 2077 6865 6e3a 2027 226c 696e 7578 2d62   when: '"linux-b
│ │ │ +0020b5b0: 6173 6522 2069 6e20 616e 7369 626c 655f  ase" in ansible_
│ │ │ +0020b5c0: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ +0020b5d0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ +0020b5e0: 2d38 3030 2d31 3731 2d33 2e31 2e31 330a  -800-171-3.1.13.
│ │ │ +0020b5f0: 2020 2d20 4e49 5354 2d38 3030 2d31 3731    - NIST-800-171
│ │ │ +0020b600: 2d33 2e31 332e 3130 0a20 202d 204e 4953  -3.13.10.  - NIS
│ │ │ +0020b610: 542d 3830 302d 3533 2d41 432d 3137 2861  T-800-53-AC-17(a
│ │ │ +0020b620: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +0020b630: 332d 4143 2d36 2831 290a 2020 2d20 4e49  3-AC-6(1).  - NI
│ │ │ +0020b640: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +0020b650: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ +0020b660: 712d 322e 322e 340a 2020 2d20 5043 492d  q-2.2.4.  - PCI-
│ │ │ +0020b670: 4453 5376 342d 322e 320a 2020 2d20 5043  DSSv4-2.2.  - PC
│ │ │ +0020b680: 492d 4453 5376 342d 322e 322e 360a 2020  I-DSSv4-2.2.6.  
│ │ │ +0020b690: 2d20 636f 6e66 6967 7572 655f 7374 7261  - configure_stra
│ │ │ +0020b6a0: 7465 6779 0a20 202d 2066 696c 655f 7065  tegy.  - file_pe
│ │ │ +0020b6b0: 726d 6973 7369 6f6e 735f 7373 6864 5f70  rmissions_sshd_p
│ │ │ +0020b6c0: 7269 7661 7465 5f6b 6579 0a20 202d 206c  rivate_key.  - l
│ │ │ +0020b6d0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +0020b6e0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +0020b6f0: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ +0020b700: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +0020b710: 6f74 5f6e 6565 6465 640a 3c2f 636f 6465  ot_needed.
Rem │ │ │ +0020b7d0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ +0020b7e0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +0020b7f0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
include ssh_pri
│ │ │ +0020b840: 7661 7465 5f6b 6579 5f70 6572 6d73 0a0a  vate_key_perms..
│ │ │ +0020b850: 636c 6173 7320 7373 685f 7072 6976 6174  class ssh_privat
│ │ │ +0020b860: 655f 6b65 795f 7065 726d 7320 7b0a 2020  e_key_perms {.  
│ │ │ +0020b870: 6578 6563 207b 2027 7373 6864 5f70 7269  exec { 'sshd_pri
│ │ │ +0020b880: 765f 6b65 7927 3a0a 2020 2020 636f 6d6d  v_key':.    comm
│ │ │ +0020b890: 616e 6420 3d26 6774 3b20 2263 686d 6f64  and => "chmod
│ │ │ +0020b8a0: 2030 3634 3020 2f65 7463 2f73 7368 2f2a   0640 /etc/ssh/*
│ │ │ +0020b8b0: 5f6b 6579 222c 0a20 2020 2070 6174 6820  _key",.    path 
│ │ │ +0020b8c0: 2020 203d 2667 743b 2027 2f62 696e 3a2f     => '/bin:/
│ │ │ +0020b8d0: 7573 722f 6269 6e27 0a20 207d 0a7d 0a3c  usr/bin'.  }.}.<
│ │ │  0020b8e0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Reme │ │ │ -0020cdb0: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -0020cdc0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...

│ │ │ -0020ce10: 696e 636c 7564 6520 7373 685f 7075 626c  include ssh_publ
│ │ │ -0020ce20: 6963 5f6b 6579 5f70 6572 6d73 0a0a 636c  ic_key_perms..cl
│ │ │ -0020ce30: 6173 7320 7373 685f 7075 626c 6963 5f6b  ass ssh_public_k
│ │ │ -0020ce40: 6579 5f70 6572 6d73 207b 0a20 2065 7865  ey_perms {.  exe
│ │ │ -0020ce50: 6320 7b20 2773 7368 645f 7075 625f 6b65  c { 'sshd_pub_ke
│ │ │ -0020ce60: 7927 3a0a 2020 2020 636f 6d6d 616e 6420  y':.    command 
│ │ │ -0020ce70: 3d26 6774 3b20 2263 686d 6f64 2030 3634  => "chmod 064
│ │ │ -0020ce80: 3420 2f65 7463 2f73 7368 2f2a 2e70 7562  4 /etc/ssh/*.pub
│ │ │ -0020ce90: 222c 0a20 2020 2070 6174 6820 2020 203d  ",.    path    =
│ │ │ -0020cea0: 2667 743b 2027 2f62 696e 3a2f 7573 722f  > '/bin:/usr/
│ │ │ -0020ceb0: 6269 6e27 0a20 207d 0a7d 0a3c 2f63 6f64  bin'.  }.}.
Re │ │ │ -0020cf70: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -0020cf80: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
Complexity: │ │ │ -0020d060: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -0020d070: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f │ │ │ -0020d0b0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
low
Disru │ │ │ -0020d040: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -0020d050: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -0020d090: 6567 793a 3c2f 7468 3e3c 7464 3e63 6f6e egy:con │ │ │ -0020d0a0: 6669 6775 7265 3c2f 7464 3e3c 2f74 723e figure
- name: Gathe
│ │ │ -0020d0d0: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ -0020d0e0: 6374 730a 2020 7061 636b 6167 655f 6661  cts.  package_fa
│ │ │ -0020d0f0: 6374 733a 0a20 2020 206d 616e 6167 6572  cts:.    manager
│ │ │ -0020d100: 3a20 6175 746f 0a20 2074 6167 733a 0a20  : auto.  tags:. 
│ │ │ -0020d110: 202d 204e 4953 542d 3830 302d 3137 312d   - NIST-800-171-
│ │ │ -0020d120: 332e 312e 3133 0a20 202d 204e 4953 542d  3.1.13.  - NIST-
│ │ │ -0020d130: 3830 302d 3137 312d 332e 3133 2e31 300a  800-171-3.13.10.
│ │ │ -0020d140: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -0020d150: 4143 2d31 3728 6129 0a20 202d 204e 4953  AC-17(a).  - NIS
│ │ │ -0020d160: 542d 3830 302d 3533 2d41 432d 3628 3129  T-800-53-AC-6(1)
│ │ │ -0020d170: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -0020d180: 2d43 4d2d 3628 6129 0a20 202d 2050 4349  -CM-6(a).  - PCI
│ │ │ -0020d190: 2d44 5353 2d52 6571 2d32 2e32 2e34 0a20  -DSS-Req-2.2.4. 
│ │ │ -0020d1a0: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ -0020d1b0: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ -0020d1c0: 2e32 2e36 0a20 202d 2063 6f6e 6669 6775  .2.6.  - configu
│ │ │ -0020d1d0: 7265 5f73 7472 6174 6567 790a 2020 2d20  re_strategy.  - 
│ │ │ -0020d1e0: 6669 6c65 5f70 6572 6d69 7373 696f 6e73  file_permissions
│ │ │ -0020d1f0: 5f73 7368 645f 7075 625f 6b65 790a 2020  _sshd_pub_key.  
│ │ │ -0020d200: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -0020d210: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -0020d220: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ -0020d230: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ -0020d240: 6562 6f6f 745f 6e65 6564 6564 0a0a 2d20  eboot_needed..- 
│ │ │ -0020d250: 6e61 6d65 3a20 4669 6e64 202f 6574 632f  name: Find /etc/
│ │ │ -0020d260: 7373 682f 2066 696c 6528 7329 0a20 2063  ssh/ file(s).  c
│ │ │ -0020d270: 6f6d 6d61 6e64 3a20 6669 6e64 202d 4820  ommand: find -H 
│ │ │ -0020d280: 2f65 7463 2f73 7368 2f20 2d6d 6178 6465  /etc/ssh/ -maxde
│ │ │ -0020d290: 7074 6820 3120 2d70 6572 6d20 2f75 2b78  pth 1 -perm /u+x
│ │ │ -0020d2a0: 732c 672b 7877 732c 6f2b 7877 7420 202d  s,g+xws,o+xwt  -
│ │ │ -0020d2b0: 7479 7065 2066 202d 7265 6765 7874 7970  type f -regextyp
│ │ │ -0020d2c0: 650a 2020 2020 706f 7369 782d 6578 7465  e.    posix-exte
│ │ │ -0020d2d0: 6e64 6564 202d 7265 6765 7820 225e 2e2a  nded -regex "^.*
│ │ │ -0020d2e0: 5c2e 7075 6224 220a 2020 7265 6769 7374  \.pub$".  regist
│ │ │ -0020d2f0: 6572 3a20 6669 6c65 735f 666f 756e 640a  er: files_found.
│ │ │ -0020d300: 2020 6368 616e 6765 645f 7768 656e 3a20    changed_when: 
│ │ │ -0020d310: 6661 6c73 650a 2020 6661 696c 6564 5f77  false.  failed_w
│ │ │ -0020d320: 6865 6e3a 2066 616c 7365 0a20 2063 6865  hen: false.  che
│ │ │ -0020d330: 636b 5f6d 6f64 653a 2066 616c 7365 0a20  ck_mode: false. 
│ │ │ -0020d340: 2077 6865 6e3a 2027 226c 696e 7578 2d62   when: '"linux-b
│ │ │ -0020d350: 6173 6522 2069 6e20 616e 7369 626c 655f  ase" in ansible_
│ │ │ -0020d360: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -0020d370: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ -0020d380: 2d38 3030 2d31 3731 2d33 2e31 2e31 330a  -800-171-3.1.13.
│ │ │ -0020d390: 2020 2d20 4e49 5354 2d38 3030 2d31 3731    - NIST-800-171
│ │ │ -0020d3a0: 2d33 2e31 332e 3130 0a20 202d 204e 4953  -3.13.10.  - NIS
│ │ │ -0020d3b0: 542d 3830 302d 3533 2d41 432d 3137 2861  T-800-53-AC-17(a
│ │ │ -0020d3c0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -0020d3d0: 332d 4143 2d36 2831 290a 2020 2d20 4e49  3-AC-6(1).  - NI
│ │ │ -0020d3e0: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ -0020d3f0: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ -0020d400: 712d 322e 322e 340a 2020 2d20 5043 492d  q-2.2.4.  - PCI-
│ │ │ -0020d410: 4453 5376 342d 322e 320a 2020 2d20 5043  DSSv4-2.2.  - PC
│ │ │ -0020d420: 492d 4453 5376 342d 322e 322e 360a 2020  I-DSSv4-2.2.6.  
│ │ │ -0020d430: 2d20 636f 6e66 6967 7572 655f 7374 7261  - configure_stra
│ │ │ -0020d440: 7465 6779 0a20 202d 2066 696c 655f 7065  tegy.  - file_pe
│ │ │ -0020d450: 726d 6973 7369 6f6e 735f 7373 6864 5f70  rmissions_sshd_p
│ │ │ -0020d460: 7562 5f6b 6579 0a20 202d 206c 6f77 5f63  ub_key.  - low_c
│ │ │ -0020d470: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ -0020d480: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ -0020d490: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ -0020d4a0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ -0020d4b0: 6565 6465 640a 0a2d 206e 616d 653a 2053  eeded..- name: S
│ │ │ -0020d4c0: 6574 2070 6572 6d69 7373 696f 6e73 2066  et permissions f
│ │ │ -0020d4d0: 6f72 202f 6574 632f 7373 682f 2066 696c  or /etc/ssh/ fil
│ │ │ -0020d4e0: 6528 7329 0a20 2066 696c 653a 0a20 2020  e(s).  file:.   
│ │ │ -0020d4f0: 2070 6174 683a 2027 7b7b 2069 7465 6d20   path: '{{ item 
│ │ │ -0020d500: 7d7d 270a 2020 2020 6d6f 6465 3a20 752d  }}'.    mode: u-
│ │ │ -0020d510: 7873 2c67 2d78 7773 2c6f 2d78 7774 0a20  xs,g-xws,o-xwt. 
│ │ │ -0020d520: 2020 2073 7461 7465 3a20 6669 6c65 0a20     state: file. 
│ │ │ -0020d530: 2077 6974 685f 6974 656d 733a 0a20 202d   with_items:.  -
│ │ │ -0020d540: 2027 7b7b 2066 696c 6573 5f66 6f75 6e64   '{{ files_found
│ │ │ -0020d550: 2e73 7464 6f75 745f 6c69 6e65 7320 7d7d  .stdout_lines }}
│ │ │ -0020d560: 270a 2020 7768 656e 3a20 2722 6c69 6e75  '.  when: '"linu
│ │ │ -0020d570: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ -0020d580: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -0020d590: 7327 0a20 2074 6167 733a 0a20 202d 204e  s'.  tags:.  - N
│ │ │ -0020d5a0: 4953 542d 3830 302d 3137 312d 332e 312e  IST-800-171-3.1.
│ │ │ -0020d5b0: 3133 0a20 202d 204e 4953 542d 3830 302d  13.  - NIST-800-
│ │ │ -0020d5c0: 3137 312d 332e 3133 2e31 300a 2020 2d20  171-3.13.10.  - 
│ │ │ -0020d5d0: 4e49 5354 2d38 3030 2d35 332d 4143 2d31  NIST-800-53-AC-1
│ │ │ -0020d5e0: 3728 6129 0a20 202d 204e 4953 542d 3830  7(a).  - NIST-80
│ │ │ -0020d5f0: 302d 3533 2d41 432d 3628 3129 0a20 202d  0-53-AC-6(1).  -
│ │ │ -0020d600: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -0020d610: 3628 6129 0a20 202d 2050 4349 2d44 5353  6(a).  - PCI-DSS
│ │ │ -0020d620: 2d52 6571 2d32 2e32 2e34 0a20 202d 2050  -Req-2.2.4.  - P
│ │ │ -0020d630: 4349 2d44 5353 7634 2d32 2e32 0a20 202d  CI-DSSv4-2.2.  -
│ │ │ -0020d640: 2050 4349 2d44 5353 7634 2d32 2e32 2e36   PCI-DSSv4-2.2.6
│ │ │ -0020d650: 0a20 202d 2063 6f6e 6669 6775 7265 5f73  .  - configure_s
│ │ │ -0020d660: 7472 6174 6567 790a 2020 2d20 6669 6c65  trategy.  - file
│ │ │ -0020d670: 5f70 6572 6d69 7373 696f 6e73 5f73 7368  _permissions_ssh
│ │ │ -0020d680: 645f 7075 625f 6b65 790a 2020 2d20 6c6f  d_pub_key.  - lo
│ │ │ -0020d690: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -0020d6a0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -0020d6b0: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ -0020d6c0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ -0020d6d0: 745f 6e65 6564 6564 0a3c 2f63 6f64 653e  t_needed.
│ │ │ +0020cdb0: 6469 6174 696f 6e20 416e 7369 626c 6520  diation Ansible 
│ │ │ +0020cdc0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c  snippet ...<
│ │ │ +0020cdd0: 6272 3e3c 6469 7620 636c 6173 733d 2270  br>
│ │ │ +0020ce60: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
- name: Gather 
│ │ │ +0020cf10: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ +0020cf20: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ +0020cf30: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ +0020cf40: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ +0020cf50: 204e 4953 542d 3830 302d 3137 312d 332e   NIST-800-171-3.
│ │ │ +0020cf60: 312e 3133 0a20 202d 204e 4953 542d 3830  1.13.  - NIST-80
│ │ │ +0020cf70: 302d 3137 312d 332e 3133 2e31 300a 2020  0-171-3.13.10.  
│ │ │ +0020cf80: 2d20 4e49 5354 2d38 3030 2d35 332d 4143  - NIST-800-53-AC
│ │ │ +0020cf90: 2d31 3728 6129 0a20 202d 204e 4953 542d  -17(a).  - NIST-
│ │ │ +0020cfa0: 3830 302d 3533 2d41 432d 3628 3129 0a20  800-53-AC-6(1). 
│ │ │ +0020cfb0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +0020cfc0: 4d2d 3628 6129 0a20 202d 2050 4349 2d44  M-6(a).  - PCI-D
│ │ │ +0020cfd0: 5353 2d52 6571 2d32 2e32 2e34 0a20 202d  SS-Req-2.2.4.  -
│ │ │ +0020cfe0: 2050 4349 2d44 5353 7634 2d32 2e32 0a20   PCI-DSSv4-2.2. 
│ │ │ +0020cff0: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ +0020d000: 2e36 0a20 202d 2063 6f6e 6669 6775 7265  .6.  - configure
│ │ │ +0020d010: 5f73 7472 6174 6567 790a 2020 2d20 6669  _strategy.  - fi
│ │ │ +0020d020: 6c65 5f70 6572 6d69 7373 696f 6e73 5f73  le_permissions_s
│ │ │ +0020d030: 7368 645f 7075 625f 6b65 790a 2020 2d20  shd_pub_key.  - 
│ │ │ +0020d040: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +0020d050: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +0020d060: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ +0020d070: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +0020d080: 6f6f 745f 6e65 6564 6564 0a0a 2d20 6e61  oot_needed..- na
│ │ │ +0020d090: 6d65 3a20 4669 6e64 202f 6574 632f 7373  me: Find /etc/ss
│ │ │ +0020d0a0: 682f 2066 696c 6528 7329 0a20 2063 6f6d  h/ file(s).  com
│ │ │ +0020d0b0: 6d61 6e64 3a20 6669 6e64 202d 4820 2f65  mand: find -H /e
│ │ │ +0020d0c0: 7463 2f73 7368 2f20 2d6d 6178 6465 7074  tc/ssh/ -maxdept
│ │ │ +0020d0d0: 6820 3120 2d70 6572 6d20 2f75 2b78 732c  h 1 -perm /u+xs,
│ │ │ +0020d0e0: 672b 7877 732c 6f2b 7877 7420 202d 7479  g+xws,o+xwt  -ty
│ │ │ +0020d0f0: 7065 2066 202d 7265 6765 7874 7970 650a  pe f -regextype.
│ │ │ +0020d100: 2020 2020 706f 7369 782d 6578 7465 6e64      posix-extend
│ │ │ +0020d110: 6564 202d 7265 6765 7820 225e 2e2a 5c2e  ed -regex "^.*\.
│ │ │ +0020d120: 7075 6224 220a 2020 7265 6769 7374 6572  pub$".  register
│ │ │ +0020d130: 3a20 6669 6c65 735f 666f 756e 640a 2020  : files_found.  
│ │ │ +0020d140: 6368 616e 6765 645f 7768 656e 3a20 6661  changed_when: fa
│ │ │ +0020d150: 6c73 650a 2020 6661 696c 6564 5f77 6865  lse.  failed_whe
│ │ │ +0020d160: 6e3a 2066 616c 7365 0a20 2063 6865 636b  n: false.  check
│ │ │ +0020d170: 5f6d 6f64 653a 2066 616c 7365 0a20 2077  _mode: false.  w
│ │ │ +0020d180: 6865 6e3a 2027 226c 696e 7578 2d62 6173  hen: '"linux-bas
│ │ │ +0020d190: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ +0020d1a0: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ +0020d1b0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ +0020d1c0: 3030 2d31 3731 2d33 2e31 2e31 330a 2020  00-171-3.1.13.  
│ │ │ +0020d1d0: 2d20 4e49 5354 2d38 3030 2d31 3731 2d33  - NIST-800-171-3
│ │ │ +0020d1e0: 2e31 332e 3130 0a20 202d 204e 4953 542d  .13.10.  - NIST-
│ │ │ +0020d1f0: 3830 302d 3533 2d41 432d 3137 2861 290a  800-53-AC-17(a).
│ │ │ +0020d200: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +0020d210: 4143 2d36 2831 290a 2020 2d20 4e49 5354  AC-6(1).  - NIST
│ │ │ +0020d220: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ +0020d230: 2020 2d20 5043 492d 4453 532d 5265 712d    - PCI-DSS-Req-
│ │ │ +0020d240: 322e 322e 340a 2020 2d20 5043 492d 4453  2.2.4.  - PCI-DS
│ │ │ +0020d250: 5376 342d 322e 320a 2020 2d20 5043 492d  Sv4-2.2.  - PCI-
│ │ │ +0020d260: 4453 5376 342d 322e 322e 360a 2020 2d20  DSSv4-2.2.6.  - 
│ │ │ +0020d270: 636f 6e66 6967 7572 655f 7374 7261 7465  configure_strate
│ │ │ +0020d280: 6779 0a20 202d 2066 696c 655f 7065 726d  gy.  - file_perm
│ │ │ +0020d290: 6973 7369 6f6e 735f 7373 6864 5f70 7562  issions_sshd_pub
│ │ │ +0020d2a0: 5f6b 6579 0a20 202d 206c 6f77 5f63 6f6d  _key.  - low_com
│ │ │ +0020d2b0: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +0020d2c0: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ +0020d2d0: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ +0020d2e0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +0020d2f0: 6465 640a 0a2d 206e 616d 653a 2053 6574  ded..- name: Set
│ │ │ +0020d300: 2070 6572 6d69 7373 696f 6e73 2066 6f72   permissions for
│ │ │ +0020d310: 202f 6574 632f 7373 682f 2066 696c 6528   /etc/ssh/ file(
│ │ │ +0020d320: 7329 0a20 2066 696c 653a 0a20 2020 2070  s).  file:.    p
│ │ │ +0020d330: 6174 683a 2027 7b7b 2069 7465 6d20 7d7d  ath: '{{ item }}
│ │ │ +0020d340: 270a 2020 2020 6d6f 6465 3a20 752d 7873  '.    mode: u-xs
│ │ │ +0020d350: 2c67 2d78 7773 2c6f 2d78 7774 0a20 2020  ,g-xws,o-xwt.   
│ │ │ +0020d360: 2073 7461 7465 3a20 6669 6c65 0a20 2077   state: file.  w
│ │ │ +0020d370: 6974 685f 6974 656d 733a 0a20 202d 2027  ith_items:.  - '
│ │ │ +0020d380: 7b7b 2066 696c 6573 5f66 6f75 6e64 2e73  {{ files_found.s
│ │ │ +0020d390: 7464 6f75 745f 6c69 6e65 7320 7d7d 270a  tdout_lines }}'.
│ │ │ +0020d3a0: 2020 7768 656e 3a20 2722 6c69 6e75 782d    when: '"linux-
│ │ │ +0020d3b0: 6261 7365 2220 696e 2061 6e73 6962 6c65  base" in ansible
│ │ │ +0020d3c0: 5f66 6163 7473 2e70 6163 6b61 6765 7327  _facts.packages'
│ │ │ +0020d3d0: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ +0020d3e0: 542d 3830 302d 3137 312d 332e 312e 3133  T-800-171-3.1.13
│ │ │ +0020d3f0: 0a20 202d 204e 4953 542d 3830 302d 3137  .  - NIST-800-17
│ │ │ +0020d400: 312d 332e 3133 2e31 300a 2020 2d20 4e49  1-3.13.10.  - NI
│ │ │ +0020d410: 5354 2d38 3030 2d35 332d 4143 2d31 3728  ST-800-53-AC-17(
│ │ │ +0020d420: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ +0020d430: 3533 2d41 432d 3628 3129 0a20 202d 204e  53-AC-6(1).  - N
│ │ │ +0020d440: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ +0020d450: 6129 0a20 202d 2050 4349 2d44 5353 2d52  a).  - PCI-DSS-R
│ │ │ +0020d460: 6571 2d32 2e32 2e34 0a20 202d 2050 4349  eq-2.2.4.  - PCI
│ │ │ +0020d470: 2d44 5353 7634 2d32 2e32 0a20 202d 2050  -DSSv4-2.2.  - P
│ │ │ +0020d480: 4349 2d44 5353 7634 2d32 2e32 2e36 0a20  CI-DSSv4-2.2.6. 
│ │ │ +0020d490: 202d 2063 6f6e 6669 6775 7265 5f73 7472   - configure_str
│ │ │ +0020d4a0: 6174 6567 790a 2020 2d20 6669 6c65 5f70  ategy.  - file_p
│ │ │ +0020d4b0: 6572 6d69 7373 696f 6e73 5f73 7368 645f  ermissions_sshd_
│ │ │ +0020d4c0: 7075 625f 6b65 790a 2020 2d20 6c6f 775f  pub_key.  - low_
│ │ │ +0020d4d0: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ +0020d4e0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ +0020d4f0: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ +0020d500: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ +0020d510: 6e65 6564 6564 0a3c 2f63 6f64 653e 3c2f  needed.Remedi
│ │ │ +0020d5d0: 6174 696f 6e20 5075 7070 6574 2073 6e69  ation Puppet sni
│ │ │ +0020d5e0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e  ppet ...
│ │ │ +0020d5f0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
in
│ │ │ +0020d630: 636c 7564 6520 7373 685f 7075 626c 6963  clude ssh_public
│ │ │ +0020d640: 5f6b 6579 5f70 6572 6d73 0a0a 636c 6173  _key_perms..clas
│ │ │ +0020d650: 7320 7373 685f 7075 626c 6963 5f6b 6579  s ssh_public_key
│ │ │ +0020d660: 5f70 6572 6d73 207b 0a20 2065 7865 6320  _perms {.  exec 
│ │ │ +0020d670: 7b20 2773 7368 645f 7075 625f 6b65 7927  { 'sshd_pub_key'
│ │ │ +0020d680: 3a0a 2020 2020 636f 6d6d 616e 6420 3d26  :.    command =&
│ │ │ +0020d690: 6774 3b20 2263 686d 6f64 2030 3634 3420  gt; "chmod 0644 
│ │ │ +0020d6a0: 2f65 7463 2f73 7368 2f2a 2e70 7562 222c  /etc/ssh/*.pub",
│ │ │ +0020d6b0: 0a20 2020 2070 6174 6820 2020 203d 2667  .    path    =&g
│ │ │ +0020d6c0: 743b 2027 2f62 696e 3a2f 7573 722f 6269  t; '/bin:/usr/bi
│ │ │ +0020d6d0: 6e27 0a20 207d 0a7d 0a3c 2f63 6f64 653e  n'.  }.}.
│ │ │  0020d6e0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Remedia │ │ │ -0020f410: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ -0020f420: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -0020f430: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -0020f440: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -0020f450: 7365 2220 6964 3d22 6964 6d32 3838 3336 se" id="idm28836 │ │ │ -0020f460: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
│ │ │ +0020ce50: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +0020ce80: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +0020ce90: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +0020ced0: 793a 3c2f 7468 3e3c 7464 3e63 6f6e 6669 y:confi │ │ │ +0020cee0: 6775 7265 3c2f 7464 3e3c 2f74 723e 3c2f gure
Comp │ │ │ -0020f4b0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -0020f4c0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -0020f4e0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -0020f500: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -0020f510: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ -0020f550: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -0020f560: 6465 2072 656d 6f76 655f 7873 6572 7665  de remove_xserve
│ │ │ -0020f570: 722d 786f 7267 0a0a 636c 6173 7320 7265  r-xorg..class re
│ │ │ -0020f580: 6d6f 7665 5f78 7365 7276 6572 2d78 6f72  move_xserver-xor
│ │ │ -0020f590: 6720 7b0a 2020 7061 636b 6167 6520 7b20  g {.  package { 
│ │ │ -0020f5a0: 2778 7365 7276 6572 2d78 6f72 6727 3a0a  'xserver-xorg':.
│ │ │ -0020f5b0: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -0020f5c0: 2027 7075 7267 6564 272c 0a20 207d 0a7d   'purged',.  }.}
│ │ │ -0020f5d0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -0020f690: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -0020f6a0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -0020f720: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -0020f730: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -0020f740: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -0020f780: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -0020f790: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -0020f7b0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -0020f7c0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: E
│ │ │ -0020f7e0: 6e73 7572 6520 7873 6572 7665 722d 786f  nsure xserver-xo
│ │ │ -0020f7f0: 7267 2069 7320 7265 6d6f 7665 640a 2020  rg is removed.  
│ │ │ -0020f800: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ -0020f810: 653a 2078 7365 7276 6572 2d78 6f72 670a  e: xserver-xorg.
│ │ │ -0020f820: 2020 2020 7374 6174 653a 2061 6273 656e      state: absen
│ │ │ -0020f830: 740a 2020 7461 6773 3a0a 2020 2d20 4e49  t.  tags:.  - NI
│ │ │ -0020f840: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ -0020f850: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -0020f860: 332d 434d 2d37 2861 290a 2020 2d20 4e49  3-CM-7(a).  - NI
│ │ │ -0020f870: 5354 2d38 3030 2d35 332d 434d 2d37 2862  ST-800-53-CM-7(b
│ │ │ -0020f880: 290a 2020 2d20 6469 7361 626c 655f 7374  ).  - disable_st
│ │ │ -0020f890: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ -0020f8a0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ -0020f8b0: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ -0020f8c0: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ -0020f8d0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ -0020f8e0: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ -0020f8f0: 655f 786f 7267 2d78 3131 2d73 6572 7665  e_xorg-x11-serve
│ │ │ -0020f900: 722d 636f 6d6d 6f6e 5f72 656d 6f76 6564  r-common_removed
│ │ │ +0020f410: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69  tion Ansible sni
│ │ │ +0020f420: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e  ppet ...
│ │ │ +0020f430: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +0020f4b0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +0020f4e0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +0020f500: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +0020f510: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +0020f530: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +0020f540: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +0020f560: 6d65 3a20 456e 7375 7265 2078 7365 7276  me: Ensure xserv
│ │ │ +0020f570: 6572 2d78 6f72 6720 6973 2072 656d 6f76  er-xorg is remov
│ │ │ +0020f580: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ +0020f590: 2020 6e61 6d65 3a20 7873 6572 7665 722d    name: xserver-
│ │ │ +0020f5a0: 786f 7267 0a20 2020 2073 7461 7465 3a20  xorg.    state: 
│ │ │ +0020f5b0: 6162 7365 6e74 0a20 2074 6167 733a 0a20  absent.  tags:. 
│ │ │ +0020f5c0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +0020f5d0: 4d2d 3628 6129 0a20 202d 204e 4953 542d  M-6(a).  - NIST-
│ │ │ +0020f5e0: 3830 302d 3533 2d43 4d2d 3728 6129 0a20  800-53-CM-7(a). 
│ │ │ +0020f5f0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +0020f600: 4d2d 3728 6229 0a20 202d 2064 6973 6162  M-7(b).  - disab
│ │ │ +0020f610: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +0020f620: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +0020f630: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +0020f640: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ +0020f650: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +0020f660: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ +0020f670: 6163 6b61 6765 5f78 6f72 672d 7831 312d  ackage_xorg-x11-
│ │ │ +0020f680: 7365 7276 6572 2d63 6f6d 6d6f 6e5f 7265  server-common_re
│ │ │ +0020f690: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70  moved.

Remedia │ │ │ +0020f750: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ +0020f760: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +0020f770: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +0020f780: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +0020f790: 7365 2220 6964 3d22 6964 6d32 3838 3337 se" id="idm28837 │ │ │ +0020f7a0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ +0020f7f0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +0020f800: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +0020f820: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +0020f840: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +0020f850: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +0020f890: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +0020f8a0: 6465 2072 656d 6f76 655f 7873 6572 7665  de remove_xserve
│ │ │ +0020f8b0: 722d 786f 7267 0a0a 636c 6173 7320 7265  r-xorg..class re
│ │ │ +0020f8c0: 6d6f 7665 5f78 7365 7276 6572 2d78 6f72  move_xserver-xor
│ │ │ +0020f8d0: 6720 7b0a 2020 7061 636b 6167 6520 7b20  g {.  package { 
│ │ │ +0020f8e0: 2778 7365 7276 6572 2d78 6f72 6727 3a0a  'xserver-xorg':.
│ │ │ +0020f8f0: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +0020f900: 2027 7075 7267 6564 272c 0a20 207d 0a7d   'purged',.  }.}
│ │ │  0020f910: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
│ │ │ -004090b0: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu │ │ │ -004090c0: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn │ │ │ -004090d0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.
│ │ │ -00409120: 5b5b 7061 636b 6167 6573 5d5d 0a6e 616d  [[packages]].nam
│ │ │ -00409130: 6520 3d20 2261 7564 6974 6422 0a76 6572  e = "auditd".ver
│ │ │ -00409140: 7369 6f6e 203d 2022 2a22 0a3c 2f63 6f64  sion = "*".
Re │ │ │ -00409200: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -00409210: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -00409220: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -004092f0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -00409300: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
i
│ │ │ -00409350: 6e63 6c75 6465 2069 6e73 7461 6c6c 5f61  nclude install_a
│ │ │ -00409360: 7564 6974 640a 0a63 6c61 7373 2069 6e73  uditd..class ins
│ │ │ -00409370: 7461 6c6c 5f61 7564 6974 6420 7b0a 2020  tall_auditd {.  
│ │ │ -00409380: 7061 636b 6167 6520 7b20 2761 7564 6974  package { 'audit
│ │ │ -00409390: 6427 3a0a 2020 2020 656e 7375 7265 203d  d':.    ensure =
│ │ │ -004093a0: 2667 743b 2027 696e 7374 616c 6c65 6427  > 'installed'
│ │ │ -004093b0: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ -004093c0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remed
│ │ │ -00409470: 6961 7469 6f6e 2041 6e73 6962 6c65 2073  iation Ansible s
│ │ │ -00409480: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62  nippet ...
Complexity:low
Disrup │ │ │ -004092d0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -004092e0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -00409320: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ -00409330: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ -00409520: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -00409530: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -00409580: 3c74 723e 3c74 683e 5374 7261 7465 6779
- n
│ │ │ -004095c0: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ -004095d0: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ -004095e0: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ -004095f0: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ -00409600: 0a20 2074 6167 733a 0a20 202d 2044 4953  .  tags:.  - DIS
│ │ │ -00409610: 412d 5354 4947 2d55 4254 552d 3230 2d30  A-STIG-UBTU-20-0
│ │ │ -00409620: 3130 3138 320a 2020 2d20 4e49 5354 2d38  10182.  - NIST-8
│ │ │ -00409630: 3030 2d35 332d 4143 2d37 2861 290a 2020  00-53-AC-7(a).  
│ │ │ -00409640: 2d20 4e49 5354 2d38 3030 2d35 332d 4155  - NIST-800-53-AU
│ │ │ -00409650: 2d31 3228 3229 0a20 202d 204e 4953 542d  -12(2).  - NIST-
│ │ │ -00409660: 3830 302d 3533 2d41 552d 3134 0a20 202d  800-53-AU-14.  -
│ │ │ -00409670: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ -00409680: 3228 6129 0a20 202d 204e 4953 542d 3830  2(a).  - NIST-80
│ │ │ -00409690: 302d 3533 2d41 552d 3728 3129 0a20 202d  0-53-AU-7(1).  -
│ │ │ -004096a0: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ -004096b0: 3728 3229 0a20 202d 204e 4953 542d 3830  7(2).  - NIST-80
│ │ │ -004096c0: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ -004096d0: 2050 4349 2d44 5353 2d52 6571 2d31 302e   PCI-DSS-Req-10.
│ │ │ -004096e0: 310a 2020 2d20 5043 492d 4453 5376 342d  1.  - PCI-DSSv4-
│ │ │ -004096f0: 3130 2e32 0a20 202d 2050 4349 2d44 5353  10.2.  - PCI-DSS
│ │ │ -00409700: 7634 2d31 302e 322e 310a 2020 2d20 656e  v4-10.2.1.  - en
│ │ │ -00409710: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -00409720: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -00409730: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -00409740: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ -00409750: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ -00409760: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -00409770: 2070 6163 6b61 6765 5f61 7564 6974 5f69   package_audit_i
│ │ │ -00409780: 6e73 7461 6c6c 6564 0a0a 2d20 6e61 6d65  nstalled..- name
│ │ │ -00409790: 3a20 456e 7375 7265 2061 7564 6974 6420  : Ensure auditd 
│ │ │ -004097a0: 6973 2069 6e73 7461 6c6c 6564 0a20 2070  is installed.  p
│ │ │ -004097b0: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65  ackage:.    name
│ │ │ -004097c0: 3a20 6175 6469 7464 0a20 2020 2073 7461  : auditd.    sta
│ │ │ -004097d0: 7465 3a20 7072 6573 656e 740a 2020 7768  te: present.  wh
│ │ │ -004097e0: 656e 3a20 2722 6c69 6e75 782d 6261 7365  en: '"linux-base
│ │ │ -004097f0: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ -00409800: 7473 2e70 6163 6b61 6765 7327 0a20 2074  ts.packages'.  t
│ │ │ -00409810: 6167 733a 0a20 202d 2044 4953 412d 5354  ags:.  - DISA-ST
│ │ │ -00409820: 4947 2d55 4254 552d 3230 2d30 3130 3138  IG-UBTU-20-01018
│ │ │ -00409830: 320a 2020 2d20 4e49 5354 2d38 3030 2d35  2.  - NIST-800-5
│ │ │ -00409840: 332d 4143 2d37 2861 290a 2020 2d20 4e49  3-AC-7(a).  - NI
│ │ │ -00409850: 5354 2d38 3030 2d35 332d 4155 2d31 3228  ST-800-53-AU-12(
│ │ │ -00409860: 3229 0a20 202d 204e 4953 542d 3830 302d  2).  - NIST-800-
│ │ │ -00409870: 3533 2d41 552d 3134 0a20 202d 204e 4953  53-AU-14.  - NIS
│ │ │ -00409880: 542d 3830 302d 3533 2d41 552d 3228 6129  T-800-53-AU-2(a)
│ │ │ -00409890: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -004098a0: 2d41 552d 3728 3129 0a20 202d 204e 4953  -AU-7(1).  - NIS
│ │ │ -004098b0: 542d 3830 302d 3533 2d41 552d 3728 3229  T-800-53-AU-7(2)
│ │ │ -004098c0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -004098d0: 2d43 4d2d 3628 6129 0a20 202d 2050 4349  -CM-6(a).  - PCI
│ │ │ -004098e0: 2d44 5353 2d52 6571 2d31 302e 310a 2020  -DSS-Req-10.1.  
│ │ │ -004098f0: 2d20 5043 492d 4453 5376 342d 3130 2e32  - PCI-DSSv4-10.2
│ │ │ -00409900: 0a20 202d 2050 4349 2d44 5353 7634 2d31  .  - PCI-DSSv4-1
│ │ │ -00409910: 302e 322e 310a 2020 2d20 656e 6162 6c65  0.2.1.  - enable
│ │ │ -00409920: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ -00409930: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -00409940: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -00409950: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ -00409960: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ -00409970: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ -00409980: 6b61 6765 5f61 7564 6974 5f69 6e73 7461  kage_audit_insta
│ │ │ -00409990: 6c6c 6564 0a3c 2f63 6f64 653e 3c2f 7072  lled.
C │ │ │ -00409510: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -00409540: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -00409550: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -00409590: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ -004095a0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
│ │ │ +00409150: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +00409170: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +004091c0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ +004091f0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Gather
│ │ │ +00409210: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ +00409220: 7473 0a20 2070 6163 6b61 6765 5f66 6163  ts.  package_fac
│ │ │ +00409230: 7473 3a0a 2020 2020 6d61 6e61 6765 723a  ts:.    manager:
│ │ │ +00409240: 2061 7574 6f0a 2020 7461 6773 3a0a 2020   auto.  tags:.  
│ │ │ +00409250: 2d20 4449 5341 2d53 5449 472d 5542 5455  - DISA-STIG-UBTU
│ │ │ +00409260: 2d32 302d 3031 3031 3832 0a20 202d 204e  -20-010182.  - N
│ │ │ +00409270: 4953 542d 3830 302d 3533 2d41 432d 3728  IST-800-53-AC-7(
│ │ │ +00409280: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ +00409290: 3533 2d41 552d 3132 2832 290a 2020 2d20  53-AU-12(2).  - 
│ │ │ +004092a0: 4e49 5354 2d38 3030 2d35 332d 4155 2d31  NIST-800-53-AU-1
│ │ │ +004092b0: 340a 2020 2d20 4e49 5354 2d38 3030 2d35  4.  - NIST-800-5
│ │ │ +004092c0: 332d 4155 2d32 2861 290a 2020 2d20 4e49  3-AU-2(a).  - NI
│ │ │ +004092d0: 5354 2d38 3030 2d35 332d 4155 2d37 2831  ST-800-53-AU-7(1
│ │ │ +004092e0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +004092f0: 332d 4155 2d37 2832 290a 2020 2d20 4e49  3-AU-7(2).  - NI
│ │ │ +00409300: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +00409310: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ +00409320: 712d 3130 2e31 0a20 202d 2050 4349 2d44  q-10.1.  - PCI-D
│ │ │ +00409330: 5353 7634 2d31 302e 320a 2020 2d20 5043  SSv4-10.2.  - PC
│ │ │ +00409340: 492d 4453 5376 342d 3130 2e32 2e31 0a20  I-DSSv4-10.2.1. 
│ │ │ +00409350: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ +00409360: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +00409370: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +00409380: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +00409390: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +004093a0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +004093b0: 640a 2020 2d20 7061 636b 6167 655f 6175  d.  - package_au
│ │ │ +004093c0: 6469 745f 696e 7374 616c 6c65 640a 0a2d  dit_installed..-
│ │ │ +004093d0: 206e 616d 653a 2045 6e73 7572 6520 6175   name: Ensure au
│ │ │ +004093e0: 6469 7464 2069 7320 696e 7374 616c 6c65  ditd is installe
│ │ │ +004093f0: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ +00409400: 206e 616d 653a 2061 7564 6974 640a 2020   name: auditd.  
│ │ │ +00409410: 2020 7374 6174 653a 2070 7265 7365 6e74    state: present
│ │ │ +00409420: 0a20 2077 6865 6e3a 2027 226c 696e 7578  .  when: '"linux
│ │ │ +00409430: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ +00409440: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +00409450: 270a 2020 7461 6773 3a0a 2020 2d20 4449  '.  tags:.  - DI
│ │ │ +00409460: 5341 2d53 5449 472d 5542 5455 2d32 302d  SA-STIG-UBTU-20-
│ │ │ +00409470: 3031 3031 3832 0a20 202d 204e 4953 542d  010182.  - NIST-
│ │ │ +00409480: 3830 302d 3533 2d41 432d 3728 6129 0a20  800-53-AC-7(a). 
│ │ │ +00409490: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ +004094a0: 552d 3132 2832 290a 2020 2d20 4e49 5354  U-12(2).  - NIST
│ │ │ +004094b0: 2d38 3030 2d35 332d 4155 2d31 340a 2020  -800-53-AU-14.  
│ │ │ +004094c0: 2d20 4e49 5354 2d38 3030 2d35 332d 4155  - NIST-800-53-AU
│ │ │ +004094d0: 2d32 2861 290a 2020 2d20 4e49 5354 2d38  -2(a).  - NIST-8
│ │ │ +004094e0: 3030 2d35 332d 4155 2d37 2831 290a 2020  00-53-AU-7(1).  
│ │ │ +004094f0: 2d20 4e49 5354 2d38 3030 2d35 332d 4155  - NIST-800-53-AU
│ │ │ +00409500: 2d37 2832 290a 2020 2d20 4e49 5354 2d38  -7(2).  - NIST-8
│ │ │ +00409510: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ +00409520: 2d20 5043 492d 4453 532d 5265 712d 3130  - PCI-DSS-Req-10
│ │ │ +00409530: 2e31 0a20 202d 2050 4349 2d44 5353 7634  .1.  - PCI-DSSv4
│ │ │ +00409540: 2d31 302e 320a 2020 2d20 5043 492d 4453  -10.2.  - PCI-DS
│ │ │ +00409550: 5376 342d 3130 2e32 2e31 0a20 202d 2065  Sv4-10.2.1.  - e
│ │ │ +00409560: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ +00409570: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +00409580: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +00409590: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +004095a0: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +004095b0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +004095c0: 2d20 7061 636b 6167 655f 6175 6469 745f  - package_audit_
│ │ │ +004095d0: 696e 7374 616c 6c65 640a 3c2f 636f 6465  installed.
Rem │ │ │ +00409690: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ +004096a0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +004096b0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
Complexity:< │ │ │ +00409160: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +00409180: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +004091d0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ +004091e0: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
│ │ │ +00409740: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
in
│ │ │ +004097e0: 636c 7564 6520 696e 7374 616c 6c5f 6175  clude install_au
│ │ │ +004097f0: 6469 7464 0a0a 636c 6173 7320 696e 7374  ditd..class inst
│ │ │ +00409800: 616c 6c5f 6175 6469 7464 207b 0a20 2070  all_auditd {.  p
│ │ │ +00409810: 6163 6b61 6765 207b 2027 6175 6469 7464  ackage { 'auditd
│ │ │ +00409820: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ +00409830: 6774 3b20 2769 6e73 7461 6c6c 6564 272c  gt; 'installed',
│ │ │ +00409840: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.Remedi
│ │ │ +00409900: 6174 696f 6e20 4f53 4275 696c 6420 426c  ation OSBuild Bl
│ │ │ +00409910: 7565 7072 696e 7420 736e 6970 7065 7420  ueprint snippet 
│ │ │ +00409920: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620  ...

.[[pack │ │ │ +00409970: 6167 6573 5d5d 0a6e 616d 6520 3d20 2261 ages]].name = "a │ │ │ +00409980: 7564 6974 6422 0a76 6572 7369 6f6e 203d uditd".version = │ │ │ +00409990: 2022 2a22 0a3c 2f63 6f64 653e 3c2f 7072 "*".

R │ │ │ -0040b850: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui │ │ │ -0040b860: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni │ │ │ -0040b870: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -0040b880: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
.[
│ │ │ -0040b8c0: 6375 7374 6f6d 697a 6174 696f 6e73 2e73  customizations.s
│ │ │ -0040b8d0: 6572 7669 6365 735d 0a65 6e61 626c 6564  ervices].enabled
│ │ │ -0040b8e0: 203d 205b 2261 7564 6974 6422 5d0a 3c2f   = ["auditd"].
Remediation Pup │ │ │ -0040b9b0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ -0040b9c0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ +00409730: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +00409760: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +00409770: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +004097b0: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ +004097c0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
│ │ │ -0040ba40: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -0040ba60: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -0040bab0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ -0040bae0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include enable
│ │ │ -0040bb00: 5f61 7564 6974 640a 0a63 6c61 7373 2065  _auditd..class e
│ │ │ -0040bb10: 6e61 626c 655f 6175 6469 7464 207b 0a20  nable_auditd {. 
│ │ │ -0040bb20: 2073 6572 7669 6365 207b 2761 7564 6974   service {'audit
│ │ │ -0040bb30: 6427 3a0a 2020 2020 656e 6162 6c65 203d  d':.    enable =
│ │ │ -0040bb40: 2667 743b 2074 7275 652c 0a20 2020 2065  > true,.    e
│ │ │ -0040bb50: 6e73 7572 6520 3d26 6774 3b20 2772 756e  nsure => 'run
│ │ │ -0040bb60: 6e69 6e67 272c 0a20 207d 0a7d 0a3c 2f63  ning',.  }.}.
│ │ │ -0040bb80: 3c61 2063 6c61 7373 3d22 6274 6e20 6274
│ │ │ -0040bc20: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi │ │ │ -0040bc30: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...< │ │ │ -0040bc40: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity:< │ │ │ -0040ba50: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -0040ba70: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -0040bac0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ -0040bad0: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
│ │ │ -0040bcc0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -0040bce0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -0040bd30: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ -0040bd60: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Gather
│ │ │ -0040bd80: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ -0040bd90: 7473 0a20 2070 6163 6b61 6765 5f66 6163  ts.  package_fac
│ │ │ -0040bda0: 7473 3a0a 2020 2020 6d61 6e61 6765 723a  ts:.    manager:
│ │ │ -0040bdb0: 2061 7574 6f0a 2020 7461 6773 3a0a 2020   auto.  tags:.  
│ │ │ -0040bdc0: 2d20 434a 4953 2d35 2e34 2e31 2e31 0a20  - CJIS-5.4.1.1. 
│ │ │ -0040bdd0: 202d 2044 4953 412d 5354 4947 2d55 4254   - DISA-STIG-UBT
│ │ │ -0040bde0: 552d 3230 2d30 3130 3138 320a 2020 2d20  U-20-010182.  - 
│ │ │ -0040bdf0: 4e49 5354 2d38 3030 2d31 3731 2d33 2e33  NIST-800-171-3.3
│ │ │ -0040be00: 2e31 0a20 202d 204e 4953 542d 3830 302d  .1.  - NIST-800-
│ │ │ -0040be10: 3137 312d 332e 332e 320a 2020 2d20 4e49  171-3.3.2.  - NI
│ │ │ -0040be20: 5354 2d38 3030 2d31 3731 2d33 2e33 2e36  ST-800-171-3.3.6
│ │ │ -0040be30: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -0040be40: 2d41 432d 3228 6729 0a20 202d 204e 4953  -AC-2(g).  - NIS
│ │ │ -0040be50: 542d 3830 302d 3533 2d41 432d 3628 3929  T-800-53-AC-6(9)
│ │ │ -0040be60: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -0040be70: 2d41 552d 3130 0a20 202d 204e 4953 542d  -AU-10.  - NIST-
│ │ │ -0040be80: 3830 302d 3533 2d41 552d 3132 2863 290a  800-53-AU-12(c).
│ │ │ -0040be90: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -0040bea0: 4155 2d31 3428 3129 0a20 202d 204e 4953  AU-14(1).  - NIS
│ │ │ -0040beb0: 542d 3830 302d 3533 2d41 552d 3228 6429  T-800-53-AU-2(d)
│ │ │ -0040bec0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -0040bed0: 2d41 552d 330a 2020 2d20 4e49 5354 2d38  -AU-3.  - NIST-8
│ │ │ -0040bee0: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ -0040bef0: 2d20 4e49 5354 2d38 3030 2d35 332d 5349  - NIST-800-53-SI
│ │ │ -0040bf00: 2d34 2832 3329 0a20 202d 2050 4349 2d44  -4(23).  - PCI-D
│ │ │ -0040bf10: 5353 2d52 6571 2d31 302e 310a 2020 2d20  SS-Req-10.1.  - 
│ │ │ -0040bf20: 5043 492d 4453 5376 342d 3130 2e32 0a20  PCI-DSSv4-10.2. 
│ │ │ -0040bf30: 202d 2050 4349 2d44 5353 7634 2d31 302e   - PCI-DSSv4-10.
│ │ │ -0040bf40: 322e 310a 2020 2d20 656e 6162 6c65 5f73  2.1.  - enable_s
│ │ │ -0040bf50: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ -0040bf60: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -0040bf70: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -0040bf80: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ -0040bf90: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ -0040bfa0: 6e65 6564 6564 0a20 202d 2073 6572 7669  needed.  - servi
│ │ │ -0040bfb0: 6365 5f61 7564 6974 645f 656e 6162 6c65  ce_auditd_enable
│ │ │ -0040bfc0: 640a 0a2d 206e 616d 653a 2045 6e61 626c  d..- name: Enabl
│ │ │ -0040bfd0: 6520 6175 6469 7464 2053 6572 7669 6365  e auditd Service
│ │ │ -0040bfe0: 202d 2045 6e61 626c 6520 7365 7276 6963   - Enable servic
│ │ │ -0040bff0: 6520 6175 6469 7464 0a20 2062 6c6f 636b  e auditd.  block
│ │ │ -0040c000: 3a0a 0a20 202d 206e 616d 653a 2047 6174  :..  - name: Gat
│ │ │ -0040c010: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ -0040c020: 6661 6374 730a 2020 2020 7061 636b 6167  facts.    packag
│ │ │ -0040c030: 655f 6661 6374 733a 0a20 2020 2020 206d  e_facts:.      m
│ │ │ -0040c040: 616e 6167 6572 3a20 6175 746f 0a0a 2020  anager: auto..  
│ │ │ -0040c050: 2d20 6e61 6d65 3a20 456e 6162 6c65 2061  - name: Enable a
│ │ │ -0040c060: 7564 6974 6420 5365 7276 6963 6520 2d20  uditd Service - 
│ │ │ -0040c070: 456e 6162 6c65 2053 6572 7669 6365 2061  Enable Service a
│ │ │ -0040c080: 7564 6974 640a 2020 2020 616e 7369 626c  uditd.    ansibl
│ │ │ -0040c090: 652e 6275 696c 7469 6e2e 7379 7374 656d  e.builtin.system
│ │ │ -0040c0a0: 643a 0a20 2020 2020 206e 616d 653a 2061  d:.      name: a
│ │ │ -0040c0b0: 7564 6974 640a 2020 2020 2020 656e 6162  uditd.      enab
│ │ │ -0040c0c0: 6c65 643a 2074 7275 650a 2020 2020 2020  led: true.      
│ │ │ -0040c0d0: 7374 6174 653a 2073 7461 7274 6564 0a20  state: started. 
│ │ │ -0040c0e0: 2020 2020 206d 6173 6b65 643a 2066 616c       masked: fal
│ │ │ -0040c0f0: 7365 0a20 2020 2077 6865 6e3a 0a20 2020  se.    when:.   
│ │ │ -0040c100: 202d 2027 2261 7564 6974 6422 2069 6e20   - '"auditd" in 
│ │ │ -0040c110: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -0040c120: 636b 6167 6573 270a 2020 7768 656e 3a0a  ckages'.  when:.
│ │ │ -0040c130: 2020 2d20 2722 6c69 6e75 782d 6261 7365    - '"linux-base
│ │ │ -0040c140: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ -0040c150: 7473 2e70 6163 6b61 6765 7327 0a20 202d  ts.packages'.  -
│ │ │ -0040c160: 2027 2261 7564 6974 6422 2069 6e20 616e   '"auditd" in an
│ │ │ -0040c170: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ -0040c180: 6167 6573 270a 2020 7461 6773 3a0a 2020  ages'.  tags:.  
│ │ │ -0040c190: 2d20 434a 4953 2d35 2e34 2e31 2e31 0a20  - CJIS-5.4.1.1. 
│ │ │ -0040c1a0: 202d 2044 4953 412d 5354 4947 2d55 4254   - DISA-STIG-UBT
│ │ │ -0040c1b0: 552d 3230 2d30 3130 3138 320a 2020 2d20  U-20-010182.  - 
│ │ │ -0040c1c0: 4e49 5354 2d38 3030 2d31 3731 2d33 2e33  NIST-800-171-3.3
│ │ │ -0040c1d0: 2e31 0a20 202d 204e 4953 542d 3830 302d  .1.  - NIST-800-
│ │ │ -0040c1e0: 3137 312d 332e 332e 320a 2020 2d20 4e49  171-3.3.2.  - NI
│ │ │ -0040c1f0: 5354 2d38 3030 2d31 3731 2d33 2e33 2e36  ST-800-171-3.3.6
│ │ │ -0040c200: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -0040c210: 2d41 432d 3228 6729 0a20 202d 204e 4953  -AC-2(g).  - NIS
│ │ │ -0040c220: 542d 3830 302d 3533 2d41 432d 3628 3929  T-800-53-AC-6(9)
│ │ │ -0040c230: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -0040c240: 2d41 552d 3130 0a20 202d 204e 4953 542d  -AU-10.  - NIST-
│ │ │ -0040c250: 3830 302d 3533 2d41 552d 3132 2863 290a  800-53-AU-12(c).
│ │ │ -0040c260: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -0040c270: 4155 2d31 3428 3129 0a20 202d 204e 4953  AU-14(1).  - NIS
│ │ │ -0040c280: 542d 3830 302d 3533 2d41 552d 3228 6429  T-800-53-AU-2(d)
│ │ │ -0040c290: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -0040c2a0: 2d41 552d 330a 2020 2d20 4e49 5354 2d38  -AU-3.  - NIST-8
│ │ │ -0040c2b0: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ -0040c2c0: 2d20 4e49 5354 2d38 3030 2d35 332d 5349  - NIST-800-53-SI
│ │ │ -0040c2d0: 2d34 2832 3329 0a20 202d 2050 4349 2d44  -4(23).  - PCI-D
│ │ │ -0040c2e0: 5353 2d52 6571 2d31 302e 310a 2020 2d20  SS-Req-10.1.  - 
│ │ │ -0040c2f0: 5043 492d 4453 5376 342d 3130 2e32 0a20  PCI-DSSv4-10.2. 
│ │ │ -0040c300: 202d 2050 4349 2d44 5353 7634 2d31 302e   - PCI-DSSv4-10.
│ │ │ -0040c310: 322e 310a 2020 2d20 656e 6162 6c65 5f73  2.1.  - enable_s
│ │ │ -0040c320: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ -0040c330: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -0040c340: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -0040c350: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ -0040c360: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ -0040c370: 6e65 6564 6564 0a20 202d 2073 6572 7669  needed.  - servi
│ │ │ -0040c380: 6365 5f61 7564 6974 645f 656e 6162 6c65  ce_auditd_enable
│ │ │ -0040c390: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +0040b850: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ +0040b860: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
Complexity:< │ │ │ -0040bcd0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -0040bcf0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -0040bd40: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ -0040bd50: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
< │ │ │ +0040b8f0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +0040b910: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +0040b960: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
- name: Gather 
│ │ │ +0040b9b0: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ +0040b9c0: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ +0040b9d0: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ +0040b9e0: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ +0040b9f0: 2043 4a49 532d 352e 342e 312e 310a 2020   CJIS-5.4.1.1.  
│ │ │ +0040ba00: 2d20 4449 5341 2d53 5449 472d 5542 5455  - DISA-STIG-UBTU
│ │ │ +0040ba10: 2d32 302d 3031 3031 3832 0a20 202d 204e  -20-010182.  - N
│ │ │ +0040ba20: 4953 542d 3830 302d 3137 312d 332e 332e  IST-800-171-3.3.
│ │ │ +0040ba30: 310a 2020 2d20 4e49 5354 2d38 3030 2d31  1.  - NIST-800-1
│ │ │ +0040ba40: 3731 2d33 2e33 2e32 0a20 202d 204e 4953  71-3.3.2.  - NIS
│ │ │ +0040ba50: 542d 3830 302d 3137 312d 332e 332e 360a  T-800-171-3.3.6.
│ │ │ +0040ba60: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +0040ba70: 4143 2d32 2867 290a 2020 2d20 4e49 5354  AC-2(g).  - NIST
│ │ │ +0040ba80: 2d38 3030 2d35 332d 4143 2d36 2839 290a  -800-53-AC-6(9).
│ │ │ +0040ba90: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +0040baa0: 4155 2d31 300a 2020 2d20 4e49 5354 2d38  AU-10.  - NIST-8
│ │ │ +0040bab0: 3030 2d35 332d 4155 2d31 3228 6329 0a20  00-53-AU-12(c). 
│ │ │ +0040bac0: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ +0040bad0: 552d 3134 2831 290a 2020 2d20 4e49 5354  U-14(1).  - NIST
│ │ │ +0040bae0: 2d38 3030 2d35 332d 4155 2d32 2864 290a  -800-53-AU-2(d).
│ │ │ +0040baf0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +0040bb00: 4155 2d33 0a20 202d 204e 4953 542d 3830  AU-3.  - NIST-80
│ │ │ +0040bb10: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ +0040bb20: 204e 4953 542d 3830 302d 3533 2d53 492d   NIST-800-53-SI-
│ │ │ +0040bb30: 3428 3233 290a 2020 2d20 5043 492d 4453  4(23).  - PCI-DS
│ │ │ +0040bb40: 532d 5265 712d 3130 2e31 0a20 202d 2050  S-Req-10.1.  - P
│ │ │ +0040bb50: 4349 2d44 5353 7634 2d31 302e 320a 2020  CI-DSSv4-10.2.  
│ │ │ +0040bb60: 2d20 5043 492d 4453 5376 342d 3130 2e32  - PCI-DSSv4-10.2
│ │ │ +0040bb70: 2e31 0a20 202d 2065 6e61 626c 655f 7374  .1.  - enable_st
│ │ │ +0040bb80: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +0040bb90: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +0040bba0: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +0040bbb0: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ +0040bbc0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +0040bbd0: 6565 6465 640a 2020 2d20 7365 7276 6963  eeded.  - servic
│ │ │ +0040bbe0: 655f 6175 6469 7464 5f65 6e61 626c 6564  e_auditd_enabled
│ │ │ +0040bbf0: 0a0a 2d20 6e61 6d65 3a20 456e 6162 6c65  ..- name: Enable
│ │ │ +0040bc00: 2061 7564 6974 6420 5365 7276 6963 6520   auditd Service 
│ │ │ +0040bc10: 2d20 456e 6162 6c65 2073 6572 7669 6365  - Enable service
│ │ │ +0040bc20: 2061 7564 6974 640a 2020 626c 6f63 6b3a   auditd.  block:
│ │ │ +0040bc30: 0a0a 2020 2d20 6e61 6d65 3a20 4761 7468  ..  - name: Gath
│ │ │ +0040bc40: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ +0040bc50: 6163 7473 0a20 2020 2070 6163 6b61 6765  acts.    package
│ │ │ +0040bc60: 5f66 6163 7473 3a0a 2020 2020 2020 6d61  _facts:.      ma
│ │ │ +0040bc70: 6e61 6765 723a 2061 7574 6f0a 0a20 202d  nager: auto..  -
│ │ │ +0040bc80: 206e 616d 653a 2045 6e61 626c 6520 6175   name: Enable au
│ │ │ +0040bc90: 6469 7464 2053 6572 7669 6365 202d 2045  ditd Service - E
│ │ │ +0040bca0: 6e61 626c 6520 5365 7276 6963 6520 6175  nable Service au
│ │ │ +0040bcb0: 6469 7464 0a20 2020 2061 6e73 6962 6c65  ditd.    ansible
│ │ │ +0040bcc0: 2e62 7569 6c74 696e 2e73 7973 7465 6d64  .builtin.systemd
│ │ │ +0040bcd0: 3a0a 2020 2020 2020 6e61 6d65 3a20 6175  :.      name: au
│ │ │ +0040bce0: 6469 7464 0a20 2020 2020 2065 6e61 626c  ditd.      enabl
│ │ │ +0040bcf0: 6564 3a20 7472 7565 0a20 2020 2020 2073  ed: true.      s
│ │ │ +0040bd00: 7461 7465 3a20 7374 6172 7465 640a 2020  tate: started.  
│ │ │ +0040bd10: 2020 2020 6d61 736b 6564 3a20 6661 6c73      masked: fals
│ │ │ +0040bd20: 650a 2020 2020 7768 656e 3a0a 2020 2020  e.    when:.    
│ │ │ +0040bd30: 2d20 2722 6175 6469 7464 2220 696e 2061  - '"auditd" in a
│ │ │ +0040bd40: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +0040bd50: 6b61 6765 7327 0a20 2077 6865 6e3a 0a20  kages'.  when:. 
│ │ │ +0040bd60: 202d 2027 226c 696e 7578 2d62 6173 6522   - '"linux-base"
│ │ │ +0040bd70: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ +0040bd80: 732e 7061 636b 6167 6573 270a 2020 2d20  s.packages'.  - 
│ │ │ +0040bd90: 2722 6175 6469 7464 2220 696e 2061 6e73  '"auditd" in ans
│ │ │ +0040bda0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ +0040bdb0: 6765 7327 0a20 2074 6167 733a 0a20 202d  ges'.  tags:.  -
│ │ │ +0040bdc0: 2043 4a49 532d 352e 342e 312e 310a 2020   CJIS-5.4.1.1.  
│ │ │ +0040bdd0: 2d20 4449 5341 2d53 5449 472d 5542 5455  - DISA-STIG-UBTU
│ │ │ +0040bde0: 2d32 302d 3031 3031 3832 0a20 202d 204e  -20-010182.  - N
│ │ │ +0040bdf0: 4953 542d 3830 302d 3137 312d 332e 332e  IST-800-171-3.3.
│ │ │ +0040be00: 310a 2020 2d20 4e49 5354 2d38 3030 2d31  1.  - NIST-800-1
│ │ │ +0040be10: 3731 2d33 2e33 2e32 0a20 202d 204e 4953  71-3.3.2.  - NIS
│ │ │ +0040be20: 542d 3830 302d 3137 312d 332e 332e 360a  T-800-171-3.3.6.
│ │ │ +0040be30: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +0040be40: 4143 2d32 2867 290a 2020 2d20 4e49 5354  AC-2(g).  - NIST
│ │ │ +0040be50: 2d38 3030 2d35 332d 4143 2d36 2839 290a  -800-53-AC-6(9).
│ │ │ +0040be60: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +0040be70: 4155 2d31 300a 2020 2d20 4e49 5354 2d38  AU-10.  - NIST-8
│ │ │ +0040be80: 3030 2d35 332d 4155 2d31 3228 6329 0a20  00-53-AU-12(c). 
│ │ │ +0040be90: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ +0040bea0: 552d 3134 2831 290a 2020 2d20 4e49 5354  U-14(1).  - NIST
│ │ │ +0040beb0: 2d38 3030 2d35 332d 4155 2d32 2864 290a  -800-53-AU-2(d).
│ │ │ +0040bec0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +0040bed0: 4155 2d33 0a20 202d 204e 4953 542d 3830  AU-3.  - NIST-80
│ │ │ +0040bee0: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ +0040bef0: 204e 4953 542d 3830 302d 3533 2d53 492d   NIST-800-53-SI-
│ │ │ +0040bf00: 3428 3233 290a 2020 2d20 5043 492d 4453  4(23).  - PCI-DS
│ │ │ +0040bf10: 532d 5265 712d 3130 2e31 0a20 202d 2050  S-Req-10.1.  - P
│ │ │ +0040bf20: 4349 2d44 5353 7634 2d31 302e 320a 2020  CI-DSSv4-10.2.  
│ │ │ +0040bf30: 2d20 5043 492d 4453 5376 342d 3130 2e32  - PCI-DSSv4-10.2
│ │ │ +0040bf40: 2e31 0a20 202d 2065 6e61 626c 655f 7374  .1.  - enable_st
│ │ │ +0040bf50: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +0040bf60: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +0040bf70: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +0040bf80: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ +0040bf90: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +0040bfa0: 6565 6465 640a 2020 2d20 7365 7276 6963  eeded.  - servic
│ │ │ +0040bfb0: 655f 6175 6469 7464 5f65 6e61 626c 6564  e_auditd_enabled
│ │ │ +0040bfc0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +0040c080: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +0040c090: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ +0040c110: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ +0040c150: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 enable
low
Disr │ │ │ +0040b920: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +0040b930: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +0040b970: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ +0040b980: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complexit │ │ │ +0040c120: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ +0040c140: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ +0040c170: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +0040c190: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
<
│ │ │ +0040c1c0: 636f 6465 3e69 6e63 6c75 6465 2065 6e61  code>include ena
│ │ │ +0040c1d0: 626c 655f 6175 6469 7464 0a0a 636c 6173  ble_auditd..clas
│ │ │ +0040c1e0: 7320 656e 6162 6c65 5f61 7564 6974 6420  s enable_auditd 
│ │ │ +0040c1f0: 7b0a 2020 7365 7276 6963 6520 7b27 6175  {.  service {'au
│ │ │ +0040c200: 6469 7464 273a 0a20 2020 2065 6e61 626c  ditd':.    enabl
│ │ │ +0040c210: 6520 3d26 6774 3b20 7472 7565 2c0a 2020  e => true,.  
│ │ │ +0040c220: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ +0040c230: 7275 6e6e 696e 6727 2c0a 2020 7d0a 7d0a  running',.  }.}.
│ │ │ +0040c240: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation O │ │ │ +0040c300: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint │ │ │ +0040c310: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +0040c320: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.[customizatio
│ │ │ +0040c370: 6e73 2e73 6572 7669 6365 735d 0a65 6e61  ns.services].ena
│ │ │ +0040c380: 626c 6564 203d 205b 2261 7564 6974 6422  bled = ["auditd"
│ │ │ +0040c390: 5d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  ].
< │ │ │ 0040c3a0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div> 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -179,14 +162,31 @@ │ │ │ │ - PCI-DSSv4-11.5.2 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_aide_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_aide │ │ │ │ + │ │ │ │ +class install_aide { │ │ │ │ + package { 'aide': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "aide" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -639,26 +639,14 @@ │ │ │ │ $ apt-get remove prelink │ │ │ │ The use of the prelink package can interfere with the operation of AIDE since it │ │ │ │ Rationale: binaries. Prelinking can also increase damage caused by vulnerability in a common library │ │ │ │ like libc. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_prelink_removed │ │ │ │ References: _c_i_s 1.6.3 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_prelink │ │ │ │ - │ │ │ │ -class remove_prelink { │ │ │ │ - package { 'prelink': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: medium │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Check If Prelinked Is Installed │ │ │ │ ansible.builtin.stat: │ │ │ │ @@ -692,14 +680,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_disruption │ │ │ │ - medium_complexity │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_prelink_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_prelink │ │ │ │ + │ │ │ │ +class remove_prelink { │ │ │ │ + package { 'prelink': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: medium │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ if [[ -f /usr/sbin/prelink ]]; │ │ │ │ @@ -863,26 +863,14 @@ │ │ │ │ virtualization hypervisor. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_gdm_removed │ │ │ │ _d_i_s_a CCI-000366 │ │ │ │ References: _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00227 │ │ │ │ _c_i_s 1.10 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_gdm3 │ │ │ │ - │ │ │ │ -class remove_gdm3 { │ │ │ │ - package { 'gdm3': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -909,14 +897,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_gdm_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_gdm3 │ │ │ │ + │ │ │ │ +class remove_gdm3 { │ │ │ │ + package { 'gdm3': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status}\n' 'gdm3' 2>/dev/null | grep -q '^installed'; │ │ │ │ @@ -952,31 +952,14 @@ │ │ │ │ _i_s_m 1382, 1384, 1386 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ References: _o_s_p_p FMT_MOF_EXT.1 │ │ │ │ _o_s_-_s_r_g SRG-OS-000324-GPOS-00125 │ │ │ │ _c_i_s 1.3.1 │ │ │ │ _a_n_s_s_i R33 │ │ │ │ _p_c_i_d_s_s_4 2.2.6, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "sudo" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_sudo │ │ │ │ - │ │ │ │ -class install_sudo { │ │ │ │ - package { 'sudo': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -1003,14 +986,31 @@ │ │ │ │ - PCI-DSSv4-2.2.6 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_sudo_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_sudo │ │ │ │ + │ │ │ │ +class install_sudo { │ │ │ │ + package { 'sudo': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "sudo" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -4000,31 +4000,14 @@ │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_pam_pwquality_installed │ │ │ │ _d_i_s_a CCI-000366 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00225 │ │ │ │ References: _s_t_i_g_i_d UBTU-20-010057 │ │ │ │ _c_i_s 5.3.1 │ │ │ │ _s_t_i_g_r_e_f SV-238228r653859_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "libpam-pwquality" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_libpam-pwquality │ │ │ │ - │ │ │ │ -class install_libpam-pwquality { │ │ │ │ - package { 'libpam-pwquality': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -4047,14 +4030,31 @@ │ │ │ │ - DISA-STIG-UBTU-20-010057 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_pam_pwquality_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_libpam-pwquality │ │ │ │ + │ │ │ │ +class install_libpam-pwquality { │ │ │ │ + package { 'libpam-pwquality': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "libpam-pwquality" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status}\n' 'libpam-runtime' 2>/dev/null | grep - │ │ │ │ @@ -6379,31 +6379,14 @@ │ │ │ │ _d_i_s_a CCI-001764, CCI-001774, CCI-002165, CCI-002235 │ │ │ │ _o_s_-_s_r_g SRG-OS-000368-GPOS-00154, SRG-OS-000312-GPOS-00122, SRG-OS-000312-GPOS-00123, │ │ │ │ SRG-OS-000312-GPOS-00124, SRG-OS-000324-GPOS-00125, SRG-OS-000370-GPOS-00155 │ │ │ │ References: _s_t_i_g_i_d UBTU-20-010439 │ │ │ │ _c_i_s 1.7.1.1 │ │ │ │ _a_n_s_s_i R45 │ │ │ │ _s_t_i_g_r_e_f SV-238360r853435_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "apparmor" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_apparmor │ │ │ │ - │ │ │ │ -class install_apparmor { │ │ │ │ - package { 'apparmor': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Ensure apparmor is installed │ │ │ │ package: │ │ │ │ @@ -6414,14 +6397,31 @@ │ │ │ │ - DISA-STIG-UBTU-20-010439 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_apparmor_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_apparmor │ │ │ │ + │ │ │ │ +class install_apparmor { │ │ │ │ + package { 'apparmor': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "apparmor" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if [ ! -f /.dockerenv ] && [ ! -f /run/.containerenv ]; then │ │ │ │ @@ -7368,31 +7368,14 @@ │ │ │ │ References: _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _o_s_-_s_r_g SRG-OS-000479-GPOS-00224, SRG-OS-000051-GPOS-00024, SRG-OS-000480-GPOS- │ │ │ │ 00227 │ │ │ │ _c_i_s 4.2.1.1 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "rsyslog" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_rsyslog │ │ │ │ - │ │ │ │ -class install_rsyslog { │ │ │ │ - package { 'rsyslog': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -7415,14 +7398,31 @@ │ │ │ │ - NIST-800-53-CM-6(a) │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_rsyslog_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_rsyslog │ │ │ │ + │ │ │ │ +class install_rsyslog { │ │ │ │ + package { 'rsyslog': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "rsyslog" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -7453,31 +7453,14 @@ │ │ │ │ A.15.2.1, A.15.2.2, A.17.2.1 │ │ │ │ _n_i_s_t CM-6(a), AU-4(1) │ │ │ │ _n_i_s_t_-_c_s_f DE.CM-1, DE.CM-3, DE.CM-7, ID.SC-4, PR.DS-4, PR.PT-1 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00227 │ │ │ │ _s_t_i_g_i_d UBTU-20-010432 │ │ │ │ _c_i_s 4.2.1.2 │ │ │ │ _s_t_i_g_r_e_f SV-238353r654234_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["rsyslog"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_rsyslog │ │ │ │ - │ │ │ │ -class enable_rsyslog { │ │ │ │ - service {'rsyslog': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -7515,14 +7498,31 @@ │ │ │ │ - NIST-800-53-CM-6(a) │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_rsyslog_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_rsyslog │ │ │ │ + │ │ │ │ +class enable_rsyslog { │ │ │ │ + service {'rsyslog': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["rsyslog"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -8032,31 +8032,14 @@ │ │ │ │ The iptables-persistent package can be installed with the following command: │ │ │ │ $ apt-get install iptables-persistent │ │ │ │ Rationale: A method of configuring and maintaining firewall rules is necessary to configure a Host │ │ │ │ Based Firewall. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_iptables-persistent_installed │ │ │ │ References: _c_i_s 3.5.3.1.1 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "iptables-persistent" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_iptables-persistent │ │ │ │ - │ │ │ │ -class install_iptables-persistent { │ │ │ │ - package { 'iptables-persistent': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -8077,14 +8060,31 @@ │ │ │ │ tags: │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_iptables-persistent_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_iptables-persistent │ │ │ │ + │ │ │ │ +class install_iptables-persistent { │ │ │ │ + package { 'iptables-persistent': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "iptables-persistent" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status}\n' 'iptables' 2>/dev/null | grep - │ │ │ │ @@ -8102,31 +8102,14 @@ │ │ │ │ operators to set up firewalls and IP masquerading, etc. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_iptables_installed │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ References: _p_c_i_d_s_s Req-1.4.1 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00227 │ │ │ │ _c_i_s 3.5.3.1.1 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "iptables" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_iptables │ │ │ │ - │ │ │ │ -class install_iptables { │ │ │ │ - package { 'iptables': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -8151,14 +8134,31 @@ │ │ │ │ - PCI-DSS-Req-1.4.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_iptables_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_iptables │ │ │ │ + │ │ │ │ +class install_iptables { │ │ │ │ + package { 'iptables': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "iptables" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if ( dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -8173,26 +8173,14 @@ │ │ │ │ The iptables-persistent package can be removed with the following command: │ │ │ │ $ apt-get remove iptables-persistent │ │ │ │ Rationale: Running both ufw and the services included in the iptables-persistent package may lead to │ │ │ │ conflict. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_iptables-persistent_removed │ │ │ │ References: _c_i_s 3.5.1.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_iptables-persistent │ │ │ │ - │ │ │ │ -class remove_iptables-persistent { │ │ │ │ - package { 'iptables-persistent': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -8213,14 +8201,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_iptables-persistent_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_iptables-persistent │ │ │ │ + │ │ │ │ +class remove_iptables-persistent { │ │ │ │ + package { 'iptables-persistent': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status}\n' 'ufw' 2>/dev/null | grep -q '^installed'; │ │ │ │ @@ -13016,31 +13016,14 @@ │ │ │ │ nftables is a subsystem of the Linux kernel that can protect against threats originating │ │ │ │ Rationale: from within a corporate network to include malicious mobile code and poorly configured │ │ │ │ software on a host. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_nftables_installed │ │ │ │ References: _c_i_s 3.5.2.1 │ │ │ │ _p_c_i_d_s_s_4 1.2.1, 1.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "nftables" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_nftables │ │ │ │ - │ │ │ │ -class install_nftables { │ │ │ │ - package { 'nftables': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -13065,14 +13048,31 @@ │ │ │ │ - PCI-DSSv4-1.2.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_nftables_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_nftables │ │ │ │ + │ │ │ │ +class install_nftables { │ │ │ │ + package { 'nftables': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "nftables" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if ( dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -13088,26 +13088,14 @@ │ │ │ │ packets/datagrams/frames and is the successor to iptables. The nftables package can be removed with │ │ │ │ the following command: │ │ │ │ $ apt-get remove nftables │ │ │ │ Rationale: Running both firewalld and nftables may lead to conflict. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_nftables_removed │ │ │ │ References: _c_i_s 3.5.3.1.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_nftables │ │ │ │ - │ │ │ │ -class remove_nftables { │ │ │ │ - package { 'nftables': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure nftables is removed │ │ │ │ package: │ │ │ │ @@ -13116,14 +13104,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_nftables_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_nftables │ │ │ │ + │ │ │ │ +class remove_nftables { │ │ │ │ + package { 'nftables': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove nftables │ │ │ │ @@ -13138,31 +13138,14 @@ │ │ │ │ nftables service The nftables service can be enabled with the following command: │ │ │ │ $ sudo systemctl enable nftables.service │ │ │ │ Rationale: The nftables service restores the nftables rules from the rules files referenced in the / │ │ │ │ etc/sysconfig/nftables.conf file during boot or the starting of the nftables service │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_nftables_enabled │ │ │ │ References: _c_i_s 3.5.2.9 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["nftables"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_nftables │ │ │ │ - │ │ │ │ -class enable_nftables { │ │ │ │ - service {'nftables': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -13195,14 +13178,31 @@ │ │ │ │ tags: │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_nftables_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_nftables │ │ │ │ + │ │ │ │ +class enable_nftables { │ │ │ │ + service {'nftables': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["nftables"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if ( dpkg-query --show --showformat='${db:Status-Status}\n' 'nftables' 2>/dev/null | grep - │ │ │ │ @@ -13226,50 +13226,14 @@ │ │ │ │ systemctl disable nftables │ │ │ │ Rationale: Running both firewalld and nftables may lead to conflict. nftables is actually one of the │ │ │ │ backends for firewalld management tools. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_nftables_disabled │ │ │ │ References: _c_i_s 3.5.3.1.2 │ │ │ │ _p_c_i_d_s_s_4 1.2.1, 1.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -masked = ["nftables"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: medium │ │ │ │ -RReebboooott:: true │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ -kind: MachineConfig │ │ │ │ -spec: │ │ │ │ - config: │ │ │ │ - ignition: │ │ │ │ - version: 3.1.0 │ │ │ │ - systemd: │ │ │ │ - units: │ │ │ │ - - name: nftables.service │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ - - name: nftables.socket │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include disable_nftables │ │ │ │ - │ │ │ │ -class disable_nftables { │ │ │ │ - service {'nftables': │ │ │ │ - enable => false, │ │ │ │ - ensure => 'stopped', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -13356,14 +13320,50 @@ │ │ │ │ - PCI-DSSv4-1.2.1 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_nftables_disabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: medium │ │ │ │ +RReebboooott:: true │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ +kind: MachineConfig │ │ │ │ +spec: │ │ │ │ + config: │ │ │ │ + ignition: │ │ │ │ + version: 3.1.0 │ │ │ │ + systemd: │ │ │ │ + units: │ │ │ │ + - name: nftables.service │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ + - name: nftables.socket │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include disable_nftables │ │ │ │ + │ │ │ │ +class disable_nftables { │ │ │ │ + service {'nftables': │ │ │ │ + enable => false, │ │ │ │ + ensure => 'stopped', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +masked = ["nftables"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if ( dpkg-query --show --showformat='${db:Status-Status}\n' 'firewalld' 2>/dev/null | grep - │ │ │ │ @@ -13905,31 +13905,14 @@ │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_ufw_installed │ │ │ │ _d_i_s_a CCI-002314 │ │ │ │ _o_s_-_s_r_g SRG-OS-000297-GPOS-00115 │ │ │ │ References: _s_t_i_g_i_d UBTU-20-010433 │ │ │ │ _c_i_s 3.5.1.1 │ │ │ │ _s_t_i_g_r_e_f SV-238354r853429_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "ufw" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_ufw │ │ │ │ - │ │ │ │ -class install_ufw { │ │ │ │ - package { 'ufw': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -13952,14 +13935,31 @@ │ │ │ │ - DISA-STIG-UBTU-20-010433 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_ufw_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_ufw │ │ │ │ + │ │ │ │ +class install_ufw { │ │ │ │ + package { 'ufw': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "ufw" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -13973,26 +13973,14 @@ │ │ │ │ ****** RRuullee? ?  RReemmoovvee uuffww PPaacckkaaggee ? ? _[[_rr_ee_ff_]] ****** │ │ │ │ The ufw package can be removed with the following command: │ │ │ │ $ apt-get remove ufw │ │ │ │ Rationale: Running iptables.persistent with ufw enabled may lead to conflict and unexpected results. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_ufw_removed │ │ │ │ References: _c_i_s 3.5.2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_ufw │ │ │ │ - │ │ │ │ -class remove_ufw { │ │ │ │ - package { 'ufw': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -14013,14 +14001,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_ufw_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_ufw │ │ │ │ + │ │ │ │ +class remove_ufw { │ │ │ │ + package { 'ufw': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -14044,31 +14044,14 @@ │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_ufw_enabled │ │ │ │ _d_i_s_a CCI-002314 │ │ │ │ _o_s_-_s_r_g SRG-OS-000297-GPOS-00115 │ │ │ │ References: _s_t_i_g_i_d UBTU-20-010434 │ │ │ │ _c_i_s 3.5.1.3 │ │ │ │ _s_t_i_g_r_e_f SV-238355r853430_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["ufw"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_ufw │ │ │ │ - │ │ │ │ -class enable_ufw { │ │ │ │ - service {'ufw': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -14104,14 +14087,31 @@ │ │ │ │ - DISA-STIG-UBTU-20-010434 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_ufw_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_ufw │ │ │ │ + │ │ │ │ +class enable_ufw { │ │ │ │ + service {'ufw': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["ufw"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -16665,50 +16665,14 @@ │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.11.2.6, A.13.1.1, A.13.2.1, A.18.1.4, A.6.2.1, A.6.2.2, A.7.1.1, │ │ │ │ A.9.2.1, A.9.2.2, A.9.2.3, A.9.2.4, A.9.2.6, A.9.3.1, A.9.4.2, A.9.4.3 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a), MP-7 │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-1, PR.AC-3, PR.AC-6, PR.AC-7 │ │ │ │ _o_s_-_s_r_g SRG-OS-000114-GPOS-00059, SRG-OS-000378-GPOS-00163, SRG-OS-000480-GPOS- │ │ │ │ 00227 │ │ │ │ _c_i_s 1.1.23 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -masked = ["autofs"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: medium │ │ │ │ -RReebboooott:: true │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ -kind: MachineConfig │ │ │ │ -spec: │ │ │ │ - config: │ │ │ │ - ignition: │ │ │ │ - version: 3.1.0 │ │ │ │ - systemd: │ │ │ │ - units: │ │ │ │ - - name: autofs.service │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ - - name: autofs.socket │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include disable_autofs │ │ │ │ - │ │ │ │ -class disable_autofs { │ │ │ │ - service {'autofs': │ │ │ │ - enable => false, │ │ │ │ - ensure => 'stopped', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -16809,14 +16773,50 @@ │ │ │ │ - NIST-800-53-MP-7 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_autofs_disabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: medium │ │ │ │ +RReebboooott:: true │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ +kind: MachineConfig │ │ │ │ +spec: │ │ │ │ + config: │ │ │ │ + ignition: │ │ │ │ + version: 3.1.0 │ │ │ │ + systemd: │ │ │ │ + units: │ │ │ │ + - name: autofs.service │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ + - name: autofs.socket │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include disable_autofs │ │ │ │ + │ │ │ │ +class disable_autofs { │ │ │ │ + service {'autofs': │ │ │ │ + enable => false, │ │ │ │ + ensure => 'stopped', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +masked = ["autofs"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if ( dpkg-query --show --showformat='${db:Status-Status}\n' 'autofs' 2>/dev/null | grep - │ │ │ │ @@ -20110,26 +20110,14 @@ │ │ │ │ SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.3 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_avahi-daemon │ │ │ │ - │ │ │ │ -class remove_avahi-daemon { │ │ │ │ - package { 'avahi-daemon': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure avahi-daemon is removed │ │ │ │ package: │ │ │ │ @@ -20141,14 +20129,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_avahi_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_avahi-daemon │ │ │ │ + │ │ │ │ +class remove_avahi-daemon { │ │ │ │ + package { 'avahi-daemon': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove avahi-daemon │ │ │ │ @@ -20177,50 +20177,14 @@ │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.3 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -masked = ["avahi-daemon"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: medium │ │ │ │ -RReebboooott:: true │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ -kind: MachineConfig │ │ │ │ -spec: │ │ │ │ - config: │ │ │ │ - ignition: │ │ │ │ - version: 3.1.0 │ │ │ │ - systemd: │ │ │ │ - units: │ │ │ │ - - name: avahi-daemon.service │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ - - name: avahi-daemon.socket │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include disable_avahi-daemon │ │ │ │ - │ │ │ │ -class disable_avahi-daemon { │ │ │ │ - service {'avahi-daemon': │ │ │ │ - enable => false, │ │ │ │ - ensure => 'stopped', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -20321,14 +20285,50 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_avahi-daemon_disabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: medium │ │ │ │ +RReebboooott:: true │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ +kind: MachineConfig │ │ │ │ +spec: │ │ │ │ + config: │ │ │ │ + ignition: │ │ │ │ + version: 3.1.0 │ │ │ │ + systemd: │ │ │ │ + units: │ │ │ │ + - name: avahi-daemon.service │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ + - name: avahi-daemon.socket │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include disable_avahi-daemon │ │ │ │ + │ │ │ │ +class disable_avahi-daemon { │ │ │ │ + service {'avahi-daemon': │ │ │ │ + enable => false, │ │ │ │ + ensure => 'stopped', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +masked = ["avahi-daemon"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if ( dpkg-query --show --showformat='${db:Status-Status}\n' 'avahi-daemon' 2>/dev/null | grep - │ │ │ │ @@ -20874,31 +20874,14 @@ │ │ │ │ SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 5.1.1 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["cron"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_cron │ │ │ │ - │ │ │ │ -class enable_cron { │ │ │ │ - service {'cron': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -20932,14 +20915,31 @@ │ │ │ │ - NIST-800-53-CM-6(a) │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_cron_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_cron │ │ │ │ + │ │ │ │ +class enable_cron { │ │ │ │ + service {'cron': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["cron"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -22461,26 +22461,14 @@ │ │ │ │ The support for Yellowpages should not be installed unless it is required. │ │ │ │ NIS is the historical SUN service for central account management, more and more replaced │ │ │ │ Rationale: by LDAP. NIS does not support efficiently security constraints, ACL, etc. and should not │ │ │ │ be used. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_nis_removed │ │ │ │ References: _c_i_s 2.2.17 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_nis │ │ │ │ - │ │ │ │ -class remove_nis { │ │ │ │ - package { 'nis': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure nis is removed │ │ │ │ package: │ │ │ │ @@ -22489,14 +22477,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_nis_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_nis │ │ │ │ + │ │ │ │ +class remove_nis { │ │ │ │ + package { 'nis': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove nis │ │ │ │ @@ -22538,26 +22538,14 @@ │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.5 │ │ │ │ _a_n_s_s_i R62 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_isc-dhcp-server │ │ │ │ - │ │ │ │ -class remove_isc-dhcp-server { │ │ │ │ - package { 'isc-dhcp-server': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure isc-dhcp-server is removed │ │ │ │ package: │ │ │ │ @@ -22571,14 +22559,26 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_dhcp_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_isc-dhcp-server │ │ │ │ + │ │ │ │ +class remove_isc-dhcp-server { │ │ │ │ + package { 'isc-dhcp-server': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove isc-dhcp-server │ │ │ │ @@ -22614,26 +22614,14 @@ │ │ │ │ SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.8 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_bind9 │ │ │ │ - │ │ │ │ -class remove_bind9 { │ │ │ │ - package { 'bind9': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure bind9 is removed │ │ │ │ package: │ │ │ │ @@ -22645,14 +22633,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_bind_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_bind9 │ │ │ │ + │ │ │ │ +class remove_bind9 { │ │ │ │ + package { 'bind9': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove bind9 │ │ │ │ @@ -22691,26 +22691,14 @@ │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a), IA-5(1)(c), IA-5(1).1(v), CM-7, CM-7.1(ii) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _o_s_-_s_r_g SRG-OS-000074-GPOS-00042, SRG-OS-000095-GPOS-00049, SRG-OS-000480-GPOS- │ │ │ │ 00227 │ │ │ │ _c_i_s 2.2.9 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_vsftpd │ │ │ │ - │ │ │ │ -class remove_vsftpd { │ │ │ │ - package { 'vsftpd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure vsftpd is removed │ │ │ │ package: │ │ │ │ @@ -22726,14 +22714,26 @@ │ │ │ │ - NIST-800-53-IA-5(1).1(v) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_vsftpd_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_vsftpd │ │ │ │ + │ │ │ │ +class remove_vsftpd { │ │ │ │ + package { 'vsftpd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove vsftpd │ │ │ │ @@ -22772,26 +22772,14 @@ │ │ │ │ References: SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.10 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_apache2 │ │ │ │ - │ │ │ │ -class remove_apache2 { │ │ │ │ - package { 'apache2': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure apache2 is removed │ │ │ │ package: │ │ │ │ @@ -22803,14 +22791,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_httpd_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_apache2 │ │ │ │ + │ │ │ │ +class remove_apache2 { │ │ │ │ + package { 'apache2': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove apache2 │ │ │ │ @@ -22838,26 +22838,14 @@ │ │ │ │ References: SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.10 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_nginx │ │ │ │ - │ │ │ │ -class remove_nginx { │ │ │ │ - package { 'nginx': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure nginx is removed │ │ │ │ package: │ │ │ │ @@ -22869,14 +22857,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_nginx_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_nginx │ │ │ │ + │ │ │ │ +class remove_nginx { │ │ │ │ + package { 'nginx': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove nginx │ │ │ │ @@ -22896,26 +22896,14 @@ │ │ │ │ The cyrus-imapd package can be removed with the following command: │ │ │ │ $ apt-get remove cyrus-imapd │ │ │ │ Rationale: If there is no need to make the cyrus-imapd software available, removing it provides a │ │ │ │ safeguard against its activation. │ │ │ │ Severity:  unknown │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_cyrus-imapd_removed │ │ │ │ References: _c_i_s 2.2.11 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_cyrus-imapd │ │ │ │ - │ │ │ │ -class remove_cyrus-imapd { │ │ │ │ - package { 'cyrus-imapd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure cyrus-imapd is removed │ │ │ │ package: │ │ │ │ @@ -22924,14 +22912,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_cyrus-imapd_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_cyrus-imapd │ │ │ │ + │ │ │ │ +class remove_cyrus-imapd { │ │ │ │ + package { 'cyrus-imapd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove cyrus-imapd │ │ │ │ @@ -22948,26 +22948,14 @@ │ │ │ │ The dovecot-core package can be removed with the following command: │ │ │ │ $ apt-get remove dovecot-core │ │ │ │ Rationale: If there is no need to make the Dovecot software available, removing it provides a │ │ │ │ safeguard against its activation. │ │ │ │ Severity:  unknown │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_dovecot_removed │ │ │ │ References: _c_i_s 2.2.11 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_dovecot-core │ │ │ │ - │ │ │ │ -class remove_dovecot-core { │ │ │ │ - package { 'dovecot-core': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure dovecot-core is removed │ │ │ │ package: │ │ │ │ @@ -22976,14 +22964,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_dovecot_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_dovecot-core │ │ │ │ + │ │ │ │ +class remove_dovecot-core { │ │ │ │ + package { 'dovecot-core': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove dovecot-core │ │ │ │ @@ -23013,26 +23013,14 @@ │ │ │ │ command: │ │ │ │ $ apt-get remove lapd-utils │ │ │ │ Rationale: If the system does not need to act as an LDAP client, it is recommended that the software │ │ │ │ is removed to reduce the potential attack surface. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_openldap-clients_removed │ │ │ │ References: _c_i_s 2.3.5 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_ldap-utils │ │ │ │ - │ │ │ │ -class remove_ldap-utils { │ │ │ │ - package { 'ldap-utils': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure ldap-utils is removed │ │ │ │ package: │ │ │ │ @@ -23041,14 +23029,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_openldap-clients_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_ldap-utils │ │ │ │ + │ │ │ │ +class remove_ldap-utils { │ │ │ │ + package { 'ldap-utils': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove ldap-utils │ │ │ │ @@ -23079,26 +23079,14 @@ │ │ │ │ SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_slapd │ │ │ │ - │ │ │ │ -class remove_slapd { │ │ │ │ - package { 'slapd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure slapd is removed │ │ │ │ package: │ │ │ │ @@ -23110,14 +23098,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_openldap-servers_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_slapd │ │ │ │ + │ │ │ │ +class remove_slapd { │ │ │ │ + package { 'slapd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove slapd │ │ │ │ @@ -23235,26 +23235,14 @@ │ │ │ │ then this service should be disabled. The rpcbind package can be removed with the following command: │ │ │ │ $ apt-get remove rpcbind │ │ │ │ Rationale: If the system does not require rpc based services, it is recommended that rpcbind be │ │ │ │ disabled to reduce the attack surface. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_rpcbind_removed │ │ │ │ References: _c_i_s 2.3.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_rpcbind │ │ │ │ - │ │ │ │ -class remove_rpcbind { │ │ │ │ - package { 'rpcbind': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -23275,14 +23263,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_rpcbind_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_rpcbind │ │ │ │ + │ │ │ │ +class remove_rpcbind { │ │ │ │ + package { 'rpcbind': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -23303,26 +23303,14 @@ │ │ │ │ The nfs-kernel-server package can be removed with the following command: │ │ │ │ $ apt-get remove nfs-kernel-server │ │ │ │ Rationale: If the system does not export NFS shares or act as an NFS client, it is recommended that │ │ │ │ these services be removed to reduce the remote attack surface. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_nfs-kernel-server_removed │ │ │ │ References: _c_i_s 2.2.7 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_nfs-kernel-server │ │ │ │ - │ │ │ │ -class remove_nfs-kernel-server { │ │ │ │ - package { 'nfs-kernel-server': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure nfs-kernel-server is removed │ │ │ │ package: │ │ │ │ @@ -23331,14 +23319,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_nfs-kernel-server_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_nfs-kernel-server │ │ │ │ + │ │ │ │ +class remove_nfs-kernel-server { │ │ │ │ + package { 'nfs-kernel-server': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove nfs-kernel-server │ │ │ │ @@ -23407,31 +23407,14 @@ │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ References: _o_s_-_s_r_g SRG-OS-000355-GPOS-00143 │ │ │ │ _s_t_i_g_i_d UBTU-20-010435 │ │ │ │ _c_i_s 2.2.1.1 │ │ │ │ _a_n_s_s_i R71 │ │ │ │ _p_c_i_d_s_s_4 10.6.1, 10.6 │ │ │ │ _s_t_i_g_r_e_f SV-238356r877038_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "chrony" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_chrony │ │ │ │ - │ │ │ │ -class install_chrony { │ │ │ │ - package { 'chrony': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -23460,14 +23443,31 @@ │ │ │ │ - PCI-DSSv4-10.6.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_chrony_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_chrony │ │ │ │ + │ │ │ │ +class install_chrony { │ │ │ │ + package { 'chrony': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "chrony" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -23488,31 +23488,14 @@ │ │ │ │ synchronization is working properly. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_chronyd_enabled │ │ │ │ _d_i_s_a CCI-004923 │ │ │ │ References: _i_s_m 0988, 1405 │ │ │ │ _o_s_-_s_r_g SRG-OS-000355-GPOS-00143 │ │ │ │ _c_i_s 2.2.1.3 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["chrony"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_chrony │ │ │ │ - │ │ │ │ -class enable_chrony { │ │ │ │ - service {'chrony': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -23546,14 +23529,31 @@ │ │ │ │ tags: │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_chronyd_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_chrony │ │ │ │ + │ │ │ │ +class enable_chrony { │ │ │ │ + service {'chrony': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["chrony"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -23590,31 +23590,14 @@ │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ References: _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a), AU-8(1)(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ _c_i_s 2.2.1.4 │ │ │ │ _p_c_i_d_s_s_4 10.6.1, 10.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["ntp"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_ntp │ │ │ │ - │ │ │ │ -class enable_ntp { │ │ │ │ - service {'ntp': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -23658,14 +23641,31 @@ │ │ │ │ - PCI-DSSv4-10.6.1 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - service_ntp_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_ntp │ │ │ │ + │ │ │ │ +class enable_ntp { │ │ │ │ + service {'ntp': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["ntp"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -23701,31 +23701,14 @@ │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ References: _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a), AU-8(1)(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ _c_i_s 2.2.1.2 │ │ │ │ _p_c_i_d_s_s_4 10.6.1, 10.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["systemd-timesyncd"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_systemd-timesyncd │ │ │ │ - │ │ │ │ -class enable_systemd-timesyncd { │ │ │ │ - service {'systemd-timesyncd': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -23770,14 +23753,31 @@ │ │ │ │ - PCI-DSSv4-10.6.1 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - service_timesyncd_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_systemd-timesyncd │ │ │ │ + │ │ │ │ +class enable_systemd-timesyncd { │ │ │ │ + service {'systemd-timesyncd': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["systemd-timesyncd"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -24078,26 +24078,14 @@ │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1, A.13.2.1, A.14.1.3, │ │ │ │ A.14.2.2, A.14.2.3, A.14.2.4, A.6.2.1, A.6.2.2, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4 │ │ │ │ _c_i_s 2.1.1 │ │ │ │ _a_n_s_s_i R62 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_xinetd │ │ │ │ - │ │ │ │ -class remove_xinetd { │ │ │ │ - package { 'xinetd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -24128,14 +24116,26 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_xinetd_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_xinetd │ │ │ │ + │ │ │ │ +class remove_xinetd { │ │ │ │ + package { 'xinetd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -24167,26 +24167,14 @@ │ │ │ │ _c_u_i 3.1.13 │ │ │ │ _h_i_p_a_a 164.308(a)(4)(i), 164.308(b)(1), 164.308(b)(3), 164.310(b), 164.312(e)(1), │ │ │ │ 164.312(e)(2)(ii) │ │ │ │ References: _i_s_o_2_7_0_0_1_-_2_0_1_3 A.8.2.3, A.13.1.1, A.13.2.1, A.13.2.3, A.14.1.2, A.14.1.3 │ │ │ │ _c_i_s 2.3.2 │ │ │ │ _a_n_s_s_i R62 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_rsh-client │ │ │ │ - │ │ │ │ -class remove_rsh-client { │ │ │ │ - package { 'rsh-client': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure rsh-client is removed │ │ │ │ package: │ │ │ │ @@ -24198,14 +24186,26 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_rsh_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_rsh-client │ │ │ │ + │ │ │ │ +class remove_rsh-client { │ │ │ │ + package { 'rsh-client': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove rsh-client │ │ │ │ @@ -24272,26 +24272,14 @@ │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_talk_removed │ │ │ │ _h_i_p_a_a 164.308(a)(4)(i), 164.308(b)(1), 164.308(b)(3), 164.310(b), 164.312(e)(1), │ │ │ │ 164.312(e)(2)(ii) │ │ │ │ References: _c_i_s 2.3.3 │ │ │ │ _a_n_s_s_i R62 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_talk │ │ │ │ - │ │ │ │ -class remove_talk { │ │ │ │ - package { 'talk': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure talk is removed │ │ │ │ package: │ │ │ │ @@ -24302,14 +24290,26 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_talk_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_talk │ │ │ │ + │ │ │ │ +class remove_talk { │ │ │ │ + package { 'talk': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove talk │ │ │ │ @@ -24333,26 +24333,14 @@ │ │ │ │ _c_u_i 3.1.13 │ │ │ │ _h_i_p_a_a 164.308(a)(4)(i), 164.308(b)(1), 164.308(b)(3), 164.310(b), 164.312(e)(1), │ │ │ │ 164.312(e)(2)(ii) │ │ │ │ References: _i_s_o_2_7_0_0_1_-_2_0_1_3 A.8.2.3, A.13.1.1, A.13.2.1, A.13.2.3, A.14.1.2, A.14.1.3 │ │ │ │ _c_i_s 2.3.4 │ │ │ │ _a_n_s_s_i R62 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_telnet │ │ │ │ - │ │ │ │ -class remove_telnet { │ │ │ │ - package { 'telnet': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure telnet is removed │ │ │ │ package: │ │ │ │ @@ -24364,14 +24352,26 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_telnet_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_telnet │ │ │ │ + │ │ │ │ +class remove_telnet { │ │ │ │ + package { 'telnet': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove telnet │ │ │ │ @@ -24386,26 +24386,14 @@ │ │ │ │ package can be removed with the following command: │ │ │ │ $ apt-get remove rsync │ │ │ │ Rationale: The rsyncd service presents a security risk as it uses unencrypted protocols for │ │ │ │ communication. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_rsync_removed │ │ │ │ References: _c_i_s 2.2.16 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_rsync │ │ │ │ - │ │ │ │ -class remove_rsync { │ │ │ │ - package { 'rsync': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure rsync is removed │ │ │ │ package: │ │ │ │ @@ -24414,14 +24402,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_rsync_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_rsync │ │ │ │ + │ │ │ │ +class remove_rsync { │ │ │ │ + package { 'rsync': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove rsync │ │ │ │ @@ -24454,26 +24454,14 @@ │ │ │ │ References: SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_cups │ │ │ │ - │ │ │ │ -class remove_cups { │ │ │ │ - package { 'cups': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure cups is removed │ │ │ │ package: │ │ │ │ @@ -24485,14 +24473,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_cups_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_cups │ │ │ │ + │ │ │ │ +class remove_cups { │ │ │ │ + package { 'cups': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove cups │ │ │ │ @@ -24517,50 +24517,14 @@ │ │ │ │ References: SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -masked = ["cups"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: medium │ │ │ │ -RReebboooott:: true │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ -kind: MachineConfig │ │ │ │ -spec: │ │ │ │ - config: │ │ │ │ - ignition: │ │ │ │ - version: 3.1.0 │ │ │ │ - systemd: │ │ │ │ - units: │ │ │ │ - - name: cups.service │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ - - name: cups.socket │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include disable_cups │ │ │ │ - │ │ │ │ -class disable_cups { │ │ │ │ - service {'cups': │ │ │ │ - enable => false, │ │ │ │ - ensure => 'stopped', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -24647,14 +24611,50 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - service_cups_disabled │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: medium │ │ │ │ +RReebboooott:: true │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ +kind: MachineConfig │ │ │ │ +spec: │ │ │ │ + config: │ │ │ │ + ignition: │ │ │ │ + version: 3.1.0 │ │ │ │ + systemd: │ │ │ │ + units: │ │ │ │ + - name: cups.service │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ + - name: cups.socket │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include disable_cups │ │ │ │ + │ │ │ │ +class disable_cups { │ │ │ │ + service {'cups': │ │ │ │ + enable => false, │ │ │ │ + ensure => 'stopped', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +masked = ["cups"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -24694,26 +24694,14 @@ │ │ │ │ The squid package can be removed with the following command: │ │ │ │ $ apt-get remove squid │ │ │ │ Rationale: If there is no need to make the proxy server software available, removing it provides a │ │ │ │ safeguard against its activation. │ │ │ │ Severity:  unknown │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_squid_removed │ │ │ │ References: _c_i_s 2.2.13 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_squid │ │ │ │ - │ │ │ │ -class remove_squid { │ │ │ │ - package { 'squid': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure squid is removed │ │ │ │ package: │ │ │ │ @@ -24722,14 +24710,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_squid_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_squid │ │ │ │ + │ │ │ │ +class remove_squid { │ │ │ │ + package { 'squid': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove squid │ │ │ │ @@ -24754,26 +24754,14 @@ │ │ │ │ The samba package can be removed with the following command: │ │ │ │ $ apt-get remove samba │ │ │ │ Rationale: If there is no need to make the Samba software available, removing it provides a │ │ │ │ safeguard against its activation. │ │ │ │ Severity:  unknown │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_samba_removed │ │ │ │ References: _c_i_s 2.2.12 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_samba │ │ │ │ - │ │ │ │ -class remove_samba { │ │ │ │ - package { 'samba': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure samba is removed │ │ │ │ package: │ │ │ │ @@ -24782,14 +24770,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_samba_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_samba │ │ │ │ + │ │ │ │ +class remove_samba { │ │ │ │ + package { 'samba': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove samba │ │ │ │ @@ -24814,26 +24814,14 @@ │ │ │ │ $ apt-get remove snmp │ │ │ │ Rationale: If there is no need to run SNMP server software, removing the package provides a │ │ │ │ safeguard against its activation. │ │ │ │ Severity:  unknown │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_net-snmp_removed │ │ │ │ References: _c_i_s 2.2.14 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_snmp │ │ │ │ - │ │ │ │ -class remove_snmp { │ │ │ │ - package { 'snmp': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure snmp is removed │ │ │ │ package: │ │ │ │ @@ -24844,14 +24832,26 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_net-snmp_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_snmp │ │ │ │ + │ │ │ │ +class remove_snmp { │ │ │ │ + package { 'snmp': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove snmp │ │ │ │ @@ -28272,23 +28272,14 @@ │ │ │ │ _n_i_s_t AC-17(a), CM-6(a), AC-6(1) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-4, PR.DS-5 │ │ │ │ _p_c_i_d_s_s Req-2.2.4 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00227 │ │ │ │ _c_i_s 5.2.2 │ │ │ │ _a_n_s_s_i R50 │ │ │ │ _p_c_i_d_s_s_4 2.2.6, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -include ssh_private_key_perms │ │ │ │ - │ │ │ │ -class ssh_private_key_perms { │ │ │ │ - exec { 'sshd_priv_key': │ │ │ │ - command => "chmod 0640 /etc/ssh/*_key", │ │ │ │ - path => '/bin:/usr/bin' │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: configure │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -28352,14 +28343,23 @@ │ │ │ │ - PCI-DSSv4-2.2.6 │ │ │ │ - configure_strategy │ │ │ │ - file_permissions_sshd_private_key │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +include ssh_private_key_perms │ │ │ │ + │ │ │ │ +class ssh_private_key_perms { │ │ │ │ + exec { 'sshd_priv_key': │ │ │ │ + command => "chmod 0640 /etc/ssh/*_key", │ │ │ │ + path => '/bin:/usr/bin' │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ ' 'linux-base' 2>/dev/null | grep -q ^installed; then │ │ │ │ │ │ │ │ for keyfile in /etc/ssh/*_key; do │ │ │ │ test -f "$keyfile" || continue │ │ │ │ @@ -28400,23 +28400,14 @@ │ │ │ │ _n_i_s_t AC-17(a), CM-6(a), AC-6(1) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-4, PR.DS-5 │ │ │ │ _p_c_i_d_s_s Req-2.2.4 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00227 │ │ │ │ _c_i_s 5.2.3 │ │ │ │ _a_n_s_s_i R50 │ │ │ │ _p_c_i_d_s_s_4 2.2.6, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -include ssh_public_key_perms │ │ │ │ - │ │ │ │ -class ssh_public_key_perms { │ │ │ │ - exec { 'sshd_pub_key': │ │ │ │ - command => "chmod 0644 /etc/ssh/*.pub", │ │ │ │ - path => '/bin:/usr/bin' │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: configure │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -28480,14 +28471,23 @@ │ │ │ │ - PCI-DSSv4-2.2.6 │ │ │ │ - configure_strategy │ │ │ │ - file_permissions_sshd_pub_key │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +include ssh_public_key_perms │ │ │ │ + │ │ │ │ +class ssh_public_key_perms { │ │ │ │ + exec { 'sshd_pub_key': │ │ │ │ + command => "chmod 0644 /etc/ssh/*.pub", │ │ │ │ + path => '/bin:/usr/bin' │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: configure │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -28531,26 +28531,14 @@ │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 1.13, SR 2.6, SR 3.1, SR 3.5, SR 3.8, SR 4.1, SR 4.3, SR 5.1, SR 5.2, │ │ │ │ References: SR 5.3, SR 7.1, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.11.2.6, A.13.1.1, A.13.2.1, A.14.1.3, A.6.2.1, A.6.2.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.PT-4 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00227 │ │ │ │ _c_i_s 2.2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_xserver-xorg │ │ │ │ - │ │ │ │ -class remove_xserver-xorg { │ │ │ │ - package { 'xserver-xorg': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure xserver-xorg is removed │ │ │ │ package: │ │ │ │ @@ -28562,14 +28550,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_xorg-x11-server-common_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_xserver-xorg │ │ │ │ + │ │ │ │ +class remove_xserver-xorg { │ │ │ │ + package { 'xserver-xorg': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove xserver-xorg │ │ │ │ @@ -74488,31 +74488,14 @@ │ │ │ │ SRG-OS-000353-GPOS-00141, SRG-OS-000354-GPOS-00142, SRG-OS-000358-GPOS-00145, │ │ │ │ SRG-OS-000365-GPOS-00152, SRG-OS-000392-GPOS-00172, SRG-OS-000475-GPOS-00220 │ │ │ │ _s_t_i_g_i_d UBTU-20-010182 │ │ │ │ _c_i_s 4.1.1.1 │ │ │ │ _a_n_s_s_i R33, R73 │ │ │ │ _p_c_i_d_s_s_4 10.2.1, 10.2 │ │ │ │ _s_t_i_g_r_e_f SV-238298r853421_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "auditd" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_auditd │ │ │ │ - │ │ │ │ -class install_auditd { │ │ │ │ - package { 'auditd': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -74555,14 +74538,31 @@ │ │ │ │ - PCI-DSSv4-10.2.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_audit_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_auditd │ │ │ │ + │ │ │ │ +class install_auditd { │ │ │ │ + package { 'auditd': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "auditd" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -74629,31 +74629,14 @@ │ │ │ │ _a_p_p_-_s_r_g_-_c_t_r SRG-APP-000095-CTR-000170, SRG-APP-000409-CTR-000990, SRG-APP-000508-CTR- │ │ │ │ 001300, SRG-APP-000510-CTR-001310 │ │ │ │ _s_t_i_g_i_d UBTU-20-010182 │ │ │ │ _c_i_s 4.1.1.2 │ │ │ │ _a_n_s_s_i R33, R73 │ │ │ │ _p_c_i_d_s_s_4 10.2.1, 10.2 │ │ │ │ _s_t_i_g_r_e_f SV-238298r853421_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["auditd"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_auditd │ │ │ │ - │ │ │ │ -class enable_auditd { │ │ │ │ - service {'auditd': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -74721,14 +74704,31 @@ │ │ │ │ - PCI-DSSv4-10.2.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_auditd_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_auditd │ │ │ │ + │ │ │ │ +class enable_auditd { │ │ │ │ + service {'auditd': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["auditd"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ ├── ./usr/share/doc/ssg-debderived/ssg-ubuntu2004-guide-cis_level2_workstation.html │ │ │ @@ -15113,137 +15113,137 @@ │ │ │ 0003b080: 612d 7461 7267 6574 3d22 2369 646d 3237 a-target="#idm27 │ │ │ 0003b090: 3633 2220 7461 6269 6e64 6578 3d22 3022 63" tabindex="0" │ │ │ 0003b0a0: 2072 6f6c 653d 2262 7574 746f 6e22 2061 role="button" a │ │ │ 0003b0b0: 7269 612d 6578 7061 6e64 6564 3d22 6661 ria-expanded="fa │ │ │ 0003b0c0: 6c73 6522 2074 6974 6c65 3d22 4163 7469 lse" title="Acti │ │ │ 0003b0d0: 7661 7465 2074 6f20 7265 7665 616c 2220 vate to reveal" │ │ │ 0003b0e0: 6872 6566 3d22 2321 223e 5265 6d65 6469 href="#!">Remedi │ │ │ -0003b0f0: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl │ │ │ -0003b100: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet │ │ │ -0003b110: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
.[[packa │ │ │ -0003b160: 6765 735d 5d0a 6e61 6d65 203d 2022 6169 ges]].name = "ai │ │ │ -0003b170: 6465 220a 7665 7273 696f 6e20 3d20 222a de".version = "* │ │ │ -0003b180: 220a 3c2f 636f 6465 3e3c 2f70 7265 3e3c ".
< │ │ │ -0003b190: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -0003b240: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -0003b250: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
Complexity │ │ │ -0003b2e0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -0003b300: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -0003b310: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -0003b320: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -0003b330: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -0003b350: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
include inst
│ │ │ -0003b390: 616c 6c5f 6169 6465 0a0a 636c 6173 7320  all_aide..class 
│ │ │ -0003b3a0: 696e 7374 616c 6c5f 6169 6465 207b 0a20  install_aide {. 
│ │ │ -0003b3b0: 2070 6163 6b61 6765 207b 2027 6169 6465   package { 'aide
│ │ │ -0003b3c0: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ -0003b3d0: 6774 3b20 2769 6e73 7461 6c6c 6564 272c  gt; 'installed',
│ │ │ -0003b3e0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.
Remedia │ │ │ -0003b4a0: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ -0003b4b0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -0003b4c0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Comp │ │ │ -0003b540: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -0003b550: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -0003b570: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -0003b590: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -0003b5a0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ -0003b5e0: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -0003b5f0: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ -0003b600: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac │ │ │ -0003b610: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ -0003b620: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto. │ │ │ -0003b630: 7461 6773 3a0a 2020 2d20 434a 4953 2d35 tags:. - CJIS-5 │ │ │ -0003b640: 2e31 302e 312e 330a 2020 2d20 4449 5341 .10.1.3. - DISA │ │ │ -0003b650: 2d53 5449 472d 5542 5455 2d32 302d 3031 -STIG-UBTU-20-01 │ │ │ -0003b660: 3034 3530 0a20 202d 204e 4953 542d 3830 0450. - NIST-80 │ │ │ -0003b670: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). - │ │ │ -0003b680: 2050 4349 2d44 5353 2d52 6571 2d31 312e PCI-DSS-Req-11. │ │ │ -0003b690: 350a 2020 2d20 5043 492d 4453 5376 342d 5. - PCI-DSSv4- │ │ │ -0003b6a0: 3131 2e35 2e32 0a20 202d 2065 6e61 626c 11.5.2. - enabl │ │ │ -0003b6b0: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l │ │ │ -0003b6c0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity. │ │ │ -0003b6d0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption │ │ │ -0003b6e0: 0a20 202d 206d 6564 6975 6d5f 7365 7665 . - medium_seve │ │ │ -0003b6f0: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo │ │ │ -0003b700: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa │ │ │ -0003b710: 636b 6167 655f 6169 6465 5f69 6e73 7461 ckage_aide_insta │ │ │ -0003b720: 6c6c 6564 0a0a 2d20 6e61 6d65 3a20 456e lled..- name: En │ │ │ -0003b730: 7375 7265 2061 6964 6520 6973 2069 6e73 sure aide is ins │ │ │ -0003b740: 7461 6c6c 6564 0a20 2070 6163 6b61 6765 talled. package │ │ │ -0003b750: 3a0a 2020 2020 6e61 6d65 3a20 6169 6465 :. name: aide │ │ │ -0003b760: 0a20 2020 2073 7461 7465 3a20 7072 6573 . state: pres │ │ │ -0003b770: 656e 740a 2020 7768 656e 3a20 2722 6c69 ent. when: '"li │ │ │ -0003b780: 6e75 782d 6261 7365 2220 696e 2061 6e73 nux-base" in ans │ │ │ -0003b790: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa │ │ │ -0003b7a0: 6765 7327 0a20 2074 6167 733a 0a20 202d ges'. tags:. - │ │ │ -0003b7b0: 2043 4a49 532d 352e 3130 2e31 2e33 0a20 CJIS-5.10.1.3. │ │ │ -0003b7c0: 202d 2044 4953 412d 5354 4947 2d55 4254 - DISA-STIG-UBT │ │ │ -0003b7d0: 552d 3230 2d30 3130 3435 300a 2020 2d20 U-20-010450. - │ │ │ -0003b7e0: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6 │ │ │ -0003b7f0: 2861 290a 2020 2d20 5043 492d 4453 532d (a). - PCI-DSS- │ │ │ -0003b800: 5265 712d 3131 2e35 0a20 202d 2050 4349 Req-11.5. - PCI │ │ │ -0003b810: 2d44 5353 7634 2d31 312e 352e 320a 2020 -DSSv4-11.5.2. │ │ │ -0003b820: 2d20 656e 6162 6c65 5f73 7472 6174 6567 - enable_strateg │ │ │ -0003b830: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple │ │ │ -0003b840: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis │ │ │ -0003b850: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi │ │ │ -0003b860: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. - │ │ │ -0003b870: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed │ │ │ -0003b880: 0a20 202d 2070 6163 6b61 6765 5f61 6964 . - package_aid │ │ │ -0003b890: 655f 696e 7374 616c 6c65 640a 3c2f 636f e_installed.
Com │ │ │ +0003b190: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +0003b1c0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +0003b1e0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +0003b1f0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +0003b210: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ +0003b230: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ +0003b240: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ +0003b250: 636b 6167 6520 6661 6374 730a 2020 7061  ckage facts.  pa
│ │ │ +0003b260: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ +0003b270: 206d 616e 6167 6572 3a20 6175 746f 0a20   manager: auto. 
│ │ │ +0003b280: 2074 6167 733a 0a20 202d 2043 4a49 532d   tags:.  - CJIS-
│ │ │ +0003b290: 352e 3130 2e31 2e33 0a20 202d 2044 4953  5.10.1.3.  - DIS
│ │ │ +0003b2a0: 412d 5354 4947 2d55 4254 552d 3230 2d30  A-STIG-UBTU-20-0
│ │ │ +0003b2b0: 3130 3435 300a 2020 2d20 4e49 5354 2d38  10450.  - NIST-8
│ │ │ +0003b2c0: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ +0003b2d0: 2d20 5043 492d 4453 532d 5265 712d 3131  - PCI-DSS-Req-11
│ │ │ +0003b2e0: 2e35 0a20 202d 2050 4349 2d44 5353 7634  .5.  - PCI-DSSv4
│ │ │ +0003b2f0: 2d31 312e 352e 320a 2020 2d20 656e 6162  -11.5.2.  - enab
│ │ │ +0003b300: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +0003b310: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +0003b320: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +0003b330: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ +0003b340: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +0003b350: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ +0003b360: 6163 6b61 6765 5f61 6964 655f 696e 7374  ackage_aide_inst
│ │ │ +0003b370: 616c 6c65 640a 0a2d 206e 616d 653a 2045  alled..- name: E
│ │ │ +0003b380: 6e73 7572 6520 6169 6465 2069 7320 696e  nsure aide is in
│ │ │ +0003b390: 7374 616c 6c65 640a 2020 7061 636b 6167  stalled.  packag
│ │ │ +0003b3a0: 653a 0a20 2020 206e 616d 653a 2061 6964  e:.    name: aid
│ │ │ +0003b3b0: 650a 2020 2020 7374 6174 653a 2070 7265  e.    state: pre
│ │ │ +0003b3c0: 7365 6e74 0a20 2077 6865 6e3a 2027 226c  sent.  when: '"l
│ │ │ +0003b3d0: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ +0003b3e0: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +0003b3f0: 6167 6573 270a 2020 7461 6773 3a0a 2020  ages'.  tags:.  
│ │ │ +0003b400: 2d20 434a 4953 2d35 2e31 302e 312e 330a  - CJIS-5.10.1.3.
│ │ │ +0003b410: 2020 2d20 4449 5341 2d53 5449 472d 5542    - DISA-STIG-UB
│ │ │ +0003b420: 5455 2d32 302d 3031 3034 3530 0a20 202d  TU-20-010450.  -
│ │ │ +0003b430: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +0003b440: 3628 6129 0a20 202d 2050 4349 2d44 5353  6(a).  - PCI-DSS
│ │ │ +0003b450: 2d52 6571 2d31 312e 350a 2020 2d20 5043  -Req-11.5.  - PC
│ │ │ +0003b460: 492d 4453 5376 342d 3131 2e35 2e32 0a20  I-DSSv4-11.5.2. 
│ │ │ +0003b470: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ +0003b480: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +0003b490: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +0003b4a0: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +0003b4b0: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +0003b4c0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +0003b4d0: 640a 2020 2d20 7061 636b 6167 655f 6169  d.  - package_ai
│ │ │ +0003b4e0: 6465 5f69 6e73 7461 6c6c 6564 0a3c 2f63  de_installed.
│ │ │ +0003b500: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 R │ │ │ +0003b5a0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +0003b5b0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
< │ │ │ +0003b690: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +0003b6a0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
i
│ │ │ +0003b6f0: 6e63 6c75 6465 2069 6e73 7461 6c6c 5f61  nclude install_a
│ │ │ +0003b700: 6964 650a 0a63 6c61 7373 2069 6e73 7461  ide..class insta
│ │ │ +0003b710: 6c6c 5f61 6964 6520 7b0a 2020 7061 636b  ll_aide {.  pack
│ │ │ +0003b720: 6167 6520 7b20 2761 6964 6527 3a0a 2020  age { 'aide':.  
│ │ │ +0003b730: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ +0003b740: 696e 7374 616c 6c65 6427 2c0a 2020 7d0a  installed',.  }.
│ │ │ +0003b750: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ +0003b760: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +0003b810: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin │ │ │ +0003b820: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
.[[packages]].
│ │ │ +0003b880: 6e61 6d65 203d 2022 6169 6465 220a 7665  name = "aide".ve
│ │ │ +0003b890: 7273 696f 6e20 3d20 222a 220a 3c2f 636f  rsion = "*".
< │ │ │ 0003b8b0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 0003b8c0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 0003b8d0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 0003b8e0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 0003b8f0: 646d 3237 3636 2220 7461 6269 6e64 6578 dm2766" tabindex │ │ │ 0003b900: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ @@ -16724,121 +16724,121 @@ │ │ │ 00041530: 6574 3d22 2369 646d 3236 3633 2220 7461 et="#idm2663" ta │ │ │ 00041540: 6269 6e64 6578 3d22 3022 2072 6f6c 653d bindex="0" role= │ │ │ 00041550: 2262 7574 746f 6e22 2061 7269 612d 6578 "button" aria-ex │ │ │ 00041560: 7061 6e64 6564 3d22 6661 6c73 6522 2074 panded="false" t │ │ │ 00041570: 6974 6c65 3d22 4163 7469 7661 7465 2074 itle="Activate t │ │ │ 00041580: 6f20 7265 7665 616c 2220 6872 6566 3d22 o reveal" href=" │ │ │ 00041590: 2321 223e 5265 6d65 6469 6174 696f 6e20 #!">Remediation │ │ │ -000415a0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -000415b0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -00041670: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -00041680: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
Complexity:low
Disrup │ │ │ +0003b670: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +0003b680: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +0003b6c0: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +0003b6d0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexity │ │ │ -00041640: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ -00041660: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ -00041690: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ -000416b0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ -000416e0: 636f 6465 3e69 6e63 6c75 6465 2072 656d  code>include rem
│ │ │ -000416f0: 6f76 655f 7072 656c 696e 6b0a 0a63 6c61  ove_prelink..cla
│ │ │ -00041700: 7373 2072 656d 6f76 655f 7072 656c 696e  ss remove_prelin
│ │ │ -00041710: 6b20 7b0a 2020 7061 636b 6167 6520 7b20  k {.  package { 
│ │ │ -00041720: 2770 7265 6c69 6e6b 273a 0a20 2020 2065  'prelink':.    e
│ │ │ -00041730: 6e73 7572 6520 3d26 6774 3b20 2770 7572  nsure => 'pur
│ │ │ -00041740: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ged',.  }.}.
< │ │ │ -00041760: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -00041770: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -00041780: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -00041790: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -000417a0: 646d 3236 3634 2220 7461 6269 6e64 6578 dm2664" tabindex │ │ │ -000417b0: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ -000417c0: 6e22 2061 7269 612d 6578 7061 6e64 6564 n" aria-expanded │ │ │ -000417d0: 3d22 6661 6c73 6522 2074 6974 6c65 3d22 ="false" title=" │ │ │ -000417e0: 4163 7469 7661 7465 2074 6f20 7265 7665 Activate to reve │ │ │ -000417f0: 616c 2220 6872 6566 3d22 2321 223e 5265 al" href="#!">Re │ │ │ -00041800: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -00041810: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
│ │ │ -000418c0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -00041910: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -00041940: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:medium
Dis │ │ │ -000418d0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -00041920: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -00041930: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
- name: Check
│ │ │ -00041960: 2049 6620 5072 656c 696e 6b65 6420 4973   If Prelinked Is
│ │ │ -00041970: 2049 6e73 7461 6c6c 6564 0a20 2061 6e73   Installed.  ans
│ │ │ -00041980: 6962 6c65 2e62 7569 6c74 696e 2e73 7461  ible.builtin.sta
│ │ │ -00041990: 743a 0a20 2020 2070 6174 683a 202f 7573  t:.    path: /us
│ │ │ -000419a0: 722f 7362 696e 2f70 7265 6c69 6e6b 0a20  r/sbin/prelink. 
│ │ │ -000419b0: 2020 2067 6574 5f63 6865 636b 7375 6d3a     get_checksum:
│ │ │ -000419c0: 2066 616c 7365 0a20 2072 6567 6973 7465   false.  registe
│ │ │ -000419d0: 723a 2070 7265 6c69 6e6b 0a20 2074 6167  r: prelink.  tag
│ │ │ -000419e0: 733a 0a20 202d 2064 6973 6162 6c65 5f73  s:.  - disable_s
│ │ │ -000419f0: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ -00041a00: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ -00041a10: 6564 6975 6d5f 636f 6d70 6c65 7869 7479  edium_complexity
│ │ │ -00041a20: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ -00041a30: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -00041a40: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ -00041a50: 636b 6167 655f 7072 656c 696e 6b5f 7265  ckage_prelink_re
│ │ │ -00041a60: 6d6f 7665 640a 0a2d 206e 616d 653a 2052  moved..- name: R
│ │ │ -00041a70: 6573 746f 7265 2050 7265 6c69 6e6b 6564  estore Prelinked
│ │ │ -00041a80: 2042 696e 6172 6965 730a 2020 616e 7369   Binaries.  ansi
│ │ │ -00041a90: 626c 652e 6275 696c 7469 6e2e 636f 6d6d  ble.builtin.comm
│ │ │ -00041aa0: 616e 643a 0a20 2020 2063 6d64 3a20 7072  and:.    cmd: pr
│ │ │ -00041ab0: 656c 696e 6b20 2d75 610a 2020 7768 656e  elink -ua.  when
│ │ │ -00041ac0: 3a20 7072 656c 696e 6b2e 7374 6174 2e65  : prelink.stat.e
│ │ │ -00041ad0: 7869 7374 730a 2020 7461 6773 3a0a 2020  xists.  tags:.  
│ │ │ -00041ae0: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ -00041af0: 6779 0a20 202d 206c 6f77 5f64 6973 7275  gy.  - low_disru
│ │ │ -00041b00: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -00041b10: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -00041b20: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ -00041b30: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -00041b40: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -00041b50: 5f70 7265 6c69 6e6b 5f72 656d 6f76 6564  _prelink_removed
│ │ │ -00041b60: 0a0a 2d20 6e61 6d65 3a20 456e 7375 7265  ..- name: Ensure
│ │ │ -00041b70: 2070 7265 6c69 6e6b 2069 7320 5265 6d6f   prelink is Remo
│ │ │ -00041b80: 7665 640a 2020 616e 7369 626c 652e 6275  ved.  ansible.bu
│ │ │ -00041b90: 696c 7469 6e2e 7061 636b 6167 653a 0a20  iltin.package:. 
│ │ │ -00041ba0: 2020 206e 616d 653a 2070 7265 6c69 6e6b     name: prelink
│ │ │ -00041bb0: 0a20 2020 2073 7461 7465 3a20 6162 7365  .    state: abse
│ │ │ -00041bc0: 6e74 0a20 2074 6167 733a 0a20 202d 2064  nt.  tags:.  - d
│ │ │ -00041bd0: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ -00041be0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -00041bf0: 6f6e 0a20 202d 206d 6564 6975 6d5f 636f  on.  - medium_co
│ │ │ -00041c00: 6d70 6c65 7869 7479 0a20 202d 206d 6564  mplexity.  - med
│ │ │ -00041c10: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ -00041c20: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -00041c30: 640a 2020 2d20 7061 636b 6167 655f 7072  d.  - package_pr
│ │ │ -00041c40: 656c 696e 6b5f 7265 6d6f 7665 640a 3c2f  elink_removed.
< │ │ │ +00041630: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +00041640: 793a 3c2f 7468 3e3c 7464 3e6d 6564 6975 y:mediu │ │ │ +00041650: 6d3c 2f74 643e 3c2f 7472 3e3c 7472 3e3c m< │ │ │ +00041660: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:low< │ │ │ +00041680: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>Rebo │ │ │ +00041690: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +000416a0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e< │ │ │ +000416b0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable

- name: │ │ │ +000416f0: 2043 6865 636b 2049 6620 5072 656c 696e Check If Prelin │ │ │ +00041700: 6b65 6420 4973 2049 6e73 7461 6c6c 6564 ked Is Installed │ │ │ +00041710: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74 . ansible.built │ │ │ +00041720: 696e 2e73 7461 743a 0a20 2020 2070 6174 in.stat:. pat │ │ │ +00041730: 683a 202f 7573 722f 7362 696e 2f70 7265 h: /usr/sbin/pre │ │ │ +00041740: 6c69 6e6b 0a20 2020 2067 6574 5f63 6865 link. get_che │ │ │ +00041750: 636b 7375 6d3a 2066 616c 7365 0a20 2072 cksum: false. r │ │ │ +00041760: 6567 6973 7465 723a 2070 7265 6c69 6e6b egister: prelink │ │ │ +00041770: 0a20 2074 6167 733a 0a20 202d 2064 6973 . tags:. - dis │ │ │ +00041780: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy. │ │ │ +00041790: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption │ │ │ +000417a0: 0a20 202d 206d 6564 6975 6d5f 636f 6d70 . - medium_comp │ │ │ +000417b0: 6c65 7869 7479 0a20 202d 206d 6564 6975 lexity. - mediu │ │ │ +000417c0: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n │ │ │ +000417d0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed. │ │ │ +000417e0: 2020 2d20 7061 636b 6167 655f 7072 656c - package_prel │ │ │ +000417f0: 696e 6b5f 7265 6d6f 7665 640a 0a2d 206e ink_removed..- n │ │ │ +00041800: 616d 653a 2052 6573 746f 7265 2050 7265 ame: Restore Pre │ │ │ +00041810: 6c69 6e6b 6564 2042 696e 6172 6965 730a linked Binaries. │ │ │ +00041820: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti │ │ │ +00041830: 6e2e 636f 6d6d 616e 643a 0a20 2020 2063 n.command:. c │ │ │ +00041840: 6d64 3a20 7072 656c 696e 6b20 2d75 610a md: prelink -ua. │ │ │ +00041850: 2020 7768 656e 3a20 7072 656c 696e 6b2e when: prelink. │ │ │ +00041860: 7374 6174 2e65 7869 7374 730a 2020 7461 stat.exists. ta │ │ │ +00041870: 6773 3a0a 2020 2d20 6469 7361 626c 655f gs:. - disable_ │ │ │ +00041880: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low │ │ │ +00041890: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. - │ │ │ +000418a0: 6d65 6469 756d 5f63 6f6d 706c 6578 6974 medium_complexit │ │ │ +000418b0: 790a 2020 2d20 6d65 6469 756d 5f73 6576 y. - medium_sev │ │ │ +000418c0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562 erity. - no_reb │ │ │ +000418d0: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p │ │ │ +000418e0: 6163 6b61 6765 5f70 7265 6c69 6e6b 5f72 ackage_prelink_r │ │ │ +000418f0: 656d 6f76 6564 0a0a 2d20 6e61 6d65 3a20 emoved..- name: │ │ │ +00041900: 456e 7375 7265 2070 7265 6c69 6e6b 2069 Ensure prelink i │ │ │ +00041910: 7320 5265 6d6f 7665 640a 2020 616e 7369 s Removed. ansi │ │ │ +00041920: 626c 652e 6275 696c 7469 6e2e 7061 636b ble.builtin.pack │ │ │ +00041930: 6167 653a 0a20 2020 206e 616d 653a 2070 age:. name: p │ │ │ +00041940: 7265 6c69 6e6b 0a20 2020 2073 7461 7465 relink. state │ │ │ +00041950: 3a20 6162 7365 6e74 0a20 2074 6167 733a : absent. tags: │ │ │ +00041960: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str │ │ │ +00041970: 6174 6567 790a 2020 2d20 6c6f 775f 6469 ategy. - low_di │ │ │ +00041980: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med │ │ │ +00041990: 6975 6d5f 636f 6d70 6c65 7869 7479 0a20 ium_complexity. │ │ │ +000419a0: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi │ │ │ +000419b0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot │ │ │ +000419c0: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack │ │ │ +000419d0: 6167 655f 7072 656c 696e 6b5f 7265 6d6f age_prelink_remo │ │ │ +000419e0: 7665 640a 3c2f 636f 6465 3e3c 2f70 7265 ved.

Remediatio │ │ │ +00041aa0: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ +00041ab0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
│ │ │ +00041b30: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +00041b40: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +00041b50: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +00041b90: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +00041ba0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +00041bc0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +00041bd0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include r
│ │ │ +00041bf0: 656d 6f76 655f 7072 656c 696e 6b0a 0a63  emove_prelink..c
│ │ │ +00041c00: 6c61 7373 2072 656d 6f76 655f 7072 656c  lass remove_prel
│ │ │ +00041c10: 696e 6b20 7b0a 2020 7061 636b 6167 6520  ink {.  package 
│ │ │ +00041c20: 7b20 2770 7265 6c69 6e6b 273a 0a20 2020  { 'prelink':.   
│ │ │ +00041c30: 2065 6e73 7572 6520 3d26 6774 3b20 2770   ensure => 'p
│ │ │ +00041c40: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f  urged',.  }.}.
Remediatio │ │ │ -0004bea0: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr │ │ │ -0004beb0: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...< │ │ │ -0004bec0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
.[[packages]
│ │ │ -0004bf10: 5d0a 6e61 6d65 203d 2022 7375 646f 220a  ].name = "sudo".
│ │ │ -0004bf20: 7665 7273 696f 6e20 3d20 222a 220a 3c2f  version = "*".
│ │ │ -0004bfe0: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ -0004bff0: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
Complexity: │ │ │ -0004c0d0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -0004c0e0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ -0004c130: 696e 636c 7564 6520 696e 7374 616c 6c5f  include install_
│ │ │ -0004c140: 7375 646f 0a0a 636c 6173 7320 696e 7374  sudo..class inst
│ │ │ -0004c150: 616c 6c5f 7375 646f 207b 0a20 2070 6163  all_sudo {.  pac
│ │ │ -0004c160: 6b61 6765 207b 2027 7375 646f 273a 0a20  kage { 'sudo':. 
│ │ │ -0004c170: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ -0004c180: 2769 6e73 7461 6c6c 6564 272c 0a20 207d  'installed',.  }
│ │ │ -0004c190: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ -0004c1a0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation │ │ │ -0004c250: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ -0004c260: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
│ │ │ -0004c2e0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ -0004c370: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
low
Disru │ │ │ -0004c0b0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -0004c0c0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -0004c100: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ -0004c110: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexi │ │ │ -0004c2f0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -0004c300: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ -0004c340: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -0004c350: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
│ │ │ -0004c390: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761  - name: Ga
│ │ │ -0004c3a0: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ -0004c3b0: 2066 6163 7473 0a20 2070 6163 6b61 6765   facts.  package
│ │ │ -0004c3c0: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61  _facts:.    mana
│ │ │ -0004c3d0: 6765 723a 2061 7574 6f0a 2020 7461 6773  ger: auto.  tags
│ │ │ -0004c3e0: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ -0004c3f0: 332d 434d 2d36 2861 290a 2020 2d20 5043  3-CM-6(a).  - PC
│ │ │ -0004c400: 492d 4453 5376 342d 322e 320a 2020 2d20  I-DSSv4-2.2.  - 
│ │ │ -0004c410: 5043 492d 4453 5376 342d 322e 322e 360a  PCI-DSSv4-2.2.6.
│ │ │ -0004c420: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -0004c430: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -0004c440: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -0004c450: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -0004c460: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -0004c470: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -0004c480: 6564 0a20 202d 2070 6163 6b61 6765 5f73  ed.  - package_s
│ │ │ -0004c490: 7564 6f5f 696e 7374 616c 6c65 640a 0a2d  udo_installed..-
│ │ │ -0004c4a0: 206e 616d 653a 2045 6e73 7572 6520 7375   name: Ensure su
│ │ │ -0004c4b0: 646f 2069 7320 696e 7374 616c 6c65 640a  do is installed.
│ │ │ -0004c4c0: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ -0004c4d0: 616d 653a 2073 7564 6f0a 2020 2020 7374  ame: sudo.    st
│ │ │ -0004c4e0: 6174 653a 2070 7265 7365 6e74 0a20 2077  ate: present.  w
│ │ │ -0004c4f0: 6865 6e3a 2027 226c 696e 7578 2d62 6173  hen: '"linux-bas
│ │ │ -0004c500: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ -0004c510: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ -0004c520: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ -0004c530: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ -0004c540: 2d20 5043 492d 4453 5376 342d 322e 320a  - PCI-DSSv4-2.2.
│ │ │ -0004c550: 2020 2d20 5043 492d 4453 5376 342d 322e    - PCI-DSSv4-2.
│ │ │ -0004c560: 322e 360a 2020 2d20 656e 6162 6c65 5f73  2.6.  - enable_s
│ │ │ -0004c570: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ -0004c580: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -0004c590: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -0004c5a0: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ -0004c5b0: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ -0004c5c0: 6e65 6564 6564 0a20 202d 2070 6163 6b61  needed.  - packa
│ │ │ -0004c5d0: 6765 5f73 7564 6f5f 696e 7374 616c 6c65  ge_sudo_installe
│ │ │ -0004c5e0: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +0004bea0: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ +0004beb0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
< │ │ │ +0004bef0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +0004bf00: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +0004bf10: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +0004bf20: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +0004bf30: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +0004bf40: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +0004bf50: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +0004bf90: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +0004bfa0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +0004bfc0: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ +0004bfd0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ +0004bff0: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ +0004c000: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ +0004c010: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ +0004c020: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ +0004c030: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +0004c040: 3533 2d43 4d2d 3628 6129 0a20 202d 2050  53-CM-6(a).  - P
│ │ │ +0004c050: 4349 2d44 5353 7634 2d32 2e32 0a20 202d  CI-DSSv4-2.2.  -
│ │ │ +0004c060: 2050 4349 2d44 5353 7634 2d32 2e32 2e36   PCI-DSSv4-2.2.6
│ │ │ +0004c070: 0a20 202d 2065 6e61 626c 655f 7374 7261  .  - enable_stra
│ │ │ +0004c080: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +0004c090: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +0004c0a0: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ +0004c0b0: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ +0004c0c0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +0004c0d0: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ +0004c0e0: 7375 646f 5f69 6e73 7461 6c6c 6564 0a0a  sudo_installed..
│ │ │ +0004c0f0: 2d20 6e61 6d65 3a20 456e 7375 7265 2073  - name: Ensure s
│ │ │ +0004c100: 7564 6f20 6973 2069 6e73 7461 6c6c 6564  udo is installed
│ │ │ +0004c110: 0a20 2070 6163 6b61 6765 3a0a 2020 2020  .  package:.    
│ │ │ +0004c120: 6e61 6d65 3a20 7375 646f 0a20 2020 2073  name: sudo.    s
│ │ │ +0004c130: 7461 7465 3a20 7072 6573 656e 740a 2020  tate: present.  
│ │ │ +0004c140: 7768 656e 3a20 2722 6c69 6e75 782d 6261  when: '"linux-ba
│ │ │ +0004c150: 7365 2220 696e 2061 6e73 6962 6c65 5f66  se" in ansible_f
│ │ │ +0004c160: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ +0004c170: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ +0004c180: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ +0004c190: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ +0004c1a0: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ +0004c1b0: 2e32 2e36 0a20 202d 2065 6e61 626c 655f  .2.6.  - enable_
│ │ │ +0004c1c0: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ +0004c1d0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +0004c1e0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +0004c1f0: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ +0004c200: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ +0004c210: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ +0004c220: 6167 655f 7375 646f 5f69 6e73 7461 6c6c  age_sudo_install
│ │ │ +0004c230: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e  ed.
│ │ │ +0004c240: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediation │ │ │ +0004c2f0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +0004c300: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
< │ │ │ +0004c380: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +0004c390: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +0004c3b0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +0004c3c0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +0004c3e0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +0004c400: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:enable
<
│ │ │ +0004c430: 636f 6465 3e69 6e63 6c75 6465 2069 6e73  code>include ins
│ │ │ +0004c440: 7461 6c6c 5f73 7564 6f0a 0a63 6c61 7373  tall_sudo..class
│ │ │ +0004c450: 2069 6e73 7461 6c6c 5f73 7564 6f20 7b0a   install_sudo {.
│ │ │ +0004c460: 2020 7061 636b 6167 6520 7b20 2773 7564    package { 'sud
│ │ │ +0004c470: 6f27 3a0a 2020 2020 656e 7375 7265 203d  o':.    ensure =
│ │ │ +0004c480: 2667 743b 2027 696e 7374 616c 6c65 6427  > 'installed'
│ │ │ +0004c490: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ +0004c4a0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remedi │ │ │ +0004c550: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl │ │ │ +0004c560: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet │ │ │ +0004c570: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
.[[packa │ │ │ +0004c5c0: 6765 735d 5d0a 6e61 6d65 203d 2022 7375 ges]].name = "su │ │ │ +0004c5d0: 646f 220a 7665 7273 696f 6e20 3d20 222a do".version = "* │ │ │ +0004c5e0: 220a 3c2f 636f 6465 3e3c 2f70 7265 3e3c ".
< │ │ │ 0004c5f0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -0007ebd0: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin │ │ │ -0007ebe0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
.[[packages]].
│ │ │ -0007ec40: 6e61 6d65 203d 2022 6c69 6270 616d 2d70  name = "libpam-p
│ │ │ -0007ec50: 7771 7561 6c69 7479 220a 7665 7273 696f  wquality".versio
│ │ │ -0007ec60: 6e20 3d20 222a 220a 3c2f 636f 6465 3e3c  n = "*".<
│ │ │ -0007ec70: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remedi │ │ │ -0007ed20: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ -0007ed30: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -0007ed40: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Comp │ │ │ -0007edc0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -0007edd0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -0007edf0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -0007ee10: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -0007ee20: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ -0007ee60: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ -0007ee70: 6520 696e 7374 616c 6c5f 6c69 6270 616d e install_libpam │ │ │ -0007ee80: 2d70 7771 7561 6c69 7479 0a0a 636c 6173 -pwquality..clas │ │ │ -0007ee90: 7320 696e 7374 616c 6c5f 6c69 6270 616d s install_libpam │ │ │ -0007eea0: 2d70 7771 7561 6c69 7479 207b 0a20 2070 -pwquality {. p │ │ │ -0007eeb0: 6163 6b61 6765 207b 2027 6c69 6270 616d ackage { 'libpam │ │ │ -0007eec0: 2d70 7771 7561 6c69 7479 273a 0a20 2020 -pwquality':. │ │ │ -0007eed0: 2065 6e73 7572 6520 3d26 6774 3b20 2769 ensure => 'i │ │ │ -0007eee0: 6e73 7461 6c6c 6564 272c 0a20 207d 0a7d nstalled',. }.} │ │ │ -0007eef0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
Remediation A │ │ │ -0007efb0: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet . │ │ │ -0007efc0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
Complexity │ │ │ -0007f050: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -0007f070: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -0007f080: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -0007f090: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -0007f0a0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -0007f0c0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
- name: Gath
│ │ │ -0007f100: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ -0007f110: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ -0007f120: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ -0007f130: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ -0007f140: 2020 2d20 4449 5341 2d53 5449 472d 5542    - DISA-STIG-UB
│ │ │ -0007f150: 5455 2d32 302d 3031 3030 3537 0a20 202d  TU-20-010057.  -
│ │ │ -0007f160: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ -0007f170: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -0007f180: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -0007f190: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ -0007f1a0: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ -0007f1b0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -0007f1c0: 2020 2d20 7061 636b 6167 655f 7061 6d5f    - package_pam_
│ │ │ -0007f1d0: 7077 7175 616c 6974 795f 696e 7374 616c  pwquality_instal
│ │ │ -0007f1e0: 6c65 640a 0a2d 206e 616d 653a 2045 6e73  led..- name: Ens
│ │ │ -0007f1f0: 7572 6520 6c69 6270 616d 2d70 7771 7561  ure libpam-pwqua
│ │ │ -0007f200: 6c69 7479 2069 7320 696e 7374 616c 6c65  lity is installe
│ │ │ -0007f210: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ -0007f220: 206e 616d 653a 206c 6962 7061 6d2d 7077   name: libpam-pw
│ │ │ -0007f230: 7175 616c 6974 790a 2020 2020 7374 6174  quality.    stat
│ │ │ -0007f240: 653a 2070 7265 7365 6e74 0a20 2077 6865  e: present.  whe
│ │ │ -0007f250: 6e3a 2027 226c 6962 7061 6d2d 7275 6e74  n: '"libpam-runt
│ │ │ -0007f260: 696d 6522 2069 6e20 616e 7369 626c 655f  ime" in ansible_
│ │ │ -0007f270: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -0007f280: 2020 7461 6773 3a0a 2020 2d20 4449 5341    tags:.  - DISA
│ │ │ -0007f290: 2d53 5449 472d 5542 5455 2d32 302d 3031  -STIG-UBTU-20-01
│ │ │ -0007f2a0: 3030 3537 0a20 202d 2065 6e61 626c 655f  0057.  - enable_
│ │ │ -0007f2b0: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -0007f2c0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -0007f2d0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -0007f2e0: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ -0007f2f0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -0007f300: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ -0007f310: 6167 655f 7061 6d5f 7077 7175 616c 6974  age_pam_pwqualit
│ │ │ -0007f320: 795f 696e 7374 616c 6c65 640a 3c2f 636f  y_installed.
< │ │ │ +0007ec60: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +0007ec70: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +0007ec90: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +0007eca0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +0007ecc0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +0007ece0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:enable
<
│ │ │ +0007ed10: 636f 6465 3e2d 206e 616d 653a 2047 6174  code>- name: Gat
│ │ │ +0007ed20: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ +0007ed30: 6661 6374 730a 2020 7061 636b 6167 655f  facts.  package_
│ │ │ +0007ed40: 6661 6374 733a 0a20 2020 206d 616e 6167  facts:.    manag
│ │ │ +0007ed50: 6572 3a20 6175 746f 0a20 2074 6167 733a  er: auto.  tags:
│ │ │ +0007ed60: 0a20 202d 2044 4953 412d 5354 4947 2d55  .  - DISA-STIG-U
│ │ │ +0007ed70: 4254 552d 3230 2d30 3130 3035 370a 2020  BTU-20-010057.  
│ │ │ +0007ed80: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ +0007ed90: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +0007eda0: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +0007edb0: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ +0007edc0: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ +0007edd0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +0007ede0: 0a20 202d 2070 6163 6b61 6765 5f70 616d  .  - package_pam
│ │ │ +0007edf0: 5f70 7771 7561 6c69 7479 5f69 6e73 7461  _pwquality_insta
│ │ │ +0007ee00: 6c6c 6564 0a0a 2d20 6e61 6d65 3a20 456e  lled..- name: En
│ │ │ +0007ee10: 7375 7265 206c 6962 7061 6d2d 7077 7175  sure libpam-pwqu
│ │ │ +0007ee20: 616c 6974 7920 6973 2069 6e73 7461 6c6c  ality is install
│ │ │ +0007ee30: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ +0007ee40: 2020 6e61 6d65 3a20 6c69 6270 616d 2d70    name: libpam-p
│ │ │ +0007ee50: 7771 7561 6c69 7479 0a20 2020 2073 7461  wquality.    sta
│ │ │ +0007ee60: 7465 3a20 7072 6573 656e 740a 2020 7768  te: present.  wh
│ │ │ +0007ee70: 656e 3a20 2722 6c69 6270 616d 2d72 756e  en: '"libpam-run
│ │ │ +0007ee80: 7469 6d65 2220 696e 2061 6e73 6962 6c65  time" in ansible
│ │ │ +0007ee90: 5f66 6163 7473 2e70 6163 6b61 6765 7327  _facts.packages'
│ │ │ +0007eea0: 0a20 2074 6167 733a 0a20 202d 2044 4953  .  tags:.  - DIS
│ │ │ +0007eeb0: 412d 5354 4947 2d55 4254 552d 3230 2d30  A-STIG-UBTU-20-0
│ │ │ +0007eec0: 3130 3035 370a 2020 2d20 656e 6162 6c65  10057.  - enable
│ │ │ +0007eed0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ +0007eee0: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ +0007eef0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ +0007ef00: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ +0007ef10: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ +0007ef20: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ +0007ef30: 6b61 6765 5f70 616d 5f70 7771 7561 6c69  kage_pam_pwquali
│ │ │ +0007ef40: 7479 5f69 6e73 7461 6c6c 6564 0a3c 2f63  ty_installed.
│ │ │ +0007ef60: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 R │ │ │ +0007f000: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +0007f010: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
< │ │ │ +0007f0f0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +0007f100: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
i
│ │ │ +0007f150: 6e63 6c75 6465 2069 6e73 7461 6c6c 5f6c  nclude install_l
│ │ │ +0007f160: 6962 7061 6d2d 7077 7175 616c 6974 790a  ibpam-pwquality.
│ │ │ +0007f170: 0a63 6c61 7373 2069 6e73 7461 6c6c 5f6c  .class install_l
│ │ │ +0007f180: 6962 7061 6d2d 7077 7175 616c 6974 7920  ibpam-pwquality 
│ │ │ +0007f190: 7b0a 2020 7061 636b 6167 6520 7b20 276c  {.  package { 'l
│ │ │ +0007f1a0: 6962 7061 6d2d 7077 7175 616c 6974 7927  ibpam-pwquality'
│ │ │ +0007f1b0: 3a0a 2020 2020 656e 7375 7265 203d 2667  :.    ensure =&g
│ │ │ +0007f1c0: 743b 2027 696e 7374 616c 6c65 6427 2c0a  t; 'installed',.
│ │ │ +0007f1d0: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remediat │ │ │ +0007f290: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue │ │ │ +0007f2a0: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet .. │ │ │ +0007f2b0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
│ │ │ +0007f2f0: 3c63 6f64 653e 0a5b 5b70 6163 6b61 6765  .[[package
│ │ │ +0007f300: 735d 5d0a 6e61 6d65 203d 2022 6c69 6270  s]].name = "libp
│ │ │ +0007f310: 616d 2d70 7771 7561 6c69 7479 220a 7665  am-pwquality".ve
│ │ │ +0007f320: 7273 696f 6e20 3d20 222a 220a 3c2f 636f  rsion = "*".
< │ │ │ 0007f340: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 0007f350: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 0007f360: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 0007f370: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 0007f380: 646d 3438 3737 2220 7461 6269 6e64 6578 dm4877" tabindex │ │ │ 0007f390: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ @@ -45037,117 +45037,117 @@ │ │ │ 000afec0: 7073 6522 2064 6174 612d 7461 7267 6574 pse" data-target │ │ │ 000afed0: 3d22 2369 646d 3933 3531 2220 7461 6269 ="#idm9351" tabi │ │ │ 000afee0: 6e64 6578 3d22 3022 2072 6f6c 653d 2262 ndex="0" role="b │ │ │ 000afef0: 7574 746f 6e22 2061 7269 612d 6578 7061 utton" aria-expa │ │ │ 000aff00: 6e64 6564 3d22 6661 6c73 6522 2074 6974 nded="false" tit │ │ │ 000aff10: 6c65 3d22 4163 7469 7661 7465 2074 6f20 le="Activate to │ │ │ 000aff20: 7265 7665 616c 2220 6872 6566 3d22 2321 reveal" href="#! │ │ │ -000aff30: 223e 5265 6d65 6469 6174 696f 6e20 4f53 ">Remediation OS │ │ │ -000aff40: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint │ │ │ -000aff50: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -000aff60: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>

│ │ │ -000affa0: 0a5b 5b70 6163 6b61 6765 735d 5d0a 6e61  .[[packages]].na
│ │ │ -000affb0: 6d65 203d 2022 6170 7061 726d 6f72 220a  me = "apparmor".
│ │ │ -000affc0: 7665 7273 696f 6e20 3d20 222a 220a 3c2f  version = "*".
│ │ │ -000b0080: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ -000b0090: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
Complexity:low
Disrup │ │ │ +0007f0d0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +0007f0e0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +0007f120: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +0007f130: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexity: │ │ │ -000b0170: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -000b0180: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ -000b01d0: 696e 636c 7564 6520 696e 7374 616c 6c5f  include install_
│ │ │ -000b01e0: 6170 7061 726d 6f72 0a0a 636c 6173 7320  apparmor..class 
│ │ │ -000b01f0: 696e 7374 616c 6c5f 6170 7061 726d 6f72  install_apparmor
│ │ │ -000b0200: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ -000b0210: 6170 7061 726d 6f72 273a 0a20 2020 2065  apparmor':.    e
│ │ │ -000b0220: 6e73 7572 6520 3d26 6774 3b20 2769 6e73  nsure => 'ins
│ │ │ -000b0230: 7461 6c6c 6564 272c 0a20 207d 0a7d 0a3c  talled',.  }.}.<
│ │ │ -000b0240: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Ans │ │ │ -000b0300: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -000b0310: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low
Disru │ │ │ -000b0150: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -000b0160: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -000b01a0: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ -000b01b0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -000b0390: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -000b03b0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -000b0400: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ -000b0430: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Ensure
│ │ │ -000b0450: 2061 7070 6172 6d6f 7220 6973 2069 6e73   apparmor is ins
│ │ │ -000b0460: 7461 6c6c 6564 0a20 2070 6163 6b61 6765  talled.  package
│ │ │ -000b0470: 3a0a 2020 2020 6e61 6d65 3a20 6170 7061  :.    name: appa
│ │ │ -000b0480: 726d 6f72 0a20 2020 2073 7461 7465 3a20  rmor.    state: 
│ │ │ -000b0490: 7072 6573 656e 740a 2020 7768 656e 3a20  present.  when: 
│ │ │ -000b04a0: 616e 7369 626c 655f 7669 7274 7561 6c69  ansible_virtuali
│ │ │ -000b04b0: 7a61 7469 6f6e 5f74 7970 6520 6e6f 7420  zation_type not 
│ │ │ -000b04c0: 696e 205b 2264 6f63 6b65 7222 2c20 226c  in ["docker", "l
│ │ │ -000b04d0: 7863 222c 2022 6f70 656e 767a 222c 2022  xc", "openvz", "
│ │ │ -000b04e0: 706f 646d 616e 222c 2022 636f 6e74 6169  podman", "contai
│ │ │ -000b04f0: 6e65 7222 5d0a 2020 7461 6773 3a0a 2020  ner"].  tags:.  
│ │ │ -000b0500: 2d20 4449 5341 2d53 5449 472d 5542 5455  - DISA-STIG-UBTU
│ │ │ -000b0510: 2d32 302d 3031 3034 3339 0a20 202d 2065  -20-010439.  - e
│ │ │ -000b0520: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ -000b0530: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -000b0540: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -000b0550: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ -000b0560: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -000b0570: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -000b0580: 2d20 7061 636b 6167 655f 6170 7061 726d  - package_apparm
│ │ │ -000b0590: 6f72 5f69 6e73 7461 6c6c 6564 0a3c 2f63  or_installed.Remediation An
│ │ │ +000aff40: 7369 626c 6520 736e 6970 7065 7420 e287  sible snippet ..
│ │ │ +000aff50: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c  .
low< │ │ │ +000b0020: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr> │ │ │ +000b0070: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -000b03a0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -000b03c0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -000b0410: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ -000b0420: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
Complexity: │ │ │ +000affe0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ +000b0000: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ +000b0050: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +000b0060: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
- name: Ensur
│ │ │ +000b0090: 6520 6170 7061 726d 6f72 2069 7320 696e  e apparmor is in
│ │ │ +000b00a0: 7374 616c 6c65 640a 2020 7061 636b 6167  stalled.  packag
│ │ │ +000b00b0: 653a 0a20 2020 206e 616d 653a 2061 7070  e:.    name: app
│ │ │ +000b00c0: 6172 6d6f 720a 2020 2020 7374 6174 653a  armor.    state:
│ │ │ +000b00d0: 2070 7265 7365 6e74 0a20 2077 6865 6e3a   present.  when:
│ │ │ +000b00e0: 2061 6e73 6962 6c65 5f76 6972 7475 616c   ansible_virtual
│ │ │ +000b00f0: 697a 6174 696f 6e5f 7479 7065 206e 6f74  ization_type not
│ │ │ +000b0100: 2069 6e20 5b22 646f 636b 6572 222c 2022   in ["docker", "
│ │ │ +000b0110: 6c78 6322 2c20 226f 7065 6e76 7a22 2c20  lxc", "openvz", 
│ │ │ +000b0120: 2270 6f64 6d61 6e22 2c20 2263 6f6e 7461  "podman", "conta
│ │ │ +000b0130: 696e 6572 225d 0a20 2074 6167 733a 0a20  iner"].  tags:. 
│ │ │ +000b0140: 202d 2044 4953 412d 5354 4947 2d55 4254   - DISA-STIG-UBT
│ │ │ +000b0150: 552d 3230 2d30 3130 3433 390a 2020 2d20  U-20-010439.  - 
│ │ │ +000b0160: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ +000b0170: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +000b0180: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +000b0190: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ +000b01a0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +000b01b0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +000b01c0: 202d 2070 6163 6b61 6765 5f61 7070 6172   - package_appar
│ │ │ +000b01d0: 6d6f 725f 696e 7374 616c 6c65 640a 3c2f  mor_installed.
│ │ │ +000b0290: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ +000b02a0: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
Complexity: │ │ │ +000b0380: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +000b0390: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ +000b03e0: 696e 636c 7564 6520 696e 7374 616c 6c5f  include install_
│ │ │ +000b03f0: 6170 7061 726d 6f72 0a0a 636c 6173 7320  apparmor..class 
│ │ │ +000b0400: 696e 7374 616c 6c5f 6170 7061 726d 6f72  install_apparmor
│ │ │ +000b0410: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ +000b0420: 6170 7061 726d 6f72 273a 0a20 2020 2065  apparmor':.    e
│ │ │ +000b0430: 6e73 7572 6520 3d26 6774 3b20 2769 6e73  nsure => 'ins
│ │ │ +000b0440: 7461 6c6c 6564 272c 0a20 207d 0a7d 0a3c  talled',.  }.}.<
│ │ │ +000b0450: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation OSB │ │ │ +000b0510: 7569 6c64 2042 6c75 6570 7269 6e74 2073 uild Blueprint s │ │ │ +000b0520: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
.
│ │ │ +000b0570: 5b5b 7061 636b 6167 6573 5d5d 0a6e 616d  [[packages]].nam
│ │ │ +000b0580: 6520 3d20 2261 7070 6172 6d6f 7222 0a76  e = "apparmor".v
│ │ │ +000b0590: 6572 7369 6f6e 203d 2022 2a22 0a3c 2f63  ersion = "*".
│ │ │ 000b05b0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Remediat │ │ │ -000c2fc0: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue │ │ │ -000c2fd0: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet .. │ │ │ -000c2fe0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
.[[packag
│ │ │ -000c3030: 6573 5d5d 0a6e 616d 6520 3d20 2272 7379  es]].name = "rsy
│ │ │ -000c3040: 736c 6f67 220a 7665 7273 696f 6e20 3d20  slog".version = 
│ │ │ -000c3050: 222a 220a 3c2f 636f 6465 3e3c 2f70 7265  "*".
Remediati │ │ │ -000c3110: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -000c3120: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -000c3160: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
low
Disru │ │ │ +000b0360: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +000b0370: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +000b03b0: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ +000b03c0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
< │ │ │ -000c31d0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -000c31f0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -000c3220: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -000c3240: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -000c31b0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -000c31c0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -000c3200: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -000c3210: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ -000c3260: 696e 7374 616c 6c5f 7273 7973 6c6f 670a install_rsyslog. │ │ │ -000c3270: 0a63 6c61 7373 2069 6e73 7461 6c6c 5f72 .class install_r │ │ │ -000c3280: 7379 736c 6f67 207b 0a20 2070 6163 6b61 syslog {. packa │ │ │ -000c3290: 6765 207b 2027 7273 7973 6c6f 6727 3a0a ge { 'rsyslog':. │ │ │ -000c32a0: 2020 2020 656e 7375 7265 203d 2667 743b ensure => │ │ │ -000c32b0: 2027 696e 7374 616c 6c65 6427 2c0a 2020 'installed',. │ │ │ -000c32c0: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}.
Remediati │ │ │ -000c3380: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -000c3390: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -000c3440: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -000c3460: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -000c3490: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -000c3420: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -000c3430: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -000c3450: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -000c3470: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -000c3480: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

- name: │ │ │ -000c34d0: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack │ │ │ -000c34e0: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack │ │ │ -000c34f0: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m │ │ │ -000c3500: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t │ │ │ -000c3510: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80 │ │ │ -000c3520: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). - │ │ │ -000c3530: 2065 6e61 626c 655f 7374 7261 7465 6779 enable_strategy │ │ │ -000c3540: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex │ │ │ -000c3550: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr │ │ │ -000c3560: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu │ │ │ -000c3570: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n │ │ │ -000c3580: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed. │ │ │ -000c3590: 2020 2d20 7061 636b 6167 655f 7273 7973 - package_rsys │ │ │ -000c35a0: 6c6f 675f 696e 7374 616c 6c65 640a 0a2d log_installed..- │ │ │ -000c35b0: 206e 616d 653a 2045 6e73 7572 6520 7273 name: Ensure rs │ │ │ -000c35c0: 7973 6c6f 6720 6973 2069 6e73 7461 6c6c yslog is install │ │ │ -000c35d0: 6564 0a20 2070 6163 6b61 6765 3a0a 2020 ed. package:. │ │ │ -000c35e0: 2020 6e61 6d65 3a20 7273 7973 6c6f 670a name: rsyslog. │ │ │ -000c35f0: 2020 2020 7374 6174 653a 2070 7265 7365 state: prese │ │ │ -000c3600: 6e74 0a20 2077 6865 6e3a 2027 226c 696e nt. when: '"lin │ │ │ -000c3610: 7578 2d62 6173 6522 2069 6e20 616e 7369 ux-base" in ansi │ │ │ -000c3620: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag │ │ │ -000c3630: 6573 270a 2020 7461 6773 3a0a 2020 2d20 es'. tags:. - │ │ │ -000c3640: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6 │ │ │ -000c3650: 2861 290a 2020 2d20 656e 6162 6c65 5f73 (a). - enable_s │ │ │ -000c3660: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_ │ │ │ -000c3670: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l │ │ │ -000c3680: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption. │ │ │ -000c3690: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit │ │ │ -000c36a0: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_ │ │ │ -000c36b0: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa │ │ │ -000c36c0: 6765 5f72 7379 736c 6f67 5f69 6e73 7461 ge_rsyslog_insta │ │ │ -000c36d0: 6c6c 6564 0a3c 2f63 6f64 653e 3c2f 7072 lled.
< │ │ │ +000c2fe0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +000c2ff0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +000c3000: 7365 2220 6964 3d22 6964 6d31 3037 3636 se" id="idm10766 │ │ │ +000c3010: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ +000c3060: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +000c3070: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +000c3090: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +000c30b0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +000c30c0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ +000c3100: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +000c3110: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ +000c3120: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac │ │ │ +000c3130: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ +000c3140: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto. │ │ │ +000c3150: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8 │ │ │ +000c3160: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a). │ │ │ +000c3170: 2d20 656e 6162 6c65 5f73 7472 6174 6567 - enable_strateg │ │ │ +000c3180: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple │ │ │ +000c3190: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis │ │ │ +000c31a0: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi │ │ │ +000c31b0: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. - │ │ │ +000c31c0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed │ │ │ +000c31d0: 0a20 202d 2070 6163 6b61 6765 5f72 7379 . - package_rsy │ │ │ +000c31e0: 736c 6f67 5f69 6e73 7461 6c6c 6564 0a0a slog_installed.. │ │ │ +000c31f0: 2d20 6e61 6d65 3a20 456e 7375 7265 2072 - name: Ensure r │ │ │ +000c3200: 7379 736c 6f67 2069 7320 696e 7374 616c syslog is instal │ │ │ +000c3210: 6c65 640a 2020 7061 636b 6167 653a 0a20 led. package:. │ │ │ +000c3220: 2020 206e 616d 653a 2072 7379 736c 6f67 name: rsyslog │ │ │ +000c3230: 0a20 2020 2073 7461 7465 3a20 7072 6573 . state: pres │ │ │ +000c3240: 656e 740a 2020 7768 656e 3a20 2722 6c69 ent. when: '"li │ │ │ +000c3250: 6e75 782d 6261 7365 2220 696e 2061 6e73 nux-base" in ans │ │ │ +000c3260: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa │ │ │ +000c3270: 6765 7327 0a20 2074 6167 733a 0a20 202d ges'. tags:. - │ │ │ +000c3280: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM- │ │ │ +000c3290: 3628 6129 0a20 202d 2065 6e61 626c 655f 6(a). - enable_ │ │ │ +000c32a0: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low │ │ │ +000c32b0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. - │ │ │ +000c32c0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption. │ │ │ +000c32d0: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi │ │ │ +000c32e0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot │ │ │ +000c32f0: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack │ │ │ +000c3300: 6167 655f 7273 7973 6c6f 675f 696e 7374 age_rsyslog_inst │ │ │ +000c3310: 616c 6c65 640a 3c2f 636f 6465 3e3c 2f70 alled.

Remedia │ │ │ +000c33d0: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ +000c33e0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +000c33f0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +000c3400: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +000c3410: 7365 2220 6964 3d22 6964 6d31 3037 3637 se" id="idm10767 │ │ │ +000c3420: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ +000c3470: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +000c3480: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +000c34a0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +000c34c0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +000c34d0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ +000c3510: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ +000c3520: 6520 696e 7374 616c 6c5f 7273 7973 6c6f e install_rsyslo │ │ │ +000c3530: 670a 0a63 6c61 7373 2069 6e73 7461 6c6c g..class install │ │ │ +000c3540: 5f72 7379 736c 6f67 207b 0a20 2070 6163 _rsyslog {. pac │ │ │ +000c3550: 6b61 6765 207b 2027 7273 7973 6c6f 6727 kage { 'rsyslog' │ │ │ +000c3560: 3a0a 2020 2020 656e 7375 7265 203d 2667 :. ensure =&g │ │ │ +000c3570: 743b 2027 696e 7374 616c 6c65 6427 2c0a t; 'installed',. │ │ │ +000c3580: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.

Remedia │ │ │ +000c3640: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu │ │ │ +000c3650: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet . │ │ │ +000c3660: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
.[[packa │ │ │ +000c36b0: 6765 735d 5d0a 6e61 6d65 203d 2022 7273 ges]].name = "rs │ │ │ +000c36c0: 7973 6c6f 6722 0a76 6572 7369 6f6e 203d yslog".version = │ │ │ +000c36d0: 2022 2a22 0a3c 2f63 6f64 653e 3c2f 7072 "*".
R │ │ │ -000c4a40: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui │ │ │ -000c4a50: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni │ │ │ -000c4a60: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -000c4a70: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
.[
│ │ │ -000c4ab0: 6375 7374 6f6d 697a 6174 696f 6e73 2e73  customizations.s
│ │ │ -000c4ac0: 6572 7669 6365 735d 0a65 6e61 626c 6564  ervices].enabled
│ │ │ -000c4ad0: 203d 205b 2272 7379 736c 6f67 225d 0a3c   = ["rsyslog"].<
│ │ │ -000c4ae0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ -000c4ba0: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ -000c4bb0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ -000c4c40: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -000c4c60: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ -000c4c80: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ -000c4cb0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -000c4cc0: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ -000c4cd0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include enabl
│ │ │ -000c4cf0: 655f 7273 7973 6c6f 670a 0a63 6c61 7373  e_rsyslog..class
│ │ │ -000c4d00: 2065 6e61 626c 655f 7273 7973 6c6f 6720   enable_rsyslog 
│ │ │ -000c4d10: 7b0a 2020 7365 7276 6963 6520 7b27 7273  {.  service {'rs
│ │ │ -000c4d20: 7973 6c6f 6727 3a0a 2020 2020 656e 6162  yslog':.    enab
│ │ │ -000c4d30: 6c65 203d 2667 743b 2074 7275 652c 0a20  le => true,. 
│ │ │ -000c4d40: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ -000c4d50: 2772 756e 6e69 6e67 272c 0a20 207d 0a7d  'running',.  }.}
│ │ │ -000c4d60: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -000c4e20: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -000c4e30: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -000c4eb0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -000c4ec0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -000c4ed0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -000c4f10: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -000c4f20: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -000c4f40: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ -000c4f60: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761  - name: Ga
│ │ │ -000c4f70: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ -000c4f80: 2066 6163 7473 0a20 2070 6163 6b61 6765   facts.  package
│ │ │ -000c4f90: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61  _facts:.    mana
│ │ │ -000c4fa0: 6765 723a 2061 7574 6f0a 2020 7461 6773  ger: auto.  tags
│ │ │ -000c4fb0: 3a0a 2020 2d20 4449 5341 2d53 5449 472d  :.  - DISA-STIG-
│ │ │ -000c4fc0: 5542 5455 2d32 302d 3031 3034 3332 0a20  UBTU-20-010432. 
│ │ │ -000c4fd0: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ -000c4fe0: 552d 3428 3129 0a20 202d 204e 4953 542d  U-4(1).  - NIST-
│ │ │ -000c4ff0: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ -000c5000: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ -000c5010: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ -000c5020: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -000c5030: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ -000c5040: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ -000c5050: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -000c5060: 640a 2020 2d20 7365 7276 6963 655f 7273  d.  - service_rs
│ │ │ -000c5070: 7973 6c6f 675f 656e 6162 6c65 640a 0a2d  yslog_enabled..-
│ │ │ -000c5080: 206e 616d 653a 2045 6e61 626c 6520 7273   name: Enable rs
│ │ │ -000c5090: 7973 6c6f 6720 5365 7276 6963 6520 2d20  yslog Service - 
│ │ │ -000c50a0: 456e 6162 6c65 2073 6572 7669 6365 2072  Enable service r
│ │ │ -000c50b0: 7379 736c 6f67 0a20 2062 6c6f 636b 3a0a  syslog.  block:.
│ │ │ -000c50c0: 0a20 202d 206e 616d 653a 2047 6174 6865  .  - name: Gathe
│ │ │ -000c50d0: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ -000c50e0: 6374 730a 2020 2020 7061 636b 6167 655f  cts.    package_
│ │ │ -000c50f0: 6661 6374 733a 0a20 2020 2020 206d 616e  facts:.      man
│ │ │ -000c5100: 6167 6572 3a20 6175 746f 0a0a 2020 2d20  ager: auto..  - 
│ │ │ -000c5110: 6e61 6d65 3a20 456e 6162 6c65 2072 7379  name: Enable rsy
│ │ │ -000c5120: 736c 6f67 2053 6572 7669 6365 202d 2045  slog Service - E
│ │ │ -000c5130: 6e61 626c 6520 5365 7276 6963 6520 7273  nable Service rs
│ │ │ -000c5140: 7973 6c6f 670a 2020 2020 616e 7369 626c  yslog.    ansibl
│ │ │ -000c5150: 652e 6275 696c 7469 6e2e 7379 7374 656d  e.builtin.system
│ │ │ -000c5160: 643a 0a20 2020 2020 206e 616d 653a 2072  d:.      name: r
│ │ │ -000c5170: 7379 736c 6f67 0a20 2020 2020 2065 6e61  syslog.      ena
│ │ │ -000c5180: 626c 6564 3a20 7472 7565 0a20 2020 2020  bled: true.     
│ │ │ -000c5190: 2073 7461 7465 3a20 7374 6172 7465 640a   state: started.
│ │ │ -000c51a0: 2020 2020 2020 6d61 736b 6564 3a20 6661        masked: fa
│ │ │ -000c51b0: 6c73 650a 2020 2020 7768 656e 3a0a 2020  lse.    when:.  
│ │ │ -000c51c0: 2020 2d20 2722 7273 7973 6c6f 6722 2069    - '"rsyslog" i
│ │ │ -000c51d0: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ -000c51e0: 7061 636b 6167 6573 270a 2020 7768 656e  packages'.  when
│ │ │ -000c51f0: 3a20 2722 6c69 6e75 782d 6261 7365 2220  : '"linux-base" 
│ │ │ -000c5200: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -000c5210: 2e70 6163 6b61 6765 7327 0a20 2074 6167  .packages'.  tag
│ │ │ -000c5220: 733a 0a20 202d 2044 4953 412d 5354 4947  s:.  - DISA-STIG
│ │ │ -000c5230: 2d55 4254 552d 3230 2d30 3130 3433 320a  -UBTU-20-010432.
│ │ │ -000c5240: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -000c5250: 4155 2d34 2831 290a 2020 2d20 4e49 5354  AU-4(1).  - NIST
│ │ │ -000c5260: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ -000c5270: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -000c5280: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -000c5290: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -000c52a0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -000c52b0: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -000c52c0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -000c52d0: 6564 0a20 202d 2073 6572 7669 6365 5f72  ed.  - service_r
│ │ │ -000c52e0: 7379 736c 6f67 5f65 6e61 626c 6564 0a3c  syslog_enabled.<
│ │ │ +000c4a40: 656d 6564 6961 7469 6f6e 2041 6e73 6962  emediation Ansib
│ │ │ +000c4a50: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f  le snippet ...
< │ │ │ +000c4ae0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +000c4b00: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +000c4b50: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
- name: Gather 
│ │ │ +000c4ba0: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ +000c4bb0: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ +000c4bc0: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ +000c4bd0: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ +000c4be0: 2044 4953 412d 5354 4947 2d55 4254 552d   DISA-STIG-UBTU-
│ │ │ +000c4bf0: 3230 2d30 3130 3433 320a 2020 2d20 4e49  20-010432.  - NI
│ │ │ +000c4c00: 5354 2d38 3030 2d35 332d 4155 2d34 2831  ST-800-53-AU-4(1
│ │ │ +000c4c10: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +000c4c20: 332d 434d 2d36 2861 290a 2020 2d20 656e  3-CM-6(a).  - en
│ │ │ +000c4c30: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +000c4c40: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +000c4c50: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +000c4c60: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ +000c4c70: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +000c4c80: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +000c4c90: 2073 6572 7669 6365 5f72 7379 736c 6f67   service_rsyslog
│ │ │ +000c4ca0: 5f65 6e61 626c 6564 0a0a 2d20 6e61 6d65  _enabled..- name
│ │ │ +000c4cb0: 3a20 456e 6162 6c65 2072 7379 736c 6f67  : Enable rsyslog
│ │ │ +000c4cc0: 2053 6572 7669 6365 202d 2045 6e61 626c   Service - Enabl
│ │ │ +000c4cd0: 6520 7365 7276 6963 6520 7273 7973 6c6f  e service rsyslo
│ │ │ +000c4ce0: 670a 2020 626c 6f63 6b3a 0a0a 2020 2d20  g.  block:..  - 
│ │ │ +000c4cf0: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ +000c4d00: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ +000c4d10: 2020 2070 6163 6b61 6765 5f66 6163 7473     package_facts
│ │ │ +000c4d20: 3a0a 2020 2020 2020 6d61 6e61 6765 723a  :.      manager:
│ │ │ +000c4d30: 2061 7574 6f0a 0a20 202d 206e 616d 653a   auto..  - name:
│ │ │ +000c4d40: 2045 6e61 626c 6520 7273 7973 6c6f 6720   Enable rsyslog 
│ │ │ +000c4d50: 5365 7276 6963 6520 2d20 456e 6162 6c65  Service - Enable
│ │ │ +000c4d60: 2053 6572 7669 6365 2072 7379 736c 6f67   Service rsyslog
│ │ │ +000c4d70: 0a20 2020 2061 6e73 6962 6c65 2e62 7569  .    ansible.bui
│ │ │ +000c4d80: 6c74 696e 2e73 7973 7465 6d64 3a0a 2020  ltin.systemd:.  
│ │ │ +000c4d90: 2020 2020 6e61 6d65 3a20 7273 7973 6c6f      name: rsyslo
│ │ │ +000c4da0: 670a 2020 2020 2020 656e 6162 6c65 643a  g.      enabled:
│ │ │ +000c4db0: 2074 7275 650a 2020 2020 2020 7374 6174   true.      stat
│ │ │ +000c4dc0: 653a 2073 7461 7274 6564 0a20 2020 2020  e: started.     
│ │ │ +000c4dd0: 206d 6173 6b65 643a 2066 616c 7365 0a20   masked: false. 
│ │ │ +000c4de0: 2020 2077 6865 6e3a 0a20 2020 202d 2027     when:.    - '
│ │ │ +000c4df0: 2272 7379 736c 6f67 2220 696e 2061 6e73  "rsyslog" in ans
│ │ │ +000c4e00: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ +000c4e10: 6765 7327 0a20 2077 6865 6e3a 2027 226c  ges'.  when: '"l
│ │ │ +000c4e20: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ +000c4e30: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +000c4e40: 6167 6573 270a 2020 7461 6773 3a0a 2020  ages'.  tags:.  
│ │ │ +000c4e50: 2d20 4449 5341 2d53 5449 472d 5542 5455  - DISA-STIG-UBTU
│ │ │ +000c4e60: 2d32 302d 3031 3034 3332 0a20 202d 204e  -20-010432.  - N
│ │ │ +000c4e70: 4953 542d 3830 302d 3533 2d41 552d 3428  IST-800-53-AU-4(
│ │ │ +000c4e80: 3129 0a20 202d 204e 4953 542d 3830 302d  1).  - NIST-800-
│ │ │ +000c4e90: 3533 2d43 4d2d 3628 6129 0a20 202d 2065  53-CM-6(a).  - e
│ │ │ +000c4ea0: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ +000c4eb0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +000c4ec0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +000c4ed0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +000c4ee0: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +000c4ef0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +000c4f00: 2d20 7365 7276 6963 655f 7273 7973 6c6f  - service_rsyslo
│ │ │ +000c4f10: 675f 656e 6162 6c65 640a 3c2f 636f 6465  g_enabled.
Rem │ │ │ +000c4fd0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ +000c4fe0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +000c4ff0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
low
Disr │ │ │ +000c4b10: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +000c4b20: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +000c4b60: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ +000c4b70: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ +000c5080: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
in
│ │ │ +000c5120: 636c 7564 6520 656e 6162 6c65 5f72 7379  clude enable_rsy
│ │ │ +000c5130: 736c 6f67 0a0a 636c 6173 7320 656e 6162  slog..class enab
│ │ │ +000c5140: 6c65 5f72 7379 736c 6f67 207b 0a20 2073  le_rsyslog {.  s
│ │ │ +000c5150: 6572 7669 6365 207b 2772 7379 736c 6f67  ervice {'rsyslog
│ │ │ +000c5160: 273a 0a20 2020 2065 6e61 626c 6520 3d26  ':.    enable =&
│ │ │ +000c5170: 6774 3b20 7472 7565 2c0a 2020 2020 656e  gt; true,.    en
│ │ │ +000c5180: 7375 7265 203d 2667 743b 2027 7275 6e6e  sure => 'runn
│ │ │ +000c5190: 696e 6727 2c0a 2020 7d0a 7d0a 3c2f 636f  ing',.  }.}.
< │ │ │ +000c51b0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +000c51c0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +000c51d0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +000c51e0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +000c51f0: 646d 3130 3835 3722 2074 6162 696e 6465 dm10857" tabinde │ │ │ +000c5200: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +000c5210: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +000c5220: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +000c5230: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +000c5240: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +000c5250: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui │ │ │ +000c5260: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni │ │ │ +000c5270: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +000c5280: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
.[
│ │ │ +000c52c0: 6375 7374 6f6d 697a 6174 696f 6e73 2e73  customizations.s
│ │ │ +000c52d0: 6572 7669 6365 735d 0a65 6e61 626c 6564  ervices].enabled
│ │ │ +000c52e0: 203d 205b 2272 7379 736c 6f67 225d 0a3c   = ["rsyslog"].<
│ │ │  000c52f0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remed │ │ │ -000ceb00: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B │ │ │ -000ceb10: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet │ │ │ -000ceb20: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -000ceb60: 7072 653e 3c63 6f64 653e 0a5b 5b70 6163 pre>.[[pac │ │ │ -000ceb70: 6b61 6765 735d 5d0a 6e61 6d65 203d 2022 kages]].name = " │ │ │ -000ceb80: 6970 7461 626c 6573 2d70 6572 7369 7374 iptables-persist │ │ │ -000ceb90: 656e 7422 0a76 6572 7369 6f6e 203d 2022 ent".version = " │ │ │ -000ceba0: 2a22 0a3c 2f63 6f64 653e 3c2f 7072 653e *". │ │ │ -000cebb0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ -000cec60: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ -000cec70: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -000cecb0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -000cecc0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -000cecd0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -000cece0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -000cecf0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ -000ced80: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c < │ │ │ -000ced90: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
│ │ │ +000c5070: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +000c50a0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +000c50b0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +000c50f0: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ +000c5100: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complex │ │ │ -000ced00: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -000ced10: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ -000ced50: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -000ced60: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
enable
include i
│ │ │ -000cedb0: 6e73 7461 6c6c 5f69 7074 6162 6c65 732d  nstall_iptables-
│ │ │ -000cedc0: 7065 7273 6973 7465 6e74 0a0a 636c 6173  persistent..clas
│ │ │ -000cedd0: 7320 696e 7374 616c 6c5f 6970 7461 626c  s install_iptabl
│ │ │ -000cede0: 6573 2d70 6572 7369 7374 656e 7420 7b0a  es-persistent {.
│ │ │ -000cedf0: 2020 7061 636b 6167 6520 7b20 2769 7074    package { 'ipt
│ │ │ -000cee00: 6162 6c65 732d 7065 7273 6973 7465 6e74  ables-persistent
│ │ │ -000cee10: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ -000cee20: 6774 3b20 2769 6e73 7461 6c6c 6564 272c  gt; 'installed',
│ │ │ -000cee30: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.
Remedi │ │ │ -000ceef0: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn │ │ │ -000cef00: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -000cefb0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -000cf000: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ -000cef90: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -000cefc0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -000cefe0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -000ceff0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -000cf010: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ -000cf020: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -000cf040: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ -000cf050: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ -000cf060: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ -000cf070: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ -000cf080: 2020 7461 6773 3a0a 2020 2d20 656e 6162    tags:.  - enab
│ │ │ -000cf090: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -000cf0a0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -000cf0b0: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -000cf0c0: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ -000cf0d0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -000cf0e0: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ -000cf0f0: 6163 6b61 6765 5f69 7074 6162 6c65 732d  ackage_iptables-
│ │ │ -000cf100: 7065 7273 6973 7465 6e74 5f69 6e73 7461  persistent_insta
│ │ │ -000cf110: 6c6c 6564 0a0a 2d20 6e61 6d65 3a20 456e  lled..- name: En
│ │ │ -000cf120: 7375 7265 2069 7074 6162 6c65 732d 7065  sure iptables-pe
│ │ │ -000cf130: 7273 6973 7465 6e74 2069 7320 696e 7374  rsistent is inst
│ │ │ -000cf140: 616c 6c65 640a 2020 7061 636b 6167 653a  alled.  package:
│ │ │ -000cf150: 0a20 2020 206e 616d 653a 2069 7074 6162  .    name: iptab
│ │ │ -000cf160: 6c65 732d 7065 7273 6973 7465 6e74 0a20  les-persistent. 
│ │ │ -000cf170: 2020 2073 7461 7465 3a20 7072 6573 656e     state: presen
│ │ │ -000cf180: 740a 2020 7768 656e 3a20 2722 6970 7461  t.  when: '"ipta
│ │ │ -000cf190: 626c 6573 2220 696e 2061 6e73 6962 6c65  bles" in ansible
│ │ │ -000cf1a0: 5f66 6163 7473 2e70 6163 6b61 6765 7327  _facts.packages'
│ │ │ -000cf1b0: 0a20 2074 6167 733a 0a20 202d 2065 6e61  .  tags:.  - ena
│ │ │ -000cf1c0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -000cf1d0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -000cf1e0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -000cf1f0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -000cf200: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -000cf210: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -000cf220: 7061 636b 6167 655f 6970 7461 626c 6573  package_iptables
│ │ │ -000cf230: 2d70 6572 7369 7374 656e 745f 696e 7374  -persistent_inst
│ │ │ -000cf240: 616c 6c65 640a 3c2f 636f 6465 3e3c 2f70  alled.

< │ │ │ +000cebb0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +000cebc0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +000cec10: 3c74 723e 3c74 683e 5374 7261 7465 6779
- n
│ │ │ +000cec50: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ +000cec60: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ +000cec70: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ +000cec80: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ +000cec90: 0a20 2074 6167 733a 0a20 202d 2065 6e61  .  tags:.  - ena
│ │ │ +000ceca0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +000cecb0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +000cecc0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +000cecd0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ +000cece0: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +000cecf0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +000ced00: 7061 636b 6167 655f 6970 7461 626c 6573  package_iptables
│ │ │ +000ced10: 2d70 6572 7369 7374 656e 745f 696e 7374  -persistent_inst
│ │ │ +000ced20: 616c 6c65 640a 0a2d 206e 616d 653a 2045  alled..- name: E
│ │ │ +000ced30: 6e73 7572 6520 6970 7461 626c 6573 2d70  nsure iptables-p
│ │ │ +000ced40: 6572 7369 7374 656e 7420 6973 2069 6e73  ersistent is ins
│ │ │ +000ced50: 7461 6c6c 6564 0a20 2070 6163 6b61 6765  talled.  package
│ │ │ +000ced60: 3a0a 2020 2020 6e61 6d65 3a20 6970 7461  :.    name: ipta
│ │ │ +000ced70: 626c 6573 2d70 6572 7369 7374 656e 740a  bles-persistent.
│ │ │ +000ced80: 2020 2020 7374 6174 653a 2070 7265 7365      state: prese
│ │ │ +000ced90: 6e74 0a20 2077 6865 6e3a 2027 2269 7074  nt.  when: '"ipt
│ │ │ +000ceda0: 6162 6c65 7322 2069 6e20 616e 7369 626c  ables" in ansibl
│ │ │ +000cedb0: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +000cedc0: 270a 2020 7461 6773 3a0a 2020 2d20 656e  '.  tags:.  - en
│ │ │ +000cedd0: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +000cede0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +000cedf0: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +000cee00: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ +000cee10: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +000cee20: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +000cee30: 2070 6163 6b61 6765 5f69 7074 6162 6c65   package_iptable
│ │ │ +000cee40: 732d 7065 7273 6973 7465 6e74 5f69 6e73  s-persistent_ins
│ │ │ +000cee50: 7461 6c6c 6564 0a3c 2f63 6f64 653e 3c2f  talled.Remedi
│ │ │ +000cef10: 6174 696f 6e20 5075 7070 6574 2073 6e69  ation Puppet sni
│ │ │ +000cef20: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e  ppet ...
│ │ │ +000cef30: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
C │ │ │ +000ceba0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +000cebd0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +000cebe0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +000cec20: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ +000cec30: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Com │ │ │ +000cefb0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +000cefe0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +000cf000: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +000cf010: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +000cf030: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ +000cf050: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +000cf060: 6465 2069 6e73 7461 6c6c 5f69 7074 6162  de install_iptab
│ │ │ +000cf070: 6c65 732d 7065 7273 6973 7465 6e74 0a0a  les-persistent..
│ │ │ +000cf080: 636c 6173 7320 696e 7374 616c 6c5f 6970  class install_ip
│ │ │ +000cf090: 7461 626c 6573 2d70 6572 7369 7374 656e  tables-persisten
│ │ │ +000cf0a0: 7420 7b0a 2020 7061 636b 6167 6520 7b20  t {.  package { 
│ │ │ +000cf0b0: 2769 7074 6162 6c65 732d 7065 7273 6973  'iptables-persis
│ │ │ +000cf0c0: 7465 6e74 273a 0a20 2020 2065 6e73 7572  tent':.    ensur
│ │ │ +000cf0d0: 6520 3d26 6774 3b20 2769 6e73 7461 6c6c  e => 'install
│ │ │ +000cf0e0: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ed',.  }.}.
Re │ │ │ +000cf1a0: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil │ │ │ +000cf1b0: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip │ │ │ +000cf1c0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +000cf1d0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +000cf1e0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +000cf1f0: 7365 2220 6964 3d22 6964 6d31 3137 3034 se" id="idm11704 │ │ │ +000cf200: 223e 3c70 7265 3e3c 636f 6465 3e0a 5b5b ">
.[[
│ │ │ +000cf210: 7061 636b 6167 6573 5d5d 0a6e 616d 6520  packages]].name 
│ │ │ +000cf220: 3d20 2269 7074 6162 6c65 732d 7065 7273  = "iptables-pers
│ │ │ +000cf230: 6973 7465 6e74 220a 7665 7273 696f 6e20  istent".version 
│ │ │ +000cf240: 3d20 222a 220a 3c2f 636f 6465 3e3c 2f70  = "*".

Remedi │ │ │ -000cff60: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl │ │ │ -000cff70: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet │ │ │ -000cff80: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...

.[[pack │ │ │ -000cffd0: 6167 6573 5d5d 0a6e 616d 6520 3d20 2269 ages]].name = "i │ │ │ -000cffe0: 7074 6162 6c65 7322 0a76 6572 7369 6f6e ptables".version │ │ │ -000cfff0: 203d 2022 2a22 0a3c 2f63 6f64 653e 3c2f = "*".

Remedi │ │ │ -000d00b0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ -000d00c0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -000d00d0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -000d0150: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -000d0180: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -000d01a0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -000d01b0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -000d01d0: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ -000d01f0: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -000d0200: 6465 2069 6e73 7461 6c6c 5f69 7074 6162  de install_iptab
│ │ │ -000d0210: 6c65 730a 0a63 6c61 7373 2069 6e73 7461  les..class insta
│ │ │ -000d0220: 6c6c 5f69 7074 6162 6c65 7320 7b0a 2020  ll_iptables {.  
│ │ │ -000d0230: 7061 636b 6167 6520 7b20 2769 7074 6162  package { 'iptab
│ │ │ -000d0240: 6c65 7327 3a0a 2020 2020 656e 7375 7265  les':.    ensure
│ │ │ -000d0250: 203d 2667 743b 2027 696e 7374 616c 6c65   => 'installe
│ │ │ -000d0260: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Rem │ │ │ -000d0320: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ -000d0330: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -000d0340: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -000d0410: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -000d0420: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
-
│ │ │ -000d0470: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ -000d0480: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ -000d0490: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ -000d04a0: 0a20 2020 206d 616e 6167 6572 3a20 6175  .    manager: au
│ │ │ -000d04b0: 746f 0a20 2074 6167 733a 0a20 202d 204e  to.  tags:.  - N
│ │ │ -000d04c0: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -000d04d0: 6129 0a20 202d 2050 4349 2d44 5353 2d52  a).  - PCI-DSS-R
│ │ │ -000d04e0: 6571 2d31 2e34 2e31 0a20 202d 2065 6e61  eq-1.4.1.  - ena
│ │ │ -000d04f0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -000d0500: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -000d0510: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -000d0520: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -000d0530: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -000d0540: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -000d0550: 7061 636b 6167 655f 6970 7461 626c 6573  package_iptables
│ │ │ -000d0560: 5f69 6e73 7461 6c6c 6564 0a0a 2d20 6e61  _installed..- na
│ │ │ -000d0570: 6d65 3a20 456e 7375 7265 2069 7074 6162  me: Ensure iptab
│ │ │ -000d0580: 6c65 7320 6973 2069 6e73 7461 6c6c 6564  les is installed
│ │ │ -000d0590: 0a20 2070 6163 6b61 6765 3a0a 2020 2020  .  package:.    
│ │ │ -000d05a0: 6e61 6d65 3a20 6970 7461 626c 6573 0a20  name: iptables. 
│ │ │ -000d05b0: 2020 2073 7461 7465 3a20 7072 6573 656e     state: presen
│ │ │ -000d05c0: 740a 2020 7768 656e 3a20 2820 226c 696e  t.  when: ( "lin
│ │ │ -000d05d0: 7578 2d62 6173 6522 2069 6e20 616e 7369  ux-base" in ansi
│ │ │ -000d05e0: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -000d05f0: 6573 2029 0a20 2074 6167 733a 0a20 202d  es ).  tags:.  -
│ │ │ -000d0600: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -000d0610: 3628 6129 0a20 202d 2050 4349 2d44 5353  6(a).  - PCI-DSS
│ │ │ -000d0620: 2d52 6571 2d31 2e34 2e31 0a20 202d 2065  -Req-1.4.1.  - e
│ │ │ -000d0630: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ -000d0640: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -000d0650: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -000d0660: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ -000d0670: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -000d0680: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -000d0690: 2d20 7061 636b 6167 655f 6970 7461 626c  - package_iptabl
│ │ │ -000d06a0: 6573 5f69 6e73 7461 6c6c 6564 0a3c 2f63  es_installed.
Complexity:low
Disrup │ │ │ -000d03f0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -000d0400: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -000d0440: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ -000d0450: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
low< │ │ │ +000d0020: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +000d0070: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ +000d0000: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +000d0030: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +000d0050: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +000d0060: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +000d0080: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ +000d0090: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +000d00b0: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ +000d00c0: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ +000d00d0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ +000d00e0: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ +000d00f0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ +000d0100: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ +000d0110: 2020 2d20 5043 492d 4453 532d 5265 712d    - PCI-DSS-Req-
│ │ │ +000d0120: 312e 342e 310a 2020 2d20 656e 6162 6c65  1.4.1.  - enable
│ │ │ +000d0130: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ +000d0140: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ +000d0150: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ +000d0160: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ +000d0170: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ +000d0180: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ +000d0190: 6b61 6765 5f69 7074 6162 6c65 735f 696e  kage_iptables_in
│ │ │ +000d01a0: 7374 616c 6c65 640a 0a2d 206e 616d 653a  stalled..- name:
│ │ │ +000d01b0: 2045 6e73 7572 6520 6970 7461 626c 6573   Ensure iptables
│ │ │ +000d01c0: 2069 7320 696e 7374 616c 6c65 640a 2020   is installed.  
│ │ │ +000d01d0: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ +000d01e0: 653a 2069 7074 6162 6c65 730a 2020 2020  e: iptables.    
│ │ │ +000d01f0: 7374 6174 653a 2070 7265 7365 6e74 0a20  state: present. 
│ │ │ +000d0200: 2077 6865 6e3a 2028 2022 6c69 6e75 782d   when: ( "linux-
│ │ │ +000d0210: 6261 7365 2220 696e 2061 6e73 6962 6c65  base" in ansible
│ │ │ +000d0220: 5f66 6163 7473 2e70 6163 6b61 6765 7320  _facts.packages 
│ │ │ +000d0230: 290a 2020 7461 6773 3a0a 2020 2d20 4e49  ).  tags:.  - NI
│ │ │ +000d0240: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +000d0250: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ +000d0260: 712d 312e 342e 310a 2020 2d20 656e 6162  q-1.4.1.  - enab
│ │ │ +000d0270: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +000d0280: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +000d0290: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +000d02a0: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ +000d02b0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +000d02c0: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ +000d02d0: 6163 6b61 6765 5f69 7074 6162 6c65 735f  ackage_iptables_
│ │ │ +000d02e0: 696e 7374 616c 6c65 640a 3c2f 636f 6465  installed.
Rem │ │ │ +000d03a0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ +000d03b0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +000d03c0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ +000d0450: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
in
│ │ │ +000d04f0: 636c 7564 6520 696e 7374 616c 6c5f 6970  clude install_ip
│ │ │ +000d0500: 7461 626c 6573 0a0a 636c 6173 7320 696e  tables..class in
│ │ │ +000d0510: 7374 616c 6c5f 6970 7461 626c 6573 207b  stall_iptables {
│ │ │ +000d0520: 0a20 2070 6163 6b61 6765 207b 2027 6970  .  package { 'ip
│ │ │ +000d0530: 7461 626c 6573 273a 0a20 2020 2065 6e73  tables':.    ens
│ │ │ +000d0540: 7572 6520 3d26 6774 3b20 2769 6e73 7461  ure => 'insta
│ │ │ +000d0550: 6c6c 6564 272c 0a20 207d 0a7d 0a3c 2f63  lled',.  }.}.
│ │ │ +000d0570: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +000d0610: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu │ │ │ +000d0620: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn │ │ │ +000d0630: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.
│ │ │ +000d0680: 5b5b 7061 636b 6167 6573 5d5d 0a6e 616d  [[packages]].nam
│ │ │ +000d0690: 6520 3d20 2269 7074 6162 6c65 7322 0a76  e = "iptables".v
│ │ │ +000d06a0: 6572 7369 6f6e 203d 2022 2a22 0a3c 2f63  ersion = "*".
│ │ │ 000d06c0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Remediation │ │ │ -000d1240: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -000d1250: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -000d12d0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ -000d1310: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 disable
│ │ │ +000d0440: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +000d0470: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +000d0480: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +000d04c0: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ +000d04d0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexit │ │ │ -000d12e0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ -000d1300: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ -000d1330: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -000d1350: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
│ │ │ -000d1380: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ -000d1390: 6d6f 7665 5f69 7074 6162 6c65 732d 7065  move_iptables-pe
│ │ │ -000d13a0: 7273 6973 7465 6e74 0a0a 636c 6173 7320  rsistent..class 
│ │ │ -000d13b0: 7265 6d6f 7665 5f69 7074 6162 6c65 732d  remove_iptables-
│ │ │ -000d13c0: 7065 7273 6973 7465 6e74 207b 0a20 2070  persistent {.  p
│ │ │ -000d13d0: 6163 6b61 6765 207b 2027 6970 7461 626c  ackage { 'iptabl
│ │ │ -000d13e0: 6573 2d70 6572 7369 7374 656e 7427 3a0a  es-persistent':.
│ │ │ -000d13f0: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -000d1400: 2027 7075 7267 6564 272c 0a20 207d 0a7d   'purged',.  }.}
│ │ │ -000d1410: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -000d14d0: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -000d14e0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -000d1560: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -000d1570: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -000d1580: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -000d15c0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -000d15d0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -000d15f0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -000d1600: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ -000d1620: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ -000d1630: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ -000d1640: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ -000d1650: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ -000d1660: 733a 0a20 202d 2064 6973 6162 6c65 5f73  s:.  - disable_s
│ │ │ -000d1670: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ -000d1680: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -000d1690: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -000d16a0: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ -000d16b0: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ -000d16c0: 6e65 6564 6564 0a20 202d 2070 6163 6b61  needed.  - packa
│ │ │ -000d16d0: 6765 5f69 7074 6162 6c65 732d 7065 7273  ge_iptables-pers
│ │ │ -000d16e0: 6973 7465 6e74 5f72 656d 6f76 6564 0a0a  istent_removed..
│ │ │ -000d16f0: 2d20 6e61 6d65 3a20 456e 7375 7265 2069  - name: Ensure i
│ │ │ -000d1700: 7074 6162 6c65 732d 7065 7273 6973 7465  ptables-persiste
│ │ │ -000d1710: 6e74 2069 7320 7265 6d6f 7665 640a 2020  nt is removed.  
│ │ │ -000d1720: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ -000d1730: 653a 2069 7074 6162 6c65 732d 7065 7273  e: iptables-pers
│ │ │ -000d1740: 6973 7465 6e74 0a20 2020 2073 7461 7465  istent.    state
│ │ │ -000d1750: 3a20 6162 7365 6e74 0a20 2077 6865 6e3a  : absent.  when:
│ │ │ -000d1760: 2027 2275 6677 2220 696e 2061 6e73 6962   '"ufw" in ansib
│ │ │ -000d1770: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -000d1780: 7327 0a20 2074 6167 733a 0a20 202d 2064  s'.  tags:.  - d
│ │ │ -000d1790: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ -000d17a0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -000d17b0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -000d17c0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -000d17d0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -000d17e0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -000d17f0: 202d 2070 6163 6b61 6765 5f69 7074 6162   - package_iptab
│ │ │ -000d1800: 6c65 732d 7065 7273 6973 7465 6e74 5f72  les-persistent_r
│ │ │ -000d1810: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f  emoved.
│ │ │ +000d12d0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +000d12e0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +000d12f0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +000d1330: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +000d1340: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +000d1360: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +000d1370: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ +000d1390: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ +000d13a0: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ +000d13b0: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ +000d13c0: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ +000d13d0: 733a 0a20 202d 2064 6973 6162 6c65 5f73  s:.  - disable_s
│ │ │ +000d13e0: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ +000d13f0: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ +000d1400: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ +000d1410: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ +000d1420: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ +000d1430: 6e65 6564 6564 0a20 202d 2070 6163 6b61  needed.  - packa
│ │ │ +000d1440: 6765 5f69 7074 6162 6c65 732d 7065 7273  ge_iptables-pers
│ │ │ +000d1450: 6973 7465 6e74 5f72 656d 6f76 6564 0a0a  istent_removed..
│ │ │ +000d1460: 2d20 6e61 6d65 3a20 456e 7375 7265 2069  - name: Ensure i
│ │ │ +000d1470: 7074 6162 6c65 732d 7065 7273 6973 7465  ptables-persiste
│ │ │ +000d1480: 6e74 2069 7320 7265 6d6f 7665 640a 2020  nt is removed.  
│ │ │ +000d1490: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ +000d14a0: 653a 2069 7074 6162 6c65 732d 7065 7273  e: iptables-pers
│ │ │ +000d14b0: 6973 7465 6e74 0a20 2020 2073 7461 7465  istent.    state
│ │ │ +000d14c0: 3a20 6162 7365 6e74 0a20 2077 6865 6e3a  : absent.  when:
│ │ │ +000d14d0: 2027 2275 6677 2220 696e 2061 6e73 6962   '"ufw" in ansib
│ │ │ +000d14e0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +000d14f0: 7327 0a20 2074 6167 733a 0a20 202d 2064  s'.  tags:.  - d
│ │ │ +000d1500: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ +000d1510: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +000d1520: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +000d1530: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ +000d1540: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +000d1550: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +000d1560: 202d 2070 6163 6b61 6765 5f69 7074 6162   - package_iptab
│ │ │ +000d1570: 6c65 732d 7065 7273 6973 7465 6e74 5f72  les-persistent_r
│ │ │ +000d1580: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f  emoved.
Remedi │ │ │ +000d1640: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ +000d1650: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +000d1660: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +000d16e0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +000d1710: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +000d1730: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +000d1740: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +000d1760: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +000d1770: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +000d1790: 7564 6520 7265 6d6f 7665 5f69 7074 6162  ude remove_iptab
│ │ │ +000d17a0: 6c65 732d 7065 7273 6973 7465 6e74 0a0a  les-persistent..
│ │ │ +000d17b0: 636c 6173 7320 7265 6d6f 7665 5f69 7074  class remove_ipt
│ │ │ +000d17c0: 6162 6c65 732d 7065 7273 6973 7465 6e74  ables-persistent
│ │ │ +000d17d0: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ +000d17e0: 6970 7461 626c 6573 2d70 6572 7369 7374  iptables-persist
│ │ │ +000d17f0: 656e 7427 3a0a 2020 2020 656e 7375 7265  ent':.    ensure
│ │ │ +000d1800: 203d 2667 743b 2027 7075 7267 6564 272c   => 'purged',
│ │ │ +000d1810: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.
Remediati │ │ │ -001127e0: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep │ │ │ -001127f0: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ... │ │ │ -00112800: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ -00112840: 3c63 6f64 653e 0a5b 5b70 6163 6b61 6765  .[[package
│ │ │ -00112850: 735d 5d0a 6e61 6d65 203d 2022 6e66 7461  s]].name = "nfta
│ │ │ -00112860: 626c 6573 220a 7665 7273 696f 6e20 3d20  bles".version = 
│ │ │ -00112870: 222a 220a 3c2f 636f 6465 3e3c 2f70 7265  "*".
Remediati │ │ │ -00112930: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -00112940: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -00112980: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -001129f0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -00112a10: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -00112a40: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -00112a60: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -001129d0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -001129e0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -00112a20: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -00112a30: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ -00112a80: 696e 7374 616c 6c5f 6e66 7461 626c 6573 install_nftables │ │ │ -00112a90: 0a0a 636c 6173 7320 696e 7374 616c 6c5f ..class install_ │ │ │ -00112aa0: 6e66 7461 626c 6573 207b 0a20 2070 6163 nftables {. pac │ │ │ -00112ab0: 6b61 6765 207b 2027 6e66 7461 626c 6573 kage { 'nftables │ │ │ -00112ac0: 273a 0a20 2020 2065 6e73 7572 6520 3d26 ':. ensure =& │ │ │ -00112ad0: 6774 3b20 2769 6e73 7461 6c6c 6564 272c gt; 'installed', │ │ │ -00112ae0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.
Remedi │ │ │ -00112ba0: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn │ │ │ -00112bb0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -00112c60: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -00112cb0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ -00112c40: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -00112c70: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -00112c90: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -00112ca0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -00112cc0: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ -00112cd0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -00112cf0: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ -00112d00: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ -00112d10: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ -00112d20: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ -00112d30: 2020 7461 6773 3a0a 2020 2d20 5043 492d    tags:.  - PCI-
│ │ │ -00112d40: 4453 5376 342d 312e 320a 2020 2d20 5043  DSSv4-1.2.  - PC
│ │ │ -00112d50: 492d 4453 5376 342d 312e 322e 310a 2020  I-DSSv4-1.2.1.  
│ │ │ -00112d60: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ -00112d70: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -00112d80: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -00112d90: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ -00112da0: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ -00112db0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -00112dc0: 0a20 202d 2070 6163 6b61 6765 5f6e 6674  .  - package_nft
│ │ │ -00112dd0: 6162 6c65 735f 696e 7374 616c 6c65 640a  ables_installed.
│ │ │ -00112de0: 0a2d 206e 616d 653a 2045 6e73 7572 6520  .- name: Ensure 
│ │ │ -00112df0: 6e66 7461 626c 6573 2069 7320 696e 7374  nftables is inst
│ │ │ -00112e00: 616c 6c65 640a 2020 7061 636b 6167 653a  alled.  package:
│ │ │ -00112e10: 0a20 2020 206e 616d 653a 206e 6674 6162  .    name: nftab
│ │ │ -00112e20: 6c65 730a 2020 2020 7374 6174 653a 2070  les.    state: p
│ │ │ -00112e30: 7265 7365 6e74 0a20 2077 6865 6e3a 2028  resent.  when: (
│ │ │ -00112e40: 2022 6c69 6e75 782d 6261 7365 2220 696e   "linux-base" in
│ │ │ -00112e50: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ -00112e60: 6163 6b61 6765 7320 290a 2020 7461 6773  ackages ).  tags
│ │ │ -00112e70: 3a0a 2020 2d20 5043 492d 4453 5376 342d  :.  - PCI-DSSv4-
│ │ │ -00112e80: 312e 320a 2020 2d20 5043 492d 4453 5376  1.2.  - PCI-DSSv
│ │ │ -00112e90: 342d 312e 322e 310a 2020 2d20 656e 6162  4-1.2.1.  - enab
│ │ │ -00112ea0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -00112eb0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -00112ec0: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -00112ed0: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ -00112ee0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -00112ef0: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ -00112f00: 6163 6b61 6765 5f6e 6674 6162 6c65 735f  ackage_nftables_
│ │ │ -00112f10: 696e 7374 616c 6c65 640a 3c2f 636f 6465  installed.
│ │ │ +001128a0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +001128c0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +001128f0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +00112880: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +00112890: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +001128b0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +001128d0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +001128e0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

- name: │ │ │ +00112930: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack │ │ │ +00112940: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack │ │ │ +00112950: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m │ │ │ +00112960: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t │ │ │ +00112970: 6167 733a 0a20 202d 2050 4349 2d44 5353 ags:. - PCI-DSS │ │ │ +00112980: 7634 2d31 2e32 0a20 202d 2050 4349 2d44 v4-1.2. - PCI-D │ │ │ +00112990: 5353 7634 2d31 2e32 2e31 0a20 202d 2065 SSv4-1.2.1. - e │ │ │ +001129a0: 6e61 626c 655f 7374 7261 7465 6779 0a20 nable_strategy. │ │ │ +001129b0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit │ │ │ +001129c0: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup │ │ │ +001129d0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_ │ │ │ +001129e0: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_ │ │ │ +001129f0: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed. │ │ │ +00112a00: 2d20 7061 636b 6167 655f 6e66 7461 626c - package_nftabl │ │ │ +00112a10: 6573 5f69 6e73 7461 6c6c 6564 0a0a 2d20 es_installed..- │ │ │ +00112a20: 6e61 6d65 3a20 456e 7375 7265 206e 6674 name: Ensure nft │ │ │ +00112a30: 6162 6c65 7320 6973 2069 6e73 7461 6c6c ables is install │ │ │ +00112a40: 6564 0a20 2070 6163 6b61 6765 3a0a 2020 ed. package:. │ │ │ +00112a50: 2020 6e61 6d65 3a20 6e66 7461 626c 6573 name: nftables │ │ │ +00112a60: 0a20 2020 2073 7461 7465 3a20 7072 6573 . state: pres │ │ │ +00112a70: 656e 740a 2020 7768 656e 3a20 2820 226c ent. when: ( "l │ │ │ +00112a80: 696e 7578 2d62 6173 6522 2069 6e20 616e inux-base" in an │ │ │ +00112a90: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack │ │ │ +00112aa0: 6167 6573 2029 0a20 2074 6167 733a 0a20 ages ). tags:. │ │ │ +00112ab0: 202d 2050 4349 2d44 5353 7634 2d31 2e32 - PCI-DSSv4-1.2 │ │ │ +00112ac0: 0a20 202d 2050 4349 2d44 5353 7634 2d31 . - PCI-DSSv4-1 │ │ │ +00112ad0: 2e32 2e31 0a20 202d 2065 6e61 626c 655f .2.1. - enable_ │ │ │ +00112ae0: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low │ │ │ +00112af0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. - │ │ │ +00112b00: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption. │ │ │ +00112b10: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi │ │ │ +00112b20: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot │ │ │ +00112b30: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack │ │ │ +00112b40: 6167 655f 6e66 7461 626c 6573 5f69 6e73 age_nftables_ins │ │ │ +00112b50: 7461 6c6c 6564 0a3c 2f63 6f64 653e 3c2f talled.

Remedi │ │ │ +00112c10: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ +00112c20: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +00112c30: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +00112cb0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +00112ce0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +00112d00: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +00112d10: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +00112d30: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ +00112d50: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +00112d60: 6465 2069 6e73 7461 6c6c 5f6e 6674 6162  de install_nftab
│ │ │ +00112d70: 6c65 730a 0a63 6c61 7373 2069 6e73 7461  les..class insta
│ │ │ +00112d80: 6c6c 5f6e 6674 6162 6c65 7320 7b0a 2020  ll_nftables {.  
│ │ │ +00112d90: 7061 636b 6167 6520 7b20 276e 6674 6162  package { 'nftab
│ │ │ +00112da0: 6c65 7327 3a0a 2020 2020 656e 7375 7265  les':.    ensure
│ │ │ +00112db0: 203d 2667 743b 2027 696e 7374 616c 6c65   => 'installe
│ │ │ +00112dc0: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Rem │ │ │ +00112e80: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild │ │ │ +00112e90: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp │ │ │ +00112ea0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[[p
│ │ │ +00112ef0: 6163 6b61 6765 735d 5d0a 6e61 6d65 203d  ackages]].name =
│ │ │ +00112f00: 2022 6e66 7461 626c 6573 220a 7665 7273   "nftables".vers
│ │ │ +00112f10: 696f 6e20 3d20 222a 220a 3c2f 636f 6465  ion = "*".
Rem │ │ │ -00113ac0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ -00113ad0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -00113ae0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ -00113b70: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
i
│ │ │ -00113c10: 6e63 6c75 6465 2072 656d 6f76 655f 6e66  nclude remove_nf
│ │ │ -00113c20: 7461 626c 6573 0a0a 636c 6173 7320 7265  tables..class re
│ │ │ -00113c30: 6d6f 7665 5f6e 6674 6162 6c65 7320 7b0a  move_nftables {.
│ │ │ -00113c40: 2020 7061 636b 6167 6520 7b20 276e 6674    package { 'nft
│ │ │ -00113c50: 6162 6c65 7327 3a0a 2020 2020 656e 7375  ables':.    ensu
│ │ │ -00113c60: 7265 203d 2667 743b 2027 7075 7267 6564  re => 'purged
│ │ │ -00113c70: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │ -00113c80: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ -00113d30: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible │ │ │ -00113d40: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -00113d50: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ -00113b60: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -00113b90: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -00113ba0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -00113be0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ -00113bf0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
│ │ │ -00113de0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
-
│ │ │ -00113e80: 206e 616d 653a 2045 6e73 7572 6520 6e66   name: Ensure nf
│ │ │ -00113e90: 7461 626c 6573 2069 7320 7265 6d6f 7665  tables is remove
│ │ │ -00113ea0: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ -00113eb0: 206e 616d 653a 206e 6674 6162 6c65 730a   name: nftables.
│ │ │ -00113ec0: 2020 2020 7374 6174 653a 2061 6273 656e      state: absen
│ │ │ -00113ed0: 740a 2020 7461 6773 3a0a 2020 2d20 6469  t.  tags:.  - di
│ │ │ -00113ee0: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ -00113ef0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -00113f00: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -00113f10: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ -00113f20: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -00113f30: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -00113f40: 2d20 7061 636b 6167 655f 6e66 7461 626c  - package_nftabl
│ │ │ -00113f50: 6573 5f72 656d 6f76 6564 0a3c 2f63 6f64  es_removed.
│ │ │ +00113ae0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22  
│ │ │ -00113dd0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -00113e00: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -00113e10: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -00113e50: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ -00113e60: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ +00113bb0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +00113bc0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +00113c10: 2d20 6e61 6d65 3a20 456e 7375 7265 206e  - name: Ensure n
│ │ │ +00113c20: 6674 6162 6c65 7320 6973 2072 656d 6f76  ftables is remov
│ │ │ +00113c30: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ +00113c40: 2020 6e61 6d65 3a20 6e66 7461 626c 6573    name: nftables
│ │ │ +00113c50: 0a20 2020 2073 7461 7465 3a20 6162 7365  .    state: abse
│ │ │ +00113c60: 6e74 0a20 2074 6167 733a 0a20 202d 2064  nt.  tags:.  - d
│ │ │ +00113c70: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ +00113c80: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +00113c90: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +00113ca0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ +00113cb0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +00113cc0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +00113cd0: 202d 2070 6163 6b61 6765 5f6e 6674 6162   - package_nftab
│ │ │ +00113ce0: 6c65 735f 7265 6d6f 7665 640a 3c2f 636f  les_removed.
< │ │ │ +00113d00: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +00113d10: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +00113d20: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +00113d30: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +00113d40: 646d 3135 3934 3322 2074 6162 696e 6465 dm15943" tabinde │ │ │ +00113d50: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +00113d60: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +00113d70: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +00113d80: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +00113d90: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +00113da0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +00113db0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity:low
Disrup │ │ │ +00113b90: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +00113ba0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +00113be0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +00113bf0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity: │ │ │ +00113e90: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +00113ea0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ +00113f00: 6e66 7461 626c 6573 0a0a 636c 6173 7320  nftables..class 
│ │ │ +00113f10: 7265 6d6f 7665 5f6e 6674 6162 6c65 7320  remove_nftables 
│ │ │ +00113f20: 7b0a 2020 7061 636b 6167 6520 7b20 276e  {.  package { 'n
│ │ │ +00113f30: 6674 6162 6c65 7327 3a0a 2020 2020 656e  ftables':.    en
│ │ │ +00113f40: 7375 7265 203d 2667 743b 2027 7075 7267  sure => 'purg
│ │ │ +00113f50: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ed',.  }.}.
│ │ │ -00114b30: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu │ │ │ -00114b40: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn │ │ │ -00114b50: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.
│ │ │ -00114ba0: 5b63 7573 746f 6d69 7a61 7469 6f6e 732e  [customizations.
│ │ │ -00114bb0: 7365 7276 6963 6573 5d0a 656e 6162 6c65  services].enable
│ │ │ -00114bc0: 6420 3d20 5b22 6e66 7461 626c 6573 225d  d = ["nftables"]
│ │ │ -00114bd0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -00114c90: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -00114ca0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -00114d20: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ -00114d60: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 enable
low
Disru │ │ │ +00113e70: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +00113e80: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +00113ec0: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +00113ed0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complexit │ │ │ -00114d30: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ -00114d50: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ -00114d80: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -00114da0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
<
│ │ │ -00114dd0: 636f 6465 3e69 6e63 6c75 6465 2065 6e61  code>include ena
│ │ │ -00114de0: 626c 655f 6e66 7461 626c 6573 0a0a 636c  ble_nftables..cl
│ │ │ -00114df0: 6173 7320 656e 6162 6c65 5f6e 6674 6162  ass enable_nftab
│ │ │ -00114e00: 6c65 7320 7b0a 2020 7365 7276 6963 6520  les {.  service 
│ │ │ -00114e10: 7b27 6e66 7461 626c 6573 273a 0a20 2020  {'nftables':.   
│ │ │ -00114e20: 2065 6e61 626c 6520 3d26 6774 3b20 7472   enable => tr
│ │ │ -00114e30: 7565 2c0a 2020 2020 656e 7375 7265 203d  ue,.    ensure =
│ │ │ -00114e40: 2667 743b 2027 7275 6e6e 696e 6727 2c0a  > 'running',.
│ │ │ -00114e50: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ -00114f10: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ -00114f20: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -00114f30: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -00114fb0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -00114fe0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -00115000: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -00115010: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -00115030: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ -00115050: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ -00115060: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ -00115070: 636b 6167 6520 6661 6374 730a 2020 7061  ckage facts.  pa
│ │ │ -00115080: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ -00115090: 206d 616e 6167 6572 3a20 6175 746f 0a20   manager: auto. 
│ │ │ -001150a0: 2074 6167 733a 0a20 202d 2065 6e61 626c   tags:.  - enabl
│ │ │ -001150b0: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ -001150c0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ -001150d0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -001150e0: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ -001150f0: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -00115100: 6f74 5f6e 6565 6465 640a 2020 2d20 7365  ot_needed.  - se
│ │ │ -00115110: 7276 6963 655f 6e66 7461 626c 6573 5f65  rvice_nftables_e
│ │ │ -00115120: 6e61 626c 6564 0a0a 2d20 6e61 6d65 3a20  nabled..- name: 
│ │ │ -00115130: 5665 7269 6679 206e 6674 6162 6c65 7320  Verify nftables 
│ │ │ -00115140: 5365 7276 6963 6520 6973 2045 6e61 626c  Service is Enabl
│ │ │ -00115150: 6564 202d 2045 6e61 626c 6520 7365 7276  ed - Enable serv
│ │ │ -00115160: 6963 6520 6e66 7461 626c 6573 0a20 2062  ice nftables.  b
│ │ │ -00115170: 6c6f 636b 3a0a 0a20 202d 206e 616d 653a  lock:..  - name:
│ │ │ -00115180: 2047 6174 6865 7220 7468 6520 7061 636b   Gather the pack
│ │ │ -00115190: 6167 6520 6661 6374 730a 2020 2020 7061  age facts.    pa
│ │ │ -001151a0: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ -001151b0: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ -001151c0: 0a0a 2020 2d20 6e61 6d65 3a20 5665 7269  ..  - name: Veri
│ │ │ -001151d0: 6679 206e 6674 6162 6c65 7320 5365 7276  fy nftables Serv
│ │ │ -001151e0: 6963 6520 6973 2045 6e61 626c 6564 202d  ice is Enabled -
│ │ │ -001151f0: 2045 6e61 626c 6520 5365 7276 6963 6520   Enable Service 
│ │ │ -00115200: 6e66 7461 626c 6573 0a20 2020 2061 6e73  nftables.    ans
│ │ │ -00115210: 6962 6c65 2e62 7569 6c74 696e 2e73 7973  ible.builtin.sys
│ │ │ -00115220: 7465 6d64 3a0a 2020 2020 2020 6e61 6d65  temd:.      name
│ │ │ -00115230: 3a20 6e66 7461 626c 6573 0a20 2020 2020  : nftables.     
│ │ │ -00115240: 2065 6e61 626c 6564 3a20 7472 7565 0a20   enabled: true. 
│ │ │ -00115250: 2020 2020 2073 7461 7465 3a20 7374 6172       state: star
│ │ │ -00115260: 7465 640a 2020 2020 2020 6d61 736b 6564  ted.      masked
│ │ │ -00115270: 3a20 6661 6c73 650a 2020 2020 7768 656e  : false.    when
│ │ │ -00115280: 3a0a 2020 2020 2d20 2722 6e66 7461 626c  :.    - '"nftabl
│ │ │ -00115290: 6573 2220 696e 2061 6e73 6962 6c65 5f66  es" in ansible_f
│ │ │ -001152a0: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ -001152b0: 2077 6865 6e3a 2028 2022 6e66 7461 626c   when: ( "nftabl
│ │ │ -001152c0: 6573 2220 696e 2061 6e73 6962 6c65 5f66  es" in ansible_f
│ │ │ -001152d0: 6163 7473 2e70 6163 6b61 6765 7320 616e  acts.packages an
│ │ │ -001152e0: 6420 226c 696e 7578 2d62 6173 6522 2069  d "linux-base" i
│ │ │ -001152f0: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ -00115300: 7061 636b 6167 6573 0a20 2020 2029 0a20  packages.    ). 
│ │ │ -00115310: 2074 6167 733a 0a20 202d 2065 6e61 626c   tags:.  - enabl
│ │ │ -00115320: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ -00115330: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ -00115340: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -00115350: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ -00115360: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -00115370: 6f74 5f6e 6565 6465 640a 2020 2d20 7365  ot_needed.  - se
│ │ │ -00115380: 7276 6963 655f 6e66 7461 626c 6573 5f65  rvice_nftables_e
│ │ │ -00115390: 6e61 626c 6564 0a3c 2f63 6f64 653e 3c2f  nabled.
│ │ │ +00114bd0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +00114bf0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +00114c40: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ +00114c70: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Gather
│ │ │ +00114c90: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ +00114ca0: 7473 0a20 2070 6163 6b61 6765 5f66 6163  ts.  package_fac
│ │ │ +00114cb0: 7473 3a0a 2020 2020 6d61 6e61 6765 723a  ts:.    manager:
│ │ │ +00114cc0: 2061 7574 6f0a 2020 7461 6773 3a0a 2020   auto.  tags:.  
│ │ │ +00114cd0: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ +00114ce0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +00114cf0: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +00114d00: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ +00114d10: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ +00114d20: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +00114d30: 0a20 202d 2073 6572 7669 6365 5f6e 6674  .  - service_nft
│ │ │ +00114d40: 6162 6c65 735f 656e 6162 6c65 640a 0a2d  ables_enabled..-
│ │ │ +00114d50: 206e 616d 653a 2056 6572 6966 7920 6e66   name: Verify nf
│ │ │ +00114d60: 7461 626c 6573 2053 6572 7669 6365 2069  tables Service i
│ │ │ +00114d70: 7320 456e 6162 6c65 6420 2d20 456e 6162  s Enabled - Enab
│ │ │ +00114d80: 6c65 2073 6572 7669 6365 206e 6674 6162  le service nftab
│ │ │ +00114d90: 6c65 730a 2020 626c 6f63 6b3a 0a0a 2020  les.  block:..  
│ │ │ +00114da0: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ +00114db0: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ +00114dc0: 0a20 2020 2070 6163 6b61 6765 5f66 6163  .    package_fac
│ │ │ +00114dd0: 7473 3a0a 2020 2020 2020 6d61 6e61 6765  ts:.      manage
│ │ │ +00114de0: 723a 2061 7574 6f0a 0a20 202d 206e 616d  r: auto..  - nam
│ │ │ +00114df0: 653a 2056 6572 6966 7920 6e66 7461 626c  e: Verify nftabl
│ │ │ +00114e00: 6573 2053 6572 7669 6365 2069 7320 456e  es Service is En
│ │ │ +00114e10: 6162 6c65 6420 2d20 456e 6162 6c65 2053  abled - Enable S
│ │ │ +00114e20: 6572 7669 6365 206e 6674 6162 6c65 730a  ervice nftables.
│ │ │ +00114e30: 2020 2020 616e 7369 626c 652e 6275 696c      ansible.buil
│ │ │ +00114e40: 7469 6e2e 7379 7374 656d 643a 0a20 2020  tin.systemd:.   
│ │ │ +00114e50: 2020 206e 616d 653a 206e 6674 6162 6c65     name: nftable
│ │ │ +00114e60: 730a 2020 2020 2020 656e 6162 6c65 643a  s.      enabled:
│ │ │ +00114e70: 2074 7275 650a 2020 2020 2020 7374 6174   true.      stat
│ │ │ +00114e80: 653a 2073 7461 7274 6564 0a20 2020 2020  e: started.     
│ │ │ +00114e90: 206d 6173 6b65 643a 2066 616c 7365 0a20   masked: false. 
│ │ │ +00114ea0: 2020 2077 6865 6e3a 0a20 2020 202d 2027     when:.    - '
│ │ │ +00114eb0: 226e 6674 6162 6c65 7322 2069 6e20 616e  "nftables" in an
│ │ │ +00114ec0: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +00114ed0: 6167 6573 270a 2020 7768 656e 3a20 2820  ages'.  when: ( 
│ │ │ +00114ee0: 226e 6674 6162 6c65 7322 2069 6e20 616e  "nftables" in an
│ │ │ +00114ef0: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +00114f00: 6167 6573 2061 6e64 2022 6c69 6e75 782d  ages and "linux-
│ │ │ +00114f10: 6261 7365 2220 696e 2061 6e73 6962 6c65  base" in ansible
│ │ │ +00114f20: 5f66 6163 7473 2e70 6163 6b61 6765 730a  _facts.packages.
│ │ │ +00114f30: 2020 2020 290a 2020 7461 6773 3a0a 2020      ).  tags:.  
│ │ │ +00114f40: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ +00114f50: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +00114f60: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +00114f70: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ +00114f80: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ +00114f90: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +00114fa0: 0a20 202d 2073 6572 7669 6365 5f6e 6674  .  - service_nft
│ │ │ +00114fb0: 6162 6c65 735f 656e 6162 6c65 640a 3c2f  ables_enabled.
Remediation Pup │ │ │ +00115080: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ +00115090: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity:< │ │ │ +00114be0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +00114c00: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +00114c50: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ +00114c60: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
│ │ │ +00115110: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +00115130: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +00115180: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ +001151b0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include enable
│ │ │ +001151d0: 5f6e 6674 6162 6c65 730a 0a63 6c61 7373  _nftables..class
│ │ │ +001151e0: 2065 6e61 626c 655f 6e66 7461 626c 6573   enable_nftables
│ │ │ +001151f0: 207b 0a20 2073 6572 7669 6365 207b 276e   {.  service {'n
│ │ │ +00115200: 6674 6162 6c65 7327 3a0a 2020 2020 656e  ftables':.    en
│ │ │ +00115210: 6162 6c65 203d 2667 743b 2074 7275 652c  able => true,
│ │ │ +00115220: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ +00115230: 3b20 2772 756e 6e69 6e67 272c 0a20 207d  ; 'running',.  }
│ │ │ +00115240: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ +00115250: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ +00115300: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr │ │ │ +00115310: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...< │ │ │ +00115320: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
<
│ │ │ +00115360: 636f 6465 3e0a 5b63 7573 746f 6d69 7a61  code>.[customiza
│ │ │ +00115370: 7469 6f6e 732e 7365 7276 6963 6573 5d0a  tions.services].
│ │ │ +00115380: 656e 6162 6c65 6420 3d20 5b22 6e66 7461  enabled = ["nfta
│ │ │ +00115390: 626c 6573 225d 0a3c 2f63 6f64 653e 3c2f  bles"].
Remedia │ │ │ -00116160: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu │ │ │ -00116170: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet . │ │ │ -00116180: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
.[custom │ │ │ -001161d0: 697a 6174 696f 6e73 2e73 6572 7669 6365 izations.service │ │ │ -001161e0: 735d 0a6d 6173 6b65 6420 3d20 5b22 6e66 s].masked = ["nf │ │ │ -001161f0: 7461 626c 6573 225d 0a3c 2f63 6f64 653e tables"]. │ │ │ -00116200: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Reme │ │ │ -001162b0: 6469 6174 696f 6e20 4b75 6265 726e 6574 diation Kubernet │ │ │ -001162c0: 6573 2073 6e69 7070 6574 20e2 87b2 3c2f es snippet ...
Complexity:< │ │ │ +00115120: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +00115140: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +00115190: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ +001151a0: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
< │ │ │ -00116350: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -00116370: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> │ │ │ -001163a0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
low
Disr │ │ │ -00116380: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -00116390: 6d65 6469 756d 3c2f 7464 3e3c 2f74 723e medium
Reboot:< │ │ │ -001163b0: 2f74 683e 3c74 643e 7472 7565 3c2f 7464 /th>true
St │ │ │ -001163d0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -001163e0: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
apiVersion: 
│ │ │ -00116410: 6d61 6368 696e 6563 6f6e 6669 6775 7261  machineconfigura
│ │ │ -00116420: 7469 6f6e 2e6f 7065 6e73 6869 6674 2e69  tion.openshift.i
│ │ │ -00116430: 6f2f 7631 0a6b 696e 643a 204d 6163 6869  o/v1.kind: Machi
│ │ │ -00116440: 6e65 436f 6e66 6967 0a73 7065 633a 0a20  neConfig.spec:. 
│ │ │ -00116450: 2063 6f6e 6669 673a 0a20 2020 2069 676e   config:.    ign
│ │ │ -00116460: 6974 696f 6e3a 0a20 2020 2020 2076 6572  ition:.      ver
│ │ │ -00116470: 7369 6f6e 3a20 332e 312e 300a 2020 2020  sion: 3.1.0.    
│ │ │ -00116480: 7379 7374 656d 643a 0a20 2020 2020 2075  systemd:.      u
│ │ │ -00116490: 6e69 7473 3a0a 2020 2020 2020 2d20 6e61  nits:.      - na
│ │ │ -001164a0: 6d65 3a20 6e66 7461 626c 6573 2e73 6572  me: nftables.ser
│ │ │ -001164b0: 7669 6365 0a20 2020 2020 2020 2065 6e61  vice.        ena
│ │ │ -001164c0: 626c 6564 3a20 6661 6c73 650a 2020 2020  bled: false.    
│ │ │ -001164d0: 2020 2020 6d61 736b 3a20 7472 7565 0a20      mask: true. 
│ │ │ -001164e0: 2020 2020 202d 206e 616d 653a 206e 6674       - name: nft
│ │ │ -001164f0: 6162 6c65 732e 736f 636b 6574 0a20 2020  ables.socket.   
│ │ │ -00116500: 2020 2020 2065 6e61 626c 6564 3a20 6661       enabled: fa
│ │ │ -00116510: 6c73 650a 2020 2020 2020 2020 6d61 736b  lse.        mask
│ │ │ -00116520: 3a20 7472 7565 0a3c 2f63 6f64 653e 3c2f  : true.
Remedi │ │ │ -001165e0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ -001165f0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -00116600: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -00116680: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -001166b0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -001166d0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -001166e0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -00116700: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ -00116720: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -00116730: 6465 2064 6973 6162 6c65 5f6e 6674 6162  de disable_nftab
│ │ │ -00116740: 6c65 730a 0a63 6c61 7373 2064 6973 6162  les..class disab
│ │ │ -00116750: 6c65 5f6e 6674 6162 6c65 7320 7b0a 2020  le_nftables {.  
│ │ │ -00116760: 7365 7276 6963 6520 7b27 6e66 7461 626c  service {'nftabl
│ │ │ -00116770: 6573 273a 0a20 2020 2065 6e61 626c 6520  es':.    enable 
│ │ │ -00116780: 3d26 6774 3b20 6661 6c73 652c 0a20 2020  => false,.   
│ │ │ -00116790: 2065 6e73 7572 6520 3d26 6774 3b20 2773   ensure => 's
│ │ │ -001167a0: 746f 7070 6564 272c 0a20 207d 0a7d 0a3c  topped',.  }.}.<
│ │ │ -001167b0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation An │ │ │ -00116870: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -00116880: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ -00116910: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -00116930: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -00116940: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -00116950: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -00116960: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -00116980: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ -001169b0: 636f 6465 3e2d 206e 616d 653a 2047 6174  code>- name: Gat
│ │ │ -001169c0: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ -001169d0: 6661 6374 730a 2020 7061 636b 6167 655f  facts.  package_
│ │ │ -001169e0: 6661 6374 733a 0a20 2020 206d 616e 6167  facts:.    manag
│ │ │ -001169f0: 6572 3a20 6175 746f 0a20 2074 6167 733a  er: auto.  tags:
│ │ │ -00116a00: 0a20 202d 2050 4349 2d44 5353 7634 2d31  .  - PCI-DSSv4-1
│ │ │ -00116a10: 2e32 0a20 202d 2050 4349 2d44 5353 7634  .2.  - PCI-DSSv4
│ │ │ -00116a20: 2d31 2e32 2e31 0a20 202d 2064 6973 6162  -1.2.1.  - disab
│ │ │ -00116a30: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -00116a40: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -00116a50: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -00116a60: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ -00116a70: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -00116a80: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ -00116a90: 6572 7669 6365 5f6e 6674 6162 6c65 735f  ervice_nftables_
│ │ │ -00116aa0: 6469 7361 626c 6564 0a0a 2d20 6e61 6d65  disabled..- name
│ │ │ -00116ab0: 3a20 5665 7269 6679 206e 6674 6162 6c65  : Verify nftable
│ │ │ -00116ac0: 7320 5365 7276 6963 6520 6973 2044 6973  s Service is Dis
│ │ │ -00116ad0: 6162 6c65 6420 2d20 436f 6c6c 6563 7420  abled - Collect 
│ │ │ -00116ae0: 7379 7374 656d 6420 5365 7276 6963 6573  systemd Services
│ │ │ -00116af0: 2050 7265 7365 6e74 2069 6e0a 2020 2020   Present in.    
│ │ │ -00116b00: 7468 6520 5379 7374 656d 0a20 2061 6e73  the System.  ans
│ │ │ -00116b10: 6962 6c65 2e62 7569 6c74 696e 2e63 6f6d  ible.builtin.com
│ │ │ -00116b20: 6d61 6e64 3a20 7379 7374 656d 6374 6c20  mand: systemctl 
│ │ │ -00116b30: 2d71 206c 6973 742d 756e 6974 2d66 696c  -q list-unit-fil
│ │ │ -00116b40: 6573 202d 2d74 7970 6520 7365 7276 6963  es --type servic
│ │ │ -00116b50: 650a 2020 7265 6769 7374 6572 3a20 7365  e.  register: se
│ │ │ -00116b60: 7276 6963 655f 6578 6973 7473 0a20 2063  rvice_exists.  c
│ │ │ -00116b70: 6861 6e67 6564 5f77 6865 6e3a 2066 616c  hanged_when: fal
│ │ │ -00116b80: 7365 0a20 2066 6169 6c65 645f 7768 656e  se.  failed_when
│ │ │ -00116b90: 3a20 7365 7276 6963 655f 6578 6973 7473  : service_exists
│ │ │ -00116ba0: 2e72 6320 6e6f 7420 696e 205b 302c 2031  .rc not in [0, 1
│ │ │ -00116bb0: 5d0a 2020 6368 6563 6b5f 6d6f 6465 3a20  ].  check_mode: 
│ │ │ -00116bc0: 6661 6c73 650a 2020 7768 656e 3a20 2820  false.  when: ( 
│ │ │ -00116bd0: 2266 6972 6577 616c 6c64 2220 696e 2061  "firewalld" in a
│ │ │ -00116be0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ -00116bf0: 6b61 6765 7320 616e 6420 226e 6674 6162  kages and "nftab
│ │ │ -00116c00: 6c65 7322 2069 6e20 616e 7369 626c 655f  les" in ansible_
│ │ │ -00116c10: 6661 6374 732e 7061 636b 6167 6573 0a20  facts.packages. 
│ │ │ -00116c20: 2020 2061 6e64 2022 6c69 6e75 782d 6261     and "linux-ba
│ │ │ -00116c30: 7365 2220 696e 2061 6e73 6962 6c65 5f66  se" in ansible_f
│ │ │ -00116c40: 6163 7473 2e70 6163 6b61 6765 7320 290a  acts.packages ).
│ │ │ -00116c50: 2020 7461 6773 3a0a 2020 2d20 5043 492d    tags:.  - PCI-
│ │ │ -00116c60: 4453 5376 342d 312e 320a 2020 2d20 5043  DSSv4-1.2.  - PC
│ │ │ -00116c70: 492d 4453 5376 342d 312e 322e 310a 2020  I-DSSv4-1.2.1.  
│ │ │ -00116c80: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ -00116c90: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ -00116ca0: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -00116cb0: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ -00116cc0: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ -00116cd0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -00116ce0: 640a 2020 2d20 7365 7276 6963 655f 6e66  d.  - service_nf
│ │ │ -00116cf0: 7461 626c 6573 5f64 6973 6162 6c65 640a  tables_disabled.
│ │ │ -00116d00: 0a2d 206e 616d 653a 2056 6572 6966 7920  .- name: Verify 
│ │ │ -00116d10: 6e66 7461 626c 6573 2053 6572 7669 6365  nftables Service
│ │ │ -00116d20: 2069 7320 4469 7361 626c 6564 202d 2045   is Disabled - E
│ │ │ -00116d30: 6e73 7572 6520 6e66 7461 626c 6573 2e73  nsure nftables.s
│ │ │ -00116d40: 6572 7669 6365 2069 7320 4d61 736b 6564  ervice is Masked
│ │ │ -00116d50: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74  .  ansible.built
│ │ │ -00116d60: 696e 2e73 7973 7465 6d64 3a0a 2020 2020  in.systemd:.    
│ │ │ -00116d70: 6e61 6d65 3a20 6e66 7461 626c 6573 2e73  name: nftables.s
│ │ │ -00116d80: 6572 7669 6365 0a20 2020 2073 7461 7465  ervice.    state
│ │ │ -00116d90: 3a20 7374 6f70 7065 640a 2020 2020 656e  : stopped.    en
│ │ │ -00116da0: 6162 6c65 643a 2066 616c 7365 0a20 2020  abled: false.   
│ │ │ -00116db0: 206d 6173 6b65 643a 2074 7275 650a 2020   masked: true.  
│ │ │ -00116dc0: 7768 656e 3a0a 2020 2d20 2820 2266 6972  when:.  - ( "fir
│ │ │ -00116dd0: 6577 616c 6c64 2220 696e 2061 6e73 6962  ewalld" in ansib
│ │ │ -00116de0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -00116df0: 7320 616e 6420 226e 6674 6162 6c65 7322  s and "nftables"
│ │ │ -00116e00: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ -00116e10: 732e 7061 636b 6167 6573 0a20 2020 2061  s.packages.    a
│ │ │ -00116e20: 6e64 2022 6c69 6e75 782d 6261 7365 2220  nd "linux-base" 
│ │ │ -00116e30: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -00116e40: 2e70 6163 6b61 6765 7320 290a 2020 2d20  .packages ).  - 
│ │ │ -00116e50: 7365 7276 6963 655f 6578 6973 7473 2e73  service_exists.s
│ │ │ -00116e60: 7464 6f75 745f 6c69 6e65 7320 6973 2073  tdout_lines is s
│ │ │ -00116e70: 6561 7263 6828 226e 6674 6162 6c65 732e  earch("nftables.
│ │ │ -00116e80: 7365 7276 6963 6522 2c20 6d75 6c74 696c  service", multil
│ │ │ -00116e90: 696e 653d 5472 7565 290a 2020 7461 6773  ine=True).  tags
│ │ │ -00116ea0: 3a0a 2020 2d20 5043 492d 4453 5376 342d  :.  - PCI-DSSv4-
│ │ │ -00116eb0: 312e 320a 2020 2d20 5043 492d 4453 5376  1.2.  - PCI-DSSv
│ │ │ -00116ec0: 342d 312e 322e 310a 2020 2d20 6469 7361  4-1.2.1.  - disa
│ │ │ -00116ed0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -00116ee0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -00116ef0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -00116f00: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -00116f10: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -00116f20: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -00116f30: 7365 7276 6963 655f 6e66 7461 626c 6573  service_nftables
│ │ │ -00116f40: 5f64 6973 6162 6c65 640a 0a2d 206e 616d  _disabled..- nam
│ │ │ -00116f50: 653a 2055 6e69 7420 536f 636b 6574 2045  e: Unit Socket E
│ │ │ -00116f60: 7869 7374 7320 2d20 6e66 7461 626c 6573  xists - nftables
│ │ │ -00116f70: 2e73 6f63 6b65 740a 2020 616e 7369 626c  .socket.  ansibl
│ │ │ -00116f80: 652e 6275 696c 7469 6e2e 636f 6d6d 616e  e.builtin.comman
│ │ │ -00116f90: 643a 2073 7973 7465 6d63 746c 202d 7120  d: systemctl -q 
│ │ │ -00116fa0: 6c69 7374 2d75 6e69 742d 6669 6c65 7320  list-unit-files 
│ │ │ -00116fb0: 6e66 7461 626c 6573 2e73 6f63 6b65 740a  nftables.socket.
│ │ │ -00116fc0: 2020 7265 6769 7374 6572 3a20 736f 636b    register: sock
│ │ │ -00116fd0: 6574 5f66 696c 655f 6578 6973 7473 0a20  et_file_exists. 
│ │ │ -00116fe0: 2063 6861 6e67 6564 5f77 6865 6e3a 2066   changed_when: f
│ │ │ -00116ff0: 616c 7365 0a20 2066 6169 6c65 645f 7768  alse.  failed_wh
│ │ │ -00117000: 656e 3a20 736f 636b 6574 5f66 696c 655f  en: socket_file_
│ │ │ -00117010: 6578 6973 7473 2e72 6320 6e6f 7420 696e  exists.rc not in
│ │ │ -00117020: 205b 302c 2031 5d0a 2020 6368 6563 6b5f   [0, 1].  check_
│ │ │ -00117030: 6d6f 6465 3a20 6661 6c73 650a 2020 7768  mode: false.  wh
│ │ │ -00117040: 656e 3a20 2820 2266 6972 6577 616c 6c64  en: ( "firewalld
│ │ │ -00117050: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ -00117060: 7473 2e70 6163 6b61 6765 7320 616e 6420  ts.packages and 
│ │ │ -00117070: 226e 6674 6162 6c65 7322 2069 6e20 616e  "nftables" in an
│ │ │ -00117080: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ -00117090: 6167 6573 0a20 2020 2061 6e64 2022 6c69  ages.    and "li
│ │ │ -001170a0: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ -001170b0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -001170c0: 6765 7320 290a 2020 7461 6773 3a0a 2020  ges ).  tags:.  
│ │ │ -001170d0: 2d20 5043 492d 4453 5376 342d 312e 320a  - PCI-DSSv4-1.2.
│ │ │ -001170e0: 2020 2d20 5043 492d 4453 5376 342d 312e    - PCI-DSSv4-1.
│ │ │ -001170f0: 322e 310a 2020 2d20 6469 7361 626c 655f  2.1.  - disable_
│ │ │ -00117100: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -00117110: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -00117120: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -00117130: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ -00117140: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -00117150: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ -00117160: 6963 655f 6e66 7461 626c 6573 5f64 6973  ice_nftables_dis
│ │ │ -00117170: 6162 6c65 640a 0a2d 206e 616d 653a 2056  abled..- name: V
│ │ │ -00117180: 6572 6966 7920 6e66 7461 626c 6573 2053  erify nftables S
│ │ │ -00117190: 6572 7669 6365 2069 7320 4469 7361 626c  ervice is Disabl
│ │ │ -001171a0: 6564 202d 2044 6973 6162 6c65 2053 6f63  ed - Disable Soc
│ │ │ -001171b0: 6b65 7420 6e66 7461 626c 6573 0a20 2061  ket nftables.  a
│ │ │ -001171c0: 6e73 6962 6c65 2e62 7569 6c74 696e 2e73  nsible.builtin.s
│ │ │ -001171d0: 7973 7465 6d64 3a0a 2020 2020 6e61 6d65  ystemd:.    name
│ │ │ -001171e0: 3a20 6e66 7461 626c 6573 2e73 6f63 6b65  : nftables.socke
│ │ │ -001171f0: 740a 2020 2020 656e 6162 6c65 643a 2066  t.    enabled: f
│ │ │ -00117200: 616c 7365 0a20 2020 2073 7461 7465 3a20  alse.    state: 
│ │ │ -00117210: 7374 6f70 7065 640a 2020 2020 6d61 736b  stopped.    mask
│ │ │ -00117220: 6564 3a20 7472 7565 0a20 2077 6865 6e3a  ed: true.  when:
│ │ │ -00117230: 0a20 202d 2028 2022 6669 7265 7761 6c6c  .  - ( "firewall
│ │ │ -00117240: 6422 2069 6e20 616e 7369 626c 655f 6661  d" in ansible_fa
│ │ │ -00117250: 6374 732e 7061 636b 6167 6573 2061 6e64  cts.packages and
│ │ │ -00117260: 2022 6e66 7461 626c 6573 2220 696e 2061   "nftables" in a
│ │ │ -00117270: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ -00117280: 6b61 6765 730a 2020 2020 616e 6420 226c  kages.    and "l
│ │ │ -00117290: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ -001172a0: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ -001172b0: 6167 6573 2029 0a20 202d 2073 6f63 6b65  ages ).  - socke
│ │ │ -001172c0: 745f 6669 6c65 5f65 7869 7374 732e 7374  t_file_exists.st
│ │ │ -001172d0: 646f 7574 5f6c 696e 6573 2069 7320 7365  dout_lines is se
│ │ │ -001172e0: 6172 6368 2822 6e66 7461 626c 6573 2e73  arch("nftables.s
│ │ │ -001172f0: 6f63 6b65 7422 2c20 6d75 6c74 696c 696e  ocket", multilin
│ │ │ -00117300: 653d 5472 7565 290a 2020 7461 6773 3a0a  e=True).  tags:.
│ │ │ -00117310: 2020 2d20 5043 492d 4453 5376 342d 312e    - PCI-DSSv4-1.
│ │ │ -00117320: 320a 2020 2d20 5043 492d 4453 5376 342d  2.  - PCI-DSSv4-
│ │ │ -00117330: 312e 322e 310a 2020 2d20 6469 7361 626c  1.2.1.  - disabl
│ │ │ -00117340: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ -00117350: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ -00117360: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -00117370: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ -00117380: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -00117390: 6f74 5f6e 6565 6465 640a 2020 2d20 7365  ot_needed.  - se
│ │ │ -001173a0: 7276 6963 655f 6e66 7461 626c 6573 5f64  rvice_nftables_d
│ │ │ -001173b0: 6973 6162 6c65 640a 3c2f 636f 6465 3e3c  isabled.<
│ │ │ +00116160: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69  tion Ansible sni
│ │ │ +00116170: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e  ppet ...
│ │ │ +00116180: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +00116200: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +00116230: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +00116250: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +00116260: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +00116280: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +00116290: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +001162b0: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ +001162c0: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ +001162d0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ +001162e0: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ +001162f0: 2020 7461 6773 3a0a 2020 2d20 5043 492d    tags:.  - PCI-
│ │ │ +00116300: 4453 5376 342d 312e 320a 2020 2d20 5043  DSSv4-1.2.  - PC
│ │ │ +00116310: 492d 4453 5376 342d 312e 322e 310a 2020  I-DSSv4-1.2.1.  
│ │ │ +00116320: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ +00116330: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +00116340: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +00116350: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +00116360: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +00116370: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +00116380: 640a 2020 2d20 7365 7276 6963 655f 6e66  d.  - service_nf
│ │ │ +00116390: 7461 626c 6573 5f64 6973 6162 6c65 640a  tables_disabled.
│ │ │ +001163a0: 0a2d 206e 616d 653a 2056 6572 6966 7920  .- name: Verify 
│ │ │ +001163b0: 6e66 7461 626c 6573 2053 6572 7669 6365  nftables Service
│ │ │ +001163c0: 2069 7320 4469 7361 626c 6564 202d 2043   is Disabled - C
│ │ │ +001163d0: 6f6c 6c65 6374 2073 7973 7465 6d64 2053  ollect systemd S
│ │ │ +001163e0: 6572 7669 6365 7320 5072 6573 656e 7420  ervices Present 
│ │ │ +001163f0: 696e 0a20 2020 2074 6865 2053 7973 7465  in.    the Syste
│ │ │ +00116400: 6d0a 2020 616e 7369 626c 652e 6275 696c  m.  ansible.buil
│ │ │ +00116410: 7469 6e2e 636f 6d6d 616e 643a 2073 7973  tin.command: sys
│ │ │ +00116420: 7465 6d63 746c 202d 7120 6c69 7374 2d75  temctl -q list-u
│ │ │ +00116430: 6e69 742d 6669 6c65 7320 2d2d 7479 7065  nit-files --type
│ │ │ +00116440: 2073 6572 7669 6365 0a20 2072 6567 6973   service.  regis
│ │ │ +00116450: 7465 723a 2073 6572 7669 6365 5f65 7869  ter: service_exi
│ │ │ +00116460: 7374 730a 2020 6368 616e 6765 645f 7768  sts.  changed_wh
│ │ │ +00116470: 656e 3a20 6661 6c73 650a 2020 6661 696c  en: false.  fail
│ │ │ +00116480: 6564 5f77 6865 6e3a 2073 6572 7669 6365  ed_when: service
│ │ │ +00116490: 5f65 7869 7374 732e 7263 206e 6f74 2069  _exists.rc not i
│ │ │ +001164a0: 6e20 5b30 2c20 315d 0a20 2063 6865 636b  n [0, 1].  check
│ │ │ +001164b0: 5f6d 6f64 653a 2066 616c 7365 0a20 2077  _mode: false.  w
│ │ │ +001164c0: 6865 6e3a 2028 2022 6669 7265 7761 6c6c  hen: ( "firewall
│ │ │ +001164d0: 6422 2069 6e20 616e 7369 626c 655f 6661  d" in ansible_fa
│ │ │ +001164e0: 6374 732e 7061 636b 6167 6573 2061 6e64  cts.packages and
│ │ │ +001164f0: 2022 6e66 7461 626c 6573 2220 696e 2061   "nftables" in a
│ │ │ +00116500: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +00116510: 6b61 6765 730a 2020 2020 616e 6420 226c  kages.    and "l
│ │ │ +00116520: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ +00116530: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +00116540: 6167 6573 2029 0a20 2074 6167 733a 0a20  ages ).  tags:. 
│ │ │ +00116550: 202d 2050 4349 2d44 5353 7634 2d31 2e32   - PCI-DSSv4-1.2
│ │ │ +00116560: 0a20 202d 2050 4349 2d44 5353 7634 2d31  .  - PCI-DSSv4-1
│ │ │ +00116570: 2e32 2e31 0a20 202d 2064 6973 6162 6c65  .2.1.  - disable
│ │ │ +00116580: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ +00116590: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ +001165a0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ +001165b0: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ +001165c0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ +001165d0: 745f 6e65 6564 6564 0a20 202d 2073 6572  t_needed.  - ser
│ │ │ +001165e0: 7669 6365 5f6e 6674 6162 6c65 735f 6469  vice_nftables_di
│ │ │ +001165f0: 7361 626c 6564 0a0a 2d20 6e61 6d65 3a20  sabled..- name: 
│ │ │ +00116600: 5665 7269 6679 206e 6674 6162 6c65 7320  Verify nftables 
│ │ │ +00116610: 5365 7276 6963 6520 6973 2044 6973 6162  Service is Disab
│ │ │ +00116620: 6c65 6420 2d20 456e 7375 7265 206e 6674  led - Ensure nft
│ │ │ +00116630: 6162 6c65 732e 7365 7276 6963 6520 6973  ables.service is
│ │ │ +00116640: 204d 6173 6b65 640a 2020 616e 7369 626c   Masked.  ansibl
│ │ │ +00116650: 652e 6275 696c 7469 6e2e 7379 7374 656d  e.builtin.system
│ │ │ +00116660: 643a 0a20 2020 206e 616d 653a 206e 6674  d:.    name: nft
│ │ │ +00116670: 6162 6c65 732e 7365 7276 6963 650a 2020  ables.service.  
│ │ │ +00116680: 2020 7374 6174 653a 2073 746f 7070 6564    state: stopped
│ │ │ +00116690: 0a20 2020 2065 6e61 626c 6564 3a20 6661  .    enabled: fa
│ │ │ +001166a0: 6c73 650a 2020 2020 6d61 736b 6564 3a20  lse.    masked: 
│ │ │ +001166b0: 7472 7565 0a20 2077 6865 6e3a 0a20 202d  true.  when:.  -
│ │ │ +001166c0: 2028 2022 6669 7265 7761 6c6c 6422 2069   ( "firewalld" i
│ │ │ +001166d0: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +001166e0: 7061 636b 6167 6573 2061 6e64 2022 6e66  packages and "nf
│ │ │ +001166f0: 7461 626c 6573 2220 696e 2061 6e73 6962  tables" in ansib
│ │ │ +00116700: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +00116710: 730a 2020 2020 616e 6420 226c 696e 7578  s.    and "linux
│ │ │ +00116720: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ +00116730: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +00116740: 2029 0a20 202d 2073 6572 7669 6365 5f65   ).  - service_e
│ │ │ +00116750: 7869 7374 732e 7374 646f 7574 5f6c 696e  xists.stdout_lin
│ │ │ +00116760: 6573 2069 7320 7365 6172 6368 2822 6e66  es is search("nf
│ │ │ +00116770: 7461 626c 6573 2e73 6572 7669 6365 222c  tables.service",
│ │ │ +00116780: 206d 756c 7469 6c69 6e65 3d54 7275 6529   multiline=True)
│ │ │ +00116790: 0a20 2074 6167 733a 0a20 202d 2050 4349  .  tags:.  - PCI
│ │ │ +001167a0: 2d44 5353 7634 2d31 2e32 0a20 202d 2050  -DSSv4-1.2.  - P
│ │ │ +001167b0: 4349 2d44 5353 7634 2d31 2e32 2e31 0a20  CI-DSSv4-1.2.1. 
│ │ │ +001167c0: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ +001167d0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +001167e0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +001167f0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ +00116800: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ +00116810: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +00116820: 6564 0a20 202d 2073 6572 7669 6365 5f6e  ed.  - service_n
│ │ │ +00116830: 6674 6162 6c65 735f 6469 7361 626c 6564  ftables_disabled
│ │ │ +00116840: 0a0a 2d20 6e61 6d65 3a20 556e 6974 2053  ..- name: Unit S
│ │ │ +00116850: 6f63 6b65 7420 4578 6973 7473 202d 206e  ocket Exists - n
│ │ │ +00116860: 6674 6162 6c65 732e 736f 636b 6574 0a20  ftables.socket. 
│ │ │ +00116870: 2061 6e73 6962 6c65 2e62 7569 6c74 696e   ansible.builtin
│ │ │ +00116880: 2e63 6f6d 6d61 6e64 3a20 7379 7374 656d  .command: system
│ │ │ +00116890: 6374 6c20 2d71 206c 6973 742d 756e 6974  ctl -q list-unit
│ │ │ +001168a0: 2d66 696c 6573 206e 6674 6162 6c65 732e  -files nftables.
│ │ │ +001168b0: 736f 636b 6574 0a20 2072 6567 6973 7465  socket.  registe
│ │ │ +001168c0: 723a 2073 6f63 6b65 745f 6669 6c65 5f65  r: socket_file_e
│ │ │ +001168d0: 7869 7374 730a 2020 6368 616e 6765 645f  xists.  changed_
│ │ │ +001168e0: 7768 656e 3a20 6661 6c73 650a 2020 6661  when: false.  fa
│ │ │ +001168f0: 696c 6564 5f77 6865 6e3a 2073 6f63 6b65  iled_when: socke
│ │ │ +00116900: 745f 6669 6c65 5f65 7869 7374 732e 7263  t_file_exists.rc
│ │ │ +00116910: 206e 6f74 2069 6e20 5b30 2c20 315d 0a20   not in [0, 1]. 
│ │ │ +00116920: 2063 6865 636b 5f6d 6f64 653a 2066 616c   check_mode: fal
│ │ │ +00116930: 7365 0a20 2077 6865 6e3a 2028 2022 6669  se.  when: ( "fi
│ │ │ +00116940: 7265 7761 6c6c 6422 2069 6e20 616e 7369  rewalld" in ansi
│ │ │ +00116950: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ +00116960: 6573 2061 6e64 2022 6e66 7461 626c 6573  es and "nftables
│ │ │ +00116970: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ +00116980: 7473 2e70 6163 6b61 6765 730a 2020 2020  ts.packages.    
│ │ │ +00116990: 616e 6420 226c 696e 7578 2d62 6173 6522  and "linux-base"
│ │ │ +001169a0: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ +001169b0: 732e 7061 636b 6167 6573 2029 0a20 2074  s.packages ).  t
│ │ │ +001169c0: 6167 733a 0a20 202d 2050 4349 2d44 5353  ags:.  - PCI-DSS
│ │ │ +001169d0: 7634 2d31 2e32 0a20 202d 2050 4349 2d44  v4-1.2.  - PCI-D
│ │ │ +001169e0: 5353 7634 2d31 2e32 2e31 0a20 202d 2064  SSv4-1.2.1.  - d
│ │ │ +001169f0: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ +00116a00: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +00116a10: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +00116a20: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ +00116a30: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +00116a40: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +00116a50: 202d 2073 6572 7669 6365 5f6e 6674 6162   - service_nftab
│ │ │ +00116a60: 6c65 735f 6469 7361 626c 6564 0a0a 2d20  les_disabled..- 
│ │ │ +00116a70: 6e61 6d65 3a20 5665 7269 6679 206e 6674  name: Verify nft
│ │ │ +00116a80: 6162 6c65 7320 5365 7276 6963 6520 6973  ables Service is
│ │ │ +00116a90: 2044 6973 6162 6c65 6420 2d20 4469 7361   Disabled - Disa
│ │ │ +00116aa0: 626c 6520 536f 636b 6574 206e 6674 6162  ble Socket nftab
│ │ │ +00116ab0: 6c65 730a 2020 616e 7369 626c 652e 6275  les.  ansible.bu
│ │ │ +00116ac0: 696c 7469 6e2e 7379 7374 656d 643a 0a20  iltin.systemd:. 
│ │ │ +00116ad0: 2020 206e 616d 653a 206e 6674 6162 6c65     name: nftable
│ │ │ +00116ae0: 732e 736f 636b 6574 0a20 2020 2065 6e61  s.socket.    ena
│ │ │ +00116af0: 626c 6564 3a20 6661 6c73 650a 2020 2020  bled: false.    
│ │ │ +00116b00: 7374 6174 653a 2073 746f 7070 6564 0a20  state: stopped. 
│ │ │ +00116b10: 2020 206d 6173 6b65 643a 2074 7275 650a     masked: true.
│ │ │ +00116b20: 2020 7768 656e 3a0a 2020 2d20 2820 2266    when:.  - ( "f
│ │ │ +00116b30: 6972 6577 616c 6c64 2220 696e 2061 6e73  irewalld" in ans
│ │ │ +00116b40: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ +00116b50: 6765 7320 616e 6420 226e 6674 6162 6c65  ges and "nftable
│ │ │ +00116b60: 7322 2069 6e20 616e 7369 626c 655f 6661  s" in ansible_fa
│ │ │ +00116b70: 6374 732e 7061 636b 6167 6573 0a20 2020  cts.packages.   
│ │ │ +00116b80: 2061 6e64 2022 6c69 6e75 782d 6261 7365   and "linux-base
│ │ │ +00116b90: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ +00116ba0: 7473 2e70 6163 6b61 6765 7320 290a 2020  ts.packages ).  
│ │ │ +00116bb0: 2d20 736f 636b 6574 5f66 696c 655f 6578  - socket_file_ex
│ │ │ +00116bc0: 6973 7473 2e73 7464 6f75 745f 6c69 6e65  ists.stdout_line
│ │ │ +00116bd0: 7320 6973 2073 6561 7263 6828 226e 6674  s is search("nft
│ │ │ +00116be0: 6162 6c65 732e 736f 636b 6574 222c 206d  ables.socket", m
│ │ │ +00116bf0: 756c 7469 6c69 6e65 3d54 7275 6529 0a20  ultiline=True). 
│ │ │ +00116c00: 2074 6167 733a 0a20 202d 2050 4349 2d44   tags:.  - PCI-D
│ │ │ +00116c10: 5353 7634 2d31 2e32 0a20 202d 2050 4349  SSv4-1.2.  - PCI
│ │ │ +00116c20: 2d44 5353 7634 2d31 2e32 2e31 0a20 202d  -DSSv4-1.2.1.  -
│ │ │ +00116c30: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ +00116c40: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +00116c50: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +00116c60: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ +00116c70: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ +00116c80: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +00116c90: 0a20 202d 2073 6572 7669 6365 5f6e 6674  .  - service_nft
│ │ │ +00116ca0: 6162 6c65 735f 6469 7361 626c 6564 0a3c  ables_disabled.<
│ │ │ +00116cb0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Ku │ │ │ +00116d70: 6265 726e 6574 6573 2073 6e69 7070 6574 bernetes snippet │ │ │ +00116d80: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +00116dc0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +00116dd0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +00116de0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +00116df0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +00116e00: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +00116e10: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +00116e20: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:mediumRe │ │ │ +00116e60: 626f 6f74 3a3c 2f74 683e 3c74 643e 7472 boot:tr │ │ │ +00116e70: 7565 3c2f 7464 3e3c 2f74 723e 3c74 723e ue │ │ │ +00116e80: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy:disable< │ │ │ +00116eb0: 7072 653e 3c63 6f64 653e 6170 6956 6572 pre>apiVer │ │ │ +00116ec0: 7369 6f6e 3a20 6d61 6368 696e 6563 6f6e sion: machinecon │ │ │ +00116ed0: 6669 6775 7261 7469 6f6e 2e6f 7065 6e73 figuration.opens │ │ │ +00116ee0: 6869 6674 2e69 6f2f 7631 0a6b 696e 643a hift.io/v1.kind: │ │ │ +00116ef0: 204d 6163 6869 6e65 436f 6e66 6967 0a73 MachineConfig.s │ │ │ +00116f00: 7065 633a 0a20 2063 6f6e 6669 673a 0a20 pec:. config:. │ │ │ +00116f10: 2020 2069 676e 6974 696f 6e3a 0a20 2020 ignition:. │ │ │ +00116f20: 2020 2076 6572 7369 6f6e 3a20 332e 312e version: 3.1. │ │ │ +00116f30: 300a 2020 2020 7379 7374 656d 643a 0a20 0. systemd:. │ │ │ +00116f40: 2020 2020 2075 6e69 7473 3a0a 2020 2020 units:. │ │ │ +00116f50: 2020 2d20 6e61 6d65 3a20 6e66 7461 626c - name: nftabl │ │ │ +00116f60: 6573 2e73 6572 7669 6365 0a20 2020 2020 es.service. │ │ │ +00116f70: 2020 2065 6e61 626c 6564 3a20 6661 6c73 enabled: fals │ │ │ +00116f80: 650a 2020 2020 2020 2020 6d61 736b 3a20 e. mask: │ │ │ +00116f90: 7472 7565 0a20 2020 2020 202d 206e 616d true. - nam │ │ │ +00116fa0: 653a 206e 6674 6162 6c65 732e 736f 636b e: nftables.sock │ │ │ +00116fb0: 6574 0a20 2020 2020 2020 2065 6e61 626c et. enabl │ │ │ +00116fc0: 6564 3a20 6661 6c73 650a 2020 2020 2020 ed: false. │ │ │ +00116fd0: 2020 6d61 736b 3a20 7472 7565 0a3c 2f63 mask: true.
│ │ │ +00116ff0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +00117090: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ +001170a0: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
< │ │ │ +00117130: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +00117150: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +001171a0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
include disable
│ │ │ +001171f0: 5f6e 6674 6162 6c65 730a 0a63 6c61 7373  _nftables..class
│ │ │ +00117200: 2064 6973 6162 6c65 5f6e 6674 6162 6c65   disable_nftable
│ │ │ +00117210: 7320 7b0a 2020 7365 7276 6963 6520 7b27  s {.  service {'
│ │ │ +00117220: 6e66 7461 626c 6573 273a 0a20 2020 2065  nftables':.    e
│ │ │ +00117230: 6e61 626c 6520 3d26 6774 3b20 6661 6c73  nable => fals
│ │ │ +00117240: 652c 0a20 2020 2065 6e73 7572 6520 3d26  e,.    ensure =&
│ │ │ +00117250: 6774 3b20 2773 746f 7070 6564 272c 0a20  gt; 'stopped',. 
│ │ │ +00117260: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.Remediat
│ │ │ +00117320: 696f 6e20 4f53 4275 696c 6420 426c 7565  ion OSBuild Blue
│ │ │ +00117330: 7072 696e 7420 736e 6970 7065 7420 e287  print snippet ..
│ │ │ +00117340: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c  .
.[customi
│ │ │ +00117390: 7a61 7469 6f6e 732e 7365 7276 6963 6573  zations.services
│ │ │ +001173a0: 5d0a 6d61 736b 6564 203d 205b 226e 6674  ].masked = ["nft
│ │ │ +001173b0: 6162 6c65 7322 5d0a 3c2f 636f 6465 3e3c  ables"].<
│ │ │  001173c0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remediation OS │ │ │ -00120300: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint │ │ │ -00120310: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -00120320: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
.[[packages]].n
│ │ │ -00120370: 616d 6520 3d20 2275 6677 220a 7665 7273  ame = "ufw".vers
│ │ │ -00120380: 696f 6e20 3d20 222a 220a 3c2f 636f 6465  ion = "*".
Rem │ │ │ -00120440: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ -00120450: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -00120460: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
low
Disr │ │ │ +00117160: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +00117170: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +001171b0: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ +001171c0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -001204f0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
in
│ │ │ -00120590: 636c 7564 6520 696e 7374 616c 6c5f 7566  clude install_uf
│ │ │ -001205a0: 770a 0a63 6c61 7373 2069 6e73 7461 6c6c  w..class install
│ │ │ -001205b0: 5f75 6677 207b 0a20 2070 6163 6b61 6765  _ufw {.  package
│ │ │ -001205c0: 207b 2027 7566 7727 3a0a 2020 2020 656e   { 'ufw':.    en
│ │ │ -001205d0: 7375 7265 203d 2667 743b 2027 696e 7374  sure => 'inst
│ │ │ -001205e0: 616c 6c65 6427 2c0a 2020 7d0a 7d0a 3c2f  alled',.  }.}.
Remediation Ans │ │ │ -001206b0: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -001206c0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low< │ │ │ -00120790: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr> │ │ │ -001207e0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
│ │ │ -001204e0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -00120510: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -00120520: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -00120560: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ -00120570: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexity: │ │ │ -00120750: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ -00120770: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ -001207c0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -001207d0: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
- name: Gathe
│ │ │ -00120800: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ -00120810: 6374 730a 2020 7061 636b 6167 655f 6661  cts.  package_fa
│ │ │ -00120820: 6374 733a 0a20 2020 206d 616e 6167 6572  cts:.    manager
│ │ │ -00120830: 3a20 6175 746f 0a20 2074 6167 733a 0a20  : auto.  tags:. 
│ │ │ -00120840: 202d 2044 4953 412d 5354 4947 2d55 4254   - DISA-STIG-UBT
│ │ │ -00120850: 552d 3230 2d30 3130 3433 330a 2020 2d20  U-20-010433.  - 
│ │ │ -00120860: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ -00120870: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -00120880: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -00120890: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -001208a0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -001208b0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -001208c0: 202d 2070 6163 6b61 6765 5f75 6677 5f69   - package_ufw_i
│ │ │ -001208d0: 6e73 7461 6c6c 6564 0a0a 2d20 6e61 6d65  nstalled..- name
│ │ │ -001208e0: 3a20 456e 7375 7265 2075 6677 2069 7320  : Ensure ufw is 
│ │ │ -001208f0: 696e 7374 616c 6c65 640a 2020 7061 636b  installed.  pack
│ │ │ -00120900: 6167 653a 0a20 2020 206e 616d 653a 2075  age:.    name: u
│ │ │ -00120910: 6677 0a20 2020 2073 7461 7465 3a20 7072  fw.    state: pr
│ │ │ -00120920: 6573 656e 740a 2020 7768 656e 3a20 2722  esent.  when: '"
│ │ │ -00120930: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ -00120940: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ -00120950: 6b61 6765 7327 0a20 2074 6167 733a 0a20  kages'.  tags:. 
│ │ │ -00120960: 202d 2044 4953 412d 5354 4947 2d55 4254   - DISA-STIG-UBT
│ │ │ -00120970: 552d 3230 2d30 3130 3433 330a 2020 2d20  U-20-010433.  - 
│ │ │ -00120980: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ -00120990: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -001209a0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -001209b0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -001209c0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -001209d0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -001209e0: 202d 2070 6163 6b61 6765 5f75 6677 5f69   - package_ufw_i
│ │ │ -001209f0: 6e73 7461 6c6c 6564 0a3c 2f63 6f64 653e  nstalled.
│ │ │ +001202f0: 223e 5265 6d65 6469 6174 696f 6e20 416e  ">Remediation An
│ │ │ +00120300: 7369 626c 6520 736e 6970 7065 7420 e287  sible snippet ..
│ │ │ +00120310: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c  .
Complexity │ │ │ +001203a0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +001203c0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +001203d0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001203e0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +001203f0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +00120410: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
- name: Gath
│ │ │ +00120450: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ +00120460: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ +00120470: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ +00120480: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ +00120490: 2020 2d20 4449 5341 2d53 5449 472d 5542    - DISA-STIG-UB
│ │ │ +001204a0: 5455 2d32 302d 3031 3034 3333 0a20 202d  TU-20-010433.  -
│ │ │ +001204b0: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ +001204c0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +001204d0: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +001204e0: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +001204f0: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +00120500: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +00120510: 2020 2d20 7061 636b 6167 655f 7566 775f    - package_ufw_
│ │ │ +00120520: 696e 7374 616c 6c65 640a 0a2d 206e 616d  installed..- nam
│ │ │ +00120530: 653a 2045 6e73 7572 6520 7566 7720 6973  e: Ensure ufw is
│ │ │ +00120540: 2069 6e73 7461 6c6c 6564 0a20 2070 6163   installed.  pac
│ │ │ +00120550: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20  kage:.    name: 
│ │ │ +00120560: 7566 770a 2020 2020 7374 6174 653a 2070  ufw.    state: p
│ │ │ +00120570: 7265 7365 6e74 0a20 2077 6865 6e3a 2027  resent.  when: '
│ │ │ +00120580: 226c 696e 7578 2d62 6173 6522 2069 6e20  "linux-base" in 
│ │ │ +00120590: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ +001205a0: 636b 6167 6573 270a 2020 7461 6773 3a0a  ckages'.  tags:.
│ │ │ +001205b0: 2020 2d20 4449 5341 2d53 5449 472d 5542    - DISA-STIG-UB
│ │ │ +001205c0: 5455 2d32 302d 3031 3034 3333 0a20 202d  TU-20-010433.  -
│ │ │ +001205d0: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ +001205e0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +001205f0: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +00120600: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +00120610: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +00120620: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +00120630: 2020 2d20 7061 636b 6167 655f 7566 775f    - package_ufw_
│ │ │ +00120640: 696e 7374 616c 6c65 640a 3c2f 636f 6465  installed.
Rem │ │ │ +00120700: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ +00120710: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +00120720: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ +001207b0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
in
│ │ │ +00120850: 636c 7564 6520 696e 7374 616c 6c5f 7566  clude install_uf
│ │ │ +00120860: 770a 0a63 6c61 7373 2069 6e73 7461 6c6c  w..class install
│ │ │ +00120870: 5f75 6677 207b 0a20 2070 6163 6b61 6765  _ufw {.  package
│ │ │ +00120880: 207b 2027 7566 7727 3a0a 2020 2020 656e   { 'ufw':.    en
│ │ │ +00120890: 7375 7265 203d 2667 743b 2027 696e 7374  sure => 'inst
│ │ │ +001208a0: 616c 6c65 6427 2c0a 2020 7d0a 7d0a 3c2f  alled',.  }.}.
Remediation OSB │ │ │ +00120970: 7569 6c64 2042 6c75 6570 7269 6e74 2073 uild Blueprint s │ │ │ +00120980: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...

│ │ │ +001209d0: 0a5b 5b70 6163 6b61 6765 735d 5d0a 6e61  .[[packages]].na
│ │ │ +001209e0: 6d65 203d 2022 7566 7722 0a76 6572 7369  me = "ufw".versi
│ │ │ +001209f0: 6f6e 203d 2022 2a22 0a3c 2f63 6f64 653e  on = "*".
│ │ │  00120a00: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Remediat │ │ │ -001214f0: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ -00121500: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +001207a0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +001207d0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +001207e0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +00120820: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ +00120830: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
│ │ │ -001215b0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -001215d0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -00121600: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -00121590: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -001215a0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -001215c0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -001215e0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -001215f0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -00121630: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ -00121640: 6520 7265 6d6f 7665 5f75 6677 0a0a 636c e remove_ufw..cl │ │ │ -00121650: 6173 7320 7265 6d6f 7665 5f75 6677 207b ass remove_ufw { │ │ │ -00121660: 0a20 2070 6163 6b61 6765 207b 2027 7566 . package { 'uf │ │ │ -00121670: 7727 3a0a 2020 2020 656e 7375 7265 203d w':. ensure = │ │ │ -00121680: 2667 743b 2027 7075 7267 6564 272c 0a20 > 'purged',. │ │ │ -00121690: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.
Remediat │ │ │ -00121750: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip │ │ │ -00121760: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -00121770: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -00121780: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -00121790: 7365 2220 6964 3d22 6964 6d31 3631 3037 se" id="idm16107 │ │ │ -001217a0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ -001217f0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -00121800: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -00121820: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -00121840: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -00121850: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ -00121890: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ -001218a0: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ -001218b0: 636b 6167 6520 6661 6374 730a 2020 7061  ckage facts.  pa
│ │ │ -001218c0: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ -001218d0: 206d 616e 6167 6572 3a20 6175 746f 0a20   manager: auto. 
│ │ │ -001218e0: 2074 6167 733a 0a20 202d 2064 6973 6162   tags:.  - disab
│ │ │ -001218f0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -00121900: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -00121910: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -00121920: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ -00121930: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -00121940: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ -00121950: 6163 6b61 6765 5f75 6677 5f72 656d 6f76  ackage_ufw_remov
│ │ │ -00121960: 6564 0a0a 2d20 6e61 6d65 3a20 456e 7375  ed..- name: Ensu
│ │ │ -00121970: 7265 2075 6677 2069 7320 7265 6d6f 7665  re ufw is remove
│ │ │ -00121980: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ -00121990: 206e 616d 653a 2075 6677 0a20 2020 2073   name: ufw.    s
│ │ │ -001219a0: 7461 7465 3a20 6162 7365 6e74 0a20 2077  tate: absent.  w
│ │ │ -001219b0: 6865 6e3a 2027 226c 696e 7578 2d62 6173  hen: '"linux-bas
│ │ │ -001219c0: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ -001219d0: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ -001219e0: 7461 6773 3a0a 2020 2d20 6469 7361 626c  tags:.  - disabl
│ │ │ -001219f0: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ -00121a00: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ -00121a10: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -00121a20: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ -00121a30: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -00121a40: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ -00121a50: 636b 6167 655f 7566 775f 7265 6d6f 7665  ckage_ufw_remove
│ │ │ -00121a60: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +001214f0: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip │ │ │ +00121500: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +00121510: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +00121520: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +00121530: 7365 2220 6964 3d22 6964 6d31 3631 3036 se" id="idm16106 │ │ │ +00121540: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ +00121590: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +001215a0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +001215c0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +001215e0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +001215f0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +00121630: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ +00121640: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ +00121650: 636b 6167 6520 6661 6374 730a 2020 7061  ckage facts.  pa
│ │ │ +00121660: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ +00121670: 206d 616e 6167 6572 3a20 6175 746f 0a20   manager: auto. 
│ │ │ +00121680: 2074 6167 733a 0a20 202d 2064 6973 6162   tags:.  - disab
│ │ │ +00121690: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +001216a0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +001216b0: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +001216c0: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ +001216d0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +001216e0: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ +001216f0: 6163 6b61 6765 5f75 6677 5f72 656d 6f76  ackage_ufw_remov
│ │ │ +00121700: 6564 0a0a 2d20 6e61 6d65 3a20 456e 7375  ed..- name: Ensu
│ │ │ +00121710: 7265 2075 6677 2069 7320 7265 6d6f 7665  re ufw is remove
│ │ │ +00121720: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ +00121730: 206e 616d 653a 2075 6677 0a20 2020 2073   name: ufw.    s
│ │ │ +00121740: 7461 7465 3a20 6162 7365 6e74 0a20 2077  tate: absent.  w
│ │ │ +00121750: 6865 6e3a 2027 226c 696e 7578 2d62 6173  hen: '"linux-bas
│ │ │ +00121760: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ +00121770: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ +00121780: 7461 6773 3a0a 2020 2d20 6469 7361 626c  tags:.  - disabl
│ │ │ +00121790: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ +001217a0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +001217b0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +001217c0: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ +001217d0: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +001217e0: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ +001217f0: 636b 6167 655f 7566 775f 7265 6d6f 7665  ckage_ufw_remove
│ │ │ +00121800: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +00121810: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +001218c0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +001218d0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +00121950: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +00121960: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +00121970: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +001219b0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +001219c0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +001219e0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +001219f0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include r
│ │ │ +00121a10: 656d 6f76 655f 7566 770a 0a63 6c61 7373  emove_ufw..class
│ │ │ +00121a20: 2072 656d 6f76 655f 7566 7720 7b0a 2020   remove_ufw {.  
│ │ │ +00121a30: 7061 636b 6167 6520 7b20 2775 6677 273a  package { 'ufw':
│ │ │ +00121a40: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ +00121a50: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a  ; 'purged',.  }.
│ │ │ +00121a60: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ 00121a70: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediat │ │ │ -00122820: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue │ │ │ -00122830: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet .. │ │ │ -00122840: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
.[customi
│ │ │ -00122890: 7a61 7469 6f6e 732e 7365 7276 6963 6573  zations.services
│ │ │ -001228a0: 5d0a 656e 6162 6c65 6420 3d20 5b22 7566  ].enabled = ["uf
│ │ │ -001228b0: 7722 5d0a 3c2f 636f 6465 3e3c 2f70 7265  w"].
Remediati │ │ │ -00122970: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -00122980: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -001229c0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -00122a30: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -00122a50: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -00122a80: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -00122aa0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -00122a10: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -00122a20: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -00122a60: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -00122a70: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ -00122ac0: 656e 6162 6c65 5f75 6677 0a0a 636c 6173 enable_ufw..clas │ │ │ -00122ad0: 7320 656e 6162 6c65 5f75 6677 207b 0a20 s enable_ufw {. │ │ │ -00122ae0: 2073 6572 7669 6365 207b 2775 6677 273a service {'ufw': │ │ │ -00122af0: 0a20 2020 2065 6e61 626c 6520 3d26 6774 . enable => │ │ │ -00122b00: 3b20 7472 7565 2c0a 2020 2020 656e 7375 ; true,. ensu │ │ │ -00122b10: 7265 203d 2667 743b 2027 7275 6e6e 696e re => 'runnin │ │ │ -00122b20: 6727 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 g',. }.}.
Rem │ │ │ -00122be0: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ -00122bf0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -00122c00: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -00122cd0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -00122ce0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
-
│ │ │ -00122d30: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ -00122d40: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ -00122d50: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ -00122d60: 0a20 2020 206d 616e 6167 6572 3a20 6175  .    manager: au
│ │ │ -00122d70: 746f 0a20 2074 6167 733a 0a20 202d 2044  to.  tags:.  - D
│ │ │ -00122d80: 4953 412d 5354 4947 2d55 4254 552d 3230  ISA-STIG-UBTU-20
│ │ │ -00122d90: 2d30 3130 3433 340a 2020 2d20 656e 6162  -010434.  - enab
│ │ │ -00122da0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -00122db0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -00122dc0: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -00122dd0: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ -00122de0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -00122df0: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ -00122e00: 6572 7669 6365 5f75 6677 5f65 6e61 626c  ervice_ufw_enabl
│ │ │ -00122e10: 6564 0a0a 2d20 6e61 6d65 3a20 5665 7269  ed..- name: Veri
│ │ │ -00122e20: 6679 2075 6677 2045 6e61 626c 6564 202d  fy ufw Enabled -
│ │ │ -00122e30: 2045 6e61 626c 6520 7365 7276 6963 6520   Enable service 
│ │ │ -00122e40: 7566 770a 2020 626c 6f63 6b3a 0a0a 2020  ufw.  block:..  
│ │ │ -00122e50: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ -00122e60: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ -00122e70: 0a20 2020 2070 6163 6b61 6765 5f66 6163  .    package_fac
│ │ │ -00122e80: 7473 3a0a 2020 2020 2020 6d61 6e61 6765  ts:.      manage
│ │ │ -00122e90: 723a 2061 7574 6f0a 0a20 202d 206e 616d  r: auto..  - nam
│ │ │ -00122ea0: 653a 2056 6572 6966 7920 7566 7720 456e  e: Verify ufw En
│ │ │ -00122eb0: 6162 6c65 6420 2d20 456e 6162 6c65 2053  abled - Enable S
│ │ │ -00122ec0: 6572 7669 6365 2075 6677 0a20 2020 2061  ervice ufw.    a
│ │ │ -00122ed0: 6e73 6962 6c65 2e62 7569 6c74 696e 2e73  nsible.builtin.s
│ │ │ -00122ee0: 7973 7465 6d64 3a0a 2020 2020 2020 6e61  ystemd:.      na
│ │ │ -00122ef0: 6d65 3a20 7566 770a 2020 2020 2020 656e  me: ufw.      en
│ │ │ -00122f00: 6162 6c65 643a 2074 7275 650a 2020 2020  abled: true.    
│ │ │ -00122f10: 2020 7374 6174 653a 2073 7461 7274 6564    state: started
│ │ │ -00122f20: 0a20 2020 2020 206d 6173 6b65 643a 2066  .      masked: f
│ │ │ -00122f30: 616c 7365 0a20 2020 2077 6865 6e3a 0a20  alse.    when:. 
│ │ │ -00122f40: 2020 202d 2027 2275 6677 2220 696e 2061     - '"ufw" in a
│ │ │ -00122f50: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ -00122f60: 6b61 6765 7327 0a20 2077 6865 6e3a 0a20  kages'.  when:. 
│ │ │ -00122f70: 202d 2027 226c 696e 7578 2d62 6173 6522   - '"linux-base"
│ │ │ -00122f80: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ -00122f90: 732e 7061 636b 6167 6573 270a 2020 2d20  s.packages'.  - 
│ │ │ -00122fa0: 2820 2275 6677 2220 696e 2061 6e73 6962  ( "ufw" in ansib
│ │ │ -00122fb0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -00122fc0: 7320 616e 6420 226c 696e 7578 2d62 6173  s and "linux-bas
│ │ │ -00122fd0: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ -00122fe0: 6374 732e 7061 636b 6167 6573 2029 0a20  cts.packages ). 
│ │ │ -00122ff0: 2074 6167 733a 0a20 202d 2044 4953 412d   tags:.  - DISA-
│ │ │ -00123000: 5354 4947 2d55 4254 552d 3230 2d30 3130  STIG-UBTU-20-010
│ │ │ -00123010: 3433 340a 2020 2d20 656e 6162 6c65 5f73  434.  - enable_s
│ │ │ -00123020: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ -00123030: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -00123040: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -00123050: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ -00123060: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ -00123070: 6e65 6564 6564 0a20 202d 2073 6572 7669  needed.  - servi
│ │ │ -00123080: 6365 5f75 6677 5f65 6e61 626c 6564 0a3c  ce_ufw_enabled.<
│ │ │ +00122820: 696f 6e20 416e 7369 626c 6520 736e 6970  ion Ansible snip
│ │ │ +00122830: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c  pet ...
< │ │ │ +00122840: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +00122850: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +00122860: 7365 2220 6964 3d22 6964 6d31 3631 3235 se" id="idm16125 │ │ │ +00122870: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Complexity:low
Disrup │ │ │ -00122cb0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -00122cc0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -00122d00: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ -00122d10: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Comp │ │ │ +001228c0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +001228d0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +001228f0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +00122910: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +00122920: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ +00122960: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +00122970: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ +00122980: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac │ │ │ +00122990: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ +001229a0: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto. │ │ │ +001229b0: 7461 6773 3a0a 2020 2d20 4449 5341 2d53 tags:. - DISA-S │ │ │ +001229c0: 5449 472d 5542 5455 2d32 302d 3031 3034 TIG-UBTU-20-0104 │ │ │ +001229d0: 3334 0a20 202d 2065 6e61 626c 655f 7374 34. - enable_st │ │ │ +001229e0: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c │ │ │ +001229f0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo │ │ │ +00122a00: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. - │ │ │ +00122a10: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity │ │ │ +00122a20: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n │ │ │ +00122a30: 6565 6465 640a 2020 2d20 7365 7276 6963 eeded. - servic │ │ │ +00122a40: 655f 7566 775f 656e 6162 6c65 640a 0a2d e_ufw_enabled..- │ │ │ +00122a50: 206e 616d 653a 2056 6572 6966 7920 7566 name: Verify uf │ │ │ +00122a60: 7720 456e 6162 6c65 6420 2d20 456e 6162 w Enabled - Enab │ │ │ +00122a70: 6c65 2073 6572 7669 6365 2075 6677 0a20 le service ufw. │ │ │ +00122a80: 2062 6c6f 636b 3a0a 0a20 202d 206e 616d block:.. - nam │ │ │ +00122a90: 653a 2047 6174 6865 7220 7468 6520 7061 e: Gather the pa │ │ │ +00122aa0: 636b 6167 6520 6661 6374 730a 2020 2020 ckage facts. │ │ │ +00122ab0: 7061 636b 6167 655f 6661 6374 733a 0a20 package_facts:. │ │ │ +00122ac0: 2020 2020 206d 616e 6167 6572 3a20 6175 manager: au │ │ │ +00122ad0: 746f 0a0a 2020 2d20 6e61 6d65 3a20 5665 to.. - name: Ve │ │ │ +00122ae0: 7269 6679 2075 6677 2045 6e61 626c 6564 rify ufw Enabled │ │ │ +00122af0: 202d 2045 6e61 626c 6520 5365 7276 6963 - Enable Servic │ │ │ +00122b00: 6520 7566 770a 2020 2020 616e 7369 626c e ufw. ansibl │ │ │ +00122b10: 652e 6275 696c 7469 6e2e 7379 7374 656d e.builtin.system │ │ │ +00122b20: 643a 0a20 2020 2020 206e 616d 653a 2075 d:. name: u │ │ │ +00122b30: 6677 0a20 2020 2020 2065 6e61 626c 6564 fw. enabled │ │ │ +00122b40: 3a20 7472 7565 0a20 2020 2020 2073 7461 : true. sta │ │ │ +00122b50: 7465 3a20 7374 6172 7465 640a 2020 2020 te: started. │ │ │ +00122b60: 2020 6d61 736b 6564 3a20 6661 6c73 650a masked: false. │ │ │ +00122b70: 2020 2020 7768 656e 3a0a 2020 2020 2d20 when:. - │ │ │ +00122b80: 2722 7566 7722 2069 6e20 616e 7369 626c '"ufw" in ansibl │ │ │ +00122b90: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages │ │ │ +00122ba0: 270a 2020 7768 656e 3a0a 2020 2d20 2722 '. when:. - '" │ │ │ +00122bb0: 6c69 6e75 782d 6261 7365 2220 696e 2061 linux-base" in a │ │ │ +00122bc0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac │ │ │ +00122bd0: 6b61 6765 7327 0a20 202d 2028 2022 7566 kages'. - ( "uf │ │ │ +00122be0: 7722 2069 6e20 616e 7369 626c 655f 6661 w" in ansible_fa │ │ │ +00122bf0: 6374 732e 7061 636b 6167 6573 2061 6e64 cts.packages and │ │ │ +00122c00: 2022 6c69 6e75 782d 6261 7365 2220 696e "linux-base" in │ │ │ +00122c10: 2061 6e73 6962 6c65 5f66 6163 7473 2e70 ansible_facts.p │ │ │ +00122c20: 6163 6b61 6765 7320 290a 2020 7461 6773 ackages ). tags │ │ │ +00122c30: 3a0a 2020 2d20 4449 5341 2d53 5449 472d :. - DISA-STIG- │ │ │ +00122c40: 5542 5455 2d32 302d 3031 3034 3334 0a20 UBTU-20-010434. │ │ │ +00122c50: 202d 2065 6e61 626c 655f 7374 7261 7465 - enable_strate │ │ │ +00122c60: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl │ │ │ +00122c70: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di │ │ │ +00122c80: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med │ │ │ +00122c90: 6975 6d5f 7365 7665 7269 7479 0a20 202d ium_severity. - │ │ │ +00122ca0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede │ │ │ +00122cb0: 640a 2020 2d20 7365 7276 6963 655f 7566 d. - service_uf │ │ │ +00122cc0: 775f 656e 6162 6c65 640a 3c2f 636f 6465 w_enabled.
Rem │ │ │ +00122d80: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ +00122d90: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +00122da0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ +00122e30: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
in
│ │ │ +00122ed0: 636c 7564 6520 656e 6162 6c65 5f75 6677  clude enable_ufw
│ │ │ +00122ee0: 0a0a 636c 6173 7320 656e 6162 6c65 5f75  ..class enable_u
│ │ │ +00122ef0: 6677 207b 0a20 2073 6572 7669 6365 207b  fw {.  service {
│ │ │ +00122f00: 2775 6677 273a 0a20 2020 2065 6e61 626c  'ufw':.    enabl
│ │ │ +00122f10: 6520 3d26 6774 3b20 7472 7565 2c0a 2020  e => true,.  
│ │ │ +00122f20: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ +00122f30: 7275 6e6e 696e 6727 2c0a 2020 7d0a 7d0a  running',.  }.}.
│ │ │ +00122f40: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation O │ │ │ +00123000: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint │ │ │ +00123010: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +00123020: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.[customizatio
│ │ │ +00123070: 6e73 2e73 6572 7669 6365 735d 0a65 6e61  ns.services].ena
│ │ │ +00123080: 626c 6564 203d 205b 2275 6677 225d 0a3c  bled = ["ufw"].<
│ │ │  00123090: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
│ │ │ -001564d0: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu │ │ │ -001564e0: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn │ │ │ -001564f0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.
│ │ │ -00156540: 5b63 7573 746f 6d69 7a61 7469 6f6e 732e  [customizations.
│ │ │ -00156550: 7365 7276 6963 6573 5d0a 6d61 736b 6564  services].masked
│ │ │ -00156560: 203d 205b 2261 7574 6f66 7322 5d0a 3c2f   = ["autofs"].
Remediation Kub │ │ │ -00156630: 6572 6e65 7465 7320 736e 6970 7065 7420 ernetes snippet │ │ │ -00156640: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001566c0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
│ │ │ -00156710: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 < │ │ │ -00156740: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
│ │ │ +00122e20: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +00122e50: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +00122e60: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +00122ea0: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ +00122eb0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexi │ │ │ -001566d0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -001566e0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:medium
Reb │ │ │ -00156720: 6f6f 743a 3c2f 7468 3e3c 7464 3e74 7275 oot:tru │ │ │ -00156730: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

apiVers │ │ │ -00156780: 696f 6e3a 206d 6163 6869 6e65 636f 6e66 ion: machineconf │ │ │ -00156790: 6967 7572 6174 696f 6e2e 6f70 656e 7368 iguration.opensh │ │ │ -001567a0: 6966 742e 696f 2f76 310a 6b69 6e64 3a20 ift.io/v1.kind: │ │ │ -001567b0: 4d61 6368 696e 6543 6f6e 6669 670a 7370 MachineConfig.sp │ │ │ -001567c0: 6563 3a0a 2020 636f 6e66 6967 3a0a 2020 ec:. config:. │ │ │ -001567d0: 2020 6967 6e69 7469 6f6e 3a0a 2020 2020 ignition:. │ │ │ -001567e0: 2020 7665 7273 696f 6e3a 2033 2e31 2e30 version: 3.1.0 │ │ │ -001567f0: 0a20 2020 2073 7973 7465 6d64 3a0a 2020 . systemd:. │ │ │ -00156800: 2020 2020 756e 6974 733a 0a20 2020 2020 units:. │ │ │ -00156810: 202d 206e 616d 653a 2061 7574 6f66 732e - name: autofs. │ │ │ -00156820: 7365 7276 6963 650a 2020 2020 2020 2020 service. │ │ │ -00156830: 656e 6162 6c65 643a 2066 616c 7365 0a20 enabled: false. │ │ │ -00156840: 2020 2020 2020 206d 6173 6b3a 2074 7275 mask: tru │ │ │ -00156850: 650a 2020 2020 2020 2d20 6e61 6d65 3a20 e. - name: │ │ │ -00156860: 6175 746f 6673 2e73 6f63 6b65 740a 2020 autofs.socket. │ │ │ -00156870: 2020 2020 2020 656e 6162 6c65 643a 2066 enabled: f │ │ │ -00156880: 616c 7365 0a20 2020 2020 2020 206d 6173 alse. mas │ │ │ -00156890: 6b3a 2074 7275 650a 3c2f 636f 6465 3e3c k: true.< │ │ │ -001568a0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>

Remed │ │ │ -00156950: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ -00156960: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -00156a10: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -00156a60: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ -001569f0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -00156a20: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -00156a40: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -00156a50: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -00156a70: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ -00156a80: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -00156aa0: 7564 6520 6469 7361 626c 655f 6175 746f  ude disable_auto
│ │ │ -00156ab0: 6673 0a0a 636c 6173 7320 6469 7361 626c  fs..class disabl
│ │ │ -00156ac0: 655f 6175 746f 6673 207b 0a20 2073 6572  e_autofs {.  ser
│ │ │ -00156ad0: 7669 6365 207b 2761 7574 6f66 7327 3a0a  vice {'autofs':.
│ │ │ -00156ae0: 2020 2020 656e 6162 6c65 203d 2667 743b      enable =>
│ │ │ -00156af0: 2066 616c 7365 2c0a 2020 2020 656e 7375   false,.    ensu
│ │ │ -00156b00: 7265 203d 2667 743b 2027 7374 6f70 7065  re => 'stoppe
│ │ │ -00156b10: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Rem │ │ │ -00156bd0: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ -00156be0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -00156bf0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -00156cc0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -00156cd0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -00156d20: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ -00156d30: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ -00156d40: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ -00156d50: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ -00156d60: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ -00156d70: 4e49 5354 2d38 3030 2d31 3731 2d33 2e34  NIST-800-171-3.4
│ │ │ -00156d80: 2e36 0a20 202d 204e 4953 542d 3830 302d  .6.  - NIST-800-
│ │ │ -00156d90: 3533 2d43 4d2d 3628 6129 0a20 202d 204e  53-CM-6(a).  - N
│ │ │ -00156da0: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ -00156db0: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ -00156dc0: 3533 2d43 4d2d 3728 6229 0a20 202d 204e  53-CM-7(b).  - N
│ │ │ -00156dd0: 4953 542d 3830 302d 3533 2d4d 502d 370a  IST-800-53-MP-7.
│ │ │ -00156de0: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ -00156df0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ -00156e00: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -00156e10: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ -00156e20: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ -00156e30: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -00156e40: 6465 640a 2020 2d20 7365 7276 6963 655f  ded.  - service_
│ │ │ -00156e50: 6175 746f 6673 5f64 6973 6162 6c65 640a  autofs_disabled.
│ │ │ -00156e60: 0a2d 206e 616d 653a 2044 6973 6162 6c65  .- name: Disable
│ │ │ -00156e70: 2074 6865 2041 7574 6f6d 6f75 6e74 6572   the Automounter
│ │ │ -00156e80: 202d 2043 6f6c 6c65 6374 2073 7973 7465   - Collect syste
│ │ │ -00156e90: 6d64 2053 6572 7669 6365 7320 5072 6573  md Services Pres
│ │ │ -00156ea0: 656e 7420 696e 2074 6865 2053 7973 7465  ent in the Syste
│ │ │ -00156eb0: 6d0a 2020 616e 7369 626c 652e 6275 696c  m.  ansible.buil
│ │ │ -00156ec0: 7469 6e2e 636f 6d6d 616e 643a 2073 7973  tin.command: sys
│ │ │ -00156ed0: 7465 6d63 746c 202d 7120 6c69 7374 2d75  temctl -q list-u
│ │ │ -00156ee0: 6e69 742d 6669 6c65 7320 2d2d 7479 7065  nit-files --type
│ │ │ -00156ef0: 2073 6572 7669 6365 0a20 2072 6567 6973   service.  regis
│ │ │ -00156f00: 7465 723a 2073 6572 7669 6365 5f65 7869  ter: service_exi
│ │ │ -00156f10: 7374 730a 2020 6368 616e 6765 645f 7768  sts.  changed_wh
│ │ │ -00156f20: 656e 3a20 6661 6c73 650a 2020 6661 696c  en: false.  fail
│ │ │ -00156f30: 6564 5f77 6865 6e3a 2073 6572 7669 6365  ed_when: service
│ │ │ -00156f40: 5f65 7869 7374 732e 7263 206e 6f74 2069  _exists.rc not i
│ │ │ -00156f50: 6e20 5b30 2c20 315d 0a20 2063 6865 636b  n [0, 1].  check
│ │ │ -00156f60: 5f6d 6f64 653a 2066 616c 7365 0a20 2077  _mode: false.  w
│ │ │ -00156f70: 6865 6e3a 2028 2022 6175 746f 6673 2220  hen: ( "autofs" 
│ │ │ -00156f80: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -00156f90: 2e70 6163 6b61 6765 7320 616e 6420 226c  .packages and "l
│ │ │ -00156fa0: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ -00156fb0: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ -00156fc0: 6167 6573 0a20 2020 2029 0a20 2074 6167  ages.    ).  tag
│ │ │ -00156fd0: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ -00156fe0: 3137 312d 332e 342e 360a 2020 2d20 4e49  171-3.4.6.  - NI
│ │ │ -00156ff0: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ -00157000: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -00157010: 332d 434d 2d37 2861 290a 2020 2d20 4e49  3-CM-7(a).  - NI
│ │ │ -00157020: 5354 2d38 3030 2d35 332d 434d 2d37 2862  ST-800-53-CM-7(b
│ │ │ -00157030: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -00157040: 332d 4d50 2d37 0a20 202d 2064 6973 6162  3-MP-7.  - disab
│ │ │ -00157050: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -00157060: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -00157070: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -00157080: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ -00157090: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -001570a0: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ -001570b0: 6572 7669 6365 5f61 7574 6f66 735f 6469  ervice_autofs_di
│ │ │ -001570c0: 7361 626c 6564 0a0a 2d20 6e61 6d65 3a20  sabled..- name: 
│ │ │ -001570d0: 4469 7361 626c 6520 7468 6520 4175 746f  Disable the Auto
│ │ │ -001570e0: 6d6f 756e 7465 7220 2d20 456e 7375 7265  mounter - Ensure
│ │ │ -001570f0: 2061 7574 6f66 732e 7365 7276 6963 6520   autofs.service 
│ │ │ -00157100: 6973 204d 6173 6b65 640a 2020 616e 7369  is Masked.  ansi
│ │ │ -00157110: 626c 652e 6275 696c 7469 6e2e 7379 7374  ble.builtin.syst
│ │ │ -00157120: 656d 643a 0a20 2020 206e 616d 653a 2061  emd:.    name: a
│ │ │ -00157130: 7574 6f66 732e 7365 7276 6963 650a 2020  utofs.service.  
│ │ │ -00157140: 2020 7374 6174 653a 2073 746f 7070 6564    state: stopped
│ │ │ -00157150: 0a20 2020 2065 6e61 626c 6564 3a20 6661  .    enabled: fa
│ │ │ -00157160: 6c73 650a 2020 2020 6d61 736b 6564 3a20  lse.    masked: 
│ │ │ -00157170: 7472 7565 0a20 2077 6865 6e3a 0a20 202d  true.  when:.  -
│ │ │ -00157180: 2028 2022 6175 746f 6673 2220 696e 2061   ( "autofs" in a
│ │ │ -00157190: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ -001571a0: 6b61 6765 7320 616e 6420 226c 696e 7578  kages and "linux
│ │ │ -001571b0: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ -001571c0: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ -001571d0: 0a20 2020 2029 0a20 202d 2073 6572 7669  .    ).  - servi
│ │ │ -001571e0: 6365 5f65 7869 7374 732e 7374 646f 7574  ce_exists.stdout
│ │ │ -001571f0: 5f6c 696e 6573 2069 7320 7365 6172 6368  _lines is search
│ │ │ -00157200: 2822 6175 746f 6673 2e73 6572 7669 6365  ("autofs.service
│ │ │ -00157210: 222c 206d 756c 7469 6c69 6e65 3d54 7275  ", multiline=Tru
│ │ │ -00157220: 6529 0a20 2074 6167 733a 0a20 202d 204e  e).  tags:.  - N
│ │ │ -00157230: 4953 542d 3830 302d 3137 312d 332e 342e  IST-800-171-3.4.
│ │ │ -00157240: 360a 2020 2d20 4e49 5354 2d38 3030 2d35  6.  - NIST-800-5
│ │ │ -00157250: 332d 434d 2d36 2861 290a 2020 2d20 4e49  3-CM-6(a).  - NI
│ │ │ -00157260: 5354 2d38 3030 2d35 332d 434d 2d37 2861  ST-800-53-CM-7(a
│ │ │ -00157270: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -00157280: 332d 434d 2d37 2862 290a 2020 2d20 4e49  3-CM-7(b).  - NI
│ │ │ -00157290: 5354 2d38 3030 2d35 332d 4d50 2d37 0a20  ST-800-53-MP-7. 
│ │ │ -001572a0: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ -001572b0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -001572c0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -001572d0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -001572e0: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -001572f0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -00157300: 6564 0a20 202d 2073 6572 7669 6365 5f61  ed.  - service_a
│ │ │ -00157310: 7574 6f66 735f 6469 7361 626c 6564 0a0a  utofs_disabled..
│ │ │ -00157320: 2d20 6e61 6d65 3a20 556e 6974 2053 6f63  - name: Unit Soc
│ │ │ -00157330: 6b65 7420 4578 6973 7473 202d 2061 7574  ket Exists - aut
│ │ │ -00157340: 6f66 732e 736f 636b 6574 0a20 2061 6e73  ofs.socket.  ans
│ │ │ -00157350: 6962 6c65 2e62 7569 6c74 696e 2e63 6f6d  ible.builtin.com
│ │ │ -00157360: 6d61 6e64 3a20 7379 7374 656d 6374 6c20  mand: systemctl 
│ │ │ -00157370: 2d71 206c 6973 742d 756e 6974 2d66 696c  -q list-unit-fil
│ │ │ -00157380: 6573 2061 7574 6f66 732e 736f 636b 6574  es autofs.socket
│ │ │ -00157390: 0a20 2072 6567 6973 7465 723a 2073 6f63  .  register: soc
│ │ │ -001573a0: 6b65 745f 6669 6c65 5f65 7869 7374 730a  ket_file_exists.
│ │ │ -001573b0: 2020 6368 616e 6765 645f 7768 656e 3a20    changed_when: 
│ │ │ -001573c0: 6661 6c73 650a 2020 6661 696c 6564 5f77  false.  failed_w
│ │ │ -001573d0: 6865 6e3a 2073 6f63 6b65 745f 6669 6c65  hen: socket_file
│ │ │ -001573e0: 5f65 7869 7374 732e 7263 206e 6f74 2069  _exists.rc not i
│ │ │ -001573f0: 6e20 5b30 2c20 315d 0a20 2063 6865 636b  n [0, 1].  check
│ │ │ -00157400: 5f6d 6f64 653a 2066 616c 7365 0a20 2077  _mode: false.  w
│ │ │ -00157410: 6865 6e3a 2028 2022 6175 746f 6673 2220  hen: ( "autofs" 
│ │ │ -00157420: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -00157430: 2e70 6163 6b61 6765 7320 616e 6420 226c  .packages and "l
│ │ │ -00157440: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ -00157450: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ -00157460: 6167 6573 0a20 2020 2029 0a20 2074 6167  ages.    ).  tag
│ │ │ -00157470: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ -00157480: 3137 312d 332e 342e 360a 2020 2d20 4e49  171-3.4.6.  - NI
│ │ │ -00157490: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ -001574a0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -001574b0: 332d 434d 2d37 2861 290a 2020 2d20 4e49  3-CM-7(a).  - NI
│ │ │ -001574c0: 5354 2d38 3030 2d35 332d 434d 2d37 2862  ST-800-53-CM-7(b
│ │ │ -001574d0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -001574e0: 332d 4d50 2d37 0a20 202d 2064 6973 6162  3-MP-7.  - disab
│ │ │ -001574f0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -00157500: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -00157510: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -00157520: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ -00157530: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -00157540: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ -00157550: 6572 7669 6365 5f61 7574 6f66 735f 6469  ervice_autofs_di
│ │ │ -00157560: 7361 626c 6564 0a0a 2d20 6e61 6d65 3a20  sabled..- name: 
│ │ │ -00157570: 4469 7361 626c 6520 7468 6520 4175 746f  Disable the Auto
│ │ │ -00157580: 6d6f 756e 7465 7220 2d20 4469 7361 626c  mounter - Disabl
│ │ │ -00157590: 6520 536f 636b 6574 2061 7574 6f66 730a  e Socket autofs.
│ │ │ -001575a0: 2020 616e 7369 626c 652e 6275 696c 7469    ansible.builti
│ │ │ -001575b0: 6e2e 7379 7374 656d 643a 0a20 2020 206e  n.systemd:.    n
│ │ │ -001575c0: 616d 653a 2061 7574 6f66 732e 736f 636b  ame: autofs.sock
│ │ │ -001575d0: 6574 0a20 2020 2065 6e61 626c 6564 3a20  et.    enabled: 
│ │ │ -001575e0: 6661 6c73 650a 2020 2020 7374 6174 653a  false.    state:
│ │ │ -001575f0: 2073 746f 7070 6564 0a20 2020 206d 6173   stopped.    mas
│ │ │ -00157600: 6b65 643a 2074 7275 650a 2020 7768 656e  ked: true.  when
│ │ │ -00157610: 3a0a 2020 2d20 2820 2261 7574 6f66 7322  :.  - ( "autofs"
│ │ │ -00157620: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ -00157630: 732e 7061 636b 6167 6573 2061 6e64 2022  s.packages and "
│ │ │ -00157640: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ -00157650: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ -00157660: 6b61 6765 730a 2020 2020 290a 2020 2d20  kages.    ).  - 
│ │ │ -00157670: 736f 636b 6574 5f66 696c 655f 6578 6973  socket_file_exis
│ │ │ -00157680: 7473 2e73 7464 6f75 745f 6c69 6e65 7320  ts.stdout_lines 
│ │ │ -00157690: 6973 2073 6561 7263 6828 2261 7574 6f66  is search("autof
│ │ │ -001576a0: 732e 736f 636b 6574 222c 206d 756c 7469  s.socket", multi
│ │ │ -001576b0: 6c69 6e65 3d54 7275 6529 0a20 2074 6167  line=True).  tag
│ │ │ -001576c0: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ -001576d0: 3137 312d 332e 342e 360a 2020 2d20 4e49  171-3.4.6.  - NI
│ │ │ -001576e0: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ -001576f0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -00157700: 332d 434d 2d37 2861 290a 2020 2d20 4e49  3-CM-7(a).  - NI
│ │ │ -00157710: 5354 2d38 3030 2d35 332d 434d 2d37 2862  ST-800-53-CM-7(b
│ │ │ -00157720: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -00157730: 332d 4d50 2d37 0a20 202d 2064 6973 6162  3-MP-7.  - disab
│ │ │ -00157740: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -00157750: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -00157760: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -00157770: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ -00157780: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -00157790: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ -001577a0: 6572 7669 6365 5f61 7574 6f66 735f 6469  ervice_autofs_di
│ │ │ -001577b0: 7361 626c 6564 0a3c 2f63 6f64 653e 3c2f  sabled.
Complexity:low
Disrup │ │ │ -00156ca0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -00156cb0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -00156cf0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -00156d00: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +00156570: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +00156590: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +001565e0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ +00156610: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ +00156580: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +001565a0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +001565f0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ +00156600: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
- name: Gathe
│ │ │ +00156630: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ +00156640: 6374 730a 2020 7061 636b 6167 655f 6661  cts.  package_fa
│ │ │ +00156650: 6374 733a 0a20 2020 206d 616e 6167 6572  cts:.    manager
│ │ │ +00156660: 3a20 6175 746f 0a20 2074 6167 733a 0a20  : auto.  tags:. 
│ │ │ +00156670: 202d 204e 4953 542d 3830 302d 3137 312d   - NIST-800-171-
│ │ │ +00156680: 332e 342e 360a 2020 2d20 4e49 5354 2d38  3.4.6.  - NIST-8
│ │ │ +00156690: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ +001566a0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +001566b0: 2d37 2861 290a 2020 2d20 4e49 5354 2d38  -7(a).  - NIST-8
│ │ │ +001566c0: 3030 2d35 332d 434d 2d37 2862 290a 2020  00-53-CM-7(b).  
│ │ │ +001566d0: 2d20 4e49 5354 2d38 3030 2d35 332d 4d50  - NIST-800-53-MP
│ │ │ +001566e0: 2d37 0a20 202d 2064 6973 6162 6c65 5f73  -7.  - disable_s
│ │ │ +001566f0: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ +00156700: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ +00156710: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ +00156720: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ +00156730: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ +00156740: 6e65 6564 6564 0a20 202d 2073 6572 7669  needed.  - servi
│ │ │ +00156750: 6365 5f61 7574 6f66 735f 6469 7361 626c  ce_autofs_disabl
│ │ │ +00156760: 6564 0a0a 2d20 6e61 6d65 3a20 4469 7361  ed..- name: Disa
│ │ │ +00156770: 626c 6520 7468 6520 4175 746f 6d6f 756e  ble the Automoun
│ │ │ +00156780: 7465 7220 2d20 436f 6c6c 6563 7420 7379  ter - Collect sy
│ │ │ +00156790: 7374 656d 6420 5365 7276 6963 6573 2050  stemd Services P
│ │ │ +001567a0: 7265 7365 6e74 2069 6e20 7468 6520 5379  resent in the Sy
│ │ │ +001567b0: 7374 656d 0a20 2061 6e73 6962 6c65 2e62  stem.  ansible.b
│ │ │ +001567c0: 7569 6c74 696e 2e63 6f6d 6d61 6e64 3a20  uiltin.command: 
│ │ │ +001567d0: 7379 7374 656d 6374 6c20 2d71 206c 6973  systemctl -q lis
│ │ │ +001567e0: 742d 756e 6974 2d66 696c 6573 202d 2d74  t-unit-files --t
│ │ │ +001567f0: 7970 6520 7365 7276 6963 650a 2020 7265  ype service.  re
│ │ │ +00156800: 6769 7374 6572 3a20 7365 7276 6963 655f  gister: service_
│ │ │ +00156810: 6578 6973 7473 0a20 2063 6861 6e67 6564  exists.  changed
│ │ │ +00156820: 5f77 6865 6e3a 2066 616c 7365 0a20 2066  _when: false.  f
│ │ │ +00156830: 6169 6c65 645f 7768 656e 3a20 7365 7276  ailed_when: serv
│ │ │ +00156840: 6963 655f 6578 6973 7473 2e72 6320 6e6f  ice_exists.rc no
│ │ │ +00156850: 7420 696e 205b 302c 2031 5d0a 2020 6368  t in [0, 1].  ch
│ │ │ +00156860: 6563 6b5f 6d6f 6465 3a20 6661 6c73 650a  eck_mode: false.
│ │ │ +00156870: 2020 7768 656e 3a20 2820 2261 7574 6f66    when: ( "autof
│ │ │ +00156880: 7322 2069 6e20 616e 7369 626c 655f 6661  s" in ansible_fa
│ │ │ +00156890: 6374 732e 7061 636b 6167 6573 2061 6e64  cts.packages and
│ │ │ +001568a0: 2022 6c69 6e75 782d 6261 7365 2220 696e   "linux-base" in
│ │ │ +001568b0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ +001568c0: 6163 6b61 6765 730a 2020 2020 290a 2020  ackages.    ).  
│ │ │ +001568d0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ +001568e0: 3030 2d31 3731 2d33 2e34 2e36 0a20 202d  00-171-3.4.6.  -
│ │ │ +001568f0: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +00156900: 3628 6129 0a20 202d 204e 4953 542d 3830  6(a).  - NIST-80
│ │ │ +00156910: 302d 3533 2d43 4d2d 3728 6129 0a20 202d  0-53-CM-7(a).  -
│ │ │ +00156920: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +00156930: 3728 6229 0a20 202d 204e 4953 542d 3830  7(b).  - NIST-80
│ │ │ +00156940: 302d 3533 2d4d 502d 370a 2020 2d20 6469  0-53-MP-7.  - di
│ │ │ +00156950: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ +00156960: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +00156970: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +00156980: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +00156990: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +001569a0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +001569b0: 2d20 7365 7276 6963 655f 6175 746f 6673  - service_autofs
│ │ │ +001569c0: 5f64 6973 6162 6c65 640a 0a2d 206e 616d  _disabled..- nam
│ │ │ +001569d0: 653a 2044 6973 6162 6c65 2074 6865 2041  e: Disable the A
│ │ │ +001569e0: 7574 6f6d 6f75 6e74 6572 202d 2045 6e73  utomounter - Ens
│ │ │ +001569f0: 7572 6520 6175 746f 6673 2e73 6572 7669  ure autofs.servi
│ │ │ +00156a00: 6365 2069 7320 4d61 736b 6564 0a20 2061  ce is Masked.  a
│ │ │ +00156a10: 6e73 6962 6c65 2e62 7569 6c74 696e 2e73  nsible.builtin.s
│ │ │ +00156a20: 7973 7465 6d64 3a0a 2020 2020 6e61 6d65  ystemd:.    name
│ │ │ +00156a30: 3a20 6175 746f 6673 2e73 6572 7669 6365  : autofs.service
│ │ │ +00156a40: 0a20 2020 2073 7461 7465 3a20 7374 6f70  .    state: stop
│ │ │ +00156a50: 7065 640a 2020 2020 656e 6162 6c65 643a  ped.    enabled:
│ │ │ +00156a60: 2066 616c 7365 0a20 2020 206d 6173 6b65   false.    maske
│ │ │ +00156a70: 643a 2074 7275 650a 2020 7768 656e 3a0a  d: true.  when:.
│ │ │ +00156a80: 2020 2d20 2820 2261 7574 6f66 7322 2069    - ( "autofs" i
│ │ │ +00156a90: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +00156aa0: 7061 636b 6167 6573 2061 6e64 2022 6c69  packages and "li
│ │ │ +00156ab0: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ +00156ac0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ +00156ad0: 6765 730a 2020 2020 290a 2020 2d20 7365  ges.    ).  - se
│ │ │ +00156ae0: 7276 6963 655f 6578 6973 7473 2e73 7464  rvice_exists.std
│ │ │ +00156af0: 6f75 745f 6c69 6e65 7320 6973 2073 6561  out_lines is sea
│ │ │ +00156b00: 7263 6828 2261 7574 6f66 732e 7365 7276  rch("autofs.serv
│ │ │ +00156b10: 6963 6522 2c20 6d75 6c74 696c 696e 653d  ice", multiline=
│ │ │ +00156b20: 5472 7565 290a 2020 7461 6773 3a0a 2020  True).  tags:.  
│ │ │ +00156b30: 2d20 4e49 5354 2d38 3030 2d31 3731 2d33  - NIST-800-171-3
│ │ │ +00156b40: 2e34 2e36 0a20 202d 204e 4953 542d 3830  .4.6.  - NIST-80
│ │ │ +00156b50: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ +00156b60: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +00156b70: 3728 6129 0a20 202d 204e 4953 542d 3830  7(a).  - NIST-80
│ │ │ +00156b80: 302d 3533 2d43 4d2d 3728 6229 0a20 202d  0-53-CM-7(b).  -
│ │ │ +00156b90: 204e 4953 542d 3830 302d 3533 2d4d 502d   NIST-800-53-MP-
│ │ │ +00156ba0: 370a 2020 2d20 6469 7361 626c 655f 7374  7.  - disable_st
│ │ │ +00156bb0: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +00156bc0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +00156bd0: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +00156be0: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ +00156bf0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +00156c00: 6565 6465 640a 2020 2d20 7365 7276 6963  eeded.  - servic
│ │ │ +00156c10: 655f 6175 746f 6673 5f64 6973 6162 6c65  e_autofs_disable
│ │ │ +00156c20: 640a 0a2d 206e 616d 653a 2055 6e69 7420  d..- name: Unit 
│ │ │ +00156c30: 536f 636b 6574 2045 7869 7374 7320 2d20  Socket Exists - 
│ │ │ +00156c40: 6175 746f 6673 2e73 6f63 6b65 740a 2020  autofs.socket.  
│ │ │ +00156c50: 616e 7369 626c 652e 6275 696c 7469 6e2e  ansible.builtin.
│ │ │ +00156c60: 636f 6d6d 616e 643a 2073 7973 7465 6d63  command: systemc
│ │ │ +00156c70: 746c 202d 7120 6c69 7374 2d75 6e69 742d  tl -q list-unit-
│ │ │ +00156c80: 6669 6c65 7320 6175 746f 6673 2e73 6f63  files autofs.soc
│ │ │ +00156c90: 6b65 740a 2020 7265 6769 7374 6572 3a20  ket.  register: 
│ │ │ +00156ca0: 736f 636b 6574 5f66 696c 655f 6578 6973  socket_file_exis
│ │ │ +00156cb0: 7473 0a20 2063 6861 6e67 6564 5f77 6865  ts.  changed_whe
│ │ │ +00156cc0: 6e3a 2066 616c 7365 0a20 2066 6169 6c65  n: false.  faile
│ │ │ +00156cd0: 645f 7768 656e 3a20 736f 636b 6574 5f66  d_when: socket_f
│ │ │ +00156ce0: 696c 655f 6578 6973 7473 2e72 6320 6e6f  ile_exists.rc no
│ │ │ +00156cf0: 7420 696e 205b 302c 2031 5d0a 2020 6368  t in [0, 1].  ch
│ │ │ +00156d00: 6563 6b5f 6d6f 6465 3a20 6661 6c73 650a  eck_mode: false.
│ │ │ +00156d10: 2020 7768 656e 3a20 2820 2261 7574 6f66    when: ( "autof
│ │ │ +00156d20: 7322 2069 6e20 616e 7369 626c 655f 6661  s" in ansible_fa
│ │ │ +00156d30: 6374 732e 7061 636b 6167 6573 2061 6e64  cts.packages and
│ │ │ +00156d40: 2022 6c69 6e75 782d 6261 7365 2220 696e   "linux-base" in
│ │ │ +00156d50: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ +00156d60: 6163 6b61 6765 730a 2020 2020 290a 2020  ackages.    ).  
│ │ │ +00156d70: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ +00156d80: 3030 2d31 3731 2d33 2e34 2e36 0a20 202d  00-171-3.4.6.  -
│ │ │ +00156d90: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +00156da0: 3628 6129 0a20 202d 204e 4953 542d 3830  6(a).  - NIST-80
│ │ │ +00156db0: 302d 3533 2d43 4d2d 3728 6129 0a20 202d  0-53-CM-7(a).  -
│ │ │ +00156dc0: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +00156dd0: 3728 6229 0a20 202d 204e 4953 542d 3830  7(b).  - NIST-80
│ │ │ +00156de0: 302d 3533 2d4d 502d 370a 2020 2d20 6469  0-53-MP-7.  - di
│ │ │ +00156df0: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ +00156e00: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +00156e10: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +00156e20: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +00156e30: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +00156e40: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +00156e50: 2d20 7365 7276 6963 655f 6175 746f 6673  - service_autofs
│ │ │ +00156e60: 5f64 6973 6162 6c65 640a 0a2d 206e 616d  _disabled..- nam
│ │ │ +00156e70: 653a 2044 6973 6162 6c65 2074 6865 2041  e: Disable the A
│ │ │ +00156e80: 7574 6f6d 6f75 6e74 6572 202d 2044 6973  utomounter - Dis
│ │ │ +00156e90: 6162 6c65 2053 6f63 6b65 7420 6175 746f  able Socket auto
│ │ │ +00156ea0: 6673 0a20 2061 6e73 6962 6c65 2e62 7569  fs.  ansible.bui
│ │ │ +00156eb0: 6c74 696e 2e73 7973 7465 6d64 3a0a 2020  ltin.systemd:.  
│ │ │ +00156ec0: 2020 6e61 6d65 3a20 6175 746f 6673 2e73    name: autofs.s
│ │ │ +00156ed0: 6f63 6b65 740a 2020 2020 656e 6162 6c65  ocket.    enable
│ │ │ +00156ee0: 643a 2066 616c 7365 0a20 2020 2073 7461  d: false.    sta
│ │ │ +00156ef0: 7465 3a20 7374 6f70 7065 640a 2020 2020  te: stopped.    
│ │ │ +00156f00: 6d61 736b 6564 3a20 7472 7565 0a20 2077  masked: true.  w
│ │ │ +00156f10: 6865 6e3a 0a20 202d 2028 2022 6175 746f  hen:.  - ( "auto
│ │ │ +00156f20: 6673 2220 696e 2061 6e73 6962 6c65 5f66  fs" in ansible_f
│ │ │ +00156f30: 6163 7473 2e70 6163 6b61 6765 7320 616e  acts.packages an
│ │ │ +00156f40: 6420 226c 696e 7578 2d62 6173 6522 2069  d "linux-base" i
│ │ │ +00156f50: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +00156f60: 7061 636b 6167 6573 0a20 2020 2029 0a20  packages.    ). 
│ │ │ +00156f70: 202d 2073 6f63 6b65 745f 6669 6c65 5f65   - socket_file_e
│ │ │ +00156f80: 7869 7374 732e 7374 646f 7574 5f6c 696e  xists.stdout_lin
│ │ │ +00156f90: 6573 2069 7320 7365 6172 6368 2822 6175  es is search("au
│ │ │ +00156fa0: 746f 6673 2e73 6f63 6b65 7422 2c20 6d75  tofs.socket", mu
│ │ │ +00156fb0: 6c74 696c 696e 653d 5472 7565 290a 2020  ltiline=True).  
│ │ │ +00156fc0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ +00156fd0: 3030 2d31 3731 2d33 2e34 2e36 0a20 202d  00-171-3.4.6.  -
│ │ │ +00156fe0: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +00156ff0: 3628 6129 0a20 202d 204e 4953 542d 3830  6(a).  - NIST-80
│ │ │ +00157000: 302d 3533 2d43 4d2d 3728 6129 0a20 202d  0-53-CM-7(a).  -
│ │ │ +00157010: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +00157020: 3728 6229 0a20 202d 204e 4953 542d 3830  7(b).  - NIST-80
│ │ │ +00157030: 302d 3533 2d4d 502d 370a 2020 2d20 6469  0-53-MP-7.  - di
│ │ │ +00157040: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ +00157050: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +00157060: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +00157070: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +00157080: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +00157090: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +001570a0: 2d20 7365 7276 6963 655f 6175 746f 6673  - service_autofs
│ │ │ +001570b0: 5f64 6973 6162 6c65 640a 3c2f 636f 6465  _disabled.
Rem │ │ │ +00157170: 6564 6961 7469 6f6e 204b 7562 6572 6e65 ediation Kuberne │ │ │ +00157180: 7465 7320 736e 6970 7065 7420 e287 b23c tes snippet ...< │ │ │ +00157190: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ +00157210: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +00157230: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973
Complexity:< │ │ │ +00157220: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +00157240: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:medium
Reboot: │ │ │ +00157270: 3c2f 7468 3e3c 7464 3e74 7275 653c 2f74 true
S │ │ │ +00157290: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ +001572c0: 636f 6465 3e61 7069 5665 7273 696f 6e3a  code>apiVersion:
│ │ │ +001572d0: 206d 6163 6869 6e65 636f 6e66 6967 7572   machineconfigur
│ │ │ +001572e0: 6174 696f 6e2e 6f70 656e 7368 6966 742e  ation.openshift.
│ │ │ +001572f0: 696f 2f76 310a 6b69 6e64 3a20 4d61 6368  io/v1.kind: Mach
│ │ │ +00157300: 696e 6543 6f6e 6669 670a 7370 6563 3a0a  ineConfig.spec:.
│ │ │ +00157310: 2020 636f 6e66 6967 3a0a 2020 2020 6967    config:.    ig
│ │ │ +00157320: 6e69 7469 6f6e 3a0a 2020 2020 2020 7665  nition:.      ve
│ │ │ +00157330: 7273 696f 6e3a 2033 2e31 2e30 0a20 2020  rsion: 3.1.0.   
│ │ │ +00157340: 2073 7973 7465 6d64 3a0a 2020 2020 2020   systemd:.      
│ │ │ +00157350: 756e 6974 733a 0a20 2020 2020 202d 206e  units:.      - n
│ │ │ +00157360: 616d 653a 2061 7574 6f66 732e 7365 7276  ame: autofs.serv
│ │ │ +00157370: 6963 650a 2020 2020 2020 2020 656e 6162  ice.        enab
│ │ │ +00157380: 6c65 643a 2066 616c 7365 0a20 2020 2020  led: false.     
│ │ │ +00157390: 2020 206d 6173 6b3a 2074 7275 650a 2020     mask: true.  
│ │ │ +001573a0: 2020 2020 2d20 6e61 6d65 3a20 6175 746f      - name: auto
│ │ │ +001573b0: 6673 2e73 6f63 6b65 740a 2020 2020 2020  fs.socket.      
│ │ │ +001573c0: 2020 656e 6162 6c65 643a 2066 616c 7365    enabled: false
│ │ │ +001573d0: 0a20 2020 2020 2020 206d 6173 6b3a 2074  .        mask: t
│ │ │ +001573e0: 7275 650a 3c2f 636f 6465 3e3c 2f70 7265  rue.
Remediati │ │ │ +001574a0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ +001574b0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +001574f0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ +00157560: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +00157580: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +001575b0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ +001575d0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ +00157540: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +00157550: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +00157590: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +001575a0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ +001575f0: 6469 7361 626c 655f 6175 746f 6673 0a0a disable_autofs.. │ │ │ +00157600: 636c 6173 7320 6469 7361 626c 655f 6175 class disable_au │ │ │ +00157610: 746f 6673 207b 0a20 2073 6572 7669 6365 tofs {. service │ │ │ +00157620: 207b 2761 7574 6f66 7327 3a0a 2020 2020 {'autofs':. │ │ │ +00157630: 656e 6162 6c65 203d 2667 743b 2066 616c enable => fal │ │ │ +00157640: 7365 2c0a 2020 2020 656e 7375 7265 203d se,. ensure = │ │ │ +00157650: 2667 743b 2027 7374 6f70 7065 6427 2c0a > 'stopped',. │ │ │ +00157660: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.

Remedia │ │ │ +00157720: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu │ │ │ +00157730: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet . │ │ │ +00157740: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
.[custom │ │ │ +00157790: 697a 6174 696f 6e73 2e73 6572 7669 6365 izations.service │ │ │ +001577a0: 735d 0a6d 6173 6b65 6420 3d20 5b22 6175 s].masked = ["au │ │ │ +001577b0: 746f 6673 225d 0a3c 2f63 6f64 653e 3c2f tofs"].
Remed │ │ │ -00185a70: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ -00185a80: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -00185b30: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -00185b80: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ -00185bc0: 6c75 6465 2072 656d 6f76 655f 6176 6168  lude remove_avah
│ │ │ -00185bd0: 692d 6461 656d 6f6e 0a0a 636c 6173 7320  i-daemon..class 
│ │ │ -00185be0: 7265 6d6f 7665 5f61 7661 6869 2d64 6165  remove_avahi-dae
│ │ │ -00185bf0: 6d6f 6e20 7b0a 2020 7061 636b 6167 6520  mon {.  package 
│ │ │ -00185c00: 7b20 2761 7661 6869 2d64 6165 6d6f 6e27  { 'avahi-daemon'
│ │ │ -00185c10: 3a0a 2020 2020 656e 7375 7265 203d 2667  :.    ensure =&g
│ │ │ -00185c20: 743b 2027 7075 7267 6564 272c 0a20 207d  t; 'purged',.  }
│ │ │ -00185c30: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ -00185c40: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediatio │ │ │ -00185cf0: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ -00185d00: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -00185d40: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
Co │ │ │ -00185b10: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -00185b40: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -00185b60: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -00185b70: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -00185b90: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -00185ba0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
< │ │ │ -00185db0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -00185dd0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -00185e00: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -00185d90: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -00185da0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -00185de0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -00185df0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

- name: │ │ │ -00185e40: 2045 6e73 7572 6520 6176 6168 692d 6461 Ensure avahi-da │ │ │ -00185e50: 656d 6f6e 2069 7320 7265 6d6f 7665 640a emon is removed. │ │ │ -00185e60: 2020 7061 636b 6167 653a 0a20 2020 206e package:. n │ │ │ -00185e70: 616d 653a 2061 7661 6869 2d64 6165 6d6f ame: avahi-daemo │ │ │ -00185e80: 6e0a 2020 2020 7374 6174 653a 2061 6273 n. state: abs │ │ │ -00185e90: 656e 740a 2020 7461 6773 3a0a 2020 2d20 ent. tags:. - │ │ │ -00185ea0: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6 │ │ │ -00185eb0: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800 │ │ │ -00185ec0: 2d35 332d 434d 2d37 2861 290a 2020 2d20 -53-CM-7(a). - │ │ │ -00185ed0: 4e49 5354 2d38 3030 2d35 332d 434d 2d37 NIST-800-53-CM-7 │ │ │ -00185ee0: 2862 290a 2020 2d20 6469 7361 626c 655f (b). - disable_ │ │ │ -00185ef0: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low │ │ │ -00185f00: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. - │ │ │ -00185f10: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption. │ │ │ -00185f20: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi │ │ │ -00185f30: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot │ │ │ -00185f40: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack │ │ │ -00185f50: 6167 655f 6176 6168 695f 7265 6d6f 7665 age_avahi_remove │ │ │ -00185f60: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c d.

< │ │ │ +00185a70: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s │ │ │ +00185a80: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ +00185b20: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +00185b30: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +00185b80: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ +00185bc0: 6e61 6d65 3a20 456e 7375 7265 2061 7661  name: Ensure ava
│ │ │ +00185bd0: 6869 2d64 6165 6d6f 6e20 6973 2072 656d  hi-daemon is rem
│ │ │ +00185be0: 6f76 6564 0a20 2070 6163 6b61 6765 3a0a  oved.  package:.
│ │ │ +00185bf0: 2020 2020 6e61 6d65 3a20 6176 6168 692d      name: avahi-
│ │ │ +00185c00: 6461 656d 6f6e 0a20 2020 2073 7461 7465  daemon.    state
│ │ │ +00185c10: 3a20 6162 7365 6e74 0a20 2074 6167 733a  : absent.  tags:
│ │ │ +00185c20: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +00185c30: 2d43 4d2d 3628 6129 0a20 202d 204e 4953  -CM-6(a).  - NIS
│ │ │ +00185c40: 542d 3830 302d 3533 2d43 4d2d 3728 6129  T-800-53-CM-7(a)
│ │ │ +00185c50: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +00185c60: 2d43 4d2d 3728 6229 0a20 202d 2064 6973  -CM-7(b).  - dis
│ │ │ +00185c70: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +00185c80: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +00185c90: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +00185ca0: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ +00185cb0: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +00185cc0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +00185cd0: 2070 6163 6b61 6765 5f61 7661 6869 5f72   package_avahi_r
│ │ │ +00185ce0: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f  emoved.Remedi
│ │ │ +00185da0: 6174 696f 6e20 5075 7070 6574 2073 6e69  ation Puppet sni
│ │ │ +00185db0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e  ppet ...
│ │ │ +00185dc0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
C │ │ │ +00185b10: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +00185b40: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +00185b50: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +00185b90: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ +00185ba0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Com │ │ │ +00185e40: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +00185e70: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +00185e90: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +00185ea0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +00185ec0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +00185ed0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +00185ef0: 7564 6520 7265 6d6f 7665 5f61 7661 6869  ude remove_avahi
│ │ │ +00185f00: 2d64 6165 6d6f 6e0a 0a63 6c61 7373 2072  -daemon..class r
│ │ │ +00185f10: 656d 6f76 655f 6176 6168 692d 6461 656d  emove_avahi-daem
│ │ │ +00185f20: 6f6e 207b 0a20 2070 6163 6b61 6765 207b  on {.  package {
│ │ │ +00185f30: 2027 6176 6168 692d 6461 656d 6f6e 273a   'avahi-daemon':
│ │ │ +00185f40: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ +00185f50: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a  ; 'purged',.  }.
│ │ │ +00185f60: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ 00185f70: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediat │ │ │ -00187150: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue │ │ │ -00187160: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet .. │ │ │ -00187170: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
.[customi
│ │ │ -001871c0: 7a61 7469 6f6e 732e 7365 7276 6963 6573  zations.services
│ │ │ -001871d0: 5d0a 6d61 736b 6564 203d 205b 2261 7661  ].masked = ["ava
│ │ │ -001871e0: 6869 2d64 6165 6d6f 6e22 5d0a 3c2f 636f  hi-daemon"].
< │ │ │ -00187200: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -00187210: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -00187220: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -00187230: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -00187240: 646d 3231 3234 3622 2074 6162 696e 6465 dm21246" tabinde │ │ │ -00187250: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -00187260: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -00187270: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -00187280: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -00187290: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -001872a0: 656d 6564 6961 7469 6f6e 204b 7562 6572 emediation Kuber │ │ │ -001872b0: 6e65 7465 7320 736e 6970 7065 7420 e287 netes snippet .. │ │ │ -001872c0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ -00187350: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -00187370: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -00187380: 7464 3e6d 6564 6975 6d3c 2f74 643e 3c2f td>mediumReboo │ │ │ -001873a0: 743a 3c2f 7468 3e3c 7464 3e74 7275 653c t:true< │ │ │ -001873b0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -001873d0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -001873e0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
apiVersio
│ │ │ -00187400: 6e3a 206d 6163 6869 6e65 636f 6e66 6967  n: machineconfig
│ │ │ -00187410: 7572 6174 696f 6e2e 6f70 656e 7368 6966  uration.openshif
│ │ │ -00187420: 742e 696f 2f76 310a 6b69 6e64 3a20 4d61  t.io/v1.kind: Ma
│ │ │ -00187430: 6368 696e 6543 6f6e 6669 670a 7370 6563  chineConfig.spec
│ │ │ -00187440: 3a0a 2020 636f 6e66 6967 3a0a 2020 2020  :.  config:.    
│ │ │ -00187450: 6967 6e69 7469 6f6e 3a0a 2020 2020 2020  ignition:.      
│ │ │ -00187460: 7665 7273 696f 6e3a 2033 2e31 2e30 0a20  version: 3.1.0. 
│ │ │ -00187470: 2020 2073 7973 7465 6d64 3a0a 2020 2020     systemd:.    
│ │ │ -00187480: 2020 756e 6974 733a 0a20 2020 2020 202d    units:.      -
│ │ │ -00187490: 206e 616d 653a 2061 7661 6869 2d64 6165   name: avahi-dae
│ │ │ -001874a0: 6d6f 6e2e 7365 7276 6963 650a 2020 2020  mon.service.    
│ │ │ -001874b0: 2020 2020 656e 6162 6c65 643a 2066 616c      enabled: fal
│ │ │ -001874c0: 7365 0a20 2020 2020 2020 206d 6173 6b3a  se.        mask:
│ │ │ -001874d0: 2074 7275 650a 2020 2020 2020 2d20 6e61   true.      - na
│ │ │ -001874e0: 6d65 3a20 6176 6168 692d 6461 656d 6f6e  me: avahi-daemon
│ │ │ -001874f0: 2e73 6f63 6b65 740a 2020 2020 2020 2020  .socket.        
│ │ │ -00187500: 656e 6162 6c65 643a 2066 616c 7365 0a20  enabled: false. 
│ │ │ -00187510: 2020 2020 2020 206d 6173 6b3a 2074 7275         mask: tru
│ │ │ -00187520: 650a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  e.
< │ │ │ -00187530: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -001875e0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ -001875f0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -00187670: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -00187680: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -00187690: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -001876d0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -001876e0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -00187700: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ -00187720: 3c63 6f64 653e 696e 636c 7564 6520 6469  include di
│ │ │ -00187730: 7361 626c 655f 6176 6168 692d 6461 656d  sable_avahi-daem
│ │ │ -00187740: 6f6e 0a0a 636c 6173 7320 6469 7361 626c  on..class disabl
│ │ │ -00187750: 655f 6176 6168 692d 6461 656d 6f6e 207b  e_avahi-daemon {
│ │ │ -00187760: 0a20 2073 6572 7669 6365 207b 2761 7661  .  service {'ava
│ │ │ -00187770: 6869 2d64 6165 6d6f 6e27 3a0a 2020 2020  hi-daemon':.    
│ │ │ -00187780: 656e 6162 6c65 203d 2667 743b 2066 616c  enable => fal
│ │ │ -00187790: 7365 2c0a 2020 2020 656e 7375 7265 203d  se,.    ensure =
│ │ │ -001877a0: 2667 743b 2027 7374 6f70 7065 6427 2c0a  > 'stopped',.
│ │ │ -001877b0: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ -00187870: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ -00187880: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -00187890: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -00187910: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -00187940: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -00187960: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -00187970: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -00187990: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -001879a0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -001879c0: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ -001879d0: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ -001879e0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ -001879f0: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ -00187a00: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ -00187a10: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ -00187a20: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -00187a30: 434d 2d37 2861 290a 2020 2d20 4e49 5354  CM-7(a).  - NIST
│ │ │ -00187a40: 2d38 3030 2d35 332d 434d 2d37 2862 290a  -800-53-CM-7(b).
│ │ │ -00187a50: 2020 2d20 5043 492d 4453 5376 342d 322e    - PCI-DSSv4-2.
│ │ │ -00187a60: 320a 2020 2d20 5043 492d 4453 5376 342d  2.  - PCI-DSSv4-
│ │ │ -00187a70: 322e 322e 340a 2020 2d20 6469 7361 626c  2.2.4.  - disabl
│ │ │ -00187a80: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ -00187a90: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ -00187aa0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -00187ab0: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ -00187ac0: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -00187ad0: 6f74 5f6e 6565 6465 640a 2020 2d20 7365  ot_needed.  - se
│ │ │ -00187ae0: 7276 6963 655f 6176 6168 692d 6461 656d  rvice_avahi-daem
│ │ │ -00187af0: 6f6e 5f64 6973 6162 6c65 640a 0a2d 206e  on_disabled..- n
│ │ │ -00187b00: 616d 653a 2044 6973 6162 6c65 2041 7661  ame: Disable Ava
│ │ │ -00187b10: 6869 2053 6572 7665 7220 536f 6674 7761  hi Server Softwa
│ │ │ -00187b20: 7265 202d 2043 6f6c 6c65 6374 2073 7973  re - Collect sys
│ │ │ -00187b30: 7465 6d64 2053 6572 7669 6365 7320 5072  temd Services Pr
│ │ │ -00187b40: 6573 656e 7420 696e 2074 6865 2053 7973  esent in the Sys
│ │ │ -00187b50: 7465 6d0a 2020 616e 7369 626c 652e 6275  tem.  ansible.bu
│ │ │ -00187b60: 696c 7469 6e2e 636f 6d6d 616e 643a 2073  iltin.command: s
│ │ │ -00187b70: 7973 7465 6d63 746c 202d 7120 6c69 7374  ystemctl -q list
│ │ │ -00187b80: 2d75 6e69 742d 6669 6c65 7320 2d2d 7479  -unit-files --ty
│ │ │ -00187b90: 7065 2073 6572 7669 6365 0a20 2072 6567  pe service.  reg
│ │ │ -00187ba0: 6973 7465 723a 2073 6572 7669 6365 5f65  ister: service_e
│ │ │ -00187bb0: 7869 7374 730a 2020 6368 616e 6765 645f  xists.  changed_
│ │ │ -00187bc0: 7768 656e 3a20 6661 6c73 650a 2020 6661  when: false.  fa
│ │ │ -00187bd0: 696c 6564 5f77 6865 6e3a 2073 6572 7669  iled_when: servi
│ │ │ -00187be0: 6365 5f65 7869 7374 732e 7263 206e 6f74  ce_exists.rc not
│ │ │ -00187bf0: 2069 6e20 5b30 2c20 315d 0a20 2063 6865   in [0, 1].  che
│ │ │ -00187c00: 636b 5f6d 6f64 653a 2066 616c 7365 0a20  ck_mode: false. 
│ │ │ -00187c10: 2077 6865 6e3a 2028 2022 6176 6168 692d   when: ( "avahi-
│ │ │ -00187c20: 6461 656d 6f6e 2220 696e 2061 6e73 6962  daemon" in ansib
│ │ │ -00187c30: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -00187c40: 7320 616e 6420 226c 696e 7578 2d62 6173  s and "linux-bas
│ │ │ -00187c50: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ -00187c60: 6374 732e 7061 636b 6167 6573 0a20 2020  cts.packages.   
│ │ │ -00187c70: 2029 0a20 2074 6167 733a 0a20 202d 204e   ).  tags:.  - N
│ │ │ -00187c80: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -00187c90: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ -00187ca0: 3533 2d43 4d2d 3728 6129 0a20 202d 204e  53-CM-7(a).  - N
│ │ │ -00187cb0: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ -00187cc0: 6229 0a20 202d 2050 4349 2d44 5353 7634  b).  - PCI-DSSv4
│ │ │ -00187cd0: 2d32 2e32 0a20 202d 2050 4349 2d44 5353  -2.2.  - PCI-DSS
│ │ │ -00187ce0: 7634 2d32 2e32 2e34 0a20 202d 2064 6973  v4-2.2.4.  - dis
│ │ │ -00187cf0: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -00187d00: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -00187d10: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -00187d20: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ -00187d30: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ -00187d40: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -00187d50: 2073 6572 7669 6365 5f61 7661 6869 2d64   service_avahi-d
│ │ │ -00187d60: 6165 6d6f 6e5f 6469 7361 626c 6564 0a0a  aemon_disabled..
│ │ │ -00187d70: 2d20 6e61 6d65 3a20 4469 7361 626c 6520  - name: Disable 
│ │ │ -00187d80: 4176 6168 6920 5365 7276 6572 2053 6f66  Avahi Server Sof
│ │ │ -00187d90: 7477 6172 6520 2d20 456e 7375 7265 2061  tware - Ensure a
│ │ │ -00187da0: 7661 6869 2d64 6165 6d6f 6e2e 7365 7276  vahi-daemon.serv
│ │ │ -00187db0: 6963 6520 6973 204d 6173 6b65 640a 2020  ice is Masked.  
│ │ │ -00187dc0: 616e 7369 626c 652e 6275 696c 7469 6e2e  ansible.builtin.
│ │ │ -00187dd0: 7379 7374 656d 643a 0a20 2020 206e 616d  systemd:.    nam
│ │ │ -00187de0: 653a 2061 7661 6869 2d64 6165 6d6f 6e2e  e: avahi-daemon.
│ │ │ -00187df0: 7365 7276 6963 650a 2020 2020 7374 6174  service.    stat
│ │ │ -00187e00: 653a 2073 746f 7070 6564 0a20 2020 2065  e: stopped.    e
│ │ │ -00187e10: 6e61 626c 6564 3a20 6661 6c73 650a 2020  nabled: false.  
│ │ │ -00187e20: 2020 6d61 736b 6564 3a20 7472 7565 0a20    masked: true. 
│ │ │ -00187e30: 2077 6865 6e3a 0a20 202d 2028 2022 6176   when:.  - ( "av
│ │ │ -00187e40: 6168 692d 6461 656d 6f6e 2220 696e 2061  ahi-daemon" in a
│ │ │ -00187e50: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ -00187e60: 6b61 6765 7320 616e 6420 226c 696e 7578  kages and "linux
│ │ │ -00187e70: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ -00187e80: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ -00187e90: 0a20 2020 2029 0a20 202d 2073 6572 7669  .    ).  - servi
│ │ │ -00187ea0: 6365 5f65 7869 7374 732e 7374 646f 7574  ce_exists.stdout
│ │ │ -00187eb0: 5f6c 696e 6573 2069 7320 7365 6172 6368  _lines is search
│ │ │ -00187ec0: 2822 6176 6168 692d 6461 656d 6f6e 2e73  ("avahi-daemon.s
│ │ │ -00187ed0: 6572 7669 6365 222c 206d 756c 7469 6c69  ervice", multili
│ │ │ -00187ee0: 6e65 3d54 7275 6529 0a20 2074 6167 733a  ne=True).  tags:
│ │ │ -00187ef0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -00187f00: 2d43 4d2d 3628 6129 0a20 202d 204e 4953  -CM-6(a).  - NIS
│ │ │ -00187f10: 542d 3830 302d 3533 2d43 4d2d 3728 6129  T-800-53-CM-7(a)
│ │ │ -00187f20: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -00187f30: 2d43 4d2d 3728 6229 0a20 202d 2050 4349  -CM-7(b).  - PCI
│ │ │ -00187f40: 2d44 5353 7634 2d32 2e32 0a20 202d 2050  -DSSv4-2.2.  - P
│ │ │ -00187f50: 4349 2d44 5353 7634 2d32 2e32 2e34 0a20  CI-DSSv4-2.2.4. 
│ │ │ -00187f60: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ -00187f70: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -00187f80: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -00187f90: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -00187fa0: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -00187fb0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -00187fc0: 6564 0a20 202d 2073 6572 7669 6365 5f61  ed.  - service_a
│ │ │ -00187fd0: 7661 6869 2d64 6165 6d6f 6e5f 6469 7361  vahi-daemon_disa
│ │ │ -00187fe0: 626c 6564 0a0a 2d20 6e61 6d65 3a20 556e  bled..- name: Un
│ │ │ -00187ff0: 6974 2053 6f63 6b65 7420 4578 6973 7473  it Socket Exists
│ │ │ -00188000: 202d 2061 7661 6869 2d64 6165 6d6f 6e2e   - avahi-daemon.
│ │ │ -00188010: 736f 636b 6574 0a20 2061 6e73 6962 6c65  socket.  ansible
│ │ │ -00188020: 2e62 7569 6c74 696e 2e63 6f6d 6d61 6e64  .builtin.command
│ │ │ -00188030: 3a20 7379 7374 656d 6374 6c20 2d71 206c  : systemctl -q l
│ │ │ -00188040: 6973 742d 756e 6974 2d66 696c 6573 2061  ist-unit-files a
│ │ │ -00188050: 7661 6869 2d64 6165 6d6f 6e2e 736f 636b  vahi-daemon.sock
│ │ │ -00188060: 6574 0a20 2072 6567 6973 7465 723a 2073  et.  register: s
│ │ │ -00188070: 6f63 6b65 745f 6669 6c65 5f65 7869 7374  ocket_file_exist
│ │ │ -00188080: 730a 2020 6368 616e 6765 645f 7768 656e  s.  changed_when
│ │ │ -00188090: 3a20 6661 6c73 650a 2020 6661 696c 6564  : false.  failed
│ │ │ -001880a0: 5f77 6865 6e3a 2073 6f63 6b65 745f 6669  _when: socket_fi
│ │ │ -001880b0: 6c65 5f65 7869 7374 732e 7263 206e 6f74  le_exists.rc not
│ │ │ -001880c0: 2069 6e20 5b30 2c20 315d 0a20 2063 6865   in [0, 1].  che
│ │ │ -001880d0: 636b 5f6d 6f64 653a 2066 616c 7365 0a20  ck_mode: false. 
│ │ │ -001880e0: 2077 6865 6e3a 2028 2022 6176 6168 692d   when: ( "avahi-
│ │ │ -001880f0: 6461 656d 6f6e 2220 696e 2061 6e73 6962  daemon" in ansib
│ │ │ -00188100: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -00188110: 7320 616e 6420 226c 696e 7578 2d62 6173  s and "linux-bas
│ │ │ -00188120: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ -00188130: 6374 732e 7061 636b 6167 6573 0a20 2020  cts.packages.   
│ │ │ -00188140: 2029 0a20 2074 6167 733a 0a20 202d 204e   ).  tags:.  - N
│ │ │ -00188150: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -00188160: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ -00188170: 3533 2d43 4d2d 3728 6129 0a20 202d 204e  53-CM-7(a).  - N
│ │ │ -00188180: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ -00188190: 6229 0a20 202d 2050 4349 2d44 5353 7634  b).  - PCI-DSSv4
│ │ │ -001881a0: 2d32 2e32 0a20 202d 2050 4349 2d44 5353  -2.2.  - PCI-DSS
│ │ │ -001881b0: 7634 2d32 2e32 2e34 0a20 202d 2064 6973  v4-2.2.4.  - dis
│ │ │ -001881c0: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -001881d0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -001881e0: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -001881f0: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ -00188200: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ -00188210: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -00188220: 2073 6572 7669 6365 5f61 7661 6869 2d64   service_avahi-d
│ │ │ -00188230: 6165 6d6f 6e5f 6469 7361 626c 6564 0a0a  aemon_disabled..
│ │ │ -00188240: 2d20 6e61 6d65 3a20 4469 7361 626c 6520  - name: Disable 
│ │ │ -00188250: 4176 6168 6920 5365 7276 6572 2053 6f66  Avahi Server Sof
│ │ │ -00188260: 7477 6172 6520 2d20 4469 7361 626c 6520  tware - Disable 
│ │ │ -00188270: 536f 636b 6574 2061 7661 6869 2d64 6165  Socket avahi-dae
│ │ │ -00188280: 6d6f 6e0a 2020 616e 7369 626c 652e 6275  mon.  ansible.bu
│ │ │ -00188290: 696c 7469 6e2e 7379 7374 656d 643a 0a20  iltin.systemd:. 
│ │ │ -001882a0: 2020 206e 616d 653a 2061 7661 6869 2d64     name: avahi-d
│ │ │ -001882b0: 6165 6d6f 6e2e 736f 636b 6574 0a20 2020  aemon.socket.   
│ │ │ -001882c0: 2065 6e61 626c 6564 3a20 6661 6c73 650a   enabled: false.
│ │ │ -001882d0: 2020 2020 7374 6174 653a 2073 746f 7070      state: stopp
│ │ │ -001882e0: 6564 0a20 2020 206d 6173 6b65 643a 2074  ed.    masked: t
│ │ │ -001882f0: 7275 650a 2020 7768 656e 3a0a 2020 2d20  rue.  when:.  - 
│ │ │ -00188300: 2820 2261 7661 6869 2d64 6165 6d6f 6e22  ( "avahi-daemon"
│ │ │ -00188310: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ -00188320: 732e 7061 636b 6167 6573 2061 6e64 2022  s.packages and "
│ │ │ -00188330: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ -00188340: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ -00188350: 6b61 6765 730a 2020 2020 290a 2020 2d20  kages.    ).  - 
│ │ │ -00188360: 736f 636b 6574 5f66 696c 655f 6578 6973  socket_file_exis
│ │ │ -00188370: 7473 2e73 7464 6f75 745f 6c69 6e65 7320  ts.stdout_lines 
│ │ │ -00188380: 6973 2073 6561 7263 6828 2261 7661 6869  is search("avahi
│ │ │ -00188390: 2d64 6165 6d6f 6e2e 736f 636b 6574 222c  -daemon.socket",
│ │ │ -001883a0: 206d 756c 7469 6c69 6e65 3d54 7275 6529   multiline=True)
│ │ │ -001883b0: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ -001883c0: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ -001883d0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -001883e0: 2d43 4d2d 3728 6129 0a20 202d 204e 4953  -CM-7(a).  - NIS
│ │ │ -001883f0: 542d 3830 302d 3533 2d43 4d2d 3728 6229  T-800-53-CM-7(b)
│ │ │ -00188400: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ -00188410: 2e32 0a20 202d 2050 4349 2d44 5353 7634  .2.  - PCI-DSSv4
│ │ │ -00188420: 2d32 2e32 2e34 0a20 202d 2064 6973 6162  -2.2.4.  - disab
│ │ │ -00188430: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -00188440: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -00188450: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -00188460: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ -00188470: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -00188480: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ -00188490: 6572 7669 6365 5f61 7661 6869 2d64 6165  ervice_avahi-dae
│ │ │ -001884a0: 6d6f 6e5f 6469 7361 626c 6564 0a3c 2f63  mon_disabled.
< │ │ │ +00187170: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +00187180: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +00187190: 7365 2220 6964 3d22 6964 6d32 3132 3435 se" id="idm21245 │ │ │ +001871a0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ +001871f0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +00187200: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +00187220: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +00187240: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +00187250: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +00187290: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ +001872a0: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ +001872b0: 636b 6167 6520 6661 6374 730a 2020 7061  ckage facts.  pa
│ │ │ +001872c0: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ +001872d0: 206d 616e 6167 6572 3a20 6175 746f 0a20   manager: auto. 
│ │ │ +001872e0: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ +001872f0: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ +00187300: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +00187310: 4d2d 3728 6129 0a20 202d 204e 4953 542d  M-7(a).  - NIST-
│ │ │ +00187320: 3830 302d 3533 2d43 4d2d 3728 6229 0a20  800-53-CM-7(b). 
│ │ │ +00187330: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ +00187340: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ +00187350: 2e32 2e34 0a20 202d 2064 6973 6162 6c65  .2.4.  - disable
│ │ │ +00187360: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ +00187370: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ +00187380: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ +00187390: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ +001873a0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ +001873b0: 745f 6e65 6564 6564 0a20 202d 2073 6572  t_needed.  - ser
│ │ │ +001873c0: 7669 6365 5f61 7661 6869 2d64 6165 6d6f  vice_avahi-daemo
│ │ │ +001873d0: 6e5f 6469 7361 626c 6564 0a0a 2d20 6e61  n_disabled..- na
│ │ │ +001873e0: 6d65 3a20 4469 7361 626c 6520 4176 6168  me: Disable Avah
│ │ │ +001873f0: 6920 5365 7276 6572 2053 6f66 7477 6172  i Server Softwar
│ │ │ +00187400: 6520 2d20 436f 6c6c 6563 7420 7379 7374  e - Collect syst
│ │ │ +00187410: 656d 6420 5365 7276 6963 6573 2050 7265  emd Services Pre
│ │ │ +00187420: 7365 6e74 2069 6e20 7468 6520 5379 7374  sent in the Syst
│ │ │ +00187430: 656d 0a20 2061 6e73 6962 6c65 2e62 7569  em.  ansible.bui
│ │ │ +00187440: 6c74 696e 2e63 6f6d 6d61 6e64 3a20 7379  ltin.command: sy
│ │ │ +00187450: 7374 656d 6374 6c20 2d71 206c 6973 742d  stemctl -q list-
│ │ │ +00187460: 756e 6974 2d66 696c 6573 202d 2d74 7970  unit-files --typ
│ │ │ +00187470: 6520 7365 7276 6963 650a 2020 7265 6769  e service.  regi
│ │ │ +00187480: 7374 6572 3a20 7365 7276 6963 655f 6578  ster: service_ex
│ │ │ +00187490: 6973 7473 0a20 2063 6861 6e67 6564 5f77  ists.  changed_w
│ │ │ +001874a0: 6865 6e3a 2066 616c 7365 0a20 2066 6169  hen: false.  fai
│ │ │ +001874b0: 6c65 645f 7768 656e 3a20 7365 7276 6963  led_when: servic
│ │ │ +001874c0: 655f 6578 6973 7473 2e72 6320 6e6f 7420  e_exists.rc not 
│ │ │ +001874d0: 696e 205b 302c 2031 5d0a 2020 6368 6563  in [0, 1].  chec
│ │ │ +001874e0: 6b5f 6d6f 6465 3a20 6661 6c73 650a 2020  k_mode: false.  
│ │ │ +001874f0: 7768 656e 3a20 2820 2261 7661 6869 2d64  when: ( "avahi-d
│ │ │ +00187500: 6165 6d6f 6e22 2069 6e20 616e 7369 626c  aemon" in ansibl
│ │ │ +00187510: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +00187520: 2061 6e64 2022 6c69 6e75 782d 6261 7365   and "linux-base
│ │ │ +00187530: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ +00187540: 7473 2e70 6163 6b61 6765 730a 2020 2020  ts.packages.    
│ │ │ +00187550: 290a 2020 7461 6773 3a0a 2020 2d20 4e49  ).  tags:.  - NI
│ │ │ +00187560: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +00187570: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +00187580: 332d 434d 2d37 2861 290a 2020 2d20 4e49  3-CM-7(a).  - NI
│ │ │ +00187590: 5354 2d38 3030 2d35 332d 434d 2d37 2862  ST-800-53-CM-7(b
│ │ │ +001875a0: 290a 2020 2d20 5043 492d 4453 5376 342d  ).  - PCI-DSSv4-
│ │ │ +001875b0: 322e 320a 2020 2d20 5043 492d 4453 5376  2.2.  - PCI-DSSv
│ │ │ +001875c0: 342d 322e 322e 340a 2020 2d20 6469 7361  4-2.2.4.  - disa
│ │ │ +001875d0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +001875e0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +001875f0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +00187600: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ +00187610: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +00187620: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +00187630: 7365 7276 6963 655f 6176 6168 692d 6461  service_avahi-da
│ │ │ +00187640: 656d 6f6e 5f64 6973 6162 6c65 640a 0a2d  emon_disabled..-
│ │ │ +00187650: 206e 616d 653a 2044 6973 6162 6c65 2041   name: Disable A
│ │ │ +00187660: 7661 6869 2053 6572 7665 7220 536f 6674  vahi Server Soft
│ │ │ +00187670: 7761 7265 202d 2045 6e73 7572 6520 6176  ware - Ensure av
│ │ │ +00187680: 6168 692d 6461 656d 6f6e 2e73 6572 7669  ahi-daemon.servi
│ │ │ +00187690: 6365 2069 7320 4d61 736b 6564 0a20 2061  ce is Masked.  a
│ │ │ +001876a0: 6e73 6962 6c65 2e62 7569 6c74 696e 2e73  nsible.builtin.s
│ │ │ +001876b0: 7973 7465 6d64 3a0a 2020 2020 6e61 6d65  ystemd:.    name
│ │ │ +001876c0: 3a20 6176 6168 692d 6461 656d 6f6e 2e73  : avahi-daemon.s
│ │ │ +001876d0: 6572 7669 6365 0a20 2020 2073 7461 7465  ervice.    state
│ │ │ +001876e0: 3a20 7374 6f70 7065 640a 2020 2020 656e  : stopped.    en
│ │ │ +001876f0: 6162 6c65 643a 2066 616c 7365 0a20 2020  abled: false.   
│ │ │ +00187700: 206d 6173 6b65 643a 2074 7275 650a 2020   masked: true.  
│ │ │ +00187710: 7768 656e 3a0a 2020 2d20 2820 2261 7661  when:.  - ( "ava
│ │ │ +00187720: 6869 2d64 6165 6d6f 6e22 2069 6e20 616e  hi-daemon" in an
│ │ │ +00187730: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +00187740: 6167 6573 2061 6e64 2022 6c69 6e75 782d  ages and "linux-
│ │ │ +00187750: 6261 7365 2220 696e 2061 6e73 6962 6c65  base" in ansible
│ │ │ +00187760: 5f66 6163 7473 2e70 6163 6b61 6765 730a  _facts.packages.
│ │ │ +00187770: 2020 2020 290a 2020 2d20 7365 7276 6963      ).  - servic
│ │ │ +00187780: 655f 6578 6973 7473 2e73 7464 6f75 745f  e_exists.stdout_
│ │ │ +00187790: 6c69 6e65 7320 6973 2073 6561 7263 6828  lines is search(
│ │ │ +001877a0: 2261 7661 6869 2d64 6165 6d6f 6e2e 7365  "avahi-daemon.se
│ │ │ +001877b0: 7276 6963 6522 2c20 6d75 6c74 696c 696e  rvice", multilin
│ │ │ +001877c0: 653d 5472 7565 290a 2020 7461 6773 3a0a  e=True).  tags:.
│ │ │ +001877d0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001877e0: 434d 2d36 2861 290a 2020 2d20 4e49 5354  CM-6(a).  - NIST
│ │ │ +001877f0: 2d38 3030 2d35 332d 434d 2d37 2861 290a  -800-53-CM-7(a).
│ │ │ +00187800: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +00187810: 434d 2d37 2862 290a 2020 2d20 5043 492d  CM-7(b).  - PCI-
│ │ │ +00187820: 4453 5376 342d 322e 320a 2020 2d20 5043  DSSv4-2.2.  - PC
│ │ │ +00187830: 492d 4453 5376 342d 322e 322e 340a 2020  I-DSSv4-2.2.4.  
│ │ │ +00187840: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ +00187850: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +00187860: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +00187870: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +00187880: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +00187890: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +001878a0: 640a 2020 2d20 7365 7276 6963 655f 6176  d.  - service_av
│ │ │ +001878b0: 6168 692d 6461 656d 6f6e 5f64 6973 6162  ahi-daemon_disab
│ │ │ +001878c0: 6c65 640a 0a2d 206e 616d 653a 2055 6e69  led..- name: Uni
│ │ │ +001878d0: 7420 536f 636b 6574 2045 7869 7374 7320  t Socket Exists 
│ │ │ +001878e0: 2d20 6176 6168 692d 6461 656d 6f6e 2e73  - avahi-daemon.s
│ │ │ +001878f0: 6f63 6b65 740a 2020 616e 7369 626c 652e  ocket.  ansible.
│ │ │ +00187900: 6275 696c 7469 6e2e 636f 6d6d 616e 643a  builtin.command:
│ │ │ +00187910: 2073 7973 7465 6d63 746c 202d 7120 6c69   systemctl -q li
│ │ │ +00187920: 7374 2d75 6e69 742d 6669 6c65 7320 6176  st-unit-files av
│ │ │ +00187930: 6168 692d 6461 656d 6f6e 2e73 6f63 6b65  ahi-daemon.socke
│ │ │ +00187940: 740a 2020 7265 6769 7374 6572 3a20 736f  t.  register: so
│ │ │ +00187950: 636b 6574 5f66 696c 655f 6578 6973 7473  cket_file_exists
│ │ │ +00187960: 0a20 2063 6861 6e67 6564 5f77 6865 6e3a  .  changed_when:
│ │ │ +00187970: 2066 616c 7365 0a20 2066 6169 6c65 645f   false.  failed_
│ │ │ +00187980: 7768 656e 3a20 736f 636b 6574 5f66 696c  when: socket_fil
│ │ │ +00187990: 655f 6578 6973 7473 2e72 6320 6e6f 7420  e_exists.rc not 
│ │ │ +001879a0: 696e 205b 302c 2031 5d0a 2020 6368 6563  in [0, 1].  chec
│ │ │ +001879b0: 6b5f 6d6f 6465 3a20 6661 6c73 650a 2020  k_mode: false.  
│ │ │ +001879c0: 7768 656e 3a20 2820 2261 7661 6869 2d64  when: ( "avahi-d
│ │ │ +001879d0: 6165 6d6f 6e22 2069 6e20 616e 7369 626c  aemon" in ansibl
│ │ │ +001879e0: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +001879f0: 2061 6e64 2022 6c69 6e75 782d 6261 7365   and "linux-base
│ │ │ +00187a00: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ +00187a10: 7473 2e70 6163 6b61 6765 730a 2020 2020  ts.packages.    
│ │ │ +00187a20: 290a 2020 7461 6773 3a0a 2020 2d20 4e49  ).  tags:.  - NI
│ │ │ +00187a30: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +00187a40: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +00187a50: 332d 434d 2d37 2861 290a 2020 2d20 4e49  3-CM-7(a).  - NI
│ │ │ +00187a60: 5354 2d38 3030 2d35 332d 434d 2d37 2862  ST-800-53-CM-7(b
│ │ │ +00187a70: 290a 2020 2d20 5043 492d 4453 5376 342d  ).  - PCI-DSSv4-
│ │ │ +00187a80: 322e 320a 2020 2d20 5043 492d 4453 5376  2.2.  - PCI-DSSv
│ │ │ +00187a90: 342d 322e 322e 340a 2020 2d20 6469 7361  4-2.2.4.  - disa
│ │ │ +00187aa0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +00187ab0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +00187ac0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +00187ad0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ +00187ae0: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +00187af0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +00187b00: 7365 7276 6963 655f 6176 6168 692d 6461  service_avahi-da
│ │ │ +00187b10: 656d 6f6e 5f64 6973 6162 6c65 640a 0a2d  emon_disabled..-
│ │ │ +00187b20: 206e 616d 653a 2044 6973 6162 6c65 2041   name: Disable A
│ │ │ +00187b30: 7661 6869 2053 6572 7665 7220 536f 6674  vahi Server Soft
│ │ │ +00187b40: 7761 7265 202d 2044 6973 6162 6c65 2053  ware - Disable S
│ │ │ +00187b50: 6f63 6b65 7420 6176 6168 692d 6461 656d  ocket avahi-daem
│ │ │ +00187b60: 6f6e 0a20 2061 6e73 6962 6c65 2e62 7569  on.  ansible.bui
│ │ │ +00187b70: 6c74 696e 2e73 7973 7465 6d64 3a0a 2020  ltin.systemd:.  
│ │ │ +00187b80: 2020 6e61 6d65 3a20 6176 6168 692d 6461    name: avahi-da
│ │ │ +00187b90: 656d 6f6e 2e73 6f63 6b65 740a 2020 2020  emon.socket.    
│ │ │ +00187ba0: 656e 6162 6c65 643a 2066 616c 7365 0a20  enabled: false. 
│ │ │ +00187bb0: 2020 2073 7461 7465 3a20 7374 6f70 7065     state: stoppe
│ │ │ +00187bc0: 640a 2020 2020 6d61 736b 6564 3a20 7472  d.    masked: tr
│ │ │ +00187bd0: 7565 0a20 2077 6865 6e3a 0a20 202d 2028  ue.  when:.  - (
│ │ │ +00187be0: 2022 6176 6168 692d 6461 656d 6f6e 2220   "avahi-daemon" 
│ │ │ +00187bf0: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +00187c00: 2e70 6163 6b61 6765 7320 616e 6420 226c  .packages and "l
│ │ │ +00187c10: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ +00187c20: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +00187c30: 6167 6573 0a20 2020 2029 0a20 202d 2073  ages.    ).  - s
│ │ │ +00187c40: 6f63 6b65 745f 6669 6c65 5f65 7869 7374  ocket_file_exist
│ │ │ +00187c50: 732e 7374 646f 7574 5f6c 696e 6573 2069  s.stdout_lines i
│ │ │ +00187c60: 7320 7365 6172 6368 2822 6176 6168 692d  s search("avahi-
│ │ │ +00187c70: 6461 656d 6f6e 2e73 6f63 6b65 7422 2c20  daemon.socket", 
│ │ │ +00187c80: 6d75 6c74 696c 696e 653d 5472 7565 290a  multiline=True).
│ │ │ +00187c90: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ +00187ca0: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ +00187cb0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +00187cc0: 434d 2d37 2861 290a 2020 2d20 4e49 5354  CM-7(a).  - NIST
│ │ │ +00187cd0: 2d38 3030 2d35 332d 434d 2d37 2862 290a  -800-53-CM-7(b).
│ │ │ +00187ce0: 2020 2d20 5043 492d 4453 5376 342d 322e    - PCI-DSSv4-2.
│ │ │ +00187cf0: 320a 2020 2d20 5043 492d 4453 5376 342d  2.  - PCI-DSSv4-
│ │ │ +00187d00: 322e 322e 340a 2020 2d20 6469 7361 626c  2.2.4.  - disabl
│ │ │ +00187d10: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ +00187d20: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +00187d30: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +00187d40: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ +00187d50: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +00187d60: 6f74 5f6e 6565 6465 640a 2020 2d20 7365  ot_needed.  - se
│ │ │ +00187d70: 7276 6963 655f 6176 6168 692d 6461 656d  rvice_avahi-daem
│ │ │ +00187d80: 6f6e 5f64 6973 6162 6c65 640a 3c2f 636f  on_disabled.
< │ │ │ +00187da0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +00187db0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +00187dc0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +00187dd0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +00187de0: 646d 3231 3234 3622 2074 6162 696e 6465 dm21246" tabinde │ │ │ +00187df0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +00187e00: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +00187e10: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +00187e20: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +00187e30: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +00187e40: 656d 6564 6961 7469 6f6e 204b 7562 6572 emediation Kuber │ │ │ +00187e50: 6e65 7465 7320 736e 6970 7065 7420 e287 netes snippet .. │ │ │ +00187e60: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ +00187ef0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +00187f10: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +00187f20: 7464 3e6d 6564 6975 6d3c 2f74 643e 3c2f td>mediumReboo │ │ │ +00187f40: 743a 3c2f 7468 3e3c 7464 3e74 7275 653c t:true< │ │ │ +00187f50: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +00187f70: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +00187f80: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
apiVersio
│ │ │ +00187fa0: 6e3a 206d 6163 6869 6e65 636f 6e66 6967  n: machineconfig
│ │ │ +00187fb0: 7572 6174 696f 6e2e 6f70 656e 7368 6966  uration.openshif
│ │ │ +00187fc0: 742e 696f 2f76 310a 6b69 6e64 3a20 4d61  t.io/v1.kind: Ma
│ │ │ +00187fd0: 6368 696e 6543 6f6e 6669 670a 7370 6563  chineConfig.spec
│ │ │ +00187fe0: 3a0a 2020 636f 6e66 6967 3a0a 2020 2020  :.  config:.    
│ │ │ +00187ff0: 6967 6e69 7469 6f6e 3a0a 2020 2020 2020  ignition:.      
│ │ │ +00188000: 7665 7273 696f 6e3a 2033 2e31 2e30 0a20  version: 3.1.0. 
│ │ │ +00188010: 2020 2073 7973 7465 6d64 3a0a 2020 2020     systemd:.    
│ │ │ +00188020: 2020 756e 6974 733a 0a20 2020 2020 202d    units:.      -
│ │ │ +00188030: 206e 616d 653a 2061 7661 6869 2d64 6165   name: avahi-dae
│ │ │ +00188040: 6d6f 6e2e 7365 7276 6963 650a 2020 2020  mon.service.    
│ │ │ +00188050: 2020 2020 656e 6162 6c65 643a 2066 616c      enabled: fal
│ │ │ +00188060: 7365 0a20 2020 2020 2020 206d 6173 6b3a  se.        mask:
│ │ │ +00188070: 2074 7275 650a 2020 2020 2020 2d20 6e61   true.      - na
│ │ │ +00188080: 6d65 3a20 6176 6168 692d 6461 656d 6f6e  me: avahi-daemon
│ │ │ +00188090: 2e73 6f63 6b65 740a 2020 2020 2020 2020  .socket.        
│ │ │ +001880a0: 656e 6162 6c65 643a 2066 616c 7365 0a20  enabled: false. 
│ │ │ +001880b0: 2020 2020 2020 206d 6173 6b3a 2074 7275         mask: tru
│ │ │ +001880c0: 650a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  e.
< │ │ │ +001880d0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +00188180: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +00188190: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +00188210: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +00188220: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +00188230: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +00188270: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +00188280: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +001882a0: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ +001882c0: 3c63 6f64 653e 696e 636c 7564 6520 6469  include di
│ │ │ +001882d0: 7361 626c 655f 6176 6168 692d 6461 656d  sable_avahi-daem
│ │ │ +001882e0: 6f6e 0a0a 636c 6173 7320 6469 7361 626c  on..class disabl
│ │ │ +001882f0: 655f 6176 6168 692d 6461 656d 6f6e 207b  e_avahi-daemon {
│ │ │ +00188300: 0a20 2073 6572 7669 6365 207b 2761 7661  .  service {'ava
│ │ │ +00188310: 6869 2d64 6165 6d6f 6e27 3a0a 2020 2020  hi-daemon':.    
│ │ │ +00188320: 656e 6162 6c65 203d 2667 743b 2066 616c  enable => fal
│ │ │ +00188330: 7365 2c0a 2020 2020 656e 7375 7265 203d  se,.    ensure =
│ │ │ +00188340: 2667 743b 2027 7374 6f70 7065 6427 2c0a  > 'stopped',.
│ │ │ +00188350: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ +00188410: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu │ │ │ +00188420: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet . │ │ │ +00188430: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
.[custom │ │ │ +00188480: 697a 6174 696f 6e73 2e73 6572 7669 6365 izations.service │ │ │ +00188490: 735d 0a6d 6173 6b65 6420 3d20 5b22 6176 s].masked = ["av │ │ │ +001884a0: 6168 692d 6461 656d 6f6e 225d 0a3c 2f63 ahi-daemon"].
│ │ │ 001884c0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Remediation OSB │ │ │ -00191b70: 7569 6c64 2042 6c75 6570 7269 6e74 2073 uild Blueprint s │ │ │ -00191b80: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...

│ │ │ -00191bd0: 0a5b 6375 7374 6f6d 697a 6174 696f 6e73  .[customizations
│ │ │ -00191be0: 2e73 6572 7669 6365 735d 0a65 6e61 626c  .services].enabl
│ │ │ -00191bf0: 6564 203d 205b 2263 726f 6e22 5d0a 3c2f  ed = ["cron"].
Remediation Pup │ │ │ -00191cc0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ -00191cd0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -00191d50: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -00191d70: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -00191dc0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ -00191df0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include enable
│ │ │ -00191e10: 5f63 726f 6e0a 0a63 6c61 7373 2065 6e61  _cron..class ena
│ │ │ -00191e20: 626c 655f 6372 6f6e 207b 0a20 2073 6572  ble_cron {.  ser
│ │ │ -00191e30: 7669 6365 207b 2763 726f 6e27 3a0a 2020  vice {'cron':.  
│ │ │ -00191e40: 2020 656e 6162 6c65 203d 2667 743b 2074    enable => t
│ │ │ -00191e50: 7275 652c 0a20 2020 2065 6e73 7572 6520  rue,.    ensure 
│ │ │ -00191e60: 3d26 6774 3b20 2772 756e 6e69 6e67 272c  => 'running',
│ │ │ -00191e70: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.Remedi
│ │ │ -00191f30: 6174 696f 6e20 416e 7369 626c 6520 736e  ation Ansible sn
│ │ │ -00191f40: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
Complexity:< │ │ │ -00191d60: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -00191d80: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -00191dd0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ -00191de0: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
low< │ │ │ -00191ff0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -00192040: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ -00191fd0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -00192000: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -00192020: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -00192030: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -00192050: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ -00192060: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -00192080: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ -00192090: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ -001920a0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ -001920b0: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ -001920c0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ -001920d0: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ -001920e0: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -001920f0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -00192100: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -00192110: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -00192120: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -00192130: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -00192140: 6564 0a20 202d 2073 6572 7669 6365 5f63  ed.  - service_c
│ │ │ -00192150: 726f 6e5f 656e 6162 6c65 640a 0a2d 206e  ron_enabled..- n
│ │ │ -00192160: 616d 653a 2045 6e61 626c 6520 6372 6f6e  ame: Enable cron
│ │ │ -00192170: 2053 6572 7669 6365 202d 2045 6e61 626c   Service - Enabl
│ │ │ -00192180: 6520 7365 7276 6963 6520 6372 6f6e 0a20  e service cron. 
│ │ │ -00192190: 2062 6c6f 636b 3a0a 0a20 202d 206e 616d   block:..  - nam
│ │ │ -001921a0: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ -001921b0: 636b 6167 6520 6661 6374 730a 2020 2020  ckage facts.    
│ │ │ -001921c0: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ -001921d0: 2020 2020 206d 616e 6167 6572 3a20 6175       manager: au
│ │ │ -001921e0: 746f 0a0a 2020 2d20 6e61 6d65 3a20 456e  to..  - name: En
│ │ │ -001921f0: 6162 6c65 2063 726f 6e20 5365 7276 6963  able cron Servic
│ │ │ -00192200: 6520 2d20 456e 6162 6c65 2053 6572 7669  e - Enable Servi
│ │ │ -00192210: 6365 2063 726f 6e0a 2020 2020 616e 7369  ce cron.    ansi
│ │ │ -00192220: 626c 652e 6275 696c 7469 6e2e 7379 7374  ble.builtin.syst
│ │ │ -00192230: 656d 643a 0a20 2020 2020 206e 616d 653a  emd:.      name:
│ │ │ -00192240: 2063 726f 6e0a 2020 2020 2020 656e 6162   cron.      enab
│ │ │ -00192250: 6c65 643a 2074 7275 650a 2020 2020 2020  led: true.      
│ │ │ -00192260: 7374 6174 653a 2073 7461 7274 6564 0a20  state: started. 
│ │ │ -00192270: 2020 2020 206d 6173 6b65 643a 2066 616c       masked: fal
│ │ │ -00192280: 7365 0a20 2020 2077 6865 6e3a 0a20 2020  se.    when:.   
│ │ │ -00192290: 202d 2027 2263 726f 6e22 2069 6e20 616e   - '"cron" in an
│ │ │ -001922a0: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ -001922b0: 6167 6573 270a 2020 7768 656e 3a20 2722  ages'.  when: '"
│ │ │ -001922c0: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ -001922d0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ -001922e0: 6b61 6765 7327 0a20 2074 6167 733a 0a20  kages'.  tags:. 
│ │ │ -001922f0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -00192300: 4d2d 3628 6129 0a20 202d 2065 6e61 626c  M-6(a).  - enabl
│ │ │ -00192310: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ -00192320: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ -00192330: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -00192340: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ -00192350: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -00192360: 6f74 5f6e 6565 6465 640a 2020 2d20 7365  ot_needed.  - se
│ │ │ -00192370: 7276 6963 655f 6372 6f6e 5f65 6e61 626c  rvice_cron_enabl
│ │ │ -00192380: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e  ed.
│ │ │ +00191b60: 3e52 656d 6564 6961 7469 6f6e 2041 6e73 >Remediation Ans │ │ │ +00191b70: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ +00191b80: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ +00191c10: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +00191c30: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +00191c50: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +00191c80: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +00191c90: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ +00191ca0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ +00191cc0: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ +00191cd0: 6374 730a 2020 7061 636b 6167 655f 6661  cts.  package_fa
│ │ │ +00191ce0: 6374 733a 0a20 2020 206d 616e 6167 6572  cts:.    manager
│ │ │ +00191cf0: 3a20 6175 746f 0a20 2074 6167 733a 0a20  : auto.  tags:. 
│ │ │ +00191d00: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +00191d10: 4d2d 3628 6129 0a20 202d 2065 6e61 626c  M-6(a).  - enabl
│ │ │ +00191d20: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ +00191d30: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +00191d40: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +00191d50: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ +00191d60: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +00191d70: 6f74 5f6e 6565 6465 640a 2020 2d20 7365  ot_needed.  - se
│ │ │ +00191d80: 7276 6963 655f 6372 6f6e 5f65 6e61 626c  rvice_cron_enabl
│ │ │ +00191d90: 6564 0a0a 2d20 6e61 6d65 3a20 456e 6162  ed..- name: Enab
│ │ │ +00191da0: 6c65 2063 726f 6e20 5365 7276 6963 6520  le cron Service 
│ │ │ +00191db0: 2d20 456e 6162 6c65 2073 6572 7669 6365  - Enable service
│ │ │ +00191dc0: 2063 726f 6e0a 2020 626c 6f63 6b3a 0a0a   cron.  block:..
│ │ │ +00191dd0: 2020 2d20 6e61 6d65 3a20 4761 7468 6572    - name: Gather
│ │ │ +00191de0: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ +00191df0: 7473 0a20 2020 2070 6163 6b61 6765 5f66  ts.    package_f
│ │ │ +00191e00: 6163 7473 3a0a 2020 2020 2020 6d61 6e61  acts:.      mana
│ │ │ +00191e10: 6765 723a 2061 7574 6f0a 0a20 202d 206e  ger: auto..  - n
│ │ │ +00191e20: 616d 653a 2045 6e61 626c 6520 6372 6f6e  ame: Enable cron
│ │ │ +00191e30: 2053 6572 7669 6365 202d 2045 6e61 626c   Service - Enabl
│ │ │ +00191e40: 6520 5365 7276 6963 6520 6372 6f6e 0a20  e Service cron. 
│ │ │ +00191e50: 2020 2061 6e73 6962 6c65 2e62 7569 6c74     ansible.built
│ │ │ +00191e60: 696e 2e73 7973 7465 6d64 3a0a 2020 2020  in.systemd:.    
│ │ │ +00191e70: 2020 6e61 6d65 3a20 6372 6f6e 0a20 2020    name: cron.   
│ │ │ +00191e80: 2020 2065 6e61 626c 6564 3a20 7472 7565     enabled: true
│ │ │ +00191e90: 0a20 2020 2020 2073 7461 7465 3a20 7374  .      state: st
│ │ │ +00191ea0: 6172 7465 640a 2020 2020 2020 6d61 736b  arted.      mask
│ │ │ +00191eb0: 6564 3a20 6661 6c73 650a 2020 2020 7768  ed: false.    wh
│ │ │ +00191ec0: 656e 3a0a 2020 2020 2d20 2722 6372 6f6e  en:.    - '"cron
│ │ │ +00191ed0: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ +00191ee0: 7473 2e70 6163 6b61 6765 7327 0a20 2077  ts.packages'.  w
│ │ │ +00191ef0: 6865 6e3a 2027 226c 696e 7578 2d62 6173  hen: '"linux-bas
│ │ │ +00191f00: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ +00191f10: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ +00191f20: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ +00191f30: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ +00191f40: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ +00191f50: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +00191f60: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +00191f70: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ +00191f80: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ +00191f90: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +00191fa0: 0a20 202d 2073 6572 7669 6365 5f63 726f  .  - service_cro
│ │ │ +00191fb0: 6e5f 656e 6162 6c65 640a 3c2f 636f 6465  n_enabled.
Rem │ │ │ +00192070: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ +00192080: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +00192090: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ +00192120: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
in
│ │ │ +001921c0: 636c 7564 6520 656e 6162 6c65 5f63 726f  clude enable_cro
│ │ │ +001921d0: 6e0a 0a63 6c61 7373 2065 6e61 626c 655f  n..class enable_
│ │ │ +001921e0: 6372 6f6e 207b 0a20 2073 6572 7669 6365  cron {.  service
│ │ │ +001921f0: 207b 2763 726f 6e27 3a0a 2020 2020 656e   {'cron':.    en
│ │ │ +00192200: 6162 6c65 203d 2667 743b 2074 7275 652c  able => true,
│ │ │ +00192210: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ +00192220: 3b20 2772 756e 6e69 6e67 272c 0a20 207d  ; 'running',.  }
│ │ │ +00192230: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ +00192240: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediatio │ │ │ +001922f0: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr │ │ │ +00192300: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...< │ │ │ +00192310: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
<
│ │ │ +00192350: 636f 6465 3e0a 5b63 7573 746f 6d69 7a61  code>.[customiza
│ │ │ +00192360: 7469 6f6e 732e 7365 7276 6963 6573 5d0a  tions.services].
│ │ │ +00192370: 656e 6162 6c65 6420 3d20 5b22 6372 6f6e  enabled = ["cron
│ │ │ +00192380: 225d 0a3c 2f63 6f64 653e 3c2f 7072 653e  "].
│ │ │ 00192390: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediation │ │ │ -001acb20: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -001acb30: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -001acbb0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ -001acbf0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 disable
│ │ │ +00192110: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +00192140: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +00192150: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +00192190: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ +001921a0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexit │ │ │ -001acbc0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ -001acbe0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ -001acc10: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -001acc30: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
│ │ │ -001acc60: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ -001acc70: 6d6f 7665 5f6e 6973 0a0a 636c 6173 7320  move_nis..class 
│ │ │ -001acc80: 7265 6d6f 7665 5f6e 6973 207b 0a20 2070  remove_nis {.  p
│ │ │ -001acc90: 6163 6b61 6765 207b 2027 6e69 7327 3a0a  ackage { 'nis':.
│ │ │ -001acca0: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -001accb0: 2027 7075 7267 6564 272c 0a20 207d 0a7d   'purged',.  }.}
│ │ │ -001accc0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -001acd80: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -001acd90: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001ace10: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -001ace20: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -001ace30: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -001ace70: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -001ace80: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -001acea0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -001aceb0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: E
│ │ │ -001aced0: 6e73 7572 6520 6e69 7320 6973 2072 656d  nsure nis is rem
│ │ │ -001acee0: 6f76 6564 0a20 2070 6163 6b61 6765 3a0a  oved.  package:.
│ │ │ -001acef0: 2020 2020 6e61 6d65 3a20 6e69 730a 2020      name: nis.  
│ │ │ -001acf00: 2020 7374 6174 653a 2061 6273 656e 740a    state: absent.
│ │ │ -001acf10: 2020 7461 6773 3a0a 2020 2d20 6469 7361    tags:.  - disa
│ │ │ -001acf20: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -001acf30: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -001acf40: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -001acf50: 6f6e 0a20 202d 206c 6f77 5f73 6576 6572  on.  - low_sever
│ │ │ -001acf60: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ -001acf70: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ -001acf80: 6b61 6765 5f6e 6973 5f72 656d 6f76 6564  kage_nis_removed
│ │ │ +001acb20: 416e 7369 626c 6520 736e 6970 7065 7420  Ansible snippet 
│ │ │ +001acb30: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620  ...
│ │ │ +001acbb0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +001acbc0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +001acbd0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +001acc10: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +001acc20: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +001acc40: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +001acc50: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: E
│ │ │ +001acc70: 6e73 7572 6520 6e69 7320 6973 2072 656d  nsure nis is rem
│ │ │ +001acc80: 6f76 6564 0a20 2070 6163 6b61 6765 3a0a  oved.  package:.
│ │ │ +001acc90: 2020 2020 6e61 6d65 3a20 6e69 730a 2020      name: nis.  
│ │ │ +001acca0: 2020 7374 6174 653a 2061 6273 656e 740a    state: absent.
│ │ │ +001accb0: 2020 7461 6773 3a0a 2020 2d20 6469 7361    tags:.  - disa
│ │ │ +001accc0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +001accd0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +001acce0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +001accf0: 6f6e 0a20 202d 206c 6f77 5f73 6576 6572  on.  - low_sever
│ │ │ +001acd00: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ +001acd10: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ +001acd20: 6b61 6765 5f6e 6973 5f72 656d 6f76 6564  kage_nis_removed
│ │ │ +001acd30: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +001acdf0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +001ace00: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ +001ace80: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +001ace90: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +001aceb0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +001acec0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +001acee0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +001acf00: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ +001acf30: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ +001acf40: 6d6f 7665 5f6e 6973 0a0a 636c 6173 7320  move_nis..class 
│ │ │ +001acf50: 7265 6d6f 7665 5f6e 6973 207b 0a20 2070  remove_nis {.  p
│ │ │ +001acf60: 6163 6b61 6765 207b 2027 6e69 7327 3a0a  ackage { 'nis':.
│ │ │ +001acf70: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +001acf80: 2027 7075 7267 6564 272c 0a20 207d 0a7d   'purged',.  }.}
│ │ │  001acf90: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remedia │ │ │ -001aeae0: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ -001aeaf0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -001aeb00: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -001aeb10: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -001aeb20: 7365 2220 6964 3d22 6964 6d32 3333 3437 se" id="idm23347 │ │ │ -001aeb30: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ -001aeb80: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -001aeb90: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -001aebb0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -001aebd0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -001aebe0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ -001aec20: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -001aec30: 6465 2072 656d 6f76 655f 6973 632d 6468  de remove_isc-dh
│ │ │ -001aec40: 6370 2d73 6572 7665 720a 0a63 6c61 7373  cp-server..class
│ │ │ -001aec50: 2072 656d 6f76 655f 6973 632d 6468 6370   remove_isc-dhcp
│ │ │ -001aec60: 2d73 6572 7665 7220 7b0a 2020 7061 636b  -server {.  pack
│ │ │ -001aec70: 6167 6520 7b20 2769 7363 2d64 6863 702d  age { 'isc-dhcp-
│ │ │ -001aec80: 7365 7276 6572 273a 0a20 2020 2065 6e73  server':.    ens
│ │ │ -001aec90: 7572 6520 3d26 6774 3b20 2770 7572 6765  ure => 'purge
│ │ │ -001aeca0: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Rem │ │ │ -001aed60: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ -001aed70: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -001aed80: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -001aee50: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -001aee60: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -001aeeb0: 2d20 6e61 6d65 3a20 456e 7375 7265 2069  - name: Ensure i
│ │ │ -001aeec0: 7363 2d64 6863 702d 7365 7276 6572 2069  sc-dhcp-server i
│ │ │ -001aeed0: 7320 7265 6d6f 7665 640a 2020 7061 636b  s removed.  pack
│ │ │ -001aeee0: 6167 653a 0a20 2020 206e 616d 653a 2069  age:.    name: i
│ │ │ -001aeef0: 7363 2d64 6863 702d 7365 7276 6572 0a20  sc-dhcp-server. 
│ │ │ -001aef00: 2020 2073 7461 7465 3a20 6162 7365 6e74     state: absent
│ │ │ -001aef10: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ -001aef20: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ -001aef30: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -001aef40: 2d43 4d2d 3728 6129 0a20 202d 204e 4953  -CM-7(a).  - NIS
│ │ │ -001aef50: 542d 3830 302d 3533 2d43 4d2d 3728 6229  T-800-53-CM-7(b)
│ │ │ -001aef60: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ -001aef70: 2e32 0a20 202d 2050 4349 2d44 5353 7634  .2.  - PCI-DSSv4
│ │ │ -001aef80: 2d32 2e32 2e34 0a20 202d 2064 6973 6162  -2.2.4.  - disab
│ │ │ -001aef90: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -001aefa0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -001aefb0: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -001aefc0: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ -001aefd0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -001aefe0: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ -001aeff0: 6163 6b61 6765 5f64 6863 705f 7265 6d6f  ackage_dhcp_remo
│ │ │ -001af000: 7665 640a 3c2f 636f 6465 3e3c 2f70 7265  ved.

│ │ │ +001aeb00: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Complexity:low
Disrup │ │ │ -001aee30: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -001aee40: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -001aee80: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -001aee90: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Com │ │ │ +001aeb80: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +001aebb0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +001aebd0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +001aebe0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +001aec00: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +001aec10: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +001aec30: 6d65 3a20 456e 7375 7265 2069 7363 2d64  me: Ensure isc-d
│ │ │ +001aec40: 6863 702d 7365 7276 6572 2069 7320 7265  hcp-server is re
│ │ │ +001aec50: 6d6f 7665 640a 2020 7061 636b 6167 653a  moved.  package:
│ │ │ +001aec60: 0a20 2020 206e 616d 653a 2069 7363 2d64  .    name: isc-d
│ │ │ +001aec70: 6863 702d 7365 7276 6572 0a20 2020 2073  hcp-server.    s
│ │ │ +001aec80: 7461 7465 3a20 6162 7365 6e74 0a20 2074  tate: absent.  t
│ │ │ +001aec90: 6167 733a 0a20 202d 204e 4953 542d 3830  ags:.  - NIST-80
│ │ │ +001aeca0: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ +001aecb0: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +001aecc0: 3728 6129 0a20 202d 204e 4953 542d 3830  7(a).  - NIST-80
│ │ │ +001aecd0: 302d 3533 2d43 4d2d 3728 6229 0a20 202d  0-53-CM-7(b).  -
│ │ │ +001aece0: 2050 4349 2d44 5353 7634 2d32 2e32 0a20   PCI-DSSv4-2.2. 
│ │ │ +001aecf0: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ +001aed00: 2e34 0a20 202d 2064 6973 6162 6c65 5f73  .4.  - disable_s
│ │ │ +001aed10: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ +001aed20: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ +001aed30: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ +001aed40: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ +001aed50: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ +001aed60: 6e65 6564 6564 0a20 202d 2070 6163 6b61  needed.  - packa
│ │ │ +001aed70: 6765 5f64 6863 705f 7265 6d6f 7665 640a  ge_dhcp_removed.
│ │ │ +001aed80: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation P │ │ │ +001aee40: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ +001aee50: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ +001aeee0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +001aef00: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +001aef10: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001aef20: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +001aef30: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +001aef50: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ +001aef80: 636f 6465 3e69 6e63 6c75 6465 2072 656d  code>include rem
│ │ │ +001aef90: 6f76 655f 6973 632d 6468 6370 2d73 6572  ove_isc-dhcp-ser
│ │ │ +001aefa0: 7665 720a 0a63 6c61 7373 2072 656d 6f76  ver..class remov
│ │ │ +001aefb0: 655f 6973 632d 6468 6370 2d73 6572 7665  e_isc-dhcp-serve
│ │ │ +001aefc0: 7220 7b0a 2020 7061 636b 6167 6520 7b20  r {.  package { 
│ │ │ +001aefd0: 2769 7363 2d64 6863 702d 7365 7276 6572  'isc-dhcp-server
│ │ │ +001aefe0: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ +001aeff0: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ +001af000: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediatio │ │ │ -001b0940: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ -001b0950: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -001b0990: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -001b09a0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -001b09b0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -001b09c0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -001b09d0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -001b09e0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -001b09f0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -001b0a30: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -001b0a40: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -001b0a60: 3c74 643e 6469 7361 626c 653c 2f74 643e disable │ │ │ -001b0a70: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 include │ │ │ -001b0a90: 7265 6d6f 7665 5f62 696e 6439 0a0a 636c remove_bind9..cl │ │ │ -001b0aa0: 6173 7320 7265 6d6f 7665 5f62 696e 6439 ass remove_bind9 │ │ │ -001b0ab0: 207b 0a20 2070 6163 6b61 6765 207b 2027 {. package { ' │ │ │ -001b0ac0: 6269 6e64 3927 3a0a 2020 2020 656e 7375 bind9':. ensu │ │ │ -001b0ad0: 7265 203d 2667 743b 2027 7075 7267 6564 re => 'purged │ │ │ -001b0ae0: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e ',. }.}. │ │ │ -001b0af0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Reme │ │ │ -001b0ba0: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible │ │ │ -001b0bb0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -001b0bc0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ -001b0c50: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
-
│ │ │ -001b0cf0: 206e 616d 653a 2045 6e73 7572 6520 6269   name: Ensure bi
│ │ │ -001b0d00: 6e64 3920 6973 2072 656d 6f76 6564 0a20  nd9 is removed. 
│ │ │ -001b0d10: 2070 6163 6b61 6765 3a0a 2020 2020 6e61   package:.    na
│ │ │ -001b0d20: 6d65 3a20 6269 6e64 390a 2020 2020 7374  me: bind9.    st
│ │ │ -001b0d30: 6174 653a 2061 6273 656e 740a 2020 7461  ate: absent.  ta
│ │ │ -001b0d40: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030  gs:.  - NIST-800
│ │ │ -001b0d50: 2d35 332d 434d 2d36 2861 290a 2020 2d20  -53-CM-6(a).  - 
│ │ │ -001b0d60: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ -001b0d70: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ -001b0d80: 2d35 332d 434d 2d37 2862 290a 2020 2d20  -53-CM-7(b).  - 
│ │ │ -001b0d90: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ -001b0da0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -001b0db0: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -001b0dc0: 7570 7469 6f6e 0a20 202d 206c 6f77 5f73  uption.  - low_s
│ │ │ -001b0dd0: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ -001b0de0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -001b0df0: 2070 6163 6b61 6765 5f62 696e 645f 7265   package_bind_re
│ │ │ -001b0e00: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70  moved.


│ │ │ +001b0990: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
│ │ │ -001b0c40: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -001b0c70: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -001b0c80: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -001b0cc0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ -001b0cd0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ +001b0a00: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +001b0a20: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +001b0a50: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ +001b09e0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +001b09f0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +001b0a30: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +001b0a40: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

- name: │ │ │ +001b0a90: 2045 6e73 7572 6520 6269 6e64 3920 6973 Ensure bind9 is │ │ │ +001b0aa0: 2072 656d 6f76 6564 0a20 2070 6163 6b61 removed. packa │ │ │ +001b0ab0: 6765 3a0a 2020 2020 6e61 6d65 3a20 6269 ge:. name: bi │ │ │ +001b0ac0: 6e64 390a 2020 2020 7374 6174 653a 2061 nd9. state: a │ │ │ +001b0ad0: 6273 656e 740a 2020 7461 6773 3a0a 2020 bsent. tags:. │ │ │ +001b0ae0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM │ │ │ +001b0af0: 2d36 2861 290a 2020 2d20 4e49 5354 2d38 -6(a). - NIST-8 │ │ │ +001b0b00: 3030 2d35 332d 434d 2d37 2861 290a 2020 00-53-CM-7(a). │ │ │ +001b0b10: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM │ │ │ +001b0b20: 2d37 2862 290a 2020 2d20 6469 7361 626c -7(b). - disabl │ │ │ +001b0b30: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l │ │ │ +001b0b40: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity. │ │ │ +001b0b50: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption │ │ │ +001b0b60: 0a20 202d 206c 6f77 5f73 6576 6572 6974 . - low_severit │ │ │ +001b0b70: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_ │ │ │ +001b0b80: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa │ │ │ +001b0b90: 6765 5f62 696e 645f 7265 6d6f 7665 640a ge_bind_removed. │ │ │ +001b0ba0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64 Remediation P │ │ │ +001b0c60: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ +001b0c70: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .

Complexity │ │ │ +001b0d00: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +001b0d20: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +001b0d30: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001b0d40: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +001b0d50: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +001b0d70: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ +001b0da0: 636f 6465 3e69 6e63 6c75 6465 2072 656d  code>include rem
│ │ │ +001b0db0: 6f76 655f 6269 6e64 390a 0a63 6c61 7373  ove_bind9..class
│ │ │ +001b0dc0: 2072 656d 6f76 655f 6269 6e64 3920 7b0a   remove_bind9 {.
│ │ │ +001b0dd0: 2020 7061 636b 6167 6520 7b20 2762 696e    package { 'bin
│ │ │ +001b0de0: 6439 273a 0a20 2020 2065 6e73 7572 6520  d9':.    ensure 
│ │ │ +001b0df0: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ +001b0e00: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedi │ │ │ -001b2840: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ -001b2850: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001b2860: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -001b28e0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -001b2910: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -001b2930: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -001b2940: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -001b2960: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -001b2970: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -001b2990: 7564 6520 7265 6d6f 7665 5f76 7366 7470  ude remove_vsftp
│ │ │ -001b29a0: 640a 0a63 6c61 7373 2072 656d 6f76 655f  d..class remove_
│ │ │ -001b29b0: 7673 6674 7064 207b 0a20 2070 6163 6b61  vsftpd {.  packa
│ │ │ -001b29c0: 6765 207b 2027 7673 6674 7064 273a 0a20  ge { 'vsftpd':. 
│ │ │ -001b29d0: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ -001b29e0: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a  'purged',.  }.}.
│ │ │ -001b29f0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation A │ │ │ -001b2ab0: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet . │ │ │ -001b2ac0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -001b2b40: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -001b2b50: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ -001b2b70: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ -001b2b80: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ -001b2ba0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ -001b2bc0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ -001b2bf0: 3c63 6f64 653e 2d20 6e61 6d65 3a20 456e  - name: En
│ │ │ -001b2c00: 7375 7265 2076 7366 7470 6420 6973 2072  sure vsftpd is r
│ │ │ -001b2c10: 656d 6f76 6564 0a20 2070 6163 6b61 6765  emoved.  package
│ │ │ -001b2c20: 3a0a 2020 2020 6e61 6d65 3a20 7673 6674  :.    name: vsft
│ │ │ -001b2c30: 7064 0a20 2020 2073 7461 7465 3a20 6162  pd.    state: ab
│ │ │ -001b2c40: 7365 6e74 0a20 2074 6167 733a 0a20 202d  sent.  tags:.  -
│ │ │ -001b2c50: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -001b2c60: 3628 6129 0a20 202d 204e 4953 542d 3830  6(a).  - NIST-80
│ │ │ -001b2c70: 302d 3533 2d43 4d2d 370a 2020 2d20 4e49  0-53-CM-7.  - NI
│ │ │ -001b2c80: 5354 2d38 3030 2d35 332d 434d 2d37 2861  ST-800-53-CM-7(a
│ │ │ -001b2c90: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -001b2ca0: 332d 434d 2d37 2862 290a 2020 2d20 4e49  3-CM-7(b).  - NI
│ │ │ -001b2cb0: 5354 2d38 3030 2d35 332d 434d 2d37 2e31  ST-800-53-CM-7.1
│ │ │ -001b2cc0: 2869 6929 0a20 202d 204e 4953 542d 3830  (ii).  - NIST-80
│ │ │ -001b2cd0: 302d 3533 2d49 412d 3528 3129 2863 290a  0-53-IA-5(1)(c).
│ │ │ -001b2ce0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -001b2cf0: 4941 2d35 2831 292e 3128 7629 0a20 202d  IA-5(1).1(v).  -
│ │ │ -001b2d00: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ -001b2d10: 790a 2020 2d20 6869 6768 5f73 6576 6572  y.  - high_sever
│ │ │ -001b2d20: 6974 790a 2020 2d20 6c6f 775f 636f 6d70  ity.  - low_comp
│ │ │ -001b2d30: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -001b2d40: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f  isruption.  - no
│ │ │ -001b2d50: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -001b2d60: 202d 2070 6163 6b61 6765 5f76 7366 7470   - package_vsftp
│ │ │ -001b2d70: 645f 7265 6d6f 7665 640a 3c2f 636f 6465  d_removed.
low< │ │ │ +001b2900: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +001b2950: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ +001b2990: 616d 653a 2045 6e73 7572 6520 7673 6674  ame: Ensure vsft
│ │ │ +001b29a0: 7064 2069 7320 7265 6d6f 7665 640a 2020  pd is removed.  
│ │ │ +001b29b0: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ +001b29c0: 653a 2076 7366 7470 640a 2020 2020 7374  e: vsftpd.    st
│ │ │ +001b29d0: 6174 653a 2061 6273 656e 740a 2020 7461  ate: absent.  ta
│ │ │ +001b29e0: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030  gs:.  - NIST-800
│ │ │ +001b29f0: 2d35 332d 434d 2d36 2861 290a 2020 2d20  -53-CM-6(a).  - 
│ │ │ +001b2a00: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ +001b2a10: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +001b2a20: 2d43 4d2d 3728 6129 0a20 202d 204e 4953  -CM-7(a).  - NIS
│ │ │ +001b2a30: 542d 3830 302d 3533 2d43 4d2d 3728 6229  T-800-53-CM-7(b)
│ │ │ +001b2a40: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +001b2a50: 2d43 4d2d 372e 3128 6969 290a 2020 2d20  -CM-7.1(ii).  - 
│ │ │ +001b2a60: 4e49 5354 2d38 3030 2d35 332d 4941 2d35  NIST-800-53-IA-5
│ │ │ +001b2a70: 2831 2928 6329 0a20 202d 204e 4953 542d  (1)(c).  - NIST-
│ │ │ +001b2a80: 3830 302d 3533 2d49 412d 3528 3129 2e31  800-53-IA-5(1).1
│ │ │ +001b2a90: 2876 290a 2020 2d20 6469 7361 626c 655f  (v).  - disable_
│ │ │ +001b2aa0: 7374 7261 7465 6779 0a20 202d 2068 6967  strategy.  - hig
│ │ │ +001b2ab0: 685f 7365 7665 7269 7479 0a20 202d 206c  h_severity.  - l
│ │ │ +001b2ac0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +001b2ad0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +001b2ae0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +001b2af0: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ +001b2b00: 655f 7673 6674 7064 5f72 656d 6f76 6564  e_vsftpd_removed
│ │ │ +001b2b10: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +001b2bd0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +001b2be0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ +001b2c60: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ +001b2ca0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 disable
Co │ │ │ +001b28e0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +001b2910: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +001b2930: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +001b2940: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +001b2960: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +001b2970: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complexit │ │ │ +001b2c70: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ +001b2c90: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ +001b2cc0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +001b2ce0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
│ │ │ +001b2d10: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ +001b2d20: 6d6f 7665 5f76 7366 7470 640a 0a63 6c61  move_vsftpd..cla
│ │ │ +001b2d30: 7373 2072 656d 6f76 655f 7673 6674 7064  ss remove_vsftpd
│ │ │ +001b2d40: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ +001b2d50: 7673 6674 7064 273a 0a20 2020 2065 6e73  vsftpd':.    ens
│ │ │ +001b2d60: 7572 6520 3d26 6774 3b20 2770 7572 6765  ure => 'purge
│ │ │ +001b2d70: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Remed │ │ │ -001b46b0: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ -001b46c0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -001b4770: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -001b47c0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ -001b4800: 6c75 6465 2072 656d 6f76 655f 6170 6163  lude remove_apac
│ │ │ -001b4810: 6865 320a 0a63 6c61 7373 2072 656d 6f76  he2..class remov
│ │ │ -001b4820: 655f 6170 6163 6865 3220 7b0a 2020 7061  e_apache2 {.  pa
│ │ │ -001b4830: 636b 6167 6520 7b20 2761 7061 6368 6532  ckage { 'apache2
│ │ │ -001b4840: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ -001b4850: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ -001b4860: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ -001b4920: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -001b4930: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
Co │ │ │ -001b4750: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -001b4780: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -001b47a0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -001b47b0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -001b47d0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -001b47e0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
│ │ │ -001b49e0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -001b4a00: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -001b4a30: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -001b49c0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -001b49d0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -001b49f0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -001b4a10: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -001b4a20: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -001b4a60: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -001b4a70: 3a20 456e 7375 7265 2061 7061 6368 6532 : Ensure apache2 │ │ │ -001b4a80: 2069 7320 7265 6d6f 7665 640a 2020 7061 is removed. pa │ │ │ -001b4a90: 636b 6167 653a 0a20 2020 206e 616d 653a ckage:. name: │ │ │ -001b4aa0: 2061 7061 6368 6532 0a20 2020 2073 7461 apache2. sta │ │ │ -001b4ab0: 7465 3a20 6162 7365 6e74 0a20 2074 6167 te: absent. tag │ │ │ -001b4ac0: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800- │ │ │ -001b4ad0: 3533 2d43 4d2d 3628 6129 0a20 202d 204e 53-CM-6(a). - N │ │ │ -001b4ae0: 4953 542d 3830 302d 3533 2d43 4d2d 3728 IST-800-53-CM-7( │ │ │ -001b4af0: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800- │ │ │ -001b4b00: 3533 2d43 4d2d 3728 6229 0a20 202d 2064 53-CM-7(b). - d │ │ │ -001b4b10: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy. │ │ │ -001b4b20: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi │ │ │ -001b4b30: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru │ │ │ -001b4b40: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562 ption. - no_reb │ │ │ -001b4b50: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p │ │ │ -001b4b60: 6163 6b61 6765 5f68 7474 7064 5f72 656d ackage_httpd_rem │ │ │ -001b4b70: 6f76 6564 0a20 202d 2075 6e6b 6e6f 776e oved. - unknown │ │ │ -001b4b80: 5f73 6576 6572 6974 790a 3c2f 636f 6465 _severity.
< │ │ │ +001b4760: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001b4770: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +001b47c0: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ +001b4800: 6e61 6d65 3a20 456e 7375 7265 2061 7061  name: Ensure apa
│ │ │ +001b4810: 6368 6532 2069 7320 7265 6d6f 7665 640a  che2 is removed.
│ │ │ +001b4820: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ +001b4830: 616d 653a 2061 7061 6368 6532 0a20 2020  ame: apache2.   
│ │ │ +001b4840: 2073 7461 7465 3a20 6162 7365 6e74 0a20   state: absent. 
│ │ │ +001b4850: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ +001b4860: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ +001b4870: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +001b4880: 4d2d 3728 6129 0a20 202d 204e 4953 542d  M-7(a).  - NIST-
│ │ │ +001b4890: 3830 302d 3533 2d43 4d2d 3728 6229 0a20  800-53-CM-7(b). 
│ │ │ +001b48a0: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ +001b48b0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +001b48c0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +001b48d0: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f  isruption.  - no
│ │ │ +001b48e0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +001b48f0: 202d 2070 6163 6b61 6765 5f68 7474 7064   - package_httpd
│ │ │ +001b4900: 5f72 656d 6f76 6564 0a20 202d 2075 6e6b  _removed.  - unk
│ │ │ +001b4910: 6e6f 776e 5f73 6576 6572 6974 790a 3c2f  nown_severity.
Remediation Pup │ │ │ +001b49e0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ +001b49f0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
C │ │ │ +001b4750: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +001b4780: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +001b4790: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +001b47d0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ +001b47e0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
│ │ │ +001b4a70: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +001b4a90: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +001b4ae0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ +001b4b10: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ +001b4a80: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +001b4aa0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +001b4af0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ +001b4b00: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ +001b4b30: 655f 6170 6163 6865 320a 0a63 6c61 7373  e_apache2..class
│ │ │ +001b4b40: 2072 656d 6f76 655f 6170 6163 6865 3220   remove_apache2 
│ │ │ +001b4b50: 7b0a 2020 7061 636b 6167 6520 7b20 2761  {.  package { 'a
│ │ │ +001b4b60: 7061 6368 6532 273a 0a20 2020 2065 6e73  pache2':.    ens
│ │ │ +001b4b70: 7572 6520 3d26 6774 3b20 2770 7572 6765  ure => 'purge
│ │ │ +001b4b80: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Remediatio │ │ │ -001b5f40: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ -001b5f50: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -001b5f90: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -001b5fa0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -001b5fb0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -001b5fc0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -001b5fd0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -001b5fe0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -001b5ff0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -001b6030: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -001b6040: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -001b6060: 3c74 643e 6469 7361 626c 653c 2f74 643e disable │ │ │ -001b6070: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 include │ │ │ -001b6090: 7265 6d6f 7665 5f6e 6769 6e78 0a0a 636c remove_nginx..cl │ │ │ -001b60a0: 6173 7320 7265 6d6f 7665 5f6e 6769 6e78 ass remove_nginx │ │ │ -001b60b0: 207b 0a20 2070 6163 6b61 6765 207b 2027 {. package { ' │ │ │ -001b60c0: 6e67 696e 7827 3a0a 2020 2020 656e 7375 nginx':. ensu │ │ │ -001b60d0: 7265 203d 2667 743b 2027 7075 7267 6564 re => 'purged │ │ │ -001b60e0: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e ',. }.}. │ │ │ -001b60f0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Reme │ │ │ -001b61a0: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible │ │ │ -001b61b0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -001b61c0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ -001b6250: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
-
│ │ │ -001b62f0: 206e 616d 653a 2045 6e73 7572 6520 6e67   name: Ensure ng
│ │ │ -001b6300: 696e 7820 6973 2072 656d 6f76 6564 0a20  inx is removed. 
│ │ │ -001b6310: 2070 6163 6b61 6765 3a0a 2020 2020 6e61   package:.    na
│ │ │ -001b6320: 6d65 3a20 6e67 696e 780a 2020 2020 7374  me: nginx.    st
│ │ │ -001b6330: 6174 653a 2061 6273 656e 740a 2020 7461  ate: absent.  ta
│ │ │ -001b6340: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030  gs:.  - NIST-800
│ │ │ -001b6350: 2d35 332d 434d 2d36 2861 290a 2020 2d20  -53-CM-6(a).  - 
│ │ │ -001b6360: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ -001b6370: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ -001b6380: 2d35 332d 434d 2d37 2862 290a 2020 2d20  -53-CM-7(b).  - 
│ │ │ -001b6390: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ -001b63a0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -001b63b0: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -001b63c0: 7570 7469 6f6e 0a20 202d 206e 6f5f 7265  uption.  - no_re
│ │ │ -001b63d0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -001b63e0: 7061 636b 6167 655f 6e67 696e 785f 7265  package_nginx_re
│ │ │ -001b63f0: 6d6f 7665 640a 2020 2d20 756e 6b6e 6f77  moved.  - unknow
│ │ │ -001b6400: 6e5f 7365 7665 7269 7479 0a3c 2f63 6f64  n_severity.
│ │ │ +001b5f90: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
│ │ │ -001b6240: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -001b6270: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -001b6280: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -001b62c0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ -001b62d0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ +001b6000: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +001b6020: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +001b6050: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ +001b5fe0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +001b5ff0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +001b6030: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +001b6040: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

- name: │ │ │ +001b6090: 2045 6e73 7572 6520 6e67 696e 7820 6973 Ensure nginx is │ │ │ +001b60a0: 2072 656d 6f76 6564 0a20 2070 6163 6b61 removed. packa │ │ │ +001b60b0: 6765 3a0a 2020 2020 6e61 6d65 3a20 6e67 ge:. name: ng │ │ │ +001b60c0: 696e 780a 2020 2020 7374 6174 653a 2061 inx. state: a │ │ │ +001b60d0: 6273 656e 740a 2020 7461 6773 3a0a 2020 bsent. tags:. │ │ │ +001b60e0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM │ │ │ +001b60f0: 2d36 2861 290a 2020 2d20 4e49 5354 2d38 -6(a). - NIST-8 │ │ │ +001b6100: 3030 2d35 332d 434d 2d37 2861 290a 2020 00-53-CM-7(a). │ │ │ +001b6110: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM │ │ │ +001b6120: 2d37 2862 290a 2020 2d20 6469 7361 626c -7(b). - disabl │ │ │ +001b6130: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l │ │ │ +001b6140: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity. │ │ │ +001b6150: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption │ │ │ +001b6160: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n │ │ │ +001b6170: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag │ │ │ +001b6180: 655f 6e67 696e 785f 7265 6d6f 7665 640a e_nginx_removed. │ │ │ +001b6190: 2020 2d20 756e 6b6e 6f77 6e5f 7365 7665 - unknown_seve │ │ │ +001b61a0: 7269 7479 0a3c 2f63 6f64 653e 3c2f 7072 rity.

Remediat │ │ │ +001b6260: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ +001b6270: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +001b6320: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +001b6340: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +001b6370: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +001b6300: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +001b6310: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +001b6330: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +001b6350: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +001b6360: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +001b63a0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ +001b63b0: 6520 7265 6d6f 7665 5f6e 6769 6e78 0a0a e remove_nginx.. │ │ │ +001b63c0: 636c 6173 7320 7265 6d6f 7665 5f6e 6769 class remove_ngi │ │ │ +001b63d0: 6e78 207b 0a20 2070 6163 6b61 6765 207b nx {. package { │ │ │ +001b63e0: 2027 6e67 696e 7827 3a0a 2020 2020 656e 'nginx':. en │ │ │ +001b63f0: 7375 7265 203d 2667 743b 2027 7075 7267 sure => 'purg │ │ │ +001b6400: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Remediatio │ │ │ -001b76c0: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ -001b76d0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -001b7710: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -001b7720: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -001b7730: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -001b7740: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -001b7750: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -001b7760: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -001b7770: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -001b77b0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -001b77c0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -001b77e0: 3c74 643e 6469 7361 626c 653c 2f74 643e disable │ │ │ -001b77f0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 include │ │ │ -001b7810: 7265 6d6f 7665 5f63 7972 7573 2d69 6d61 remove_cyrus-ima │ │ │ -001b7820: 7064 0a0a 636c 6173 7320 7265 6d6f 7665 pd..class remove │ │ │ -001b7830: 5f63 7972 7573 2d69 6d61 7064 207b 0a20 _cyrus-imapd {. │ │ │ -001b7840: 2070 6163 6b61 6765 207b 2027 6379 7275 package { 'cyru │ │ │ -001b7850: 732d 696d 6170 6427 3a0a 2020 2020 656e s-imapd':. en │ │ │ -001b7860: 7375 7265 203d 2667 743b 2027 7075 7267 sure => 'purg │ │ │ -001b7870: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Re │ │ │ -001b7930: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -001b7940: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
Complexity: │ │ │ -001b7a20: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -001b7a30: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
- name: Ensure 
│ │ │ -001b7a90: 6379 7275 732d 696d 6170 6420 6973 2072  cyrus-imapd is r
│ │ │ -001b7aa0: 656d 6f76 6564 0a20 2070 6163 6b61 6765  emoved.  package
│ │ │ -001b7ab0: 3a0a 2020 2020 6e61 6d65 3a20 6379 7275  :.    name: cyru
│ │ │ -001b7ac0: 732d 696d 6170 640a 2020 2020 7374 6174  s-imapd.    stat
│ │ │ -001b7ad0: 653a 2061 6273 656e 740a 2020 7461 6773  e: absent.  tags
│ │ │ -001b7ae0: 3a0a 2020 2d20 6469 7361 626c 655f 7374  :.  - disable_st
│ │ │ -001b7af0: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ -001b7b00: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ -001b7b10: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ -001b7b20: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -001b7b30: 640a 2020 2d20 7061 636b 6167 655f 6379  d.  - package_cy
│ │ │ -001b7b40: 7275 732d 696d 6170 645f 7265 6d6f 7665  rus-imapd_remove
│ │ │ -001b7b50: 640a 2020 2d20 756e 6b6e 6f77 6e5f 7365  d.  - unknown_se
│ │ │ -001b7b60: 7665 7269 7479 0a3c 2f63 6f64 653e 3c2f  verity.
│ │ │ +001b7710: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
low
Disru │ │ │ -001b7a00: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -001b7a10: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -001b7a50: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ -001b7a60: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
< │ │ │ +001b7780: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +001b77a0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +001b77d0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ +001b7760: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +001b7770: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +001b77b0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +001b77c0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

- name: │ │ │ +001b7810: 2045 6e73 7572 6520 6379 7275 732d 696d Ensure cyrus-im │ │ │ +001b7820: 6170 6420 6973 2072 656d 6f76 6564 0a20 apd is removed. │ │ │ +001b7830: 2070 6163 6b61 6765 3a0a 2020 2020 6e61 package:. na │ │ │ +001b7840: 6d65 3a20 6379 7275 732d 696d 6170 640a me: cyrus-imapd. │ │ │ +001b7850: 2020 2020 7374 6174 653a 2061 6273 656e state: absen │ │ │ +001b7860: 740a 2020 7461 6773 3a0a 2020 2d20 6469 t. tags:. - di │ │ │ +001b7870: 7361 626c 655f 7374 7261 7465 6779 0a20 sable_strategy. │ │ │ +001b7880: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit │ │ │ +001b7890: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup │ │ │ +001b78a0: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f tion. - no_rebo │ │ │ +001b78b0: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa │ │ │ +001b78c0: 636b 6167 655f 6379 7275 732d 696d 6170 ckage_cyrus-imap │ │ │ +001b78d0: 645f 7265 6d6f 7665 640a 2020 2d20 756e d_removed. - un │ │ │ +001b78e0: 6b6e 6f77 6e5f 7365 7665 7269 7479 0a3c known_severity.< │ │ │ +001b78f0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>Remediation Pu │ │ │ +001b79b0: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ +001b79c0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61

Complexity: │ │ │ +001b7a50: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +001b7a70: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +001b7a90: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +001b7ac0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +001b7ad0: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
include remo
│ │ │ +001b7b00: 7665 5f63 7972 7573 2d69 6d61 7064 0a0a  ve_cyrus-imapd..
│ │ │ +001b7b10: 636c 6173 7320 7265 6d6f 7665 5f63 7972  class remove_cyr
│ │ │ +001b7b20: 7573 2d69 6d61 7064 207b 0a20 2070 6163  us-imapd {.  pac
│ │ │ +001b7b30: 6b61 6765 207b 2027 6379 7275 732d 696d  kage { 'cyrus-im
│ │ │ +001b7b40: 6170 6427 3a0a 2020 2020 656e 7375 7265  apd':.    ensure
│ │ │ +001b7b50: 203d 2667 743b 2027 7075 7267 6564 272c   => 'purged',
│ │ │ +001b7b60: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.
Remedi │ │ │ -001b8a20: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ -001b8a30: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001b8a40: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -001b8ac0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -001b8af0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -001b8b10: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -001b8b20: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -001b8b40: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -001b8b50: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -001b8b70: 7564 6520 7265 6d6f 7665 5f64 6f76 6563  ude remove_dovec
│ │ │ -001b8b80: 6f74 2d63 6f72 650a 0a63 6c61 7373 2072  ot-core..class r
│ │ │ -001b8b90: 656d 6f76 655f 646f 7665 636f 742d 636f  emove_dovecot-co
│ │ │ -001b8ba0: 7265 207b 0a20 2070 6163 6b61 6765 207b  re {.  package {
│ │ │ -001b8bb0: 2027 646f 7665 636f 742d 636f 7265 273a   'dovecot-core':
│ │ │ -001b8bc0: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ -001b8bd0: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a  ; 'purged',.  }.
│ │ │ -001b8be0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ -001b8bf0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -001b8ca0: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ -001b8cb0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -001b8cf0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -001b8d00: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -001b8d10: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -001b8d20: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -001b8d30: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -001b8d40: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -001b8d50: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -001b8d90: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -001b8da0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -001b8dc0: 3c74 643e 6469 7361 626c 653c 2f74 643e disable │ │ │ -001b8dd0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 - name: │ │ │ -001b8df0: 456e 7375 7265 2064 6f76 6563 6f74 2d63 Ensure dovecot-c │ │ │ -001b8e00: 6f72 6520 6973 2072 656d 6f76 6564 0a20 ore is removed. │ │ │ -001b8e10: 2070 6163 6b61 6765 3a0a 2020 2020 6e61 package:. na │ │ │ -001b8e20: 6d65 3a20 646f 7665 636f 742d 636f 7265 me: dovecot-core │ │ │ -001b8e30: 0a20 2020 2073 7461 7465 3a20 6162 7365 . state: abse │ │ │ -001b8e40: 6e74 0a20 2074 6167 733a 0a20 202d 2064 nt. tags:. - d │ │ │ -001b8e50: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy. │ │ │ -001b8e60: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi │ │ │ -001b8e70: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru │ │ │ -001b8e80: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562 ption. - no_reb │ │ │ -001b8e90: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p │ │ │ -001b8ea0: 6163 6b61 6765 5f64 6f76 6563 6f74 5f72 ackage_dovecot_r │ │ │ -001b8eb0: 656d 6f76 6564 0a20 202d 2075 6e6b 6e6f emoved. - unkno │ │ │ -001b8ec0: 776e 5f73 6576 6572 6974 790a 3c2f 636f wn_severity.
low< │ │ │ +001b8ae0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +001b8b30: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ +001b8b70: 616d 653a 2045 6e73 7572 6520 646f 7665  ame: Ensure dove
│ │ │ +001b8b80: 636f 742d 636f 7265 2069 7320 7265 6d6f  cot-core is remo
│ │ │ +001b8b90: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ +001b8ba0: 2020 206e 616d 653a 2064 6f76 6563 6f74     name: dovecot
│ │ │ +001b8bb0: 2d63 6f72 650a 2020 2020 7374 6174 653a  -core.    state:
│ │ │ +001b8bc0: 2061 6273 656e 740a 2020 7461 6773 3a0a   absent.  tags:.
│ │ │ +001b8bd0: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ +001b8be0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +001b8bf0: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +001b8c00: 6469 7372 7570 7469 6f6e 0a20 202d 206e  disruption.  - n
│ │ │ +001b8c10: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +001b8c20: 2020 2d20 7061 636b 6167 655f 646f 7665    - package_dove
│ │ │ +001b8c30: 636f 745f 7265 6d6f 7665 640a 2020 2d20  cot_removed.  - 
│ │ │ +001b8c40: 756e 6b6e 6f77 6e5f 7365 7665 7269 7479  unknown_severity
│ │ │ +001b8c50: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +001b8d10: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +001b8d20: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ +001b8da0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ +001b8de0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 disable
Co │ │ │ +001b8ac0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +001b8af0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +001b8b10: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +001b8b20: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +001b8b40: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +001b8b50: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complexit │ │ │ +001b8db0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ +001b8dd0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ +001b8e00: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +001b8e20: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
│ │ │ +001b8e50: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ +001b8e60: 6d6f 7665 5f64 6f76 6563 6f74 2d63 6f72  move_dovecot-cor
│ │ │ +001b8e70: 650a 0a63 6c61 7373 2072 656d 6f76 655f  e..class remove_
│ │ │ +001b8e80: 646f 7665 636f 742d 636f 7265 207b 0a20  dovecot-core {. 
│ │ │ +001b8e90: 2070 6163 6b61 6765 207b 2027 646f 7665   package { 'dove
│ │ │ +001b8ea0: 636f 742d 636f 7265 273a 0a20 2020 2065  cot-core':.    e
│ │ │ +001b8eb0: 6e73 7572 6520 3d26 6774 3b20 2770 7572  nsure => 'pur
│ │ │ +001b8ec0: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ged',.  }.}.
< │ │ │ 001b8ee0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 001b8ef0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 001b8f00: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 001b8f10: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 001b8f20: 646d 3233 3739 3622 2074 6162 696e 6465 dm23796" tabinde │ │ │ 001b8f30: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ @@ -113231,89 +113231,89 @@ │ │ │ 001ba4e0: 2d74 6172 6765 743d 2223 6964 6d32 3338 -target="#idm238 │ │ │ 001ba4f0: 3136 2220 7461 6269 6e64 6578 3d22 3022 16" tabindex="0" │ │ │ 001ba500: 2072 6f6c 653d 2262 7574 746f 6e22 2061 role="button" a │ │ │ 001ba510: 7269 612d 6578 7061 6e64 6564 3d22 6661 ria-expanded="fa │ │ │ 001ba520: 6c73 6522 2074 6974 6c65 3d22 4163 7469 lse" title="Acti │ │ │ 001ba530: 7661 7465 2074 6f20 7265 7665 616c 2220 vate to reveal" │ │ │ 001ba540: 6872 6566 3d22 2321 223e 5265 6d65 6469 href="#!">Remedi │ │ │ -001ba550: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ -001ba560: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001ba570: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -001ba5f0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -001ba620: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -001ba640: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -001ba650: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -001ba670: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -001ba680: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -001ba6a0: 7564 6520 7265 6d6f 7665 5f6c 6461 702d  ude remove_ldap-
│ │ │ -001ba6b0: 7574 696c 730a 0a63 6c61 7373 2072 656d  utils..class rem
│ │ │ -001ba6c0: 6f76 655f 6c64 6170 2d75 7469 6c73 207b  ove_ldap-utils {
│ │ │ -001ba6d0: 0a20 2070 6163 6b61 6765 207b 2027 6c64  .  package { 'ld
│ │ │ -001ba6e0: 6170 2d75 7469 6c73 273a 0a20 2020 2065  ap-utils':.    e
│ │ │ -001ba6f0: 6e73 7572 6520 3d26 6774 3b20 2770 7572  nsure => 'pur
│ │ │ -001ba700: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ged',.  }.}.
< │ │ │ -001ba720: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -001ba730: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -001ba740: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -001ba750: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -001ba760: 646d 3233 3831 3722 2074 6162 696e 6465 dm23817" tabinde │ │ │ -001ba770: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -001ba780: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -001ba790: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -001ba7a0: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -001ba7b0: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -001ba7c0: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ -001ba7d0: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
< │ │ │ -001ba860: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -001ba880: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -001ba8d0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ -001ba900: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Ensure
│ │ │ -001ba920: 206c 6461 702d 7574 696c 7320 6973 2072   ldap-utils is r
│ │ │ -001ba930: 656d 6f76 6564 0a20 2070 6163 6b61 6765  emoved.  package
│ │ │ -001ba940: 3a0a 2020 2020 6e61 6d65 3a20 6c64 6170  :.    name: ldap
│ │ │ -001ba950: 2d75 7469 6c73 0a20 2020 2073 7461 7465  -utils.    state
│ │ │ -001ba960: 3a20 6162 7365 6e74 0a20 2074 6167 733a  : absent.  tags:
│ │ │ -001ba970: 0a20 202d 2064 6973 6162 6c65 5f73 7472  .  - disable_str
│ │ │ -001ba980: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ -001ba990: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -001ba9a0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -001ba9b0: 6c6f 775f 7365 7665 7269 7479 0a20 202d  low_severity.  -
│ │ │ -001ba9c0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -001ba9d0: 640a 2020 2d20 7061 636b 6167 655f 6f70  d.  - package_op
│ │ │ -001ba9e0: 656e 6c64 6170 2d63 6c69 656e 7473 5f72  enldap-clients_r
│ │ │ -001ba9f0: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f  emoved.
low
Disr │ │ │ -001ba890: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -001ba8a0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -001ba8e0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ -001ba8f0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
low< │ │ │ +001ba610: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +001ba660: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ +001ba6a0: 616d 653a 2045 6e73 7572 6520 6c64 6170  ame: Ensure ldap
│ │ │ +001ba6b0: 2d75 7469 6c73 2069 7320 7265 6d6f 7665  -utils is remove
│ │ │ +001ba6c0: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ +001ba6d0: 206e 616d 653a 206c 6461 702d 7574 696c   name: ldap-util
│ │ │ +001ba6e0: 730a 2020 2020 7374 6174 653a 2061 6273  s.    state: abs
│ │ │ +001ba6f0: 656e 740a 2020 7461 6773 3a0a 2020 2d20  ent.  tags:.  - 
│ │ │ +001ba700: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ +001ba710: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +001ba720: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +001ba730: 7570 7469 6f6e 0a20 202d 206c 6f77 5f73  uption.  - low_s
│ │ │ +001ba740: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +001ba750: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +001ba760: 2070 6163 6b61 6765 5f6f 7065 6e6c 6461   package_openlda
│ │ │ +001ba770: 702d 636c 6965 6e74 735f 7265 6d6f 7665  p-clients_remove
│ │ │ +001ba780: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +001ba790: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +001ba840: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +001ba850: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +001ba8d0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ +001ba960: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +001ba970: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
Co │ │ │ +001ba5f0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +001ba620: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +001ba640: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +001ba650: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +001ba670: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +001ba680: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complexi │ │ │ +001ba8e0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +001ba8f0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ +001ba930: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +001ba940: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
include r
│ │ │ +001ba990: 656d 6f76 655f 6c64 6170 2d75 7469 6c73  emove_ldap-utils
│ │ │ +001ba9a0: 0a0a 636c 6173 7320 7265 6d6f 7665 5f6c  ..class remove_l
│ │ │ +001ba9b0: 6461 702d 7574 696c 7320 7b0a 2020 7061  dap-utils {.  pa
│ │ │ +001ba9c0: 636b 6167 6520 7b20 276c 6461 702d 7574  ckage { 'ldap-ut
│ │ │ +001ba9d0: 696c 7327 3a0a 2020 2020 656e 7375 7265  ils':.    ensure
│ │ │ +001ba9e0: 203d 2667 743b 2027 7075 7267 6564 272c   => 'purged',
│ │ │ +001ba9f0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.
Reme │ │ │ -001bbf50: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -001bbf60: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -001bc000: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001bc010: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -001bc060: 3c74 723e 3c74 683e 5374 7261 7465 6779
in
│ │ │ -001bc0a0: 636c 7564 6520 7265 6d6f 7665 5f73 6c61  clude remove_sla
│ │ │ -001bc0b0: 7064 0a0a 636c 6173 7320 7265 6d6f 7665  pd..class remove
│ │ │ -001bc0c0: 5f73 6c61 7064 207b 0a20 2070 6163 6b61  _slapd {.  packa
│ │ │ -001bc0d0: 6765 207b 2027 736c 6170 6427 3a0a 2020  ge { 'slapd':.  
│ │ │ -001bc0e0: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ -001bc0f0: 7075 7267 6564 272c 0a20 207d 0a7d 0a3c  purged',.  }.}.<
│ │ │ -001bc100: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation An │ │ │ -001bc1c0: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -001bc1d0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ -001bc290: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001bc2a0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
C │ │ │ -001bbff0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -001bc020: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -001bc030: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -001bc070: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -001bc080: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexity │ │ │ -001bc260: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ -001bc280: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ -001bc2b0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ -001bc2d0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ -001bc300: 636f 6465 3e2d 206e 616d 653a 2045 6e73  code>- name: Ens
│ │ │ -001bc310: 7572 6520 736c 6170 6420 6973 2072 656d  ure slapd is rem
│ │ │ -001bc320: 6f76 6564 0a20 2070 6163 6b61 6765 3a0a  oved.  package:.
│ │ │ -001bc330: 2020 2020 6e61 6d65 3a20 736c 6170 640a      name: slapd.
│ │ │ -001bc340: 2020 2020 7374 6174 653a 2061 6273 656e      state: absen
│ │ │ -001bc350: 740a 2020 7461 6773 3a0a 2020 2d20 4e49  t.  tags:.  - NI
│ │ │ -001bc360: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ -001bc370: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -001bc380: 332d 434d 2d37 2861 290a 2020 2d20 4e49  3-CM-7(a).  - NI
│ │ │ -001bc390: 5354 2d38 3030 2d35 332d 434d 2d37 2862  ST-800-53-CM-7(b
│ │ │ -001bc3a0: 290a 2020 2d20 6469 7361 626c 655f 7374  ).  - disable_st
│ │ │ -001bc3b0: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ -001bc3c0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ -001bc3d0: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ -001bc3e0: 206c 6f77 5f73 6576 6572 6974 790a 2020   low_severity.  
│ │ │ -001bc3f0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -001bc400: 6564 0a20 202d 2070 6163 6b61 6765 5f6f  ed.  - package_o
│ │ │ -001bc410: 7065 6e6c 6461 702d 7365 7276 6572 735f  penldap-servers_
│ │ │ -001bc420: 7265 6d6f 7665 640a 3c2f 636f 6465 3e3c  removed.<
│ │ │ +001bbf50: 6469 6174 696f 6e20 416e 7369 626c 6520  diation Ansible 
│ │ │ +001bbf60: 736e 6970 7065 7420 e287 b23c 2f61 3e3c  snippet ...<
│ │ │ +001bbf70: 6272 3e3c 6469 7620 636c 6173 733d 2270  br>
│ │ │ +001bc000: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
-
│ │ │ +001bc0a0: 206e 616d 653a 2045 6e73 7572 6520 736c   name: Ensure sl
│ │ │ +001bc0b0: 6170 6420 6973 2072 656d 6f76 6564 0a20  apd is removed. 
│ │ │ +001bc0c0: 2070 6163 6b61 6765 3a0a 2020 2020 6e61   package:.    na
│ │ │ +001bc0d0: 6d65 3a20 736c 6170 640a 2020 2020 7374  me: slapd.    st
│ │ │ +001bc0e0: 6174 653a 2061 6273 656e 740a 2020 7461  ate: absent.  ta
│ │ │ +001bc0f0: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030  gs:.  - NIST-800
│ │ │ +001bc100: 2d35 332d 434d 2d36 2861 290a 2020 2d20  -53-CM-6(a).  - 
│ │ │ +001bc110: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ +001bc120: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ +001bc130: 2d35 332d 434d 2d37 2862 290a 2020 2d20  -53-CM-7(b).  - 
│ │ │ +001bc140: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ +001bc150: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +001bc160: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +001bc170: 7570 7469 6f6e 0a20 202d 206c 6f77 5f73  uption.  - low_s
│ │ │ +001bc180: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +001bc190: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +001bc1a0: 2070 6163 6b61 6765 5f6f 7065 6e6c 6461   package_openlda
│ │ │ +001bc1b0: 702d 7365 7276 6572 735f 7265 6d6f 7665  p-servers_remove
│ │ │ +001bc1c0: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +001bc1d0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +001bc280: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +001bc290: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +001bc310: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ +001bc3a0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +001bc3b0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
│ │ │ +001bbff0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +001bc020: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +001bc030: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +001bc070: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +001bc080: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexi │ │ │ +001bc320: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +001bc330: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ +001bc370: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +001bc380: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
include r
│ │ │ +001bc3d0: 656d 6f76 655f 736c 6170 640a 0a63 6c61  emove_slapd..cla
│ │ │ +001bc3e0: 7373 2072 656d 6f76 655f 736c 6170 6420  ss remove_slapd 
│ │ │ +001bc3f0: 7b0a 2020 7061 636b 6167 6520 7b20 2773  {.  package { 's
│ │ │ +001bc400: 6c61 7064 273a 0a20 2020 2065 6e73 7572  lapd':.    ensur
│ │ │ +001bc410: 6520 3d26 6774 3b20 2770 7572 6765 6427  e => 'purged'
│ │ │ +001bc420: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │  001bc430: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remediation │ │ │ -001c0840: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ -001c0850: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001c08d0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -001c08e0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -001c08f0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -001c0930: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -001c0940: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -001c0960: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -001c0970: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include r
│ │ │ -001c0990: 656d 6f76 655f 7270 6362 696e 640a 0a63  emove_rpcbind..c
│ │ │ -001c09a0: 6c61 7373 2072 656d 6f76 655f 7270 6362  lass remove_rpcb
│ │ │ -001c09b0: 696e 6420 7b0a 2020 7061 636b 6167 6520  ind {.  package 
│ │ │ -001c09c0: 7b20 2772 7063 6269 6e64 273a 0a20 2020  { 'rpcbind':.   
│ │ │ -001c09d0: 2065 6e73 7572 6520 3d26 6774 3b20 2770   ensure => 'p
│ │ │ -001c09e0: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f  urged',.  }.}.
Remediation Ans │ │ │ -001c0ab0: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -001c0ac0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ -001c0b50: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -001c0b70: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ -001c0b90: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ -001c0bc0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -001c0bd0: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Gath
│ │ │ -001c0c00: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ -001c0c10: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ -001c0c20: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ -001c0c30: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ -001c0c40: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ -001c0c50: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ -001c0c60: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -001c0c70: 6469 7372 7570 7469 6f6e 0a20 202d 206c  disruption.  - l
│ │ │ -001c0c80: 6f77 5f73 6576 6572 6974 790a 2020 2d20  ow_severity.  - 
│ │ │ -001c0c90: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -001c0ca0: 0a20 202d 2070 6163 6b61 6765 5f72 7063  .  - package_rpc
│ │ │ -001c0cb0: 6269 6e64 5f72 656d 6f76 6564 0a0a 2d20  bind_removed..- 
│ │ │ -001c0cc0: 6e61 6d65 3a20 456e 7375 7265 2072 7063  name: Ensure rpc
│ │ │ -001c0cd0: 6269 6e64 2069 7320 7265 6d6f 7665 640a  bind is removed.
│ │ │ -001c0ce0: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ -001c0cf0: 616d 653a 2072 7063 6269 6e64 0a20 2020  ame: rpcbind.   
│ │ │ -001c0d00: 2073 7461 7465 3a20 6162 7365 6e74 0a20   state: absent. 
│ │ │ -001c0d10: 2077 6865 6e3a 2027 226c 696e 7578 2d62   when: '"linux-b
│ │ │ -001c0d20: 6173 6522 2069 6e20 616e 7369 626c 655f  ase" in ansible_
│ │ │ -001c0d30: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -001c0d40: 2020 7461 6773 3a0a 2020 2d20 6469 7361    tags:.  - disa
│ │ │ -001c0d50: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -001c0d60: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -001c0d70: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -001c0d80: 6f6e 0a20 202d 206c 6f77 5f73 6576 6572  on.  - low_sever
│ │ │ -001c0d90: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ -001c0da0: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ -001c0db0: 6b61 6765 5f72 7063 6269 6e64 5f72 656d  kage_rpcbind_rem
│ │ │ -001c0dc0: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072  oved.
< │ │ │ +001c0890: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +001c08a0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +001c08b0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +001c08c0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +001c08d0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +001c08e0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +001c08f0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +001c0930: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +001c0940: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +001c0960: 3c74 643e 6469 7361 626c 653c 2f74 643e disable │ │ │ +001c0970: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 - name: │ │ │ +001c0990: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ +001c09a0: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ +001c09b0: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ +001c09c0: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ +001c09d0: 6773 3a0a 2020 2d20 6469 7361 626c 655f gs:. - disable_ │ │ │ +001c09e0: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low │ │ │ +001c09f0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. - │ │ │ +001c0a00: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption. │ │ │ +001c0a10: 202d 206c 6f77 5f73 6576 6572 6974 790a - low_severity. │ │ │ +001c0a20: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ +001c0a30: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package │ │ │ +001c0a40: 5f72 7063 6269 6e64 5f72 656d 6f76 6564 _rpcbind_removed │ │ │ +001c0a50: 0a0a 2d20 6e61 6d65 3a20 456e 7375 7265 ..- name: Ensure │ │ │ +001c0a60: 2072 7063 6269 6e64 2069 7320 7265 6d6f rpcbind is remo │ │ │ +001c0a70: 7665 640a 2020 7061 636b 6167 653a 0a20 ved. package:. │ │ │ +001c0a80: 2020 206e 616d 653a 2072 7063 6269 6e64 name: rpcbind │ │ │ +001c0a90: 0a20 2020 2073 7461 7465 3a20 6162 7365 . state: abse │ │ │ +001c0aa0: 6e74 0a20 2077 6865 6e3a 2027 226c 696e nt. when: '"lin │ │ │ +001c0ab0: 7578 2d62 6173 6522 2069 6e20 616e 7369 ux-base" in ansi │ │ │ +001c0ac0: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag │ │ │ +001c0ad0: 6573 270a 2020 7461 6773 3a0a 2020 2d20 es'. tags:. - │ │ │ +001c0ae0: 6469 7361 626c 655f 7374 7261 7465 6779 disable_strategy │ │ │ +001c0af0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex │ │ │ +001c0b00: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr │ │ │ +001c0b10: 7570 7469 6f6e 0a20 202d 206c 6f77 5f73 uption. - low_s │ │ │ +001c0b20: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r │ │ │ +001c0b30: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. - │ │ │ +001c0b40: 2070 6163 6b61 6765 5f72 7063 6269 6e64 package_rpcbind │ │ │ +001c0b50: 5f72 656d 6f76 6564 0a3c 2f63 6f64 653e _removed. │ │ │ +001c0b60: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Reme │ │ │ +001c0c10: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ +001c0c20: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ +001c0cc0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001c0cd0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +001c0d20: 3c74 723e 3c74 683e 5374 7261 7465 6779
in
│ │ │ +001c0d60: 636c 7564 6520 7265 6d6f 7665 5f72 7063  clude remove_rpc
│ │ │ +001c0d70: 6269 6e64 0a0a 636c 6173 7320 7265 6d6f  bind..class remo
│ │ │ +001c0d80: 7665 5f72 7063 6269 6e64 207b 0a20 2070  ve_rpcbind {.  p
│ │ │ +001c0d90: 6163 6b61 6765 207b 2027 7270 6362 696e  ackage { 'rpcbin
│ │ │ +001c0da0: 6427 3a0a 2020 2020 656e 7375 7265 203d  d':.    ensure =
│ │ │ +001c0db0: 2667 743b 2027 7075 7267 6564 272c 0a20  > 'purged',. 
│ │ │ +001c0dc0: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.Rem
│ │ │ -001c1a20: 6564 6961 7469 6f6e 2050 7570 7065 7420  ediation Puppet 
│ │ │ -001c1a30: 736e 6970 7065 7420 e287 b23c 2f61 3e3c  snippet ...<
│ │ │ -001c1a40: 6272 3e3c 6469 7620 636c 6173 733d 2270  br>
C │ │ │ +001c0cb0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +001c0ce0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +001c0cf0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +001c0d30: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ +001c0d40: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
│ │ │ -001c1ad0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
i
│ │ │ -001c1b70: 6e63 6c75 6465 2072 656d 6f76 655f 6e66  nclude remove_nf
│ │ │ -001c1b80: 732d 6b65 726e 656c 2d73 6572 7665 720a  s-kernel-server.
│ │ │ -001c1b90: 0a63 6c61 7373 2072 656d 6f76 655f 6e66  .class remove_nf
│ │ │ -001c1ba0: 732d 6b65 726e 656c 2d73 6572 7665 7220  s-kernel-server 
│ │ │ -001c1bb0: 7b0a 2020 7061 636b 6167 6520 7b20 276e  {.  package { 'n
│ │ │ -001c1bc0: 6673 2d6b 6572 6e65 6c2d 7365 7276 6572  fs-kernel-server
│ │ │ -001c1bd0: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ -001c1be0: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ -001c1bf0: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ -001c1cb0: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -001c1cc0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001c1ac0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -001c1af0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -001c1b00: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -001c1b40: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ -001c1b50: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
│ │ │ -001c1d70: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -001c1d90: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -001c1dc0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -001c1d50: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -001c1d60: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -001c1d80: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -001c1da0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -001c1db0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -001c1df0: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -001c1e00: 3a20 456e 7375 7265 206e 6673 2d6b 6572 : Ensure nfs-ker │ │ │ -001c1e10: 6e65 6c2d 7365 7276 6572 2069 7320 7265 nel-server is re │ │ │ -001c1e20: 6d6f 7665 640a 2020 7061 636b 6167 653a moved. package: │ │ │ -001c1e30: 0a20 2020 206e 616d 653a 206e 6673 2d6b . name: nfs-k │ │ │ -001c1e40: 6572 6e65 6c2d 7365 7276 6572 0a20 2020 ernel-server. │ │ │ -001c1e50: 2073 7461 7465 3a20 6162 7365 6e74 0a20 state: absent. │ │ │ -001c1e60: 2074 6167 733a 0a20 202d 2064 6973 6162 tags:. - disab │ │ │ -001c1e70: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. - │ │ │ -001c1e80: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity. │ │ │ -001c1e90: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio │ │ │ -001c1ea0: 6e0a 2020 2d20 6c6f 775f 7365 7665 7269 n. - low_severi │ │ │ -001c1eb0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot │ │ │ -001c1ec0: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack │ │ │ -001c1ed0: 6167 655f 6e66 732d 6b65 726e 656c 2d73 age_nfs-kernel-s │ │ │ -001c1ee0: 6572 7665 725f 7265 6d6f 7665 640a 3c2f erver_removed. │ │ │ +001c1a40: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ +001c1b10: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +001c1b20: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +001c1b70: 2d20 6e61 6d65 3a20 456e 7375 7265 206e  - name: Ensure n
│ │ │ +001c1b80: 6673 2d6b 6572 6e65 6c2d 7365 7276 6572  fs-kernel-server
│ │ │ +001c1b90: 2069 7320 7265 6d6f 7665 640a 2020 7061   is removed.  pa
│ │ │ +001c1ba0: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ +001c1bb0: 206e 6673 2d6b 6572 6e65 6c2d 7365 7276   nfs-kernel-serv
│ │ │ +001c1bc0: 6572 0a20 2020 2073 7461 7465 3a20 6162  er.    state: ab
│ │ │ +001c1bd0: 7365 6e74 0a20 2074 6167 733a 0a20 202d  sent.  tags:.  -
│ │ │ +001c1be0: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ +001c1bf0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +001c1c00: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +001c1c10: 7275 7074 696f 6e0a 2020 2d20 6c6f 775f  ruption.  - low_
│ │ │ +001c1c20: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +001c1c30: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +001c1c40: 2d20 7061 636b 6167 655f 6e66 732d 6b65  - package_nfs-ke
│ │ │ +001c1c50: 726e 656c 2d73 6572 7665 725f 7265 6d6f  rnel-server_remo
│ │ │ +001c1c60: 7665 640a 3c2f 636f 6465 3e3c 2f70 7265  ved.
Remediati │ │ │ +001c1d20: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ +001c1d30: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +001c1d70: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
Complexity:low
Disrup │ │ │ +001c1af0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +001c1b00: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +001c1b40: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +001c1b50: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
< │ │ │ +001c1de0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +001c1e00: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +001c1e30: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ +001c1dc0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +001c1dd0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +001c1e10: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +001c1e20: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ +001c1e70: 2072 656d 6f76 655f 6e66 732d 6b65 726e remove_nfs-kern │ │ │ +001c1e80: 656c 2d73 6572 7665 720a 0a63 6c61 7373 el-server..class │ │ │ +001c1e90: 2072 656d 6f76 655f 6e66 732d 6b65 726e remove_nfs-kern │ │ │ +001c1ea0: 656c 2d73 6572 7665 7220 7b0a 2020 7061 el-server {. pa │ │ │ +001c1eb0: 636b 6167 6520 7b20 276e 6673 2d6b 6572 ckage { 'nfs-ker │ │ │ +001c1ec0: 6e65 6c2d 7365 7276 6572 273a 0a20 2020 nel-server':. │ │ │ +001c1ed0: 2065 6e73 7572 6520 3d26 6774 3b20 2770 ensure => 'p │ │ │ +001c1ee0: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f urged',. }.}.

Re │ │ │ -001c3fd0: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil │ │ │ -001c3fe0: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip │ │ │ -001c3ff0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -001c4000: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -001c4010: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -001c4020: 7365 2220 6964 3d22 6964 6d32 3432 3531 se" id="idm24251 │ │ │ -001c4030: 223e 3c70 7265 3e3c 636f 6465 3e0a 5b5b ">
.[[
│ │ │ -001c4040: 7061 636b 6167 6573 5d5d 0a6e 616d 6520  packages]].name 
│ │ │ -001c4050: 3d20 2263 6872 6f6e 7922 0a76 6572 7369  = "chrony".versi
│ │ │ -001c4060: 6f6e 203d 2022 2a22 0a3c 2f63 6f64 653e  on = "*".
│ │ │ -001c4070: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ -001c4120: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -001c4130: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -001c41d0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001c41e0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -001c4230: 3c74 723e 3c74 683e 5374 7261 7465 6779
inc
│ │ │ -001c4270: 6c75 6465 2069 6e73 7461 6c6c 5f63 6872  lude install_chr
│ │ │ -001c4280: 6f6e 790a 0a63 6c61 7373 2069 6e73 7461  ony..class insta
│ │ │ -001c4290: 6c6c 5f63 6872 6f6e 7920 7b0a 2020 7061  ll_chrony {.  pa
│ │ │ -001c42a0: 636b 6167 6520 7b20 2763 6872 6f6e 7927  ckage { 'chrony'
│ │ │ -001c42b0: 3a0a 2020 2020 656e 7375 7265 203d 2667  :.    ensure =&g
│ │ │ -001c42c0: 743b 2027 696e 7374 616c 6c65 6427 2c0a  t; 'installed',.
│ │ │ -001c42d0: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ -001c4390: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ -001c43a0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001c43b0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
C │ │ │ -001c41c0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -001c41f0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -001c4200: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -001c4240: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ -001c4250: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Com │ │ │ -001c4430: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -001c4460: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -001c4480: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -001c4490: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -001c44b0: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ -001c44d0: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ -001c44e0: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ -001c44f0: 636b 6167 6520 6661 6374 730a 2020 7061  ckage facts.  pa
│ │ │ -001c4500: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ -001c4510: 206d 616e 6167 6572 3a20 6175 746f 0a20   manager: auto. 
│ │ │ -001c4520: 2074 6167 733a 0a20 202d 2044 4953 412d   tags:.  - DISA-
│ │ │ -001c4530: 5354 4947 2d55 4254 552d 3230 2d30 3130  STIG-UBTU-20-010
│ │ │ -001c4540: 3433 350a 2020 2d20 5043 492d 4453 532d  435.  - PCI-DSS-
│ │ │ -001c4550: 5265 712d 3130 2e34 0a20 202d 2050 4349  Req-10.4.  - PCI
│ │ │ -001c4560: 2d44 5353 7634 2d31 302e 360a 2020 2d20  -DSSv4-10.6.  - 
│ │ │ -001c4570: 5043 492d 4453 5376 342d 3130 2e36 2e31  PCI-DSSv4-10.6.1
│ │ │ -001c4580: 0a20 202d 2065 6e61 626c 655f 7374 7261  .  - enable_stra
│ │ │ -001c4590: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ -001c45a0: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -001c45b0: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ -001c45c0: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ -001c45d0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -001c45e0: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ -001c45f0: 6368 726f 6e79 5f69 6e73 7461 6c6c 6564  chrony_installed
│ │ │ -001c4600: 0a0a 2d20 6e61 6d65 3a20 456e 7375 7265  ..- name: Ensure
│ │ │ -001c4610: 2063 6872 6f6e 7920 6973 2069 6e73 7461   chrony is insta
│ │ │ -001c4620: 6c6c 6564 0a20 2070 6163 6b61 6765 3a0a  lled.  package:.
│ │ │ -001c4630: 2020 2020 6e61 6d65 3a20 6368 726f 6e79      name: chrony
│ │ │ -001c4640: 0a20 2020 2073 7461 7465 3a20 7072 6573  .    state: pres
│ │ │ -001c4650: 656e 740a 2020 7768 656e 3a20 2722 6c69  ent.  when: '"li
│ │ │ -001c4660: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ -001c4670: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -001c4680: 6765 7327 0a20 2074 6167 733a 0a20 202d  ges'.  tags:.  -
│ │ │ -001c4690: 2044 4953 412d 5354 4947 2d55 4254 552d   DISA-STIG-UBTU-
│ │ │ -001c46a0: 3230 2d30 3130 3433 350a 2020 2d20 5043  20-010435.  - PC
│ │ │ -001c46b0: 492d 4453 532d 5265 712d 3130 2e34 0a20  I-DSS-Req-10.4. 
│ │ │ -001c46c0: 202d 2050 4349 2d44 5353 7634 2d31 302e   - PCI-DSSv4-10.
│ │ │ -001c46d0: 360a 2020 2d20 5043 492d 4453 5376 342d  6.  - PCI-DSSv4-
│ │ │ -001c46e0: 3130 2e36 2e31 0a20 202d 2065 6e61 626c  10.6.1.  - enabl
│ │ │ -001c46f0: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ -001c4700: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ -001c4710: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -001c4720: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ -001c4730: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -001c4740: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ -001c4750: 636b 6167 655f 6368 726f 6e79 5f69 6e73  ckage_chrony_ins
│ │ │ -001c4760: 7461 6c6c 6564 0a3c 2f63 6f64 653e 3c2f  talled.
Complexity: │ │ │ +001c40c0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +001c40d0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ +001c4120: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ +001c4130: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ +001c4140: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ +001c4150: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ +001c4160: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ +001c4170: 4449 5341 2d53 5449 472d 5542 5455 2d32  DISA-STIG-UBTU-2
│ │ │ +001c4180: 302d 3031 3034 3335 0a20 202d 2050 4349  0-010435.  - PCI
│ │ │ +001c4190: 2d44 5353 2d52 6571 2d31 302e 340a 2020  -DSS-Req-10.4.  
│ │ │ +001c41a0: 2d20 5043 492d 4453 5376 342d 3130 2e36  - PCI-DSSv4-10.6
│ │ │ +001c41b0: 0a20 202d 2050 4349 2d44 5353 7634 2d31  .  - PCI-DSSv4-1
│ │ │ +001c41c0: 302e 362e 310a 2020 2d20 656e 6162 6c65  0.6.1.  - enable
│ │ │ +001c41d0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ +001c41e0: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ +001c41f0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ +001c4200: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ +001c4210: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ +001c4220: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ +001c4230: 6b61 6765 5f63 6872 6f6e 795f 696e 7374  kage_chrony_inst
│ │ │ +001c4240: 616c 6c65 640a 0a2d 206e 616d 653a 2045  alled..- name: E
│ │ │ +001c4250: 6e73 7572 6520 6368 726f 6e79 2069 7320  nsure chrony is 
│ │ │ +001c4260: 696e 7374 616c 6c65 640a 2020 7061 636b  installed.  pack
│ │ │ +001c4270: 6167 653a 0a20 2020 206e 616d 653a 2063  age:.    name: c
│ │ │ +001c4280: 6872 6f6e 790a 2020 2020 7374 6174 653a  hrony.    state:
│ │ │ +001c4290: 2070 7265 7365 6e74 0a20 2077 6865 6e3a   present.  when:
│ │ │ +001c42a0: 2027 226c 696e 7578 2d62 6173 6522 2069   '"linux-base" i
│ │ │ +001c42b0: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +001c42c0: 7061 636b 6167 6573 270a 2020 7461 6773  packages'.  tags
│ │ │ +001c42d0: 3a0a 2020 2d20 4449 5341 2d53 5449 472d  :.  - DISA-STIG-
│ │ │ +001c42e0: 5542 5455 2d32 302d 3031 3034 3335 0a20  UBTU-20-010435. 
│ │ │ +001c42f0: 202d 2050 4349 2d44 5353 2d52 6571 2d31   - PCI-DSS-Req-1
│ │ │ +001c4300: 302e 340a 2020 2d20 5043 492d 4453 5376  0.4.  - PCI-DSSv
│ │ │ +001c4310: 342d 3130 2e36 0a20 202d 2050 4349 2d44  4-10.6.  - PCI-D
│ │ │ +001c4320: 5353 7634 2d31 302e 362e 310a 2020 2d20  SSv4-10.6.1.  - 
│ │ │ +001c4330: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ +001c4340: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +001c4350: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +001c4360: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ +001c4370: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +001c4380: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +001c4390: 202d 2070 6163 6b61 6765 5f63 6872 6f6e   - package_chron
│ │ │ +001c43a0: 795f 696e 7374 616c 6c65 640a 3c2f 636f  y_installed.
< │ │ │ +001c43c0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +001c43d0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +001c43e0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +001c43f0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +001c4400: 646d 3234 3235 3222 2074 6162 696e 6465 dm24252" tabinde │ │ │ +001c4410: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +001c4420: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +001c4430: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +001c4440: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +001c4450: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +001c4460: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +001c4470: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
low
Disru │ │ │ +001c40a0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +001c40b0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +001c40f0: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ +001c4100: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity: │ │ │ +001c4550: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +001c4560: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ +001c45b0: 696e 636c 7564 6520 696e 7374 616c 6c5f  include install_
│ │ │ +001c45c0: 6368 726f 6e79 0a0a 636c 6173 7320 696e  chrony..class in
│ │ │ +001c45d0: 7374 616c 6c5f 6368 726f 6e79 207b 0a20  stall_chrony {. 
│ │ │ +001c45e0: 2070 6163 6b61 6765 207b 2027 6368 726f   package { 'chro
│ │ │ +001c45f0: 6e79 273a 0a20 2020 2065 6e73 7572 6520  ny':.    ensure 
│ │ │ +001c4600: 3d26 6774 3b20 2769 6e73 7461 6c6c 6564  => 'installed
│ │ │ +001c4610: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │ +001c4620: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ +001c46d0: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild │ │ │ +001c46e0: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe │ │ │ +001c46f0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +001c4730: 3c70 7265 3e3c 636f 6465 3e0a 5b5b 7061
.[[pa
│ │ │ +001c4740: 636b 6167 6573 5d5d 0a6e 616d 6520 3d20  ckages]].name = 
│ │ │ +001c4750: 2263 6872 6f6e 7922 0a76 6572 7369 6f6e  "chrony".version
│ │ │ +001c4760: 203d 2022 2a22 0a3c 2f63 6f64 653e 3c2f   = "*".Rem
│ │ │ -001c5570: 6564 6961 7469 6f6e 204f 5342 7569 6c64  ediation OSBuild
│ │ │ -001c5580: 2042 6c75 6570 7269 6e74 2073 6e69 7070   Blueprint snipp
│ │ │ -001c5590: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64  et ...
.[cu
│ │ │ -001c55e0: 7374 6f6d 697a 6174 696f 6e73 2e73 6572  stomizations.ser
│ │ │ -001c55f0: 7669 6365 735d 0a65 6e61 626c 6564 203d  vices].enabled =
│ │ │ -001c5600: 205b 2263 6872 6f6e 7922 5d0a 3c2f 636f   ["chrony"].
< │ │ │ -001c5620: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -001c5630: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -001c5640: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -001c5650: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -001c5660: 646d 3234 3336 3022 2074 6162 696e 6465 dm24360" tabinde │ │ │ -001c5670: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -001c5680: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -001c5690: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -001c56a0: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -001c56b0: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -001c56c0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ -001c56d0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
low
Disru │ │ │ +001c4530: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +001c4540: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +001c4580: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ +001c4590: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity: │ │ │ -001c57b0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -001c57c0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ -001c5810: 696e 636c 7564 6520 656e 6162 6c65 5f63  include enable_c
│ │ │ -001c5820: 6872 6f6e 790a 0a63 6c61 7373 2065 6e61  hrony..class ena
│ │ │ -001c5830: 626c 655f 6368 726f 6e79 207b 0a20 2073  ble_chrony {.  s
│ │ │ -001c5840: 6572 7669 6365 207b 2763 6872 6f6e 7927  ervice {'chrony'
│ │ │ -001c5850: 3a0a 2020 2020 656e 6162 6c65 203d 2667  :.    enable =&g
│ │ │ -001c5860: 743b 2074 7275 652c 0a20 2020 2065 6e73  t; true,.    ens
│ │ │ -001c5870: 7572 6520 3d26 6774 3b20 2772 756e 6e69  ure => 'runni
│ │ │ -001c5880: 6e67 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ng',.  }.}.
Re │ │ │ -001c5940: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -001c5950: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
low
Disru │ │ │ -001c5790: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -001c57a0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -001c57e0: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ -001c57f0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity: │ │ │ -001c5a30: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -001c5a40: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ -001c5a90: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ -001c5aa0: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ -001c5ab0: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ -001c5ac0: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ -001c5ad0: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ -001c5ae0: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ -001c5af0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -001c5b00: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -001c5b10: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -001c5b20: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -001c5b30: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -001c5b40: 202d 2073 6572 7669 6365 5f63 6872 6f6e   - service_chron
│ │ │ -001c5b50: 7964 5f65 6e61 626c 6564 0a0a 2d20 6e61  yd_enabled..- na
│ │ │ -001c5b60: 6d65 3a20 5468 6520 4368 726f 6e79 6420  me: The Chronyd 
│ │ │ -001c5b70: 7365 7276 6963 6520 6973 2065 6e61 626c  service is enabl
│ │ │ -001c5b80: 6564 202d 2045 6e61 626c 6520 7365 7276  ed - Enable serv
│ │ │ -001c5b90: 6963 6520 6368 726f 6e79 0a20 2062 6c6f  ice chrony.  blo
│ │ │ -001c5ba0: 636b 3a0a 0a20 202d 206e 616d 653a 2047  ck:..  - name: G
│ │ │ -001c5bb0: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ -001c5bc0: 6520 6661 6374 730a 2020 2020 7061 636b  e facts.    pack
│ │ │ -001c5bd0: 6167 655f 6661 6374 733a 0a20 2020 2020  age_facts:.     
│ │ │ -001c5be0: 206d 616e 6167 6572 3a20 6175 746f 0a0a   manager: auto..
│ │ │ -001c5bf0: 2020 2d20 6e61 6d65 3a20 5468 6520 4368    - name: The Ch
│ │ │ -001c5c00: 726f 6e79 6420 7365 7276 6963 6520 6973  ronyd service is
│ │ │ -001c5c10: 2065 6e61 626c 6564 202d 2045 6e61 626c   enabled - Enabl
│ │ │ -001c5c20: 6520 5365 7276 6963 6520 6368 726f 6e79  e Service chrony
│ │ │ -001c5c30: 0a20 2020 2061 6e73 6962 6c65 2e62 7569  .    ansible.bui
│ │ │ -001c5c40: 6c74 696e 2e73 7973 7465 6d64 3a0a 2020  ltin.systemd:.  
│ │ │ -001c5c50: 2020 2020 6e61 6d65 3a20 6368 726f 6e79      name: chrony
│ │ │ -001c5c60: 0a20 2020 2020 2065 6e61 626c 6564 3a20  .      enabled: 
│ │ │ -001c5c70: 7472 7565 0a20 2020 2020 2073 7461 7465  true.      state
│ │ │ -001c5c80: 3a20 7374 6172 7465 640a 2020 2020 2020  : started.      
│ │ │ -001c5c90: 6d61 736b 6564 3a20 6661 6c73 650a 2020  masked: false.  
│ │ │ -001c5ca0: 2020 7768 656e 3a0a 2020 2020 2d20 2722    when:.    - '"
│ │ │ -001c5cb0: 6368 726f 6e79 2220 696e 2061 6e73 6962  chrony" in ansib
│ │ │ -001c5cc0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -001c5cd0: 7327 0a20 2077 6865 6e3a 0a20 202d 2027  s'.  when:.  - '
│ │ │ -001c5ce0: 226c 696e 7578 2d62 6173 6522 2069 6e20  "linux-base" in 
│ │ │ -001c5cf0: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -001c5d00: 636b 6167 6573 270a 2020 2d20 2722 6368  ckages'.  - '"ch
│ │ │ -001c5d10: 726f 6e79 2220 696e 2061 6e73 6962 6c65  rony" in ansible
│ │ │ -001c5d20: 5f66 6163 7473 2e70 6163 6b61 6765 7327  _facts.packages'
│ │ │ -001c5d30: 0a20 2074 6167 733a 0a20 202d 2065 6e61  .  tags:.  - ena
│ │ │ -001c5d40: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -001c5d50: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -001c5d60: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -001c5d70: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -001c5d80: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -001c5d90: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -001c5da0: 7365 7276 6963 655f 6368 726f 6e79 645f  service_chronyd_
│ │ │ -001c5db0: 656e 6162 6c65 640a 3c2f 636f 6465 3e3c  enabled.<
│ │ │ +001c5570: 6564 6961 7469 6f6e 2041 6e73 6962 6c65  ediation Ansible
│ │ │ +001c5580: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e   snippet ...
│ │ │ +001c5590: 3c62 723e 3c64 6976 2063 6c61 7373 3d22  
low
Disru │ │ │ -001c5a10: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -001c5a20: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -001c5a60: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ -001c5a70: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
< │ │ │ +001c5660: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +001c5670: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
-
│ │ │ +001c56c0: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ +001c56d0: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ +001c56e0: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ +001c56f0: 0a20 2020 206d 616e 6167 6572 3a20 6175  .    manager: au
│ │ │ +001c5700: 746f 0a20 2074 6167 733a 0a20 202d 2065  to.  tags:.  - e
│ │ │ +001c5710: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ +001c5720: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +001c5730: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +001c5740: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +001c5750: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +001c5760: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +001c5770: 2d20 7365 7276 6963 655f 6368 726f 6e79  - service_chrony
│ │ │ +001c5780: 645f 656e 6162 6c65 640a 0a2d 206e 616d  d_enabled..- nam
│ │ │ +001c5790: 653a 2054 6865 2043 6872 6f6e 7964 2073  e: The Chronyd s
│ │ │ +001c57a0: 6572 7669 6365 2069 7320 656e 6162 6c65  ervice is enable
│ │ │ +001c57b0: 6420 2d20 456e 6162 6c65 2073 6572 7669  d - Enable servi
│ │ │ +001c57c0: 6365 2063 6872 6f6e 790a 2020 626c 6f63  ce chrony.  bloc
│ │ │ +001c57d0: 6b3a 0a0a 2020 2d20 6e61 6d65 3a20 4761  k:..  - name: Ga
│ │ │ +001c57e0: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ +001c57f0: 2066 6163 7473 0a20 2020 2070 6163 6b61   facts.    packa
│ │ │ +001c5800: 6765 5f66 6163 7473 3a0a 2020 2020 2020  ge_facts:.      
│ │ │ +001c5810: 6d61 6e61 6765 723a 2061 7574 6f0a 0a20  manager: auto.. 
│ │ │ +001c5820: 202d 206e 616d 653a 2054 6865 2043 6872   - name: The Chr
│ │ │ +001c5830: 6f6e 7964 2073 6572 7669 6365 2069 7320  onyd service is 
│ │ │ +001c5840: 656e 6162 6c65 6420 2d20 456e 6162 6c65  enabled - Enable
│ │ │ +001c5850: 2053 6572 7669 6365 2063 6872 6f6e 790a   Service chrony.
│ │ │ +001c5860: 2020 2020 616e 7369 626c 652e 6275 696c      ansible.buil
│ │ │ +001c5870: 7469 6e2e 7379 7374 656d 643a 0a20 2020  tin.systemd:.   
│ │ │ +001c5880: 2020 206e 616d 653a 2063 6872 6f6e 790a     name: chrony.
│ │ │ +001c5890: 2020 2020 2020 656e 6162 6c65 643a 2074        enabled: t
│ │ │ +001c58a0: 7275 650a 2020 2020 2020 7374 6174 653a  rue.      state:
│ │ │ +001c58b0: 2073 7461 7274 6564 0a20 2020 2020 206d   started.      m
│ │ │ +001c58c0: 6173 6b65 643a 2066 616c 7365 0a20 2020  asked: false.   
│ │ │ +001c58d0: 2077 6865 6e3a 0a20 2020 202d 2027 2263   when:.    - '"c
│ │ │ +001c58e0: 6872 6f6e 7922 2069 6e20 616e 7369 626c  hrony" in ansibl
│ │ │ +001c58f0: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +001c5900: 270a 2020 7768 656e 3a0a 2020 2d20 2722  '.  when:.  - '"
│ │ │ +001c5910: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ +001c5920: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +001c5930: 6b61 6765 7327 0a20 202d 2027 2263 6872  kages'.  - '"chr
│ │ │ +001c5940: 6f6e 7922 2069 6e20 616e 7369 626c 655f  ony" in ansible_
│ │ │ +001c5950: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ +001c5960: 2020 7461 6773 3a0a 2020 2d20 656e 6162    tags:.  - enab
│ │ │ +001c5970: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +001c5980: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +001c5990: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +001c59a0: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ +001c59b0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +001c59c0: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ +001c59d0: 6572 7669 6365 5f63 6872 6f6e 7964 5f65  ervice_chronyd_e
│ │ │ +001c59e0: 6e61 626c 6564 0a3c 2f63 6f64 653e 3c2f  nabled.Remedi
│ │ │ +001c5aa0: 6174 696f 6e20 5075 7070 6574 2073 6e69  ation Puppet sni
│ │ │ +001c5ab0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e  ppet ...
│ │ │ +001c5ac0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Complexity:low
Disrup │ │ │ +001c5640: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +001c5650: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +001c5690: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +001c56a0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Com │ │ │ +001c5b40: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +001c5b70: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +001c5b90: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +001c5ba0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +001c5bc0: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ +001c5be0: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +001c5bf0: 6465 2065 6e61 626c 655f 6368 726f 6e79  de enable_chrony
│ │ │ +001c5c00: 0a0a 636c 6173 7320 656e 6162 6c65 5f63  ..class enable_c
│ │ │ +001c5c10: 6872 6f6e 7920 7b0a 2020 7365 7276 6963  hrony {.  servic
│ │ │ +001c5c20: 6520 7b27 6368 726f 6e79 273a 0a20 2020  e {'chrony':.   
│ │ │ +001c5c30: 2065 6e61 626c 6520 3d26 6774 3b20 7472   enable => tr
│ │ │ +001c5c40: 7565 2c0a 2020 2020 656e 7375 7265 203d  ue,.    ensure =
│ │ │ +001c5c50: 2667 743b 2027 7275 6e6e 696e 6727 2c0a  > 'running',.
│ │ │ +001c5c60: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ +001c5d20: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu │ │ │ +001c5d30: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet . │ │ │ +001c5d40: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
.[custom │ │ │ +001c5d90: 697a 6174 696f 6e73 2e73 6572 7669 6365 izations.service │ │ │ +001c5da0: 735d 0a65 6e61 626c 6564 203d 205b 2263 s].enabled = ["c │ │ │ +001c5db0: 6872 6f6e 7922 5d0a 3c2f 636f 6465 3e3c hrony"].< │ │ │ 001c5dc0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remedi │ │ │ -001c7130: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl │ │ │ -001c7140: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet │ │ │ -001c7150: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...

.[custo │ │ │ -001c71a0: 6d69 7a61 7469 6f6e 732e 7365 7276 6963 mizations.servic │ │ │ -001c71b0: 6573 5d0a 656e 6162 6c65 6420 3d20 5b22 es].enabled = [" │ │ │ -001c71c0: 6e74 7022 5d0a 3c2f 636f 6465 3e3c 2f70 ntp"].

Remedia │ │ │ -001c7280: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ -001c7290: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -001c72a0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -001c72b0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -001c72c0: 7365 2220 6964 3d22 6964 6d32 3434 3136 se" id="idm24416 │ │ │ -001c72d0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ -001c7320: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -001c7330: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -001c7350: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -001c7370: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -001c7380: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ -001c73c0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ -001c73d0: 6520 656e 6162 6c65 5f6e 7470 0a0a 636c e enable_ntp..cl │ │ │ -001c73e0: 6173 7320 656e 6162 6c65 5f6e 7470 207b ass enable_ntp { │ │ │ -001c73f0: 0a20 2073 6572 7669 6365 207b 276e 7470 . service {'ntp │ │ │ -001c7400: 273a 0a20 2020 2065 6e61 626c 6520 3d26 ':. enable =& │ │ │ -001c7410: 6774 3b20 7472 7565 2c0a 2020 2020 656e gt; true,. en │ │ │ -001c7420: 7375 7265 203d 2667 743b 2027 7275 6e6e sure => 'runn │ │ │ -001c7430: 696e 6727 2c0a 2020 7d0a 7d0a 3c2f 636f ing',. }.}.
< │ │ │ -001c7450: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -001c7460: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -001c7470: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -001c7480: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -001c7490: 646d 3234 3431 3722 2074 6162 696e 6465 dm24417" tabinde │ │ │ -001c74a0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -001c74b0: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -001c74c0: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -001c74d0: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -001c74e0: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -001c74f0: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ -001c7500: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
< │ │ │ -001c7590: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -001c75b0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -001c7600: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
- name: Gather 
│ │ │ -001c7650: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ -001c7660: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ -001c7670: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ -001c7680: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ -001c7690: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ -001c76a0: 3828 3129 2861 290a 2020 2d20 4e49 5354  8(1)(a).  - NIST
│ │ │ -001c76b0: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ -001c76c0: 2020 2d20 5043 492d 4453 532d 5265 712d    - PCI-DSS-Req-
│ │ │ -001c76d0: 3130 2e34 0a20 202d 2050 4349 2d44 5353  10.4.  - PCI-DSS
│ │ │ -001c76e0: 7634 2d31 302e 360a 2020 2d20 5043 492d  v4-10.6.  - PCI-
│ │ │ -001c76f0: 4453 5376 342d 3130 2e36 2e31 0a20 202d  DSSv4-10.6.1.  -
│ │ │ -001c7700: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ -001c7710: 0a20 202d 2068 6967 685f 7365 7665 7269  .  - high_severi
│ │ │ -001c7720: 7479 0a20 202d 206c 6f77 5f63 6f6d 706c  ty.  - low_compl
│ │ │ -001c7730: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -001c7740: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f  sruption.  - no_
│ │ │ -001c7750: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -001c7760: 2d20 7365 7276 6963 655f 6e74 705f 656e  - service_ntp_en
│ │ │ -001c7770: 6162 6c65 640a 0a2d 206e 616d 653a 2045  abled..- name: E
│ │ │ -001c7780: 6e61 626c 6520 7468 6520 4e54 5020 4461  nable the NTP Da
│ │ │ -001c7790: 656d 6f6e 202d 2045 6e61 626c 6520 7365  emon - Enable se
│ │ │ -001c77a0: 7276 6963 6520 6e74 700a 2020 626c 6f63  rvice ntp.  bloc
│ │ │ -001c77b0: 6b3a 0a0a 2020 2d20 6e61 6d65 3a20 4761  k:..  - name: Ga
│ │ │ -001c77c0: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ -001c77d0: 2066 6163 7473 0a20 2020 2070 6163 6b61   facts.    packa
│ │ │ -001c77e0: 6765 5f66 6163 7473 3a0a 2020 2020 2020  ge_facts:.      
│ │ │ -001c77f0: 6d61 6e61 6765 723a 2061 7574 6f0a 0a20  manager: auto.. 
│ │ │ -001c7800: 202d 206e 616d 653a 2045 6e61 626c 6520   - name: Enable 
│ │ │ -001c7810: 7468 6520 4e54 5020 4461 656d 6f6e 202d  the NTP Daemon -
│ │ │ -001c7820: 2045 6e61 626c 6520 5365 7276 6963 6520   Enable Service 
│ │ │ -001c7830: 6e74 700a 2020 2020 616e 7369 626c 652e  ntp.    ansible.
│ │ │ -001c7840: 6275 696c 7469 6e2e 7379 7374 656d 643a  builtin.systemd:
│ │ │ -001c7850: 0a20 2020 2020 206e 616d 653a 206e 7470  .      name: ntp
│ │ │ -001c7860: 0a20 2020 2020 2065 6e61 626c 6564 3a20  .      enabled: 
│ │ │ -001c7870: 7472 7565 0a20 2020 2020 2073 7461 7465  true.      state
│ │ │ -001c7880: 3a20 7374 6172 7465 640a 2020 2020 2020  : started.      
│ │ │ -001c7890: 6d61 736b 6564 3a20 6661 6c73 650a 2020  masked: false.  
│ │ │ -001c78a0: 2020 7768 656e 3a0a 2020 2020 2d20 2722    when:.    - '"
│ │ │ -001c78b0: 6e74 7022 2069 6e20 616e 7369 626c 655f  ntp" in ansible_
│ │ │ -001c78c0: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -001c78d0: 2020 7768 656e 3a0a 2020 2d20 2722 6c69    when:.  - '"li
│ │ │ -001c78e0: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ -001c78f0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -001c7900: 6765 7327 0a20 202d 2027 226e 7470 2220  ges'.  - '"ntp" 
│ │ │ -001c7910: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -001c7920: 2e70 6163 6b61 6765 7327 0a20 2074 6167  .packages'.  tag
│ │ │ -001c7930: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ -001c7940: 3533 2d41 552d 3828 3129 2861 290a 2020  53-AU-8(1)(a).  
│ │ │ -001c7950: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -001c7960: 2d36 2861 290a 2020 2d20 5043 492d 4453  -6(a).  - PCI-DS
│ │ │ -001c7970: 532d 5265 712d 3130 2e34 0a20 202d 2050  S-Req-10.4.  - P
│ │ │ -001c7980: 4349 2d44 5353 7634 2d31 302e 360a 2020  CI-DSSv4-10.6.  
│ │ │ -001c7990: 2d20 5043 492d 4453 5376 342d 3130 2e36  - PCI-DSSv4-10.6
│ │ │ -001c79a0: 2e31 0a20 202d 2065 6e61 626c 655f 7374  .1.  - enable_st
│ │ │ -001c79b0: 7261 7465 6779 0a20 202d 2068 6967 685f  rategy.  - high_
│ │ │ -001c79c0: 7365 7665 7269 7479 0a20 202d 206c 6f77  severity.  - low
│ │ │ -001c79d0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -001c79e0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -001c79f0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -001c7a00: 6465 640a 2020 2d20 7365 7276 6963 655f  ded.  - service_
│ │ │ -001c7a10: 6e74 705f 656e 6162 6c65 640a 3c2f 636f  ntp_enabled.
low
Disr │ │ │ -001c75c0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -001c75d0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -001c7610: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ -001c7620: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
low< │ │ │ +001c71f0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +001c7240: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ +001c71d0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +001c7200: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +001c7220: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +001c7230: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +001c7250: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ +001c7260: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +001c7280: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ +001c7290: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ +001c72a0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ +001c72b0: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ +001c72c0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ +001c72d0: 2d38 3030 2d35 332d 4155 2d38 2831 2928  -800-53-AU-8(1)(
│ │ │ +001c72e0: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ +001c72f0: 3533 2d43 4d2d 3628 6129 0a20 202d 2050  53-CM-6(a).  - P
│ │ │ +001c7300: 4349 2d44 5353 2d52 6571 2d31 302e 340a  CI-DSS-Req-10.4.
│ │ │ +001c7310: 2020 2d20 5043 492d 4453 5376 342d 3130    - PCI-DSSv4-10
│ │ │ +001c7320: 2e36 0a20 202d 2050 4349 2d44 5353 7634  .6.  - PCI-DSSv4
│ │ │ +001c7330: 2d31 302e 362e 310a 2020 2d20 656e 6162  -10.6.1.  - enab
│ │ │ +001c7340: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +001c7350: 6869 6768 5f73 6576 6572 6974 790a 2020  high_severity.  
│ │ │ +001c7360: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +001c7370: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +001c7380: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f  ion.  - no_reboo
│ │ │ +001c7390: 745f 6e65 6564 6564 0a20 202d 2073 6572  t_needed.  - ser
│ │ │ +001c73a0: 7669 6365 5f6e 7470 5f65 6e61 626c 6564  vice_ntp_enabled
│ │ │ +001c73b0: 0a0a 2d20 6e61 6d65 3a20 456e 6162 6c65  ..- name: Enable
│ │ │ +001c73c0: 2074 6865 204e 5450 2044 6165 6d6f 6e20   the NTP Daemon 
│ │ │ +001c73d0: 2d20 456e 6162 6c65 2073 6572 7669 6365  - Enable service
│ │ │ +001c73e0: 206e 7470 0a20 2062 6c6f 636b 3a0a 0a20   ntp.  block:.. 
│ │ │ +001c73f0: 202d 206e 616d 653a 2047 6174 6865 7220   - name: Gather 
│ │ │ +001c7400: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ +001c7410: 730a 2020 2020 7061 636b 6167 655f 6661  s.    package_fa
│ │ │ +001c7420: 6374 733a 0a20 2020 2020 206d 616e 6167  cts:.      manag
│ │ │ +001c7430: 6572 3a20 6175 746f 0a0a 2020 2d20 6e61  er: auto..  - na
│ │ │ +001c7440: 6d65 3a20 456e 6162 6c65 2074 6865 204e  me: Enable the N
│ │ │ +001c7450: 5450 2044 6165 6d6f 6e20 2d20 456e 6162  TP Daemon - Enab
│ │ │ +001c7460: 6c65 2053 6572 7669 6365 206e 7470 0a20  le Service ntp. 
│ │ │ +001c7470: 2020 2061 6e73 6962 6c65 2e62 7569 6c74     ansible.built
│ │ │ +001c7480: 696e 2e73 7973 7465 6d64 3a0a 2020 2020  in.systemd:.    
│ │ │ +001c7490: 2020 6e61 6d65 3a20 6e74 700a 2020 2020    name: ntp.    
│ │ │ +001c74a0: 2020 656e 6162 6c65 643a 2074 7275 650a    enabled: true.
│ │ │ +001c74b0: 2020 2020 2020 7374 6174 653a 2073 7461        state: sta
│ │ │ +001c74c0: 7274 6564 0a20 2020 2020 206d 6173 6b65  rted.      maske
│ │ │ +001c74d0: 643a 2066 616c 7365 0a20 2020 2077 6865  d: false.    whe
│ │ │ +001c74e0: 6e3a 0a20 2020 202d 2027 226e 7470 2220  n:.    - '"ntp" 
│ │ │ +001c74f0: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +001c7500: 2e70 6163 6b61 6765 7327 0a20 2077 6865  .packages'.  whe
│ │ │ +001c7510: 6e3a 0a20 202d 2027 226c 696e 7578 2d62  n:.  - '"linux-b
│ │ │ +001c7520: 6173 6522 2069 6e20 616e 7369 626c 655f  ase" in ansible_
│ │ │ +001c7530: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ +001c7540: 2020 2d20 2722 6e74 7022 2069 6e20 616e    - '"ntp" in an
│ │ │ +001c7550: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +001c7560: 6167 6573 270a 2020 7461 6773 3a0a 2020  ages'.  tags:.  
│ │ │ +001c7570: 2d20 4e49 5354 2d38 3030 2d35 332d 4155  - NIST-800-53-AU
│ │ │ +001c7580: 2d38 2831 2928 6129 0a20 202d 204e 4953  -8(1)(a).  - NIS
│ │ │ +001c7590: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ +001c75a0: 0a20 202d 2050 4349 2d44 5353 2d52 6571  .  - PCI-DSS-Req
│ │ │ +001c75b0: 2d31 302e 340a 2020 2d20 5043 492d 4453  -10.4.  - PCI-DS
│ │ │ +001c75c0: 5376 342d 3130 2e36 0a20 202d 2050 4349  Sv4-10.6.  - PCI
│ │ │ +001c75d0: 2d44 5353 7634 2d31 302e 362e 310a 2020  -DSSv4-10.6.1.  
│ │ │ +001c75e0: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ +001c75f0: 790a 2020 2d20 6869 6768 5f73 6576 6572  y.  - high_sever
│ │ │ +001c7600: 6974 790a 2020 2d20 6c6f 775f 636f 6d70  ity.  - low_comp
│ │ │ +001c7610: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +001c7620: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f  isruption.  - no
│ │ │ +001c7630: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +001c7640: 202d 2073 6572 7669 6365 5f6e 7470 5f65   - service_ntp_e
│ │ │ +001c7650: 6e61 626c 6564 0a3c 2f63 6f64 653e 3c2f  nabled.
Remedi │ │ │ +001c7710: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ +001c7720: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +001c7730: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +001c77b0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +001c77e0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +001c7800: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +001c7810: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +001c7830: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ +001c7850: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +001c7860: 6465 2065 6e61 626c 655f 6e74 700a 0a63  de enable_ntp..c
│ │ │ +001c7870: 6c61 7373 2065 6e61 626c 655f 6e74 7020  lass enable_ntp 
│ │ │ +001c7880: 7b0a 2020 7365 7276 6963 6520 7b27 6e74  {.  service {'nt
│ │ │ +001c7890: 7027 3a0a 2020 2020 656e 6162 6c65 203d  p':.    enable =
│ │ │ +001c78a0: 2667 743b 2074 7275 652c 0a20 2020 2065  > true,.    e
│ │ │ +001c78b0: 6e73 7572 6520 3d26 6774 3b20 2772 756e  nsure => 'run
│ │ │ +001c78c0: 6e69 6e67 272c 0a20 207d 0a7d 0a3c 2f63  ning',.  }.}.
│ │ │ +001c78e0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +001c7980: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu │ │ │ +001c7990: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn │ │ │ +001c79a0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.
│ │ │ +001c79f0: 5b63 7573 746f 6d69 7a61 7469 6f6e 732e  [customizations.
│ │ │ +001c7a00: 7365 7276 6963 6573 5d0a 656e 6162 6c65  services].enable
│ │ │ +001c7a10: 6420 3d20 5b22 6e74 7022 5d0a 3c2f 636f  d = ["ntp"].
< │ │ │ 001c7a30: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 001c7a40: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 001c7a50: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 001c7a60: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 001c7a70: 646d 3234 3431 3822 2074 6162 696e 6465 dm24418" tabinde │ │ │ 001c7a80: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ @@ -116945,169 +116945,169 @@ │ │ │ 001c8d00: 6172 6765 743d 2223 6964 6d32 3434 3730 arget="#idm24470 │ │ │ 001c8d10: 2220 7461 6269 6e64 6578 3d22 3022 2072 " tabindex="0" r │ │ │ 001c8d20: 6f6c 653d 2262 7574 746f 6e22 2061 7269 ole="button" ari │ │ │ 001c8d30: 612d 6578 7061 6e64 6564 3d22 6661 6c73 a-expanded="fals │ │ │ 001c8d40: 6522 2074 6974 6c65 3d22 4163 7469 7661 e" title="Activa │ │ │ 001c8d50: 7465 2074 6f20 7265 7665 616c 2220 6872 te to reveal" hr │ │ │ 001c8d60: 6566 3d22 2321 223e 5265 6d65 6469 6174 ef="#!">Remediat │ │ │ -001c8d70: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue │ │ │ -001c8d80: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet .. │ │ │ -001c8d90: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
.[customi
│ │ │ -001c8de0: 7a61 7469 6f6e 732e 7365 7276 6963 6573  zations.services
│ │ │ -001c8df0: 5d0a 656e 6162 6c65 6420 3d20 5b22 7379  ].enabled = ["sy
│ │ │ -001c8e00: 7374 656d 642d 7469 6d65 7379 6e63 6422  stemd-timesyncd"
│ │ │ -001c8e10: 5d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  ].
< │ │ │ -001c8e20: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -001c8ed0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ -001c8ee0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001c8f60: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -001c8f70: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -001c8f80: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -001c8fc0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -001c8fd0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -001c8ff0: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ -001c9010: 3c63 6f64 653e 696e 636c 7564 6520 656e  include en
│ │ │ -001c9020: 6162 6c65 5f73 7973 7465 6d64 2d74 696d  able_systemd-tim
│ │ │ -001c9030: 6573 796e 6364 0a0a 636c 6173 7320 656e  esyncd..class en
│ │ │ -001c9040: 6162 6c65 5f73 7973 7465 6d64 2d74 696d  able_systemd-tim
│ │ │ -001c9050: 6573 796e 6364 207b 0a20 2073 6572 7669  esyncd {.  servi
│ │ │ -001c9060: 6365 207b 2773 7973 7465 6d64 2d74 696d  ce {'systemd-tim
│ │ │ -001c9070: 6573 796e 6364 273a 0a20 2020 2065 6e61  esyncd':.    ena
│ │ │ -001c9080: 626c 6520 3d26 6774 3b20 7472 7565 2c0a  ble => true,.
│ │ │ -001c9090: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -001c90a0: 2027 7275 6e6e 696e 6727 2c0a 2020 7d0a   'running',.  }.
│ │ │ -001c90b0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ -001c90c0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -001c9170: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ -001c9180: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -001c91c0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -001c91d0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -001c91e0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -001c91f0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -001c9200: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -001c9210: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -001c9220: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -001c9260: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -001c9270: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -001c9290: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ -001c92a0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ -001c92c0: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ -001c92d0: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ -001c92e0: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ -001c92f0: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ -001c9300: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ -001c9310: 3533 2d41 552d 3828 3129 2861 290a 2020  53-AU-8(1)(a).  
│ │ │ -001c9320: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -001c9330: 2d36 2861 290a 2020 2d20 5043 492d 4453  -6(a).  - PCI-DS
│ │ │ -001c9340: 532d 5265 712d 3130 2e34 0a20 202d 2050  S-Req-10.4.  - P
│ │ │ -001c9350: 4349 2d44 5353 7634 2d31 302e 360a 2020  CI-DSSv4-10.6.  
│ │ │ -001c9360: 2d20 5043 492d 4453 5376 342d 3130 2e36  - PCI-DSSv4-10.6
│ │ │ -001c9370: 2e31 0a20 202d 2065 6e61 626c 655f 7374  .1.  - enable_st
│ │ │ -001c9380: 7261 7465 6779 0a20 202d 2068 6967 685f  rategy.  - high_
│ │ │ -001c9390: 7365 7665 7269 7479 0a20 202d 206c 6f77  severity.  - low
│ │ │ -001c93a0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -001c93b0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -001c93c0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -001c93d0: 6465 640a 2020 2d20 7365 7276 6963 655f  ded.  - service_
│ │ │ -001c93e0: 7469 6d65 7379 6e63 645f 656e 6162 6c65  timesyncd_enable
│ │ │ -001c93f0: 640a 0a2d 206e 616d 653a 2045 6e61 626c  d..- name: Enabl
│ │ │ -001c9400: 6520 7379 7374 656d 645f 7469 6d65 7379  e systemd_timesy
│ │ │ -001c9410: 6e63 6420 5365 7276 6963 6520 2d20 456e  ncd Service - En
│ │ │ -001c9420: 6162 6c65 2073 6572 7669 6365 2073 7973  able service sys
│ │ │ -001c9430: 7465 6d64 2d74 696d 6573 796e 6364 0a20  temd-timesyncd. 
│ │ │ -001c9440: 2062 6c6f 636b 3a0a 0a20 202d 206e 616d   block:..  - nam
│ │ │ -001c9450: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ -001c9460: 636b 6167 6520 6661 6374 730a 2020 2020  ckage facts.    
│ │ │ -001c9470: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ -001c9480: 2020 2020 206d 616e 6167 6572 3a20 6175       manager: au
│ │ │ -001c9490: 746f 0a0a 2020 2d20 6e61 6d65 3a20 456e  to..  - name: En
│ │ │ -001c94a0: 6162 6c65 2073 7973 7465 6d64 5f74 696d  able systemd_tim
│ │ │ -001c94b0: 6573 796e 6364 2053 6572 7669 6365 202d  esyncd Service -
│ │ │ -001c94c0: 2045 6e61 626c 6520 5365 7276 6963 6520   Enable Service 
│ │ │ -001c94d0: 7379 7374 656d 642d 7469 6d65 7379 6e63  systemd-timesync
│ │ │ -001c94e0: 640a 2020 2020 616e 7369 626c 652e 6275  d.    ansible.bu
│ │ │ -001c94f0: 696c 7469 6e2e 7379 7374 656d 643a 0a20  iltin.systemd:. 
│ │ │ -001c9500: 2020 2020 206e 616d 653a 2073 7973 7465       name: syste
│ │ │ -001c9510: 6d64 2d74 696d 6573 796e 6364 0a20 2020  md-timesyncd.   
│ │ │ -001c9520: 2020 2065 6e61 626c 6564 3a20 7472 7565     enabled: true
│ │ │ -001c9530: 0a20 2020 2020 2073 7461 7465 3a20 7374  .      state: st
│ │ │ -001c9540: 6172 7465 640a 2020 2020 2020 6d61 736b  arted.      mask
│ │ │ -001c9550: 6564 3a20 6661 6c73 650a 2020 2020 7768  ed: false.    wh
│ │ │ -001c9560: 656e 3a0a 2020 2020 2d20 2722 7379 7374  en:.    - '"syst
│ │ │ -001c9570: 656d 6422 2069 6e20 616e 7369 626c 655f  emd" in ansible_
│ │ │ -001c9580: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -001c9590: 2020 7768 656e 3a0a 2020 2d20 2722 6c69    when:.  - '"li
│ │ │ -001c95a0: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ -001c95b0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -001c95c0: 6765 7327 0a20 202d 2028 206e 6f74 2028  ges'.  - ( not (
│ │ │ -001c95d0: 2022 6368 726f 6e79 2220 696e 2061 6e73   "chrony" in ans
│ │ │ -001c95e0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -001c95f0: 6765 7320 2920 616e 6420 6e6f 7420 2820  ges ) and not ( 
│ │ │ -001c9600: 226e 7470 2220 696e 2061 6e73 6962 6c65  "ntp" in ansible
│ │ │ -001c9610: 5f66 6163 7473 2e70 6163 6b61 6765 730a  _facts.packages.
│ │ │ -001c9620: 2020 2020 2920 290a 2020 7461 6773 3a0a      ) ).  tags:.
│ │ │ -001c9630: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -001c9640: 4155 2d38 2831 2928 6129 0a20 202d 204e  AU-8(1)(a).  - N
│ │ │ -001c9650: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -001c9660: 6129 0a20 202d 2050 4349 2d44 5353 2d52  a).  - PCI-DSS-R
│ │ │ -001c9670: 6571 2d31 302e 340a 2020 2d20 5043 492d  eq-10.4.  - PCI-
│ │ │ -001c9680: 4453 5376 342d 3130 2e36 0a20 202d 2050  DSSv4-10.6.  - P
│ │ │ -001c9690: 4349 2d44 5353 7634 2d31 302e 362e 310a  CI-DSSv4-10.6.1.
│ │ │ -001c96a0: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -001c96b0: 6567 790a 2020 2d20 6869 6768 5f73 6576  egy.  - high_sev
│ │ │ -001c96c0: 6572 6974 790a 2020 2d20 6c6f 775f 636f  erity.  - low_co
│ │ │ -001c96d0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -001c96e0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -001c96f0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -001c9700: 0a20 202d 2073 6572 7669 6365 5f74 696d  .  - service_tim
│ │ │ -001c9710: 6573 796e 6364 5f65 6e61 626c 6564 0a3c  esyncd_enabled.<
│ │ │ +001c8d70: 696f 6e20 416e 7369 626c 6520 736e 6970  ion Ansible snip
│ │ │ +001c8d80: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c  pet ...
< │ │ │ +001c8d90: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001c8da0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001c8db0: 7365 2220 6964 3d22 6964 6d32 3434 3730 se" id="idm24470 │ │ │ +001c8dc0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ +001c8e10: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +001c8e20: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +001c8e40: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +001c8e60: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +001c8e70: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ +001c8eb0: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +001c8ec0: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ +001c8ed0: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac │ │ │ +001c8ee0: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ +001c8ef0: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto. │ │ │ +001c8f00: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8 │ │ │ +001c8f10: 3030 2d35 332d 4155 2d38 2831 2928 6129 00-53-AU-8(1)(a) │ │ │ +001c8f20: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53 │ │ │ +001c8f30: 2d43 4d2d 3628 6129 0a20 202d 2050 4349 -CM-6(a). - PCI │ │ │ +001c8f40: 2d44 5353 2d52 6571 2d31 302e 340a 2020 -DSS-Req-10.4. │ │ │ +001c8f50: 2d20 5043 492d 4453 5376 342d 3130 2e36 - PCI-DSSv4-10.6 │ │ │ +001c8f60: 0a20 202d 2050 4349 2d44 5353 7634 2d31 . - PCI-DSSv4-1 │ │ │ +001c8f70: 302e 362e 310a 2020 2d20 656e 6162 6c65 0.6.1. - enable │ │ │ +001c8f80: 5f73 7472 6174 6567 790a 2020 2d20 6869 _strategy. - hi │ │ │ +001c8f90: 6768 5f73 6576 6572 6974 790a 2020 2d20 gh_severity. - │ │ │ +001c8fa0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity. │ │ │ +001c8fb0: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio │ │ │ +001c8fc0: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f n. - no_reboot_ │ │ │ +001c8fd0: 6e65 6564 6564 0a20 202d 2073 6572 7669 needed. - servi │ │ │ +001c8fe0: 6365 5f74 696d 6573 796e 6364 5f65 6e61 ce_timesyncd_ena │ │ │ +001c8ff0: 626c 6564 0a0a 2d20 6e61 6d65 3a20 456e bled..- name: En │ │ │ +001c9000: 6162 6c65 2073 7973 7465 6d64 5f74 696d able systemd_tim │ │ │ +001c9010: 6573 796e 6364 2053 6572 7669 6365 202d esyncd Service - │ │ │ +001c9020: 2045 6e61 626c 6520 7365 7276 6963 6520 Enable service │ │ │ +001c9030: 7379 7374 656d 642d 7469 6d65 7379 6e63 systemd-timesync │ │ │ +001c9040: 640a 2020 626c 6f63 6b3a 0a0a 2020 2d20 d. block:.. - │ │ │ +001c9050: 6e61 6d65 3a20 4761 7468 6572 2074 6865 name: Gather the │ │ │ +001c9060: 2070 6163 6b61 6765 2066 6163 7473 0a20 package facts. │ │ │ +001c9070: 2020 2070 6163 6b61 6765 5f66 6163 7473 package_facts │ │ │ +001c9080: 3a0a 2020 2020 2020 6d61 6e61 6765 723a :. manager: │ │ │ +001c9090: 2061 7574 6f0a 0a20 202d 206e 616d 653a auto.. - name: │ │ │ +001c90a0: 2045 6e61 626c 6520 7379 7374 656d 645f Enable systemd_ │ │ │ +001c90b0: 7469 6d65 7379 6e63 6420 5365 7276 6963 timesyncd Servic │ │ │ +001c90c0: 6520 2d20 456e 6162 6c65 2053 6572 7669 e - Enable Servi │ │ │ +001c90d0: 6365 2073 7973 7465 6d64 2d74 696d 6573 ce systemd-times │ │ │ +001c90e0: 796e 6364 0a20 2020 2061 6e73 6962 6c65 yncd. ansible │ │ │ +001c90f0: 2e62 7569 6c74 696e 2e73 7973 7465 6d64 .builtin.systemd │ │ │ +001c9100: 3a0a 2020 2020 2020 6e61 6d65 3a20 7379 :. name: sy │ │ │ +001c9110: 7374 656d 642d 7469 6d65 7379 6e63 640a stemd-timesyncd. │ │ │ +001c9120: 2020 2020 2020 656e 6162 6c65 643a 2074 enabled: t │ │ │ +001c9130: 7275 650a 2020 2020 2020 7374 6174 653a rue. state: │ │ │ +001c9140: 2073 7461 7274 6564 0a20 2020 2020 206d started. m │ │ │ +001c9150: 6173 6b65 643a 2066 616c 7365 0a20 2020 asked: false. │ │ │ +001c9160: 2077 6865 6e3a 0a20 2020 202d 2027 2273 when:. - '"s │ │ │ +001c9170: 7973 7465 6d64 2220 696e 2061 6e73 6962 ystemd" in ansib │ │ │ +001c9180: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package │ │ │ +001c9190: 7327 0a20 2077 6865 6e3a 0a20 202d 2027 s'. when:. - ' │ │ │ +001c91a0: 226c 696e 7578 2d62 6173 6522 2069 6e20 "linux-base" in │ │ │ +001c91b0: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa │ │ │ +001c91c0: 636b 6167 6573 270a 2020 2d20 2820 6e6f ckages'. - ( no │ │ │ +001c91d0: 7420 2820 2263 6872 6f6e 7922 2069 6e20 t ( "chrony" in │ │ │ +001c91e0: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa │ │ │ +001c91f0: 636b 6167 6573 2029 2061 6e64 206e 6f74 ckages ) and not │ │ │ +001c9200: 2028 2022 6e74 7022 2069 6e20 616e 7369 ( "ntp" in ansi │ │ │ +001c9210: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag │ │ │ +001c9220: 6573 0a20 2020 2029 2029 0a20 2074 6167 es. ) ). tag │ │ │ +001c9230: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800- │ │ │ +001c9240: 3533 2d41 552d 3828 3129 2861 290a 2020 53-AU-8(1)(a). │ │ │ +001c9250: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM │ │ │ +001c9260: 2d36 2861 290a 2020 2d20 5043 492d 4453 -6(a). - PCI-DS │ │ │ +001c9270: 532d 5265 712d 3130 2e34 0a20 202d 2050 S-Req-10.4. - P │ │ │ +001c9280: 4349 2d44 5353 7634 2d31 302e 360a 2020 CI-DSSv4-10.6. │ │ │ +001c9290: 2d20 5043 492d 4453 5376 342d 3130 2e36 - PCI-DSSv4-10.6 │ │ │ +001c92a0: 2e31 0a20 202d 2065 6e61 626c 655f 7374 .1. - enable_st │ │ │ +001c92b0: 7261 7465 6779 0a20 202d 2068 6967 685f rategy. - high_ │ │ │ +001c92c0: 7365 7665 7269 7479 0a20 202d 206c 6f77 severity. - low │ │ │ +001c92d0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. - │ │ │ +001c92e0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption. │ │ │ +001c92f0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee │ │ │ +001c9300: 6465 640a 2020 2d20 7365 7276 6963 655f ded. - service_ │ │ │ +001c9310: 7469 6d65 7379 6e63 645f 656e 6162 6c65 timesyncd_enable │ │ │ +001c9320: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c d.
< │ │ │ +001c9330: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +001c93e0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +001c93f0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +001c9470: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +001c9480: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +001c9490: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +001c94d0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +001c94e0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +001c9500: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ +001c9520: 3c63 6f64 653e 696e 636c 7564 6520 656e  include en
│ │ │ +001c9530: 6162 6c65 5f73 7973 7465 6d64 2d74 696d  able_systemd-tim
│ │ │ +001c9540: 6573 796e 6364 0a0a 636c 6173 7320 656e  esyncd..class en
│ │ │ +001c9550: 6162 6c65 5f73 7973 7465 6d64 2d74 696d  able_systemd-tim
│ │ │ +001c9560: 6573 796e 6364 207b 0a20 2073 6572 7669  esyncd {.  servi
│ │ │ +001c9570: 6365 207b 2773 7973 7465 6d64 2d74 696d  ce {'systemd-tim
│ │ │ +001c9580: 6573 796e 6364 273a 0a20 2020 2065 6e61  esyncd':.    ena
│ │ │ +001c9590: 626c 6520 3d26 6774 3b20 7472 7565 2c0a  ble => true,.
│ │ │ +001c95a0: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +001c95b0: 2027 7275 6e6e 696e 6727 2c0a 2020 7d0a   'running',.  }.
│ │ │ +001c95c0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ +001c95d0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +001c9680: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ +001c9690: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
.[customizat
│ │ │ +001c96f0: 696f 6e73 2e73 6572 7669 6365 735d 0a65  ions.services].e
│ │ │ +001c9700: 6e61 626c 6564 203d 205b 2273 7973 7465  nabled = ["syste
│ │ │ +001c9710: 6d64 2d74 696d 6573 796e 6364 225d 0a3c  md-timesyncd"].<
│ │ │  001c9720: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remedi │ │ │ -001cfe70: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ -001cfe80: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001cfe90: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -001cff10: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -001cff40: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -001cff60: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -001cff70: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -001cff90: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -001cffa0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -001cffc0: 7564 6520 7265 6d6f 7665 5f78 696e 6574  ude remove_xinet
│ │ │ -001cffd0: 640a 0a63 6c61 7373 2072 656d 6f76 655f  d..class remove_
│ │ │ -001cffe0: 7869 6e65 7464 207b 0a20 2070 6163 6b61  xinetd {.  packa
│ │ │ -001cfff0: 6765 207b 2027 7869 6e65 7464 273a 0a20  ge { 'xinetd':. 
│ │ │ -001d0000: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ -001d0010: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a  'purged',.  }.}.
│ │ │ -001d0020: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation A │ │ │ -001d00e0: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet . │ │ │ -001d00f0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -001d0170: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -001d0180: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ -001d01a0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ -001d01b0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ -001d01d0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ -001d01f0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ -001d0220: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761  - name: Ga
│ │ │ -001d0230: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ -001d0240: 2066 6163 7473 0a20 2070 6163 6b61 6765   facts.  package
│ │ │ -001d0250: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61  _facts:.    mana
│ │ │ -001d0260: 6765 723a 2061 7574 6f0a 2020 7461 6773  ger: auto.  tags
│ │ │ -001d0270: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ -001d0280: 332d 434d 2d36 2861 290a 2020 2d20 4e49  3-CM-6(a).  - NI
│ │ │ -001d0290: 5354 2d38 3030 2d35 332d 434d 2d37 2861  ST-800-53-CM-7(a
│ │ │ -001d02a0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -001d02b0: 332d 434d 2d37 2862 290a 2020 2d20 5043  3-CM-7(b).  - PC
│ │ │ -001d02c0: 492d 4453 5376 342d 322e 320a 2020 2d20  I-DSSv4-2.2.  - 
│ │ │ -001d02d0: 5043 492d 4453 5376 342d 322e 322e 340a  PCI-DSSv4-2.2.4.
│ │ │ -001d02e0: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ -001d02f0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ -001d0300: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -001d0310: 6469 7372 7570 7469 6f6e 0a20 202d 206c  disruption.  - l
│ │ │ -001d0320: 6f77 5f73 6576 6572 6974 790a 2020 2d20  ow_severity.  - 
│ │ │ -001d0330: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -001d0340: 0a20 202d 2070 6163 6b61 6765 5f78 696e  .  - package_xin
│ │ │ -001d0350: 6574 645f 7265 6d6f 7665 640a 0a2d 206e  etd_removed..- n
│ │ │ -001d0360: 616d 653a 2045 6e73 7572 6520 7869 6e65  ame: Ensure xine
│ │ │ -001d0370: 7464 2069 7320 7265 6d6f 7665 640a 2020  td is removed.  
│ │ │ -001d0380: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ -001d0390: 653a 2078 696e 6574 640a 2020 2020 7374  e: xinetd.    st
│ │ │ -001d03a0: 6174 653a 2061 6273 656e 740a 2020 7768  ate: absent.  wh
│ │ │ -001d03b0: 656e 3a20 2722 6c69 6e75 782d 6261 7365  en: '"linux-base
│ │ │ -001d03c0: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ -001d03d0: 7473 2e70 6163 6b61 6765 7327 0a20 2074  ts.packages'.  t
│ │ │ -001d03e0: 6167 733a 0a20 202d 204e 4953 542d 3830  ags:.  - NIST-80
│ │ │ -001d03f0: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ -001d0400: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -001d0410: 3728 6129 0a20 202d 204e 4953 542d 3830  7(a).  - NIST-80
│ │ │ -001d0420: 302d 3533 2d43 4d2d 3728 6229 0a20 202d  0-53-CM-7(b).  -
│ │ │ -001d0430: 2050 4349 2d44 5353 7634 2d32 2e32 0a20   PCI-DSSv4-2.2. 
│ │ │ -001d0440: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ -001d0450: 2e34 0a20 202d 2064 6973 6162 6c65 5f73  .4.  - disable_s
│ │ │ -001d0460: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ -001d0470: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -001d0480: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -001d0490: 2d20 6c6f 775f 7365 7665 7269 7479 0a20  - low_severity. 
│ │ │ -001d04a0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -001d04b0: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ -001d04c0: 7869 6e65 7464 5f72 656d 6f76 6564 0a3c  xinetd_removed.<
│ │ │ +001cfe70: 6174 696f 6e20 416e 7369 626c 6520 736e  ation Ansible sn
│ │ │ +001cfe80: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
low< │ │ │ +001cff30: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +001cff80: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ +001cffc0: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ +001cffd0: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ +001cffe0: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ +001cfff0: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ +001d0000: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ +001d0010: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ +001d0020: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +001d0030: 2d43 4d2d 3728 6129 0a20 202d 204e 4953  -CM-7(a).  - NIS
│ │ │ +001d0040: 542d 3830 302d 3533 2d43 4d2d 3728 6229  T-800-53-CM-7(b)
│ │ │ +001d0050: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ +001d0060: 2e32 0a20 202d 2050 4349 2d44 5353 7634  .2.  - PCI-DSSv4
│ │ │ +001d0070: 2d32 2e32 2e34 0a20 202d 2064 6973 6162  -2.2.4.  - disab
│ │ │ +001d0080: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +001d0090: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +001d00a0: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +001d00b0: 6e0a 2020 2d20 6c6f 775f 7365 7665 7269  n.  - low_severi
│ │ │ +001d00c0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ +001d00d0: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ +001d00e0: 6167 655f 7869 6e65 7464 5f72 656d 6f76  age_xinetd_remov
│ │ │ +001d00f0: 6564 0a0a 2d20 6e61 6d65 3a20 456e 7375  ed..- name: Ensu
│ │ │ +001d0100: 7265 2078 696e 6574 6420 6973 2072 656d  re xinetd is rem
│ │ │ +001d0110: 6f76 6564 0a20 2070 6163 6b61 6765 3a0a  oved.  package:.
│ │ │ +001d0120: 2020 2020 6e61 6d65 3a20 7869 6e65 7464      name: xinetd
│ │ │ +001d0130: 0a20 2020 2073 7461 7465 3a20 6162 7365  .    state: abse
│ │ │ +001d0140: 6e74 0a20 2077 6865 6e3a 2027 226c 696e  nt.  when: '"lin
│ │ │ +001d0150: 7578 2d62 6173 6522 2069 6e20 616e 7369  ux-base" in ansi
│ │ │ +001d0160: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ +001d0170: 6573 270a 2020 7461 6773 3a0a 2020 2d20  es'.  tags:.  - 
│ │ │ +001d0180: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ +001d0190: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ +001d01a0: 2d35 332d 434d 2d37 2861 290a 2020 2d20  -53-CM-7(a).  - 
│ │ │ +001d01b0: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ +001d01c0: 2862 290a 2020 2d20 5043 492d 4453 5376  (b).  - PCI-DSSv
│ │ │ +001d01d0: 342d 322e 320a 2020 2d20 5043 492d 4453  4-2.2.  - PCI-DS
│ │ │ +001d01e0: 5376 342d 322e 322e 340a 2020 2d20 6469  Sv4-2.2.4.  - di
│ │ │ +001d01f0: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ +001d0200: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +001d0210: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +001d0220: 7469 6f6e 0a20 202d 206c 6f77 5f73 6576  tion.  - low_sev
│ │ │ +001d0230: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +001d0240: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ +001d0250: 6163 6b61 6765 5f78 696e 6574 645f 7265  ackage_xinetd_re
│ │ │ +001d0260: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70  moved.

Remedia │ │ │ +001d0320: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ +001d0330: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +001d0340: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001d0350: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001d0360: 7365 2220 6964 3d22 6964 6d32 3437 3938 se" id="idm24798 │ │ │ +001d0370: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Co │ │ │ +001cff10: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +001cff40: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +001cff60: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +001cff70: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +001cff90: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +001cffa0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Comp │ │ │ +001d03c0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +001d03d0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +001d03f0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +001d0410: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +001d0420: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +001d0460: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +001d0470: 6465 2072 656d 6f76 655f 7869 6e65 7464  de remove_xinetd
│ │ │ +001d0480: 0a0a 636c 6173 7320 7265 6d6f 7665 5f78  ..class remove_x
│ │ │ +001d0490: 696e 6574 6420 7b0a 2020 7061 636b 6167  inetd {.  packag
│ │ │ +001d04a0: 6520 7b20 2778 696e 6574 6427 3a0a 2020  e { 'xinetd':.  
│ │ │ +001d04b0: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ +001d04c0: 7075 7267 6564 272c 0a20 207d 0a7d 0a3c  purged',.  }.}.<
│ │ │  001d04d0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediat │ │ │ -001d1870: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ -001d1880: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001d1930: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -001d1950: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -001d1980: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -001d1910: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -001d1920: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -001d1940: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -001d1960: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -001d1970: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -001d19b0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ -001d19c0: 6520 7265 6d6f 7665 5f72 7368 2d63 6c69 e remove_rsh-cli │ │ │ -001d19d0: 656e 740a 0a63 6c61 7373 2072 656d 6f76 ent..class remov │ │ │ -001d19e0: 655f 7273 682d 636c 6965 6e74 207b 0a20 e_rsh-client {. │ │ │ -001d19f0: 2070 6163 6b61 6765 207b 2027 7273 682d package { 'rsh- │ │ │ -001d1a00: 636c 6965 6e74 273a 0a20 2020 2065 6e73 client':. ens │ │ │ -001d1a10: 7572 6520 3d26 6774 3b20 2770 7572 6765 ure => 'purge │ │ │ -001d1a20: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 d',. }.}.
Rem │ │ │ -001d1ae0: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ -001d1af0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -001d1b00: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -001d1bd0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -001d1be0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -001d1c30: 2d20 6e61 6d65 3a20 456e 7375 7265 2072  - name: Ensure r
│ │ │ -001d1c40: 7368 2d63 6c69 656e 7420 6973 2072 656d  sh-client is rem
│ │ │ -001d1c50: 6f76 6564 0a20 2070 6163 6b61 6765 3a0a  oved.  package:.
│ │ │ -001d1c60: 2020 2020 6e61 6d65 3a20 7273 682d 636c      name: rsh-cl
│ │ │ -001d1c70: 6965 6e74 0a20 2020 2073 7461 7465 3a20  ient.    state: 
│ │ │ -001d1c80: 6162 7365 6e74 0a20 2074 6167 733a 0a20  absent.  tags:. 
│ │ │ -001d1c90: 202d 204e 4953 542d 3830 302d 3137 312d   - NIST-800-171-
│ │ │ -001d1ca0: 332e 312e 3133 0a20 202d 2050 4349 2d44  3.1.13.  - PCI-D
│ │ │ -001d1cb0: 5353 7634 2d32 2e32 0a20 202d 2050 4349  SSv4-2.2.  - PCI
│ │ │ -001d1cc0: 2d44 5353 7634 2d32 2e32 2e34 0a20 202d  -DSSv4-2.2.4.  -
│ │ │ -001d1cd0: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ -001d1ce0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -001d1cf0: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -001d1d00: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72  ruption.  - no_r
│ │ │ -001d1d10: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -001d1d20: 2070 6163 6b61 6765 5f72 7368 5f72 656d   package_rsh_rem
│ │ │ -001d1d30: 6f76 6564 0a20 202d 2075 6e6b 6e6f 776e  oved.  - unknown
│ │ │ -001d1d40: 5f73 6576 6572 6974 790a 3c2f 636f 6465  _severity.
< │ │ │ +001d1890: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001d18a0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001d18b0: 7365 2220 6964 3d22 6964 6d32 3439 3532 se" id="idm24952 │ │ │ +001d18c0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Complexity:low
Disrup │ │ │ -001d1bb0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -001d1bc0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -001d1c00: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -001d1c10: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Comp │ │ │ +001d1910: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +001d1920: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +001d1940: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +001d1960: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +001d1970: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +001d19b0: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ +001d19c0: 653a 2045 6e73 7572 6520 7273 682d 636c  e: Ensure rsh-cl
│ │ │ +001d19d0: 6965 6e74 2069 7320 7265 6d6f 7665 640a  ient is removed.
│ │ │ +001d19e0: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ +001d19f0: 616d 653a 2072 7368 2d63 6c69 656e 740a  ame: rsh-client.
│ │ │ +001d1a00: 2020 2020 7374 6174 653a 2061 6273 656e      state: absen
│ │ │ +001d1a10: 740a 2020 7461 6773 3a0a 2020 2d20 4e49  t.  tags:.  - NI
│ │ │ +001d1a20: 5354 2d38 3030 2d31 3731 2d33 2e31 2e31  ST-800-171-3.1.1
│ │ │ +001d1a30: 330a 2020 2d20 5043 492d 4453 5376 342d  3.  - PCI-DSSv4-
│ │ │ +001d1a40: 322e 320a 2020 2d20 5043 492d 4453 5376  2.2.  - PCI-DSSv
│ │ │ +001d1a50: 342d 322e 322e 340a 2020 2d20 6469 7361  4-2.2.4.  - disa
│ │ │ +001d1a60: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +001d1a70: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +001d1a80: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +001d1a90: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74  on.  - no_reboot
│ │ │ +001d1aa0: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ +001d1ab0: 6167 655f 7273 685f 7265 6d6f 7665 640a  age_rsh_removed.
│ │ │ +001d1ac0: 2020 2d20 756e 6b6e 6f77 6e5f 7365 7665    - unknown_seve
│ │ │ +001d1ad0: 7269 7479 0a3c 2f63 6f64 653e 3c2f 7072  rity.
Remediat │ │ │ +001d1b90: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ +001d1ba0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +001d1c50: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +001d1c70: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +001d1ca0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +001d1c30: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +001d1c40: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +001d1c60: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +001d1c80: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +001d1c90: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +001d1cd0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ +001d1ce0: 6520 7265 6d6f 7665 5f72 7368 2d63 6c69 e remove_rsh-cli │ │ │ +001d1cf0: 656e 740a 0a63 6c61 7373 2072 656d 6f76 ent..class remov │ │ │ +001d1d00: 655f 7273 682d 636c 6965 6e74 207b 0a20 e_rsh-client {. │ │ │ +001d1d10: 2070 6163 6b61 6765 207b 2027 7273 682d package { 'rsh- │ │ │ +001d1d20: 636c 6965 6e74 273a 0a20 2020 2065 6e73 client':. ens │ │ │ +001d1d30: 7572 6520 3d26 6774 3b20 2770 7572 6765 ure => 'purge │ │ │ +001d1d40: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 d',. }.}.
Remediation │ │ │ -001d4180: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ -001d4190: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001d4210: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -001d4220: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -001d4230: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -001d4270: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -001d4280: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -001d42a0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -001d42b0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include r
│ │ │ -001d42d0: 656d 6f76 655f 7461 6c6b 0a0a 636c 6173  emove_talk..clas
│ │ │ -001d42e0: 7320 7265 6d6f 7665 5f74 616c 6b20 7b0a  s remove_talk {.
│ │ │ -001d42f0: 2020 7061 636b 6167 6520 7b20 2774 616c    package { 'tal
│ │ │ -001d4300: 6b27 3a0a 2020 2020 656e 7375 7265 203d  k':.    ensure =
│ │ │ -001d4310: 2667 743b 2027 7075 7267 6564 272c 0a20  > 'purged',. 
│ │ │ -001d4320: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.
Remediat │ │ │ -001d43e0: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip │ │ │ -001d43f0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -001d4400: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -001d4410: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -001d4420: 7365 2220 6964 3d22 6964 6d32 3530 3934 se" id="idm25094 │ │ │ -001d4430: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ -001d4480: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -001d4490: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -001d44b0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -001d44d0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -001d44e0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ -001d4520: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ -001d4530: 653a 2045 6e73 7572 6520 7461 6c6b 2069  e: Ensure talk i
│ │ │ -001d4540: 7320 7265 6d6f 7665 640a 2020 7061 636b  s removed.  pack
│ │ │ -001d4550: 6167 653a 0a20 2020 206e 616d 653a 2074  age:.    name: t
│ │ │ -001d4560: 616c 6b0a 2020 2020 7374 6174 653a 2061  alk.    state: a
│ │ │ -001d4570: 6273 656e 740a 2020 7461 6773 3a0a 2020  bsent.  tags:.  
│ │ │ -001d4580: 2d20 5043 492d 4453 5376 342d 322e 320a  - PCI-DSSv4-2.2.
│ │ │ -001d4590: 2020 2d20 5043 492d 4453 5376 342d 322e    - PCI-DSSv4-2.
│ │ │ -001d45a0: 322e 340a 2020 2d20 6469 7361 626c 655f  2.4.  - disable_
│ │ │ -001d45b0: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -001d45c0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -001d45d0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -001d45e0: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ -001d45f0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -001d4600: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ -001d4610: 6167 655f 7461 6c6b 5f72 656d 6f76 6564  age_talk_removed
│ │ │ +001d4180: 2041 6e73 6962 6c65 2073 6e69 7070 6574   Ansible snippet
│ │ │ +001d4190: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976   ...
< │ │ │ +001d41d0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +001d41e0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +001d41f0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +001d4200: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +001d4210: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +001d4220: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +001d4230: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +001d4270: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +001d4280: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +001d42a0: 3c74 643e 6469 7361 626c 653c 2f74 643e disable │ │ │ +001d42b0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 - name: │ │ │ +001d42d0: 456e 7375 7265 2074 616c 6b20 6973 2072 Ensure talk is r │ │ │ +001d42e0: 656d 6f76 6564 0a20 2070 6163 6b61 6765 emoved. package │ │ │ +001d42f0: 3a0a 2020 2020 6e61 6d65 3a20 7461 6c6b :. name: talk │ │ │ +001d4300: 0a20 2020 2073 7461 7465 3a20 6162 7365 . state: abse │ │ │ +001d4310: 6e74 0a20 2074 6167 733a 0a20 202d 2050 nt. tags:. - P │ │ │ +001d4320: 4349 2d44 5353 7634 2d32 2e32 0a20 202d CI-DSSv4-2.2. - │ │ │ +001d4330: 2050 4349 2d44 5353 7634 2d32 2e32 2e34 PCI-DSSv4-2.2.4 │ │ │ +001d4340: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str │ │ │ +001d4350: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co │ │ │ +001d4360: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low │ │ │ +001d4370: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. - │ │ │ +001d4380: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity. │ │ │ +001d4390: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ +001d43a0: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package │ │ │ +001d43b0: 5f74 616c 6b5f 7265 6d6f 7665 640a 3c2f _talk_removed.
Remediation Pup │ │ │ +001d4480: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ +001d4490: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ +001d4510: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +001d4530: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +001d4580: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ +001d45b0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ +001d4520: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +001d4540: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +001d4590: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ +001d45a0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ +001d45d0: 655f 7461 6c6b 0a0a 636c 6173 7320 7265  e_talk..class re
│ │ │ +001d45e0: 6d6f 7665 5f74 616c 6b20 7b0a 2020 7061  move_talk {.  pa
│ │ │ +001d45f0: 636b 6167 6520 7b20 2774 616c 6b27 3a0a  ckage { 'talk':.
│ │ │ +001d4600: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +001d4610: 2027 7075 7267 6564 272c 0a20 207d 0a7d   'purged',.  }.}
│ │ │  001d4620: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediatio │ │ │ -001d58a0: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ -001d58b0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -001d58f0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -001d5900: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -001d5910: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -001d5920: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -001d5930: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -001d5940: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -001d5950: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -001d5990: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -001d59a0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -001d59c0: 3c74 643e 6469 7361 626c 653c 2f74 643e disable │ │ │ -001d59d0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 include │ │ │ -001d59f0: 7265 6d6f 7665 5f74 656c 6e65 740a 0a63 remove_telnet..c │ │ │ -001d5a00: 6c61 7373 2072 656d 6f76 655f 7465 6c6e lass remove_teln │ │ │ -001d5a10: 6574 207b 0a20 2070 6163 6b61 6765 207b et {. package { │ │ │ -001d5a20: 2027 7465 6c6e 6574 273a 0a20 2020 2065 'telnet':. e │ │ │ -001d5a30: 6e73 7572 6520 3d26 6774 3b20 2770 7572 nsure => 'pur │ │ │ -001d5a40: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f ged',. }.}.
< │ │ │ -001d5a60: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -001d5a70: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -001d5a80: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -001d5a90: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -001d5aa0: 646d 3235 3132 3722 2074 6162 696e 6465 dm25127" tabinde │ │ │ -001d5ab0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -001d5ac0: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -001d5ad0: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -001d5ae0: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -001d5af0: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -001d5b00: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ -001d5b10: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
< │ │ │ -001d5ba0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -001d5bc0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -001d5c10: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ -001d5c40: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Ensure
│ │ │ -001d5c60: 2074 656c 6e65 7420 6973 2072 656d 6f76   telnet is remov
│ │ │ -001d5c70: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ -001d5c80: 2020 6e61 6d65 3a20 7465 6c6e 6574 0a20    name: telnet. 
│ │ │ -001d5c90: 2020 2073 7461 7465 3a20 6162 7365 6e74     state: absent
│ │ │ -001d5ca0: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ -001d5cb0: 542d 3830 302d 3137 312d 332e 312e 3133  T-800-171-3.1.13
│ │ │ -001d5cc0: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ -001d5cd0: 2e32 0a20 202d 2050 4349 2d44 5353 7634  .2.  - PCI-DSSv4
│ │ │ -001d5ce0: 2d32 2e32 2e34 0a20 202d 2064 6973 6162  -2.2.4.  - disab
│ │ │ -001d5cf0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -001d5d00: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -001d5d10: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -001d5d20: 6e0a 2020 2d20 6c6f 775f 7365 7665 7269  n.  - low_severi
│ │ │ -001d5d30: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -001d5d40: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ -001d5d50: 6167 655f 7465 6c6e 6574 5f72 656d 6f76  age_telnet_remov
│ │ │ -001d5d60: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e  ed.
│ │ │ +001d58a0: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ +001d58b0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +001d58f0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
low
Disr │ │ │ -001d5bd0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -001d5be0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -001d5c20: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ -001d5c30: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
< │ │ │ +001d5960: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +001d5980: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +001d59b0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ +001d5940: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +001d5950: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +001d5990: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +001d59a0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

- name: │ │ │ +001d59f0: 2045 6e73 7572 6520 7465 6c6e 6574 2069 Ensure telnet i │ │ │ +001d5a00: 7320 7265 6d6f 7665 640a 2020 7061 636b s removed. pack │ │ │ +001d5a10: 6167 653a 0a20 2020 206e 616d 653a 2074 age:. name: t │ │ │ +001d5a20: 656c 6e65 740a 2020 2020 7374 6174 653a elnet. state: │ │ │ +001d5a30: 2061 6273 656e 740a 2020 7461 6773 3a0a absent. tags:. │ │ │ +001d5a40: 2020 2d20 4e49 5354 2d38 3030 2d31 3731 - NIST-800-171 │ │ │ +001d5a50: 2d33 2e31 2e31 330a 2020 2d20 5043 492d -3.1.13. - PCI- │ │ │ +001d5a60: 4453 5376 342d 322e 320a 2020 2d20 5043 DSSv4-2.2. - PC │ │ │ +001d5a70: 492d 4453 5376 342d 322e 322e 340a 2020 I-DSSv4-2.2.4. │ │ │ +001d5a80: 2d20 6469 7361 626c 655f 7374 7261 7465 - disable_strate │ │ │ +001d5a90: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl │ │ │ +001d5aa0: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di │ │ │ +001d5ab0: 7372 7570 7469 6f6e 0a20 202d 206c 6f77 sruption. - low │ │ │ +001d5ac0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no │ │ │ +001d5ad0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed. │ │ │ +001d5ae0: 202d 2070 6163 6b61 6765 5f74 656c 6e65 - package_telne │ │ │ +001d5af0: 745f 7265 6d6f 7665 640a 3c2f 636f 6465 t_removed.

Rem │ │ │ +001d5bb0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ +001d5bc0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +001d5bd0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ +001d5c60: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
i
│ │ │ +001d5d00: 6e63 6c75 6465 2072 656d 6f76 655f 7465  nclude remove_te
│ │ │ +001d5d10: 6c6e 6574 0a0a 636c 6173 7320 7265 6d6f  lnet..class remo
│ │ │ +001d5d20: 7665 5f74 656c 6e65 7420 7b0a 2020 7061  ve_telnet {.  pa
│ │ │ +001d5d30: 636b 6167 6520 7b20 2774 656c 6e65 7427  ckage { 'telnet'
│ │ │ +001d5d40: 3a0a 2020 2020 656e 7375 7265 203d 2667  :.    ensure =&g
│ │ │ +001d5d50: 743b 2027 7075 7267 6564 272c 0a20 207d  t; 'purged',.  }
│ │ │ +001d5d60: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ 001d5d70: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation │ │ │ -001d6890: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -001d68a0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -001d6920: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ -001d6960: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 disable
│ │ │ +001d5c50: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +001d5c80: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +001d5c90: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +001d5cd0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +001d5ce0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexit │ │ │ -001d6930: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ -001d6950: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ -001d6980: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -001d69a0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
│ │ │ -001d69d0: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ -001d69e0: 6d6f 7665 5f72 7379 6e63 0a0a 636c 6173  move_rsync..clas
│ │ │ -001d69f0: 7320 7265 6d6f 7665 5f72 7379 6e63 207b  s remove_rsync {
│ │ │ -001d6a00: 0a20 2070 6163 6b61 6765 207b 2027 7273  .  package { 'rs
│ │ │ -001d6a10: 796e 6327 3a0a 2020 2020 656e 7375 7265  ync':.    ensure
│ │ │ -001d6a20: 203d 2667 743b 2027 7075 7267 6564 272c   => 'purged',
│ │ │ -001d6a30: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.
Remedi │ │ │ -001d6af0: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn │ │ │ -001d6b00: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -001d6bb0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -001d6c00: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ -001d6c40: 616d 653a 2045 6e73 7572 6520 7273 796e  ame: Ensure rsyn
│ │ │ -001d6c50: 6320 6973 2072 656d 6f76 6564 0a20 2070  c is removed.  p
│ │ │ -001d6c60: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65  ackage:.    name
│ │ │ -001d6c70: 3a20 7273 796e 630a 2020 2020 7374 6174  : rsync.    stat
│ │ │ -001d6c80: 653a 2061 6273 656e 740a 2020 7461 6773  e: absent.  tags
│ │ │ -001d6c90: 3a0a 2020 2d20 6469 7361 626c 655f 7374  :.  - disable_st
│ │ │ -001d6ca0: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ -001d6cb0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ -001d6cc0: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ -001d6cd0: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ -001d6ce0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ -001d6cf0: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ -001d6d00: 655f 7273 796e 635f 7265 6d6f 7665 640a  e_rsync_removed.
│ │ │ +001d6890: 416e 7369 626c 6520 736e 6970 7065 7420  Ansible snippet 
│ │ │ +001d68a0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620  ...
│ │ │ +001d6920: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ +001d69b0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +001d69c0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
Co │ │ │ -001d6b90: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -001d6bc0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -001d6be0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -001d6bf0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -001d6c10: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -001d6c20: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complexi │ │ │ +001d6930: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +001d6940: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ +001d6980: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +001d6990: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
- name: E
│ │ │ +001d69e0: 6e73 7572 6520 7273 796e 6320 6973 2072  nsure rsync is r
│ │ │ +001d69f0: 656d 6f76 6564 0a20 2070 6163 6b61 6765  emoved.  package
│ │ │ +001d6a00: 3a0a 2020 2020 6e61 6d65 3a20 7273 796e  :.    name: rsyn
│ │ │ +001d6a10: 630a 2020 2020 7374 6174 653a 2061 6273  c.    state: abs
│ │ │ +001d6a20: 656e 740a 2020 7461 6773 3a0a 2020 2d20  ent.  tags:.  - 
│ │ │ +001d6a30: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ +001d6a40: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +001d6a50: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +001d6a60: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +001d6a70: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +001d6a80: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +001d6a90: 2020 2d20 7061 636b 6167 655f 7273 796e    - package_rsyn
│ │ │ +001d6aa0: 635f 7265 6d6f 7665 640a 3c2f 636f 6465  c_removed.
Rem │ │ │ +001d6b60: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ +001d6b70: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +001d6b80: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ +001d6c10: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
i
│ │ │ +001d6cb0: 6e63 6c75 6465 2072 656d 6f76 655f 7273  nclude remove_rs
│ │ │ +001d6cc0: 796e 630a 0a63 6c61 7373 2072 656d 6f76  ync..class remov
│ │ │ +001d6cd0: 655f 7273 796e 6320 7b0a 2020 7061 636b  e_rsync {.  pack
│ │ │ +001d6ce0: 6167 6520 7b20 2772 7379 6e63 273a 0a20  age { 'rsync':. 
│ │ │ +001d6cf0: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ +001d6d00: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a  'purged',.  }.}.
│ │ │  001d6d10: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediati │ │ │ -001d8290: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -001d82a0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -001d82e0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
│ │ │ +001d6c00: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +001d6c30: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +001d6c40: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +001d6c80: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +001d6c90: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ -001d8350: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -001d8370: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -001d83a0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -001d8330: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -001d8340: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -001d8380: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -001d8390: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ -001d83e0: 2072 656d 6f76 655f 6375 7073 0a0a 636c remove_cups..cl │ │ │ -001d83f0: 6173 7320 7265 6d6f 7665 5f63 7570 7320 ass remove_cups │ │ │ -001d8400: 7b0a 2020 7061 636b 6167 6520 7b20 2763 {. package { 'c │ │ │ -001d8410: 7570 7327 3a0a 2020 2020 656e 7375 7265 ups':. ensure │ │ │ -001d8420: 203d 2667 743b 2027 7075 7267 6564 272c => 'purged', │ │ │ -001d8430: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.

Remedi │ │ │ -001d84f0: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn │ │ │ -001d8500: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -001d85b0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -001d8600: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ -001d8640: 616d 653a 2045 6e73 7572 6520 6375 7073  ame: Ensure cups
│ │ │ -001d8650: 2069 7320 7265 6d6f 7665 640a 2020 7061   is removed.  pa
│ │ │ -001d8660: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ -001d8670: 2063 7570 730a 2020 2020 7374 6174 653a   cups.    state:
│ │ │ -001d8680: 2061 6273 656e 740a 2020 7461 6773 3a0a   absent.  tags:.
│ │ │ -001d8690: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -001d86a0: 434d 2d36 2861 290a 2020 2d20 4e49 5354  CM-6(a).  - NIST
│ │ │ -001d86b0: 2d38 3030 2d35 332d 434d 2d37 2861 290a  -800-53-CM-7(a).
│ │ │ -001d86c0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -001d86d0: 434d 2d37 2862 290a 2020 2d20 6469 7361  CM-7(b).  - disa
│ │ │ -001d86e0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -001d86f0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -001d8700: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -001d8710: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74  on.  - no_reboot
│ │ │ -001d8720: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ -001d8730: 6167 655f 6375 7073 5f72 656d 6f76 6564  age_cups_removed
│ │ │ -001d8740: 0a20 202d 2075 6e6b 6e6f 776e 5f73 6576  .  - unknown_sev
│ │ │ -001d8750: 6572 6974 790a 3c2f 636f 6465 3e3c 2f70  erity.


Co │ │ │ -001d8590: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -001d85c0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -001d85e0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -001d85f0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -001d8610: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -001d8620: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
│ │ │ +001d8350: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +001d8370: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +001d83a0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +001d8330: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +001d8340: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +001d8360: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +001d8380: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +001d8390: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +001d83d0: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +001d83e0: 3a20 456e 7375 7265 2063 7570 7320 6973 : Ensure cups is │ │ │ +001d83f0: 2072 656d 6f76 6564 0a20 2070 6163 6b61 removed. packa │ │ │ +001d8400: 6765 3a0a 2020 2020 6e61 6d65 3a20 6375 ge:. name: cu │ │ │ +001d8410: 7073 0a20 2020 2073 7461 7465 3a20 6162 ps. state: ab │ │ │ +001d8420: 7365 6e74 0a20 2074 6167 733a 0a20 202d sent. tags:. - │ │ │ +001d8430: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM- │ │ │ +001d8440: 3628 6129 0a20 202d 204e 4953 542d 3830 6(a). - NIST-80 │ │ │ +001d8450: 302d 3533 2d43 4d2d 3728 6129 0a20 202d 0-53-CM-7(a). - │ │ │ +001d8460: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM- │ │ │ +001d8470: 3728 6229 0a20 202d 2064 6973 6162 6c65 7(b). - disable │ │ │ +001d8480: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo │ │ │ +001d8490: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. - │ │ │ +001d84a0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption. │ │ │ +001d84b0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ +001d84c0: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package │ │ │ +001d84d0: 5f63 7570 735f 7265 6d6f 7665 640a 2020 _cups_removed. │ │ │ +001d84e0: 2d20 756e 6b6e 6f77 6e5f 7365 7665 7269 - unknown_severi │ │ │ +001d84f0: 7479 0a3c 2f63 6f64 653e 3c2f 7072 653e ty. │ │ │ +001d8500: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ +001d85b0: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ +001d85c0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +001d8600: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +001d8610: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +001d8620: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +001d8630: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +001d8640: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +001d8650: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +001d8660: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +001d86a0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +001d86b0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +001d86d0: 3c74 643e 6469 7361 626c 653c 2f74 643e disable │ │ │ +001d86e0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 include │ │ │ +001d8700: 7265 6d6f 7665 5f63 7570 730a 0a63 6c61 remove_cups..cla │ │ │ +001d8710: 7373 2072 656d 6f76 655f 6375 7073 207b ss remove_cups { │ │ │ +001d8720: 0a20 2070 6163 6b61 6765 207b 2027 6375 . package { 'cu │ │ │ +001d8730: 7073 273a 0a20 2020 2065 6e73 7572 6520 ps':. ensure │ │ │ +001d8740: 3d26 6774 3b20 2770 7572 6765 6427 2c0a => 'purged',. │ │ │ +001d8750: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.

Remediation OS │ │ │ -001d9780: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint │ │ │ -001d9790: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -001d97a0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
.[customization
│ │ │ -001d97f0: 732e 7365 7276 6963 6573 5d0a 6d61 736b  s.services].mask
│ │ │ -001d9800: 6564 203d 205b 2263 7570 7322 5d0a 3c2f  ed = ["cups"].
Remediation Kub │ │ │ -001d98d0: 6572 6e65 7465 7320 736e 6970 7065 7420 ernetes snippet │ │ │ -001d98e0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001d9960: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -001d9970: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -001d9980: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:medium │ │ │ -001d99b0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb │ │ │ -001d99c0: 6f6f 743a 3c2f 7468 3e3c 7464 3e74 7275 oot:tru │ │ │ -001d99d0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e< │ │ │ -001d99e0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable

apiVers │ │ │ -001d9a20: 696f 6e3a 206d 6163 6869 6e65 636f 6e66 ion: machineconf │ │ │ -001d9a30: 6967 7572 6174 696f 6e2e 6f70 656e 7368 iguration.opensh │ │ │ -001d9a40: 6966 742e 696f 2f76 310a 6b69 6e64 3a20 ift.io/v1.kind: │ │ │ -001d9a50: 4d61 6368 696e 6543 6f6e 6669 670a 7370 MachineConfig.sp │ │ │ -001d9a60: 6563 3a0a 2020 636f 6e66 6967 3a0a 2020 ec:. config:. │ │ │ -001d9a70: 2020 6967 6e69 7469 6f6e 3a0a 2020 2020 ignition:. │ │ │ -001d9a80: 2020 7665 7273 696f 6e3a 2033 2e31 2e30 version: 3.1.0 │ │ │ -001d9a90: 0a20 2020 2073 7973 7465 6d64 3a0a 2020 . systemd:. │ │ │ -001d9aa0: 2020 2020 756e 6974 733a 0a20 2020 2020 units:. │ │ │ -001d9ab0: 202d 206e 616d 653a 2063 7570 732e 7365 - name: cups.se │ │ │ -001d9ac0: 7276 6963 650a 2020 2020 2020 2020 656e rvice. en │ │ │ -001d9ad0: 6162 6c65 643a 2066 616c 7365 0a20 2020 abled: false. │ │ │ -001d9ae0: 2020 2020 206d 6173 6b3a 2074 7275 650a mask: true. │ │ │ -001d9af0: 2020 2020 2020 2d20 6e61 6d65 3a20 6375 - name: cu │ │ │ -001d9b00: 7073 2e73 6f63 6b65 740a 2020 2020 2020 ps.socket. │ │ │ -001d9b10: 2020 656e 6162 6c65 643a 2066 616c 7365 enabled: false │ │ │ -001d9b20: 0a20 2020 2020 2020 206d 6173 6b3a 2074 . mask: t │ │ │ -001d9b30: 7275 650a 3c2f 636f 6465 3e3c 2f70 7265 rue.

Remediati │ │ │ -001d9bf0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -001d9c00: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -001d9c40: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -001d9cb0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -001d9cd0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -001d9d00: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -001d9d20: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -001d9c90: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -001d9ca0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -001d9ce0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -001d9cf0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ -001d9d40: 6469 7361 626c 655f 6375 7073 0a0a 636c disable_cups..cl │ │ │ -001d9d50: 6173 7320 6469 7361 626c 655f 6375 7073 ass disable_cups │ │ │ -001d9d60: 207b 0a20 2073 6572 7669 6365 207b 2763 {. service {'c │ │ │ -001d9d70: 7570 7327 3a0a 2020 2020 656e 6162 6c65 ups':. enable │ │ │ -001d9d80: 203d 2667 743b 2066 616c 7365 2c0a 2020 => false,. │ │ │ -001d9d90: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => ' │ │ │ -001d9da0: 7374 6f70 7065 6427 2c0a 2020 7d0a 7d0a stopped',. }.}. │ │ │ -001d9db0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64 Remediation A │ │ │ -001d9e70: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet . │ │ │ -001d9e80: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -001d9f00: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -001d9f10: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ -001d9f30: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ -001d9f40: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ -001d9f60: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ -001d9f80: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ -001d9fb0: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761  - name: Ga
│ │ │ -001d9fc0: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ -001d9fd0: 2066 6163 7473 0a20 2070 6163 6b61 6765   facts.  package
│ │ │ -001d9fe0: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61  _facts:.    mana
│ │ │ -001d9ff0: 6765 723a 2061 7574 6f0a 2020 7461 6773  ger: auto.  tags
│ │ │ -001da000: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ -001da010: 332d 434d 2d36 2861 290a 2020 2d20 4e49  3-CM-6(a).  - NI
│ │ │ -001da020: 5354 2d38 3030 2d35 332d 434d 2d37 2861  ST-800-53-CM-7(a
│ │ │ -001da030: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -001da040: 332d 434d 2d37 2862 290a 2020 2d20 6469  3-CM-7(b).  - di
│ │ │ -001da050: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ -001da060: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -001da070: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -001da080: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f  tion.  - no_rebo
│ │ │ -001da090: 6f74 5f6e 6565 6465 640a 2020 2d20 7365  ot_needed.  - se
│ │ │ -001da0a0: 7276 6963 655f 6375 7073 5f64 6973 6162  rvice_cups_disab
│ │ │ -001da0b0: 6c65 640a 2020 2d20 756e 6b6e 6f77 6e5f  led.  - unknown_
│ │ │ -001da0c0: 7365 7665 7269 7479 0a0a 2d20 6e61 6d65  severity..- name
│ │ │ -001da0d0: 3a20 4469 7361 626c 6520 7468 6520 4355  : Disable the CU
│ │ │ -001da0e0: 5053 2053 6572 7669 6365 202d 2043 6f6c  PS Service - Col
│ │ │ -001da0f0: 6c65 6374 2073 7973 7465 6d64 2053 6572  lect systemd Ser
│ │ │ -001da100: 7669 6365 7320 5072 6573 656e 7420 696e  vices Present in
│ │ │ -001da110: 2074 6865 2053 7973 7465 6d0a 2020 616e   the System.  an
│ │ │ -001da120: 7369 626c 652e 6275 696c 7469 6e2e 636f  sible.builtin.co
│ │ │ -001da130: 6d6d 616e 643a 2073 7973 7465 6d63 746c  mmand: systemctl
│ │ │ -001da140: 202d 7120 6c69 7374 2d75 6e69 742d 6669   -q list-unit-fi
│ │ │ -001da150: 6c65 7320 2d2d 7479 7065 2073 6572 7669  les --type servi
│ │ │ -001da160: 6365 0a20 2072 6567 6973 7465 723a 2073  ce.  register: s
│ │ │ -001da170: 6572 7669 6365 5f65 7869 7374 730a 2020  ervice_exists.  
│ │ │ -001da180: 6368 616e 6765 645f 7768 656e 3a20 6661  changed_when: fa
│ │ │ -001da190: 6c73 650a 2020 6661 696c 6564 5f77 6865  lse.  failed_whe
│ │ │ -001da1a0: 6e3a 2073 6572 7669 6365 5f65 7869 7374  n: service_exist
│ │ │ -001da1b0: 732e 7263 206e 6f74 2069 6e20 5b30 2c20  s.rc not in [0, 
│ │ │ -001da1c0: 315d 0a20 2063 6865 636b 5f6d 6f64 653a  1].  check_mode:
│ │ │ -001da1d0: 2066 616c 7365 0a20 2077 6865 6e3a 2027   false.  when: '
│ │ │ -001da1e0: 226c 696e 7578 2d62 6173 6522 2069 6e20  "linux-base" in 
│ │ │ -001da1f0: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -001da200: 636b 6167 6573 270a 2020 7461 6773 3a0a  ckages'.  tags:.
│ │ │ -001da210: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -001da220: 434d 2d36 2861 290a 2020 2d20 4e49 5354  CM-6(a).  - NIST
│ │ │ -001da230: 2d38 3030 2d35 332d 434d 2d37 2861 290a  -800-53-CM-7(a).
│ │ │ -001da240: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -001da250: 434d 2d37 2862 290a 2020 2d20 6469 7361  CM-7(b).  - disa
│ │ │ -001da260: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -001da270: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -001da280: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -001da290: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74  on.  - no_reboot
│ │ │ -001da2a0: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ -001da2b0: 6963 655f 6375 7073 5f64 6973 6162 6c65  ice_cups_disable
│ │ │ -001da2c0: 640a 2020 2d20 756e 6b6e 6f77 6e5f 7365  d.  - unknown_se
│ │ │ -001da2d0: 7665 7269 7479 0a0a 2d20 6e61 6d65 3a20  verity..- name: 
│ │ │ -001da2e0: 4469 7361 626c 6520 7468 6520 4355 5053  Disable the CUPS
│ │ │ -001da2f0: 2053 6572 7669 6365 202d 2045 6e73 7572   Service - Ensur
│ │ │ -001da300: 6520 6375 7073 2e73 6572 7669 6365 2069  e cups.service i
│ │ │ -001da310: 7320 4d61 736b 6564 0a20 2061 6e73 6962  s Masked.  ansib
│ │ │ -001da320: 6c65 2e62 7569 6c74 696e 2e73 7973 7465  le.builtin.syste
│ │ │ -001da330: 6d64 3a0a 2020 2020 6e61 6d65 3a20 6375  md:.    name: cu
│ │ │ -001da340: 7073 2e73 6572 7669 6365 0a20 2020 2073  ps.service.    s
│ │ │ -001da350: 7461 7465 3a20 7374 6f70 7065 640a 2020  tate: stopped.  
│ │ │ -001da360: 2020 656e 6162 6c65 643a 2066 616c 7365    enabled: false
│ │ │ -001da370: 0a20 2020 206d 6173 6b65 643a 2074 7275  .    masked: tru
│ │ │ -001da380: 650a 2020 7768 656e 3a0a 2020 2d20 2722  e.  when:.  - '"
│ │ │ -001da390: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ -001da3a0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ -001da3b0: 6b61 6765 7327 0a20 202d 2073 6572 7669  kages'.  - servi
│ │ │ -001da3c0: 6365 5f65 7869 7374 732e 7374 646f 7574  ce_exists.stdout
│ │ │ -001da3d0: 5f6c 696e 6573 2069 7320 7365 6172 6368  _lines is search
│ │ │ -001da3e0: 2822 6375 7073 2e73 6572 7669 6365 222c  ("cups.service",
│ │ │ -001da3f0: 206d 756c 7469 6c69 6e65 3d54 7275 6529   multiline=True)
│ │ │ -001da400: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ -001da410: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ -001da420: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -001da430: 2d43 4d2d 3728 6129 0a20 202d 204e 4953  -CM-7(a).  - NIS
│ │ │ -001da440: 542d 3830 302d 3533 2d43 4d2d 3728 6229  T-800-53-CM-7(b)
│ │ │ -001da450: 0a20 202d 2064 6973 6162 6c65 5f73 7472  .  - disable_str
│ │ │ -001da460: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ -001da470: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -001da480: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -001da490: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -001da4a0: 0a20 202d 2073 6572 7669 6365 5f63 7570  .  - service_cup
│ │ │ -001da4b0: 735f 6469 7361 626c 6564 0a20 202d 2075  s_disabled.  - u
│ │ │ -001da4c0: 6e6b 6e6f 776e 5f73 6576 6572 6974 790a  nknown_severity.
│ │ │ -001da4d0: 0a2d 206e 616d 653a 2055 6e69 7420 536f  .- name: Unit So
│ │ │ -001da4e0: 636b 6574 2045 7869 7374 7320 2d20 6375  cket Exists - cu
│ │ │ -001da4f0: 7073 2e73 6f63 6b65 740a 2020 616e 7369  ps.socket.  ansi
│ │ │ -001da500: 626c 652e 6275 696c 7469 6e2e 636f 6d6d  ble.builtin.comm
│ │ │ -001da510: 616e 643a 2073 7973 7465 6d63 746c 202d  and: systemctl -
│ │ │ -001da520: 7120 6c69 7374 2d75 6e69 742d 6669 6c65  q list-unit-file
│ │ │ -001da530: 7320 6375 7073 2e73 6f63 6b65 740a 2020  s cups.socket.  
│ │ │ -001da540: 7265 6769 7374 6572 3a20 736f 636b 6574  register: socket
│ │ │ -001da550: 5f66 696c 655f 6578 6973 7473 0a20 2063  _file_exists.  c
│ │ │ -001da560: 6861 6e67 6564 5f77 6865 6e3a 2066 616c  hanged_when: fal
│ │ │ -001da570: 7365 0a20 2066 6169 6c65 645f 7768 656e  se.  failed_when
│ │ │ -001da580: 3a20 736f 636b 6574 5f66 696c 655f 6578  : socket_file_ex
│ │ │ -001da590: 6973 7473 2e72 6320 6e6f 7420 696e 205b  ists.rc not in [
│ │ │ -001da5a0: 302c 2031 5d0a 2020 6368 6563 6b5f 6d6f  0, 1].  check_mo
│ │ │ -001da5b0: 6465 3a20 6661 6c73 650a 2020 7768 656e  de: false.  when
│ │ │ -001da5c0: 3a20 2722 6c69 6e75 782d 6261 7365 2220  : '"linux-base" 
│ │ │ -001da5d0: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -001da5e0: 2e70 6163 6b61 6765 7327 0a20 2074 6167  .packages'.  tag
│ │ │ -001da5f0: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ -001da600: 3533 2d43 4d2d 3628 6129 0a20 202d 204e  53-CM-6(a).  - N
│ │ │ -001da610: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ -001da620: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ -001da630: 3533 2d43 4d2d 3728 6229 0a20 202d 2064  53-CM-7(b).  - d
│ │ │ -001da640: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ -001da650: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -001da660: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -001da670: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562  ption.  - no_reb
│ │ │ -001da680: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ -001da690: 6572 7669 6365 5f63 7570 735f 6469 7361  ervice_cups_disa
│ │ │ -001da6a0: 626c 6564 0a20 202d 2075 6e6b 6e6f 776e  bled.  - unknown
│ │ │ -001da6b0: 5f73 6576 6572 6974 790a 0a2d 206e 616d  _severity..- nam
│ │ │ -001da6c0: 653a 2044 6973 6162 6c65 2074 6865 2043  e: Disable the C
│ │ │ -001da6d0: 5550 5320 5365 7276 6963 6520 2d20 4469  UPS Service - Di
│ │ │ -001da6e0: 7361 626c 6520 536f 636b 6574 2063 7570  sable Socket cup
│ │ │ -001da6f0: 730a 2020 616e 7369 626c 652e 6275 696c  s.  ansible.buil
│ │ │ -001da700: 7469 6e2e 7379 7374 656d 643a 0a20 2020  tin.systemd:.   
│ │ │ -001da710: 206e 616d 653a 2063 7570 732e 736f 636b   name: cups.sock
│ │ │ -001da720: 6574 0a20 2020 2065 6e61 626c 6564 3a20  et.    enabled: 
│ │ │ -001da730: 6661 6c73 650a 2020 2020 7374 6174 653a  false.    state:
│ │ │ -001da740: 2073 746f 7070 6564 0a20 2020 206d 6173   stopped.    mas
│ │ │ -001da750: 6b65 643a 2074 7275 650a 2020 7768 656e  ked: true.  when
│ │ │ -001da760: 3a0a 2020 2d20 2722 6c69 6e75 782d 6261  :.  - '"linux-ba
│ │ │ -001da770: 7365 2220 696e 2061 6e73 6962 6c65 5f66  se" in ansible_f
│ │ │ -001da780: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ -001da790: 202d 2073 6f63 6b65 745f 6669 6c65 5f65   - socket_file_e
│ │ │ -001da7a0: 7869 7374 732e 7374 646f 7574 5f6c 696e  xists.stdout_lin
│ │ │ -001da7b0: 6573 2069 7320 7365 6172 6368 2822 6375  es is search("cu
│ │ │ -001da7c0: 7073 2e73 6f63 6b65 7422 2c20 6d75 6c74  ps.socket", mult
│ │ │ -001da7d0: 696c 696e 653d 5472 7565 290a 2020 7461  iline=True).  ta
│ │ │ -001da7e0: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030  gs:.  - NIST-800
│ │ │ -001da7f0: 2d35 332d 434d 2d36 2861 290a 2020 2d20  -53-CM-6(a).  - 
│ │ │ -001da800: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ -001da810: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ -001da820: 2d35 332d 434d 2d37 2862 290a 2020 2d20  -53-CM-7(b).  - 
│ │ │ -001da830: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ -001da840: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -001da850: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -001da860: 7570 7469 6f6e 0a20 202d 206e 6f5f 7265  uption.  - no_re
│ │ │ -001da870: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -001da880: 7365 7276 6963 655f 6375 7073 5f64 6973  service_cups_dis
│ │ │ -001da890: 6162 6c65 640a 2020 2d20 756e 6b6e 6f77  abled.  - unknow
│ │ │ -001da8a0: 6e5f 7365 7665 7269 7479 0a3c 2f63 6f64  n_severity.Remediation An
│ │ │ +001d9780: 7369 626c 6520 736e 6970 7065 7420 e287  sible snippet ..
│ │ │ +001d9790: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c  .
Complexity │ │ │ +001d9820: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +001d9840: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +001d9850: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001d9860: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +001d9870: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +001d9890: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ +001d98c0: 636f 6465 3e2d 206e 616d 653a 2047 6174  code>- name: Gat
│ │ │ +001d98d0: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ +001d98e0: 6661 6374 730a 2020 7061 636b 6167 655f  facts.  package_
│ │ │ +001d98f0: 6661 6374 733a 0a20 2020 206d 616e 6167  facts:.    manag
│ │ │ +001d9900: 6572 3a20 6175 746f 0a20 2074 6167 733a  er: auto.  tags:
│ │ │ +001d9910: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +001d9920: 2d43 4d2d 3628 6129 0a20 202d 204e 4953  -CM-6(a).  - NIS
│ │ │ +001d9930: 542d 3830 302d 3533 2d43 4d2d 3728 6129  T-800-53-CM-7(a)
│ │ │ +001d9940: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +001d9950: 2d43 4d2d 3728 6229 0a20 202d 2064 6973  -CM-7(b).  - dis
│ │ │ +001d9960: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +001d9970: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +001d9980: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +001d9990: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f  ion.  - no_reboo
│ │ │ +001d99a0: 745f 6e65 6564 6564 0a20 202d 2073 6572  t_needed.  - ser
│ │ │ +001d99b0: 7669 6365 5f63 7570 735f 6469 7361 626c  vice_cups_disabl
│ │ │ +001d99c0: 6564 0a20 202d 2075 6e6b 6e6f 776e 5f73  ed.  - unknown_s
│ │ │ +001d99d0: 6576 6572 6974 790a 0a2d 206e 616d 653a  everity..- name:
│ │ │ +001d99e0: 2044 6973 6162 6c65 2074 6865 2043 5550   Disable the CUP
│ │ │ +001d99f0: 5320 5365 7276 6963 6520 2d20 436f 6c6c  S Service - Coll
│ │ │ +001d9a00: 6563 7420 7379 7374 656d 6420 5365 7276  ect systemd Serv
│ │ │ +001d9a10: 6963 6573 2050 7265 7365 6e74 2069 6e20  ices Present in 
│ │ │ +001d9a20: 7468 6520 5379 7374 656d 0a20 2061 6e73  the System.  ans
│ │ │ +001d9a30: 6962 6c65 2e62 7569 6c74 696e 2e63 6f6d  ible.builtin.com
│ │ │ +001d9a40: 6d61 6e64 3a20 7379 7374 656d 6374 6c20  mand: systemctl 
│ │ │ +001d9a50: 2d71 206c 6973 742d 756e 6974 2d66 696c  -q list-unit-fil
│ │ │ +001d9a60: 6573 202d 2d74 7970 6520 7365 7276 6963  es --type servic
│ │ │ +001d9a70: 650a 2020 7265 6769 7374 6572 3a20 7365  e.  register: se
│ │ │ +001d9a80: 7276 6963 655f 6578 6973 7473 0a20 2063  rvice_exists.  c
│ │ │ +001d9a90: 6861 6e67 6564 5f77 6865 6e3a 2066 616c  hanged_when: fal
│ │ │ +001d9aa0: 7365 0a20 2066 6169 6c65 645f 7768 656e  se.  failed_when
│ │ │ +001d9ab0: 3a20 7365 7276 6963 655f 6578 6973 7473  : service_exists
│ │ │ +001d9ac0: 2e72 6320 6e6f 7420 696e 205b 302c 2031  .rc not in [0, 1
│ │ │ +001d9ad0: 5d0a 2020 6368 6563 6b5f 6d6f 6465 3a20  ].  check_mode: 
│ │ │ +001d9ae0: 6661 6c73 650a 2020 7768 656e 3a20 2722  false.  when: '"
│ │ │ +001d9af0: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ +001d9b00: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +001d9b10: 6b61 6765 7327 0a20 2074 6167 733a 0a20  kages'.  tags:. 
│ │ │ +001d9b20: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +001d9b30: 4d2d 3628 6129 0a20 202d 204e 4953 542d  M-6(a).  - NIST-
│ │ │ +001d9b40: 3830 302d 3533 2d43 4d2d 3728 6129 0a20  800-53-CM-7(a). 
│ │ │ +001d9b50: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +001d9b60: 4d2d 3728 6229 0a20 202d 2064 6973 6162  M-7(b).  - disab
│ │ │ +001d9b70: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +001d9b80: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +001d9b90: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +001d9ba0: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f  n.  - no_reboot_
│ │ │ +001d9bb0: 6e65 6564 6564 0a20 202d 2073 6572 7669  needed.  - servi
│ │ │ +001d9bc0: 6365 5f63 7570 735f 6469 7361 626c 6564  ce_cups_disabled
│ │ │ +001d9bd0: 0a20 202d 2075 6e6b 6e6f 776e 5f73 6576  .  - unknown_sev
│ │ │ +001d9be0: 6572 6974 790a 0a2d 206e 616d 653a 2044  erity..- name: D
│ │ │ +001d9bf0: 6973 6162 6c65 2074 6865 2043 5550 5320  isable the CUPS 
│ │ │ +001d9c00: 5365 7276 6963 6520 2d20 456e 7375 7265  Service - Ensure
│ │ │ +001d9c10: 2063 7570 732e 7365 7276 6963 6520 6973   cups.service is
│ │ │ +001d9c20: 204d 6173 6b65 640a 2020 616e 7369 626c   Masked.  ansibl
│ │ │ +001d9c30: 652e 6275 696c 7469 6e2e 7379 7374 656d  e.builtin.system
│ │ │ +001d9c40: 643a 0a20 2020 206e 616d 653a 2063 7570  d:.    name: cup
│ │ │ +001d9c50: 732e 7365 7276 6963 650a 2020 2020 7374  s.service.    st
│ │ │ +001d9c60: 6174 653a 2073 746f 7070 6564 0a20 2020  ate: stopped.   
│ │ │ +001d9c70: 2065 6e61 626c 6564 3a20 6661 6c73 650a   enabled: false.
│ │ │ +001d9c80: 2020 2020 6d61 736b 6564 3a20 7472 7565      masked: true
│ │ │ +001d9c90: 0a20 2077 6865 6e3a 0a20 202d 2027 226c  .  when:.  - '"l
│ │ │ +001d9ca0: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ +001d9cb0: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +001d9cc0: 6167 6573 270a 2020 2d20 7365 7276 6963  ages'.  - servic
│ │ │ +001d9cd0: 655f 6578 6973 7473 2e73 7464 6f75 745f  e_exists.stdout_
│ │ │ +001d9ce0: 6c69 6e65 7320 6973 2073 6561 7263 6828  lines is search(
│ │ │ +001d9cf0: 2263 7570 732e 7365 7276 6963 6522 2c20  "cups.service", 
│ │ │ +001d9d00: 6d75 6c74 696c 696e 653d 5472 7565 290a  multiline=True).
│ │ │ +001d9d10: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ +001d9d20: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ +001d9d30: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001d9d40: 434d 2d37 2861 290a 2020 2d20 4e49 5354  CM-7(a).  - NIST
│ │ │ +001d9d50: 2d38 3030 2d35 332d 434d 2d37 2862 290a  -800-53-CM-7(b).
│ │ │ +001d9d60: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ +001d9d70: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +001d9d80: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +001d9d90: 6469 7372 7570 7469 6f6e 0a20 202d 206e  disruption.  - n
│ │ │ +001d9da0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +001d9db0: 2020 2d20 7365 7276 6963 655f 6375 7073    - service_cups
│ │ │ +001d9dc0: 5f64 6973 6162 6c65 640a 2020 2d20 756e  _disabled.  - un
│ │ │ +001d9dd0: 6b6e 6f77 6e5f 7365 7665 7269 7479 0a0a  known_severity..
│ │ │ +001d9de0: 2d20 6e61 6d65 3a20 556e 6974 2053 6f63  - name: Unit Soc
│ │ │ +001d9df0: 6b65 7420 4578 6973 7473 202d 2063 7570  ket Exists - cup
│ │ │ +001d9e00: 732e 736f 636b 6574 0a20 2061 6e73 6962  s.socket.  ansib
│ │ │ +001d9e10: 6c65 2e62 7569 6c74 696e 2e63 6f6d 6d61  le.builtin.comma
│ │ │ +001d9e20: 6e64 3a20 7379 7374 656d 6374 6c20 2d71  nd: systemctl -q
│ │ │ +001d9e30: 206c 6973 742d 756e 6974 2d66 696c 6573   list-unit-files
│ │ │ +001d9e40: 2063 7570 732e 736f 636b 6574 0a20 2072   cups.socket.  r
│ │ │ +001d9e50: 6567 6973 7465 723a 2073 6f63 6b65 745f  egister: socket_
│ │ │ +001d9e60: 6669 6c65 5f65 7869 7374 730a 2020 6368  file_exists.  ch
│ │ │ +001d9e70: 616e 6765 645f 7768 656e 3a20 6661 6c73  anged_when: fals
│ │ │ +001d9e80: 650a 2020 6661 696c 6564 5f77 6865 6e3a  e.  failed_when:
│ │ │ +001d9e90: 2073 6f63 6b65 745f 6669 6c65 5f65 7869   socket_file_exi
│ │ │ +001d9ea0: 7374 732e 7263 206e 6f74 2069 6e20 5b30  sts.rc not in [0
│ │ │ +001d9eb0: 2c20 315d 0a20 2063 6865 636b 5f6d 6f64  , 1].  check_mod
│ │ │ +001d9ec0: 653a 2066 616c 7365 0a20 2077 6865 6e3a  e: false.  when:
│ │ │ +001d9ed0: 2027 226c 696e 7578 2d62 6173 6522 2069   '"linux-base" i
│ │ │ +001d9ee0: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +001d9ef0: 7061 636b 6167 6573 270a 2020 7461 6773  packages'.  tags
│ │ │ +001d9f00: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ +001d9f10: 332d 434d 2d36 2861 290a 2020 2d20 4e49  3-CM-6(a).  - NI
│ │ │ +001d9f20: 5354 2d38 3030 2d35 332d 434d 2d37 2861  ST-800-53-CM-7(a
│ │ │ +001d9f30: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +001d9f40: 332d 434d 2d37 2862 290a 2020 2d20 6469  3-CM-7(b).  - di
│ │ │ +001d9f50: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ +001d9f60: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +001d9f70: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +001d9f80: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f  tion.  - no_rebo
│ │ │ +001d9f90: 6f74 5f6e 6565 6465 640a 2020 2d20 7365  ot_needed.  - se
│ │ │ +001d9fa0: 7276 6963 655f 6375 7073 5f64 6973 6162  rvice_cups_disab
│ │ │ +001d9fb0: 6c65 640a 2020 2d20 756e 6b6e 6f77 6e5f  led.  - unknown_
│ │ │ +001d9fc0: 7365 7665 7269 7479 0a0a 2d20 6e61 6d65  severity..- name
│ │ │ +001d9fd0: 3a20 4469 7361 626c 6520 7468 6520 4355  : Disable the CU
│ │ │ +001d9fe0: 5053 2053 6572 7669 6365 202d 2044 6973  PS Service - Dis
│ │ │ +001d9ff0: 6162 6c65 2053 6f63 6b65 7420 6375 7073  able Socket cups
│ │ │ +001da000: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74  .  ansible.built
│ │ │ +001da010: 696e 2e73 7973 7465 6d64 3a0a 2020 2020  in.systemd:.    
│ │ │ +001da020: 6e61 6d65 3a20 6375 7073 2e73 6f63 6b65  name: cups.socke
│ │ │ +001da030: 740a 2020 2020 656e 6162 6c65 643a 2066  t.    enabled: f
│ │ │ +001da040: 616c 7365 0a20 2020 2073 7461 7465 3a20  alse.    state: 
│ │ │ +001da050: 7374 6f70 7065 640a 2020 2020 6d61 736b  stopped.    mask
│ │ │ +001da060: 6564 3a20 7472 7565 0a20 2077 6865 6e3a  ed: true.  when:
│ │ │ +001da070: 0a20 202d 2027 226c 696e 7578 2d62 6173  .  - '"linux-bas
│ │ │ +001da080: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ +001da090: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ +001da0a0: 2d20 736f 636b 6574 5f66 696c 655f 6578  - socket_file_ex
│ │ │ +001da0b0: 6973 7473 2e73 7464 6f75 745f 6c69 6e65  ists.stdout_line
│ │ │ +001da0c0: 7320 6973 2073 6561 7263 6828 2263 7570  s is search("cup
│ │ │ +001da0d0: 732e 736f 636b 6574 222c 206d 756c 7469  s.socket", multi
│ │ │ +001da0e0: 6c69 6e65 3d54 7275 6529 0a20 2074 6167  line=True).  tag
│ │ │ +001da0f0: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +001da100: 3533 2d43 4d2d 3628 6129 0a20 202d 204e  53-CM-6(a).  - N
│ │ │ +001da110: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ +001da120: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ +001da130: 3533 2d43 4d2d 3728 6229 0a20 202d 2064  53-CM-7(b).  - d
│ │ │ +001da140: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ +001da150: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +001da160: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +001da170: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562  ption.  - no_reb
│ │ │ +001da180: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ +001da190: 6572 7669 6365 5f63 7570 735f 6469 7361  ervice_cups_disa
│ │ │ +001da1a0: 626c 6564 0a20 202d 2075 6e6b 6e6f 776e  bled.  - unknown
│ │ │ +001da1b0: 5f73 6576 6572 6974 790a 3c2f 636f 6465  _severity.
Rem │ │ │ +001da270: 6564 6961 7469 6f6e 204b 7562 6572 6e65 ediation Kuberne │ │ │ +001da280: 7465 7320 736e 6970 7065 7420 e287 b23c tes snippet ...< │ │ │ +001da290: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ +001da310: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +001da330: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973
Complexity:< │ │ │ +001da320: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +001da340: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:medium
Reboot: │ │ │ +001da370: 3c2f 7468 3e3c 7464 3e74 7275 653c 2f74 true
S │ │ │ +001da390: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ +001da3c0: 636f 6465 3e61 7069 5665 7273 696f 6e3a  code>apiVersion:
│ │ │ +001da3d0: 206d 6163 6869 6e65 636f 6e66 6967 7572   machineconfigur
│ │ │ +001da3e0: 6174 696f 6e2e 6f70 656e 7368 6966 742e  ation.openshift.
│ │ │ +001da3f0: 696f 2f76 310a 6b69 6e64 3a20 4d61 6368  io/v1.kind: Mach
│ │ │ +001da400: 696e 6543 6f6e 6669 670a 7370 6563 3a0a  ineConfig.spec:.
│ │ │ +001da410: 2020 636f 6e66 6967 3a0a 2020 2020 6967    config:.    ig
│ │ │ +001da420: 6e69 7469 6f6e 3a0a 2020 2020 2020 7665  nition:.      ve
│ │ │ +001da430: 7273 696f 6e3a 2033 2e31 2e30 0a20 2020  rsion: 3.1.0.   
│ │ │ +001da440: 2073 7973 7465 6d64 3a0a 2020 2020 2020   systemd:.      
│ │ │ +001da450: 756e 6974 733a 0a20 2020 2020 202d 206e  units:.      - n
│ │ │ +001da460: 616d 653a 2063 7570 732e 7365 7276 6963  ame: cups.servic
│ │ │ +001da470: 650a 2020 2020 2020 2020 656e 6162 6c65  e.        enable
│ │ │ +001da480: 643a 2066 616c 7365 0a20 2020 2020 2020  d: false.       
│ │ │ +001da490: 206d 6173 6b3a 2074 7275 650a 2020 2020   mask: true.    
│ │ │ +001da4a0: 2020 2d20 6e61 6d65 3a20 6375 7073 2e73    - name: cups.s
│ │ │ +001da4b0: 6f63 6b65 740a 2020 2020 2020 2020 656e  ocket.        en
│ │ │ +001da4c0: 6162 6c65 643a 2066 616c 7365 0a20 2020  abled: false.   
│ │ │ +001da4d0: 2020 2020 206d 6173 6b3a 2074 7275 650a       mask: true.
│ │ │ +001da4e0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation P │ │ │ +001da5a0: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ +001da5b0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ +001da640: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +001da660: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +001da670: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001da680: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +001da690: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +001da6b0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
include disa
│ │ │ +001da6f0: 626c 655f 6375 7073 0a0a 636c 6173 7320  ble_cups..class 
│ │ │ +001da700: 6469 7361 626c 655f 6375 7073 207b 0a20  disable_cups {. 
│ │ │ +001da710: 2073 6572 7669 6365 207b 2763 7570 7327   service {'cups'
│ │ │ +001da720: 3a0a 2020 2020 656e 6162 6c65 203d 2667  :.    enable =&g
│ │ │ +001da730: 743b 2066 616c 7365 2c0a 2020 2020 656e  t; false,.    en
│ │ │ +001da740: 7375 7265 203d 2667 743b 2027 7374 6f70  sure => 'stop
│ │ │ +001da750: 7065 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ped',.  }.}.
< │ │ │ +001da770: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +001da780: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +001da790: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +001da7a0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +001da7b0: 646d 3235 3239 3822 2074 6162 696e 6465 dm25298" tabinde │ │ │ +001da7c0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +001da7d0: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +001da7e0: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +001da7f0: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +001da800: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +001da810: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui │ │ │ +001da820: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni │ │ │ +001da830: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +001da840: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
.[
│ │ │ +001da880: 6375 7374 6f6d 697a 6174 696f 6e73 2e73  customizations.s
│ │ │ +001da890: 6572 7669 6365 735d 0a6d 6173 6b65 6420  ervices].masked 
│ │ │ +001da8a0: 3d20 5b22 6375 7073 225d 0a3c 2f63 6f64  = ["cups"].
Remediation │ │ │ -001dbec0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -001dbed0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -001dbf50: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -001dbf60: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ -001dbf80: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ -001dbf90: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ -001dbfb0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ -001dbfd0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ -001dc000: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ -001dc010: 6d6f 7665 5f73 7175 6964 0a0a 636c 6173  move_squid..clas
│ │ │ -001dc020: 7320 7265 6d6f 7665 5f73 7175 6964 207b  s remove_squid {
│ │ │ -001dc030: 0a20 2070 6163 6b61 6765 207b 2027 7371  .  package { 'sq
│ │ │ -001dc040: 7569 6427 3a0a 2020 2020 656e 7375 7265  uid':.    ensure
│ │ │ -001dc050: 203d 2667 743b 2027 7075 7267 6564 272c   => 'purged',
│ │ │ -001dc060: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.
Remedi │ │ │ -001dc120: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn │ │ │ -001dc130: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -001dc1e0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -001dc230: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ -001dc270: 616d 653a 2045 6e73 7572 6520 7371 7569  ame: Ensure squi
│ │ │ -001dc280: 6420 6973 2072 656d 6f76 6564 0a20 2070  d is removed.  p
│ │ │ -001dc290: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65  ackage:.    name
│ │ │ -001dc2a0: 3a20 7371 7569 640a 2020 2020 7374 6174  : squid.    stat
│ │ │ -001dc2b0: 653a 2061 6273 656e 740a 2020 7461 6773  e: absent.  tags
│ │ │ -001dc2c0: 3a0a 2020 2d20 6469 7361 626c 655f 7374  :.  - disable_st
│ │ │ -001dc2d0: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ -001dc2e0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ -001dc2f0: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ -001dc300: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -001dc310: 640a 2020 2d20 7061 636b 6167 655f 7371  d.  - package_sq
│ │ │ -001dc320: 7569 645f 7265 6d6f 7665 640a 2020 2d20  uid_removed.  - 
│ │ │ -001dc330: 756e 6b6e 6f77 6e5f 7365 7665 7269 7479  unknown_severity
│ │ │ +001dbec0: 416e 7369 626c 6520 736e 6970 7065 7420  Ansible snippet 
│ │ │ +001dbed0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620  ...
│ │ │ +001dbf50: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ +001dbfe0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +001dbff0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
Co │ │ │ -001dc1c0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -001dc1f0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -001dc210: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -001dc220: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -001dc240: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -001dc250: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complexi │ │ │ +001dbf60: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +001dbf70: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ +001dbfb0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +001dbfc0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
- name: E
│ │ │ +001dc010: 6e73 7572 6520 7371 7569 6420 6973 2072  nsure squid is r
│ │ │ +001dc020: 656d 6f76 6564 0a20 2070 6163 6b61 6765  emoved.  package
│ │ │ +001dc030: 3a0a 2020 2020 6e61 6d65 3a20 7371 7569  :.    name: squi
│ │ │ +001dc040: 640a 2020 2020 7374 6174 653a 2061 6273  d.    state: abs
│ │ │ +001dc050: 656e 740a 2020 7461 6773 3a0a 2020 2d20  ent.  tags:.  - 
│ │ │ +001dc060: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ +001dc070: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +001dc080: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +001dc090: 7570 7469 6f6e 0a20 202d 206e 6f5f 7265  uption.  - no_re
│ │ │ +001dc0a0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +001dc0b0: 7061 636b 6167 655f 7371 7569 645f 7265  package_squid_re
│ │ │ +001dc0c0: 6d6f 7665 640a 2020 2d20 756e 6b6e 6f77  moved.  - unknow
│ │ │ +001dc0d0: 6e5f 7365 7665 7269 7479 0a3c 2f63 6f64  n_severity.
Re │ │ │ +001dc190: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ +001dc1a0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +001dc1b0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ +001dc280: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +001dc290: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +001dc2e0: 696e 636c 7564 6520 7265 6d6f 7665 5f73  include remove_s
│ │ │ +001dc2f0: 7175 6964 0a0a 636c 6173 7320 7265 6d6f  quid..class remo
│ │ │ +001dc300: 7665 5f73 7175 6964 207b 0a20 2070 6163  ve_squid {.  pac
│ │ │ +001dc310: 6b61 6765 207b 2027 7371 7569 6427 3a0a  kage { 'squid':.
│ │ │ +001dc320: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +001dc330: 2027 7075 7267 6564 272c 0a20 207d 0a7d   'purged',.  }.}
│ │ │  001dc340: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediat │ │ │ -001dd790: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ -001dd7a0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
Complexity:low
Disrup │ │ │ +001dc260: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +001dc270: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +001dc2b0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +001dc2c0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -001dd850: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -001dd870: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -001dd8a0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -001dd830: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -001dd840: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -001dd860: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -001dd880: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -001dd890: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -001dd8d0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ -001dd8e0: 6520 7265 6d6f 7665 5f73 616d 6261 0a0a e remove_samba.. │ │ │ -001dd8f0: 636c 6173 7320 7265 6d6f 7665 5f73 616d class remove_sam │ │ │ -001dd900: 6261 207b 0a20 2070 6163 6b61 6765 207b ba {. package { │ │ │ -001dd910: 2027 7361 6d62 6127 3a0a 2020 2020 656e 'samba':. en │ │ │ -001dd920: 7375 7265 203d 2667 743b 2027 7075 7267 sure => 'purg │ │ │ -001dd930: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Re │ │ │ -001dd9f0: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -001dda00: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
Complexity: │ │ │ -001ddae0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -001ddaf0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
- name: Ensure 
│ │ │ -001ddb50: 7361 6d62 6120 6973 2072 656d 6f76 6564  samba is removed
│ │ │ -001ddb60: 0a20 2070 6163 6b61 6765 3a0a 2020 2020  .  package:.    
│ │ │ -001ddb70: 6e61 6d65 3a20 7361 6d62 610a 2020 2020  name: samba.    
│ │ │ -001ddb80: 7374 6174 653a 2061 6273 656e 740a 2020  state: absent.  
│ │ │ -001ddb90: 7461 6773 3a0a 2020 2d20 6469 7361 626c  tags:.  - disabl
│ │ │ -001ddba0: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ -001ddbb0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ -001ddbc0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -001ddbd0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ -001ddbe0: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ -001ddbf0: 655f 7361 6d62 615f 7265 6d6f 7665 640a  e_samba_removed.
│ │ │ -001ddc00: 2020 2d20 756e 6b6e 6f77 6e5f 7365 7665    - unknown_seve
│ │ │ -001ddc10: 7269 7479 0a3c 2f63 6f64 653e 3c2f 7072  rity.
< │ │ │ +001dd7b0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001dd7c0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001dd7d0: 7365 2220 6964 3d22 6964 6d32 3533 3430 se" id="idm25340 │ │ │ +001dd7e0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
low
Disru │ │ │ -001ddac0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -001ddad0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -001ddb10: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ -001ddb20: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Comp │ │ │ +001dd830: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +001dd840: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +001dd860: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +001dd880: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +001dd890: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +001dd8d0: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ +001dd8e0: 653a 2045 6e73 7572 6520 7361 6d62 6120  e: Ensure samba 
│ │ │ +001dd8f0: 6973 2072 656d 6f76 6564 0a20 2070 6163  is removed.  pac
│ │ │ +001dd900: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20  kage:.    name: 
│ │ │ +001dd910: 7361 6d62 610a 2020 2020 7374 6174 653a  samba.    state:
│ │ │ +001dd920: 2061 6273 656e 740a 2020 7461 6773 3a0a   absent.  tags:.
│ │ │ +001dd930: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ +001dd940: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +001dd950: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +001dd960: 6469 7372 7570 7469 6f6e 0a20 202d 206e  disruption.  - n
│ │ │ +001dd970: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +001dd980: 2020 2d20 7061 636b 6167 655f 7361 6d62    - package_samb
│ │ │ +001dd990: 615f 7265 6d6f 7665 640a 2020 2d20 756e  a_removed.  - un
│ │ │ +001dd9a0: 6b6e 6f77 6e5f 7365 7665 7269 7479 0a3c  known_severity.<
│ │ │ +001dd9b0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ +001dda70: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ +001dda80: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ +001ddb10: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +001ddb30: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +001ddb50: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +001ddb80: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +001ddb90: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
include remo
│ │ │ +001ddbc0: 7665 5f73 616d 6261 0a0a 636c 6173 7320  ve_samba..class 
│ │ │ +001ddbd0: 7265 6d6f 7665 5f73 616d 6261 207b 0a20  remove_samba {. 
│ │ │ +001ddbe0: 2070 6163 6b61 6765 207b 2027 7361 6d62   package { 'samb
│ │ │ +001ddbf0: 6127 3a0a 2020 2020 656e 7375 7265 203d  a':.    ensure =
│ │ │ +001ddc00: 2667 743b 2027 7075 7267 6564 272c 0a20  > 'purged',. 
│ │ │ +001ddc10: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.
Remediation Pup │ │ │ -001df040: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ -001df050: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -001df0d0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -001df0f0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -001df140: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -001df170: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -001df0e0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -001df100: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -001df150: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -001df160: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ -001df190: 655f 736e 6d70 0a0a 636c 6173 7320 7265  e_snmp..class re
│ │ │ -001df1a0: 6d6f 7665 5f73 6e6d 7020 7b0a 2020 7061  move_snmp {.  pa
│ │ │ -001df1b0: 636b 6167 6520 7b20 2773 6e6d 7027 3a0a  ckage { 'snmp':.
│ │ │ -001df1c0: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -001df1d0: 2027 7075 7267 6564 272c 0a20 207d 0a7d   'purged',.  }.}
│ │ │ -001df1e0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -001df2a0: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -001df2b0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001df330: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -001df340: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -001df350: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -001df390: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -001df3a0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -001df3c0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -001df3d0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: E
│ │ │ -001df3f0: 6e73 7572 6520 736e 6d70 2069 7320 7265  nsure snmp is re
│ │ │ -001df400: 6d6f 7665 640a 2020 7061 636b 6167 653a  moved.  package:
│ │ │ -001df410: 0a20 2020 206e 616d 653a 2073 6e6d 700a  .    name: snmp.
│ │ │ -001df420: 2020 2020 7374 6174 653a 2061 6273 656e      state: absen
│ │ │ -001df430: 740a 2020 7461 6773 3a0a 2020 2d20 5043  t.  tags:.  - PC
│ │ │ -001df440: 492d 4453 5376 342d 322e 320a 2020 2d20  I-DSSv4-2.2.  - 
│ │ │ -001df450: 5043 492d 4453 5376 342d 322e 322e 340a  PCI-DSSv4-2.2.4.
│ │ │ -001df460: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ -001df470: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ -001df480: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -001df490: 6469 7372 7570 7469 6f6e 0a20 202d 206e  disruption.  - n
│ │ │ -001df4a0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -001df4b0: 2020 2d20 7061 636b 6167 655f 6e65 742d    - package_net-
│ │ │ -001df4c0: 736e 6d70 5f72 656d 6f76 6564 0a20 202d  snmp_removed.  -
│ │ │ -001df4d0: 2075 6e6b 6e6f 776e 5f73 6576 6572 6974   unknown_severit
│ │ │ -001df4e0: 790a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  y.
< │ │ │ +001df030: 3e52 656d 6564 6961 7469 6f6e 2041 6e73 >Remediation Ans │ │ │ +001df040: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ +001df050: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ +001df0e0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +001df100: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +001df120: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +001df150: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +001df160: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Ensu
│ │ │ +001df190: 7265 2073 6e6d 7020 6973 2072 656d 6f76  re snmp is remov
│ │ │ +001df1a0: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ +001df1b0: 2020 6e61 6d65 3a20 736e 6d70 0a20 2020    name: snmp.   
│ │ │ +001df1c0: 2073 7461 7465 3a20 6162 7365 6e74 0a20   state: absent. 
│ │ │ +001df1d0: 2074 6167 733a 0a20 202d 2050 4349 2d44   tags:.  - PCI-D
│ │ │ +001df1e0: 5353 7634 2d32 2e32 0a20 202d 2050 4349  SSv4-2.2.  - PCI
│ │ │ +001df1f0: 2d44 5353 7634 2d32 2e32 2e34 0a20 202d  -DSSv4-2.2.4.  -
│ │ │ +001df200: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ +001df210: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +001df220: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +001df230: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72  ruption.  - no_r
│ │ │ +001df240: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +001df250: 2070 6163 6b61 6765 5f6e 6574 2d73 6e6d   package_net-snm
│ │ │ +001df260: 705f 7265 6d6f 7665 640a 2020 2d20 756e  p_removed.  - un
│ │ │ +001df270: 6b6e 6f77 6e5f 7365 7665 7269 7479 0a3c  known_severity.<
│ │ │ +001df280: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ +001df340: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ +001df350: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ +001df3e0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +001df400: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +001df420: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +001df450: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +001df460: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
include remo
│ │ │ +001df490: 7665 5f73 6e6d 700a 0a63 6c61 7373 2072  ve_snmp..class r
│ │ │ +001df4a0: 656d 6f76 655f 736e 6d70 207b 0a20 2070  emove_snmp {.  p
│ │ │ +001df4b0: 6163 6b61 6765 207b 2027 736e 6d70 273a  ackage { 'snmp':
│ │ │ +001df4c0: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ +001df4d0: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a  ; 'purged',.  }.
│ │ │ +001df4e0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ 001df4f0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation Pu │ │ │ -00212310: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ -00212320: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ -00212360: 3c63 6f64 653e 696e 636c 7564 6520 7373  include ss
│ │ │ -00212370: 685f 7072 6976 6174 655f 6b65 795f 7065  h_private_key_pe
│ │ │ -00212380: 726d 730a 0a63 6c61 7373 2073 7368 5f70  rms..class ssh_p
│ │ │ -00212390: 7269 7661 7465 5f6b 6579 5f70 6572 6d73  rivate_key_perms
│ │ │ -002123a0: 207b 0a20 2065 7865 6320 7b20 2773 7368   {.  exec { 'ssh
│ │ │ -002123b0: 645f 7072 6976 5f6b 6579 273a 0a20 2020  d_priv_key':.   
│ │ │ -002123c0: 2063 6f6d 6d61 6e64 203d 2667 743b 2022   command => "
│ │ │ -002123d0: 6368 6d6f 6420 3036 3430 202f 6574 632f  chmod 0640 /etc/
│ │ │ -002123e0: 7373 682f 2a5f 6b65 7922 2c0a 2020 2020  ssh/*_key",.    
│ │ │ -002123f0: 7061 7468 2020 2020 3d26 6774 3b20 272f  path    => '/
│ │ │ -00212400: 6269 6e3a 2f75 7372 2f62 696e 270a 2020  bin:/usr/bin'.  
│ │ │ -00212410: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ -002124d0: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -002124e0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -00212590: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -002125b0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -002125e0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -00212570: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -00212580: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -002125a0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -002125c0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -002125d0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:configure< │ │ │ -00212600: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -00212620: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ -00212630: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ -00212640: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ -00212650: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ -00212660: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ -00212670: 2d38 3030 2d31 3731 2d33 2e31 2e31 330a  -800-171-3.1.13.
│ │ │ -00212680: 2020 2d20 4e49 5354 2d38 3030 2d31 3731    - NIST-800-171
│ │ │ -00212690: 2d33 2e31 332e 3130 0a20 202d 204e 4953  -3.13.10.  - NIS
│ │ │ -002126a0: 542d 3830 302d 3533 2d41 432d 3137 2861  T-800-53-AC-17(a
│ │ │ -002126b0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -002126c0: 332d 4143 2d36 2831 290a 2020 2d20 4e49  3-AC-6(1).  - NI
│ │ │ -002126d0: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ -002126e0: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ -002126f0: 712d 322e 322e 340a 2020 2d20 5043 492d  q-2.2.4.  - PCI-
│ │ │ -00212700: 4453 5376 342d 322e 320a 2020 2d20 5043  DSSv4-2.2.  - PC
│ │ │ -00212710: 492d 4453 5376 342d 322e 322e 360a 2020  I-DSSv4-2.2.6.  
│ │ │ -00212720: 2d20 636f 6e66 6967 7572 655f 7374 7261  - configure_stra
│ │ │ -00212730: 7465 6779 0a20 202d 2066 696c 655f 7065  tegy.  - file_pe
│ │ │ -00212740: 726d 6973 7369 6f6e 735f 7373 6864 5f70  rmissions_sshd_p
│ │ │ -00212750: 7269 7661 7465 5f6b 6579 0a20 202d 206c  rivate_key.  - l
│ │ │ -00212760: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ -00212770: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -00212780: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ -00212790: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -002127a0: 6f74 5f6e 6565 6465 640a 0a2d 206e 616d  ot_needed..- nam
│ │ │ -002127b0: 653a 2046 696e 6420 726f 6f74 3a72 6f6f  e: Find root:roo
│ │ │ -002127c0: 742d 6f77 6e65 6420 6b65 7973 0a20 2061  t-owned keys.  a
│ │ │ -002127d0: 6e73 6962 6c65 2e62 7569 6c74 696e 2e63  nsible.builtin.c
│ │ │ -002127e0: 6f6d 6d61 6e64 3a20 6669 6e64 202d 4820  ommand: find -H 
│ │ │ -002127f0: 2f65 7463 2f73 7368 2f20 2d6d 6178 6465  /etc/ssh/ -maxde
│ │ │ -00212800: 7074 6820 3120 2d75 7365 7220 726f 6f74  pth 1 -user root
│ │ │ -00212810: 202d 7265 6765 7820 222e 2a5f 6b65 7924   -regex ".*_key$
│ │ │ -00212820: 220a 2020 2020 2d74 7970 6520 6620 2d67  ".    -type f -g
│ │ │ -00212830: 726f 7570 2072 6f6f 7420 2d70 6572 6d20  roup root -perm 
│ │ │ -00212840: 2f75 2b78 732c 672b 7877 7273 2c6f 2b78  /u+xs,g+xwrs,o+x
│ │ │ -00212850: 7772 740a 2020 7265 6769 7374 6572 3a20  wrt.  register: 
│ │ │ -00212860: 726f 6f74 5f6f 776e 6564 5f6b 6579 730a  root_owned_keys.
│ │ │ -00212870: 2020 6368 616e 6765 645f 7768 656e 3a20    changed_when: 
│ │ │ -00212880: 6661 6c73 650a 2020 6661 696c 6564 5f77  false.  failed_w
│ │ │ -00212890: 6865 6e3a 2066 616c 7365 0a20 2063 6865  hen: false.  che
│ │ │ -002128a0: 636b 5f6d 6f64 653a 2066 616c 7365 0a20  ck_mode: false. 
│ │ │ -002128b0: 2077 6865 6e3a 2027 226c 696e 7578 2d62   when: '"linux-b
│ │ │ -002128c0: 6173 6522 2069 6e20 616e 7369 626c 655f  ase" in ansible_
│ │ │ -002128d0: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -002128e0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ -002128f0: 2d38 3030 2d31 3731 2d33 2e31 2e31 330a  -800-171-3.1.13.
│ │ │ -00212900: 2020 2d20 4e49 5354 2d38 3030 2d31 3731    - NIST-800-171
│ │ │ -00212910: 2d33 2e31 332e 3130 0a20 202d 204e 4953  -3.13.10.  - NIS
│ │ │ -00212920: 542d 3830 302d 3533 2d41 432d 3137 2861  T-800-53-AC-17(a
│ │ │ -00212930: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -00212940: 332d 4143 2d36 2831 290a 2020 2d20 4e49  3-AC-6(1).  - NI
│ │ │ -00212950: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ -00212960: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ -00212970: 712d 322e 322e 340a 2020 2d20 5043 492d  q-2.2.4.  - PCI-
│ │ │ -00212980: 4453 5376 342d 322e 320a 2020 2d20 5043  DSSv4-2.2.  - PC
│ │ │ -00212990: 492d 4453 5376 342d 322e 322e 360a 2020  I-DSSv4-2.2.6.  
│ │ │ -002129a0: 2d20 636f 6e66 6967 7572 655f 7374 7261  - configure_stra
│ │ │ -002129b0: 7465 6779 0a20 202d 2066 696c 655f 7065  tegy.  - file_pe
│ │ │ -002129c0: 726d 6973 7369 6f6e 735f 7373 6864 5f70  rmissions_sshd_p
│ │ │ -002129d0: 7269 7661 7465 5f6b 6579 0a20 202d 206c  rivate_key.  - l
│ │ │ -002129e0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ -002129f0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -00212a00: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ -00212a10: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -00212a20: 6f74 5f6e 6565 6465 640a 0a2d 206e 616d  ot_needed..- nam
│ │ │ -00212a30: 653a 2053 6574 2070 6572 6d69 7373 696f  e: Set permissio
│ │ │ -00212a40: 6e73 2066 6f72 2072 6f6f 743a 726f 6f74  ns for root:root
│ │ │ -00212a50: 2d6f 776e 6564 206b 6579 730a 2020 616e  -owned keys.  an
│ │ │ -00212a60: 7369 626c 652e 6275 696c 7469 6e2e 6669  sible.builtin.fi
│ │ │ -00212a70: 6c65 3a0a 2020 2020 7061 7468 3a20 277b  le:.    path: '{
│ │ │ -00212a80: 7b20 6974 656d 207d 7d27 0a20 2020 206d  { item }}'.    m
│ │ │ -00212a90: 6f64 653a 2075 2d78 732c 672d 7877 7273  ode: u-xs,g-xwrs
│ │ │ -00212aa0: 2c6f 2d78 7772 740a 2020 2020 7374 6174  ,o-xwrt.    stat
│ │ │ -00212ab0: 653a 2066 696c 650a 2020 7769 7468 5f69  e: file.  with_i
│ │ │ -00212ac0: 7465 6d73 3a0a 2020 2d20 277b 7b20 726f  tems:.  - '{{ ro
│ │ │ -00212ad0: 6f74 5f6f 776e 6564 5f6b 6579 732e 7374  ot_owned_keys.st
│ │ │ -00212ae0: 646f 7574 5f6c 696e 6573 207d 7d27 0a20  dout_lines }}'. 
│ │ │ -00212af0: 2077 6865 6e3a 2027 226c 696e 7578 2d62   when: '"linux-b
│ │ │ -00212b00: 6173 6522 2069 6e20 616e 7369 626c 655f  ase" in ansible_
│ │ │ -00212b10: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -00212b20: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ -00212b30: 2d38 3030 2d31 3731 2d33 2e31 2e31 330a  -800-171-3.1.13.
│ │ │ -00212b40: 2020 2d20 4e49 5354 2d38 3030 2d31 3731    - NIST-800-171
│ │ │ -00212b50: 2d33 2e31 332e 3130 0a20 202d 204e 4953  -3.13.10.  - NIS
│ │ │ -00212b60: 542d 3830 302d 3533 2d41 432d 3137 2861  T-800-53-AC-17(a
│ │ │ -00212b70: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -00212b80: 332d 4143 2d36 2831 290a 2020 2d20 4e49  3-AC-6(1).  - NI
│ │ │ -00212b90: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ -00212ba0: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ -00212bb0: 712d 322e 322e 340a 2020 2d20 5043 492d  q-2.2.4.  - PCI-
│ │ │ -00212bc0: 4453 5376 342d 322e 320a 2020 2d20 5043  DSSv4-2.2.  - PC
│ │ │ -00212bd0: 492d 4453 5376 342d 322e 322e 360a 2020  I-DSSv4-2.2.6.  
│ │ │ -00212be0: 2d20 636f 6e66 6967 7572 655f 7374 7261  - configure_stra
│ │ │ -00212bf0: 7465 6779 0a20 202d 2066 696c 655f 7065  tegy.  - file_pe
│ │ │ -00212c00: 726d 6973 7369 6f6e 735f 7373 6864 5f70  rmissions_sshd_p
│ │ │ -00212c10: 7269 7661 7465 5f6b 6579 0a20 202d 206c  rivate_key.  - l
│ │ │ -00212c20: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ -00212c30: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -00212c40: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ -00212c50: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -00212c60: 6f74 5f6e 6565 6465 640a 3c2f 636f 6465  ot_needed.Remediation An
│ │ │ +00212310: 7369 626c 6520 736e 6970 7065 7420 e287  sible snippet ..
│ │ │ +00212320: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c  .
Complexity │ │ │ +002123b0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +002123d0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +002123e0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +002123f0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +00212400: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +00212420: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:configure< │ │ │ +00212440: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ +00212460: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ +00212470: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ +00212480: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ +00212490: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ +002124a0: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +002124b0: 3137 312d 332e 312e 3133 0a20 202d 204e  171-3.1.13.  - N
│ │ │ +002124c0: 4953 542d 3830 302d 3137 312d 332e 3133  IST-800-171-3.13
│ │ │ +002124d0: 2e31 300a 2020 2d20 4e49 5354 2d38 3030  .10.  - NIST-800
│ │ │ +002124e0: 2d35 332d 4143 2d31 3728 6129 0a20 202d  -53-AC-17(a).  -
│ │ │ +002124f0: 204e 4953 542d 3830 302d 3533 2d41 432d   NIST-800-53-AC-
│ │ │ +00212500: 3628 3129 0a20 202d 204e 4953 542d 3830  6(1).  - NIST-80
│ │ │ +00212510: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ +00212520: 2050 4349 2d44 5353 2d52 6571 2d32 2e32   PCI-DSS-Req-2.2
│ │ │ +00212530: 2e34 0a20 202d 2050 4349 2d44 5353 7634  .4.  - PCI-DSSv4
│ │ │ +00212540: 2d32 2e32 0a20 202d 2050 4349 2d44 5353  -2.2.  - PCI-DSS
│ │ │ +00212550: 7634 2d32 2e32 2e36 0a20 202d 2063 6f6e  v4-2.2.6.  - con
│ │ │ +00212560: 6669 6775 7265 5f73 7472 6174 6567 790a  figure_strategy.
│ │ │ +00212570: 2020 2d20 6669 6c65 5f70 6572 6d69 7373    - file_permiss
│ │ │ +00212580: 696f 6e73 5f73 7368 645f 7072 6976 6174  ions_sshd_privat
│ │ │ +00212590: 655f 6b65 790a 2020 2d20 6c6f 775f 636f  e_key.  - low_co
│ │ │ +002125a0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +002125b0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +002125c0: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ +002125d0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ +002125e0: 6564 6564 0a0a 2d20 6e61 6d65 3a20 4669  eded..- name: Fi
│ │ │ +002125f0: 6e64 2072 6f6f 743a 726f 6f74 2d6f 776e  nd root:root-own
│ │ │ +00212600: 6564 206b 6579 730a 2020 616e 7369 626c  ed keys.  ansibl
│ │ │ +00212610: 652e 6275 696c 7469 6e2e 636f 6d6d 616e  e.builtin.comman
│ │ │ +00212620: 643a 2066 696e 6420 2d48 202f 6574 632f  d: find -H /etc/
│ │ │ +00212630: 7373 682f 202d 6d61 7864 6570 7468 2031  ssh/ -maxdepth 1
│ │ │ +00212640: 202d 7573 6572 2072 6f6f 7420 2d72 6567   -user root -reg
│ │ │ +00212650: 6578 2022 2e2a 5f6b 6579 2422 0a20 2020  ex ".*_key$".   
│ │ │ +00212660: 202d 7479 7065 2066 202d 6772 6f75 7020   -type f -group 
│ │ │ +00212670: 726f 6f74 202d 7065 726d 202f 752b 7873  root -perm /u+xs
│ │ │ +00212680: 2c67 2b78 7772 732c 6f2b 7877 7274 0a20  ,g+xwrs,o+xwrt. 
│ │ │ +00212690: 2072 6567 6973 7465 723a 2072 6f6f 745f   register: root_
│ │ │ +002126a0: 6f77 6e65 645f 6b65 7973 0a20 2063 6861  owned_keys.  cha
│ │ │ +002126b0: 6e67 6564 5f77 6865 6e3a 2066 616c 7365  nged_when: false
│ │ │ +002126c0: 0a20 2066 6169 6c65 645f 7768 656e 3a20  .  failed_when: 
│ │ │ +002126d0: 6661 6c73 650a 2020 6368 6563 6b5f 6d6f  false.  check_mo
│ │ │ +002126e0: 6465 3a20 6661 6c73 650a 2020 7768 656e  de: false.  when
│ │ │ +002126f0: 3a20 2722 6c69 6e75 782d 6261 7365 2220  : '"linux-base" 
│ │ │ +00212700: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +00212710: 2e70 6163 6b61 6765 7327 0a20 2074 6167  .packages'.  tag
│ │ │ +00212720: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +00212730: 3137 312d 332e 312e 3133 0a20 202d 204e  171-3.1.13.  - N
│ │ │ +00212740: 4953 542d 3830 302d 3137 312d 332e 3133  IST-800-171-3.13
│ │ │ +00212750: 2e31 300a 2020 2d20 4e49 5354 2d38 3030  .10.  - NIST-800
│ │ │ +00212760: 2d35 332d 4143 2d31 3728 6129 0a20 202d  -53-AC-17(a).  -
│ │ │ +00212770: 204e 4953 542d 3830 302d 3533 2d41 432d   NIST-800-53-AC-
│ │ │ +00212780: 3628 3129 0a20 202d 204e 4953 542d 3830  6(1).  - NIST-80
│ │ │ +00212790: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ +002127a0: 2050 4349 2d44 5353 2d52 6571 2d32 2e32   PCI-DSS-Req-2.2
│ │ │ +002127b0: 2e34 0a20 202d 2050 4349 2d44 5353 7634  .4.  - PCI-DSSv4
│ │ │ +002127c0: 2d32 2e32 0a20 202d 2050 4349 2d44 5353  -2.2.  - PCI-DSS
│ │ │ +002127d0: 7634 2d32 2e32 2e36 0a20 202d 2063 6f6e  v4-2.2.6.  - con
│ │ │ +002127e0: 6669 6775 7265 5f73 7472 6174 6567 790a  figure_strategy.
│ │ │ +002127f0: 2020 2d20 6669 6c65 5f70 6572 6d69 7373    - file_permiss
│ │ │ +00212800: 696f 6e73 5f73 7368 645f 7072 6976 6174  ions_sshd_privat
│ │ │ +00212810: 655f 6b65 790a 2020 2d20 6c6f 775f 636f  e_key.  - low_co
│ │ │ +00212820: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +00212830: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +00212840: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ +00212850: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ +00212860: 6564 6564 0a0a 2d20 6e61 6d65 3a20 5365  eded..- name: Se
│ │ │ +00212870: 7420 7065 726d 6973 7369 6f6e 7320 666f  t permissions fo
│ │ │ +00212880: 7220 726f 6f74 3a72 6f6f 742d 6f77 6e65  r root:root-owne
│ │ │ +00212890: 6420 6b65 7973 0a20 2061 6e73 6962 6c65  d keys.  ansible
│ │ │ +002128a0: 2e62 7569 6c74 696e 2e66 696c 653a 0a20  .builtin.file:. 
│ │ │ +002128b0: 2020 2070 6174 683a 2027 7b7b 2069 7465     path: '{{ ite
│ │ │ +002128c0: 6d20 7d7d 270a 2020 2020 6d6f 6465 3a20  m }}'.    mode: 
│ │ │ +002128d0: 752d 7873 2c67 2d78 7772 732c 6f2d 7877  u-xs,g-xwrs,o-xw
│ │ │ +002128e0: 7274 0a20 2020 2073 7461 7465 3a20 6669  rt.    state: fi
│ │ │ +002128f0: 6c65 0a20 2077 6974 685f 6974 656d 733a  le.  with_items:
│ │ │ +00212900: 0a20 202d 2027 7b7b 2072 6f6f 745f 6f77  .  - '{{ root_ow
│ │ │ +00212910: 6e65 645f 6b65 7973 2e73 7464 6f75 745f  ned_keys.stdout_
│ │ │ +00212920: 6c69 6e65 7320 7d7d 270a 2020 7768 656e  lines }}'.  when
│ │ │ +00212930: 3a20 2722 6c69 6e75 782d 6261 7365 2220  : '"linux-base" 
│ │ │ +00212940: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +00212950: 2e70 6163 6b61 6765 7327 0a20 2074 6167  .packages'.  tag
│ │ │ +00212960: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +00212970: 3137 312d 332e 312e 3133 0a20 202d 204e  171-3.1.13.  - N
│ │ │ +00212980: 4953 542d 3830 302d 3137 312d 332e 3133  IST-800-171-3.13
│ │ │ +00212990: 2e31 300a 2020 2d20 4e49 5354 2d38 3030  .10.  - NIST-800
│ │ │ +002129a0: 2d35 332d 4143 2d31 3728 6129 0a20 202d  -53-AC-17(a).  -
│ │ │ +002129b0: 204e 4953 542d 3830 302d 3533 2d41 432d   NIST-800-53-AC-
│ │ │ +002129c0: 3628 3129 0a20 202d 204e 4953 542d 3830  6(1).  - NIST-80
│ │ │ +002129d0: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ +002129e0: 2050 4349 2d44 5353 2d52 6571 2d32 2e32   PCI-DSS-Req-2.2
│ │ │ +002129f0: 2e34 0a20 202d 2050 4349 2d44 5353 7634  .4.  - PCI-DSSv4
│ │ │ +00212a00: 2d32 2e32 0a20 202d 2050 4349 2d44 5353  -2.2.  - PCI-DSS
│ │ │ +00212a10: 7634 2d32 2e32 2e36 0a20 202d 2063 6f6e  v4-2.2.6.  - con
│ │ │ +00212a20: 6669 6775 7265 5f73 7472 6174 6567 790a  figure_strategy.
│ │ │ +00212a30: 2020 2d20 6669 6c65 5f70 6572 6d69 7373    - file_permiss
│ │ │ +00212a40: 696f 6e73 5f73 7368 645f 7072 6976 6174  ions_sshd_privat
│ │ │ +00212a50: 655f 6b65 790a 2020 2d20 6c6f 775f 636f  e_key.  - low_co
│ │ │ +00212a60: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +00212a70: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +00212a80: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ +00212a90: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ +00212aa0: 6564 6564 0a3c 2f63 6f64 653e 3c2f 7072  eded.
Remediat │ │ │ +00212b60: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ +00212b70: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
incl
│ │ │ +00212bc0: 7564 6520 7373 685f 7072 6976 6174 655f  ude ssh_private_
│ │ │ +00212bd0: 6b65 795f 7065 726d 730a 0a63 6c61 7373  key_perms..class
│ │ │ +00212be0: 2073 7368 5f70 7269 7661 7465 5f6b 6579   ssh_private_key
│ │ │ +00212bf0: 5f70 6572 6d73 207b 0a20 2065 7865 6320  _perms {.  exec 
│ │ │ +00212c00: 7b20 2773 7368 645f 7072 6976 5f6b 6579  { 'sshd_priv_key
│ │ │ +00212c10: 273a 0a20 2020 2063 6f6d 6d61 6e64 203d  ':.    command =
│ │ │ +00212c20: 2667 743b 2022 6368 6d6f 6420 3036 3430  > "chmod 0640
│ │ │ +00212c30: 202f 6574 632f 7373 682f 2a5f 6b65 7922   /etc/ssh/*_key"
│ │ │ +00212c40: 2c0a 2020 2020 7061 7468 2020 2020 3d26  ,.    path    =&
│ │ │ +00212c50: 6774 3b20 272f 6269 6e3a 2f75 7372 2f62  gt; '/bin:/usr/b
│ │ │ +00212c60: 696e 270a 2020 7d0a 7d0a 3c2f 636f 6465  in'.  }.}.
Remediati │ │ │ -00214140: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -00214150: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -00214190: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -002141a0: 6465 2073 7368 5f70 7562 6c69 635f 6b65  de ssh_public_ke
│ │ │ -002141b0: 795f 7065 726d 730a 0a63 6c61 7373 2073  y_perms..class s
│ │ │ -002141c0: 7368 5f70 7562 6c69 635f 6b65 795f 7065  sh_public_key_pe
│ │ │ -002141d0: 726d 7320 7b0a 2020 6578 6563 207b 2027  rms {.  exec { '
│ │ │ -002141e0: 7373 6864 5f70 7562 5f6b 6579 273a 0a20  sshd_pub_key':. 
│ │ │ -002141f0: 2020 2063 6f6d 6d61 6e64 203d 2667 743b     command =>
│ │ │ -00214200: 2022 6368 6d6f 6420 3036 3434 202f 6574   "chmod 0644 /et
│ │ │ -00214210: 632f 7373 682f 2a2e 7075 6222 2c0a 2020  c/ssh/*.pub",.  
│ │ │ -00214220: 2020 7061 7468 2020 2020 3d26 6774 3b20    path    => 
│ │ │ -00214230: 272f 6269 6e3a 2f75 7372 2f62 696e 270a  '/bin:/usr/bin'.
│ │ │ -00214240: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ -00214300: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ -00214310: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -00214320: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
- 
│ │ │ -00214450: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ -00214460: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ -00214470: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ -00214480: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ -00214490: 6f0a 2020 7461 6773 3a0a 2020 2d20 4e49  o.  tags:.  - NI
│ │ │ -002144a0: 5354 2d38 3030 2d31 3731 2d33 2e31 2e31  ST-800-171-3.1.1
│ │ │ -002144b0: 330a 2020 2d20 4e49 5354 2d38 3030 2d31  3.  - NIST-800-1
│ │ │ -002144c0: 3731 2d33 2e31 332e 3130 0a20 202d 204e  71-3.13.10.  - N
│ │ │ -002144d0: 4953 542d 3830 302d 3533 2d41 432d 3137  IST-800-53-AC-17
│ │ │ -002144e0: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ -002144f0: 2d35 332d 4143 2d36 2831 290a 2020 2d20  -53-AC-6(1).  - 
│ │ │ -00214500: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ -00214510: 2861 290a 2020 2d20 5043 492d 4453 532d  (a).  - PCI-DSS-
│ │ │ -00214520: 5265 712d 322e 322e 340a 2020 2d20 5043  Req-2.2.4.  - PC
│ │ │ -00214530: 492d 4453 5376 342d 322e 320a 2020 2d20  I-DSSv4-2.2.  - 
│ │ │ -00214540: 5043 492d 4453 5376 342d 322e 322e 360a  PCI-DSSv4-2.2.6.
│ │ │ -00214550: 2020 2d20 636f 6e66 6967 7572 655f 7374    - configure_st
│ │ │ -00214560: 7261 7465 6779 0a20 202d 2066 696c 655f  rategy.  - file_
│ │ │ -00214570: 7065 726d 6973 7369 6f6e 735f 7373 6864  permissions_sshd
│ │ │ -00214580: 5f70 7562 5f6b 6579 0a20 202d 206c 6f77  _pub_key.  - low
│ │ │ -00214590: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -002145a0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -002145b0: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ -002145c0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -002145d0: 5f6e 6565 6465 640a 0a2d 206e 616d 653a  _needed..- name:
│ │ │ -002145e0: 2046 696e 6420 2f65 7463 2f73 7368 2f20   Find /etc/ssh/ 
│ │ │ -002145f0: 6669 6c65 2873 290a 2020 636f 6d6d 616e  file(s).  comman
│ │ │ -00214600: 643a 2066 696e 6420 2d48 202f 6574 632f  d: find -H /etc/
│ │ │ -00214610: 7373 682f 202d 6d61 7864 6570 7468 2031  ssh/ -maxdepth 1
│ │ │ -00214620: 202d 7065 726d 202f 752b 7873 2c67 2b78   -perm /u+xs,g+x
│ │ │ -00214630: 7773 2c6f 2b78 7774 2020 2d74 7970 6520  ws,o+xwt  -type 
│ │ │ -00214640: 6620 2d72 6567 6578 7479 7065 0a20 2020  f -regextype.   
│ │ │ -00214650: 2070 6f73 6978 2d65 7874 656e 6465 6420   posix-extended 
│ │ │ -00214660: 2d72 6567 6578 2022 5e2e 2a5c 2e70 7562  -regex "^.*\.pub
│ │ │ -00214670: 2422 0a20 2072 6567 6973 7465 723a 2066  $".  register: f
│ │ │ -00214680: 696c 6573 5f66 6f75 6e64 0a20 2063 6861  iles_found.  cha
│ │ │ -00214690: 6e67 6564 5f77 6865 6e3a 2066 616c 7365  nged_when: false
│ │ │ -002146a0: 0a20 2066 6169 6c65 645f 7768 656e 3a20  .  failed_when: 
│ │ │ -002146b0: 6661 6c73 650a 2020 6368 6563 6b5f 6d6f  false.  check_mo
│ │ │ -002146c0: 6465 3a20 6661 6c73 650a 2020 7768 656e  de: false.  when
│ │ │ -002146d0: 3a20 2722 6c69 6e75 782d 6261 7365 2220  : '"linux-base" 
│ │ │ -002146e0: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -002146f0: 2e70 6163 6b61 6765 7327 0a20 2074 6167  .packages'.  tag
│ │ │ -00214700: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ -00214710: 3137 312d 332e 312e 3133 0a20 202d 204e  171-3.1.13.  - N
│ │ │ -00214720: 4953 542d 3830 302d 3137 312d 332e 3133  IST-800-171-3.13
│ │ │ -00214730: 2e31 300a 2020 2d20 4e49 5354 2d38 3030  .10.  - NIST-800
│ │ │ -00214740: 2d35 332d 4143 2d31 3728 6129 0a20 202d  -53-AC-17(a).  -
│ │ │ -00214750: 204e 4953 542d 3830 302d 3533 2d41 432d   NIST-800-53-AC-
│ │ │ -00214760: 3628 3129 0a20 202d 204e 4953 542d 3830  6(1).  - NIST-80
│ │ │ -00214770: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ -00214780: 2050 4349 2d44 5353 2d52 6571 2d32 2e32   PCI-DSS-Req-2.2
│ │ │ -00214790: 2e34 0a20 202d 2050 4349 2d44 5353 7634  .4.  - PCI-DSSv4
│ │ │ -002147a0: 2d32 2e32 0a20 202d 2050 4349 2d44 5353  -2.2.  - PCI-DSS
│ │ │ -002147b0: 7634 2d32 2e32 2e36 0a20 202d 2063 6f6e  v4-2.2.6.  - con
│ │ │ -002147c0: 6669 6775 7265 5f73 7472 6174 6567 790a  figure_strategy.
│ │ │ -002147d0: 2020 2d20 6669 6c65 5f70 6572 6d69 7373    - file_permiss
│ │ │ -002147e0: 696f 6e73 5f73 7368 645f 7075 625f 6b65  ions_sshd_pub_ke
│ │ │ -002147f0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -00214800: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -00214810: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ -00214820: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ -00214830: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -00214840: 0a0a 2d20 6e61 6d65 3a20 5365 7420 7065  ..- name: Set pe
│ │ │ -00214850: 726d 6973 7369 6f6e 7320 666f 7220 2f65  rmissions for /e
│ │ │ -00214860: 7463 2f73 7368 2f20 6669 6c65 2873 290a  tc/ssh/ file(s).
│ │ │ -00214870: 2020 6669 6c65 3a0a 2020 2020 7061 7468    file:.    path
│ │ │ -00214880: 3a20 277b 7b20 6974 656d 207d 7d27 0a20  : '{{ item }}'. 
│ │ │ -00214890: 2020 206d 6f64 653a 2075 2d78 732c 672d     mode: u-xs,g-
│ │ │ -002148a0: 7877 732c 6f2d 7877 740a 2020 2020 7374  xws,o-xwt.    st
│ │ │ -002148b0: 6174 653a 2066 696c 650a 2020 7769 7468  ate: file.  with
│ │ │ -002148c0: 5f69 7465 6d73 3a0a 2020 2d20 277b 7b20  _items:.  - '{{ 
│ │ │ -002148d0: 6669 6c65 735f 666f 756e 642e 7374 646f  files_found.stdo
│ │ │ -002148e0: 7574 5f6c 696e 6573 207d 7d27 0a20 2077  ut_lines }}'.  w
│ │ │ -002148f0: 6865 6e3a 2027 226c 696e 7578 2d62 6173  hen: '"linux-bas
│ │ │ -00214900: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ -00214910: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ -00214920: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ -00214930: 3030 2d31 3731 2d33 2e31 2e31 330a 2020  00-171-3.1.13.  
│ │ │ -00214940: 2d20 4e49 5354 2d38 3030 2d31 3731 2d33  - NIST-800-171-3
│ │ │ -00214950: 2e31 332e 3130 0a20 202d 204e 4953 542d  .13.10.  - NIST-
│ │ │ -00214960: 3830 302d 3533 2d41 432d 3137 2861 290a  800-53-AC-17(a).
│ │ │ -00214970: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -00214980: 4143 2d36 2831 290a 2020 2d20 4e49 5354  AC-6(1).  - NIST
│ │ │ -00214990: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ -002149a0: 2020 2d20 5043 492d 4453 532d 5265 712d    - PCI-DSS-Req-
│ │ │ -002149b0: 322e 322e 340a 2020 2d20 5043 492d 4453  2.2.4.  - PCI-DS
│ │ │ -002149c0: 5376 342d 322e 320a 2020 2d20 5043 492d  Sv4-2.2.  - PCI-
│ │ │ -002149d0: 4453 5376 342d 322e 322e 360a 2020 2d20  DSSv4-2.2.6.  - 
│ │ │ -002149e0: 636f 6e66 6967 7572 655f 7374 7261 7465  configure_strate
│ │ │ -002149f0: 6779 0a20 202d 2066 696c 655f 7065 726d  gy.  - file_perm
│ │ │ -00214a00: 6973 7369 6f6e 735f 7373 6864 5f70 7562  issions_sshd_pub
│ │ │ -00214a10: 5f6b 6579 0a20 202d 206c 6f77 5f63 6f6d  _key.  - low_com
│ │ │ -00214a20: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -00214a30: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ -00214a40: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ -00214a50: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -00214a60: 6465 640a 3c2f 636f 6465 3e3c 2f70 7265  ded.

Com │ │ │ -002143a0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -002143d0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -002143f0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -00214400: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -00214420: 2f74 683e 3c74 643e 636f 6e66 6967 7572 /th>configur │ │ │ -00214430: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
│ │ │ +00214200: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +00214220: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +00214250: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +002141e0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +002141f0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +00214210: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +00214230: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +00214240: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:configure< │ │ │ +00214270: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +00214290: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ +002142a0: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ +002142b0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ +002142c0: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ +002142d0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ +002142e0: 2d38 3030 2d31 3731 2d33 2e31 2e31 330a  -800-171-3.1.13.
│ │ │ +002142f0: 2020 2d20 4e49 5354 2d38 3030 2d31 3731    - NIST-800-171
│ │ │ +00214300: 2d33 2e31 332e 3130 0a20 202d 204e 4953  -3.13.10.  - NIS
│ │ │ +00214310: 542d 3830 302d 3533 2d41 432d 3137 2861  T-800-53-AC-17(a
│ │ │ +00214320: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +00214330: 332d 4143 2d36 2831 290a 2020 2d20 4e49  3-AC-6(1).  - NI
│ │ │ +00214340: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +00214350: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ +00214360: 712d 322e 322e 340a 2020 2d20 5043 492d  q-2.2.4.  - PCI-
│ │ │ +00214370: 4453 5376 342d 322e 320a 2020 2d20 5043  DSSv4-2.2.  - PC
│ │ │ +00214380: 492d 4453 5376 342d 322e 322e 360a 2020  I-DSSv4-2.2.6.  
│ │ │ +00214390: 2d20 636f 6e66 6967 7572 655f 7374 7261  - configure_stra
│ │ │ +002143a0: 7465 6779 0a20 202d 2066 696c 655f 7065  tegy.  - file_pe
│ │ │ +002143b0: 726d 6973 7369 6f6e 735f 7373 6864 5f70  rmissions_sshd_p
│ │ │ +002143c0: 7562 5f6b 6579 0a20 202d 206c 6f77 5f63  ub_key.  - low_c
│ │ │ +002143d0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +002143e0: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +002143f0: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ +00214400: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +00214410: 6565 6465 640a 0a2d 206e 616d 653a 2046  eeded..- name: F
│ │ │ +00214420: 696e 6420 2f65 7463 2f73 7368 2f20 6669  ind /etc/ssh/ fi
│ │ │ +00214430: 6c65 2873 290a 2020 636f 6d6d 616e 643a  le(s).  command:
│ │ │ +00214440: 2066 696e 6420 2d48 202f 6574 632f 7373   find -H /etc/ss
│ │ │ +00214450: 682f 202d 6d61 7864 6570 7468 2031 202d  h/ -maxdepth 1 -
│ │ │ +00214460: 7065 726d 202f 752b 7873 2c67 2b78 7773  perm /u+xs,g+xws
│ │ │ +00214470: 2c6f 2b78 7774 2020 2d74 7970 6520 6620  ,o+xwt  -type f 
│ │ │ +00214480: 2d72 6567 6578 7479 7065 0a20 2020 2070  -regextype.    p
│ │ │ +00214490: 6f73 6978 2d65 7874 656e 6465 6420 2d72  osix-extended -r
│ │ │ +002144a0: 6567 6578 2022 5e2e 2a5c 2e70 7562 2422  egex "^.*\.pub$"
│ │ │ +002144b0: 0a20 2072 6567 6973 7465 723a 2066 696c  .  register: fil
│ │ │ +002144c0: 6573 5f66 6f75 6e64 0a20 2063 6861 6e67  es_found.  chang
│ │ │ +002144d0: 6564 5f77 6865 6e3a 2066 616c 7365 0a20  ed_when: false. 
│ │ │ +002144e0: 2066 6169 6c65 645f 7768 656e 3a20 6661   failed_when: fa
│ │ │ +002144f0: 6c73 650a 2020 6368 6563 6b5f 6d6f 6465  lse.  check_mode
│ │ │ +00214500: 3a20 6661 6c73 650a 2020 7768 656e 3a20  : false.  when: 
│ │ │ +00214510: 2722 6c69 6e75 782d 6261 7365 2220 696e  '"linux-base" in
│ │ │ +00214520: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ +00214530: 6163 6b61 6765 7327 0a20 2074 6167 733a  ackages'.  tags:
│ │ │ +00214540: 0a20 202d 204e 4953 542d 3830 302d 3137  .  - NIST-800-17
│ │ │ +00214550: 312d 332e 312e 3133 0a20 202d 204e 4953  1-3.1.13.  - NIS
│ │ │ +00214560: 542d 3830 302d 3137 312d 332e 3133 2e31  T-800-171-3.13.1
│ │ │ +00214570: 300a 2020 2d20 4e49 5354 2d38 3030 2d35  0.  - NIST-800-5
│ │ │ +00214580: 332d 4143 2d31 3728 6129 0a20 202d 204e  3-AC-17(a).  - N
│ │ │ +00214590: 4953 542d 3830 302d 3533 2d41 432d 3628  IST-800-53-AC-6(
│ │ │ +002145a0: 3129 0a20 202d 204e 4953 542d 3830 302d  1).  - NIST-800-
│ │ │ +002145b0: 3533 2d43 4d2d 3628 6129 0a20 202d 2050  53-CM-6(a).  - P
│ │ │ +002145c0: 4349 2d44 5353 2d52 6571 2d32 2e32 2e34  CI-DSS-Req-2.2.4
│ │ │ +002145d0: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ +002145e0: 2e32 0a20 202d 2050 4349 2d44 5353 7634  .2.  - PCI-DSSv4
│ │ │ +002145f0: 2d32 2e32 2e36 0a20 202d 2063 6f6e 6669  -2.2.6.  - confi
│ │ │ +00214600: 6775 7265 5f73 7472 6174 6567 790a 2020  gure_strategy.  
│ │ │ +00214610: 2d20 6669 6c65 5f70 6572 6d69 7373 696f  - file_permissio
│ │ │ +00214620: 6e73 5f73 7368 645f 7075 625f 6b65 790a  ns_sshd_pub_key.
│ │ │ +00214630: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +00214640: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +00214650: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ +00214660: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +00214670: 5f72 6562 6f6f 745f 6e65 6564 6564 0a0a  _reboot_needed..
│ │ │ +00214680: 2d20 6e61 6d65 3a20 5365 7420 7065 726d  - name: Set perm
│ │ │ +00214690: 6973 7369 6f6e 7320 666f 7220 2f65 7463  issions for /etc
│ │ │ +002146a0: 2f73 7368 2f20 6669 6c65 2873 290a 2020  /ssh/ file(s).  
│ │ │ +002146b0: 6669 6c65 3a0a 2020 2020 7061 7468 3a20  file:.    path: 
│ │ │ +002146c0: 277b 7b20 6974 656d 207d 7d27 0a20 2020  '{{ item }}'.   
│ │ │ +002146d0: 206d 6f64 653a 2075 2d78 732c 672d 7877   mode: u-xs,g-xw
│ │ │ +002146e0: 732c 6f2d 7877 740a 2020 2020 7374 6174  s,o-xwt.    stat
│ │ │ +002146f0: 653a 2066 696c 650a 2020 7769 7468 5f69  e: file.  with_i
│ │ │ +00214700: 7465 6d73 3a0a 2020 2d20 277b 7b20 6669  tems:.  - '{{ fi
│ │ │ +00214710: 6c65 735f 666f 756e 642e 7374 646f 7574  les_found.stdout
│ │ │ +00214720: 5f6c 696e 6573 207d 7d27 0a20 2077 6865  _lines }}'.  whe
│ │ │ +00214730: 6e3a 2027 226c 696e 7578 2d62 6173 6522  n: '"linux-base"
│ │ │ +00214740: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ +00214750: 732e 7061 636b 6167 6573 270a 2020 7461  s.packages'.  ta
│ │ │ +00214760: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030  gs:.  - NIST-800
│ │ │ +00214770: 2d31 3731 2d33 2e31 2e31 330a 2020 2d20  -171-3.1.13.  - 
│ │ │ +00214780: 4e49 5354 2d38 3030 2d31 3731 2d33 2e31  NIST-800-171-3.1
│ │ │ +00214790: 332e 3130 0a20 202d 204e 4953 542d 3830  3.10.  - NIST-80
│ │ │ +002147a0: 302d 3533 2d41 432d 3137 2861 290a 2020  0-53-AC-17(a).  
│ │ │ +002147b0: 2d20 4e49 5354 2d38 3030 2d35 332d 4143  - NIST-800-53-AC
│ │ │ +002147c0: 2d36 2831 290a 2020 2d20 4e49 5354 2d38  -6(1).  - NIST-8
│ │ │ +002147d0: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ +002147e0: 2d20 5043 492d 4453 532d 5265 712d 322e  - PCI-DSS-Req-2.
│ │ │ +002147f0: 322e 340a 2020 2d20 5043 492d 4453 5376  2.4.  - PCI-DSSv
│ │ │ +00214800: 342d 322e 320a 2020 2d20 5043 492d 4453  4-2.2.  - PCI-DS
│ │ │ +00214810: 5376 342d 322e 322e 360a 2020 2d20 636f  Sv4-2.2.6.  - co
│ │ │ +00214820: 6e66 6967 7572 655f 7374 7261 7465 6779  nfigure_strategy
│ │ │ +00214830: 0a20 202d 2066 696c 655f 7065 726d 6973  .  - file_permis
│ │ │ +00214840: 7369 6f6e 735f 7373 6864 5f70 7562 5f6b  sions_sshd_pub_k
│ │ │ +00214850: 6579 0a20 202d 206c 6f77 5f63 6f6d 706c  ey.  - low_compl
│ │ │ +00214860: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +00214870: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +00214880: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +00214890: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +002148a0: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +002148b0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +00214960: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +00214970: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...

include │ │ │ +002149c0: 2073 7368 5f70 7562 6c69 635f 6b65 795f ssh_public_key_ │ │ │ +002149d0: 7065 726d 730a 0a63 6c61 7373 2073 7368 perms..class ssh │ │ │ +002149e0: 5f70 7562 6c69 635f 6b65 795f 7065 726d _public_key_perm │ │ │ +002149f0: 7320 7b0a 2020 6578 6563 207b 2027 7373 s {. exec { 'ss │ │ │ +00214a00: 6864 5f70 7562 5f6b 6579 273a 0a20 2020 hd_pub_key':. │ │ │ +00214a10: 2063 6f6d 6d61 6e64 203d 2667 743b 2022 command => " │ │ │ +00214a20: 6368 6d6f 6420 3036 3434 202f 6574 632f chmod 0644 /etc/ │ │ │ +00214a30: 7373 682f 2a2e 7075 6222 2c0a 2020 2020 ssh/*.pub",. │ │ │ +00214a40: 7061 7468 2020 2020 3d26 6774 3b20 272f path => '/ │ │ │ +00214a50: 6269 6e3a 2f75 7372 2f62 696e 270a 2020 bin:/usr/bin'. │ │ │ +00214a60: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}.

Remediation │ │ │ -0040e250: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ -0040e260: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
.[[packages]
│ │ │ -0040e2c0: 5d0a 6e61 6d65 203d 2022 6175 6469 7464  ].name = "auditd
│ │ │ -0040e2d0: 220a 7665 7273 696f 6e20 3d20 222a 220a  ".version = "*".
│ │ │ -0040e2e0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation P │ │ │ -0040e3a0: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ -0040e3b0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ -0040e440: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -0040e460: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -0040e470: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -0040e480: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -0040e490: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -0040e4b0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
include inst
│ │ │ -0040e4f0: 616c 6c5f 6175 6469 7464 0a0a 636c 6173  all_auditd..clas
│ │ │ -0040e500: 7320 696e 7374 616c 6c5f 6175 6469 7464  s install_auditd
│ │ │ -0040e510: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ -0040e520: 6175 6469 7464 273a 0a20 2020 2065 6e73  auditd':.    ens
│ │ │ -0040e530: 7572 6520 3d26 6774 3b20 2769 6e73 7461  ure => 'insta
│ │ │ -0040e540: 6c6c 6564 272c 0a20 207d 0a7d 0a3c 2f63  lled',.  }.}.
│ │ │ -0040e560: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ -0040e600: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi │ │ │ -0040e610: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...< │ │ │ -0040e620: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -0040e6a0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -0040e6c0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -0040e710: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ -0040e740: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Gather
│ │ │ -0040e760: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ -0040e770: 7473 0a20 2070 6163 6b61 6765 5f66 6163  ts.  package_fac
│ │ │ -0040e780: 7473 3a0a 2020 2020 6d61 6e61 6765 723a  ts:.    manager:
│ │ │ -0040e790: 2061 7574 6f0a 2020 7461 6773 3a0a 2020   auto.  tags:.  
│ │ │ -0040e7a0: 2d20 4449 5341 2d53 5449 472d 5542 5455  - DISA-STIG-UBTU
│ │ │ -0040e7b0: 2d32 302d 3031 3031 3832 0a20 202d 204e  -20-010182.  - N
│ │ │ -0040e7c0: 4953 542d 3830 302d 3533 2d41 432d 3728  IST-800-53-AC-7(
│ │ │ -0040e7d0: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ -0040e7e0: 3533 2d41 552d 3132 2832 290a 2020 2d20  53-AU-12(2).  - 
│ │ │ -0040e7f0: 4e49 5354 2d38 3030 2d35 332d 4155 2d31  NIST-800-53-AU-1
│ │ │ -0040e800: 340a 2020 2d20 4e49 5354 2d38 3030 2d35  4.  - NIST-800-5
│ │ │ -0040e810: 332d 4155 2d32 2861 290a 2020 2d20 4e49  3-AU-2(a).  - NI
│ │ │ -0040e820: 5354 2d38 3030 2d35 332d 4155 2d37 2831  ST-800-53-AU-7(1
│ │ │ -0040e830: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -0040e840: 332d 4155 2d37 2832 290a 2020 2d20 4e49  3-AU-7(2).  - NI
│ │ │ -0040e850: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ -0040e860: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ -0040e870: 712d 3130 2e31 0a20 202d 2050 4349 2d44  q-10.1.  - PCI-D
│ │ │ -0040e880: 5353 7634 2d31 302e 320a 2020 2d20 5043  SSv4-10.2.  - PC
│ │ │ -0040e890: 492d 4453 5376 342d 3130 2e32 2e31 0a20  I-DSSv4-10.2.1. 
│ │ │ -0040e8a0: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ -0040e8b0: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ -0040e8c0: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -0040e8d0: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ -0040e8e0: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ -0040e8f0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -0040e900: 640a 2020 2d20 7061 636b 6167 655f 6175  d.  - package_au
│ │ │ -0040e910: 6469 745f 696e 7374 616c 6c65 640a 0a2d  dit_installed..-
│ │ │ -0040e920: 206e 616d 653a 2045 6e73 7572 6520 6175   name: Ensure au
│ │ │ -0040e930: 6469 7464 2069 7320 696e 7374 616c 6c65  ditd is installe
│ │ │ -0040e940: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ -0040e950: 206e 616d 653a 2061 7564 6974 640a 2020   name: auditd.  
│ │ │ -0040e960: 2020 7374 6174 653a 2070 7265 7365 6e74    state: present
│ │ │ -0040e970: 0a20 2077 6865 6e3a 2027 226c 696e 7578  .  when: '"linux
│ │ │ -0040e980: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ -0040e990: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ -0040e9a0: 270a 2020 7461 6773 3a0a 2020 2d20 4449  '.  tags:.  - DI
│ │ │ -0040e9b0: 5341 2d53 5449 472d 5542 5455 2d32 302d  SA-STIG-UBTU-20-
│ │ │ -0040e9c0: 3031 3031 3832 0a20 202d 204e 4953 542d  010182.  - NIST-
│ │ │ -0040e9d0: 3830 302d 3533 2d41 432d 3728 6129 0a20  800-53-AC-7(a). 
│ │ │ -0040e9e0: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ -0040e9f0: 552d 3132 2832 290a 2020 2d20 4e49 5354  U-12(2).  - NIST
│ │ │ -0040ea00: 2d38 3030 2d35 332d 4155 2d31 340a 2020  -800-53-AU-14.  
│ │ │ -0040ea10: 2d20 4e49 5354 2d38 3030 2d35 332d 4155  - NIST-800-53-AU
│ │ │ -0040ea20: 2d32 2861 290a 2020 2d20 4e49 5354 2d38  -2(a).  - NIST-8
│ │ │ -0040ea30: 3030 2d35 332d 4155 2d37 2831 290a 2020  00-53-AU-7(1).  
│ │ │ -0040ea40: 2d20 4e49 5354 2d38 3030 2d35 332d 4155  - NIST-800-53-AU
│ │ │ -0040ea50: 2d37 2832 290a 2020 2d20 4e49 5354 2d38  -7(2).  - NIST-8
│ │ │ -0040ea60: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ -0040ea70: 2d20 5043 492d 4453 532d 5265 712d 3130  - PCI-DSS-Req-10
│ │ │ -0040ea80: 2e31 0a20 202d 2050 4349 2d44 5353 7634  .1.  - PCI-DSSv4
│ │ │ -0040ea90: 2d31 302e 320a 2020 2d20 5043 492d 4453  -10.2.  - PCI-DS
│ │ │ -0040eaa0: 5376 342d 3130 2e32 2e31 0a20 202d 2065  Sv4-10.2.1.  - e
│ │ │ -0040eab0: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ -0040eac0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -0040ead0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -0040eae0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ -0040eaf0: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -0040eb00: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -0040eb10: 2d20 7061 636b 6167 655f 6175 6469 745f  - package_audit_
│ │ │ -0040eb20: 696e 7374 616c 6c65 640a 3c2f 636f 6465  installed.
< │ │ │ +0040e2a0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +0040e2b0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +0040e2c0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +0040e2d0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +0040e2e0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ +0040e370: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c < │ │ │ +0040e380: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
Complexity:< │ │ │ -0040e6b0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -0040e6d0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -0040e720: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ -0040e730: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
Complex │ │ │ +0040e2f0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +0040e300: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ +0040e340: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +0040e350: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
enable
- name: G
│ │ │ +0040e3a0: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ +0040e3b0: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ +0040e3c0: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ +0040e3d0: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ +0040e3e0: 733a 0a20 202d 2044 4953 412d 5354 4947  s:.  - DISA-STIG
│ │ │ +0040e3f0: 2d55 4254 552d 3230 2d30 3130 3138 320a  -UBTU-20-010182.
│ │ │ +0040e400: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +0040e410: 4143 2d37 2861 290a 2020 2d20 4e49 5354  AC-7(a).  - NIST
│ │ │ +0040e420: 2d38 3030 2d35 332d 4155 2d31 3228 3229  -800-53-AU-12(2)
│ │ │ +0040e430: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +0040e440: 2d41 552d 3134 0a20 202d 204e 4953 542d  -AU-14.  - NIST-
│ │ │ +0040e450: 3830 302d 3533 2d41 552d 3228 6129 0a20  800-53-AU-2(a). 
│ │ │ +0040e460: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ +0040e470: 552d 3728 3129 0a20 202d 204e 4953 542d  U-7(1).  - NIST-
│ │ │ +0040e480: 3830 302d 3533 2d41 552d 3728 3229 0a20  800-53-AU-7(2). 
│ │ │ +0040e490: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +0040e4a0: 4d2d 3628 6129 0a20 202d 2050 4349 2d44  M-6(a).  - PCI-D
│ │ │ +0040e4b0: 5353 2d52 6571 2d31 302e 310a 2020 2d20  SS-Req-10.1.  - 
│ │ │ +0040e4c0: 5043 492d 4453 5376 342d 3130 2e32 0a20  PCI-DSSv4-10.2. 
│ │ │ +0040e4d0: 202d 2050 4349 2d44 5353 7634 2d31 302e   - PCI-DSSv4-10.
│ │ │ +0040e4e0: 322e 310a 2020 2d20 656e 6162 6c65 5f73  2.1.  - enable_s
│ │ │ +0040e4f0: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ +0040e500: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ +0040e510: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ +0040e520: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ +0040e530: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ +0040e540: 6e65 6564 6564 0a20 202d 2070 6163 6b61  needed.  - packa
│ │ │ +0040e550: 6765 5f61 7564 6974 5f69 6e73 7461 6c6c  ge_audit_install
│ │ │ +0040e560: 6564 0a0a 2d20 6e61 6d65 3a20 456e 7375  ed..- name: Ensu
│ │ │ +0040e570: 7265 2061 7564 6974 6420 6973 2069 6e73  re auditd is ins
│ │ │ +0040e580: 7461 6c6c 6564 0a20 2070 6163 6b61 6765  talled.  package
│ │ │ +0040e590: 3a0a 2020 2020 6e61 6d65 3a20 6175 6469  :.    name: audi
│ │ │ +0040e5a0: 7464 0a20 2020 2073 7461 7465 3a20 7072  td.    state: pr
│ │ │ +0040e5b0: 6573 656e 740a 2020 7768 656e 3a20 2722  esent.  when: '"
│ │ │ +0040e5c0: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ +0040e5d0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +0040e5e0: 6b61 6765 7327 0a20 2074 6167 733a 0a20  kages'.  tags:. 
│ │ │ +0040e5f0: 202d 2044 4953 412d 5354 4947 2d55 4254   - DISA-STIG-UBT
│ │ │ +0040e600: 552d 3230 2d30 3130 3138 320a 2020 2d20  U-20-010182.  - 
│ │ │ +0040e610: 4e49 5354 2d38 3030 2d35 332d 4143 2d37  NIST-800-53-AC-7
│ │ │ +0040e620: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ +0040e630: 2d35 332d 4155 2d31 3228 3229 0a20 202d  -53-AU-12(2).  -
│ │ │ +0040e640: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ +0040e650: 3134 0a20 202d 204e 4953 542d 3830 302d  14.  - NIST-800-
│ │ │ +0040e660: 3533 2d41 552d 3228 6129 0a20 202d 204e  53-AU-2(a).  - N
│ │ │ +0040e670: 4953 542d 3830 302d 3533 2d41 552d 3728  IST-800-53-AU-7(
│ │ │ +0040e680: 3129 0a20 202d 204e 4953 542d 3830 302d  1).  - NIST-800-
│ │ │ +0040e690: 3533 2d41 552d 3728 3229 0a20 202d 204e  53-AU-7(2).  - N
│ │ │ +0040e6a0: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ +0040e6b0: 6129 0a20 202d 2050 4349 2d44 5353 2d52  a).  - PCI-DSS-R
│ │ │ +0040e6c0: 6571 2d31 302e 310a 2020 2d20 5043 492d  eq-10.1.  - PCI-
│ │ │ +0040e6d0: 4453 5376 342d 3130 2e32 0a20 202d 2050  DSSv4-10.2.  - P
│ │ │ +0040e6e0: 4349 2d44 5353 7634 2d31 302e 322e 310a  CI-DSSv4-10.2.1.
│ │ │ +0040e6f0: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ +0040e700: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +0040e710: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +0040e720: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ +0040e730: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ +0040e740: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +0040e750: 6564 0a20 202d 2070 6163 6b61 6765 5f61  ed.  - package_a
│ │ │ +0040e760: 7564 6974 5f69 6e73 7461 6c6c 6564 0a3c  udit_installed.<
│ │ │ +0040e770: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ +0040e830: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ +0040e840: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ +0040e8d0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +0040e8f0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +0040e910: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +0040e940: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +0040e950: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ +0040e960: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include insta
│ │ │ +0040e980: 6c6c 5f61 7564 6974 640a 0a63 6c61 7373  ll_auditd..class
│ │ │ +0040e990: 2069 6e73 7461 6c6c 5f61 7564 6974 6420   install_auditd 
│ │ │ +0040e9a0: 7b0a 2020 7061 636b 6167 6520 7b20 2761  {.  package { 'a
│ │ │ +0040e9b0: 7564 6974 6427 3a0a 2020 2020 656e 7375  uditd':.    ensu
│ │ │ +0040e9c0: 7265 203d 2667 743b 2027 696e 7374 616c  re => 'instal
│ │ │ +0040e9d0: 6c65 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  led',.  }.}.
< │ │ │ +0040e9f0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +0040ea00: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +0040ea10: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +0040ea20: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +0040ea30: 646d 3239 3033 3122 2074 6162 696e 6465 dm29031" tabinde │ │ │ +0040ea40: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +0040ea50: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +0040ea60: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +0040ea70: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +0040ea80: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +0040ea90: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui │ │ │ +0040eaa0: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni │ │ │ +0040eab0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +0040eac0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
.[
│ │ │ +0040eb00: 5b70 6163 6b61 6765 735d 5d0a 6e61 6d65  [packages]].name
│ │ │ +0040eb10: 203d 2022 6175 6469 7464 220a 7665 7273   = "auditd".vers
│ │ │ +0040eb20: 696f 6e20 3d20 222a 220a 3c2f 636f 6465  ion = "*".
Remediation │ │ │ -004109f0: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin │ │ │ -00410a00: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
.[customizati
│ │ │ -00410a60: 6f6e 732e 7365 7276 6963 6573 5d0a 656e  ons.services].en
│ │ │ -00410a70: 6162 6c65 6420 3d20 5b22 6175 6469 7464  abled = ["auditd
│ │ │ -00410a80: 225d 0a3c 2f63 6f64 653e 3c2f 7072 653e  "].
│ │ │ -00410a90: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ -00410b40: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ -00410b50: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -00410b90: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -00410ba0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -00410bb0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -00410bc0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -00410bd0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -00410be0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -00410bf0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -00410c30: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -00410c40: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -00410c60: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ -00410c70: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include e
│ │ │ -00410c90: 6e61 626c 655f 6175 6469 7464 0a0a 636c  nable_auditd..cl
│ │ │ -00410ca0: 6173 7320 656e 6162 6c65 5f61 7564 6974  ass enable_audit
│ │ │ -00410cb0: 6420 7b0a 2020 7365 7276 6963 6520 7b27  d {.  service {'
│ │ │ -00410cc0: 6175 6469 7464 273a 0a20 2020 2065 6e61  auditd':.    ena
│ │ │ -00410cd0: 626c 6520 3d26 6774 3b20 7472 7565 2c0a  ble => true,.
│ │ │ -00410ce0: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -00410cf0: 2027 7275 6e6e 696e 6727 2c0a 2020 7d0a   'running',.  }.
│ │ │ -00410d00: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ -00410d10: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -00410dc0: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ -00410dd0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -00410e10: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -00410e20: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -00410e30: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -00410e40: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -00410e50: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -00410e60: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -00410e70: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -00410eb0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -00410ec0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -00410ee0: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ -00410ef0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ -00410f10: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ -00410f20: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ -00410f30: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ -00410f40: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ -00410f50: 733a 0a20 202d 2043 4a49 532d 352e 342e  s:.  - CJIS-5.4.
│ │ │ -00410f60: 312e 310a 2020 2d20 4449 5341 2d53 5449  1.1.  - DISA-STI
│ │ │ -00410f70: 472d 5542 5455 2d32 302d 3031 3031 3832  G-UBTU-20-010182
│ │ │ -00410f80: 0a20 202d 204e 4953 542d 3830 302d 3137  .  - NIST-800-17
│ │ │ -00410f90: 312d 332e 332e 310a 2020 2d20 4e49 5354  1-3.3.1.  - NIST
│ │ │ -00410fa0: 2d38 3030 2d31 3731 2d33 2e33 2e32 0a20  -800-171-3.3.2. 
│ │ │ -00410fb0: 202d 204e 4953 542d 3830 302d 3137 312d   - NIST-800-171-
│ │ │ -00410fc0: 332e 332e 360a 2020 2d20 4e49 5354 2d38  3.3.6.  - NIST-8
│ │ │ -00410fd0: 3030 2d35 332d 4143 2d32 2867 290a 2020  00-53-AC-2(g).  
│ │ │ -00410fe0: 2d20 4e49 5354 2d38 3030 2d35 332d 4143  - NIST-800-53-AC
│ │ │ -00410ff0: 2d36 2839 290a 2020 2d20 4e49 5354 2d38  -6(9).  - NIST-8
│ │ │ -00411000: 3030 2d35 332d 4155 2d31 300a 2020 2d20  00-53-AU-10.  - 
│ │ │ -00411010: 4e49 5354 2d38 3030 2d35 332d 4155 2d31  NIST-800-53-AU-1
│ │ │ -00411020: 3228 6329 0a20 202d 204e 4953 542d 3830  2(c).  - NIST-80
│ │ │ -00411030: 302d 3533 2d41 552d 3134 2831 290a 2020  0-53-AU-14(1).  
│ │ │ -00411040: 2d20 4e49 5354 2d38 3030 2d35 332d 4155  - NIST-800-53-AU
│ │ │ -00411050: 2d32 2864 290a 2020 2d20 4e49 5354 2d38  -2(d).  - NIST-8
│ │ │ -00411060: 3030 2d35 332d 4155 2d33 0a20 202d 204e  00-53-AU-3.  - N
│ │ │ -00411070: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -00411080: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ -00411090: 3533 2d53 492d 3428 3233 290a 2020 2d20  53-SI-4(23).  - 
│ │ │ -004110a0: 5043 492d 4453 532d 5265 712d 3130 2e31  PCI-DSS-Req-10.1
│ │ │ -004110b0: 0a20 202d 2050 4349 2d44 5353 7634 2d31  .  - PCI-DSSv4-1
│ │ │ -004110c0: 302e 320a 2020 2d20 5043 492d 4453 5376  0.2.  - PCI-DSSv
│ │ │ -004110d0: 342d 3130 2e32 2e31 0a20 202d 2065 6e61  4-10.2.1.  - ena
│ │ │ -004110e0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -004110f0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -00411100: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -00411110: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -00411120: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -00411130: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -00411140: 7365 7276 6963 655f 6175 6469 7464 5f65  service_auditd_e
│ │ │ -00411150: 6e61 626c 6564 0a0a 2d20 6e61 6d65 3a20  nabled..- name: 
│ │ │ -00411160: 456e 6162 6c65 2061 7564 6974 6420 5365  Enable auditd Se
│ │ │ -00411170: 7276 6963 6520 2d20 456e 6162 6c65 2073  rvice - Enable s
│ │ │ -00411180: 6572 7669 6365 2061 7564 6974 640a 2020  ervice auditd.  
│ │ │ -00411190: 626c 6f63 6b3a 0a0a 2020 2d20 6e61 6d65  block:..  - name
│ │ │ -004111a0: 3a20 4761 7468 6572 2074 6865 2070 6163  : Gather the pac
│ │ │ -004111b0: 6b61 6765 2066 6163 7473 0a20 2020 2070  kage facts.    p
│ │ │ -004111c0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ -004111d0: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ -004111e0: 6f0a 0a20 202d 206e 616d 653a 2045 6e61  o..  - name: Ena
│ │ │ -004111f0: 626c 6520 6175 6469 7464 2053 6572 7669  ble auditd Servi
│ │ │ -00411200: 6365 202d 2045 6e61 626c 6520 5365 7276  ce - Enable Serv
│ │ │ -00411210: 6963 6520 6175 6469 7464 0a20 2020 2061  ice auditd.    a
│ │ │ -00411220: 6e73 6962 6c65 2e62 7569 6c74 696e 2e73  nsible.builtin.s
│ │ │ -00411230: 7973 7465 6d64 3a0a 2020 2020 2020 6e61  ystemd:.      na
│ │ │ -00411240: 6d65 3a20 6175 6469 7464 0a20 2020 2020  me: auditd.     
│ │ │ -00411250: 2065 6e61 626c 6564 3a20 7472 7565 0a20   enabled: true. 
│ │ │ -00411260: 2020 2020 2073 7461 7465 3a20 7374 6172       state: star
│ │ │ -00411270: 7465 640a 2020 2020 2020 6d61 736b 6564  ted.      masked
│ │ │ -00411280: 3a20 6661 6c73 650a 2020 2020 7768 656e  : false.    when
│ │ │ -00411290: 3a0a 2020 2020 2d20 2722 6175 6469 7464  :.    - '"auditd
│ │ │ -004112a0: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ -004112b0: 7473 2e70 6163 6b61 6765 7327 0a20 2077  ts.packages'.  w
│ │ │ -004112c0: 6865 6e3a 0a20 202d 2027 226c 696e 7578  hen:.  - '"linux
│ │ │ -004112d0: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ -004112e0: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ -004112f0: 270a 2020 2d20 2722 6175 6469 7464 2220  '.  - '"auditd" 
│ │ │ -00411300: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -00411310: 2e70 6163 6b61 6765 7327 0a20 2074 6167  .packages'.  tag
│ │ │ -00411320: 733a 0a20 202d 2043 4a49 532d 352e 342e  s:.  - CJIS-5.4.
│ │ │ -00411330: 312e 310a 2020 2d20 4449 5341 2d53 5449  1.1.  - DISA-STI
│ │ │ -00411340: 472d 5542 5455 2d32 302d 3031 3031 3832  G-UBTU-20-010182
│ │ │ -00411350: 0a20 202d 204e 4953 542d 3830 302d 3137  .  - NIST-800-17
│ │ │ -00411360: 312d 332e 332e 310a 2020 2d20 4e49 5354  1-3.3.1.  - NIST
│ │ │ -00411370: 2d38 3030 2d31 3731 2d33 2e33 2e32 0a20  -800-171-3.3.2. 
│ │ │ -00411380: 202d 204e 4953 542d 3830 302d 3137 312d   - NIST-800-171-
│ │ │ -00411390: 332e 332e 360a 2020 2d20 4e49 5354 2d38  3.3.6.  - NIST-8
│ │ │ -004113a0: 3030 2d35 332d 4143 2d32 2867 290a 2020  00-53-AC-2(g).  
│ │ │ -004113b0: 2d20 4e49 5354 2d38 3030 2d35 332d 4143  - NIST-800-53-AC
│ │ │ -004113c0: 2d36 2839 290a 2020 2d20 4e49 5354 2d38  -6(9).  - NIST-8
│ │ │ -004113d0: 3030 2d35 332d 4155 2d31 300a 2020 2d20  00-53-AU-10.  - 
│ │ │ -004113e0: 4e49 5354 2d38 3030 2d35 332d 4155 2d31  NIST-800-53-AU-1
│ │ │ -004113f0: 3228 6329 0a20 202d 204e 4953 542d 3830  2(c).  - NIST-80
│ │ │ -00411400: 302d 3533 2d41 552d 3134 2831 290a 2020  0-53-AU-14(1).  
│ │ │ -00411410: 2d20 4e49 5354 2d38 3030 2d35 332d 4155  - NIST-800-53-AU
│ │ │ -00411420: 2d32 2864 290a 2020 2d20 4e49 5354 2d38  -2(d).  - NIST-8
│ │ │ -00411430: 3030 2d35 332d 4155 2d33 0a20 202d 204e  00-53-AU-3.  - N
│ │ │ -00411440: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -00411450: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ -00411460: 3533 2d53 492d 3428 3233 290a 2020 2d20  53-SI-4(23).  - 
│ │ │ -00411470: 5043 492d 4453 532d 5265 712d 3130 2e31  PCI-DSS-Req-10.1
│ │ │ -00411480: 0a20 202d 2050 4349 2d44 5353 7634 2d31  .  - PCI-DSSv4-1
│ │ │ -00411490: 302e 320a 2020 2d20 5043 492d 4453 5376  0.2.  - PCI-DSSv
│ │ │ -004114a0: 342d 3130 2e32 2e31 0a20 202d 2065 6e61  4-10.2.1.  - ena
│ │ │ -004114b0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -004114c0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -004114d0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -004114e0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -004114f0: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -00411500: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -00411510: 7365 7276 6963 655f 6175 6469 7464 5f65  service_auditd_e
│ │ │ -00411520: 6e61 626c 6564 0a3c 2f63 6f64 653e 3c2f  nabled.
│ │ │ +00410a80: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +00410a90: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +00410aa0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +00410ae0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +00410af0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +00410b10: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ +00410b30: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761  - name: Ga
│ │ │ +00410b40: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ +00410b50: 2066 6163 7473 0a20 2070 6163 6b61 6765   facts.  package
│ │ │ +00410b60: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61  _facts:.    mana
│ │ │ +00410b70: 6765 723a 2061 7574 6f0a 2020 7461 6773  ger: auto.  tags
│ │ │ +00410b80: 3a0a 2020 2d20 434a 4953 2d35 2e34 2e31  :.  - CJIS-5.4.1
│ │ │ +00410b90: 2e31 0a20 202d 2044 4953 412d 5354 4947  .1.  - DISA-STIG
│ │ │ +00410ba0: 2d55 4254 552d 3230 2d30 3130 3138 320a  -UBTU-20-010182.
│ │ │ +00410bb0: 2020 2d20 4e49 5354 2d38 3030 2d31 3731    - NIST-800-171
│ │ │ +00410bc0: 2d33 2e33 2e31 0a20 202d 204e 4953 542d  -3.3.1.  - NIST-
│ │ │ +00410bd0: 3830 302d 3137 312d 332e 332e 320a 2020  800-171-3.3.2.  
│ │ │ +00410be0: 2d20 4e49 5354 2d38 3030 2d31 3731 2d33  - NIST-800-171-3
│ │ │ +00410bf0: 2e33 2e36 0a20 202d 204e 4953 542d 3830  .3.6.  - NIST-80
│ │ │ +00410c00: 302d 3533 2d41 432d 3228 6729 0a20 202d  0-53-AC-2(g).  -
│ │ │ +00410c10: 204e 4953 542d 3830 302d 3533 2d41 432d   NIST-800-53-AC-
│ │ │ +00410c20: 3628 3929 0a20 202d 204e 4953 542d 3830  6(9).  - NIST-80
│ │ │ +00410c30: 302d 3533 2d41 552d 3130 0a20 202d 204e  0-53-AU-10.  - N
│ │ │ +00410c40: 4953 542d 3830 302d 3533 2d41 552d 3132  IST-800-53-AU-12
│ │ │ +00410c50: 2863 290a 2020 2d20 4e49 5354 2d38 3030  (c).  - NIST-800
│ │ │ +00410c60: 2d35 332d 4155 2d31 3428 3129 0a20 202d  -53-AU-14(1).  -
│ │ │ +00410c70: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ +00410c80: 3228 6429 0a20 202d 204e 4953 542d 3830  2(d).  - NIST-80
│ │ │ +00410c90: 302d 3533 2d41 552d 330a 2020 2d20 4e49  0-53-AU-3.  - NI
│ │ │ +00410ca0: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +00410cb0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +00410cc0: 332d 5349 2d34 2832 3329 0a20 202d 2050  3-SI-4(23).  - P
│ │ │ +00410cd0: 4349 2d44 5353 2d52 6571 2d31 302e 310a  CI-DSS-Req-10.1.
│ │ │ +00410ce0: 2020 2d20 5043 492d 4453 5376 342d 3130    - PCI-DSSv4-10
│ │ │ +00410cf0: 2e32 0a20 202d 2050 4349 2d44 5353 7634  .2.  - PCI-DSSv4
│ │ │ +00410d00: 2d31 302e 322e 310a 2020 2d20 656e 6162  -10.2.1.  - enab
│ │ │ +00410d10: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +00410d20: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +00410d30: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +00410d40: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ +00410d50: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +00410d60: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ +00410d70: 6572 7669 6365 5f61 7564 6974 645f 656e  ervice_auditd_en
│ │ │ +00410d80: 6162 6c65 640a 0a2d 206e 616d 653a 2045  abled..- name: E
│ │ │ +00410d90: 6e61 626c 6520 6175 6469 7464 2053 6572  nable auditd Ser
│ │ │ +00410da0: 7669 6365 202d 2045 6e61 626c 6520 7365  vice - Enable se
│ │ │ +00410db0: 7276 6963 6520 6175 6469 7464 0a20 2062  rvice auditd.  b
│ │ │ +00410dc0: 6c6f 636b 3a0a 0a20 202d 206e 616d 653a  lock:..  - name:
│ │ │ +00410dd0: 2047 6174 6865 7220 7468 6520 7061 636b   Gather the pack
│ │ │ +00410de0: 6167 6520 6661 6374 730a 2020 2020 7061  age facts.    pa
│ │ │ +00410df0: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ +00410e00: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ +00410e10: 0a0a 2020 2d20 6e61 6d65 3a20 456e 6162  ..  - name: Enab
│ │ │ +00410e20: 6c65 2061 7564 6974 6420 5365 7276 6963  le auditd Servic
│ │ │ +00410e30: 6520 2d20 456e 6162 6c65 2053 6572 7669  e - Enable Servi
│ │ │ +00410e40: 6365 2061 7564 6974 640a 2020 2020 616e  ce auditd.    an
│ │ │ +00410e50: 7369 626c 652e 6275 696c 7469 6e2e 7379  sible.builtin.sy
│ │ │ +00410e60: 7374 656d 643a 0a20 2020 2020 206e 616d  stemd:.      nam
│ │ │ +00410e70: 653a 2061 7564 6974 640a 2020 2020 2020  e: auditd.      
│ │ │ +00410e80: 656e 6162 6c65 643a 2074 7275 650a 2020  enabled: true.  
│ │ │ +00410e90: 2020 2020 7374 6174 653a 2073 7461 7274      state: start
│ │ │ +00410ea0: 6564 0a20 2020 2020 206d 6173 6b65 643a  ed.      masked:
│ │ │ +00410eb0: 2066 616c 7365 0a20 2020 2077 6865 6e3a   false.    when:
│ │ │ +00410ec0: 0a20 2020 202d 2027 2261 7564 6974 6422  .    - '"auditd"
│ │ │ +00410ed0: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ +00410ee0: 732e 7061 636b 6167 6573 270a 2020 7768  s.packages'.  wh
│ │ │ +00410ef0: 656e 3a0a 2020 2d20 2722 6c69 6e75 782d  en:.  - '"linux-
│ │ │ +00410f00: 6261 7365 2220 696e 2061 6e73 6962 6c65  base" in ansible
│ │ │ +00410f10: 5f66 6163 7473 2e70 6163 6b61 6765 7327  _facts.packages'
│ │ │ +00410f20: 0a20 202d 2027 2261 7564 6974 6422 2069  .  - '"auditd" i
│ │ │ +00410f30: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +00410f40: 7061 636b 6167 6573 270a 2020 7461 6773  packages'.  tags
│ │ │ +00410f50: 3a0a 2020 2d20 434a 4953 2d35 2e34 2e31  :.  - CJIS-5.4.1
│ │ │ +00410f60: 2e31 0a20 202d 2044 4953 412d 5354 4947  .1.  - DISA-STIG
│ │ │ +00410f70: 2d55 4254 552d 3230 2d30 3130 3138 320a  -UBTU-20-010182.
│ │ │ +00410f80: 2020 2d20 4e49 5354 2d38 3030 2d31 3731    - NIST-800-171
│ │ │ +00410f90: 2d33 2e33 2e31 0a20 202d 204e 4953 542d  -3.3.1.  - NIST-
│ │ │ +00410fa0: 3830 302d 3137 312d 332e 332e 320a 2020  800-171-3.3.2.  
│ │ │ +00410fb0: 2d20 4e49 5354 2d38 3030 2d31 3731 2d33  - NIST-800-171-3
│ │ │ +00410fc0: 2e33 2e36 0a20 202d 204e 4953 542d 3830  .3.6.  - NIST-80
│ │ │ +00410fd0: 302d 3533 2d41 432d 3228 6729 0a20 202d  0-53-AC-2(g).  -
│ │ │ +00410fe0: 204e 4953 542d 3830 302d 3533 2d41 432d   NIST-800-53-AC-
│ │ │ +00410ff0: 3628 3929 0a20 202d 204e 4953 542d 3830  6(9).  - NIST-80
│ │ │ +00411000: 302d 3533 2d41 552d 3130 0a20 202d 204e  0-53-AU-10.  - N
│ │ │ +00411010: 4953 542d 3830 302d 3533 2d41 552d 3132  IST-800-53-AU-12
│ │ │ +00411020: 2863 290a 2020 2d20 4e49 5354 2d38 3030  (c).  - NIST-800
│ │ │ +00411030: 2d35 332d 4155 2d31 3428 3129 0a20 202d  -53-AU-14(1).  -
│ │ │ +00411040: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ +00411050: 3228 6429 0a20 202d 204e 4953 542d 3830  2(d).  - NIST-80
│ │ │ +00411060: 302d 3533 2d41 552d 330a 2020 2d20 4e49  0-53-AU-3.  - NI
│ │ │ +00411070: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +00411080: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +00411090: 332d 5349 2d34 2832 3329 0a20 202d 2050  3-SI-4(23).  - P
│ │ │ +004110a0: 4349 2d44 5353 2d52 6571 2d31 302e 310a  CI-DSS-Req-10.1.
│ │ │ +004110b0: 2020 2d20 5043 492d 4453 5376 342d 3130    - PCI-DSSv4-10
│ │ │ +004110c0: 2e32 0a20 202d 2050 4349 2d44 5353 7634  .2.  - PCI-DSSv4
│ │ │ +004110d0: 2d31 302e 322e 310a 2020 2d20 656e 6162  -10.2.1.  - enab
│ │ │ +004110e0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +004110f0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +00411100: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +00411110: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ +00411120: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +00411130: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ +00411140: 6572 7669 6365 5f61 7564 6974 645f 656e  ervice_auditd_en
│ │ │ +00411150: 6162 6c65 640a 3c2f 636f 6465 3e3c 2f70  abled.

Remedia │ │ │ +00411210: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ +00411220: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +00411230: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +00411240: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +00411250: 7365 2220 6964 3d22 6964 6d32 3932 3334 se" id="idm29234 │ │ │ +00411260: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ +004112b0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +004112c0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +004112e0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +00411300: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +00411310: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ +00411350: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ +00411360: 6520 656e 6162 6c65 5f61 7564 6974 640a e enable_auditd. │ │ │ +00411370: 0a63 6c61 7373 2065 6e61 626c 655f 6175 .class enable_au │ │ │ +00411380: 6469 7464 207b 0a20 2073 6572 7669 6365 ditd {. service │ │ │ +00411390: 207b 2761 7564 6974 6427 3a0a 2020 2020 {'auditd':. │ │ │ +004113a0: 656e 6162 6c65 203d 2667 743b 2074 7275 enable => tru │ │ │ +004113b0: 652c 0a20 2020 2065 6e73 7572 6520 3d26 e,. ensure =& │ │ │ +004113c0: 6774 3b20 2772 756e 6e69 6e67 272c 0a20 gt; 'running',. │ │ │ +004113d0: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.
Remediat │ │ │ +00411490: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue │ │ │ +004114a0: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet .. │ │ │ +004114b0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
.[customi
│ │ │ +00411500: 7a61 7469 6f6e 732e 7365 7276 6963 6573  zations.services
│ │ │ +00411510: 5d0a 656e 6162 6c65 6420 3d20 5b22 6175  ].enabled = ["au
│ │ │ +00411520: 6469 7464 225d 0a3c 2f63 6f64 653e 3c2f  ditd"].
'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -178,14 +161,31 @@ │ │ │ │ - PCI-DSSv4-11.5.2 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_aide_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_aide │ │ │ │ + │ │ │ │ +class install_aide { │ │ │ │ + package { 'aide': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "aide" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -638,26 +638,14 @@ │ │ │ │ $ apt-get remove prelink │ │ │ │ The use of the prelink package can interfere with the operation of AIDE since it │ │ │ │ Rationale: binaries. Prelinking can also increase damage caused by vulnerability in a common library │ │ │ │ like libc. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_prelink_removed │ │ │ │ References: _c_i_s 1.6.3 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_prelink │ │ │ │ - │ │ │ │ -class remove_prelink { │ │ │ │ - package { 'prelink': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: medium │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Check If Prelinked Is Installed │ │ │ │ ansible.builtin.stat: │ │ │ │ @@ -691,14 +679,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_disruption │ │ │ │ - medium_complexity │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_prelink_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_prelink │ │ │ │ + │ │ │ │ +class remove_prelink { │ │ │ │ + package { 'prelink': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: medium │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ if [[ -f /usr/sbin/prelink ]]; │ │ │ │ @@ -1065,31 +1065,14 @@ │ │ │ │ _i_s_m 1382, 1384, 1386 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ References: _o_s_p_p FMT_MOF_EXT.1 │ │ │ │ _o_s_-_s_r_g SRG-OS-000324-GPOS-00125 │ │ │ │ _c_i_s 1.3.1 │ │ │ │ _a_n_s_s_i R33 │ │ │ │ _p_c_i_d_s_s_4 2.2.6, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "sudo" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_sudo │ │ │ │ - │ │ │ │ -class install_sudo { │ │ │ │ - package { 'sudo': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -1116,14 +1099,31 @@ │ │ │ │ - PCI-DSSv4-2.2.6 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_sudo_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_sudo │ │ │ │ + │ │ │ │ +class install_sudo { │ │ │ │ + package { 'sudo': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "sudo" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -4446,31 +4446,14 @@ │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_pam_pwquality_installed │ │ │ │ _d_i_s_a CCI-000366 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00225 │ │ │ │ References: _s_t_i_g_i_d UBTU-20-010057 │ │ │ │ _c_i_s 5.3.1 │ │ │ │ _s_t_i_g_r_e_f SV-238228r653859_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "libpam-pwquality" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_libpam-pwquality │ │ │ │ - │ │ │ │ -class install_libpam-pwquality { │ │ │ │ - package { 'libpam-pwquality': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -4493,14 +4476,31 @@ │ │ │ │ - DISA-STIG-UBTU-20-010057 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_pam_pwquality_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_libpam-pwquality │ │ │ │ + │ │ │ │ +class install_libpam-pwquality { │ │ │ │ + package { 'libpam-pwquality': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "libpam-pwquality" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status}\n' 'libpam-runtime' 2>/dev/null | grep - │ │ │ │ @@ -6825,31 +6825,14 @@ │ │ │ │ _d_i_s_a CCI-001764, CCI-001774, CCI-002165, CCI-002235 │ │ │ │ _o_s_-_s_r_g SRG-OS-000368-GPOS-00154, SRG-OS-000312-GPOS-00122, SRG-OS-000312-GPOS-00123, │ │ │ │ SRG-OS-000312-GPOS-00124, SRG-OS-000324-GPOS-00125, SRG-OS-000370-GPOS-00155 │ │ │ │ References: _s_t_i_g_i_d UBTU-20-010439 │ │ │ │ _c_i_s 1.7.1.1 │ │ │ │ _a_n_s_s_i R45 │ │ │ │ _s_t_i_g_r_e_f SV-238360r853435_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "apparmor" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_apparmor │ │ │ │ - │ │ │ │ -class install_apparmor { │ │ │ │ - package { 'apparmor': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Ensure apparmor is installed │ │ │ │ package: │ │ │ │ @@ -6860,14 +6843,31 @@ │ │ │ │ - DISA-STIG-UBTU-20-010439 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_apparmor_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_apparmor │ │ │ │ + │ │ │ │ +class install_apparmor { │ │ │ │ + package { 'apparmor': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "apparmor" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if [ ! -f /.dockerenv ] && [ ! -f /run/.containerenv ]; then │ │ │ │ @@ -7814,31 +7814,14 @@ │ │ │ │ References: _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _o_s_-_s_r_g SRG-OS-000479-GPOS-00224, SRG-OS-000051-GPOS-00024, SRG-OS-000480-GPOS- │ │ │ │ 00227 │ │ │ │ _c_i_s 4.2.1.1 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "rsyslog" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_rsyslog │ │ │ │ - │ │ │ │ -class install_rsyslog { │ │ │ │ - package { 'rsyslog': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -7861,14 +7844,31 @@ │ │ │ │ - NIST-800-53-CM-6(a) │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_rsyslog_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_rsyslog │ │ │ │ + │ │ │ │ +class install_rsyslog { │ │ │ │ + package { 'rsyslog': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "rsyslog" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -7899,31 +7899,14 @@ │ │ │ │ A.15.2.1, A.15.2.2, A.17.2.1 │ │ │ │ _n_i_s_t CM-6(a), AU-4(1) │ │ │ │ _n_i_s_t_-_c_s_f DE.CM-1, DE.CM-3, DE.CM-7, ID.SC-4, PR.DS-4, PR.PT-1 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00227 │ │ │ │ _s_t_i_g_i_d UBTU-20-010432 │ │ │ │ _c_i_s 4.2.1.2 │ │ │ │ _s_t_i_g_r_e_f SV-238353r654234_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["rsyslog"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_rsyslog │ │ │ │ - │ │ │ │ -class enable_rsyslog { │ │ │ │ - service {'rsyslog': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -7961,14 +7944,31 @@ │ │ │ │ - NIST-800-53-CM-6(a) │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_rsyslog_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_rsyslog │ │ │ │ + │ │ │ │ +class enable_rsyslog { │ │ │ │ + service {'rsyslog': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["rsyslog"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -8478,31 +8478,14 @@ │ │ │ │ The iptables-persistent package can be installed with the following command: │ │ │ │ $ apt-get install iptables-persistent │ │ │ │ Rationale: A method of configuring and maintaining firewall rules is necessary to configure a Host │ │ │ │ Based Firewall. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_iptables-persistent_installed │ │ │ │ References: _c_i_s 3.5.3.1.1 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "iptables-persistent" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_iptables-persistent │ │ │ │ - │ │ │ │ -class install_iptables-persistent { │ │ │ │ - package { 'iptables-persistent': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -8523,14 +8506,31 @@ │ │ │ │ tags: │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_iptables-persistent_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_iptables-persistent │ │ │ │ + │ │ │ │ +class install_iptables-persistent { │ │ │ │ + package { 'iptables-persistent': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "iptables-persistent" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status}\n' 'iptables' 2>/dev/null | grep - │ │ │ │ @@ -8548,31 +8548,14 @@ │ │ │ │ operators to set up firewalls and IP masquerading, etc. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_iptables_installed │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ References: _p_c_i_d_s_s Req-1.4.1 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00227 │ │ │ │ _c_i_s 3.5.3.1.1 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "iptables" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_iptables │ │ │ │ - │ │ │ │ -class install_iptables { │ │ │ │ - package { 'iptables': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -8597,14 +8580,31 @@ │ │ │ │ - PCI-DSS-Req-1.4.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_iptables_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_iptables │ │ │ │ + │ │ │ │ +class install_iptables { │ │ │ │ + package { 'iptables': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "iptables" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if ( dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -8619,26 +8619,14 @@ │ │ │ │ The iptables-persistent package can be removed with the following command: │ │ │ │ $ apt-get remove iptables-persistent │ │ │ │ Rationale: Running both ufw and the services included in the iptables-persistent package may lead to │ │ │ │ conflict. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_iptables-persistent_removed │ │ │ │ References: _c_i_s 3.5.1.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_iptables-persistent │ │ │ │ - │ │ │ │ -class remove_iptables-persistent { │ │ │ │ - package { 'iptables-persistent': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -8659,14 +8647,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_iptables-persistent_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_iptables-persistent │ │ │ │ + │ │ │ │ +class remove_iptables-persistent { │ │ │ │ + package { 'iptables-persistent': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status}\n' 'ufw' 2>/dev/null | grep -q '^installed'; │ │ │ │ @@ -13462,31 +13462,14 @@ │ │ │ │ nftables is a subsystem of the Linux kernel that can protect against threats originating │ │ │ │ Rationale: from within a corporate network to include malicious mobile code and poorly configured │ │ │ │ software on a host. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_nftables_installed │ │ │ │ References: _c_i_s 3.5.2.1 │ │ │ │ _p_c_i_d_s_s_4 1.2.1, 1.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "nftables" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_nftables │ │ │ │ - │ │ │ │ -class install_nftables { │ │ │ │ - package { 'nftables': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -13511,14 +13494,31 @@ │ │ │ │ - PCI-DSSv4-1.2.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_nftables_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_nftables │ │ │ │ + │ │ │ │ +class install_nftables { │ │ │ │ + package { 'nftables': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "nftables" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if ( dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -13534,26 +13534,14 @@ │ │ │ │ packets/datagrams/frames and is the successor to iptables. The nftables package can be removed with │ │ │ │ the following command: │ │ │ │ $ apt-get remove nftables │ │ │ │ Rationale: Running both firewalld and nftables may lead to conflict. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_nftables_removed │ │ │ │ References: _c_i_s 3.5.3.1.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_nftables │ │ │ │ - │ │ │ │ -class remove_nftables { │ │ │ │ - package { 'nftables': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure nftables is removed │ │ │ │ package: │ │ │ │ @@ -13562,14 +13550,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_nftables_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_nftables │ │ │ │ + │ │ │ │ +class remove_nftables { │ │ │ │ + package { 'nftables': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove nftables │ │ │ │ @@ -13584,31 +13584,14 @@ │ │ │ │ nftables service The nftables service can be enabled with the following command: │ │ │ │ $ sudo systemctl enable nftables.service │ │ │ │ Rationale: The nftables service restores the nftables rules from the rules files referenced in the / │ │ │ │ etc/sysconfig/nftables.conf file during boot or the starting of the nftables service │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_nftables_enabled │ │ │ │ References: _c_i_s 3.5.2.9 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["nftables"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_nftables │ │ │ │ - │ │ │ │ -class enable_nftables { │ │ │ │ - service {'nftables': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -13641,14 +13624,31 @@ │ │ │ │ tags: │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_nftables_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_nftables │ │ │ │ + │ │ │ │ +class enable_nftables { │ │ │ │ + service {'nftables': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["nftables"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if ( dpkg-query --show --showformat='${db:Status-Status}\n' 'nftables' 2>/dev/null | grep - │ │ │ │ @@ -13672,50 +13672,14 @@ │ │ │ │ systemctl disable nftables │ │ │ │ Rationale: Running both firewalld and nftables may lead to conflict. nftables is actually one of the │ │ │ │ backends for firewalld management tools. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_nftables_disabled │ │ │ │ References: _c_i_s 3.5.3.1.2 │ │ │ │ _p_c_i_d_s_s_4 1.2.1, 1.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -masked = ["nftables"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: medium │ │ │ │ -RReebboooott:: true │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ -kind: MachineConfig │ │ │ │ -spec: │ │ │ │ - config: │ │ │ │ - ignition: │ │ │ │ - version: 3.1.0 │ │ │ │ - systemd: │ │ │ │ - units: │ │ │ │ - - name: nftables.service │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ - - name: nftables.socket │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include disable_nftables │ │ │ │ - │ │ │ │ -class disable_nftables { │ │ │ │ - service {'nftables': │ │ │ │ - enable => false, │ │ │ │ - ensure => 'stopped', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -13802,14 +13766,50 @@ │ │ │ │ - PCI-DSSv4-1.2.1 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_nftables_disabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: medium │ │ │ │ +RReebboooott:: true │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ +kind: MachineConfig │ │ │ │ +spec: │ │ │ │ + config: │ │ │ │ + ignition: │ │ │ │ + version: 3.1.0 │ │ │ │ + systemd: │ │ │ │ + units: │ │ │ │ + - name: nftables.service │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ + - name: nftables.socket │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include disable_nftables │ │ │ │ + │ │ │ │ +class disable_nftables { │ │ │ │ + service {'nftables': │ │ │ │ + enable => false, │ │ │ │ + ensure => 'stopped', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +masked = ["nftables"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if ( dpkg-query --show --showformat='${db:Status-Status}\n' 'firewalld' 2>/dev/null | grep - │ │ │ │ @@ -14351,31 +14351,14 @@ │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_ufw_installed │ │ │ │ _d_i_s_a CCI-002314 │ │ │ │ _o_s_-_s_r_g SRG-OS-000297-GPOS-00115 │ │ │ │ References: _s_t_i_g_i_d UBTU-20-010433 │ │ │ │ _c_i_s 3.5.1.1 │ │ │ │ _s_t_i_g_r_e_f SV-238354r853429_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "ufw" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_ufw │ │ │ │ - │ │ │ │ -class install_ufw { │ │ │ │ - package { 'ufw': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -14398,14 +14381,31 @@ │ │ │ │ - DISA-STIG-UBTU-20-010433 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_ufw_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_ufw │ │ │ │ + │ │ │ │ +class install_ufw { │ │ │ │ + package { 'ufw': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "ufw" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -14419,26 +14419,14 @@ │ │ │ │ ****** RRuullee? ?  RReemmoovvee uuffww PPaacckkaaggee ? ? _[[_rr_ee_ff_]] ****** │ │ │ │ The ufw package can be removed with the following command: │ │ │ │ $ apt-get remove ufw │ │ │ │ Rationale: Running iptables.persistent with ufw enabled may lead to conflict and unexpected results. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_ufw_removed │ │ │ │ References: _c_i_s 3.5.2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_ufw │ │ │ │ - │ │ │ │ -class remove_ufw { │ │ │ │ - package { 'ufw': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -14459,14 +14447,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_ufw_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_ufw │ │ │ │ + │ │ │ │ +class remove_ufw { │ │ │ │ + package { 'ufw': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -14490,31 +14490,14 @@ │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_ufw_enabled │ │ │ │ _d_i_s_a CCI-002314 │ │ │ │ _o_s_-_s_r_g SRG-OS-000297-GPOS-00115 │ │ │ │ References: _s_t_i_g_i_d UBTU-20-010434 │ │ │ │ _c_i_s 3.5.1.3 │ │ │ │ _s_t_i_g_r_e_f SV-238355r853430_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["ufw"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_ufw │ │ │ │ - │ │ │ │ -class enable_ufw { │ │ │ │ - service {'ufw': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -14550,14 +14533,31 @@ │ │ │ │ - DISA-STIG-UBTU-20-010434 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_ufw_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_ufw │ │ │ │ + │ │ │ │ +class enable_ufw { │ │ │ │ + service {'ufw': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["ufw"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -17111,50 +17111,14 @@ │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.11.2.6, A.13.1.1, A.13.2.1, A.18.1.4, A.6.2.1, A.6.2.2, A.7.1.1, │ │ │ │ A.9.2.1, A.9.2.2, A.9.2.3, A.9.2.4, A.9.2.6, A.9.3.1, A.9.4.2, A.9.4.3 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a), MP-7 │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-1, PR.AC-3, PR.AC-6, PR.AC-7 │ │ │ │ _o_s_-_s_r_g SRG-OS-000114-GPOS-00059, SRG-OS-000378-GPOS-00163, SRG-OS-000480-GPOS- │ │ │ │ 00227 │ │ │ │ _c_i_s 1.1.23 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -masked = ["autofs"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: medium │ │ │ │ -RReebboooott:: true │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ -kind: MachineConfig │ │ │ │ -spec: │ │ │ │ - config: │ │ │ │ - ignition: │ │ │ │ - version: 3.1.0 │ │ │ │ - systemd: │ │ │ │ - units: │ │ │ │ - - name: autofs.service │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ - - name: autofs.socket │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include disable_autofs │ │ │ │ - │ │ │ │ -class disable_autofs { │ │ │ │ - service {'autofs': │ │ │ │ - enable => false, │ │ │ │ - ensure => 'stopped', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -17255,14 +17219,50 @@ │ │ │ │ - NIST-800-53-MP-7 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_autofs_disabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: medium │ │ │ │ +RReebboooott:: true │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ +kind: MachineConfig │ │ │ │ +spec: │ │ │ │ + config: │ │ │ │ + ignition: │ │ │ │ + version: 3.1.0 │ │ │ │ + systemd: │ │ │ │ + units: │ │ │ │ + - name: autofs.service │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ + - name: autofs.socket │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include disable_autofs │ │ │ │ + │ │ │ │ +class disable_autofs { │ │ │ │ + service {'autofs': │ │ │ │ + enable => false, │ │ │ │ + ensure => 'stopped', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +masked = ["autofs"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if ( dpkg-query --show --showformat='${db:Status-Status}\n' 'autofs' 2>/dev/null | grep - │ │ │ │ @@ -20556,26 +20556,14 @@ │ │ │ │ SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.3 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_avahi-daemon │ │ │ │ - │ │ │ │ -class remove_avahi-daemon { │ │ │ │ - package { 'avahi-daemon': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure avahi-daemon is removed │ │ │ │ package: │ │ │ │ @@ -20587,14 +20575,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_avahi_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_avahi-daemon │ │ │ │ + │ │ │ │ +class remove_avahi-daemon { │ │ │ │ + package { 'avahi-daemon': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove avahi-daemon │ │ │ │ @@ -20623,50 +20623,14 @@ │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.3 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -masked = ["avahi-daemon"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: medium │ │ │ │ -RReebboooott:: true │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ -kind: MachineConfig │ │ │ │ -spec: │ │ │ │ - config: │ │ │ │ - ignition: │ │ │ │ - version: 3.1.0 │ │ │ │ - systemd: │ │ │ │ - units: │ │ │ │ - - name: avahi-daemon.service │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ - - name: avahi-daemon.socket │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include disable_avahi-daemon │ │ │ │ - │ │ │ │ -class disable_avahi-daemon { │ │ │ │ - service {'avahi-daemon': │ │ │ │ - enable => false, │ │ │ │ - ensure => 'stopped', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -20767,14 +20731,50 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_avahi-daemon_disabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: medium │ │ │ │ +RReebboooott:: true │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ +kind: MachineConfig │ │ │ │ +spec: │ │ │ │ + config: │ │ │ │ + ignition: │ │ │ │ + version: 3.1.0 │ │ │ │ + systemd: │ │ │ │ + units: │ │ │ │ + - name: avahi-daemon.service │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ + - name: avahi-daemon.socket │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include disable_avahi-daemon │ │ │ │ + │ │ │ │ +class disable_avahi-daemon { │ │ │ │ + service {'avahi-daemon': │ │ │ │ + enable => false, │ │ │ │ + ensure => 'stopped', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +masked = ["avahi-daemon"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if ( dpkg-query --show --showformat='${db:Status-Status}\n' 'avahi-daemon' 2>/dev/null | grep - │ │ │ │ @@ -21320,31 +21320,14 @@ │ │ │ │ SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 5.1.1 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["cron"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_cron │ │ │ │ - │ │ │ │ -class enable_cron { │ │ │ │ - service {'cron': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -21378,14 +21361,31 @@ │ │ │ │ - NIST-800-53-CM-6(a) │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_cron_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_cron │ │ │ │ + │ │ │ │ +class enable_cron { │ │ │ │ + service {'cron': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["cron"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -22907,26 +22907,14 @@ │ │ │ │ The support for Yellowpages should not be installed unless it is required. │ │ │ │ NIS is the historical SUN service for central account management, more and more replaced │ │ │ │ Rationale: by LDAP. NIS does not support efficiently security constraints, ACL, etc. and should not │ │ │ │ be used. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_nis_removed │ │ │ │ References: _c_i_s 2.2.17 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_nis │ │ │ │ - │ │ │ │ -class remove_nis { │ │ │ │ - package { 'nis': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure nis is removed │ │ │ │ package: │ │ │ │ @@ -22935,14 +22923,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_nis_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_nis │ │ │ │ + │ │ │ │ +class remove_nis { │ │ │ │ + package { 'nis': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove nis │ │ │ │ @@ -22984,26 +22984,14 @@ │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.5 │ │ │ │ _a_n_s_s_i R62 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_isc-dhcp-server │ │ │ │ - │ │ │ │ -class remove_isc-dhcp-server { │ │ │ │ - package { 'isc-dhcp-server': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure isc-dhcp-server is removed │ │ │ │ package: │ │ │ │ @@ -23017,14 +23005,26 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_dhcp_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_isc-dhcp-server │ │ │ │ + │ │ │ │ +class remove_isc-dhcp-server { │ │ │ │ + package { 'isc-dhcp-server': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove isc-dhcp-server │ │ │ │ @@ -23060,26 +23060,14 @@ │ │ │ │ SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.8 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_bind9 │ │ │ │ - │ │ │ │ -class remove_bind9 { │ │ │ │ - package { 'bind9': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure bind9 is removed │ │ │ │ package: │ │ │ │ @@ -23091,14 +23079,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_bind_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_bind9 │ │ │ │ + │ │ │ │ +class remove_bind9 { │ │ │ │ + package { 'bind9': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove bind9 │ │ │ │ @@ -23137,26 +23137,14 @@ │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a), IA-5(1)(c), IA-5(1).1(v), CM-7, CM-7.1(ii) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _o_s_-_s_r_g SRG-OS-000074-GPOS-00042, SRG-OS-000095-GPOS-00049, SRG-OS-000480-GPOS- │ │ │ │ 00227 │ │ │ │ _c_i_s 2.2.9 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_vsftpd │ │ │ │ - │ │ │ │ -class remove_vsftpd { │ │ │ │ - package { 'vsftpd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure vsftpd is removed │ │ │ │ package: │ │ │ │ @@ -23172,14 +23160,26 @@ │ │ │ │ - NIST-800-53-IA-5(1).1(v) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_vsftpd_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_vsftpd │ │ │ │ + │ │ │ │ +class remove_vsftpd { │ │ │ │ + package { 'vsftpd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove vsftpd │ │ │ │ @@ -23218,26 +23218,14 @@ │ │ │ │ References: SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.10 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_apache2 │ │ │ │ - │ │ │ │ -class remove_apache2 { │ │ │ │ - package { 'apache2': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure apache2 is removed │ │ │ │ package: │ │ │ │ @@ -23249,14 +23237,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_httpd_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_apache2 │ │ │ │ + │ │ │ │ +class remove_apache2 { │ │ │ │ + package { 'apache2': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove apache2 │ │ │ │ @@ -23284,26 +23284,14 @@ │ │ │ │ References: SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.10 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_nginx │ │ │ │ - │ │ │ │ -class remove_nginx { │ │ │ │ - package { 'nginx': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure nginx is removed │ │ │ │ package: │ │ │ │ @@ -23315,14 +23303,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_nginx_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_nginx │ │ │ │ + │ │ │ │ +class remove_nginx { │ │ │ │ + package { 'nginx': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove nginx │ │ │ │ @@ -23342,26 +23342,14 @@ │ │ │ │ The cyrus-imapd package can be removed with the following command: │ │ │ │ $ apt-get remove cyrus-imapd │ │ │ │ Rationale: If there is no need to make the cyrus-imapd software available, removing it provides a │ │ │ │ safeguard against its activation. │ │ │ │ Severity:  unknown │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_cyrus-imapd_removed │ │ │ │ References: _c_i_s 2.2.11 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_cyrus-imapd │ │ │ │ - │ │ │ │ -class remove_cyrus-imapd { │ │ │ │ - package { 'cyrus-imapd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure cyrus-imapd is removed │ │ │ │ package: │ │ │ │ @@ -23370,14 +23358,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_cyrus-imapd_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_cyrus-imapd │ │ │ │ + │ │ │ │ +class remove_cyrus-imapd { │ │ │ │ + package { 'cyrus-imapd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove cyrus-imapd │ │ │ │ @@ -23394,26 +23394,14 @@ │ │ │ │ The dovecot-core package can be removed with the following command: │ │ │ │ $ apt-get remove dovecot-core │ │ │ │ Rationale: If there is no need to make the Dovecot software available, removing it provides a │ │ │ │ safeguard against its activation. │ │ │ │ Severity:  unknown │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_dovecot_removed │ │ │ │ References: _c_i_s 2.2.11 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_dovecot-core │ │ │ │ - │ │ │ │ -class remove_dovecot-core { │ │ │ │ - package { 'dovecot-core': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure dovecot-core is removed │ │ │ │ package: │ │ │ │ @@ -23422,14 +23410,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_dovecot_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_dovecot-core │ │ │ │ + │ │ │ │ +class remove_dovecot-core { │ │ │ │ + package { 'dovecot-core': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove dovecot-core │ │ │ │ @@ -23459,26 +23459,14 @@ │ │ │ │ command: │ │ │ │ $ apt-get remove lapd-utils │ │ │ │ Rationale: If the system does not need to act as an LDAP client, it is recommended that the software │ │ │ │ is removed to reduce the potential attack surface. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_openldap-clients_removed │ │ │ │ References: _c_i_s 2.3.5 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_ldap-utils │ │ │ │ - │ │ │ │ -class remove_ldap-utils { │ │ │ │ - package { 'ldap-utils': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure ldap-utils is removed │ │ │ │ package: │ │ │ │ @@ -23487,14 +23475,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_openldap-clients_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_ldap-utils │ │ │ │ + │ │ │ │ +class remove_ldap-utils { │ │ │ │ + package { 'ldap-utils': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove ldap-utils │ │ │ │ @@ -23525,26 +23525,14 @@ │ │ │ │ SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_slapd │ │ │ │ - │ │ │ │ -class remove_slapd { │ │ │ │ - package { 'slapd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure slapd is removed │ │ │ │ package: │ │ │ │ @@ -23556,14 +23544,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_openldap-servers_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_slapd │ │ │ │ + │ │ │ │ +class remove_slapd { │ │ │ │ + package { 'slapd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove slapd │ │ │ │ @@ -23681,26 +23681,14 @@ │ │ │ │ then this service should be disabled. The rpcbind package can be removed with the following command: │ │ │ │ $ apt-get remove rpcbind │ │ │ │ Rationale: If the system does not require rpc based services, it is recommended that rpcbind be │ │ │ │ disabled to reduce the attack surface. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_rpcbind_removed │ │ │ │ References: _c_i_s 2.3.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_rpcbind │ │ │ │ - │ │ │ │ -class remove_rpcbind { │ │ │ │ - package { 'rpcbind': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -23721,14 +23709,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_rpcbind_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_rpcbind │ │ │ │ + │ │ │ │ +class remove_rpcbind { │ │ │ │ + package { 'rpcbind': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -23749,26 +23749,14 @@ │ │ │ │ The nfs-kernel-server package can be removed with the following command: │ │ │ │ $ apt-get remove nfs-kernel-server │ │ │ │ Rationale: If the system does not export NFS shares or act as an NFS client, it is recommended that │ │ │ │ these services be removed to reduce the remote attack surface. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_nfs-kernel-server_removed │ │ │ │ References: _c_i_s 2.2.7 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_nfs-kernel-server │ │ │ │ - │ │ │ │ -class remove_nfs-kernel-server { │ │ │ │ - package { 'nfs-kernel-server': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure nfs-kernel-server is removed │ │ │ │ package: │ │ │ │ @@ -23777,14 +23765,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_nfs-kernel-server_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_nfs-kernel-server │ │ │ │ + │ │ │ │ +class remove_nfs-kernel-server { │ │ │ │ + package { 'nfs-kernel-server': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove nfs-kernel-server │ │ │ │ @@ -23853,31 +23853,14 @@ │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ References: _o_s_-_s_r_g SRG-OS-000355-GPOS-00143 │ │ │ │ _s_t_i_g_i_d UBTU-20-010435 │ │ │ │ _c_i_s 2.2.1.1 │ │ │ │ _a_n_s_s_i R71 │ │ │ │ _p_c_i_d_s_s_4 10.6.1, 10.6 │ │ │ │ _s_t_i_g_r_e_f SV-238356r877038_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "chrony" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_chrony │ │ │ │ - │ │ │ │ -class install_chrony { │ │ │ │ - package { 'chrony': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -23906,14 +23889,31 @@ │ │ │ │ - PCI-DSSv4-10.6.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_chrony_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_chrony │ │ │ │ + │ │ │ │ +class install_chrony { │ │ │ │ + package { 'chrony': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "chrony" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -23934,31 +23934,14 @@ │ │ │ │ synchronization is working properly. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_chronyd_enabled │ │ │ │ _d_i_s_a CCI-004923 │ │ │ │ References: _i_s_m 0988, 1405 │ │ │ │ _o_s_-_s_r_g SRG-OS-000355-GPOS-00143 │ │ │ │ _c_i_s 2.2.1.3 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["chrony"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_chrony │ │ │ │ - │ │ │ │ -class enable_chrony { │ │ │ │ - service {'chrony': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -23992,14 +23975,31 @@ │ │ │ │ tags: │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_chronyd_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_chrony │ │ │ │ + │ │ │ │ +class enable_chrony { │ │ │ │ + service {'chrony': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["chrony"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -24036,31 +24036,14 @@ │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ References: _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a), AU-8(1)(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ _c_i_s 2.2.1.4 │ │ │ │ _p_c_i_d_s_s_4 10.6.1, 10.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["ntp"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_ntp │ │ │ │ - │ │ │ │ -class enable_ntp { │ │ │ │ - service {'ntp': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -24104,14 +24087,31 @@ │ │ │ │ - PCI-DSSv4-10.6.1 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - service_ntp_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_ntp │ │ │ │ + │ │ │ │ +class enable_ntp { │ │ │ │ + service {'ntp': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["ntp"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -24147,31 +24147,14 @@ │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ References: _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a), AU-8(1)(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ _c_i_s 2.2.1.2 │ │ │ │ _p_c_i_d_s_s_4 10.6.1, 10.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["systemd-timesyncd"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_systemd-timesyncd │ │ │ │ - │ │ │ │ -class enable_systemd-timesyncd { │ │ │ │ - service {'systemd-timesyncd': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -24216,14 +24199,31 @@ │ │ │ │ - PCI-DSSv4-10.6.1 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - service_timesyncd_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_systemd-timesyncd │ │ │ │ + │ │ │ │ +class enable_systemd-timesyncd { │ │ │ │ + service {'systemd-timesyncd': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["systemd-timesyncd"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -24524,26 +24524,14 @@ │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1, A.13.2.1, A.14.1.3, │ │ │ │ A.14.2.2, A.14.2.3, A.14.2.4, A.6.2.1, A.6.2.2, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4 │ │ │ │ _c_i_s 2.1.1 │ │ │ │ _a_n_s_s_i R62 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_xinetd │ │ │ │ - │ │ │ │ -class remove_xinetd { │ │ │ │ - package { 'xinetd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -24574,14 +24562,26 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_xinetd_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_xinetd │ │ │ │ + │ │ │ │ +class remove_xinetd { │ │ │ │ + package { 'xinetd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -24613,26 +24613,14 @@ │ │ │ │ _c_u_i 3.1.13 │ │ │ │ _h_i_p_a_a 164.308(a)(4)(i), 164.308(b)(1), 164.308(b)(3), 164.310(b), 164.312(e)(1), │ │ │ │ 164.312(e)(2)(ii) │ │ │ │ References: _i_s_o_2_7_0_0_1_-_2_0_1_3 A.8.2.3, A.13.1.1, A.13.2.1, A.13.2.3, A.14.1.2, A.14.1.3 │ │ │ │ _c_i_s 2.3.2 │ │ │ │ _a_n_s_s_i R62 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_rsh-client │ │ │ │ - │ │ │ │ -class remove_rsh-client { │ │ │ │ - package { 'rsh-client': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure rsh-client is removed │ │ │ │ package: │ │ │ │ @@ -24644,14 +24632,26 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_rsh_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_rsh-client │ │ │ │ + │ │ │ │ +class remove_rsh-client { │ │ │ │ + package { 'rsh-client': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove rsh-client │ │ │ │ @@ -24718,26 +24718,14 @@ │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_talk_removed │ │ │ │ _h_i_p_a_a 164.308(a)(4)(i), 164.308(b)(1), 164.308(b)(3), 164.310(b), 164.312(e)(1), │ │ │ │ 164.312(e)(2)(ii) │ │ │ │ References: _c_i_s 2.3.3 │ │ │ │ _a_n_s_s_i R62 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_talk │ │ │ │ - │ │ │ │ -class remove_talk { │ │ │ │ - package { 'talk': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure talk is removed │ │ │ │ package: │ │ │ │ @@ -24748,14 +24736,26 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_talk_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_talk │ │ │ │ + │ │ │ │ +class remove_talk { │ │ │ │ + package { 'talk': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove talk │ │ │ │ @@ -24779,26 +24779,14 @@ │ │ │ │ _c_u_i 3.1.13 │ │ │ │ _h_i_p_a_a 164.308(a)(4)(i), 164.308(b)(1), 164.308(b)(3), 164.310(b), 164.312(e)(1), │ │ │ │ 164.312(e)(2)(ii) │ │ │ │ References: _i_s_o_2_7_0_0_1_-_2_0_1_3 A.8.2.3, A.13.1.1, A.13.2.1, A.13.2.3, A.14.1.2, A.14.1.3 │ │ │ │ _c_i_s 2.3.4 │ │ │ │ _a_n_s_s_i R62 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_telnet │ │ │ │ - │ │ │ │ -class remove_telnet { │ │ │ │ - package { 'telnet': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure telnet is removed │ │ │ │ package: │ │ │ │ @@ -24810,14 +24798,26 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_telnet_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_telnet │ │ │ │ + │ │ │ │ +class remove_telnet { │ │ │ │ + package { 'telnet': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove telnet │ │ │ │ @@ -24832,26 +24832,14 @@ │ │ │ │ package can be removed with the following command: │ │ │ │ $ apt-get remove rsync │ │ │ │ Rationale: The rsyncd service presents a security risk as it uses unencrypted protocols for │ │ │ │ communication. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_rsync_removed │ │ │ │ References: _c_i_s 2.2.16 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_rsync │ │ │ │ - │ │ │ │ -class remove_rsync { │ │ │ │ - package { 'rsync': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure rsync is removed │ │ │ │ package: │ │ │ │ @@ -24860,14 +24848,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_rsync_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_rsync │ │ │ │ + │ │ │ │ +class remove_rsync { │ │ │ │ + package { 'rsync': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove rsync │ │ │ │ @@ -24900,26 +24900,14 @@ │ │ │ │ References: SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_cups │ │ │ │ - │ │ │ │ -class remove_cups { │ │ │ │ - package { 'cups': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure cups is removed │ │ │ │ package: │ │ │ │ @@ -24931,14 +24919,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_cups_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_cups │ │ │ │ + │ │ │ │ +class remove_cups { │ │ │ │ + package { 'cups': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove cups │ │ │ │ @@ -24963,50 +24963,14 @@ │ │ │ │ References: SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -masked = ["cups"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: medium │ │ │ │ -RReebboooott:: true │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ -kind: MachineConfig │ │ │ │ -spec: │ │ │ │ - config: │ │ │ │ - ignition: │ │ │ │ - version: 3.1.0 │ │ │ │ - systemd: │ │ │ │ - units: │ │ │ │ - - name: cups.service │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ - - name: cups.socket │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include disable_cups │ │ │ │ - │ │ │ │ -class disable_cups { │ │ │ │ - service {'cups': │ │ │ │ - enable => false, │ │ │ │ - ensure => 'stopped', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -25093,14 +25057,50 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - service_cups_disabled │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: medium │ │ │ │ +RReebboooott:: true │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ +kind: MachineConfig │ │ │ │ +spec: │ │ │ │ + config: │ │ │ │ + ignition: │ │ │ │ + version: 3.1.0 │ │ │ │ + systemd: │ │ │ │ + units: │ │ │ │ + - name: cups.service │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ + - name: cups.socket │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include disable_cups │ │ │ │ + │ │ │ │ +class disable_cups { │ │ │ │ + service {'cups': │ │ │ │ + enable => false, │ │ │ │ + ensure => 'stopped', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +masked = ["cups"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -25140,26 +25140,14 @@ │ │ │ │ The squid package can be removed with the following command: │ │ │ │ $ apt-get remove squid │ │ │ │ Rationale: If there is no need to make the proxy server software available, removing it provides a │ │ │ │ safeguard against its activation. │ │ │ │ Severity:  unknown │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_squid_removed │ │ │ │ References: _c_i_s 2.2.13 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_squid │ │ │ │ - │ │ │ │ -class remove_squid { │ │ │ │ - package { 'squid': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure squid is removed │ │ │ │ package: │ │ │ │ @@ -25168,14 +25156,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_squid_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_squid │ │ │ │ + │ │ │ │ +class remove_squid { │ │ │ │ + package { 'squid': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove squid │ │ │ │ @@ -25200,26 +25200,14 @@ │ │ │ │ The samba package can be removed with the following command: │ │ │ │ $ apt-get remove samba │ │ │ │ Rationale: If there is no need to make the Samba software available, removing it provides a │ │ │ │ safeguard against its activation. │ │ │ │ Severity:  unknown │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_samba_removed │ │ │ │ References: _c_i_s 2.2.12 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_samba │ │ │ │ - │ │ │ │ -class remove_samba { │ │ │ │ - package { 'samba': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure samba is removed │ │ │ │ package: │ │ │ │ @@ -25228,14 +25216,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_samba_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_samba │ │ │ │ + │ │ │ │ +class remove_samba { │ │ │ │ + package { 'samba': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove samba │ │ │ │ @@ -25260,26 +25260,14 @@ │ │ │ │ $ apt-get remove snmp │ │ │ │ Rationale: If there is no need to run SNMP server software, removing the package provides a │ │ │ │ safeguard against its activation. │ │ │ │ Severity:  unknown │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_net-snmp_removed │ │ │ │ References: _c_i_s 2.2.14 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_snmp │ │ │ │ - │ │ │ │ -class remove_snmp { │ │ │ │ - package { 'snmp': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure snmp is removed │ │ │ │ package: │ │ │ │ @@ -25290,14 +25278,26 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_net-snmp_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_snmp │ │ │ │ + │ │ │ │ +class remove_snmp { │ │ │ │ + package { 'snmp': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove snmp │ │ │ │ @@ -28718,23 +28718,14 @@ │ │ │ │ _n_i_s_t AC-17(a), CM-6(a), AC-6(1) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-4, PR.DS-5 │ │ │ │ _p_c_i_d_s_s Req-2.2.4 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00227 │ │ │ │ _c_i_s 5.2.2 │ │ │ │ _a_n_s_s_i R50 │ │ │ │ _p_c_i_d_s_s_4 2.2.6, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -include ssh_private_key_perms │ │ │ │ - │ │ │ │ -class ssh_private_key_perms { │ │ │ │ - exec { 'sshd_priv_key': │ │ │ │ - command => "chmod 0640 /etc/ssh/*_key", │ │ │ │ - path => '/bin:/usr/bin' │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: configure │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -28798,14 +28789,23 @@ │ │ │ │ - PCI-DSSv4-2.2.6 │ │ │ │ - configure_strategy │ │ │ │ - file_permissions_sshd_private_key │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +include ssh_private_key_perms │ │ │ │ + │ │ │ │ +class ssh_private_key_perms { │ │ │ │ + exec { 'sshd_priv_key': │ │ │ │ + command => "chmod 0640 /etc/ssh/*_key", │ │ │ │ + path => '/bin:/usr/bin' │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ ' 'linux-base' 2>/dev/null | grep -q ^installed; then │ │ │ │ │ │ │ │ for keyfile in /etc/ssh/*_key; do │ │ │ │ test -f "$keyfile" || continue │ │ │ │ @@ -28846,23 +28846,14 @@ │ │ │ │ _n_i_s_t AC-17(a), CM-6(a), AC-6(1) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-4, PR.DS-5 │ │ │ │ _p_c_i_d_s_s Req-2.2.4 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00227 │ │ │ │ _c_i_s 5.2.3 │ │ │ │ _a_n_s_s_i R50 │ │ │ │ _p_c_i_d_s_s_4 2.2.6, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -include ssh_public_key_perms │ │ │ │ - │ │ │ │ -class ssh_public_key_perms { │ │ │ │ - exec { 'sshd_pub_key': │ │ │ │ - command => "chmod 0644 /etc/ssh/*.pub", │ │ │ │ - path => '/bin:/usr/bin' │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: configure │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -28926,14 +28917,23 @@ │ │ │ │ - PCI-DSSv4-2.2.6 │ │ │ │ - configure_strategy │ │ │ │ - file_permissions_sshd_pub_key │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +include ssh_public_key_perms │ │ │ │ + │ │ │ │ +class ssh_public_key_perms { │ │ │ │ + exec { 'sshd_pub_key': │ │ │ │ + command => "chmod 0644 /etc/ssh/*.pub", │ │ │ │ + path => '/bin:/usr/bin' │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: configure │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -74854,31 +74854,14 @@ │ │ │ │ SRG-OS-000353-GPOS-00141, SRG-OS-000354-GPOS-00142, SRG-OS-000358-GPOS-00145, │ │ │ │ SRG-OS-000365-GPOS-00152, SRG-OS-000392-GPOS-00172, SRG-OS-000475-GPOS-00220 │ │ │ │ _s_t_i_g_i_d UBTU-20-010182 │ │ │ │ _c_i_s 4.1.1.1 │ │ │ │ _a_n_s_s_i R33, R73 │ │ │ │ _p_c_i_d_s_s_4 10.2.1, 10.2 │ │ │ │ _s_t_i_g_r_e_f SV-238298r853421_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "auditd" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_auditd │ │ │ │ - │ │ │ │ -class install_auditd { │ │ │ │ - package { 'auditd': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -74921,14 +74904,31 @@ │ │ │ │ - PCI-DSSv4-10.2.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_audit_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_auditd │ │ │ │ + │ │ │ │ +class install_auditd { │ │ │ │ + package { 'auditd': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "auditd" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -74995,31 +74995,14 @@ │ │ │ │ _a_p_p_-_s_r_g_-_c_t_r SRG-APP-000095-CTR-000170, SRG-APP-000409-CTR-000990, SRG-APP-000508-CTR- │ │ │ │ 001300, SRG-APP-000510-CTR-001310 │ │ │ │ _s_t_i_g_i_d UBTU-20-010182 │ │ │ │ _c_i_s 4.1.1.2 │ │ │ │ _a_n_s_s_i R33, R73 │ │ │ │ _p_c_i_d_s_s_4 10.2.1, 10.2 │ │ │ │ _s_t_i_g_r_e_f SV-238298r853421_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["auditd"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_auditd │ │ │ │ - │ │ │ │ -class enable_auditd { │ │ │ │ - service {'auditd': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -75087,14 +75070,31 @@ │ │ │ │ - PCI-DSSv4-10.2.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_auditd_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_auditd │ │ │ │ + │ │ │ │ +class enable_auditd { │ │ │ │ + service {'auditd': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["auditd"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ ├── ./usr/share/doc/ssg-debderived/ssg-ubuntu2004-guide-standard.html │ │ │ @@ -20152,128 +20152,128 @@ │ │ │ 0004eb70: 6765 743d 2223 6964 6d31 3037 3636 2220 get="#idm10766" │ │ │ 0004eb80: 7461 6269 6e64 6578 3d22 3022 2072 6f6c tabindex="0" rol │ │ │ 0004eb90: 653d 2262 7574 746f 6e22 2061 7269 612d e="button" aria- │ │ │ 0004eba0: 6578 7061 6e64 6564 3d22 6661 6c73 6522 expanded="false" │ │ │ 0004ebb0: 2074 6974 6c65 3d22 4163 7469 7661 7465 title="Activate │ │ │ 0004ebc0: 2074 6f20 7265 7665 616c 2220 6872 6566 to reveal" href │ │ │ 0004ebd0: 3d22 2321 223e 5265 6d65 6469 6174 696f ="#!">Remediatio │ │ │ -0004ebe0: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr │ │ │ -0004ebf0: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...< │ │ │ -0004ec00: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
<
│ │ │ -0004ec40: 636f 6465 3e0a 5b5b 7061 636b 6167 6573  code>.[[packages
│ │ │ -0004ec50: 5d5d 0a6e 616d 6520 3d20 2272 7379 736c  ]].name = "rsysl
│ │ │ -0004ec60: 6f67 220a 7665 7273 696f 6e20 3d20 222a  og".version = "*
│ │ │ -0004ec70: 220a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  ".
< │ │ │ -0004ec80: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>
Remediation │ │ │ -0004ed30: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ -0004ed40: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -0004edc0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -0004edd0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -0004ede0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -0004ee20: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -0004ee30: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -0004ee50: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ -0004ee70: 3c63 6f64 653e 696e 636c 7564 6520 696e  include in
│ │ │ -0004ee80: 7374 616c 6c5f 7273 7973 6c6f 670a 0a63  stall_rsyslog..c
│ │ │ -0004ee90: 6c61 7373 2069 6e73 7461 6c6c 5f72 7379  lass install_rsy
│ │ │ -0004eea0: 736c 6f67 207b 0a20 2070 6163 6b61 6765  slog {.  package
│ │ │ -0004eeb0: 207b 2027 7273 7973 6c6f 6727 3a0a 2020   { 'rsyslog':.  
│ │ │ -0004eec0: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ -0004eed0: 696e 7374 616c 6c65 6427 2c0a 2020 7d0a  installed',.  }.
│ │ │ -0004eee0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ -0004eef0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -0004efa0: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ -0004efb0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -0004eff0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -0004f000: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -0004f010: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -0004f020: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -0004f030: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -0004f040: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -0004f050: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -0004f090: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -0004f0a0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -0004f0c0: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ -0004f0d0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ -0004f0f0: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ -0004f100: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ -0004f110: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ -0004f120: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ -0004f130: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ -0004f140: 3533 2d43 4d2d 3628 6129 0a20 202d 2065  53-CM-6(a).  - e
│ │ │ -0004f150: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ -0004f160: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -0004f170: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -0004f180: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ -0004f190: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -0004f1a0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -0004f1b0: 2d20 7061 636b 6167 655f 7273 7973 6c6f  - package_rsyslo
│ │ │ -0004f1c0: 675f 696e 7374 616c 6c65 640a 0a2d 206e  g_installed..- n
│ │ │ -0004f1d0: 616d 653a 2045 6e73 7572 6520 7273 7973  ame: Ensure rsys
│ │ │ -0004f1e0: 6c6f 6720 6973 2069 6e73 7461 6c6c 6564  log is installed
│ │ │ -0004f1f0: 0a20 2070 6163 6b61 6765 3a0a 2020 2020  .  package:.    
│ │ │ -0004f200: 6e61 6d65 3a20 7273 7973 6c6f 670a 2020  name: rsyslog.  
│ │ │ -0004f210: 2020 7374 6174 653a 2070 7265 7365 6e74    state: present
│ │ │ -0004f220: 0a20 2077 6865 6e3a 2027 226c 696e 7578  .  when: '"linux
│ │ │ -0004f230: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ -0004f240: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ -0004f250: 270a 2020 7461 6773 3a0a 2020 2d20 4e49  '.  tags:.  - NI
│ │ │ -0004f260: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ -0004f270: 290a 2020 2d20 656e 6162 6c65 5f73 7472  ).  - enable_str
│ │ │ -0004f280: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ -0004f290: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -0004f2a0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -0004f2b0: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ -0004f2c0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -0004f2d0: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -0004f2e0: 5f72 7379 736c 6f67 5f69 6e73 7461 6c6c  _rsyslog_install
│ │ │ -0004f2f0: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e  ed.
│ │ │ +0004ebe0: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ +0004ebf0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +0004ec30: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ +0004eca0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +0004ecc0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +0004ecf0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ +0004ed10: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ +0004ec80: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +0004ec90: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +0004ecd0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +0004ece0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
- name: │ │ │ +0004ed30: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ +0004ed40: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ +0004ed50: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ +0004ed60: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ +0004ed70: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800 │ │ │ +0004ed80: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). - │ │ │ +0004ed90: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy. │ │ │ +0004eda0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi │ │ │ +0004edb0: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru │ │ │ +0004edc0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium │ │ │ +0004edd0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no │ │ │ +0004ede0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed. │ │ │ +0004edf0: 202d 2070 6163 6b61 6765 5f72 7379 736c - package_rsysl │ │ │ +0004ee00: 6f67 5f69 6e73 7461 6c6c 6564 0a0a 2d20 og_installed..- │ │ │ +0004ee10: 6e61 6d65 3a20 456e 7375 7265 2072 7379 name: Ensure rsy │ │ │ +0004ee20: 736c 6f67 2069 7320 696e 7374 616c 6c65 slog is installe │ │ │ +0004ee30: 640a 2020 7061 636b 6167 653a 0a20 2020 d. package:. │ │ │ +0004ee40: 206e 616d 653a 2072 7379 736c 6f67 0a20 name: rsyslog. │ │ │ +0004ee50: 2020 2073 7461 7465 3a20 7072 6573 656e state: presen │ │ │ +0004ee60: 740a 2020 7768 656e 3a20 2722 6c69 6e75 t. when: '"linu │ │ │ +0004ee70: 782d 6261 7365 2220 696e 2061 6e73 6962 x-base" in ansib │ │ │ +0004ee80: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package │ │ │ +0004ee90: 7327 0a20 2074 6167 733a 0a20 202d 204e s'. tags:. - N │ │ │ +0004eea0: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6( │ │ │ +0004eeb0: 6129 0a20 202d 2065 6e61 626c 655f 7374 a). - enable_st │ │ │ +0004eec0: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c │ │ │ +0004eed0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo │ │ │ +0004eee0: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. - │ │ │ +0004eef0: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity │ │ │ +0004ef00: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n │ │ │ +0004ef10: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag │ │ │ +0004ef20: 655f 7273 7973 6c6f 675f 696e 7374 616c e_rsyslog_instal │ │ │ +0004ef30: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265 led.
Remediati │ │ │ +0004eff0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ +0004f000: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +0004f040: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ +0004f0b0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +0004f0d0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +0004f100: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ +0004f120: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ +0004f090: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +0004f0a0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +0004f0e0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +0004f0f0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ +0004f140: 696e 7374 616c 6c5f 7273 7973 6c6f 670a install_rsyslog. │ │ │ +0004f150: 0a63 6c61 7373 2069 6e73 7461 6c6c 5f72 .class install_r │ │ │ +0004f160: 7379 736c 6f67 207b 0a20 2070 6163 6b61 syslog {. packa │ │ │ +0004f170: 6765 207b 2027 7273 7973 6c6f 6727 3a0a ge { 'rsyslog':. │ │ │ +0004f180: 2020 2020 656e 7375 7265 203d 2667 743b ensure => │ │ │ +0004f190: 2027 696e 7374 616c 6c65 6427 2c0a 2020 'installed',. │ │ │ +0004f1a0: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}.
Remediati │ │ │ +0004f260: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep │ │ │ +0004f270: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ... │ │ │ +0004f280: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ +0004f2c0: 3c63 6f64 653e 0a5b 5b70 6163 6b61 6765  .[[package
│ │ │ +0004f2d0: 735d 5d0a 6e61 6d65 203d 2022 7273 7973  s]].name = "rsys
│ │ │ +0004f2e0: 6c6f 6722 0a76 6572 7369 6f6e 203d 2022  log".version = "
│ │ │ +0004f2f0: 2a22 0a3c 2f63 6f64 653e 3c2f 7072 653e  *".
│ │ │ 0004f300: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Rem │ │ │ -00050660: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild │ │ │ -00050670: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp │ │ │ -00050680: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[cu
│ │ │ -000506d0: 7374 6f6d 697a 6174 696f 6e73 2e73 6572  stomizations.ser
│ │ │ -000506e0: 7669 6365 735d 0a65 6e61 626c 6564 203d  vices].enabled =
│ │ │ -000506f0: 205b 2272 7379 736c 6f67 225d 0a3c 2f63   ["rsyslog"].
│ │ │ -00050710: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ -000507b0: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ -000507c0: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
< │ │ │ -00050850: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -00050870: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -000508c0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
include enable_
│ │ │ -00050910: 7273 7973 6c6f 670a 0a63 6c61 7373 2065  rsyslog..class e
│ │ │ -00050920: 6e61 626c 655f 7273 7973 6c6f 6720 7b0a  nable_rsyslog {.
│ │ │ -00050930: 2020 7365 7276 6963 6520 7b27 7273 7973    service {'rsys
│ │ │ -00050940: 6c6f 6727 3a0a 2020 2020 656e 6162 6c65  log':.    enable
│ │ │ -00050950: 203d 2667 743b 2074 7275 652c 0a20 2020   => true,.   
│ │ │ -00050960: 2065 6e73 7572 6520 3d26 6774 3b20 2772   ensure => 'r
│ │ │ -00050970: 756e 6e69 6e67 272c 0a20 207d 0a7d 0a3c  unning',.  }.}.<
│ │ │ -00050980: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation An │ │ │ -00050a40: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -00050a50: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ -00050b10: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -00050b20: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
low
Disr │ │ │ -00050880: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -00050890: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -000508d0: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ -000508e0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complexity │ │ │ -00050ae0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ -00050b00: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ -00050b30: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ -00050b50: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
- name: Gath
│ │ │ -00050b90: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ -00050ba0: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ -00050bb0: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ -00050bc0: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ -00050bd0: 2020 2d20 4449 5341 2d53 5449 472d 5542    - DISA-STIG-UB
│ │ │ -00050be0: 5455 2d32 302d 3031 3034 3332 0a20 202d  TU-20-010432.  -
│ │ │ -00050bf0: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ -00050c00: 3428 3129 0a20 202d 204e 4953 542d 3830  4(1).  - NIST-80
│ │ │ -00050c10: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ -00050c20: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ -00050c30: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -00050c40: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -00050c50: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ -00050c60: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ -00050c70: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -00050c80: 2020 2d20 7365 7276 6963 655f 7273 7973    - service_rsys
│ │ │ -00050c90: 6c6f 675f 656e 6162 6c65 640a 0a2d 206e  log_enabled..- n
│ │ │ -00050ca0: 616d 653a 2045 6e61 626c 6520 7273 7973  ame: Enable rsys
│ │ │ -00050cb0: 6c6f 6720 5365 7276 6963 6520 2d20 456e  log Service - En
│ │ │ -00050cc0: 6162 6c65 2073 6572 7669 6365 2072 7379  able service rsy
│ │ │ -00050cd0: 736c 6f67 0a20 2062 6c6f 636b 3a0a 0a20  slog.  block:.. 
│ │ │ -00050ce0: 202d 206e 616d 653a 2047 6174 6865 7220   - name: Gather 
│ │ │ -00050cf0: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ -00050d00: 730a 2020 2020 7061 636b 6167 655f 6661  s.    package_fa
│ │ │ -00050d10: 6374 733a 0a20 2020 2020 206d 616e 6167  cts:.      manag
│ │ │ -00050d20: 6572 3a20 6175 746f 0a0a 2020 2d20 6e61  er: auto..  - na
│ │ │ -00050d30: 6d65 3a20 456e 6162 6c65 2072 7379 736c  me: Enable rsysl
│ │ │ -00050d40: 6f67 2053 6572 7669 6365 202d 2045 6e61  og Service - Ena
│ │ │ -00050d50: 626c 6520 5365 7276 6963 6520 7273 7973  ble Service rsys
│ │ │ -00050d60: 6c6f 670a 2020 2020 616e 7369 626c 652e  log.    ansible.
│ │ │ -00050d70: 6275 696c 7469 6e2e 7379 7374 656d 643a  builtin.systemd:
│ │ │ -00050d80: 0a20 2020 2020 206e 616d 653a 2072 7379  .      name: rsy
│ │ │ -00050d90: 736c 6f67 0a20 2020 2020 2065 6e61 626c  slog.      enabl
│ │ │ -00050da0: 6564 3a20 7472 7565 0a20 2020 2020 2073  ed: true.      s
│ │ │ -00050db0: 7461 7465 3a20 7374 6172 7465 640a 2020  tate: started.  
│ │ │ -00050dc0: 2020 2020 6d61 736b 6564 3a20 6661 6c73      masked: fals
│ │ │ -00050dd0: 650a 2020 2020 7768 656e 3a0a 2020 2020  e.    when:.    
│ │ │ -00050de0: 2d20 2722 7273 7973 6c6f 6722 2069 6e20  - '"rsyslog" in 
│ │ │ -00050df0: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -00050e00: 636b 6167 6573 270a 2020 7768 656e 3a20  ckages'.  when: 
│ │ │ -00050e10: 2722 6c69 6e75 782d 6261 7365 2220 696e  '"linux-base" in
│ │ │ -00050e20: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ -00050e30: 6163 6b61 6765 7327 0a20 2074 6167 733a  ackages'.  tags:
│ │ │ -00050e40: 0a20 202d 2044 4953 412d 5354 4947 2d55  .  - DISA-STIG-U
│ │ │ -00050e50: 4254 552d 3230 2d30 3130 3433 320a 2020  BTU-20-010432.  
│ │ │ -00050e60: 2d20 4e49 5354 2d38 3030 2d35 332d 4155  - NIST-800-53-AU
│ │ │ -00050e70: 2d34 2831 290a 2020 2d20 4e49 5354 2d38  -4(1).  - NIST-8
│ │ │ -00050e80: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ -00050e90: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ -00050ea0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -00050eb0: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -00050ec0: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ -00050ed0: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ -00050ee0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -00050ef0: 0a20 202d 2073 6572 7669 6365 5f72 7379  .  - service_rsy
│ │ │ -00050f00: 736c 6f67 5f65 6e61 626c 6564 0a3c 2f63  slog_enabled.
│ │ │ +00050680: 3c62 723e 3c64 6976 2063 6c61 7373 3d22  
< │ │ │ +00050750: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +00050760: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
-
│ │ │ +000507b0: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ +000507c0: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ +000507d0: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ +000507e0: 0a20 2020 206d 616e 6167 6572 3a20 6175  .    manager: au
│ │ │ +000507f0: 746f 0a20 2074 6167 733a 0a20 202d 2044  to.  tags:.  - D
│ │ │ +00050800: 4953 412d 5354 4947 2d55 4254 552d 3230  ISA-STIG-UBTU-20
│ │ │ +00050810: 2d30 3130 3433 320a 2020 2d20 4e49 5354  -010432.  - NIST
│ │ │ +00050820: 2d38 3030 2d35 332d 4155 2d34 2831 290a  -800-53-AU-4(1).
│ │ │ +00050830: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +00050840: 434d 2d36 2861 290a 2020 2d20 656e 6162  CM-6(a).  - enab
│ │ │ +00050850: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +00050860: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +00050870: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +00050880: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ +00050890: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +000508a0: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ +000508b0: 6572 7669 6365 5f72 7379 736c 6f67 5f65  ervice_rsyslog_e
│ │ │ +000508c0: 6e61 626c 6564 0a0a 2d20 6e61 6d65 3a20  nabled..- name: 
│ │ │ +000508d0: 456e 6162 6c65 2072 7379 736c 6f67 2053  Enable rsyslog S
│ │ │ +000508e0: 6572 7669 6365 202d 2045 6e61 626c 6520  ervice - Enable 
│ │ │ +000508f0: 7365 7276 6963 6520 7273 7973 6c6f 670a  service rsyslog.
│ │ │ +00050900: 2020 626c 6f63 6b3a 0a0a 2020 2d20 6e61    block:..  - na
│ │ │ +00050910: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ +00050920: 6163 6b61 6765 2066 6163 7473 0a20 2020  ackage facts.   
│ │ │ +00050930: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ +00050940: 2020 2020 2020 6d61 6e61 6765 723a 2061        manager: a
│ │ │ +00050950: 7574 6f0a 0a20 202d 206e 616d 653a 2045  uto..  - name: E
│ │ │ +00050960: 6e61 626c 6520 7273 7973 6c6f 6720 5365  nable rsyslog Se
│ │ │ +00050970: 7276 6963 6520 2d20 456e 6162 6c65 2053  rvice - Enable S
│ │ │ +00050980: 6572 7669 6365 2072 7379 736c 6f67 0a20  ervice rsyslog. 
│ │ │ +00050990: 2020 2061 6e73 6962 6c65 2e62 7569 6c74     ansible.built
│ │ │ +000509a0: 696e 2e73 7973 7465 6d64 3a0a 2020 2020  in.systemd:.    
│ │ │ +000509b0: 2020 6e61 6d65 3a20 7273 7973 6c6f 670a    name: rsyslog.
│ │ │ +000509c0: 2020 2020 2020 656e 6162 6c65 643a 2074        enabled: t
│ │ │ +000509d0: 7275 650a 2020 2020 2020 7374 6174 653a  rue.      state:
│ │ │ +000509e0: 2073 7461 7274 6564 0a20 2020 2020 206d   started.      m
│ │ │ +000509f0: 6173 6b65 643a 2066 616c 7365 0a20 2020  asked: false.   
│ │ │ +00050a00: 2077 6865 6e3a 0a20 2020 202d 2027 2272   when:.    - '"r
│ │ │ +00050a10: 7379 736c 6f67 2220 696e 2061 6e73 6962  syslog" in ansib
│ │ │ +00050a20: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +00050a30: 7327 0a20 2077 6865 6e3a 2027 226c 696e  s'.  when: '"lin
│ │ │ +00050a40: 7578 2d62 6173 6522 2069 6e20 616e 7369  ux-base" in ansi
│ │ │ +00050a50: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ +00050a60: 6573 270a 2020 7461 6773 3a0a 2020 2d20  es'.  tags:.  - 
│ │ │ +00050a70: 4449 5341 2d53 5449 472d 5542 5455 2d32  DISA-STIG-UBTU-2
│ │ │ +00050a80: 302d 3031 3034 3332 0a20 202d 204e 4953  0-010432.  - NIS
│ │ │ +00050a90: 542d 3830 302d 3533 2d41 552d 3428 3129  T-800-53-AU-4(1)
│ │ │ +00050aa0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +00050ab0: 2d43 4d2d 3628 6129 0a20 202d 2065 6e61  -CM-6(a).  - ena
│ │ │ +00050ac0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +00050ad0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +00050ae0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +00050af0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ +00050b00: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +00050b10: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +00050b20: 7365 7276 6963 655f 7273 7973 6c6f 675f  service_rsyslog_
│ │ │ +00050b30: 656e 6162 6c65 640a 3c2f 636f 6465 3e3c  enabled.<
│ │ │ +00050b40: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remed
│ │ │ +00050bf0: 6961 7469 6f6e 2050 7570 7065 7420 736e  iation Puppet sn
│ │ │ +00050c00: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
Complexity:low
Disrup │ │ │ +00050730: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +00050740: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +00050780: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +00050790: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
low< │ │ │ +00050cb0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +00050d00: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ +00050c90: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +00050cc0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +00050ce0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +00050cf0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +00050d10: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ +00050d20: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +00050d40: 7564 6520 656e 6162 6c65 5f72 7379 736c  ude enable_rsysl
│ │ │ +00050d50: 6f67 0a0a 636c 6173 7320 656e 6162 6c65  og..class enable
│ │ │ +00050d60: 5f72 7379 736c 6f67 207b 0a20 2073 6572  _rsyslog {.  ser
│ │ │ +00050d70: 7669 6365 207b 2772 7379 736c 6f67 273a  vice {'rsyslog':
│ │ │ +00050d80: 0a20 2020 2065 6e61 626c 6520 3d26 6774  .    enable =>
│ │ │ +00050d90: 3b20 7472 7565 2c0a 2020 2020 656e 7375  ; true,.    ensu
│ │ │ +00050da0: 7265 203d 2667 743b 2027 7275 6e6e 696e  re => 'runnin
│ │ │ +00050db0: 6727 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  g',.  }.}.
Rem │ │ │ +00050e70: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild │ │ │ +00050e80: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp │ │ │ +00050e90: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[cu
│ │ │ +00050ee0: 7374 6f6d 697a 6174 696f 6e73 2e73 6572  stomizations.ser
│ │ │ +00050ef0: 7669 6365 735d 0a65 6e61 626c 6564 203d  vices].enabled =
│ │ │ +00050f00: 205b 2272 7379 736c 6f67 225d 0a3c 2f63   ["rsyslog"].
│ │ │ 00050f20: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Remediati │ │ │ -0006ee60: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep │ │ │ -0006ee70: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ... │ │ │ -0006ee80: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ -0006eec0: 3c63 6f64 653e 0a5b 6375 7374 6f6d 697a  .[customiz
│ │ │ -0006eed0: 6174 696f 6e73 2e73 6572 7669 6365 735d  ations.services]
│ │ │ -0006eee0: 0a6d 6173 6b65 6420 3d20 5b22 6170 706f  .masked = ["appo
│ │ │ -0006eef0: 7274 225d 0a3c 2f63 6f64 653e 3c2f 7072  rt"].
Remediat │ │ │ -0006efb0: 696f 6e20 4b75 6265 726e 6574 6573 2073 ion Kubernetes s │ │ │ -0006efc0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -0006f060: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -0006f070: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -0006f0a0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -0006f0b0: 3c74 643e 7472 7565 3c2f 7464 3e3c 2f74

│ │ │ -0006f100: 6170 6956 6572 7369 6f6e 3a20 6d61 6368  apiVersion: mach
│ │ │ -0006f110: 696e 6563 6f6e 6669 6775 7261 7469 6f6e  ineconfiguration
│ │ │ -0006f120: 2e6f 7065 6e73 6869 6674 2e69 6f2f 7631  .openshift.io/v1
│ │ │ -0006f130: 0a6b 696e 643a 204d 6163 6869 6e65 436f  .kind: MachineCo
│ │ │ -0006f140: 6e66 6967 0a73 7065 633a 0a20 2063 6f6e  nfig.spec:.  con
│ │ │ -0006f150: 6669 673a 0a20 2020 2069 676e 6974 696f  fig:.    ignitio
│ │ │ -0006f160: 6e3a 0a20 2020 2020 2076 6572 7369 6f6e  n:.      version
│ │ │ -0006f170: 3a20 332e 312e 300a 2020 2020 7379 7374  : 3.1.0.    syst
│ │ │ -0006f180: 656d 643a 0a20 2020 2020 2075 6e69 7473  emd:.      units
│ │ │ -0006f190: 3a0a 2020 2020 2020 2d20 6e61 6d65 3a20  :.      - name: 
│ │ │ -0006f1a0: 6170 706f 7274 2e73 6572 7669 6365 0a20  apport.service. 
│ │ │ -0006f1b0: 2020 2020 2020 2065 6e61 626c 6564 3a20         enabled: 
│ │ │ -0006f1c0: 6661 6c73 650a 2020 2020 2020 2020 6d61  false.        ma
│ │ │ -0006f1d0: 736b 3a20 7472 7565 0a20 2020 2020 202d  sk: true.      -
│ │ │ -0006f1e0: 206e 616d 653a 2061 7070 6f72 742e 736f   name: apport.so
│ │ │ -0006f1f0: 636b 6574 0a20 2020 2020 2020 2065 6e61  cket.        ena
│ │ │ -0006f200: 626c 6564 3a20 6661 6c73 650a 2020 2020  bled: false.    
│ │ │ -0006f210: 2020 2020 6d61 736b 3a20 7472 7565 0a3c      mask: true.<
│ │ │ -0006f220: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ -0006f2e0: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ -0006f2f0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low< │ │ │ -0006f3c0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr> │ │ │ -0006f410: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
C │ │ │ -0006f050: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -0006f080: 6f6e 3a3c 2f74 683e 3c74 643e 6d65 6469 on:medi │ │ │ -0006f090: 756d 3c2f 7464 3e3c 2f74 723e 3c74 723e um
Reboot:true
Strate │ │ │ -0006f0d0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -0006f0e0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity: │ │ │ -0006f380: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ -0006f3a0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ -0006f3f0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -0006f400: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
include disab
│ │ │ -0006f430: 6c65 5f61 7070 6f72 740a 0a63 6c61 7373  le_apport..class
│ │ │ -0006f440: 2064 6973 6162 6c65 5f61 7070 6f72 7420   disable_apport 
│ │ │ -0006f450: 7b0a 2020 7365 7276 6963 6520 7b27 6170  {.  service {'ap
│ │ │ -0006f460: 706f 7274 273a 0a20 2020 2065 6e61 626c  port':.    enabl
│ │ │ -0006f470: 6520 3d26 6774 3b20 6661 6c73 652c 0a20  e => false,. 
│ │ │ -0006f480: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ -0006f490: 2773 746f 7070 6564 272c 0a20 207d 0a7d  'stopped',.  }.}
│ │ │ -0006f4a0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -0006f560: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -0006f570: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -0006f5f0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -0006f600: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -0006f610: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -0006f650: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -0006f660: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -0006f680: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -0006f690: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ -0006f6b0: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ -0006f6c0: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ -0006f6d0: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ -0006f6e0: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ -0006f6f0: 733a 0a20 202d 2064 6973 6162 6c65 5f73  s:.  - disable_s
│ │ │ -0006f700: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ -0006f710: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -0006f720: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -0006f730: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -0006f740: 6564 0a20 202d 2073 6572 7669 6365 5f61  ed.  - service_a
│ │ │ -0006f750: 7070 6f72 745f 6469 7361 626c 6564 0a20  pport_disabled. 
│ │ │ -0006f760: 202d 2075 6e6b 6e6f 776e 5f73 6576 6572   - unknown_sever
│ │ │ -0006f770: 6974 790a 0a2d 206e 616d 653a 2044 6973  ity..- name: Dis
│ │ │ -0006f780: 6162 6c65 2041 7070 6f72 7420 5365 7276  able Apport Serv
│ │ │ -0006f790: 6963 6520 2d20 436f 6c6c 6563 7420 7379  ice - Collect sy
│ │ │ -0006f7a0: 7374 656d 6420 5365 7276 6963 6573 2050  stemd Services P
│ │ │ -0006f7b0: 7265 7365 6e74 2069 6e20 7468 6520 5379  resent in the Sy
│ │ │ -0006f7c0: 7374 656d 0a20 2061 6e73 6962 6c65 2e62  stem.  ansible.b
│ │ │ -0006f7d0: 7569 6c74 696e 2e63 6f6d 6d61 6e64 3a20  uiltin.command: 
│ │ │ -0006f7e0: 7379 7374 656d 6374 6c20 2d71 206c 6973  systemctl -q lis
│ │ │ -0006f7f0: 742d 756e 6974 2d66 696c 6573 202d 2d74  t-unit-files --t
│ │ │ -0006f800: 7970 6520 7365 7276 6963 650a 2020 7265  ype service.  re
│ │ │ -0006f810: 6769 7374 6572 3a20 7365 7276 6963 655f  gister: service_
│ │ │ -0006f820: 6578 6973 7473 0a20 2063 6861 6e67 6564  exists.  changed
│ │ │ -0006f830: 5f77 6865 6e3a 2066 616c 7365 0a20 2066  _when: false.  f
│ │ │ -0006f840: 6169 6c65 645f 7768 656e 3a20 7365 7276  ailed_when: serv
│ │ │ -0006f850: 6963 655f 6578 6973 7473 2e72 6320 6e6f  ice_exists.rc no
│ │ │ -0006f860: 7420 696e 205b 302c 2031 5d0a 2020 6368  t in [0, 1].  ch
│ │ │ -0006f870: 6563 6b5f 6d6f 6465 3a20 6661 6c73 650a  eck_mode: false.
│ │ │ -0006f880: 2020 7768 656e 3a20 2722 6170 706f 7274    when: '"apport
│ │ │ -0006f890: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ -0006f8a0: 7473 2e70 6163 6b61 6765 7327 0a20 2074  ts.packages'.  t
│ │ │ -0006f8b0: 6167 733a 0a20 202d 2064 6973 6162 6c65  ags:.  - disable
│ │ │ -0006f8c0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ -0006f8d0: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -0006f8e0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -0006f8f0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -0006f900: 6564 6564 0a20 202d 2073 6572 7669 6365  eded.  - service
│ │ │ -0006f910: 5f61 7070 6f72 745f 6469 7361 626c 6564  _apport_disabled
│ │ │ -0006f920: 0a20 202d 2075 6e6b 6e6f 776e 5f73 6576  .  - unknown_sev
│ │ │ -0006f930: 6572 6974 790a 0a2d 206e 616d 653a 2044  erity..- name: D
│ │ │ -0006f940: 6973 6162 6c65 2041 7070 6f72 7420 5365  isable Apport Se
│ │ │ -0006f950: 7276 6963 6520 2d20 456e 7375 7265 2061  rvice - Ensure a
│ │ │ -0006f960: 7070 6f72 742e 7365 7276 6963 6520 6973  pport.service is
│ │ │ -0006f970: 204d 6173 6b65 640a 2020 616e 7369 626c   Masked.  ansibl
│ │ │ -0006f980: 652e 6275 696c 7469 6e2e 7379 7374 656d  e.builtin.system
│ │ │ -0006f990: 643a 0a20 2020 206e 616d 653a 2061 7070  d:.    name: app
│ │ │ -0006f9a0: 6f72 742e 7365 7276 6963 650a 2020 2020  ort.service.    
│ │ │ -0006f9b0: 7374 6174 653a 2073 746f 7070 6564 0a20  state: stopped. 
│ │ │ -0006f9c0: 2020 2065 6e61 626c 6564 3a20 6661 6c73     enabled: fals
│ │ │ -0006f9d0: 650a 2020 2020 6d61 736b 6564 3a20 7472  e.    masked: tr
│ │ │ -0006f9e0: 7565 0a20 2077 6865 6e3a 0a20 202d 2027  ue.  when:.  - '
│ │ │ -0006f9f0: 2261 7070 6f72 7422 2069 6e20 616e 7369  "apport" in ansi
│ │ │ -0006fa00: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -0006fa10: 6573 270a 2020 2d20 7365 7276 6963 655f  es'.  - service_
│ │ │ -0006fa20: 6578 6973 7473 2e73 7464 6f75 745f 6c69  exists.stdout_li
│ │ │ -0006fa30: 6e65 7320 6973 2073 6561 7263 6828 2261  nes is search("a
│ │ │ -0006fa40: 7070 6f72 742e 7365 7276 6963 6522 2c20  pport.service", 
│ │ │ -0006fa50: 6d75 6c74 696c 696e 653d 5472 7565 290a  multiline=True).
│ │ │ -0006fa60: 2020 7461 6773 3a0a 2020 2d20 6469 7361    tags:.  - disa
│ │ │ -0006fa70: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -0006fa80: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -0006fa90: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -0006faa0: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74  on.  - no_reboot
│ │ │ -0006fab0: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ -0006fac0: 6963 655f 6170 706f 7274 5f64 6973 6162  ice_apport_disab
│ │ │ -0006fad0: 6c65 640a 2020 2d20 756e 6b6e 6f77 6e5f  led.  - unknown_
│ │ │ -0006fae0: 7365 7665 7269 7479 0a0a 2d20 6e61 6d65  severity..- name
│ │ │ -0006faf0: 3a20 556e 6974 2053 6f63 6b65 7420 4578  : Unit Socket Ex
│ │ │ -0006fb00: 6973 7473 202d 2061 7070 6f72 742e 736f  ists - apport.so
│ │ │ -0006fb10: 636b 6574 0a20 2061 6e73 6962 6c65 2e62  cket.  ansible.b
│ │ │ -0006fb20: 7569 6c74 696e 2e63 6f6d 6d61 6e64 3a20  uiltin.command: 
│ │ │ -0006fb30: 7379 7374 656d 6374 6c20 2d71 206c 6973  systemctl -q lis
│ │ │ -0006fb40: 742d 756e 6974 2d66 696c 6573 2061 7070  t-unit-files app
│ │ │ -0006fb50: 6f72 742e 736f 636b 6574 0a20 2072 6567  ort.socket.  reg
│ │ │ -0006fb60: 6973 7465 723a 2073 6f63 6b65 745f 6669  ister: socket_fi
│ │ │ -0006fb70: 6c65 5f65 7869 7374 730a 2020 6368 616e  le_exists.  chan
│ │ │ -0006fb80: 6765 645f 7768 656e 3a20 6661 6c73 650a  ged_when: false.
│ │ │ -0006fb90: 2020 6661 696c 6564 5f77 6865 6e3a 2073    failed_when: s
│ │ │ -0006fba0: 6f63 6b65 745f 6669 6c65 5f65 7869 7374  ocket_file_exist
│ │ │ -0006fbb0: 732e 7263 206e 6f74 2069 6e20 5b30 2c20  s.rc not in [0, 
│ │ │ -0006fbc0: 315d 0a20 2063 6865 636b 5f6d 6f64 653a  1].  check_mode:
│ │ │ -0006fbd0: 2066 616c 7365 0a20 2077 6865 6e3a 2027   false.  when: '
│ │ │ -0006fbe0: 2261 7070 6f72 7422 2069 6e20 616e 7369  "apport" in ansi
│ │ │ -0006fbf0: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -0006fc00: 6573 270a 2020 7461 6773 3a0a 2020 2d20  es'.  tags:.  - 
│ │ │ -0006fc10: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ -0006fc20: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -0006fc30: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -0006fc40: 7570 7469 6f6e 0a20 202d 206e 6f5f 7265  uption.  - no_re
│ │ │ -0006fc50: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -0006fc60: 7365 7276 6963 655f 6170 706f 7274 5f64  service_apport_d
│ │ │ -0006fc70: 6973 6162 6c65 640a 2020 2d20 756e 6b6e  isabled.  - unkn
│ │ │ -0006fc80: 6f77 6e5f 7365 7665 7269 7479 0a0a 2d20  own_severity..- 
│ │ │ -0006fc90: 6e61 6d65 3a20 4469 7361 626c 6520 4170  name: Disable Ap
│ │ │ -0006fca0: 706f 7274 2053 6572 7669 6365 202d 2044  port Service - D
│ │ │ -0006fcb0: 6973 6162 6c65 2053 6f63 6b65 7420 6170  isable Socket ap
│ │ │ -0006fcc0: 706f 7274 0a20 2061 6e73 6962 6c65 2e62  port.  ansible.b
│ │ │ -0006fcd0: 7569 6c74 696e 2e73 7973 7465 6d64 3a0a  uiltin.systemd:.
│ │ │ -0006fce0: 2020 2020 6e61 6d65 3a20 6170 706f 7274      name: apport
│ │ │ -0006fcf0: 2e73 6f63 6b65 740a 2020 2020 656e 6162  .socket.    enab
│ │ │ -0006fd00: 6c65 643a 2066 616c 7365 0a20 2020 2073  led: false.    s
│ │ │ -0006fd10: 7461 7465 3a20 7374 6f70 7065 640a 2020  tate: stopped.  
│ │ │ -0006fd20: 2020 6d61 736b 6564 3a20 7472 7565 0a20    masked: true. 
│ │ │ -0006fd30: 2077 6865 6e3a 0a20 202d 2027 2261 7070   when:.  - '"app
│ │ │ -0006fd40: 6f72 7422 2069 6e20 616e 7369 626c 655f  ort" in ansible_
│ │ │ -0006fd50: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -0006fd60: 2020 2d20 736f 636b 6574 5f66 696c 655f    - socket_file_
│ │ │ -0006fd70: 6578 6973 7473 2e73 7464 6f75 745f 6c69  exists.stdout_li
│ │ │ -0006fd80: 6e65 7320 6973 2073 6561 7263 6828 2261  nes is search("a
│ │ │ -0006fd90: 7070 6f72 742e 736f 636b 6574 222c 206d  pport.socket", m
│ │ │ -0006fda0: 756c 7469 6c69 6e65 3d54 7275 6529 0a20  ultiline=True). 
│ │ │ -0006fdb0: 2074 6167 733a 0a20 202d 2064 6973 6162   tags:.  - disab
│ │ │ -0006fdc0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -0006fdd0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -0006fde0: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -0006fdf0: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f  n.  - no_reboot_
│ │ │ -0006fe00: 6e65 6564 6564 0a20 202d 2073 6572 7669  needed.  - servi
│ │ │ -0006fe10: 6365 5f61 7070 6f72 745f 6469 7361 626c  ce_apport_disabl
│ │ │ -0006fe20: 6564 0a20 202d 2075 6e6b 6e6f 776e 5f73  ed.  - unknown_s
│ │ │ -0006fe30: 6576 6572 6974 790a 3c2f 636f 6465 3e3c  everity.<
│ │ │ +0006ee60: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070  on Ansible snipp
│ │ │ +0006ee70: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64  et ...
│ │ │ +0006ef20: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +0006ef40: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +0006ef70: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +0006ef00: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +0006ef10: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +0006ef30: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +0006ef50: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +0006ef60: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +0006efa0: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +0006efb0: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ +0006efc0: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac │ │ │ +0006efd0: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ +0006efe0: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto. │ │ │ +0006eff0: 7461 6773 3a0a 2020 2d20 6469 7361 626c tags:. - disabl │ │ │ +0006f000: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l │ │ │ +0006f010: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity. │ │ │ +0006f020: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption │ │ │ +0006f030: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n │ │ │ +0006f040: 6565 6465 640a 2020 2d20 7365 7276 6963 eeded. - servic │ │ │ +0006f050: 655f 6170 706f 7274 5f64 6973 6162 6c65 e_apport_disable │ │ │ +0006f060: 640a 2020 2d20 756e 6b6e 6f77 6e5f 7365 d. - unknown_se │ │ │ +0006f070: 7665 7269 7479 0a0a 2d20 6e61 6d65 3a20 verity..- name: │ │ │ +0006f080: 4469 7361 626c 6520 4170 706f 7274 2053 Disable Apport S │ │ │ +0006f090: 6572 7669 6365 202d 2043 6f6c 6c65 6374 ervice - Collect │ │ │ +0006f0a0: 2073 7973 7465 6d64 2053 6572 7669 6365 systemd Service │ │ │ +0006f0b0: 7320 5072 6573 656e 7420 696e 2074 6865 s Present in the │ │ │ +0006f0c0: 2053 7973 7465 6d0a 2020 616e 7369 626c System. ansibl │ │ │ +0006f0d0: 652e 6275 696c 7469 6e2e 636f 6d6d 616e e.builtin.comman │ │ │ +0006f0e0: 643a 2073 7973 7465 6d63 746c 202d 7120 d: systemctl -q │ │ │ +0006f0f0: 6c69 7374 2d75 6e69 742d 6669 6c65 7320 list-unit-files │ │ │ +0006f100: 2d2d 7479 7065 2073 6572 7669 6365 0a20 --type service. │ │ │ +0006f110: 2072 6567 6973 7465 723a 2073 6572 7669 register: servi │ │ │ +0006f120: 6365 5f65 7869 7374 730a 2020 6368 616e ce_exists. chan │ │ │ +0006f130: 6765 645f 7768 656e 3a20 6661 6c73 650a ged_when: false. │ │ │ +0006f140: 2020 6661 696c 6564 5f77 6865 6e3a 2073 failed_when: s │ │ │ +0006f150: 6572 7669 6365 5f65 7869 7374 732e 7263 ervice_exists.rc │ │ │ +0006f160: 206e 6f74 2069 6e20 5b30 2c20 315d 0a20 not in [0, 1]. │ │ │ +0006f170: 2063 6865 636b 5f6d 6f64 653a 2066 616c check_mode: fal │ │ │ +0006f180: 7365 0a20 2077 6865 6e3a 2027 2261 7070 se. when: '"app │ │ │ +0006f190: 6f72 7422 2069 6e20 616e 7369 626c 655f ort" in ansible_ │ │ │ +0006f1a0: 6661 6374 732e 7061 636b 6167 6573 270a facts.packages'. │ │ │ +0006f1b0: 2020 7461 6773 3a0a 2020 2d20 6469 7361 tags:. - disa │ │ │ +0006f1c0: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. - │ │ │ +0006f1d0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity. │ │ │ +0006f1e0: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti │ │ │ +0006f1f0: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74 on. - no_reboot │ │ │ +0006f200: 5f6e 6565 6465 640a 2020 2d20 7365 7276 _needed. - serv │ │ │ +0006f210: 6963 655f 6170 706f 7274 5f64 6973 6162 ice_apport_disab │ │ │ +0006f220: 6c65 640a 2020 2d20 756e 6b6e 6f77 6e5f led. - unknown_ │ │ │ +0006f230: 7365 7665 7269 7479 0a0a 2d20 6e61 6d65 severity..- name │ │ │ +0006f240: 3a20 4469 7361 626c 6520 4170 706f 7274 : Disable Apport │ │ │ +0006f250: 2053 6572 7669 6365 202d 2045 6e73 7572 Service - Ensur │ │ │ +0006f260: 6520 6170 706f 7274 2e73 6572 7669 6365 e apport.service │ │ │ +0006f270: 2069 7320 4d61 736b 6564 0a20 2061 6e73 is Masked. ans │ │ │ +0006f280: 6962 6c65 2e62 7569 6c74 696e 2e73 7973 ible.builtin.sys │ │ │ +0006f290: 7465 6d64 3a0a 2020 2020 6e61 6d65 3a20 temd:. name: │ │ │ +0006f2a0: 6170 706f 7274 2e73 6572 7669 6365 0a20 apport.service. │ │ │ +0006f2b0: 2020 2073 7461 7465 3a20 7374 6f70 7065 state: stoppe │ │ │ +0006f2c0: 640a 2020 2020 656e 6162 6c65 643a 2066 d. enabled: f │ │ │ +0006f2d0: 616c 7365 0a20 2020 206d 6173 6b65 643a alse. masked: │ │ │ +0006f2e0: 2074 7275 650a 2020 7768 656e 3a0a 2020 true. when:. │ │ │ +0006f2f0: 2d20 2722 6170 706f 7274 2220 696e 2061 - '"apport" in a │ │ │ +0006f300: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac │ │ │ +0006f310: 6b61 6765 7327 0a20 202d 2073 6572 7669 kages'. - servi │ │ │ +0006f320: 6365 5f65 7869 7374 732e 7374 646f 7574 ce_exists.stdout │ │ │ +0006f330: 5f6c 696e 6573 2069 7320 7365 6172 6368 _lines is search │ │ │ +0006f340: 2822 6170 706f 7274 2e73 6572 7669 6365 ("apport.service │ │ │ +0006f350: 222c 206d 756c 7469 6c69 6e65 3d54 7275 ", multiline=Tru │ │ │ +0006f360: 6529 0a20 2074 6167 733a 0a20 202d 2064 e). tags:. - d │ │ │ +0006f370: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy. │ │ │ +0006f380: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi │ │ │ +0006f390: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru │ │ │ +0006f3a0: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562 ption. - no_reb │ │ │ +0006f3b0: 6f6f 745f 6e65 6564 6564 0a20 202d 2073 oot_needed. - s │ │ │ +0006f3c0: 6572 7669 6365 5f61 7070 6f72 745f 6469 ervice_apport_di │ │ │ +0006f3d0: 7361 626c 6564 0a20 202d 2075 6e6b 6e6f sabled. - unkno │ │ │ +0006f3e0: 776e 5f73 6576 6572 6974 790a 0a2d 206e wn_severity..- n │ │ │ +0006f3f0: 616d 653a 2055 6e69 7420 536f 636b 6574 ame: Unit Socket │ │ │ +0006f400: 2045 7869 7374 7320 2d20 6170 706f 7274 Exists - apport │ │ │ +0006f410: 2e73 6f63 6b65 740a 2020 616e 7369 626c .socket. ansibl │ │ │ +0006f420: 652e 6275 696c 7469 6e2e 636f 6d6d 616e e.builtin.comman │ │ │ +0006f430: 643a 2073 7973 7465 6d63 746c 202d 7120 d: systemctl -q │ │ │ +0006f440: 6c69 7374 2d75 6e69 742d 6669 6c65 7320 list-unit-files │ │ │ +0006f450: 6170 706f 7274 2e73 6f63 6b65 740a 2020 apport.socket. │ │ │ +0006f460: 7265 6769 7374 6572 3a20 736f 636b 6574 register: socket │ │ │ +0006f470: 5f66 696c 655f 6578 6973 7473 0a20 2063 _file_exists. c │ │ │ +0006f480: 6861 6e67 6564 5f77 6865 6e3a 2066 616c hanged_when: fal │ │ │ +0006f490: 7365 0a20 2066 6169 6c65 645f 7768 656e se. failed_when │ │ │ +0006f4a0: 3a20 736f 636b 6574 5f66 696c 655f 6578 : socket_file_ex │ │ │ +0006f4b0: 6973 7473 2e72 6320 6e6f 7420 696e 205b ists.rc not in [ │ │ │ +0006f4c0: 302c 2031 5d0a 2020 6368 6563 6b5f 6d6f 0, 1]. check_mo │ │ │ +0006f4d0: 6465 3a20 6661 6c73 650a 2020 7768 656e de: false. when │ │ │ +0006f4e0: 3a20 2722 6170 706f 7274 2220 696e 2061 : '"apport" in a │ │ │ +0006f4f0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac │ │ │ +0006f500: 6b61 6765 7327 0a20 2074 6167 733a 0a20 kages'. tags:. │ │ │ +0006f510: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat │ │ │ +0006f520: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp │ │ │ +0006f530: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d │ │ │ +0006f540: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f isruption. - no │ │ │ +0006f550: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed. │ │ │ +0006f560: 202d 2073 6572 7669 6365 5f61 7070 6f72 - service_appor │ │ │ +0006f570: 745f 6469 7361 626c 6564 0a20 202d 2075 t_disabled. - u │ │ │ +0006f580: 6e6b 6e6f 776e 5f73 6576 6572 6974 790a nknown_severity. │ │ │ +0006f590: 0a2d 206e 616d 653a 2044 6973 6162 6c65 .- name: Disable │ │ │ +0006f5a0: 2041 7070 6f72 7420 5365 7276 6963 6520 Apport Service │ │ │ +0006f5b0: 2d20 4469 7361 626c 6520 536f 636b 6574 - Disable Socket │ │ │ +0006f5c0: 2061 7070 6f72 740a 2020 616e 7369 626c apport. ansibl │ │ │ +0006f5d0: 652e 6275 696c 7469 6e2e 7379 7374 656d e.builtin.system │ │ │ +0006f5e0: 643a 0a20 2020 206e 616d 653a 2061 7070 d:. name: app │ │ │ +0006f5f0: 6f72 742e 736f 636b 6574 0a20 2020 2065 ort.socket. e │ │ │ +0006f600: 6e61 626c 6564 3a20 6661 6c73 650a 2020 nabled: false. │ │ │ +0006f610: 2020 7374 6174 653a 2073 746f 7070 6564 state: stopped │ │ │ +0006f620: 0a20 2020 206d 6173 6b65 643a 2074 7275 . masked: tru │ │ │ +0006f630: 650a 2020 7768 656e 3a0a 2020 2d20 2722 e. when:. - '" │ │ │ +0006f640: 6170 706f 7274 2220 696e 2061 6e73 6962 apport" in ansib │ │ │ +0006f650: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package │ │ │ +0006f660: 7327 0a20 202d 2073 6f63 6b65 745f 6669 s'. - socket_fi │ │ │ +0006f670: 6c65 5f65 7869 7374 732e 7374 646f 7574 le_exists.stdout │ │ │ +0006f680: 5f6c 696e 6573 2069 7320 7365 6172 6368 _lines is search │ │ │ +0006f690: 2822 6170 706f 7274 2e73 6f63 6b65 7422 ("apport.socket" │ │ │ +0006f6a0: 2c20 6d75 6c74 696c 696e 653d 5472 7565 , multiline=True │ │ │ +0006f6b0: 290a 2020 7461 6773 3a0a 2020 2d20 6469 ). tags:. - di │ │ │ +0006f6c0: 7361 626c 655f 7374 7261 7465 6779 0a20 sable_strategy. │ │ │ +0006f6d0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit │ │ │ +0006f6e0: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup │ │ │ +0006f6f0: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f tion. - no_rebo │ │ │ +0006f700: 6f74 5f6e 6565 6465 640a 2020 2d20 7365 ot_needed. - se │ │ │ +0006f710: 7276 6963 655f 6170 706f 7274 5f64 6973 rvice_apport_dis │ │ │ +0006f720: 6162 6c65 640a 2020 2d20 756e 6b6e 6f77 abled. - unknow │ │ │ +0006f730: 6e5f 7365 7665 7269 7479 0a3c 2f63 6f64 n_severity.
Re │ │ │ +0006f7f0: 6d65 6469 6174 696f 6e20 4b75 6265 726e mediation Kubern │ │ │ +0006f800: 6574 6573 2073 6e69 7070 6574 20e2 87b2 etes snippet ... │ │ │ +0006f810: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ +0006f8a0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +0006f8c0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:mediumReboot │ │ │ +0006f8f0: 3a3c 2f74 683e 3c74 643e 7472 7565 3c2f :true │ │ │ +0006f910: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ +0006f940: 3c63 6f64 653e 6170 6956 6572 7369 6f6e  apiVersion
│ │ │ +0006f950: 3a20 6d61 6368 696e 6563 6f6e 6669 6775  : machineconfigu
│ │ │ +0006f960: 7261 7469 6f6e 2e6f 7065 6e73 6869 6674  ration.openshift
│ │ │ +0006f970: 2e69 6f2f 7631 0a6b 696e 643a 204d 6163  .io/v1.kind: Mac
│ │ │ +0006f980: 6869 6e65 436f 6e66 6967 0a73 7065 633a  hineConfig.spec:
│ │ │ +0006f990: 0a20 2063 6f6e 6669 673a 0a20 2020 2069  .  config:.    i
│ │ │ +0006f9a0: 676e 6974 696f 6e3a 0a20 2020 2020 2076  gnition:.      v
│ │ │ +0006f9b0: 6572 7369 6f6e 3a20 332e 312e 300a 2020  ersion: 3.1.0.  
│ │ │ +0006f9c0: 2020 7379 7374 656d 643a 0a20 2020 2020    systemd:.     
│ │ │ +0006f9d0: 2075 6e69 7473 3a0a 2020 2020 2020 2d20   units:.      - 
│ │ │ +0006f9e0: 6e61 6d65 3a20 6170 706f 7274 2e73 6572  name: apport.ser
│ │ │ +0006f9f0: 7669 6365 0a20 2020 2020 2020 2065 6e61  vice.        ena
│ │ │ +0006fa00: 626c 6564 3a20 6661 6c73 650a 2020 2020  bled: false.    
│ │ │ +0006fa10: 2020 2020 6d61 736b 3a20 7472 7565 0a20      mask: true. 
│ │ │ +0006fa20: 2020 2020 202d 206e 616d 653a 2061 7070       - name: app
│ │ │ +0006fa30: 6f72 742e 736f 636b 6574 0a20 2020 2020  ort.socket.     
│ │ │ +0006fa40: 2020 2065 6e61 626c 6564 3a20 6661 6c73     enabled: fals
│ │ │ +0006fa50: 650a 2020 2020 2020 2020 6d61 736b 3a20  e.        mask: 
│ │ │ +0006fa60: 7472 7565 0a3c 2f63 6f64 653e 3c2f 7072  true.
Remediat │ │ │ +0006fb20: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ +0006fb30: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +0006fbe0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +0006fc00: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +0006fc30: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +0006fbc0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +0006fbd0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +0006fbf0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +0006fc10: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +0006fc20: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

include │ │ │ +0006fc70: 2064 6973 6162 6c65 5f61 7070 6f72 740a disable_apport. │ │ │ +0006fc80: 0a63 6c61 7373 2064 6973 6162 6c65 5f61 .class disable_a │ │ │ +0006fc90: 7070 6f72 7420 7b0a 2020 7365 7276 6963 pport {. servic │ │ │ +0006fca0: 6520 7b27 6170 706f 7274 273a 0a20 2020 e {'apport':. │ │ │ +0006fcb0: 2065 6e61 626c 6520 3d26 6774 3b20 6661 enable => fa │ │ │ +0006fcc0: 6c73 652c 0a20 2020 2065 6e73 7572 6520 lse,. ensure │ │ │ +0006fcd0: 3d26 6774 3b20 2773 746f 7070 6564 272c => 'stopped', │ │ │ +0006fce0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.

Remedi │ │ │ +0006fda0: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl │ │ │ +0006fdb0: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet │ │ │ +0006fdc0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...

.[custo │ │ │ +0006fe10: 6d69 7a61 7469 6f6e 732e 7365 7276 6963 mizations.servic │ │ │ +0006fe20: 6573 5d0a 6d61 736b 6564 203d 205b 2261 es].masked = ["a │ │ │ +0006fe30: 7070 6f72 7422 5d0a 3c2f 636f 6465 3e3c pport"].< │ │ │ 0006fe40: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>

Remediat │ │ │ -00071820: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue │ │ │ -00071830: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet .. │ │ │ -00071840: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
.[[packag
│ │ │ -00071890: 6573 5d5d 0a6e 616d 6520 3d20 2263 726f  es]].name = "cro
│ │ │ -000718a0: 6e22 0a76 6572 7369 6f6e 203d 2022 2a22  n".version = "*"
│ │ │ -000718b0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -00071970: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -00071980: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -00071a00: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -00071a10: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ -00071a30: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ -00071a40: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ -00071a60: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ -00071a80: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:enable
<
│ │ │ -00071ab0: 636f 6465 3e69 6e63 6c75 6465 2069 6e73  code>include ins
│ │ │ -00071ac0: 7461 6c6c 5f63 726f 6e0a 0a63 6c61 7373  tall_cron..class
│ │ │ -00071ad0: 2069 6e73 7461 6c6c 5f63 726f 6e20 7b0a   install_cron {.
│ │ │ -00071ae0: 2020 7061 636b 6167 6520 7b20 2763 726f    package { 'cro
│ │ │ -00071af0: 6e27 3a0a 2020 2020 656e 7375 7265 203d  n':.    ensure =
│ │ │ -00071b00: 2667 743b 2027 696e 7374 616c 6c65 6427  > 'installed'
│ │ │ -00071b10: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ -00071b20: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remed │ │ │ -00071bd0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s │ │ │ -00071be0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -00071c80: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -00071c90: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -00071ce0: 3c74 723e 3c74 683e 5374 7261 7465 6779
- n
│ │ │ -00071d20: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ -00071d30: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ -00071d40: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ -00071d50: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ -00071d60: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ -00071d70: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ -00071d80: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ -00071d90: 2e32 0a20 202d 2050 4349 2d44 5353 7634  .2.  - PCI-DSSv4
│ │ │ -00071da0: 2d32 2e32 2e36 0a20 202d 2065 6e61 626c  -2.2.6.  - enabl
│ │ │ -00071db0: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ -00071dc0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ -00071dd0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -00071de0: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ -00071df0: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -00071e00: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ -00071e10: 636b 6167 655f 6372 6f6e 5f69 6e73 7461  ckage_cron_insta
│ │ │ -00071e20: 6c6c 6564 0a0a 2d20 6e61 6d65 3a20 456e  lled..- name: En
│ │ │ -00071e30: 7375 7265 2063 726f 6e20 6973 2069 6e73  sure cron is ins
│ │ │ -00071e40: 7461 6c6c 6564 0a20 2070 6163 6b61 6765  talled.  package
│ │ │ -00071e50: 3a0a 2020 2020 6e61 6d65 3a20 6372 6f6e  :.    name: cron
│ │ │ -00071e60: 0a20 2020 2073 7461 7465 3a20 7072 6573  .    state: pres
│ │ │ -00071e70: 656e 740a 2020 7768 656e 3a20 2722 6c69  ent.  when: '"li
│ │ │ -00071e80: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ -00071e90: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -00071ea0: 6765 7327 0a20 2074 6167 733a 0a20 202d  ges'.  tags:.  -
│ │ │ -00071eb0: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -00071ec0: 3628 6129 0a20 202d 2050 4349 2d44 5353  6(a).  - PCI-DSS
│ │ │ -00071ed0: 7634 2d32 2e32 0a20 202d 2050 4349 2d44  v4-2.2.  - PCI-D
│ │ │ -00071ee0: 5353 7634 2d32 2e32 2e36 0a20 202d 2065  SSv4-2.2.6.  - e
│ │ │ -00071ef0: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ -00071f00: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -00071f10: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -00071f20: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ -00071f30: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -00071f40: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -00071f50: 2d20 7061 636b 6167 655f 6372 6f6e 5f69  - package_cron_i
│ │ │ -00071f60: 6e73 7461 6c6c 6564 0a3c 2f63 6f64 653e  nstalled.
│ │ │ +00071820: 696f 6e20 416e 7369 626c 6520 736e 6970  ion Ansible snip
│ │ │ +00071830: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c  pet ...
< │ │ │ +00071840: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +00071850: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +00071860: 7365 2220 6964 3d22 6964 6d32 3134 3632 se" id="idm21462 │ │ │ +00071870: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
C │ │ │ -00071c70: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -00071ca0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -00071cb0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -00071cf0: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ -00071d00: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Comp │ │ │ +000718c0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +000718d0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +000718f0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +00071910: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +00071920: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ +00071960: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +00071970: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ +00071980: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac │ │ │ +00071990: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ +000719a0: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto. │ │ │ +000719b0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8 │ │ │ +000719c0: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a). │ │ │ +000719d0: 2d20 5043 492d 4453 5376 342d 322e 320a - PCI-DSSv4-2.2. │ │ │ +000719e0: 2020 2d20 5043 492d 4453 5376 342d 322e - PCI-DSSv4-2. │ │ │ +000719f0: 322e 360a 2020 2d20 656e 6162 6c65 5f73 2.6. - enable_s │ │ │ +00071a00: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_ │ │ │ +00071a10: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l │ │ │ +00071a20: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption. │ │ │ +00071a30: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit │ │ │ +00071a40: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_ │ │ │ +00071a50: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa │ │ │ +00071a60: 6765 5f63 726f 6e5f 696e 7374 616c 6c65 ge_cron_installe │ │ │ +00071a70: 640a 0a2d 206e 616d 653a 2045 6e73 7572 d..- name: Ensur │ │ │ +00071a80: 6520 6372 6f6e 2069 7320 696e 7374 616c e cron is instal │ │ │ +00071a90: 6c65 640a 2020 7061 636b 6167 653a 0a20 led. package:. │ │ │ +00071aa0: 2020 206e 616d 653a 2063 726f 6e0a 2020 name: cron. │ │ │ +00071ab0: 2020 7374 6174 653a 2070 7265 7365 6e74 state: present │ │ │ +00071ac0: 0a20 2077 6865 6e3a 2027 226c 696e 7578 . when: '"linux │ │ │ +00071ad0: 2d62 6173 6522 2069 6e20 616e 7369 626c -base" in ansibl │ │ │ +00071ae0: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages │ │ │ +00071af0: 270a 2020 7461 6773 3a0a 2020 2d20 4e49 '. tags:. - NI │ │ │ +00071b00: 5354 2d38 3030 2d35 332d 434d 2d36 2861 ST-800-53-CM-6(a │ │ │ +00071b10: 290a 2020 2d20 5043 492d 4453 5376 342d ). - PCI-DSSv4- │ │ │ +00071b20: 322e 320a 2020 2d20 5043 492d 4453 5376 2.2. - PCI-DSSv │ │ │ +00071b30: 342d 322e 322e 360a 2020 2d20 656e 6162 4-2.2.6. - enab │ │ │ +00071b40: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. - │ │ │ +00071b50: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity. │ │ │ +00071b60: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio │ │ │ +00071b70: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576 n. - medium_sev │ │ │ +00071b80: 6572 6974 790a 2020 2d20 6e6f 5f72 6562 erity. - no_reb │ │ │ +00071b90: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p │ │ │ +00071ba0: 6163 6b61 6765 5f63 726f 6e5f 696e 7374 ackage_cron_inst │ │ │ +00071bb0: 616c 6c65 640a 3c2f 636f 6465 3e3c 2f70 alled.

Remedia │ │ │ +00071c70: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ +00071c80: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +00071c90: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +00071ca0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +00071cb0: 7365 2220 6964 3d22 6964 6d32 3134 3633 se" id="idm21463 │ │ │ +00071cc0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ +00071d10: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +00071d20: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +00071d40: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +00071d60: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +00071d70: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ +00071db0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ +00071dc0: 6520 696e 7374 616c 6c5f 6372 6f6e 0a0a e install_cron.. │ │ │ +00071dd0: 636c 6173 7320 696e 7374 616c 6c5f 6372 class install_cr │ │ │ +00071de0: 6f6e 207b 0a20 2070 6163 6b61 6765 207b on {. package { │ │ │ +00071df0: 2027 6372 6f6e 273a 0a20 2020 2065 6e73 'cron':. ens │ │ │ +00071e00: 7572 6520 3d26 6774 3b20 2769 6e73 7461 ure => 'insta │ │ │ +00071e10: 6c6c 6564 272c 0a20 207d 0a7d 0a3c 2f63 lled',. }.}.
│ │ │ +00071e30: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +00071ed0: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu │ │ │ +00071ee0: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn │ │ │ +00071ef0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.
│ │ │ +00071f40: 5b5b 7061 636b 6167 6573 5d5d 0a6e 616d  [[packages]].nam
│ │ │ +00071f50: 6520 3d20 2263 726f 6e22 0a76 6572 7369  e = "cron".versi
│ │ │ +00071f60: 6f6e 203d 2022 2a22 0a3c 2f63 6f64 653e  on = "*".
│ │ │  00071f70: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Remediation │ │ │ -00073180: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ -00073190: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
.[customizat
│ │ │ -000731f0: 696f 6e73 2e73 6572 7669 6365 735d 0a65  ions.services].e
│ │ │ -00073200: 6e61 626c 6564 203d 205b 2263 726f 6e22  nabled = ["cron"
│ │ │ -00073210: 5d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  ].
< │ │ │ -00073220: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>
Remediation │ │ │ -000732d0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ -000732e0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -00073360: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -00073370: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -00073380: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -000733c0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -000733d0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -000733f0: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ -00073410: 3c63 6f64 653e 696e 636c 7564 6520 656e  include en
│ │ │ -00073420: 6162 6c65 5f63 726f 6e0a 0a63 6c61 7373  able_cron..class
│ │ │ -00073430: 2065 6e61 626c 655f 6372 6f6e 207b 0a20   enable_cron {. 
│ │ │ -00073440: 2073 6572 7669 6365 207b 2763 726f 6e27   service {'cron'
│ │ │ -00073450: 3a0a 2020 2020 656e 6162 6c65 203d 2667  :.    enable =&g
│ │ │ -00073460: 743b 2074 7275 652c 0a20 2020 2065 6e73  t; true,.    ens
│ │ │ -00073470: 7572 6520 3d26 6774 3b20 2772 756e 6e69  ure => 'runni
│ │ │ -00073480: 6e67 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ng',.  }.}.
Re │ │ │ -00073540: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -00073550: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
Complexity: │ │ │ -00073630: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -00073640: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ -00073690: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ -000736a0: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ -000736b0: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ -000736c0: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ -000736d0: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ -000736e0: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ -000736f0: 2861 290a 2020 2d20 656e 6162 6c65 5f73  (a).  - enable_s
│ │ │ -00073700: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ -00073710: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -00073720: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -00073730: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ -00073740: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ -00073750: 6e65 6564 6564 0a20 202d 2073 6572 7669  needed.  - servi
│ │ │ -00073760: 6365 5f63 726f 6e5f 656e 6162 6c65 640a  ce_cron_enabled.
│ │ │ -00073770: 0a2d 206e 616d 653a 2045 6e61 626c 6520  .- name: Enable 
│ │ │ -00073780: 6372 6f6e 2053 6572 7669 6365 202d 2045  cron Service - E
│ │ │ -00073790: 6e61 626c 6520 7365 7276 6963 6520 6372  nable service cr
│ │ │ -000737a0: 6f6e 0a20 2062 6c6f 636b 3a0a 0a20 202d  on.  block:..  -
│ │ │ -000737b0: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ -000737c0: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ -000737d0: 2020 2020 7061 636b 6167 655f 6661 6374      package_fact
│ │ │ -000737e0: 733a 0a20 2020 2020 206d 616e 6167 6572  s:.      manager
│ │ │ -000737f0: 3a20 6175 746f 0a0a 2020 2d20 6e61 6d65  : auto..  - name
│ │ │ -00073800: 3a20 456e 6162 6c65 2063 726f 6e20 5365  : Enable cron Se
│ │ │ -00073810: 7276 6963 6520 2d20 456e 6162 6c65 2053  rvice - Enable S
│ │ │ -00073820: 6572 7669 6365 2063 726f 6e0a 2020 2020  ervice cron.    
│ │ │ -00073830: 616e 7369 626c 652e 6275 696c 7469 6e2e  ansible.builtin.
│ │ │ -00073840: 7379 7374 656d 643a 0a20 2020 2020 206e  systemd:.      n
│ │ │ -00073850: 616d 653a 2063 726f 6e0a 2020 2020 2020  ame: cron.      
│ │ │ -00073860: 656e 6162 6c65 643a 2074 7275 650a 2020  enabled: true.  
│ │ │ -00073870: 2020 2020 7374 6174 653a 2073 7461 7274      state: start
│ │ │ -00073880: 6564 0a20 2020 2020 206d 6173 6b65 643a  ed.      masked:
│ │ │ -00073890: 2066 616c 7365 0a20 2020 2077 6865 6e3a   false.    when:
│ │ │ -000738a0: 0a20 2020 202d 2027 2263 726f 6e22 2069  .    - '"cron" i
│ │ │ -000738b0: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ -000738c0: 7061 636b 6167 6573 270a 2020 7768 656e  packages'.  when
│ │ │ -000738d0: 3a20 2722 6c69 6e75 782d 6261 7365 2220  : '"linux-base" 
│ │ │ -000738e0: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -000738f0: 2e70 6163 6b61 6765 7327 0a20 2074 6167  .packages'.  tag
│ │ │ -00073900: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ -00073910: 3533 2d43 4d2d 3628 6129 0a20 202d 2065  53-CM-6(a).  - e
│ │ │ -00073920: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ -00073930: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -00073940: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -00073950: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ -00073960: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -00073970: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -00073980: 2d20 7365 7276 6963 655f 6372 6f6e 5f65  - service_cron_e
│ │ │ -00073990: 6e61 626c 6564 0a3c 2f63 6f64 653e 3c2f  nabled.
< │ │ │ +000731d0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +000731e0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +000731f0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +00073200: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +00073210: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ +000732a0: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c < │ │ │ +000732b0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
low
Disru │ │ │ -00073610: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -00073620: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -00073660: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ -00073670: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complex │ │ │ +00073220: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +00073230: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ +00073270: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +00073280: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
enable
- name: G
│ │ │ +000732d0: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ +000732e0: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ +000732f0: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ +00073300: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ +00073310: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +00073320: 3533 2d43 4d2d 3628 6129 0a20 202d 2065  53-CM-6(a).  - e
│ │ │ +00073330: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ +00073340: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +00073350: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +00073360: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +00073370: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +00073380: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +00073390: 2d20 7365 7276 6963 655f 6372 6f6e 5f65  - service_cron_e
│ │ │ +000733a0: 6e61 626c 6564 0a0a 2d20 6e61 6d65 3a20  nabled..- name: 
│ │ │ +000733b0: 456e 6162 6c65 2063 726f 6e20 5365 7276  Enable cron Serv
│ │ │ +000733c0: 6963 6520 2d20 456e 6162 6c65 2073 6572  ice - Enable ser
│ │ │ +000733d0: 7669 6365 2063 726f 6e0a 2020 626c 6f63  vice cron.  bloc
│ │ │ +000733e0: 6b3a 0a0a 2020 2d20 6e61 6d65 3a20 4761  k:..  - name: Ga
│ │ │ +000733f0: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ +00073400: 2066 6163 7473 0a20 2020 2070 6163 6b61   facts.    packa
│ │ │ +00073410: 6765 5f66 6163 7473 3a0a 2020 2020 2020  ge_facts:.      
│ │ │ +00073420: 6d61 6e61 6765 723a 2061 7574 6f0a 0a20  manager: auto.. 
│ │ │ +00073430: 202d 206e 616d 653a 2045 6e61 626c 6520   - name: Enable 
│ │ │ +00073440: 6372 6f6e 2053 6572 7669 6365 202d 2045  cron Service - E
│ │ │ +00073450: 6e61 626c 6520 5365 7276 6963 6520 6372  nable Service cr
│ │ │ +00073460: 6f6e 0a20 2020 2061 6e73 6962 6c65 2e62  on.    ansible.b
│ │ │ +00073470: 7569 6c74 696e 2e73 7973 7465 6d64 3a0a  uiltin.systemd:.
│ │ │ +00073480: 2020 2020 2020 6e61 6d65 3a20 6372 6f6e        name: cron
│ │ │ +00073490: 0a20 2020 2020 2065 6e61 626c 6564 3a20  .      enabled: 
│ │ │ +000734a0: 7472 7565 0a20 2020 2020 2073 7461 7465  true.      state
│ │ │ +000734b0: 3a20 7374 6172 7465 640a 2020 2020 2020  : started.      
│ │ │ +000734c0: 6d61 736b 6564 3a20 6661 6c73 650a 2020  masked: false.  
│ │ │ +000734d0: 2020 7768 656e 3a0a 2020 2020 2d20 2722    when:.    - '"
│ │ │ +000734e0: 6372 6f6e 2220 696e 2061 6e73 6962 6c65  cron" in ansible
│ │ │ +000734f0: 5f66 6163 7473 2e70 6163 6b61 6765 7327  _facts.packages'
│ │ │ +00073500: 0a20 2077 6865 6e3a 2027 226c 696e 7578  .  when: '"linux
│ │ │ +00073510: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ +00073520: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +00073530: 270a 2020 7461 6773 3a0a 2020 2d20 4e49  '.  tags:.  - NI
│ │ │ +00073540: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +00073550: 290a 2020 2d20 656e 6162 6c65 5f73 7472  ).  - enable_str
│ │ │ +00073560: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ +00073570: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +00073580: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +00073590: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ +000735a0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ +000735b0: 6564 6564 0a20 202d 2073 6572 7669 6365  eded.  - service
│ │ │ +000735c0: 5f63 726f 6e5f 656e 6162 6c65 640a 3c2f  _cron_enabled.
Remediation Pup │ │ │ +00073690: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ +000736a0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ +00073720: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +00073740: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +00073790: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ +000737c0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include enable
│ │ │ +000737e0: 5f63 726f 6e0a 0a63 6c61 7373 2065 6e61  _cron..class ena
│ │ │ +000737f0: 626c 655f 6372 6f6e 207b 0a20 2073 6572  ble_cron {.  ser
│ │ │ +00073800: 7669 6365 207b 2763 726f 6e27 3a0a 2020  vice {'cron':.  
│ │ │ +00073810: 2020 656e 6162 6c65 203d 2667 743b 2074    enable => t
│ │ │ +00073820: 7275 652c 0a20 2020 2065 6e73 7572 6520  rue,.    ensure 
│ │ │ +00073830: 3d26 6774 3b20 2772 756e 6e69 6e67 272c  => 'running',
│ │ │ +00073840: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.Remedi
│ │ │ +00073900: 6174 696f 6e20 4f53 4275 696c 6420 426c  ation OSBuild Bl
│ │ │ +00073910: 7565 7072 696e 7420 736e 6970 7065 7420  ueprint snippet 
│ │ │ +00073920: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620  ...

.[custo │ │ │ +00073970: 6d69 7a61 7469 6f6e 732e 7365 7276 6963 mizations.servic │ │ │ +00073980: 6573 5d0a 656e 6162 6c65 6420 3d20 5b22 es].enabled = [" │ │ │ +00073990: 6372 6f6e 225d 0a3c 2f63 6f64 653e 3c2f cron"].

Remediatio │ │ │ -00074f70: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ -00074f80: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -00074fc0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -00074fd0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -00074fe0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -00074ff0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -00075000: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ -00075090: 3c74 643e 6469 7361 626c 653c 2f74 643e │ │ │ -000750a0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Complexity:< │ │ │ +00073730: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +00073750: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +000737a0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ +000737b0: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
Complex │ │ │ -00075010: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -00075020: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ -00075060: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -00075070: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
disable
include │ │ │ -000750c0: 7265 6d6f 7665 5f69 6e65 7475 7469 6c73 remove_inetutils │ │ │ -000750d0: 2d74 656c 6e65 7464 0a0a 636c 6173 7320 -telnetd..class │ │ │ -000750e0: 7265 6d6f 7665 5f69 6e65 7475 7469 6c73 remove_inetutils │ │ │ -000750f0: 2d74 656c 6e65 7464 207b 0a20 2070 6163 -telnetd {. pac │ │ │ -00075100: 6b61 6765 207b 2027 696e 6574 7574 696c kage { 'inetutil │ │ │ -00075110: 732d 7465 6c6e 6574 6427 3a0a 2020 2020 s-telnetd':. │ │ │ -00075120: 656e 7375 7265 203d 2667 743b 2027 7075 ensure => 'pu │ │ │ -00075130: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63 rged',. }.}.
│ │ │ -00075150: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ -000751f0: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi │ │ │ -00075200: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...< │ │ │ -00075210: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -00075290: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -000752b0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -00075300: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -00075330: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -000752a0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -000752c0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -00075310: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -00075320: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
- name: Ensur
│ │ │ -00075350: 6520 696e 6574 7574 696c 732d 7465 6c6e  e inetutils-teln
│ │ │ -00075360: 6574 6420 6973 2072 656d 6f76 6564 0a20  etd is removed. 
│ │ │ -00075370: 2070 6163 6b61 6765 3a0a 2020 2020 6e61   package:.    na
│ │ │ -00075380: 6d65 3a20 696e 6574 7574 696c 732d 7465  me: inetutils-te
│ │ │ -00075390: 6c6e 6574 640a 2020 2020 7374 6174 653a  lnetd.    state:
│ │ │ -000753a0: 2061 6273 656e 740a 2020 7461 6773 3a0a   absent.  tags:.
│ │ │ -000753b0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -000753c0: 434d 2d36 2861 290a 2020 2d20 4e49 5354  CM-6(a).  - NIST
│ │ │ -000753d0: 2d38 3030 2d35 332d 434d 2d37 2861 290a  -800-53-CM-7(a).
│ │ │ -000753e0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -000753f0: 434d 2d37 2862 290a 2020 2d20 6469 7361  CM-7(b).  - disa
│ │ │ -00075400: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -00075410: 2068 6967 685f 7365 7665 7269 7479 0a20   high_severity. 
│ │ │ -00075420: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -00075430: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -00075440: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f  tion.  - no_rebo
│ │ │ -00075450: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ -00075460: 636b 6167 655f 696e 6574 7574 696c 732d  ckage_inetutils-
│ │ │ -00075470: 7465 6c6e 6574 645f 7265 6d6f 7665 640a  telnetd_removed.
│ │ │ +00074f70: 6e20 416e 7369 626c 6520 736e 6970 7065  n Ansible snippe
│ │ │ +00074f80: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469  t ...
│ │ │ +00074fc0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ +00075030: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +00075050: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +00075080: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ +00075010: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +00075020: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +00075060: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +00075070: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

- name: │ │ │ +000750c0: 2045 6e73 7572 6520 696e 6574 7574 696c Ensure inetutil │ │ │ +000750d0: 732d 7465 6c6e 6574 6420 6973 2072 656d s-telnetd is rem │ │ │ +000750e0: 6f76 6564 0a20 2070 6163 6b61 6765 3a0a oved. package:. │ │ │ +000750f0: 2020 2020 6e61 6d65 3a20 696e 6574 7574 name: inetut │ │ │ +00075100: 696c 732d 7465 6c6e 6574 640a 2020 2020 ils-telnetd. │ │ │ +00075110: 7374 6174 653a 2061 6273 656e 740a 2020 state: absent. │ │ │ +00075120: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8 │ │ │ +00075130: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a). │ │ │ +00075140: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM │ │ │ +00075150: 2d37 2861 290a 2020 2d20 4e49 5354 2d38 -7(a). - NIST-8 │ │ │ +00075160: 3030 2d35 332d 434d 2d37 2862 290a 2020 00-53-CM-7(b). │ │ │ +00075170: 2d20 6469 7361 626c 655f 7374 7261 7465 - disable_strate │ │ │ +00075180: 6779 0a20 202d 2068 6967 685f 7365 7665 gy. - high_seve │ │ │ +00075190: 7269 7479 0a20 202d 206c 6f77 5f63 6f6d rity. - low_com │ │ │ +000751a0: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_ │ │ │ +000751b0: 6469 7372 7570 7469 6f6e 0a20 202d 206e disruption. - n │ │ │ +000751c0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed. │ │ │ +000751d0: 2020 2d20 7061 636b 6167 655f 696e 6574 - package_inet │ │ │ +000751e0: 7574 696c 732d 7465 6c6e 6574 645f 7265 utils-telnetd_re │ │ │ +000751f0: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70 moved.

Remedia │ │ │ +000752b0: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ +000752c0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +000752d0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +000752e0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +000752f0: 7365 2220 6964 3d22 6964 6d32 3239 3336 se" id="idm22936 │ │ │ +00075300: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ +00075350: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +00075360: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +00075380: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +000753a0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +000753b0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +000753f0: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +00075400: 6465 2072 656d 6f76 655f 696e 6574 7574  de remove_inetut
│ │ │ +00075410: 696c 732d 7465 6c6e 6574 640a 0a63 6c61  ils-telnetd..cla
│ │ │ +00075420: 7373 2072 656d 6f76 655f 696e 6574 7574  ss remove_inetut
│ │ │ +00075430: 696c 732d 7465 6c6e 6574 6420 7b0a 2020  ils-telnetd {.  
│ │ │ +00075440: 7061 636b 6167 6520 7b20 2769 6e65 7475  package { 'inetu
│ │ │ +00075450: 7469 6c73 2d74 656c 6e65 7464 273a 0a20  tils-telnetd':. 
│ │ │ +00075460: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ +00075470: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a  'purged',.  }.}.
│ │ │  00075480: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation P │ │ │ -00075fa0: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ -00075fb0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ -00076040: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -00076060: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -00076070: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -00076080: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -00076090: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -000760b0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ -000760e0: 636f 6465 3e69 6e63 6c75 6465 2072 656d  code>include rem
│ │ │ -000760f0: 6f76 655f 6e69 730a 0a63 6c61 7373 2072  ove_nis..class r
│ │ │ -00076100: 656d 6f76 655f 6e69 7320 7b0a 2020 7061  emove_nis {.  pa
│ │ │ -00076110: 636b 6167 6520 7b20 276e 6973 273a 0a20  ckage { 'nis':. 
│ │ │ -00076120: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ -00076130: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a  'purged',.  }.}.
│ │ │ -00076140: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation A │ │ │ -00076200: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet . │ │ │ -00076210: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -00076290: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -000762a0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ -000762c0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ -000762d0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ -000762f0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ -00076310: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ -00076340: 3c63 6f64 653e 2d20 6e61 6d65 3a20 456e  - name: En
│ │ │ -00076350: 7375 7265 206e 6973 2069 7320 7265 6d6f  sure nis is remo
│ │ │ -00076360: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ -00076370: 2020 206e 616d 653a 206e 6973 0a20 2020     name: nis.   
│ │ │ -00076380: 2073 7461 7465 3a20 6162 7365 6e74 0a20   state: absent. 
│ │ │ -00076390: 2074 6167 733a 0a20 202d 2064 6973 6162   tags:.  - disab
│ │ │ -000763a0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -000763b0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -000763c0: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -000763d0: 6e0a 2020 2d20 6c6f 775f 7365 7665 7269  n.  - low_severi
│ │ │ -000763e0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -000763f0: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ -00076400: 6167 655f 6e69 735f 7265 6d6f 7665 640a  age_nis_removed.
│ │ │ +00075f90: 2122 3e52 656d 6564 6961 7469 6f6e 2041  !">Remediation A
│ │ │ +00075fa0: 6e73 6962 6c65 2073 6e69 7070 6574 20e2  nsible snippet .
│ │ │ +00075fb0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063  ..
< │ │ │ +00076030: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +00076040: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +00076060: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +00076070: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +00076090: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +000760b0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ +000760e0: 3c63 6f64 653e 2d20 6e61 6d65 3a20 456e  - name: En
│ │ │ +000760f0: 7375 7265 206e 6973 2069 7320 7265 6d6f  sure nis is remo
│ │ │ +00076100: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ +00076110: 2020 206e 616d 653a 206e 6973 0a20 2020     name: nis.   
│ │ │ +00076120: 2073 7461 7465 3a20 6162 7365 6e74 0a20   state: absent. 
│ │ │ +00076130: 2074 6167 733a 0a20 202d 2064 6973 6162   tags:.  - disab
│ │ │ +00076140: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +00076150: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +00076160: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +00076170: 6e0a 2020 2d20 6c6f 775f 7365 7665 7269  n.  - low_severi
│ │ │ +00076180: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ +00076190: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ +000761a0: 6167 655f 6e69 735f 7265 6d6f 7665 640a  age_nis_removed.
│ │ │ +000761b0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation P │ │ │ +00076270: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ +00076280: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ +00076310: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +00076330: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +00076340: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +00076350: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +00076360: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +00076380: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ +000763b0: 636f 6465 3e69 6e63 6c75 6465 2072 656d  code>include rem
│ │ │ +000763c0: 6f76 655f 6e69 730a 0a63 6c61 7373 2072  ove_nis..class r
│ │ │ +000763d0: 656d 6f76 655f 6e69 7320 7b0a 2020 7061  emove_nis {.  pa
│ │ │ +000763e0: 636b 6167 6520 7b20 276e 6973 273a 0a20  ckage { 'nis':. 
│ │ │ +000763f0: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ +00076400: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a  'purged',.  }.}.
│ │ │  00076410: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Reme │ │ │ -00076d90: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -00076da0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -00076e40: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -00076e50: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -00076ea0: 3c74 723e 3c74 683e 5374 7261 7465 6779
in
│ │ │ -00076ee0: 636c 7564 6520 7265 6d6f 7665 5f6e 7470  clude remove_ntp
│ │ │ -00076ef0: 6461 7465 0a0a 636c 6173 7320 7265 6d6f  date..class remo
│ │ │ -00076f00: 7665 5f6e 7470 6461 7465 207b 0a20 2070  ve_ntpdate {.  p
│ │ │ -00076f10: 6163 6b61 6765 207b 2027 6e74 7064 6174  ackage { 'ntpdat
│ │ │ -00076f20: 6527 3a0a 2020 2020 656e 7375 7265 203d  e':.    ensure =
│ │ │ -00076f30: 2667 743b 2027 7075 7267 6564 272c 0a20  > 'purged',. 
│ │ │ -00076f40: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.Remediat
│ │ │ -00077000: 696f 6e20 416e 7369 626c 6520 736e 6970  ion Ansible snip
│ │ │ -00077010: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c  pet ...
< │ │ │ -00077020: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -00077030: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -00077040: 7365 2220 6964 3d22 6964 6d32 3239 3535 se" id="idm22955 │ │ │ -00077050: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
C │ │ │ -00076e30: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -00076e60: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -00076e70: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -00076eb0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -00076ec0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Comp │ │ │ -000770a0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -000770b0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -000770d0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -000770f0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -00077100: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ -00077140: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ -00077150: 653a 2045 6e73 7572 6520 6e74 7064 6174  e: Ensure ntpdat
│ │ │ -00077160: 6520 6973 2072 656d 6f76 6564 0a20 2070  e is removed.  p
│ │ │ -00077170: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65  ackage:.    name
│ │ │ -00077180: 3a20 6e74 7064 6174 650a 2020 2020 7374  : ntpdate.    st
│ │ │ -00077190: 6174 653a 2061 6273 656e 740a 2020 7461  ate: absent.  ta
│ │ │ -000771a0: 6773 3a0a 2020 2d20 6469 7361 626c 655f  gs:.  - disable_
│ │ │ -000771b0: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -000771c0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -000771d0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -000771e0: 202d 206c 6f77 5f73 6576 6572 6974 790a   - low_severity.
│ │ │ -000771f0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -00077200: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -00077210: 5f6e 7470 6461 7465 5f72 656d 6f76 6564  _ntpdate_removed
│ │ │ +00076d90: 6469 6174 696f 6e20 416e 7369 626c 6520  diation Ansible 
│ │ │ +00076da0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c  snippet ...<
│ │ │ +00076db0: 6272 3e3c 6469 7620 636c 6173 733d 2270  br>
│ │ │ +00076e40: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
-
│ │ │ +00076ee0: 206e 616d 653a 2045 6e73 7572 6520 6e74   name: Ensure nt
│ │ │ +00076ef0: 7064 6174 6520 6973 2072 656d 6f76 6564  pdate is removed
│ │ │ +00076f00: 0a20 2070 6163 6b61 6765 3a0a 2020 2020  .  package:.    
│ │ │ +00076f10: 6e61 6d65 3a20 6e74 7064 6174 650a 2020  name: ntpdate.  
│ │ │ +00076f20: 2020 7374 6174 653a 2061 6273 656e 740a    state: absent.
│ │ │ +00076f30: 2020 7461 6773 3a0a 2020 2d20 6469 7361    tags:.  - disa
│ │ │ +00076f40: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +00076f50: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +00076f60: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +00076f70: 6f6e 0a20 202d 206c 6f77 5f73 6576 6572  on.  - low_sever
│ │ │ +00076f80: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ +00076f90: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ +00076fa0: 6b61 6765 5f6e 7470 6461 7465 5f72 656d  kage_ntpdate_rem
│ │ │ +00076fb0: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072  oved.Remediat
│ │ │ +00077070: 696f 6e20 5075 7070 6574 2073 6e69 7070  ion Puppet snipp
│ │ │ +00077080: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64  et ...
│ │ │ +00076e30: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +00076e60: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +00076e70: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +00076eb0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +00076ec0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
│ │ │ +00077130: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +00077150: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +00077180: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +00077110: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +00077120: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +00077140: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +00077160: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +00077170: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +000771b0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ +000771c0: 6520 7265 6d6f 7665 5f6e 7470 6461 7465 e remove_ntpdate │ │ │ +000771d0: 0a0a 636c 6173 7320 7265 6d6f 7665 5f6e ..class remove_n │ │ │ +000771e0: 7470 6461 7465 207b 0a20 2070 6163 6b61 tpdate {. packa │ │ │ +000771f0: 6765 207b 2027 6e74 7064 6174 6527 3a0a ge { 'ntpdate':. │ │ │ +00077200: 2020 2020 656e 7375 7265 203d 2667 743b ensure => │ │ │ +00077210: 2027 7075 7267 6564 272c 0a20 207d 0a7d 'purged',. }.} │ │ │ 00077220: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
Remediati │ │ │ -000782f0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -00078300: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -00078340: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -000783b0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -000783d0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -00078400: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -00078390: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -000783a0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -000783e0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -000783f0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ -00078440: 2072 656d 6f76 655f 7465 6c6e 6574 642d remove_telnetd- │ │ │ -00078450: 7373 6c0a 0a63 6c61 7373 2072 656d 6f76 ssl..class remov │ │ │ -00078460: 655f 7465 6c6e 6574 642d 7373 6c20 7b0a e_telnetd-ssl {. │ │ │ -00078470: 2020 7061 636b 6167 6520 7b20 2774 656c package { 'tel │ │ │ -00078480: 6e65 7464 2d73 736c 273a 0a20 2020 2065 netd-ssl':. e │ │ │ -00078490: 6e73 7572 6520 3d26 6774 3b20 2770 7572 nsure => 'pur │ │ │ -000784a0: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f ged',. }.}.

< │ │ │ -000784c0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -000784d0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -000784e0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -000784f0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -00078500: 646d 3233 3035 3622 2074 6162 696e 6465 dm23056" tabinde │ │ │ -00078510: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -00078520: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -00078530: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -00078540: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -00078550: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -00078560: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ -00078570: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
< │ │ │ -00078600: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -00078620: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -00078670: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ -000786a0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Ensure
│ │ │ -000786c0: 2074 656c 6e65 7464 2d73 736c 2069 7320   telnetd-ssl is 
│ │ │ -000786d0: 7265 6d6f 7665 640a 2020 7061 636b 6167  removed.  packag
│ │ │ -000786e0: 653a 0a20 2020 206e 616d 653a 2074 656c  e:.    name: tel
│ │ │ -000786f0: 6e65 7464 2d73 736c 0a20 2020 2073 7461  netd-ssl.    sta
│ │ │ -00078700: 7465 3a20 6162 7365 6e74 0a20 2074 6167  te: absent.  tag
│ │ │ -00078710: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ -00078720: 3533 2d43 4d2d 3628 6129 0a20 202d 204e  53-CM-6(a).  - N
│ │ │ -00078730: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ -00078740: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ -00078750: 3533 2d43 4d2d 3728 6229 0a20 202d 2064  53-CM-7(b).  - d
│ │ │ -00078760: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ -00078770: 2020 2d20 6869 6768 5f73 6576 6572 6974    - high_severit
│ │ │ -00078780: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -00078790: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -000787a0: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72  ruption.  - no_r
│ │ │ -000787b0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -000787c0: 2070 6163 6b61 6765 5f74 656c 6e65 7464   package_telnetd
│ │ │ -000787d0: 2d73 736c 5f72 656d 6f76 6564 0a3c 2f63  -ssl_removed.
low
Disr │ │ │ -00078630: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -00078640: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -00078680: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ -00078690: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
│ │ │ +000783b0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +000783d0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +00078400: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +00078390: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +000783a0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +000783c0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +000783e0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +000783f0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +00078430: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +00078440: 3a20 456e 7375 7265 2074 656c 6e65 7464 : Ensure telnetd │ │ │ +00078450: 2d73 736c 2069 7320 7265 6d6f 7665 640a -ssl is removed. │ │ │ +00078460: 2020 7061 636b 6167 653a 0a20 2020 206e package:. n │ │ │ +00078470: 616d 653a 2074 656c 6e65 7464 2d73 736c ame: telnetd-ssl │ │ │ +00078480: 0a20 2020 2073 7461 7465 3a20 6162 7365 . state: abse │ │ │ +00078490: 6e74 0a20 2074 6167 733a 0a20 202d 204e nt. tags:. - N │ │ │ +000784a0: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6( │ │ │ +000784b0: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800- │ │ │ +000784c0: 3533 2d43 4d2d 3728 6129 0a20 202d 204e 53-CM-7(a). - N │ │ │ +000784d0: 4953 542d 3830 302d 3533 2d43 4d2d 3728 IST-800-53-CM-7( │ │ │ +000784e0: 6229 0a20 202d 2064 6973 6162 6c65 5f73 b). - disable_s │ │ │ +000784f0: 7472 6174 6567 790a 2020 2d20 6869 6768 trategy. - high │ │ │ +00078500: 5f73 6576 6572 6974 790a 2020 2d20 6c6f _severity. - lo │ │ │ +00078510: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. - │ │ │ +00078520: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption. │ │ │ +00078530: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ +00078540: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package │ │ │ +00078550: 5f74 656c 6e65 7464 2d73 736c 5f72 656d _telnetd-ssl_rem │ │ │ +00078560: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072 oved.
Remediat │ │ │ +00078620: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ +00078630: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +000786e0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +00078700: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +00078730: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +000786c0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +000786d0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +000786f0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +00078710: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +00078720: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +00078760: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ +00078770: 6520 7265 6d6f 7665 5f74 656c 6e65 7464 e remove_telnetd │ │ │ +00078780: 2d73 736c 0a0a 636c 6173 7320 7265 6d6f -ssl..class remo │ │ │ +00078790: 7665 5f74 656c 6e65 7464 2d73 736c 207b ve_telnetd-ssl { │ │ │ +000787a0: 0a20 2070 6163 6b61 6765 207b 2027 7465 . package { 'te │ │ │ +000787b0: 6c6e 6574 642d 7373 6c27 3a0a 2020 2020 lnetd-ssl':. │ │ │ +000787c0: 656e 7375 7265 203d 2667 743b 2027 7075 ensure => 'pu │ │ │ +000787d0: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63 rged',. }.}.
│ │ │ 000787f0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Remediation Pup │ │ │ -000799c0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ -000799d0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -00079a50: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -00079a70: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -00079ac0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -00079af0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -00079a60: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -00079a80: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -00079ad0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -00079ae0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ -00079b10: 655f 7465 6c6e 6574 640a 0a63 6c61 7373  e_telnetd..class
│ │ │ -00079b20: 2072 656d 6f76 655f 7465 6c6e 6574 6420   remove_telnetd 
│ │ │ -00079b30: 7b0a 2020 7061 636b 6167 6520 7b20 2774  {.  package { 't
│ │ │ -00079b40: 656c 6e65 7464 273a 0a20 2020 2065 6e73  elnetd':.    ens
│ │ │ -00079b50: 7572 6520 3d26 6774 3b20 2770 7572 6765  ure => 'purge
│ │ │ -00079b60: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Rem │ │ │ -00079c20: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ -00079c30: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -00079c40: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -00079d10: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -00079d20: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -00079d70: 2d20 6e61 6d65 3a20 456e 7375 7265 2074  - name: Ensure t
│ │ │ -00079d80: 656c 6e65 7464 2069 7320 7265 6d6f 7665  elnetd is remove
│ │ │ -00079d90: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ -00079da0: 206e 616d 653a 2074 656c 6e65 7464 0a20   name: telnetd. 
│ │ │ -00079db0: 2020 2073 7461 7465 3a20 6162 7365 6e74     state: absent
│ │ │ -00079dc0: 0a20 2074 6167 733a 0a20 202d 2044 4953  .  tags:.  - DIS
│ │ │ -00079dd0: 412d 5354 4947 2d55 4254 552d 3230 2d30  A-STIG-UBTU-20-0
│ │ │ -00079de0: 3130 3430 350a 2020 2d20 4e49 5354 2d38  10405.  - NIST-8
│ │ │ -00079df0: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ -00079e00: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -00079e10: 2d37 2861 290a 2020 2d20 4e49 5354 2d38  -7(a).  - NIST-8
│ │ │ -00079e20: 3030 2d35 332d 434d 2d37 2862 290a 2020  00-53-CM-7(b).  
│ │ │ -00079e30: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ -00079e40: 6779 0a20 202d 2068 6967 685f 7365 7665  gy.  - high_seve
│ │ │ -00079e50: 7269 7479 0a20 202d 206c 6f77 5f63 6f6d  rity.  - low_com
│ │ │ -00079e60: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -00079e70: 6469 7372 7570 7469 6f6e 0a20 202d 206e  disruption.  - n
│ │ │ -00079e80: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -00079e90: 2020 2d20 7061 636b 6167 655f 7465 6c6e    - package_teln
│ │ │ -00079ea0: 6574 645f 7265 6d6f 7665 640a 3c2f 636f  etd_removed.Remediation Ans
│ │ │ +000799c0: 6962 6c65 2073 6e69 7070 6574 20e2 87b2  ible snippet ...
│ │ │ +000799d0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61  
low< │ │ │ +00079aa0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>
Complexity:low
Disrup │ │ │ -00079cf0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -00079d00: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -00079d40: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -00079d50: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity: │ │ │ +00079a60: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ +00079a80: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ +00079ad0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +00079ae0: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Ensu
│ │ │ +00079b10: 7265 2074 656c 6e65 7464 2069 7320 7265  re telnetd is re
│ │ │ +00079b20: 6d6f 7665 640a 2020 7061 636b 6167 653a  moved.  package:
│ │ │ +00079b30: 0a20 2020 206e 616d 653a 2074 656c 6e65  .    name: telne
│ │ │ +00079b40: 7464 0a20 2020 2073 7461 7465 3a20 6162  td.    state: ab
│ │ │ +00079b50: 7365 6e74 0a20 2074 6167 733a 0a20 202d  sent.  tags:.  -
│ │ │ +00079b60: 2044 4953 412d 5354 4947 2d55 4254 552d   DISA-STIG-UBTU-
│ │ │ +00079b70: 3230 2d30 3130 3430 350a 2020 2d20 4e49  20-010405.  - NI
│ │ │ +00079b80: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +00079b90: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +00079ba0: 332d 434d 2d37 2861 290a 2020 2d20 4e49  3-CM-7(a).  - NI
│ │ │ +00079bb0: 5354 2d38 3030 2d35 332d 434d 2d37 2862  ST-800-53-CM-7(b
│ │ │ +00079bc0: 290a 2020 2d20 6469 7361 626c 655f 7374  ).  - disable_st
│ │ │ +00079bd0: 7261 7465 6779 0a20 202d 2068 6967 685f  rategy.  - high_
│ │ │ +00079be0: 7365 7665 7269 7479 0a20 202d 206c 6f77  severity.  - low
│ │ │ +00079bf0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +00079c00: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +00079c10: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +00079c20: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ +00079c30: 7465 6c6e 6574 645f 7265 6d6f 7665 640a  telnetd_removed.
│ │ │ +00079c40: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation P │ │ │ +00079d00: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ +00079d10: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ +00079da0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +00079dc0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +00079dd0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +00079de0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +00079df0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +00079e10: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ +00079e40: 636f 6465 3e69 6e63 6c75 6465 2072 656d  code>include rem
│ │ │ +00079e50: 6f76 655f 7465 6c6e 6574 640a 0a63 6c61  ove_telnetd..cla
│ │ │ +00079e60: 7373 2072 656d 6f76 655f 7465 6c6e 6574  ss remove_telnet
│ │ │ +00079e70: 6420 7b0a 2020 7061 636b 6167 6520 7b20  d {.  package { 
│ │ │ +00079e80: 2774 656c 6e65 7464 273a 0a20 2020 2065  'telnetd':.    e
│ │ │ +00079e90: 6e73 7572 6520 3d26 6774 3b20 2770 7572  nsure => 'pur
│ │ │ +00079ea0: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ged',.  }.}.
< │ │ │ 00079ec0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 00079ed0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 00079ee0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 00079ef0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 00079f00: 646d 3233 3135 3922 2074 6162 696e 6465 dm23159" tabinde │ │ │ 00079f10: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ @@ -31721,134 +31721,134 @@ │ │ │ 0007be80: 6765 743d 2223 6964 6d32 3433 3431 2220 get="#idm24341" │ │ │ 0007be90: 7461 6269 6e64 6578 3d22 3022 2072 6f6c tabindex="0" rol │ │ │ 0007bea0: 653d 2262 7574 746f 6e22 2061 7269 612d e="button" aria- │ │ │ 0007beb0: 6578 7061 6e64 6564 3d22 6661 6c73 6522 expanded="false" │ │ │ 0007bec0: 2074 6974 6c65 3d22 4163 7469 7661 7465 title="Activate │ │ │ 0007bed0: 2074 6f20 7265 7665 616c 2220 6872 6566 to reveal" href │ │ │ 0007bee0: 3d22 2321 223e 5265 6d65 6469 6174 696f ="#!">Remediatio │ │ │ -0007bef0: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr │ │ │ -0007bf00: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...< │ │ │ -0007bf10: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
<
│ │ │ -0007bf50: 636f 6465 3e0a 5b5b 7061 636b 6167 6573  code>.[[packages
│ │ │ -0007bf60: 5d5d 0a6e 616d 6520 3d20 2273 7973 7465  ]].name = "syste
│ │ │ -0007bf70: 6d64 2d74 696d 6573 796e 6364 220a 7665  md-timesyncd".ve
│ │ │ -0007bf80: 7273 696f 6e20 3d20 222a 220a 3c2f 636f  rsion = "*".
< │ │ │ -0007bfa0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -0007bfb0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -0007bfc0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -0007bfd0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -0007bfe0: 646d 3234 3334 3222 2074 6162 696e 6465 dm24342" tabinde │ │ │ -0007bff0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -0007c000: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -0007c010: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -0007c020: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -0007c030: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -0007c040: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ -0007c050: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity: │ │ │ -0007c130: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -0007c140: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ -0007c190: 696e 636c 7564 6520 696e 7374 616c 6c5f  include install_
│ │ │ -0007c1a0: 7379 7374 656d 642d 7469 6d65 7379 6e63  systemd-timesync
│ │ │ -0007c1b0: 640a 0a63 6c61 7373 2069 6e73 7461 6c6c  d..class install
│ │ │ -0007c1c0: 5f73 7973 7465 6d64 2d74 696d 6573 796e  _systemd-timesyn
│ │ │ -0007c1d0: 6364 207b 0a20 2070 6163 6b61 6765 207b  cd {.  package {
│ │ │ -0007c1e0: 2027 7379 7374 656d 642d 7469 6d65 7379   'systemd-timesy
│ │ │ -0007c1f0: 6e63 6427 3a0a 2020 2020 656e 7375 7265  ncd':.    ensure
│ │ │ -0007c200: 203d 2667 743b 2027 696e 7374 616c 6c65   => 'installe
│ │ │ -0007c210: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Rem │ │ │ -0007c2d0: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ -0007c2e0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -0007c2f0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
low
Disru │ │ │ -0007c110: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -0007c120: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -0007c160: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ -0007c170: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
< │ │ │ -0007c3c0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -0007c3d0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
-
│ │ │ -0007c420: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ -0007c430: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ -0007c440: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ -0007c450: 0a20 2020 206d 616e 6167 6572 3a20 6175  .    manager: au
│ │ │ -0007c460: 746f 0a20 2074 6167 733a 0a20 202d 204e  to.  tags:.  - N
│ │ │ -0007c470: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -0007c480: 6129 0a20 202d 2050 4349 2d44 5353 2d52  a).  - PCI-DSS-R
│ │ │ -0007c490: 6571 2d31 302e 340a 2020 2d20 656e 6162  eq-10.4.  - enab
│ │ │ -0007c4a0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -0007c4b0: 6869 6768 5f73 6576 6572 6974 790a 2020  high_severity.  
│ │ │ -0007c4c0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -0007c4d0: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -0007c4e0: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f  ion.  - no_reboo
│ │ │ -0007c4f0: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ -0007c500: 6b61 6765 5f74 696d 6573 796e 6364 5f69  kage_timesyncd_i
│ │ │ -0007c510: 6e73 7461 6c6c 6564 0a0a 2d20 6e61 6d65  nstalled..- name
│ │ │ -0007c520: 3a20 456e 7375 7265 2073 7973 7465 6d64  : Ensure systemd
│ │ │ -0007c530: 2d74 696d 6573 796e 6364 2069 7320 696e  -timesyncd is in
│ │ │ -0007c540: 7374 616c 6c65 640a 2020 7061 636b 6167  stalled.  packag
│ │ │ -0007c550: 653a 0a20 2020 206e 616d 653a 2073 7973  e:.    name: sys
│ │ │ -0007c560: 7465 6d64 2d74 696d 6573 796e 6364 0a20  temd-timesyncd. 
│ │ │ -0007c570: 2020 2073 7461 7465 3a20 7072 6573 656e     state: presen
│ │ │ -0007c580: 740a 2020 7768 656e 3a20 2722 6c69 6e75  t.  when: '"linu
│ │ │ -0007c590: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ -0007c5a0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -0007c5b0: 7327 0a20 2074 6167 733a 0a20 202d 204e  s'.  tags:.  - N
│ │ │ -0007c5c0: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -0007c5d0: 6129 0a20 202d 2050 4349 2d44 5353 2d52  a).  - PCI-DSS-R
│ │ │ -0007c5e0: 6571 2d31 302e 340a 2020 2d20 656e 6162  eq-10.4.  - enab
│ │ │ -0007c5f0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -0007c600: 6869 6768 5f73 6576 6572 6974 790a 2020  high_severity.  
│ │ │ -0007c610: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -0007c620: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -0007c630: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f  ion.  - no_reboo
│ │ │ -0007c640: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ -0007c650: 6b61 6765 5f74 696d 6573 796e 6364 5f69  kage_timesyncd_i
│ │ │ -0007c660: 6e73 7461 6c6c 6564 0a3c 2f63 6f64 653e  nstalled.
│ │ │ +0007bef0: 6e20 416e 7369 626c 6520 736e 6970 7065  n Ansible snippe
│ │ │ +0007bf00: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469  t ...
│ │ │ +0007bf40: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
Complexity:low
Disrup │ │ │ -0007c3a0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -0007c3b0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -0007c3f0: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ -0007c400: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ +0007bfb0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +0007bfd0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +0007c000: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ +0007c020: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ +0007bf90: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +0007bfa0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +0007bfe0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +0007bff0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
- name: │ │ │ +0007c040: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ +0007c050: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ +0007c060: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ +0007c070: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ +0007c080: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800 │ │ │ +0007c090: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). - │ │ │ +0007c0a0: 5043 492d 4453 532d 5265 712d 3130 2e34 PCI-DSS-Req-10.4 │ │ │ +0007c0b0: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra │ │ │ +0007c0c0: 7465 6779 0a20 202d 2068 6967 685f 7365 tegy. - high_se │ │ │ +0007c0d0: 7665 7269 7479 0a20 202d 206c 6f77 5f63 verity. - low_c │ │ │ +0007c0e0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo │ │ │ +0007c0f0: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. - │ │ │ +0007c100: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede │ │ │ +0007c110: 640a 2020 2d20 7061 636b 6167 655f 7469 d. - package_ti │ │ │ +0007c120: 6d65 7379 6e63 645f 696e 7374 616c 6c65 mesyncd_installe │ │ │ +0007c130: 640a 0a2d 206e 616d 653a 2045 6e73 7572 d..- name: Ensur │ │ │ +0007c140: 6520 7379 7374 656d 642d 7469 6d65 7379 e systemd-timesy │ │ │ +0007c150: 6e63 6420 6973 2069 6e73 7461 6c6c 6564 ncd is installed │ │ │ +0007c160: 0a20 2070 6163 6b61 6765 3a0a 2020 2020 . package:. │ │ │ +0007c170: 6e61 6d65 3a20 7379 7374 656d 642d 7469 name: systemd-ti │ │ │ +0007c180: 6d65 7379 6e63 640a 2020 2020 7374 6174 mesyncd. stat │ │ │ +0007c190: 653a 2070 7265 7365 6e74 0a20 2077 6865 e: present. whe │ │ │ +0007c1a0: 6e3a 2027 226c 696e 7578 2d62 6173 6522 n: '"linux-base" │ │ │ +0007c1b0: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact │ │ │ +0007c1c0: 732e 7061 636b 6167 6573 270a 2020 7461 s.packages'. ta │ │ │ +0007c1d0: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800 │ │ │ +0007c1e0: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). - │ │ │ +0007c1f0: 5043 492d 4453 532d 5265 712d 3130 2e34 PCI-DSS-Req-10.4 │ │ │ +0007c200: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra │ │ │ +0007c210: 7465 6779 0a20 202d 2068 6967 685f 7365 tegy. - high_se │ │ │ +0007c220: 7665 7269 7479 0a20 202d 206c 6f77 5f63 verity. - low_c │ │ │ +0007c230: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo │ │ │ +0007c240: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. - │ │ │ +0007c250: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede │ │ │ +0007c260: 640a 2020 2d20 7061 636b 6167 655f 7469 d. - package_ti │ │ │ +0007c270: 6d65 7379 6e63 645f 696e 7374 616c 6c65 mesyncd_installe │ │ │ +0007c280: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c d.< │ │ │ +0007c290: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +0007c340: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +0007c350: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +0007c3d0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +0007c3e0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +0007c3f0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +0007c430: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +0007c440: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +0007c460: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ +0007c480: 3c63 6f64 653e 696e 636c 7564 6520 696e  include in
│ │ │ +0007c490: 7374 616c 6c5f 7379 7374 656d 642d 7469  stall_systemd-ti
│ │ │ +0007c4a0: 6d65 7379 6e63 640a 0a63 6c61 7373 2069  mesyncd..class i
│ │ │ +0007c4b0: 6e73 7461 6c6c 5f73 7973 7465 6d64 2d74  nstall_systemd-t
│ │ │ +0007c4c0: 696d 6573 796e 6364 207b 0a20 2070 6163  imesyncd {.  pac
│ │ │ +0007c4d0: 6b61 6765 207b 2027 7379 7374 656d 642d  kage { 'systemd-
│ │ │ +0007c4e0: 7469 6d65 7379 6e63 6427 3a0a 2020 2020  timesyncd':.    
│ │ │ +0007c4f0: 656e 7375 7265 203d 2667 743b 2027 696e  ensure => 'in
│ │ │ +0007c500: 7374 616c 6c65 6427 2c0a 2020 7d0a 7d0a  stalled',.  }.}.
│ │ │ +0007c510: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation O │ │ │ +0007c5d0: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint │ │ │ +0007c5e0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +0007c5f0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.[[packages]].
│ │ │ +0007c640: 6e61 6d65 203d 2022 7379 7374 656d 642d  name = "systemd-
│ │ │ +0007c650: 7469 6d65 7379 6e63 6422 0a76 6572 7369  timesyncd".versi
│ │ │ +0007c660: 6f6e 203d 2022 2a22 0a3c 2f63 6f64 653e  on = "*".
│ │ │  0007c670: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Remediat │ │ │ -0007d8b0: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue │ │ │ -0007d8c0: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet .. │ │ │ -0007d8d0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
.[customi
│ │ │ -0007d920: 7a61 7469 6f6e 732e 7365 7276 6963 6573  zations.services
│ │ │ -0007d930: 5d0a 656e 6162 6c65 6420 3d20 5b22 7379  ].enabled = ["sy
│ │ │ -0007d940: 7374 656d 642d 7469 6d65 7379 6e63 6422  stemd-timesyncd"
│ │ │ -0007d950: 5d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  ].
< │ │ │ -0007d960: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -0007da10: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ -0007da20: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -0007daa0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -0007dab0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -0007dac0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -0007db00: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -0007db10: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -0007db30: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ -0007db50: 3c63 6f64 653e 696e 636c 7564 6520 656e  include en
│ │ │ -0007db60: 6162 6c65 5f73 7973 7465 6d64 2d74 696d  able_systemd-tim
│ │ │ -0007db70: 6573 796e 6364 0a0a 636c 6173 7320 656e  esyncd..class en
│ │ │ -0007db80: 6162 6c65 5f73 7973 7465 6d64 2d74 696d  able_systemd-tim
│ │ │ -0007db90: 6573 796e 6364 207b 0a20 2073 6572 7669  esyncd {.  servi
│ │ │ -0007dba0: 6365 207b 2773 7973 7465 6d64 2d74 696d  ce {'systemd-tim
│ │ │ -0007dbb0: 6573 796e 6364 273a 0a20 2020 2065 6e61  esyncd':.    ena
│ │ │ -0007dbc0: 626c 6520 3d26 6774 3b20 7472 7565 2c0a  ble => true,.
│ │ │ -0007dbd0: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -0007dbe0: 2027 7275 6e6e 696e 6727 2c0a 2020 7d0a   'running',.  }.
│ │ │ -0007dbf0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ -0007dc00: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -0007dcb0: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ -0007dcc0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -0007dd00: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -0007dd10: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -0007dd20: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -0007dd30: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -0007dd40: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -0007dd50: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -0007dd60: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -0007dda0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -0007ddb0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -0007ddd0: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ -0007dde0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ -0007de00: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ -0007de10: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ -0007de20: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ -0007de30: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ -0007de40: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ -0007de50: 3533 2d41 552d 3828 3129 2861 290a 2020  53-AU-8(1)(a).  
│ │ │ -0007de60: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -0007de70: 2d36 2861 290a 2020 2d20 5043 492d 4453  -6(a).  - PCI-DS
│ │ │ -0007de80: 532d 5265 712d 3130 2e34 0a20 202d 2050  S-Req-10.4.  - P
│ │ │ -0007de90: 4349 2d44 5353 7634 2d31 302e 360a 2020  CI-DSSv4-10.6.  
│ │ │ -0007dea0: 2d20 5043 492d 4453 5376 342d 3130 2e36  - PCI-DSSv4-10.6
│ │ │ -0007deb0: 2e31 0a20 202d 2065 6e61 626c 655f 7374  .1.  - enable_st
│ │ │ -0007dec0: 7261 7465 6779 0a20 202d 2068 6967 685f  rategy.  - high_
│ │ │ -0007ded0: 7365 7665 7269 7479 0a20 202d 206c 6f77  severity.  - low
│ │ │ -0007dee0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -0007def0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -0007df00: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -0007df10: 6465 640a 2020 2d20 7365 7276 6963 655f  ded.  - service_
│ │ │ -0007df20: 7469 6d65 7379 6e63 645f 656e 6162 6c65  timesyncd_enable
│ │ │ -0007df30: 640a 0a2d 206e 616d 653a 2045 6e61 626c  d..- name: Enabl
│ │ │ -0007df40: 6520 7379 7374 656d 645f 7469 6d65 7379  e systemd_timesy
│ │ │ -0007df50: 6e63 6420 5365 7276 6963 6520 2d20 456e  ncd Service - En
│ │ │ -0007df60: 6162 6c65 2073 6572 7669 6365 2073 7973  able service sys
│ │ │ -0007df70: 7465 6d64 2d74 696d 6573 796e 6364 0a20  temd-timesyncd. 
│ │ │ -0007df80: 2062 6c6f 636b 3a0a 0a20 202d 206e 616d   block:..  - nam
│ │ │ -0007df90: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ -0007dfa0: 636b 6167 6520 6661 6374 730a 2020 2020  ckage facts.    
│ │ │ -0007dfb0: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ -0007dfc0: 2020 2020 206d 616e 6167 6572 3a20 6175       manager: au
│ │ │ -0007dfd0: 746f 0a0a 2020 2d20 6e61 6d65 3a20 456e  to..  - name: En
│ │ │ -0007dfe0: 6162 6c65 2073 7973 7465 6d64 5f74 696d  able systemd_tim
│ │ │ -0007dff0: 6573 796e 6364 2053 6572 7669 6365 202d  esyncd Service -
│ │ │ -0007e000: 2045 6e61 626c 6520 5365 7276 6963 6520   Enable Service 
│ │ │ -0007e010: 7379 7374 656d 642d 7469 6d65 7379 6e63  systemd-timesync
│ │ │ -0007e020: 640a 2020 2020 616e 7369 626c 652e 6275  d.    ansible.bu
│ │ │ -0007e030: 696c 7469 6e2e 7379 7374 656d 643a 0a20  iltin.systemd:. 
│ │ │ -0007e040: 2020 2020 206e 616d 653a 2073 7973 7465       name: syste
│ │ │ -0007e050: 6d64 2d74 696d 6573 796e 6364 0a20 2020  md-timesyncd.   
│ │ │ -0007e060: 2020 2065 6e61 626c 6564 3a20 7472 7565     enabled: true
│ │ │ -0007e070: 0a20 2020 2020 2073 7461 7465 3a20 7374  .      state: st
│ │ │ -0007e080: 6172 7465 640a 2020 2020 2020 6d61 736b  arted.      mask
│ │ │ -0007e090: 6564 3a20 6661 6c73 650a 2020 2020 7768  ed: false.    wh
│ │ │ -0007e0a0: 656e 3a0a 2020 2020 2d20 2722 7379 7374  en:.    - '"syst
│ │ │ -0007e0b0: 656d 6422 2069 6e20 616e 7369 626c 655f  emd" in ansible_
│ │ │ -0007e0c0: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -0007e0d0: 2020 7768 656e 3a0a 2020 2d20 2722 6c69    when:.  - '"li
│ │ │ -0007e0e0: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ -0007e0f0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -0007e100: 6765 7327 0a20 202d 2028 206e 6f74 2028  ges'.  - ( not (
│ │ │ -0007e110: 2022 6368 726f 6e79 2220 696e 2061 6e73   "chrony" in ans
│ │ │ -0007e120: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -0007e130: 6765 7320 2920 616e 6420 6e6f 7420 2820  ges ) and not ( 
│ │ │ -0007e140: 226e 7470 2220 696e 2061 6e73 6962 6c65  "ntp" in ansible
│ │ │ -0007e150: 5f66 6163 7473 2e70 6163 6b61 6765 730a  _facts.packages.
│ │ │ -0007e160: 2020 2020 2920 290a 2020 7461 6773 3a0a      ) ).  tags:.
│ │ │ -0007e170: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -0007e180: 4155 2d38 2831 2928 6129 0a20 202d 204e  AU-8(1)(a).  - N
│ │ │ -0007e190: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -0007e1a0: 6129 0a20 202d 2050 4349 2d44 5353 2d52  a).  - PCI-DSS-R
│ │ │ -0007e1b0: 6571 2d31 302e 340a 2020 2d20 5043 492d  eq-10.4.  - PCI-
│ │ │ -0007e1c0: 4453 5376 342d 3130 2e36 0a20 202d 2050  DSSv4-10.6.  - P
│ │ │ -0007e1d0: 4349 2d44 5353 7634 2d31 302e 362e 310a  CI-DSSv4-10.6.1.
│ │ │ -0007e1e0: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -0007e1f0: 6567 790a 2020 2d20 6869 6768 5f73 6576  egy.  - high_sev
│ │ │ -0007e200: 6572 6974 790a 2020 2d20 6c6f 775f 636f  erity.  - low_co
│ │ │ -0007e210: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -0007e220: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -0007e230: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -0007e240: 0a20 202d 2073 6572 7669 6365 5f74 696d  .  - service_tim
│ │ │ -0007e250: 6573 796e 6364 5f65 6e61 626c 6564 0a3c  esyncd_enabled.<
│ │ │ +0007d8b0: 696f 6e20 416e 7369 626c 6520 736e 6970  ion Ansible snip
│ │ │ +0007d8c0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c  pet ...
< │ │ │ +0007d8d0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +0007d8e0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +0007d8f0: 7365 2220 6964 3d22 6964 6d32 3434 3730 se" id="idm24470 │ │ │ +0007d900: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ +0007d950: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +0007d960: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +0007d980: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +0007d9a0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +0007d9b0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ +0007d9f0: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +0007da00: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ +0007da10: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac │ │ │ +0007da20: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ +0007da30: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto. │ │ │ +0007da40: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8 │ │ │ +0007da50: 3030 2d35 332d 4155 2d38 2831 2928 6129 00-53-AU-8(1)(a) │ │ │ +0007da60: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53 │ │ │ +0007da70: 2d43 4d2d 3628 6129 0a20 202d 2050 4349 -CM-6(a). - PCI │ │ │ +0007da80: 2d44 5353 2d52 6571 2d31 302e 340a 2020 -DSS-Req-10.4. │ │ │ +0007da90: 2d20 5043 492d 4453 5376 342d 3130 2e36 - PCI-DSSv4-10.6 │ │ │ +0007daa0: 0a20 202d 2050 4349 2d44 5353 7634 2d31 . - PCI-DSSv4-1 │ │ │ +0007dab0: 302e 362e 310a 2020 2d20 656e 6162 6c65 0.6.1. - enable │ │ │ +0007dac0: 5f73 7472 6174 6567 790a 2020 2d20 6869 _strategy. - hi │ │ │ +0007dad0: 6768 5f73 6576 6572 6974 790a 2020 2d20 gh_severity. - │ │ │ +0007dae0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity. │ │ │ +0007daf0: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio │ │ │ +0007db00: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f n. - no_reboot_ │ │ │ +0007db10: 6e65 6564 6564 0a20 202d 2073 6572 7669 needed. - servi │ │ │ +0007db20: 6365 5f74 696d 6573 796e 6364 5f65 6e61 ce_timesyncd_ena │ │ │ +0007db30: 626c 6564 0a0a 2d20 6e61 6d65 3a20 456e bled..- name: En │ │ │ +0007db40: 6162 6c65 2073 7973 7465 6d64 5f74 696d able systemd_tim │ │ │ +0007db50: 6573 796e 6364 2053 6572 7669 6365 202d esyncd Service - │ │ │ +0007db60: 2045 6e61 626c 6520 7365 7276 6963 6520 Enable service │ │ │ +0007db70: 7379 7374 656d 642d 7469 6d65 7379 6e63 systemd-timesync │ │ │ +0007db80: 640a 2020 626c 6f63 6b3a 0a0a 2020 2d20 d. block:.. - │ │ │ +0007db90: 6e61 6d65 3a20 4761 7468 6572 2074 6865 name: Gather the │ │ │ +0007dba0: 2070 6163 6b61 6765 2066 6163 7473 0a20 package facts. │ │ │ +0007dbb0: 2020 2070 6163 6b61 6765 5f66 6163 7473 package_facts │ │ │ +0007dbc0: 3a0a 2020 2020 2020 6d61 6e61 6765 723a :. manager: │ │ │ +0007dbd0: 2061 7574 6f0a 0a20 202d 206e 616d 653a auto.. - name: │ │ │ +0007dbe0: 2045 6e61 626c 6520 7379 7374 656d 645f Enable systemd_ │ │ │ +0007dbf0: 7469 6d65 7379 6e63 6420 5365 7276 6963 timesyncd Servic │ │ │ +0007dc00: 6520 2d20 456e 6162 6c65 2053 6572 7669 e - Enable Servi │ │ │ +0007dc10: 6365 2073 7973 7465 6d64 2d74 696d 6573 ce systemd-times │ │ │ +0007dc20: 796e 6364 0a20 2020 2061 6e73 6962 6c65 yncd. ansible │ │ │ +0007dc30: 2e62 7569 6c74 696e 2e73 7973 7465 6d64 .builtin.systemd │ │ │ +0007dc40: 3a0a 2020 2020 2020 6e61 6d65 3a20 7379 :. name: sy │ │ │ +0007dc50: 7374 656d 642d 7469 6d65 7379 6e63 640a stemd-timesyncd. │ │ │ +0007dc60: 2020 2020 2020 656e 6162 6c65 643a 2074 enabled: t │ │ │ +0007dc70: 7275 650a 2020 2020 2020 7374 6174 653a rue. state: │ │ │ +0007dc80: 2073 7461 7274 6564 0a20 2020 2020 206d started. m │ │ │ +0007dc90: 6173 6b65 643a 2066 616c 7365 0a20 2020 asked: false. │ │ │ +0007dca0: 2077 6865 6e3a 0a20 2020 202d 2027 2273 when:. - '"s │ │ │ +0007dcb0: 7973 7465 6d64 2220 696e 2061 6e73 6962 ystemd" in ansib │ │ │ +0007dcc0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package │ │ │ +0007dcd0: 7327 0a20 2077 6865 6e3a 0a20 202d 2027 s'. when:. - ' │ │ │ +0007dce0: 226c 696e 7578 2d62 6173 6522 2069 6e20 "linux-base" in │ │ │ +0007dcf0: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa │ │ │ +0007dd00: 636b 6167 6573 270a 2020 2d20 2820 6e6f ckages'. - ( no │ │ │ +0007dd10: 7420 2820 2263 6872 6f6e 7922 2069 6e20 t ( "chrony" in │ │ │ +0007dd20: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa │ │ │ +0007dd30: 636b 6167 6573 2029 2061 6e64 206e 6f74 ckages ) and not │ │ │ +0007dd40: 2028 2022 6e74 7022 2069 6e20 616e 7369 ( "ntp" in ansi │ │ │ +0007dd50: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag │ │ │ +0007dd60: 6573 0a20 2020 2029 2029 0a20 2074 6167 es. ) ). tag │ │ │ +0007dd70: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800- │ │ │ +0007dd80: 3533 2d41 552d 3828 3129 2861 290a 2020 53-AU-8(1)(a). │ │ │ +0007dd90: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM │ │ │ +0007dda0: 2d36 2861 290a 2020 2d20 5043 492d 4453 -6(a). - PCI-DS │ │ │ +0007ddb0: 532d 5265 712d 3130 2e34 0a20 202d 2050 S-Req-10.4. - P │ │ │ +0007ddc0: 4349 2d44 5353 7634 2d31 302e 360a 2020 CI-DSSv4-10.6. │ │ │ +0007ddd0: 2d20 5043 492d 4453 5376 342d 3130 2e36 - PCI-DSSv4-10.6 │ │ │ +0007dde0: 2e31 0a20 202d 2065 6e61 626c 655f 7374 .1. - enable_st │ │ │ +0007ddf0: 7261 7465 6779 0a20 202d 2068 6967 685f rategy. - high_ │ │ │ +0007de00: 7365 7665 7269 7479 0a20 202d 206c 6f77 severity. - low │ │ │ +0007de10: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. - │ │ │ +0007de20: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption. │ │ │ +0007de30: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee │ │ │ +0007de40: 6465 640a 2020 2d20 7365 7276 6963 655f ded. - service_ │ │ │ +0007de50: 7469 6d65 7379 6e63 645f 656e 6162 6c65 timesyncd_enable │ │ │ +0007de60: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c d.
< │ │ │ +0007de70: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +0007df20: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +0007df30: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +0007dfb0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +0007dfc0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +0007dfd0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +0007e010: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +0007e020: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +0007e040: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ +0007e060: 3c63 6f64 653e 696e 636c 7564 6520 656e  include en
│ │ │ +0007e070: 6162 6c65 5f73 7973 7465 6d64 2d74 696d  able_systemd-tim
│ │ │ +0007e080: 6573 796e 6364 0a0a 636c 6173 7320 656e  esyncd..class en
│ │ │ +0007e090: 6162 6c65 5f73 7973 7465 6d64 2d74 696d  able_systemd-tim
│ │ │ +0007e0a0: 6573 796e 6364 207b 0a20 2073 6572 7669  esyncd {.  servi
│ │ │ +0007e0b0: 6365 207b 2773 7973 7465 6d64 2d74 696d  ce {'systemd-tim
│ │ │ +0007e0c0: 6573 796e 6364 273a 0a20 2020 2065 6e61  esyncd':.    ena
│ │ │ +0007e0d0: 626c 6520 3d26 6774 3b20 7472 7565 2c0a  ble => true,.
│ │ │ +0007e0e0: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +0007e0f0: 2027 7275 6e6e 696e 6727 2c0a 2020 7d0a   'running',.  }.
│ │ │ +0007e100: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ +0007e110: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +0007e1c0: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ +0007e1d0: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
.[customizat
│ │ │ +0007e230: 696f 6e73 2e73 6572 7669 6365 735d 0a65  ions.services].e
│ │ │ +0007e240: 6e61 626c 6564 203d 205b 2273 7973 7465  nabled = ["syste
│ │ │ +0007e250: 6d64 2d74 696d 6573 796e 6364 225d 0a3c  md-timesyncd"].<
│ │ │  0007e260: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remedi │ │ │ -0008d3e0: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl │ │ │ -0008d3f0: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet │ │ │ -0008d400: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...

.[[pack │ │ │ -0008d450: 6167 6573 5d5d 0a6e 616d 6520 3d20 2261 ages]].name = "a │ │ │ -0008d460: 7564 6974 6422 0a76 6572 7369 6f6e 203d uditd".version = │ │ │ -0008d470: 2022 2a22 0a3c 2f63 6f64 653e 3c2f 7072 "*".

Remediat │ │ │ -0008d530: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ -0008d540: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -0008d5f0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -0008d610: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -0008d640: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -0008d5d0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -0008d5e0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -0008d600: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -0008d620: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -0008d630: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

include │ │ │ -0008d680: 2069 6e73 7461 6c6c 5f61 7564 6974 640a install_auditd. │ │ │ -0008d690: 0a63 6c61 7373 2069 6e73 7461 6c6c 5f61 .class install_a │ │ │ -0008d6a0: 7564 6974 6420 7b0a 2020 7061 636b 6167 uditd {. packag │ │ │ -0008d6b0: 6520 7b20 2761 7564 6974 6427 3a0a 2020 e { 'auditd':. │ │ │ -0008d6c0: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => ' │ │ │ -0008d6d0: 696e 7374 616c 6c65 6427 2c0a 2020 7d0a installed',. }. │ │ │ -0008d6e0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.< │ │ │ -0008d6f0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -0008d7a0: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ -0008d7b0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...

< │ │ │ -0008d7f0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -0008d800: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -0008d810: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -0008d820: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -0008d830: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -0008d840: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -0008d850: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -0008d890: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -0008d8a0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -0008d8c0: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ -0008d8d0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ -0008d8f0: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ -0008d900: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ -0008d910: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ -0008d920: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ -0008d930: 733a 0a20 202d 2044 4953 412d 5354 4947  s:.  - DISA-STIG
│ │ │ -0008d940: 2d55 4254 552d 3230 2d30 3130 3138 320a  -UBTU-20-010182.
│ │ │ -0008d950: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -0008d960: 4143 2d37 2861 290a 2020 2d20 4e49 5354  AC-7(a).  - NIST
│ │ │ -0008d970: 2d38 3030 2d35 332d 4155 2d31 3228 3229  -800-53-AU-12(2)
│ │ │ -0008d980: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -0008d990: 2d41 552d 3134 0a20 202d 204e 4953 542d  -AU-14.  - NIST-
│ │ │ -0008d9a0: 3830 302d 3533 2d41 552d 3228 6129 0a20  800-53-AU-2(a). 
│ │ │ -0008d9b0: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ -0008d9c0: 552d 3728 3129 0a20 202d 204e 4953 542d  U-7(1).  - NIST-
│ │ │ -0008d9d0: 3830 302d 3533 2d41 552d 3728 3229 0a20  800-53-AU-7(2). 
│ │ │ -0008d9e0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -0008d9f0: 4d2d 3628 6129 0a20 202d 2050 4349 2d44  M-6(a).  - PCI-D
│ │ │ -0008da00: 5353 2d52 6571 2d31 302e 310a 2020 2d20  SS-Req-10.1.  - 
│ │ │ -0008da10: 5043 492d 4453 5376 342d 3130 2e32 0a20  PCI-DSSv4-10.2. 
│ │ │ -0008da20: 202d 2050 4349 2d44 5353 7634 2d31 302e   - PCI-DSSv4-10.
│ │ │ -0008da30: 322e 310a 2020 2d20 656e 6162 6c65 5f73  2.1.  - enable_s
│ │ │ -0008da40: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ -0008da50: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -0008da60: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -0008da70: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ -0008da80: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ -0008da90: 6e65 6564 6564 0a20 202d 2070 6163 6b61  needed.  - packa
│ │ │ -0008daa0: 6765 5f61 7564 6974 5f69 6e73 7461 6c6c  ge_audit_install
│ │ │ -0008dab0: 6564 0a0a 2d20 6e61 6d65 3a20 456e 7375  ed..- name: Ensu
│ │ │ -0008dac0: 7265 2061 7564 6974 6420 6973 2069 6e73  re auditd is ins
│ │ │ -0008dad0: 7461 6c6c 6564 0a20 2070 6163 6b61 6765  talled.  package
│ │ │ -0008dae0: 3a0a 2020 2020 6e61 6d65 3a20 6175 6469  :.    name: audi
│ │ │ -0008daf0: 7464 0a20 2020 2073 7461 7465 3a20 7072  td.    state: pr
│ │ │ -0008db00: 6573 656e 740a 2020 7768 656e 3a20 2722  esent.  when: '"
│ │ │ -0008db10: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ -0008db20: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ -0008db30: 6b61 6765 7327 0a20 2074 6167 733a 0a20  kages'.  tags:. 
│ │ │ -0008db40: 202d 2044 4953 412d 5354 4947 2d55 4254   - DISA-STIG-UBT
│ │ │ -0008db50: 552d 3230 2d30 3130 3138 320a 2020 2d20  U-20-010182.  - 
│ │ │ -0008db60: 4e49 5354 2d38 3030 2d35 332d 4143 2d37  NIST-800-53-AC-7
│ │ │ -0008db70: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ -0008db80: 2d35 332d 4155 2d31 3228 3229 0a20 202d  -53-AU-12(2).  -
│ │ │ -0008db90: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ -0008dba0: 3134 0a20 202d 204e 4953 542d 3830 302d  14.  - NIST-800-
│ │ │ -0008dbb0: 3533 2d41 552d 3228 6129 0a20 202d 204e  53-AU-2(a).  - N
│ │ │ -0008dbc0: 4953 542d 3830 302d 3533 2d41 552d 3728  IST-800-53-AU-7(
│ │ │ -0008dbd0: 3129 0a20 202d 204e 4953 542d 3830 302d  1).  - NIST-800-
│ │ │ -0008dbe0: 3533 2d41 552d 3728 3229 0a20 202d 204e  53-AU-7(2).  - N
│ │ │ -0008dbf0: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -0008dc00: 6129 0a20 202d 2050 4349 2d44 5353 2d52  a).  - PCI-DSS-R
│ │ │ -0008dc10: 6571 2d31 302e 310a 2020 2d20 5043 492d  eq-10.1.  - PCI-
│ │ │ -0008dc20: 4453 5376 342d 3130 2e32 0a20 202d 2050  DSSv4-10.2.  - P
│ │ │ -0008dc30: 4349 2d44 5353 7634 2d31 302e 322e 310a  CI-DSSv4-10.2.1.
│ │ │ -0008dc40: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -0008dc50: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -0008dc60: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -0008dc70: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -0008dc80: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -0008dc90: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -0008dca0: 6564 0a20 202d 2070 6163 6b61 6765 5f61  ed.  - package_a
│ │ │ -0008dcb0: 7564 6974 5f69 6e73 7461 6c6c 6564 0a3c  udit_installed.<
│ │ │ +0008d3e0: 6174 696f 6e20 416e 7369 626c 6520 736e  ation Ansible sn
│ │ │ +0008d3f0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
low< │ │ │ +0008d4a0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +0008d4f0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ +0008d480: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +0008d4b0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +0008d4d0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +0008d4e0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +0008d500: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ +0008d510: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +0008d530: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ +0008d540: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ +0008d550: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ +0008d560: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ +0008d570: 2020 7461 6773 3a0a 2020 2d20 4449 5341    tags:.  - DISA
│ │ │ +0008d580: 2d53 5449 472d 5542 5455 2d32 302d 3031  -STIG-UBTU-20-01
│ │ │ +0008d590: 3031 3832 0a20 202d 204e 4953 542d 3830  0182.  - NIST-80
│ │ │ +0008d5a0: 302d 3533 2d41 432d 3728 6129 0a20 202d  0-53-AC-7(a).  -
│ │ │ +0008d5b0: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ +0008d5c0: 3132 2832 290a 2020 2d20 4e49 5354 2d38  12(2).  - NIST-8
│ │ │ +0008d5d0: 3030 2d35 332d 4155 2d31 340a 2020 2d20  00-53-AU-14.  - 
│ │ │ +0008d5e0: 4e49 5354 2d38 3030 2d35 332d 4155 2d32  NIST-800-53-AU-2
│ │ │ +0008d5f0: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ +0008d600: 2d35 332d 4155 2d37 2831 290a 2020 2d20  -53-AU-7(1).  - 
│ │ │ +0008d610: 4e49 5354 2d38 3030 2d35 332d 4155 2d37  NIST-800-53-AU-7
│ │ │ +0008d620: 2832 290a 2020 2d20 4e49 5354 2d38 3030  (2).  - NIST-800
│ │ │ +0008d630: 2d35 332d 434d 2d36 2861 290a 2020 2d20  -53-CM-6(a).  - 
│ │ │ +0008d640: 5043 492d 4453 532d 5265 712d 3130 2e31  PCI-DSS-Req-10.1
│ │ │ +0008d650: 0a20 202d 2050 4349 2d44 5353 7634 2d31  .  - PCI-DSSv4-1
│ │ │ +0008d660: 302e 320a 2020 2d20 5043 492d 4453 5376  0.2.  - PCI-DSSv
│ │ │ +0008d670: 342d 3130 2e32 2e31 0a20 202d 2065 6e61  4-10.2.1.  - ena
│ │ │ +0008d680: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +0008d690: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +0008d6a0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +0008d6b0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ +0008d6c0: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +0008d6d0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +0008d6e0: 7061 636b 6167 655f 6175 6469 745f 696e  package_audit_in
│ │ │ +0008d6f0: 7374 616c 6c65 640a 0a2d 206e 616d 653a  stalled..- name:
│ │ │ +0008d700: 2045 6e73 7572 6520 6175 6469 7464 2069   Ensure auditd i
│ │ │ +0008d710: 7320 696e 7374 616c 6c65 640a 2020 7061  s installed.  pa
│ │ │ +0008d720: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ +0008d730: 2061 7564 6974 640a 2020 2020 7374 6174   auditd.    stat
│ │ │ +0008d740: 653a 2070 7265 7365 6e74 0a20 2077 6865  e: present.  whe
│ │ │ +0008d750: 6e3a 2027 226c 696e 7578 2d62 6173 6522  n: '"linux-base"
│ │ │ +0008d760: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ +0008d770: 732e 7061 636b 6167 6573 270a 2020 7461  s.packages'.  ta
│ │ │ +0008d780: 6773 3a0a 2020 2d20 4449 5341 2d53 5449  gs:.  - DISA-STI
│ │ │ +0008d790: 472d 5542 5455 2d32 302d 3031 3031 3832  G-UBTU-20-010182
│ │ │ +0008d7a0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +0008d7b0: 2d41 432d 3728 6129 0a20 202d 204e 4953  -AC-7(a).  - NIS
│ │ │ +0008d7c0: 542d 3830 302d 3533 2d41 552d 3132 2832  T-800-53-AU-12(2
│ │ │ +0008d7d0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +0008d7e0: 332d 4155 2d31 340a 2020 2d20 4e49 5354  3-AU-14.  - NIST
│ │ │ +0008d7f0: 2d38 3030 2d35 332d 4155 2d32 2861 290a  -800-53-AU-2(a).
│ │ │ +0008d800: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +0008d810: 4155 2d37 2831 290a 2020 2d20 4e49 5354  AU-7(1).  - NIST
│ │ │ +0008d820: 2d38 3030 2d35 332d 4155 2d37 2832 290a  -800-53-AU-7(2).
│ │ │ +0008d830: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +0008d840: 434d 2d36 2861 290a 2020 2d20 5043 492d  CM-6(a).  - PCI-
│ │ │ +0008d850: 4453 532d 5265 712d 3130 2e31 0a20 202d  DSS-Req-10.1.  -
│ │ │ +0008d860: 2050 4349 2d44 5353 7634 2d31 302e 320a   PCI-DSSv4-10.2.
│ │ │ +0008d870: 2020 2d20 5043 492d 4453 5376 342d 3130    - PCI-DSSv4-10
│ │ │ +0008d880: 2e32 2e31 0a20 202d 2065 6e61 626c 655f  .2.1.  - enable_
│ │ │ +0008d890: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ +0008d8a0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +0008d8b0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +0008d8c0: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ +0008d8d0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ +0008d8e0: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ +0008d8f0: 6167 655f 6175 6469 745f 696e 7374 616c  age_audit_instal
│ │ │ +0008d900: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265  led.
Remediati │ │ │ +0008d9c0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ +0008d9d0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +0008da10: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ +0008da80: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +0008daa0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +0008dad0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ +0008daf0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ +0008da60: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +0008da70: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +0008dab0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +0008dac0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ +0008db10: 696e 7374 616c 6c5f 6175 6469 7464 0a0a install_auditd.. │ │ │ +0008db20: 636c 6173 7320 696e 7374 616c 6c5f 6175 class install_au │ │ │ +0008db30: 6469 7464 207b 0a20 2070 6163 6b61 6765 ditd {. package │ │ │ +0008db40: 207b 2027 6175 6469 7464 273a 0a20 2020 { 'auditd':. │ │ │ +0008db50: 2065 6e73 7572 6520 3d26 6774 3b20 2769 ensure => 'i │ │ │ +0008db60: 6e73 7461 6c6c 6564 272c 0a20 207d 0a7d nstalled',. }.} │ │ │ +0008db70: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
Remediation │ │ │ +0008dc30: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin │ │ │ +0008dc40: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
.[[packages]]
│ │ │ +0008dca0: 0a6e 616d 6520 3d20 2261 7564 6974 6422  .name = "auditd"
│ │ │ +0008dcb0: 0a76 6572 7369 6f6e 203d 2022 2a22 0a3c  .version = "*".<
│ │ │  0008dcc0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remedia │ │ │ -0008fb80: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu │ │ │ -0008fb90: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet . │ │ │ -0008fba0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
.[custom │ │ │ -0008fbf0: 697a 6174 696f 6e73 2e73 6572 7669 6365 izations.service │ │ │ -0008fc00: 735d 0a65 6e61 626c 6564 203d 205b 2261 s].enabled = ["a │ │ │ -0008fc10: 7564 6974 6422 5d0a 3c2f 636f 6465 3e3c uditd"].< │ │ │ -0008fc20: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remed │ │ │ -0008fcd0: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ -0008fce0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -0008fd90: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -0008fde0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ -0008fd70: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -0008fda0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -0008fdc0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -0008fdd0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -0008fdf0: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ -0008fe00: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -0008fe20: 7564 6520 656e 6162 6c65 5f61 7564 6974  ude enable_audit
│ │ │ -0008fe30: 640a 0a63 6c61 7373 2065 6e61 626c 655f  d..class enable_
│ │ │ -0008fe40: 6175 6469 7464 207b 0a20 2073 6572 7669  auditd {.  servi
│ │ │ -0008fe50: 6365 207b 2761 7564 6974 6427 3a0a 2020  ce {'auditd':.  
│ │ │ -0008fe60: 2020 656e 6162 6c65 203d 2667 743b 2074    enable => t
│ │ │ -0008fe70: 7275 652c 0a20 2020 2065 6e73 7572 6520  rue,.    ensure 
│ │ │ -0008fe80: 3d26 6774 3b20 2772 756e 6e69 6e67 272c  => 'running',
│ │ │ -0008fe90: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.
Remedi │ │ │ -0008ff50: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn │ │ │ -0008ff60: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -00090010: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -00090060: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ -0008fff0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -00090020: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -00090040: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -00090050: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -00090070: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ -00090080: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -000900a0: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ -000900b0: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ -000900c0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ -000900d0: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ -000900e0: 2020 7461 6773 3a0a 2020 2d20 434a 4953    tags:.  - CJIS
│ │ │ -000900f0: 2d35 2e34 2e31 2e31 0a20 202d 2044 4953  -5.4.1.1.  - DIS
│ │ │ -00090100: 412d 5354 4947 2d55 4254 552d 3230 2d30  A-STIG-UBTU-20-0
│ │ │ -00090110: 3130 3138 320a 2020 2d20 4e49 5354 2d38  10182.  - NIST-8
│ │ │ -00090120: 3030 2d31 3731 2d33 2e33 2e31 0a20 202d  00-171-3.3.1.  -
│ │ │ -00090130: 204e 4953 542d 3830 302d 3137 312d 332e   NIST-800-171-3.
│ │ │ -00090140: 332e 320a 2020 2d20 4e49 5354 2d38 3030  3.2.  - NIST-800
│ │ │ -00090150: 2d31 3731 2d33 2e33 2e36 0a20 202d 204e  -171-3.3.6.  - N
│ │ │ -00090160: 4953 542d 3830 302d 3533 2d41 432d 3228  IST-800-53-AC-2(
│ │ │ -00090170: 6729 0a20 202d 204e 4953 542d 3830 302d  g).  - NIST-800-
│ │ │ -00090180: 3533 2d41 432d 3628 3929 0a20 202d 204e  53-AC-6(9).  - N
│ │ │ -00090190: 4953 542d 3830 302d 3533 2d41 552d 3130  IST-800-53-AU-10
│ │ │ -000901a0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -000901b0: 2d41 552d 3132 2863 290a 2020 2d20 4e49  -AU-12(c).  - NI
│ │ │ -000901c0: 5354 2d38 3030 2d35 332d 4155 2d31 3428  ST-800-53-AU-14(
│ │ │ -000901d0: 3129 0a20 202d 204e 4953 542d 3830 302d  1).  - NIST-800-
│ │ │ -000901e0: 3533 2d41 552d 3228 6429 0a20 202d 204e  53-AU-2(d).  - N
│ │ │ -000901f0: 4953 542d 3830 302d 3533 2d41 552d 330a  IST-800-53-AU-3.
│ │ │ -00090200: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -00090210: 434d 2d36 2861 290a 2020 2d20 4e49 5354  CM-6(a).  - NIST
│ │ │ -00090220: 2d38 3030 2d35 332d 5349 2d34 2832 3329  -800-53-SI-4(23)
│ │ │ -00090230: 0a20 202d 2050 4349 2d44 5353 2d52 6571  .  - PCI-DSS-Req
│ │ │ -00090240: 2d31 302e 310a 2020 2d20 5043 492d 4453  -10.1.  - PCI-DS
│ │ │ -00090250: 5376 342d 3130 2e32 0a20 202d 2050 4349  Sv4-10.2.  - PCI
│ │ │ -00090260: 2d44 5353 7634 2d31 302e 322e 310a 2020  -DSSv4-10.2.1.  
│ │ │ -00090270: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ -00090280: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -00090290: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -000902a0: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ -000902b0: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ -000902c0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -000902d0: 0a20 202d 2073 6572 7669 6365 5f61 7564  .  - service_aud
│ │ │ -000902e0: 6974 645f 656e 6162 6c65 640a 0a2d 206e  itd_enabled..- n
│ │ │ -000902f0: 616d 653a 2045 6e61 626c 6520 6175 6469  ame: Enable audi
│ │ │ -00090300: 7464 2053 6572 7669 6365 202d 2045 6e61  td Service - Ena
│ │ │ -00090310: 626c 6520 7365 7276 6963 6520 6175 6469  ble service audi
│ │ │ -00090320: 7464 0a20 2062 6c6f 636b 3a0a 0a20 202d  td.  block:..  -
│ │ │ -00090330: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ -00090340: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ -00090350: 2020 2020 7061 636b 6167 655f 6661 6374      package_fact
│ │ │ -00090360: 733a 0a20 2020 2020 206d 616e 6167 6572  s:.      manager
│ │ │ -00090370: 3a20 6175 746f 0a0a 2020 2d20 6e61 6d65  : auto..  - name
│ │ │ -00090380: 3a20 456e 6162 6c65 2061 7564 6974 6420  : Enable auditd 
│ │ │ -00090390: 5365 7276 6963 6520 2d20 456e 6162 6c65  Service - Enable
│ │ │ -000903a0: 2053 6572 7669 6365 2061 7564 6974 640a   Service auditd.
│ │ │ -000903b0: 2020 2020 616e 7369 626c 652e 6275 696c      ansible.buil
│ │ │ -000903c0: 7469 6e2e 7379 7374 656d 643a 0a20 2020  tin.systemd:.   
│ │ │ -000903d0: 2020 206e 616d 653a 2061 7564 6974 640a     name: auditd.
│ │ │ -000903e0: 2020 2020 2020 656e 6162 6c65 643a 2074        enabled: t
│ │ │ -000903f0: 7275 650a 2020 2020 2020 7374 6174 653a  rue.      state:
│ │ │ -00090400: 2073 7461 7274 6564 0a20 2020 2020 206d   started.      m
│ │ │ -00090410: 6173 6b65 643a 2066 616c 7365 0a20 2020  asked: false.   
│ │ │ -00090420: 2077 6865 6e3a 0a20 2020 202d 2027 2261   when:.    - '"a
│ │ │ -00090430: 7564 6974 6422 2069 6e20 616e 7369 626c  uditd" in ansibl
│ │ │ -00090440: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ -00090450: 270a 2020 7768 656e 3a0a 2020 2d20 2722  '.  when:.  - '"
│ │ │ -00090460: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ -00090470: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ -00090480: 6b61 6765 7327 0a20 202d 2027 2261 7564  kages'.  - '"aud
│ │ │ -00090490: 6974 6422 2069 6e20 616e 7369 626c 655f  itd" in ansible_
│ │ │ -000904a0: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -000904b0: 2020 7461 6773 3a0a 2020 2d20 434a 4953    tags:.  - CJIS
│ │ │ -000904c0: 2d35 2e34 2e31 2e31 0a20 202d 2044 4953  -5.4.1.1.  - DIS
│ │ │ -000904d0: 412d 5354 4947 2d55 4254 552d 3230 2d30  A-STIG-UBTU-20-0
│ │ │ -000904e0: 3130 3138 320a 2020 2d20 4e49 5354 2d38  10182.  - NIST-8
│ │ │ -000904f0: 3030 2d31 3731 2d33 2e33 2e31 0a20 202d  00-171-3.3.1.  -
│ │ │ -00090500: 204e 4953 542d 3830 302d 3137 312d 332e   NIST-800-171-3.
│ │ │ -00090510: 332e 320a 2020 2d20 4e49 5354 2d38 3030  3.2.  - NIST-800
│ │ │ -00090520: 2d31 3731 2d33 2e33 2e36 0a20 202d 204e  -171-3.3.6.  - N
│ │ │ -00090530: 4953 542d 3830 302d 3533 2d41 432d 3228  IST-800-53-AC-2(
│ │ │ -00090540: 6729 0a20 202d 204e 4953 542d 3830 302d  g).  - NIST-800-
│ │ │ -00090550: 3533 2d41 432d 3628 3929 0a20 202d 204e  53-AC-6(9).  - N
│ │ │ -00090560: 4953 542d 3830 302d 3533 2d41 552d 3130  IST-800-53-AU-10
│ │ │ -00090570: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -00090580: 2d41 552d 3132 2863 290a 2020 2d20 4e49  -AU-12(c).  - NI
│ │ │ -00090590: 5354 2d38 3030 2d35 332d 4155 2d31 3428  ST-800-53-AU-14(
│ │ │ -000905a0: 3129 0a20 202d 204e 4953 542d 3830 302d  1).  - NIST-800-
│ │ │ -000905b0: 3533 2d41 552d 3228 6429 0a20 202d 204e  53-AU-2(d).  - N
│ │ │ -000905c0: 4953 542d 3830 302d 3533 2d41 552d 330a  IST-800-53-AU-3.
│ │ │ -000905d0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -000905e0: 434d 2d36 2861 290a 2020 2d20 4e49 5354  CM-6(a).  - NIST
│ │ │ -000905f0: 2d38 3030 2d35 332d 5349 2d34 2832 3329  -800-53-SI-4(23)
│ │ │ -00090600: 0a20 202d 2050 4349 2d44 5353 2d52 6571  .  - PCI-DSS-Req
│ │ │ -00090610: 2d31 302e 310a 2020 2d20 5043 492d 4453  -10.1.  - PCI-DS
│ │ │ -00090620: 5376 342d 3130 2e32 0a20 202d 2050 4349  Sv4-10.2.  - PCI
│ │ │ -00090630: 2d44 5353 7634 2d31 302e 322e 310a 2020  -DSSv4-10.2.1.  
│ │ │ -00090640: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ -00090650: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -00090660: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -00090670: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ -00090680: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ -00090690: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -000906a0: 0a20 202d 2073 6572 7669 6365 5f61 7564  .  - service_aud
│ │ │ -000906b0: 6974 645f 656e 6162 6c65 640a 3c2f 636f  itd_enabled.
│ │ │ +0008fba0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +0008fc20: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +0008fc50: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +0008fc70: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +0008fc80: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +0008fca0: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ +0008fcc0: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ +0008fcd0: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ +0008fce0: 636b 6167 6520 6661 6374 730a 2020 7061  ckage facts.  pa
│ │ │ +0008fcf0: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ +0008fd00: 206d 616e 6167 6572 3a20 6175 746f 0a20   manager: auto. 
│ │ │ +0008fd10: 2074 6167 733a 0a20 202d 2043 4a49 532d   tags:.  - CJIS-
│ │ │ +0008fd20: 352e 342e 312e 310a 2020 2d20 4449 5341  5.4.1.1.  - DISA
│ │ │ +0008fd30: 2d53 5449 472d 5542 5455 2d32 302d 3031  -STIG-UBTU-20-01
│ │ │ +0008fd40: 3031 3832 0a20 202d 204e 4953 542d 3830  0182.  - NIST-80
│ │ │ +0008fd50: 302d 3137 312d 332e 332e 310a 2020 2d20  0-171-3.3.1.  - 
│ │ │ +0008fd60: 4e49 5354 2d38 3030 2d31 3731 2d33 2e33  NIST-800-171-3.3
│ │ │ +0008fd70: 2e32 0a20 202d 204e 4953 542d 3830 302d  .2.  - NIST-800-
│ │ │ +0008fd80: 3137 312d 332e 332e 360a 2020 2d20 4e49  171-3.3.6.  - NI
│ │ │ +0008fd90: 5354 2d38 3030 2d35 332d 4143 2d32 2867  ST-800-53-AC-2(g
│ │ │ +0008fda0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +0008fdb0: 332d 4143 2d36 2839 290a 2020 2d20 4e49  3-AC-6(9).  - NI
│ │ │ +0008fdc0: 5354 2d38 3030 2d35 332d 4155 2d31 300a  ST-800-53-AU-10.
│ │ │ +0008fdd0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +0008fde0: 4155 2d31 3228 6329 0a20 202d 204e 4953  AU-12(c).  - NIS
│ │ │ +0008fdf0: 542d 3830 302d 3533 2d41 552d 3134 2831  T-800-53-AU-14(1
│ │ │ +0008fe00: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +0008fe10: 332d 4155 2d32 2864 290a 2020 2d20 4e49  3-AU-2(d).  - NI
│ │ │ +0008fe20: 5354 2d38 3030 2d35 332d 4155 2d33 0a20  ST-800-53-AU-3. 
│ │ │ +0008fe30: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +0008fe40: 4d2d 3628 6129 0a20 202d 204e 4953 542d  M-6(a).  - NIST-
│ │ │ +0008fe50: 3830 302d 3533 2d53 492d 3428 3233 290a  800-53-SI-4(23).
│ │ │ +0008fe60: 2020 2d20 5043 492d 4453 532d 5265 712d    - PCI-DSS-Req-
│ │ │ +0008fe70: 3130 2e31 0a20 202d 2050 4349 2d44 5353  10.1.  - PCI-DSS
│ │ │ +0008fe80: 7634 2d31 302e 320a 2020 2d20 5043 492d  v4-10.2.  - PCI-
│ │ │ +0008fe90: 4453 5376 342d 3130 2e32 2e31 0a20 202d  DSSv4-10.2.1.  -
│ │ │ +0008fea0: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ +0008feb0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +0008fec0: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +0008fed0: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +0008fee0: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +0008fef0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +0008ff00: 2020 2d20 7365 7276 6963 655f 6175 6469    - service_audi
│ │ │ +0008ff10: 7464 5f65 6e61 626c 6564 0a0a 2d20 6e61  td_enabled..- na
│ │ │ +0008ff20: 6d65 3a20 456e 6162 6c65 2061 7564 6974  me: Enable audit
│ │ │ +0008ff30: 6420 5365 7276 6963 6520 2d20 456e 6162  d Service - Enab
│ │ │ +0008ff40: 6c65 2073 6572 7669 6365 2061 7564 6974  le service audit
│ │ │ +0008ff50: 640a 2020 626c 6f63 6b3a 0a0a 2020 2d20  d.  block:..  - 
│ │ │ +0008ff60: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ +0008ff70: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ +0008ff80: 2020 2070 6163 6b61 6765 5f66 6163 7473     package_facts
│ │ │ +0008ff90: 3a0a 2020 2020 2020 6d61 6e61 6765 723a  :.      manager:
│ │ │ +0008ffa0: 2061 7574 6f0a 0a20 202d 206e 616d 653a   auto..  - name:
│ │ │ +0008ffb0: 2045 6e61 626c 6520 6175 6469 7464 2053   Enable auditd S
│ │ │ +0008ffc0: 6572 7669 6365 202d 2045 6e61 626c 6520  ervice - Enable 
│ │ │ +0008ffd0: 5365 7276 6963 6520 6175 6469 7464 0a20  Service auditd. 
│ │ │ +0008ffe0: 2020 2061 6e73 6962 6c65 2e62 7569 6c74     ansible.built
│ │ │ +0008fff0: 696e 2e73 7973 7465 6d64 3a0a 2020 2020  in.systemd:.    
│ │ │ +00090000: 2020 6e61 6d65 3a20 6175 6469 7464 0a20    name: auditd. 
│ │ │ +00090010: 2020 2020 2065 6e61 626c 6564 3a20 7472       enabled: tr
│ │ │ +00090020: 7565 0a20 2020 2020 2073 7461 7465 3a20  ue.      state: 
│ │ │ +00090030: 7374 6172 7465 640a 2020 2020 2020 6d61  started.      ma
│ │ │ +00090040: 736b 6564 3a20 6661 6c73 650a 2020 2020  sked: false.    
│ │ │ +00090050: 7768 656e 3a0a 2020 2020 2d20 2722 6175  when:.    - '"au
│ │ │ +00090060: 6469 7464 2220 696e 2061 6e73 6962 6c65  ditd" in ansible
│ │ │ +00090070: 5f66 6163 7473 2e70 6163 6b61 6765 7327  _facts.packages'
│ │ │ +00090080: 0a20 2077 6865 6e3a 0a20 202d 2027 226c  .  when:.  - '"l
│ │ │ +00090090: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ +000900a0: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +000900b0: 6167 6573 270a 2020 2d20 2722 6175 6469  ages'.  - '"audi
│ │ │ +000900c0: 7464 2220 696e 2061 6e73 6962 6c65 5f66  td" in ansible_f
│ │ │ +000900d0: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ +000900e0: 2074 6167 733a 0a20 202d 2043 4a49 532d   tags:.  - CJIS-
│ │ │ +000900f0: 352e 342e 312e 310a 2020 2d20 4449 5341  5.4.1.1.  - DISA
│ │ │ +00090100: 2d53 5449 472d 5542 5455 2d32 302d 3031  -STIG-UBTU-20-01
│ │ │ +00090110: 3031 3832 0a20 202d 204e 4953 542d 3830  0182.  - NIST-80
│ │ │ +00090120: 302d 3137 312d 332e 332e 310a 2020 2d20  0-171-3.3.1.  - 
│ │ │ +00090130: 4e49 5354 2d38 3030 2d31 3731 2d33 2e33  NIST-800-171-3.3
│ │ │ +00090140: 2e32 0a20 202d 204e 4953 542d 3830 302d  .2.  - NIST-800-
│ │ │ +00090150: 3137 312d 332e 332e 360a 2020 2d20 4e49  171-3.3.6.  - NI
│ │ │ +00090160: 5354 2d38 3030 2d35 332d 4143 2d32 2867  ST-800-53-AC-2(g
│ │ │ +00090170: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +00090180: 332d 4143 2d36 2839 290a 2020 2d20 4e49  3-AC-6(9).  - NI
│ │ │ +00090190: 5354 2d38 3030 2d35 332d 4155 2d31 300a  ST-800-53-AU-10.
│ │ │ +000901a0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +000901b0: 4155 2d31 3228 6329 0a20 202d 204e 4953  AU-12(c).  - NIS
│ │ │ +000901c0: 542d 3830 302d 3533 2d41 552d 3134 2831  T-800-53-AU-14(1
│ │ │ +000901d0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +000901e0: 332d 4155 2d32 2864 290a 2020 2d20 4e49  3-AU-2(d).  - NI
│ │ │ +000901f0: 5354 2d38 3030 2d35 332d 4155 2d33 0a20  ST-800-53-AU-3. 
│ │ │ +00090200: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +00090210: 4d2d 3628 6129 0a20 202d 204e 4953 542d  M-6(a).  - NIST-
│ │ │ +00090220: 3830 302d 3533 2d53 492d 3428 3233 290a  800-53-SI-4(23).
│ │ │ +00090230: 2020 2d20 5043 492d 4453 532d 5265 712d    - PCI-DSS-Req-
│ │ │ +00090240: 3130 2e31 0a20 202d 2050 4349 2d44 5353  10.1.  - PCI-DSS
│ │ │ +00090250: 7634 2d31 302e 320a 2020 2d20 5043 492d  v4-10.2.  - PCI-
│ │ │ +00090260: 4453 5376 342d 3130 2e32 2e31 0a20 202d  DSSv4-10.2.1.  -
│ │ │ +00090270: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ +00090280: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +00090290: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +000902a0: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +000902b0: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +000902c0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +000902d0: 2020 2d20 7365 7276 6963 655f 6175 6469    - service_audi
│ │ │ +000902e0: 7464 5f65 6e61 626c 6564 0a3c 2f63 6f64  td_enabled.
Re │ │ │ +000903a0: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ +000903b0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +000903c0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ +00090490: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +000904a0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
i
│ │ │ +000904f0: 6e63 6c75 6465 2065 6e61 626c 655f 6175  nclude enable_au
│ │ │ +00090500: 6469 7464 0a0a 636c 6173 7320 656e 6162  ditd..class enab
│ │ │ +00090510: 6c65 5f61 7564 6974 6420 7b0a 2020 7365  le_auditd {.  se
│ │ │ +00090520: 7276 6963 6520 7b27 6175 6469 7464 273a  rvice {'auditd':
│ │ │ +00090530: 0a20 2020 2065 6e61 626c 6520 3d26 6774  .    enable =>
│ │ │ +00090540: 3b20 7472 7565 2c0a 2020 2020 656e 7375  ; true,.    ensu
│ │ │ +00090550: 7265 203d 2667 743b 2027 7275 6e6e 696e  re => 'runnin
│ │ │ +00090560: 6727 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  g',.  }.}.
Rem │ │ │ +00090620: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild │ │ │ +00090630: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp │ │ │ +00090640: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[cu
│ │ │ +00090690: 7374 6f6d 697a 6174 696f 6e73 2e73 6572  stomizations.ser
│ │ │ +000906a0: 7669 6365 735d 0a65 6e61 626c 6564 203d  vices].enabled =
│ │ │ +000906b0: 205b 2261 7564 6974 6422 5d0a 3c2f 636f   ["auditd"].
< │ │ │ 000906d0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 000906e0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 000906f0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 00090700: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 00090710: 646d 3239 3233 3622 2074 6162 696e 6465 dm29236" tabinde │ │ │ 00090720: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ ├── html2text {} │ │ │ │ @@ -1657,31 +1657,14 @@ │ │ │ │ References: _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _o_s_-_s_r_g SRG-OS-000479-GPOS-00224, SRG-OS-000051-GPOS-00024, │ │ │ │ SRG-OS-000480-GPOS-00227 │ │ │ │ _c_i_s 4.2.1.1 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "rsyslog" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_rsyslog │ │ │ │ - │ │ │ │ -class install_rsyslog { │ │ │ │ - package { 'rsyslog': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -1704,14 +1687,31 @@ │ │ │ │ - NIST-800-53-CM-6(a) │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_rsyslog_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_rsyslog │ │ │ │ + │ │ │ │ +class install_rsyslog { │ │ │ │ + package { 'rsyslog': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "rsyslog" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -1745,31 +1745,14 @@ │ │ │ │ A.12.7.1, A.14.2.7, A.15.2.1, A.15.2.2, A.17.2.1 │ │ │ │ _n_i_s_t CM-6(a), AU-4(1) │ │ │ │ _n_i_s_t_-_c_s_f DE.CM-1, DE.CM-3, DE.CM-7, ID.SC-4, PR.DS-4, PR.PT-1 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00227 │ │ │ │ _s_t_i_g_i_d UBTU-20-010432 │ │ │ │ _c_i_s 4.2.1.2 │ │ │ │ _s_t_i_g_r_e_f SV-238353r654234_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["rsyslog"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_rsyslog │ │ │ │ - │ │ │ │ -class enable_rsyslog { │ │ │ │ - service {'rsyslog': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -1807,14 +1790,31 @@ │ │ │ │ - NIST-800-53-CM-6(a) │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_rsyslog_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_rsyslog │ │ │ │ + │ │ │ │ +class enable_rsyslog { │ │ │ │ + service {'rsyslog': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["rsyslog"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -3603,50 +3603,14 @@ │ │ │ │ apport service can be disabled with the following command: │ │ │ │ $ sudo systemctl mask --now apport.service │ │ │ │ The Apport service modifies the kernel fs.suid_dumpable configuration │ │ │ │ Rationale: at runtime which prevents other hardening from being persistent. │ │ │ │ Disabling the service prevents this behavior. │ │ │ │ Severity:  unknown │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_apport_disabled │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -masked = ["apport"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: medium │ │ │ │ -RReebboooott:: true │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ -kind: MachineConfig │ │ │ │ -spec: │ │ │ │ - config: │ │ │ │ - ignition: │ │ │ │ - version: 3.1.0 │ │ │ │ - systemd: │ │ │ │ - units: │ │ │ │ - - name: apport.service │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ - - name: apport.socket │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include disable_apport │ │ │ │ - │ │ │ │ -class disable_apport { │ │ │ │ - service {'apport': │ │ │ │ - enable => false, │ │ │ │ - ensure => 'stopped', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -3718,14 +3682,50 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - service_apport_disabled │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: medium │ │ │ │ +RReebboooott:: true │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ +kind: MachineConfig │ │ │ │ +spec: │ │ │ │ + config: │ │ │ │ + ignition: │ │ │ │ + version: 3.1.0 │ │ │ │ + systemd: │ │ │ │ + units: │ │ │ │ + - name: apport.service │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ + - name: apport.socket │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include disable_apport │ │ │ │ + │ │ │ │ +class disable_apport { │ │ │ │ + service {'apport': │ │ │ │ + enable => false, │ │ │ │ + ensure => 'stopped', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +masked = ["apport"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status}\n' 'apport' 2>/dev/null | │ │ │ │ @@ -3783,31 +3783,14 @@ │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, │ │ │ │ A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00227 │ │ │ │ _c_i_s 5.1.1 │ │ │ │ _p_c_i_d_s_s_4 2.2.6, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "cron" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_cron │ │ │ │ - │ │ │ │ -class install_cron { │ │ │ │ - package { 'cron': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -3834,14 +3817,31 @@ │ │ │ │ - PCI-DSSv4-2.2.6 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_cron_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_cron │ │ │ │ + │ │ │ │ +class install_cron { │ │ │ │ + package { 'cron': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "cron" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -3877,31 +3877,14 @@ │ │ │ │ SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR 2.5, SR 2.6, SR │ │ │ │ 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, │ │ │ │ A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 5.1.1 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["cron"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_cron │ │ │ │ - │ │ │ │ -class enable_cron { │ │ │ │ - service {'cron': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -3935,14 +3918,31 @@ │ │ │ │ - NIST-800-53-CM-6(a) │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_cron_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_cron │ │ │ │ + │ │ │ │ +class enable_cron { │ │ │ │ + service {'cron': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["cron"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -3984,26 +3984,14 @@ │ │ │ │ 2.7, SR 3.1, SR 3.5, SR 3.8, SR 4.1, SR 4.3, SR 5.1, │ │ │ │ SR 5.2, SR 5.3, SR 7.1, SR 7.6 │ │ │ │ A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1, │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.13.2.1, A.14.1.3, A.14.2.2, A.14.2.3, A.14.2.4, │ │ │ │ A.6.2.1, A.6.2.2, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_inetutils-telnetd │ │ │ │ - │ │ │ │ -class remove_inetutils-telnetd { │ │ │ │ - package { 'inetutils-telnetd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure inetutils-telnetd is removed │ │ │ │ package: │ │ │ │ @@ -4015,14 +4003,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_inetutils-telnetd_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_inetutils-telnetd │ │ │ │ + │ │ │ │ +class remove_inetutils-telnetd { │ │ │ │ + package { 'inetutils-telnetd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove inetutils-telnetd │ │ │ │ @@ -4036,26 +4036,14 @@ │ │ │ │ The support for Yellowpages should not be installed unless it is required. │ │ │ │ NIS is the historical SUN service for central account management, │ │ │ │ Rationale: more and more replaced by LDAP. NIS does not support efficiently │ │ │ │ security constraints, ACL, etc. and should not be used. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_nis_removed │ │ │ │ References: _c_i_s 2.2.17 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_nis │ │ │ │ - │ │ │ │ -class remove_nis { │ │ │ │ - package { 'nis': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure nis is removed │ │ │ │ package: │ │ │ │ @@ -4064,14 +4052,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_nis_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_nis │ │ │ │ + │ │ │ │ +class remove_nis { │ │ │ │ + package { 'nis': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove nis │ │ │ │ @@ -4085,26 +4085,14 @@ │ │ │ │ ntpdate is a historical ntp synchronization client for unixes. It sould be │ │ │ │ uninstalled. │ │ │ │ ntpdate is an old not security-compliant ntp client. It should be │ │ │ │ Rationale: replaced by modern ntp clients such as ntpd, able to use cryptographic │ │ │ │ mechanisms integrated in NTP. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_ntpdate_removed │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_ntpdate │ │ │ │ - │ │ │ │ -class remove_ntpdate { │ │ │ │ - package { 'ntpdate': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure ntpdate is removed │ │ │ │ package: │ │ │ │ @@ -4113,14 +4101,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_ntpdate_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_ntpdate │ │ │ │ + │ │ │ │ +class remove_ntpdate { │ │ │ │ + package { 'ntpdate': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove ntpdate │ │ │ │ @@ -4150,26 +4150,14 @@ │ │ │ │ 2.7, SR 3.1, SR 3.5, SR 3.8, SR 4.1, SR 4.3, SR 5.1, │ │ │ │ SR 5.2, SR 5.3, SR 7.1, SR 7.6 │ │ │ │ A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1, │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.13.2.1, A.14.1.3, A.14.2.2, A.14.2.3, A.14.2.4, │ │ │ │ A.6.2.1, A.6.2.2, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_telnetd-ssl │ │ │ │ - │ │ │ │ -class remove_telnetd-ssl { │ │ │ │ - package { 'telnetd-ssl': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure telnetd-ssl is removed │ │ │ │ package: │ │ │ │ @@ -4181,14 +4169,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_telnetd-ssl_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_telnetd-ssl │ │ │ │ + │ │ │ │ +class remove_telnetd-ssl { │ │ │ │ + package { 'telnetd-ssl': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove telnetd-ssl │ │ │ │ @@ -4221,26 +4221,14 @@ │ │ │ │ A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1, │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.13.2.1, A.14.1.3, A.14.2.2, A.14.2.3, A.14.2.4, │ │ │ │ A.6.2.1, A.6.2.2, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4 │ │ │ │ _s_t_i_g_i_d UBTU-20-010405 │ │ │ │ _s_t_i_g_r_e_f SV-238326r877396_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_telnetd │ │ │ │ - │ │ │ │ -class remove_telnetd { │ │ │ │ - package { 'telnetd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure telnetd is removed │ │ │ │ package: │ │ │ │ @@ -4253,14 +4241,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_telnetd_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_telnetd │ │ │ │ + │ │ │ │ +class remove_telnetd { │ │ │ │ + package { 'telnetd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove telnetd │ │ │ │ @@ -4336,31 +4336,14 @@ │ │ │ │ 4.4.2.4 │ │ │ │ References: _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ _c_i_s 2.2.1.1 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "systemd-timesyncd" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_systemd-timesyncd │ │ │ │ - │ │ │ │ -class install_systemd-timesyncd { │ │ │ │ - package { 'systemd-timesyncd': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -4385,14 +4368,31 @@ │ │ │ │ - PCI-DSS-Req-10.4 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_timesyncd_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_systemd-timesyncd │ │ │ │ + │ │ │ │ +class install_systemd-timesyncd { │ │ │ │ + package { 'systemd-timesyncd': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "systemd-timesyncd" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -4424,31 +4424,14 @@ │ │ │ │ References: _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a), AU-8(1)(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ _c_i_s 2.2.1.2 │ │ │ │ _p_c_i_d_s_s_4 10.6.1, 10.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["systemd-timesyncd"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_systemd-timesyncd │ │ │ │ - │ │ │ │ -class enable_systemd-timesyncd { │ │ │ │ - service {'systemd-timesyncd': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -4494,14 +4477,31 @@ │ │ │ │ - PCI-DSSv4-10.6.1 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - service_timesyncd_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_systemd-timesyncd │ │ │ │ + │ │ │ │ +class enable_systemd-timesyncd { │ │ │ │ + service {'systemd-timesyncd': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["systemd-timesyncd"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -5501,31 +5501,14 @@ │ │ │ │ 000358-GPOS-00145, SRG-OS-000365-GPOS-00152, SRG-OS-000392- │ │ │ │ GPOS-00172, SRG-OS-000475-GPOS-00220 │ │ │ │ _s_t_i_g_i_d UBTU-20-010182 │ │ │ │ _c_i_s 4.1.1.1 │ │ │ │ _a_n_s_s_i R33, R73 │ │ │ │ _p_c_i_d_s_s_4 10.2.1, 10.2 │ │ │ │ _s_t_i_g_r_e_f SV-238298r853421_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "auditd" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_auditd │ │ │ │ - │ │ │ │ -class install_auditd { │ │ │ │ - package { 'auditd': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -5568,14 +5551,31 @@ │ │ │ │ - PCI-DSSv4-10.2.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_audit_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_auditd │ │ │ │ + │ │ │ │ +class install_auditd { │ │ │ │ + package { 'auditd': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "auditd" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -5651,31 +5651,14 @@ │ │ │ │ _a_p_p_-_s_r_g_-_c_t_r SRG-APP-000095-CTR-000170, SRG-APP-000409-CTR-000990, │ │ │ │ SRG-APP-000508-CTR-001300, SRG-APP-000510-CTR-001310 │ │ │ │ _s_t_i_g_i_d UBTU-20-010182 │ │ │ │ _c_i_s 4.1.1.2 │ │ │ │ _a_n_s_s_i R33, R73 │ │ │ │ _p_c_i_d_s_s_4 10.2.1, 10.2 │ │ │ │ _s_t_i_g_r_e_f SV-238298r853421_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["auditd"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_auditd │ │ │ │ - │ │ │ │ -class enable_auditd { │ │ │ │ - service {'auditd': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -5743,14 +5726,31 @@ │ │ │ │ - PCI-DSSv4-10.2.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_auditd_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_auditd │ │ │ │ + │ │ │ │ +class enable_auditd { │ │ │ │ + service {'auditd': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["auditd"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ ├── ./usr/share/doc/ssg-debderived/ssg-ubuntu2004-guide-stig.html │ │ │ @@ -15079,137 +15079,137 @@ │ │ │ 0003ae60: 7461 7267 6574 3d22 2369 646d 3237 3633 target="#idm2763 │ │ │ 0003ae70: 2220 7461 6269 6e64 6578 3d22 3022 2072 " tabindex="0" r │ │ │ 0003ae80: 6f6c 653d 2262 7574 746f 6e22 2061 7269 ole="button" ari │ │ │ 0003ae90: 612d 6578 7061 6e64 6564 3d22 6661 6c73 a-expanded="fals │ │ │ 0003aea0: 6522 2074 6974 6c65 3d22 4163 7469 7661 e" title="Activa │ │ │ 0003aeb0: 7465 2074 6f20 7265 7665 616c 2220 6872 te to reveal" hr │ │ │ 0003aec0: 6566 3d22 2321 223e 5265 6d65 6469 6174 ef="#!">Remediat │ │ │ -0003aed0: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue │ │ │ -0003aee0: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet .. │ │ │ -0003aef0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
│ │ │ -0003af30: 3c63 6f64 653e 0a5b 5b70 6163 6b61 6765  .[[package
│ │ │ -0003af40: 735d 5d0a 6e61 6d65 203d 2022 6169 6465  s]].name = "aide
│ │ │ -0003af50: 220a 7665 7273 696f 6e20 3d20 222a 220a  ".version = "*".
│ │ │ -0003af60: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation Pu │ │ │ -0003b020: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ -0003b030: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity:low
Disrup │ │ │ +00090470: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +00090480: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +000904c0: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +000904d0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
│ │ │ -0003b0b0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -0003b0d0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -0003b120: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ -0003b150: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include instal
│ │ │ -0003b170: 6c5f 6169 6465 0a0a 636c 6173 7320 696e  l_aide..class in
│ │ │ -0003b180: 7374 616c 6c5f 6169 6465 207b 0a20 2070  stall_aide {.  p
│ │ │ -0003b190: 6163 6b61 6765 207b 2027 6169 6465 273a  ackage { 'aide':
│ │ │ -0003b1a0: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ -0003b1b0: 3b20 2769 6e73 7461 6c6c 6564 272c 0a20  ; 'installed',. 
│ │ │ -0003b1c0: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.Remediati
│ │ │ -0003b280: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070  on Ansible snipp
│ │ │ -0003b290: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64  et ...
│ │ │ -0003b2d0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
Complexity:< │ │ │ -0003b0c0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -0003b0e0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -0003b130: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ -0003b140: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
< │ │ │ -0003b340: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -0003b360: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -0003b390: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -0003b3b0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -0003b320: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -0003b330: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -0003b370: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -0003b380: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
- name: │ │ │ -0003b3d0: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ -0003b3e0: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ -0003b3f0: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ -0003b400: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ -0003b410: 6773 3a0a 2020 2d20 434a 4953 2d35 2e31 gs:. - CJIS-5.1 │ │ │ -0003b420: 302e 312e 330a 2020 2d20 4449 5341 2d53 0.1.3. - DISA-S │ │ │ -0003b430: 5449 472d 5542 5455 2d32 302d 3031 3034 TIG-UBTU-20-0104 │ │ │ -0003b440: 3530 0a20 202d 204e 4953 542d 3830 302d 50. - NIST-800- │ │ │ -0003b450: 3533 2d43 4d2d 3628 6129 0a20 202d 2050 53-CM-6(a). - P │ │ │ -0003b460: 4349 2d44 5353 2d52 6571 2d31 312e 350a CI-DSS-Req-11.5. │ │ │ -0003b470: 2020 2d20 5043 492d 4453 5376 342d 3131 - PCI-DSSv4-11 │ │ │ -0003b480: 2e35 2e32 0a20 202d 2065 6e61 626c 655f .5.2. - enable_ │ │ │ -0003b490: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low │ │ │ -0003b4a0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. - │ │ │ -0003b4b0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption. │ │ │ -0003b4c0: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi │ │ │ -0003b4d0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot │ │ │ -0003b4e0: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack │ │ │ -0003b4f0: 6167 655f 6169 6465 5f69 6e73 7461 6c6c age_aide_install │ │ │ -0003b500: 6564 0a0a 2d20 6e61 6d65 3a20 456e 7375 ed..- name: Ensu │ │ │ -0003b510: 7265 2061 6964 6520 6973 2069 6e73 7461 re aide is insta │ │ │ -0003b520: 6c6c 6564 0a20 2070 6163 6b61 6765 3a0a lled. package:. │ │ │ -0003b530: 2020 2020 6e61 6d65 3a20 6169 6465 0a20 name: aide. │ │ │ -0003b540: 2020 2073 7461 7465 3a20 7072 6573 656e state: presen │ │ │ -0003b550: 740a 2020 7768 656e 3a20 2722 6c69 6e75 t. when: '"linu │ │ │ -0003b560: 782d 6261 7365 2220 696e 2061 6e73 6962 x-base" in ansib │ │ │ -0003b570: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package │ │ │ -0003b580: 7327 0a20 2074 6167 733a 0a20 202d 2043 s'. tags:. - C │ │ │ -0003b590: 4a49 532d 352e 3130 2e31 2e33 0a20 202d JIS-5.10.1.3. - │ │ │ -0003b5a0: 2044 4953 412d 5354 4947 2d55 4254 552d DISA-STIG-UBTU- │ │ │ -0003b5b0: 3230 2d30 3130 3435 300a 2020 2d20 4e49 20-010450. - NI │ │ │ -0003b5c0: 5354 2d38 3030 2d35 332d 434d 2d36 2861 ST-800-53-CM-6(a │ │ │ -0003b5d0: 290a 2020 2d20 5043 492d 4453 532d 5265 ). - PCI-DSS-Re │ │ │ -0003b5e0: 712d 3131 2e35 0a20 202d 2050 4349 2d44 q-11.5. - PCI-D │ │ │ -0003b5f0: 5353 7634 2d31 312e 352e 320a 2020 2d20 SSv4-11.5.2. - │ │ │ -0003b600: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy. │ │ │ -0003b610: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi │ │ │ -0003b620: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru │ │ │ -0003b630: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium │ │ │ -0003b640: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no │ │ │ -0003b650: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed. │ │ │ -0003b660: 202d 2070 6163 6b61 6765 5f61 6964 655f - package_aide_ │ │ │ -0003b670: 696e 7374 616c 6c65 640a 3c2f 636f 6465 installed.
< │ │ │ +0003aef0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +0003af00: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +0003af10: 7365 2220 6964 3d22 6964 6d32 3736 3322 se" id="idm2763" │ │ │ +0003af20: 3e3c 7461 626c 6520 636c 6173 733d 2274 > │ │ │ +0003af90: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +0003afb0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +0003afe0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +0003af70: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +0003af80: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +0003afa0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +0003afc0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +0003afd0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

- name: │ │ │ +0003b020: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack │ │ │ +0003b030: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack │ │ │ +0003b040: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m │ │ │ +0003b050: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t │ │ │ +0003b060: 6167 733a 0a20 202d 2043 4a49 532d 352e ags:. - CJIS-5. │ │ │ +0003b070: 3130 2e31 2e33 0a20 202d 2044 4953 412d 10.1.3. - DISA- │ │ │ +0003b080: 5354 4947 2d55 4254 552d 3230 2d30 3130 STIG-UBTU-20-010 │ │ │ +0003b090: 3435 300a 2020 2d20 4e49 5354 2d38 3030 450. - NIST-800 │ │ │ +0003b0a0: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). - │ │ │ +0003b0b0: 5043 492d 4453 532d 5265 712d 3131 2e35 PCI-DSS-Req-11.5 │ │ │ +0003b0c0: 0a20 202d 2050 4349 2d44 5353 7634 2d31 . - PCI-DSSv4-1 │ │ │ +0003b0d0: 312e 352e 320a 2020 2d20 656e 6162 6c65 1.5.2. - enable │ │ │ +0003b0e0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo │ │ │ +0003b0f0: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. - │ │ │ +0003b100: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption. │ │ │ +0003b110: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever │ │ │ +0003b120: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo │ │ │ +0003b130: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac │ │ │ +0003b140: 6b61 6765 5f61 6964 655f 696e 7374 616c kage_aide_instal │ │ │ +0003b150: 6c65 640a 0a2d 206e 616d 653a 2045 6e73 led..- name: Ens │ │ │ +0003b160: 7572 6520 6169 6465 2069 7320 696e 7374 ure aide is inst │ │ │ +0003b170: 616c 6c65 640a 2020 7061 636b 6167 653a alled. package: │ │ │ +0003b180: 0a20 2020 206e 616d 653a 2061 6964 650a . name: aide. │ │ │ +0003b190: 2020 2020 7374 6174 653a 2070 7265 7365 state: prese │ │ │ +0003b1a0: 6e74 0a20 2077 6865 6e3a 2027 226c 696e nt. when: '"lin │ │ │ +0003b1b0: 7578 2d62 6173 6522 2069 6e20 616e 7369 ux-base" in ansi │ │ │ +0003b1c0: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag │ │ │ +0003b1d0: 6573 270a 2020 7461 6773 3a0a 2020 2d20 es'. tags:. - │ │ │ +0003b1e0: 434a 4953 2d35 2e31 302e 312e 330a 2020 CJIS-5.10.1.3. │ │ │ +0003b1f0: 2d20 4449 5341 2d53 5449 472d 5542 5455 - DISA-STIG-UBTU │ │ │ +0003b200: 2d32 302d 3031 3034 3530 0a20 202d 204e -20-010450. - N │ │ │ +0003b210: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6( │ │ │ +0003b220: 6129 0a20 202d 2050 4349 2d44 5353 2d52 a). - PCI-DSS-R │ │ │ +0003b230: 6571 2d31 312e 350a 2020 2d20 5043 492d eq-11.5. - PCI- │ │ │ +0003b240: 4453 5376 342d 3131 2e35 2e32 0a20 202d DSSv4-11.5.2. - │ │ │ +0003b250: 2065 6e61 626c 655f 7374 7261 7465 6779 enable_strategy │ │ │ +0003b260: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex │ │ │ +0003b270: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr │ │ │ +0003b280: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu │ │ │ +0003b290: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n │ │ │ +0003b2a0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed. │ │ │ +0003b2b0: 2020 2d20 7061 636b 6167 655f 6169 6465 - package_aide │ │ │ +0003b2c0: 5f69 6e73 7461 6c6c 6564 0a3c 2f63 6f64 _installed.

Rem │ │ │ +0003b380: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ +0003b390: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +0003b3a0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
< │ │ │ +0003b430: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +0003b440: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +0003b490: 3c74 723e 3c74 683e 5374 7261 7465 6779
inc
│ │ │ +0003b4d0: 6c75 6465 2069 6e73 7461 6c6c 5f61 6964  lude install_aid
│ │ │ +0003b4e0: 650a 0a63 6c61 7373 2069 6e73 7461 6c6c  e..class install
│ │ │ +0003b4f0: 5f61 6964 6520 7b0a 2020 7061 636b 6167  _aide {.  packag
│ │ │ +0003b500: 6520 7b20 2761 6964 6527 3a0a 2020 2020  e { 'aide':.    
│ │ │ +0003b510: 656e 7375 7265 203d 2667 743b 2027 696e  ensure => 'in
│ │ │ +0003b520: 7374 616c 6c65 6427 2c0a 2020 7d0a 7d0a  stalled',.  }.}.
│ │ │ +0003b530: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation OS │ │ │ +0003b5f0: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint │ │ │ +0003b600: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +0003b610: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>

│ │ │ +0003b650: 0a5b 5b70 6163 6b61 6765 735d 5d0a 6e61  .[[packages]].na
│ │ │ +0003b660: 6d65 203d 2022 6169 6465 220a 7665 7273  me = "aide".vers
│ │ │ +0003b670: 696f 6e20 3d20 222a 220a 3c2f 636f 6465  ion = "*".
R │ │ │ -0008b020: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui │ │ │ -0008b030: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni │ │ │ -0008b040: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -0008b050: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
.[[
│ │ │ -0008b090: 7061 636b 6167 6573 5d5d 0a6e 616d 6520  packages]].name 
│ │ │ -0008b0a0: 3d20 226c 6962 7061 6d2d 7077 7175 616c  = "libpam-pwqual
│ │ │ -0008b0b0: 6974 7922 0a76 6572 7369 6f6e 203d 2022  ity".version = "
│ │ │ -0008b0c0: 2a22 0a3c 2f63 6f64 653e 3c2f 7072 653e  *".
│ │ │ -0008b0d0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediation │ │ │ -0008b180: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ -0008b190: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
< │ │ │ -0008b210: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ -0008b250: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 enable
C │ │ │ +0003b420: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +0003b450: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +0003b460: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +0003b4a0: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ +0003b4b0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complexit │ │ │ -0008b220: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ -0008b240: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ -0008b270: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -0008b290: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
<
│ │ │ -0008b2c0: 636f 6465 3e69 6e63 6c75 6465 2069 6e73  code>include ins
│ │ │ -0008b2d0: 7461 6c6c 5f6c 6962 7061 6d2d 7077 7175  tall_libpam-pwqu
│ │ │ -0008b2e0: 616c 6974 790a 0a63 6c61 7373 2069 6e73  ality..class ins
│ │ │ -0008b2f0: 7461 6c6c 5f6c 6962 7061 6d2d 7077 7175  tall_libpam-pwqu
│ │ │ -0008b300: 616c 6974 7920 7b0a 2020 7061 636b 6167  ality {.  packag
│ │ │ -0008b310: 6520 7b20 276c 6962 7061 6d2d 7077 7175  e { 'libpam-pwqu
│ │ │ -0008b320: 616c 6974 7927 3a0a 2020 2020 656e 7375  ality':.    ensu
│ │ │ -0008b330: 7265 203d 2667 743b 2027 696e 7374 616c  re => 'instal
│ │ │ -0008b340: 6c65 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  led',.  }.}.
< │ │ │ -0008b360: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -0008b370: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -0008b380: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -0008b390: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -0008b3a0: 646d 3438 3736 2220 7461 6269 6e64 6578 dm4876" tabindex │ │ │ -0008b3b0: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ -0008b3c0: 6e22 2061 7269 612d 6578 7061 6e64 6564 n" aria-expanded │ │ │ -0008b3d0: 3d22 6661 6c73 6522 2074 6974 6c65 3d22 ="false" title=" │ │ │ -0008b3e0: 4163 7469 7661 7465 2074 6f20 7265 7665 Activate to reve │ │ │ -0008b3f0: 616c 2220 6872 6566 3d22 2321 223e 5265 al" href="#!">Re │ │ │ -0008b400: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -0008b410: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
< │ │ │ -0008b4f0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -0008b500: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
-
│ │ │ -0008b550: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ -0008b560: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ -0008b570: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ -0008b580: 0a20 2020 206d 616e 6167 6572 3a20 6175  .    manager: au
│ │ │ -0008b590: 746f 0a20 2074 6167 733a 0a20 202d 2044  to.  tags:.  - D
│ │ │ -0008b5a0: 4953 412d 5354 4947 2d55 4254 552d 3230  ISA-STIG-UBTU-20
│ │ │ -0008b5b0: 2d30 3130 3035 370a 2020 2d20 656e 6162  -010057.  - enab
│ │ │ -0008b5c0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -0008b5d0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -0008b5e0: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -0008b5f0: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ -0008b600: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -0008b610: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ -0008b620: 6163 6b61 6765 5f70 616d 5f70 7771 7561  ackage_pam_pwqua
│ │ │ -0008b630: 6c69 7479 5f69 6e73 7461 6c6c 6564 0a0a  lity_installed..
│ │ │ -0008b640: 2d20 6e61 6d65 3a20 456e 7375 7265 206c  - name: Ensure l
│ │ │ -0008b650: 6962 7061 6d2d 7077 7175 616c 6974 7920  ibpam-pwquality 
│ │ │ -0008b660: 6973 2069 6e73 7461 6c6c 6564 0a20 2070  is installed.  p
│ │ │ -0008b670: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65  ackage:.    name
│ │ │ -0008b680: 3a20 6c69 6270 616d 2d70 7771 7561 6c69  : libpam-pwquali
│ │ │ -0008b690: 7479 0a20 2020 2073 7461 7465 3a20 7072  ty.    state: pr
│ │ │ -0008b6a0: 6573 656e 740a 2020 7768 656e 3a20 2722  esent.  when: '"
│ │ │ -0008b6b0: 6c69 6270 616d 2d72 756e 7469 6d65 2220  libpam-runtime" 
│ │ │ -0008b6c0: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -0008b6d0: 2e70 6163 6b61 6765 7327 0a20 2074 6167  .packages'.  tag
│ │ │ -0008b6e0: 733a 0a20 202d 2044 4953 412d 5354 4947  s:.  - DISA-STIG
│ │ │ -0008b6f0: 2d55 4254 552d 3230 2d30 3130 3035 370a  -UBTU-20-010057.
│ │ │ -0008b700: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -0008b710: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -0008b720: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -0008b730: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -0008b740: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -0008b750: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -0008b760: 6564 0a20 202d 2070 6163 6b61 6765 5f70  ed.  - package_p
│ │ │ -0008b770: 616d 5f70 7771 7561 6c69 7479 5f69 6e73  am_pwquality_ins
│ │ │ -0008b780: 7461 6c6c 6564 0a3c 2f63 6f64 653e 3c2f  talled.
Complexity:low
Disrup │ │ │ -0008b4d0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -0008b4e0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -0008b520: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ -0008b530: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexity: │ │ │ +0008b110: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +0008b120: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ +0008b170: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ +0008b180: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ +0008b190: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ +0008b1a0: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ +0008b1b0: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ +0008b1c0: 4449 5341 2d53 5449 472d 5542 5455 2d32  DISA-STIG-UBTU-2
│ │ │ +0008b1d0: 302d 3031 3030 3537 0a20 202d 2065 6e61  0-010057.  - ena
│ │ │ +0008b1e0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +0008b1f0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +0008b200: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +0008b210: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ +0008b220: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +0008b230: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +0008b240: 7061 636b 6167 655f 7061 6d5f 7077 7175  package_pam_pwqu
│ │ │ +0008b250: 616c 6974 795f 696e 7374 616c 6c65 640a  ality_installed.
│ │ │ +0008b260: 0a2d 206e 616d 653a 2045 6e73 7572 6520  .- name: Ensure 
│ │ │ +0008b270: 6c69 6270 616d 2d70 7771 7561 6c69 7479  libpam-pwquality
│ │ │ +0008b280: 2069 7320 696e 7374 616c 6c65 640a 2020   is installed.  
│ │ │ +0008b290: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ +0008b2a0: 653a 206c 6962 7061 6d2d 7077 7175 616c  e: libpam-pwqual
│ │ │ +0008b2b0: 6974 790a 2020 2020 7374 6174 653a 2070  ity.    state: p
│ │ │ +0008b2c0: 7265 7365 6e74 0a20 2077 6865 6e3a 2027  resent.  when: '
│ │ │ +0008b2d0: 226c 6962 7061 6d2d 7275 6e74 696d 6522  "libpam-runtime"
│ │ │ +0008b2e0: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ +0008b2f0: 732e 7061 636b 6167 6573 270a 2020 7461  s.packages'.  ta
│ │ │ +0008b300: 6773 3a0a 2020 2d20 4449 5341 2d53 5449  gs:.  - DISA-STI
│ │ │ +0008b310: 472d 5542 5455 2d32 302d 3031 3030 3537  G-UBTU-20-010057
│ │ │ +0008b320: 0a20 202d 2065 6e61 626c 655f 7374 7261  .  - enable_stra
│ │ │ +0008b330: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +0008b340: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +0008b350: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ +0008b360: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ +0008b370: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +0008b380: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ +0008b390: 7061 6d5f 7077 7175 616c 6974 795f 696e  pam_pwquality_in
│ │ │ +0008b3a0: 7374 616c 6c65 640a 3c2f 636f 6465 3e3c  stalled.<
│ │ │ +0008b3b0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remedi
│ │ │ +0008b460: 6174 696f 6e20 5075 7070 6574 2073 6e69  ation Puppet sni
│ │ │ +0008b470: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e  ppet ...
│ │ │ +0008b480: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
low
Disru │ │ │ +0008b0f0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +0008b100: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +0008b140: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ +0008b150: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Comp │ │ │ +0008b500: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +0008b510: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +0008b530: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +0008b550: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +0008b560: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ +0008b5a0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ +0008b5b0: 6520 696e 7374 616c 6c5f 6c69 6270 616d e install_libpam │ │ │ +0008b5c0: 2d70 7771 7561 6c69 7479 0a0a 636c 6173 -pwquality..clas │ │ │ +0008b5d0: 7320 696e 7374 616c 6c5f 6c69 6270 616d s install_libpam │ │ │ +0008b5e0: 2d70 7771 7561 6c69 7479 207b 0a20 2070 -pwquality {. p │ │ │ +0008b5f0: 6163 6b61 6765 207b 2027 6c69 6270 616d ackage { 'libpam │ │ │ +0008b600: 2d70 7771 7561 6c69 7479 273a 0a20 2020 -pwquality':. │ │ │ +0008b610: 2065 6e73 7572 6520 3d26 6774 3b20 2769 ensure => 'i │ │ │ +0008b620: 6e73 7461 6c6c 6564 272c 0a20 207d 0a7d nstalled',. }.} │ │ │ +0008b630: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .Remediation O │ │ │ +0008b6f0: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint │ │ │ +0008b700: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +0008b710: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.[[packages]].n
│ │ │ +0008b760: 616d 6520 3d20 226c 6962 7061 6d2d 7077  ame = "libpam-pw
│ │ │ +0008b770: 7175 616c 6974 7922 0a76 6572 7369 6f6e  quality".version
│ │ │ +0008b780: 203d 2022 2a22 0a3c 2f63 6f64 653e 3c2f   = "*".
Remediation O │ │ │ -00092860: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint │ │ │ -00092870: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -00092880: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.[[packages]].n
│ │ │ -000928d0: 616d 6520 3d20 2276 6c6f 636b 220a 7665  ame = "vlock".ve
│ │ │ -000928e0: 7273 696f 6e20 3d20 222a 220a 3c2f 636f  rsion = "*".
< │ │ │ -00092900: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -00092910: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -00092920: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -00092930: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -00092940: 646d 3636 3137 2220 7461 6269 6e64 6578 dm6617" tabindex │ │ │ -00092950: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ -00092960: 6e22 2061 7269 612d 6578 7061 6e64 6564 n" aria-expanded │ │ │ -00092970: 3d22 6661 6c73 6522 2074 6974 6c65 3d22 ="false" title=" │ │ │ -00092980: 4163 7469 7661 7465 2074 6f20 7265 7665 Activate to reve │ │ │ -00092990: 616c 2220 6872 6566 3d22 2321 223e 5265 al" href="#!">Re │ │ │ -000929a0: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -000929b0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -000929c0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
│ │ │ -00092a50: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
in
│ │ │ -00092af0: 636c 7564 6520 696e 7374 616c 6c5f 766c  clude install_vl
│ │ │ -00092b00: 6f63 6b0a 0a63 6c61 7373 2069 6e73 7461  ock..class insta
│ │ │ -00092b10: 6c6c 5f76 6c6f 636b 207b 0a20 2070 6163  ll_vlock {.  pac
│ │ │ -00092b20: 6b61 6765 207b 2027 766c 6f63 6b27 3a0a  kage { 'vlock':.
│ │ │ -00092b30: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -00092b40: 2027 696e 7374 616c 6c65 6427 2c0a 2020   'installed',.  
│ │ │ -00092b50: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediatio │ │ │ -00092c10: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ -00092c20: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
< │ │ │ -00092c60: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -00092c70: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -00092c80: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -00092c90: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -00092ca0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Disruption:Strategy: │ │ │ -00092d30: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c < │ │ │ -00092d40: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
│ │ │ -00092a40: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -00092a70: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -00092a80: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -00092ac0: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ -00092ad0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complex │ │ │ -00092cb0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -00092cc0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ -00092d00: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -00092d10: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
enable
- name: G
│ │ │ -00092d60: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ -00092d70: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ -00092d80: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ -00092d90: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ -00092da0: 733a 0a20 202d 2044 4953 412d 5354 4947  s:.  - DISA-STIG
│ │ │ -00092db0: 2d55 4254 552d 3230 2d30 3130 3030 350a  -UBTU-20-010005.
│ │ │ -00092dc0: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -00092dd0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -00092de0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -00092df0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -00092e00: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -00092e10: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -00092e20: 6564 0a20 202d 2076 6c6f 636b 5f69 6e73  ed.  - vlock_ins
│ │ │ -00092e30: 7461 6c6c 6564 0a0a 2d20 6e61 6d65 3a20  talled..- name: 
│ │ │ -00092e40: 456e 7375 7265 2076 6c6f 636b 2069 7320  Ensure vlock is 
│ │ │ -00092e50: 696e 7374 616c 6c65 640a 2020 7061 636b  installed.  pack
│ │ │ -00092e60: 6167 653a 0a20 2020 206e 616d 653a 2076  age:.    name: v
│ │ │ -00092e70: 6c6f 636b 0a20 2020 2073 7461 7465 3a20  lock.    state: 
│ │ │ -00092e80: 7072 6573 656e 740a 2020 7768 656e 3a20  present.  when: 
│ │ │ -00092e90: 2722 6c69 6e75 782d 6261 7365 2220 696e  '"linux-base" in
│ │ │ -00092ea0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ -00092eb0: 6163 6b61 6765 7327 0a20 2074 6167 733a  ackages'.  tags:
│ │ │ -00092ec0: 0a20 202d 2044 4953 412d 5354 4947 2d55  .  - DISA-STIG-U
│ │ │ -00092ed0: 4254 552d 3230 2d30 3130 3030 350a 2020  BTU-20-010005.  
│ │ │ -00092ee0: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ -00092ef0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -00092f00: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -00092f10: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ -00092f20: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ -00092f30: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -00092f40: 0a20 202d 2076 6c6f 636b 5f69 6e73 7461  .  - vlock_insta
│ │ │ -00092f50: 6c6c 6564 0a3c 2f63 6f64 653e 3c2f 7072  lled.Remediation A
│ │ │ +00092860: 6e73 6962 6c65 2073 6e69 7070 6574 20e2  nsible snippet .
│ │ │ +00092870: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063  ..
Complexity │ │ │ +00092900: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +00092920: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +00092930: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +00092940: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +00092950: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +00092970: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
- name: Gath
│ │ │ +000929b0: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ +000929c0: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ +000929d0: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ +000929e0: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ +000929f0: 2020 2d20 4449 5341 2d53 5449 472d 5542    - DISA-STIG-UB
│ │ │ +00092a00: 5455 2d32 302d 3031 3030 3035 0a20 202d  TU-20-010005.  -
│ │ │ +00092a10: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ +00092a20: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +00092a30: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +00092a40: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +00092a50: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +00092a60: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +00092a70: 2020 2d20 766c 6f63 6b5f 696e 7374 616c    - vlock_instal
│ │ │ +00092a80: 6c65 640a 0a2d 206e 616d 653a 2045 6e73  led..- name: Ens
│ │ │ +00092a90: 7572 6520 766c 6f63 6b20 6973 2069 6e73  ure vlock is ins
│ │ │ +00092aa0: 7461 6c6c 6564 0a20 2070 6163 6b61 6765  talled.  package
│ │ │ +00092ab0: 3a0a 2020 2020 6e61 6d65 3a20 766c 6f63  :.    name: vloc
│ │ │ +00092ac0: 6b0a 2020 2020 7374 6174 653a 2070 7265  k.    state: pre
│ │ │ +00092ad0: 7365 6e74 0a20 2077 6865 6e3a 2027 226c  sent.  when: '"l
│ │ │ +00092ae0: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ +00092af0: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +00092b00: 6167 6573 270a 2020 7461 6773 3a0a 2020  ages'.  tags:.  
│ │ │ +00092b10: 2d20 4449 5341 2d53 5449 472d 5542 5455  - DISA-STIG-UBTU
│ │ │ +00092b20: 2d32 302d 3031 3030 3035 0a20 202d 2065  -20-010005.  - e
│ │ │ +00092b30: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ +00092b40: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +00092b50: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +00092b60: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +00092b70: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +00092b80: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +00092b90: 2d20 766c 6f63 6b5f 696e 7374 616c 6c65  - vlock_installe
│ │ │ +00092ba0: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +00092bb0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +00092c60: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +00092c70: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
Complexity │ │ │ +00092d00: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +00092d20: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +00092d30: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +00092d40: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +00092d50: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +00092d70: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
include inst
│ │ │ +00092db0: 616c 6c5f 766c 6f63 6b0a 0a63 6c61 7373  all_vlock..class
│ │ │ +00092dc0: 2069 6e73 7461 6c6c 5f76 6c6f 636b 207b   install_vlock {
│ │ │ +00092dd0: 0a20 2070 6163 6b61 6765 207b 2027 766c  .  package { 'vl
│ │ │ +00092de0: 6f63 6b27 3a0a 2020 2020 656e 7375 7265  ock':.    ensure
│ │ │ +00092df0: 203d 2667 743b 2027 696e 7374 616c 6c65   => 'installe
│ │ │ +00092e00: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Reme │ │ │ +00092ec0: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild │ │ │ +00092ed0: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe │ │ │ +00092ee0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
< │ │ │ +00092f20: 7072 653e 3c63 6f64 653e 0a5b 5b70 6163 pre>.[[pac │ │ │ +00092f30: 6b61 6765 735d 5d0a 6e61 6d65 203d 2022 kages]].name = " │ │ │ +00092f40: 766c 6f63 6b22 0a76 6572 7369 6f6e 203d vlock".version = │ │ │ +00092f50: 2022 2a22 0a3c 2f63 6f64 653e 3c2f 7072 "*".
Remedia │ │ │ -00094390: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu │ │ │ -000943a0: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet . │ │ │ -000943b0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
.[[packag
│ │ │ -00094400: 6573 5d5d 0a6e 616d 6520 3d20 226f 7065  es]].name = "ope
│ │ │ -00094410: 6e73 632d 706b 6373 3131 220a 7665 7273  nsc-pkcs11".vers
│ │ │ -00094420: 696f 6e20 3d20 222a 220a 3c2f 636f 6465  ion = "*".
Reme │ │ │ -000944e0: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -000944f0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
low< │ │ │ -000945a0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -000945f0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ -00094580: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -000945b0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -000945d0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -000945e0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -00094600: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ -00094610: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -00094630: 7564 6520 696e 7374 616c 6c5f 6f70 656e  ude install_open
│ │ │ -00094640: 7363 2d70 6b63 7331 310a 0a63 6c61 7373  sc-pkcs11..class
│ │ │ -00094650: 2069 6e73 7461 6c6c 5f6f 7065 6e73 632d   install_opensc-
│ │ │ -00094660: 706b 6373 3131 207b 0a20 2070 6163 6b61  pkcs11 {.  packa
│ │ │ -00094670: 6765 207b 2027 6f70 656e 7363 2d70 6b63  ge { 'opensc-pkc
│ │ │ -00094680: 7331 3127 3a0a 2020 2020 656e 7375 7265  s11':.    ensure
│ │ │ -00094690: 203d 2667 743b 2027 696e 7374 616c 6c65   => 'installe
│ │ │ -000946a0: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Reme │ │ │ -00094760: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible │ │ │ -00094770: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -00094780: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
< │ │ │ -00094810: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -00094820: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -00094870: 3c74 723e 3c74 683e 5374 7261 7465 6779
- n
│ │ │ -000948b0: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ -000948c0: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ -000948d0: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ -000948e0: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ -000948f0: 0a20 2074 6167 733a 0a20 202d 2044 4953  .  tags:.  - DIS
│ │ │ -00094900: 412d 5354 4947 2d55 4254 552d 3230 2d30  A-STIG-UBTU-20-0
│ │ │ -00094910: 3130 3036 340a 2020 2d20 4e49 5354 2d38  10064.  - NIST-8
│ │ │ -00094920: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ -00094930: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ -00094940: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -00094950: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -00094960: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ -00094970: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ -00094980: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -00094990: 0a20 202d 2070 6163 6b61 6765 5f6f 7065  .  - package_ope
│ │ │ -000949a0: 6e73 635f 696e 7374 616c 6c65 640a 0a2d  nsc_installed..-
│ │ │ -000949b0: 206e 616d 653a 2045 6e73 7572 6520 6f70   name: Ensure op
│ │ │ -000949c0: 656e 7363 2d70 6b63 7331 3120 6973 2069  ensc-pkcs11 is i
│ │ │ -000949d0: 6e73 7461 6c6c 6564 0a20 2070 6163 6b61  nstalled.  packa
│ │ │ -000949e0: 6765 3a0a 2020 2020 6e61 6d65 3a20 6f70  ge:.    name: op
│ │ │ -000949f0: 656e 7363 2d70 6b63 7331 310a 2020 2020  ensc-pkcs11.    
│ │ │ -00094a00: 7374 6174 653a 2070 7265 7365 6e74 0a20  state: present. 
│ │ │ -00094a10: 2077 6865 6e3a 2027 226c 696e 7578 2d62   when: '"linux-b
│ │ │ -00094a20: 6173 6522 2069 6e20 616e 7369 626c 655f  ase" in ansible_
│ │ │ -00094a30: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -00094a40: 2020 7461 6773 3a0a 2020 2d20 4449 5341    tags:.  - DISA
│ │ │ -00094a50: 2d53 5449 472d 5542 5455 2d32 302d 3031  -STIG-UBTU-20-01
│ │ │ -00094a60: 3030 3634 0a20 202d 204e 4953 542d 3830  0064.  - NIST-80
│ │ │ -00094a70: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ -00094a80: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ -00094a90: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -00094aa0: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -00094ab0: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ -00094ac0: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ -00094ad0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -00094ae0: 2020 2d20 7061 636b 6167 655f 6f70 656e    - package_open
│ │ │ -00094af0: 7363 5f69 6e73 7461 6c6c 6564 0a3c 2f63  sc_installed.
│ │ │ +000943b0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
C │ │ │ -00094800: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -00094830: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -00094840: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -00094880: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ -00094890: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Comp │ │ │ +00094430: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +00094440: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +00094460: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +00094480: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +00094490: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ +000944d0: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +000944e0: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ +000944f0: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac │ │ │ +00094500: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ +00094510: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto. │ │ │ +00094520: 7461 6773 3a0a 2020 2d20 4449 5341 2d53 tags:. - DISA-S │ │ │ +00094530: 5449 472d 5542 5455 2d32 302d 3031 3030 TIG-UBTU-20-0100 │ │ │ +00094540: 3634 0a20 202d 204e 4953 542d 3830 302d 64. - NIST-800- │ │ │ +00094550: 3533 2d43 4d2d 3628 6129 0a20 202d 2065 53-CM-6(a). - e │ │ │ +00094560: 6e61 626c 655f 7374 7261 7465 6779 0a20 nable_strategy. │ │ │ +00094570: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit │ │ │ +00094580: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup │ │ │ +00094590: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_ │ │ │ +000945a0: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_ │ │ │ +000945b0: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed. │ │ │ +000945c0: 2d20 7061 636b 6167 655f 6f70 656e 7363 - package_opensc │ │ │ +000945d0: 5f69 6e73 7461 6c6c 6564 0a0a 2d20 6e61 _installed..- na │ │ │ +000945e0: 6d65 3a20 456e 7375 7265 206f 7065 6e73 me: Ensure opens │ │ │ +000945f0: 632d 706b 6373 3131 2069 7320 696e 7374 c-pkcs11 is inst │ │ │ +00094600: 616c 6c65 640a 2020 7061 636b 6167 653a alled. package: │ │ │ +00094610: 0a20 2020 206e 616d 653a 206f 7065 6e73 . name: opens │ │ │ +00094620: 632d 706b 6373 3131 0a20 2020 2073 7461 c-pkcs11. sta │ │ │ +00094630: 7465 3a20 7072 6573 656e 740a 2020 7768 te: present. wh │ │ │ +00094640: 656e 3a20 2722 6c69 6e75 782d 6261 7365 en: '"linux-base │ │ │ +00094650: 2220 696e 2061 6e73 6962 6c65 5f66 6163 " in ansible_fac │ │ │ +00094660: 7473 2e70 6163 6b61 6765 7327 0a20 2074 ts.packages'. t │ │ │ +00094670: 6167 733a 0a20 202d 2044 4953 412d 5354 ags:. - DISA-ST │ │ │ +00094680: 4947 2d55 4254 552d 3230 2d30 3130 3036 IG-UBTU-20-01006 │ │ │ +00094690: 340a 2020 2d20 4e49 5354 2d38 3030 2d35 4. - NIST-800-5 │ │ │ +000946a0: 332d 434d 2d36 2861 290a 2020 2d20 656e 3-CM-6(a). - en │ │ │ +000946b0: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy. │ │ │ +000946c0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity │ │ │ +000946d0: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt │ │ │ +000946e0: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s │ │ │ +000946f0: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r │ │ │ +00094700: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. - │ │ │ +00094710: 2070 6163 6b61 6765 5f6f 7065 6e73 635f package_opensc_ │ │ │ +00094720: 696e 7374 616c 6c65 640a 3c2f 636f 6465 installed.
Reme │ │ │ +000947e0: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ +000947f0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
low< │ │ │ +000948a0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +000948f0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ +00094880: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +000948b0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +000948d0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +000948e0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +00094900: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ +00094910: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +00094930: 7564 6520 696e 7374 616c 6c5f 6f70 656e  ude install_open
│ │ │ +00094940: 7363 2d70 6b63 7331 310a 0a63 6c61 7373  sc-pkcs11..class
│ │ │ +00094950: 2069 6e73 7461 6c6c 5f6f 7065 6e73 632d   install_opensc-
│ │ │ +00094960: 706b 6373 3131 207b 0a20 2070 6163 6b61  pkcs11 {.  packa
│ │ │ +00094970: 6765 207b 2027 6f70 656e 7363 2d70 6b63  ge { 'opensc-pkc
│ │ │ +00094980: 7331 3127 3a0a 2020 2020 656e 7375 7265  s11':.    ensure
│ │ │ +00094990: 203d 2667 743b 2027 696e 7374 616c 6c65   => 'installe
│ │ │ +000949a0: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Reme │ │ │ +00094a60: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild │ │ │ +00094a70: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe │ │ │ +00094a80: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
< │ │ │ +00094ac0: 7072 653e 3c63 6f64 653e 0a5b 5b70 6163 pre>.[[pac │ │ │ +00094ad0: 6b61 6765 735d 5d0a 6e61 6d65 203d 2022 kages]].name = " │ │ │ +00094ae0: 6f70 656e 7363 2d70 6b63 7331 3122 0a76 opensc-pkcs11".v │ │ │ +00094af0: 6572 7369 6f6e 203d 2022 2a22 0a3c 2f63 ersion = "*".
│ │ │ 00094b10: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ -00095bb0: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu │ │ │ -00095bc0: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn │ │ │ -00095bd0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.[
│ │ │ -00095c20: 5b70 6163 6b61 6765 735d 5d0a 6e61 6d65  [packages]].name
│ │ │ -00095c30: 203d 2022 6c69 6270 616d 2d70 6b63 7331   = "libpam-pkcs1
│ │ │ -00095c40: 3122 0a76 6572 7369 6f6e 203d 2022 2a22  1".version = "*"
│ │ │ -00095c50: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation P │ │ │ -00095d10: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ -00095d20: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity: │ │ │ -00095db0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -00095dd0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ -00095df0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ -00095e20: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -00095e30: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ -00095e40: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include insta
│ │ │ -00095e60: 6c6c 5f6c 6962 7061 6d2d 706b 6373 3131  ll_libpam-pkcs11
│ │ │ -00095e70: 0a0a 636c 6173 7320 696e 7374 616c 6c5f  ..class install_
│ │ │ -00095e80: 6c69 6270 616d 2d70 6b63 7331 3120 7b0a  libpam-pkcs11 {.
│ │ │ -00095e90: 2020 7061 636b 6167 6520 7b20 276c 6962    package { 'lib
│ │ │ -00095ea0: 7061 6d2d 706b 6373 3131 273a 0a20 2020  pam-pkcs11':.   
│ │ │ -00095eb0: 2065 6e73 7572 6520 3d26 6774 3b20 2769   ensure => 'i
│ │ │ -00095ec0: 6e73 7461 6c6c 6564 272c 0a20 207d 0a7d  nstalled',.  }.}
│ │ │ -00095ed0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation A │ │ │ -00095f90: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet . │ │ │ -00095fa0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
Complexity │ │ │ -00096030: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -00096050: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -00096060: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -00096070: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -00096080: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -000960a0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
- name: Gath
│ │ │ -000960e0: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ -000960f0: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ -00096100: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ -00096110: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ -00096120: 2020 2d20 4449 5341 2d53 5449 472d 5542    - DISA-STIG-UB
│ │ │ -00096130: 5455 2d32 302d 3031 3030 3633 0a20 202d  TU-20-010063.  -
│ │ │ -00096140: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -00096150: 3628 6129 0a20 202d 2050 4349 2d44 5353  6(a).  - PCI-DSS
│ │ │ -00096160: 2d52 6571 2d38 2e33 0a20 202d 2065 6e61  -Req-8.3.  - ena
│ │ │ -00096170: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -00096180: 2069 6e73 7461 6c6c 5f73 6d61 7274 6361   install_smartca
│ │ │ -00096190: 7264 5f70 6163 6b61 6765 730a 2020 2d20  rd_packages.  - 
│ │ │ -000961a0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -000961b0: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -000961c0: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ -000961d0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -000961e0: 6f6f 745f 6e65 6564 6564 0a0a 2d20 6e61  oot_needed..- na
│ │ │ -000961f0: 6d65 3a20 456e 7375 7265 206c 6962 7061  me: Ensure libpa
│ │ │ -00096200: 6d2d 706b 6373 3131 2069 7320 696e 7374  m-pkcs11 is inst
│ │ │ -00096210: 616c 6c65 640a 2020 7061 636b 6167 653a  alled.  package:
│ │ │ -00096220: 0a20 2020 206e 616d 653a 206c 6962 7061  .    name: libpa
│ │ │ -00096230: 6d2d 706b 6373 3131 0a20 2020 2073 7461  m-pkcs11.    sta
│ │ │ -00096240: 7465 3a20 7072 6573 656e 740a 2020 7768  te: present.  wh
│ │ │ -00096250: 656e 3a0a 2020 2d20 2722 6c69 6e75 782d  en:.  - '"linux-
│ │ │ -00096260: 6261 7365 2220 696e 2061 6e73 6962 6c65  base" in ansible
│ │ │ -00096270: 5f66 6163 7473 2e70 6163 6b61 6765 7327  _facts.packages'
│ │ │ -00096280: 0a20 202d 2061 6e73 6962 6c65 5f61 7263  .  - ansible_arc
│ │ │ -00096290: 6869 7465 6374 7572 6520 213d 2022 7333  hitecture != "s3
│ │ │ -000962a0: 3930 7822 0a20 2074 6167 733a 0a20 202d  90x".  tags:.  -
│ │ │ -000962b0: 2044 4953 412d 5354 4947 2d55 4254 552d   DISA-STIG-UBTU-
│ │ │ -000962c0: 3230 2d30 3130 3036 330a 2020 2d20 4e49  20-010063.  - NI
│ │ │ -000962d0: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ -000962e0: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ -000962f0: 712d 382e 330a 2020 2d20 656e 6162 6c65  q-8.3.  - enable
│ │ │ -00096300: 5f73 7472 6174 6567 790a 2020 2d20 696e  _strategy.  - in
│ │ │ -00096310: 7374 616c 6c5f 736d 6172 7463 6172 645f  stall_smartcard_
│ │ │ -00096320: 7061 636b 6167 6573 0a20 202d 206c 6f77  packages.  - low
│ │ │ -00096330: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -00096340: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -00096350: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ -00096360: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -00096370: 5f6e 6565 6465 640a 3c2f 636f 6465 3e3c  _needed.<
│ │ │ +00095bb0: 5265 6d65 6469 6174 696f 6e20 416e 7369  Remediation Ansi
│ │ │ +00095bc0: 626c 6520 736e 6970 7065 7420 e287 b23c  ble snippet ...<
│ │ │ +00095bd0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173  /a>
< │ │ │ +00095c50: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +00095c70: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +00095cc0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
- name: Gather 
│ │ │ +00095d10: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ +00095d20: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ +00095d30: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ +00095d40: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ +00095d50: 2044 4953 412d 5354 4947 2d55 4254 552d   DISA-STIG-UBTU-
│ │ │ +00095d60: 3230 2d30 3130 3036 330a 2020 2d20 4e49  20-010063.  - NI
│ │ │ +00095d70: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +00095d80: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ +00095d90: 712d 382e 330a 2020 2d20 656e 6162 6c65  q-8.3.  - enable
│ │ │ +00095da0: 5f73 7472 6174 6567 790a 2020 2d20 696e  _strategy.  - in
│ │ │ +00095db0: 7374 616c 6c5f 736d 6172 7463 6172 645f  stall_smartcard_
│ │ │ +00095dc0: 7061 636b 6167 6573 0a20 202d 206c 6f77  packages.  - low
│ │ │ +00095dd0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +00095de0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +00095df0: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ +00095e00: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ +00095e10: 5f6e 6565 6465 640a 0a2d 206e 616d 653a  _needed..- name:
│ │ │ +00095e20: 2045 6e73 7572 6520 6c69 6270 616d 2d70   Ensure libpam-p
│ │ │ +00095e30: 6b63 7331 3120 6973 2069 6e73 7461 6c6c  kcs11 is install
│ │ │ +00095e40: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ +00095e50: 2020 6e61 6d65 3a20 6c69 6270 616d 2d70    name: libpam-p
│ │ │ +00095e60: 6b63 7331 310a 2020 2020 7374 6174 653a  kcs11.    state:
│ │ │ +00095e70: 2070 7265 7365 6e74 0a20 2077 6865 6e3a   present.  when:
│ │ │ +00095e80: 0a20 202d 2027 226c 696e 7578 2d62 6173  .  - '"linux-bas
│ │ │ +00095e90: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ +00095ea0: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ +00095eb0: 2d20 616e 7369 626c 655f 6172 6368 6974  - ansible_archit
│ │ │ +00095ec0: 6563 7475 7265 2021 3d20 2273 3339 3078  ecture != "s390x
│ │ │ +00095ed0: 220a 2020 7461 6773 3a0a 2020 2d20 4449  ".  tags:.  - DI
│ │ │ +00095ee0: 5341 2d53 5449 472d 5542 5455 2d32 302d  SA-STIG-UBTU-20-
│ │ │ +00095ef0: 3031 3030 3633 0a20 202d 204e 4953 542d  010063.  - NIST-
│ │ │ +00095f00: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ +00095f10: 202d 2050 4349 2d44 5353 2d52 6571 2d38   - PCI-DSS-Req-8
│ │ │ +00095f20: 2e33 0a20 202d 2065 6e61 626c 655f 7374  .3.  - enable_st
│ │ │ +00095f30: 7261 7465 6779 0a20 202d 2069 6e73 7461  rategy.  - insta
│ │ │ +00095f40: 6c6c 5f73 6d61 7274 6361 7264 5f70 6163  ll_smartcard_pac
│ │ │ +00095f50: 6b61 6765 730a 2020 2d20 6c6f 775f 636f  kages.  - low_co
│ │ │ +00095f60: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +00095f70: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +00095f80: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ +00095f90: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ +00095fa0: 6564 6564 0a3c 2f63 6f64 653e 3c2f 7072  eded.Remediati
│ │ │ +00096060: 6f6e 2050 7570 7065 7420 736e 6970 7065  on Puppet snippe
│ │ │ +00096070: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469  t ...
< │ │ │ +000960b0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +000960c0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +000960d0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +000960e0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +000960f0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ +00096180: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c < │ │ │ +00096190: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
low
Disr │ │ │ +00095c80: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +00095c90: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +00095cd0: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ +00095ce0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complex │ │ │ +00096100: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +00096110: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ +00096150: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +00096160: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
enable
include i
│ │ │ +000961b0: 6e73 7461 6c6c 5f6c 6962 7061 6d2d 706b  nstall_libpam-pk
│ │ │ +000961c0: 6373 3131 0a0a 636c 6173 7320 696e 7374  cs11..class inst
│ │ │ +000961d0: 616c 6c5f 6c69 6270 616d 2d70 6b63 7331  all_libpam-pkcs1
│ │ │ +000961e0: 3120 7b0a 2020 7061 636b 6167 6520 7b20  1 {.  package { 
│ │ │ +000961f0: 276c 6962 7061 6d2d 706b 6373 3131 273a  'libpam-pkcs11':
│ │ │ +00096200: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ +00096210: 3b20 2769 6e73 7461 6c6c 6564 272c 0a20  ; 'installed',. 
│ │ │ +00096220: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.
Remediati │ │ │ +000962e0: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep │ │ │ +000962f0: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ... │ │ │ +00096300: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
<
│ │ │ +00096340: 636f 6465 3e0a 5b5b 7061 636b 6167 6573  code>.[[packages
│ │ │ +00096350: 5d5d 0a6e 616d 6520 3d20 226c 6962 7061  ]].name = "libpa
│ │ │ +00096360: 6d2d 706b 6373 3131 220a 7665 7273 696f  m-pkcs11".versio
│ │ │ +00096370: 6e20 3d20 222a 220a 3c2f 636f 6465 3e3c  n = "*".<
│ │ │  00096380: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remediation │ │ │ -000b5140: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ -000b5150: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
.[[packages]]
│ │ │ -000b51b0: 0a6e 616d 6520 3d20 2261 7070 6172 6d6f  .name = "apparmo
│ │ │ -000b51c0: 7222 0a76 6572 7369 6f6e 203d 2022 2a22  r".version = "*"
│ │ │ -000b51d0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation P │ │ │ -000b5290: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ -000b52a0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity: │ │ │ -000b5330: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -000b5350: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ -000b5370: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ -000b53a0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -000b53b0: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ -000b53c0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include insta
│ │ │ -000b53e0: 6c6c 5f61 7070 6172 6d6f 720a 0a63 6c61  ll_apparmor..cla
│ │ │ -000b53f0: 7373 2069 6e73 7461 6c6c 5f61 7070 6172  ss install_appar
│ │ │ -000b5400: 6d6f 7220 7b0a 2020 7061 636b 6167 6520  mor {.  package 
│ │ │ -000b5410: 7b20 2761 7070 6172 6d6f 7227 3a0a 2020  { 'apparmor':.  
│ │ │ -000b5420: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ -000b5430: 696e 7374 616c 6c65 6427 2c0a 2020 7d0a  installed',.  }.
│ │ │ -000b5440: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ -000b5450: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -000b5500: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -000b5510: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
< │ │ │ -000b5590: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -000b55a0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ -000b55c0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ -000b55d0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ -000b55f0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ -000b5610: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:enable
<
│ │ │ -000b5640: 636f 6465 3e2d 206e 616d 653a 2045 6e73  code>- name: Ens
│ │ │ -000b5650: 7572 6520 6170 7061 726d 6f72 2069 7320  ure apparmor is 
│ │ │ -000b5660: 696e 7374 616c 6c65 640a 2020 7061 636b  installed.  pack
│ │ │ -000b5670: 6167 653a 0a20 2020 206e 616d 653a 2061  age:.    name: a
│ │ │ -000b5680: 7070 6172 6d6f 720a 2020 2020 7374 6174  pparmor.    stat
│ │ │ -000b5690: 653a 2070 7265 7365 6e74 0a20 2077 6865  e: present.  whe
│ │ │ -000b56a0: 6e3a 2061 6e73 6962 6c65 5f76 6972 7475  n: ansible_virtu
│ │ │ -000b56b0: 616c 697a 6174 696f 6e5f 7479 7065 206e  alization_type n
│ │ │ -000b56c0: 6f74 2069 6e20 5b22 646f 636b 6572 222c  ot in ["docker",
│ │ │ -000b56d0: 2022 6c78 6322 2c20 226f 7065 6e76 7a22   "lxc", "openvz"
│ │ │ -000b56e0: 2c20 2270 6f64 6d61 6e22 2c20 2263 6f6e  , "podman", "con
│ │ │ -000b56f0: 7461 696e 6572 225d 0a20 2074 6167 733a  tainer"].  tags:
│ │ │ -000b5700: 0a20 202d 2044 4953 412d 5354 4947 2d55  .  - DISA-STIG-U
│ │ │ -000b5710: 4254 552d 3230 2d30 3130 3433 390a 2020  BTU-20-010439.  
│ │ │ -000b5720: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ -000b5730: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -000b5740: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -000b5750: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ -000b5760: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ -000b5770: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -000b5780: 0a20 202d 2070 6163 6b61 6765 5f61 7070  .  - package_app
│ │ │ -000b5790: 6172 6d6f 725f 696e 7374 616c 6c65 640a  armor_installed.
│ │ │ +000b5140: 2041 6e73 6962 6c65 2073 6e69 7070 6574   Ansible snippet
│ │ │ +000b5150: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976   ...
│ │ │ +000b51d0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +000b51e0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +000b51f0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +000b5230: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +000b5240: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +000b5260: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ +000b5280: 3c63 6f64 653e 2d20 6e61 6d65 3a20 456e  - name: En
│ │ │ +000b5290: 7375 7265 2061 7070 6172 6d6f 7220 6973  sure apparmor is
│ │ │ +000b52a0: 2069 6e73 7461 6c6c 6564 0a20 2070 6163   installed.  pac
│ │ │ +000b52b0: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20  kage:.    name: 
│ │ │ +000b52c0: 6170 7061 726d 6f72 0a20 2020 2073 7461  apparmor.    sta
│ │ │ +000b52d0: 7465 3a20 7072 6573 656e 740a 2020 7768  te: present.  wh
│ │ │ +000b52e0: 656e 3a20 616e 7369 626c 655f 7669 7274  en: ansible_virt
│ │ │ +000b52f0: 7561 6c69 7a61 7469 6f6e 5f74 7970 6520  ualization_type 
│ │ │ +000b5300: 6e6f 7420 696e 205b 2264 6f63 6b65 7222  not in ["docker"
│ │ │ +000b5310: 2c20 226c 7863 222c 2022 6f70 656e 767a  , "lxc", "openvz
│ │ │ +000b5320: 222c 2022 706f 646d 616e 222c 2022 636f  ", "podman", "co
│ │ │ +000b5330: 6e74 6169 6e65 7222 5d0a 2020 7461 6773  ntainer"].  tags
│ │ │ +000b5340: 3a0a 2020 2d20 4449 5341 2d53 5449 472d  :.  - DISA-STIG-
│ │ │ +000b5350: 5542 5455 2d32 302d 3031 3034 3339 0a20  UBTU-20-010439. 
│ │ │ +000b5360: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ +000b5370: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +000b5380: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +000b5390: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +000b53a0: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +000b53b0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +000b53c0: 640a 2020 2d20 7061 636b 6167 655f 6170  d.  - package_ap
│ │ │ +000b53d0: 7061 726d 6f72 5f69 6e73 7461 6c6c 6564  parmor_installed
│ │ │ +000b53e0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation P │ │ │ +000b54a0: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ +000b54b0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity: │ │ │ +000b5540: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +000b5560: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +000b5580: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +000b55b0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +000b55c0: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ +000b55d0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include insta
│ │ │ +000b55f0: 6c6c 5f61 7070 6172 6d6f 720a 0a63 6c61  ll_apparmor..cla
│ │ │ +000b5600: 7373 2069 6e73 7461 6c6c 5f61 7070 6172  ss install_appar
│ │ │ +000b5610: 6d6f 7220 7b0a 2020 7061 636b 6167 6520  mor {.  package 
│ │ │ +000b5620: 7b20 2761 7070 6172 6d6f 7227 3a0a 2020  { 'apparmor':.  
│ │ │ +000b5630: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ +000b5640: 696e 7374 616c 6c65 6427 2c0a 2020 7d0a  installed',.  }.
│ │ │ +000b5650: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ +000b5660: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +000b5710: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin │ │ │ +000b5720: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
.[[packages]].
│ │ │ +000b5780: 6e61 6d65 203d 2022 6170 7061 726d 6f72  name = "apparmor
│ │ │ +000b5790: 220a 7665 7273 696f 6e20 3d20 222a 220a  ".version = "*".
│ │ │  000b57a0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation O │ │ │ -000b6b10: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint │ │ │ -000b6b20: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -000b6b30: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.[customization
│ │ │ -000b6b80: 732e 7365 7276 6963 6573 5d0a 656e 6162  s.services].enab
│ │ │ -000b6b90: 6c65 6420 3d20 5b22 6170 7061 726d 6f72  led = ["apparmor
│ │ │ -000b6ba0: 225d 0a3c 2f63 6f64 653e 3c2f 7072 653e  "].
│ │ │ -000b6bb0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediation │ │ │ -000b6c60: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ -000b6c70: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
< │ │ │ -000b6cf0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -000b6d00: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ -000b6d20: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ -000b6d30: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ -000b6d50: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ -000b6d70: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:enable
<
│ │ │ -000b6da0: 636f 6465 3e69 6e63 6c75 6465 2065 6e61  code>include ena
│ │ │ -000b6db0: 626c 655f 6170 7061 726d 6f72 0a0a 636c  ble_apparmor..cl
│ │ │ -000b6dc0: 6173 7320 656e 6162 6c65 5f61 7070 6172  ass enable_appar
│ │ │ -000b6dd0: 6d6f 7220 7b0a 2020 7365 7276 6963 6520  mor {.  service 
│ │ │ -000b6de0: 7b27 6170 7061 726d 6f72 273a 0a20 2020  {'apparmor':.   
│ │ │ -000b6df0: 2065 6e61 626c 6520 3d26 6774 3b20 7472   enable => tr
│ │ │ -000b6e00: 7565 2c0a 2020 2020 656e 7375 7265 203d  ue,.    ensure =
│ │ │ -000b6e10: 2667 743b 2027 7275 6e6e 696e 6727 2c0a  > 'running',.
│ │ │ -000b6e20: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remediation P │ │ │ +000b6b10: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ +000b6b20: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity: │ │ │ +000b6bb0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +000b6bd0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +000b6bf0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +000b6c20: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +000b6c30: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ +000b6c40: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include enabl
│ │ │ +000b6c60: 655f 6170 7061 726d 6f72 0a0a 636c 6173  e_apparmor..clas
│ │ │ +000b6c70: 7320 656e 6162 6c65 5f61 7070 6172 6d6f  s enable_apparmo
│ │ │ +000b6c80: 7220 7b0a 2020 7365 7276 6963 6520 7b27  r {.  service {'
│ │ │ +000b6c90: 6170 7061 726d 6f72 273a 0a20 2020 2065  apparmor':.    e
│ │ │ +000b6ca0: 6e61 626c 6520 3d26 6774 3b20 7472 7565  nable => true
│ │ │ +000b6cb0: 2c0a 2020 2020 656e 7375 7265 203d 2667  ,.    ensure =&g
│ │ │ +000b6cc0: 743b 2027 7275 6e6e 696e 6727 2c0a 2020  t; 'running',.  
│ │ │ +000b6cd0: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediatio │ │ │ +000b6d90: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr │ │ │ +000b6da0: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...< │ │ │ +000b6db0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
.[customizat
│ │ │ +000b6e00: 696f 6e73 2e73 6572 7669 6365 735d 0a65  ions.services].e
│ │ │ +000b6e10: 6e61 626c 6564 203d 205b 2261 7070 6172  nabled = ["appar
│ │ │ +000b6e20: 6d6f 7222 5d0a 3c2f 636f 6465 3e3c 2f70  mor"].

Remediation │ │ │ -000be9d0: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ -000be9e0: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
.[customizat
│ │ │ -000bea40: 696f 6e73 2e73 6572 7669 6365 735d 0a65  ions.services].e
│ │ │ -000bea50: 6e61 626c 6564 203d 205b 2272 7379 736c  nabled = ["rsysl
│ │ │ -000bea60: 6f67 225d 0a3c 2f63 6f64 653e 3c2f 7072  og"].
Remediat │ │ │ -000beb20: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ -000beb30: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -000bebe0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -000bec00: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -000bec30: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -000bebc0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -000bebd0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -000bebf0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -000bec10: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -000bec20: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

include │ │ │ -000bec70: 2065 6e61 626c 655f 7273 7973 6c6f 670a enable_rsyslog. │ │ │ -000bec80: 0a63 6c61 7373 2065 6e61 626c 655f 7273 .class enable_rs │ │ │ -000bec90: 7973 6c6f 6720 7b0a 2020 7365 7276 6963 yslog {. servic │ │ │ -000beca0: 6520 7b27 7273 7973 6c6f 6727 3a0a 2020 e {'rsyslog':. │ │ │ -000becb0: 2020 656e 6162 6c65 203d 2667 743b 2074 enable => t │ │ │ -000becc0: 7275 652c 0a20 2020 2065 6e73 7572 6520 rue,. ensure │ │ │ -000becd0: 3d26 6774 3b20 2772 756e 6e69 6e67 272c => 'running', │ │ │ -000bece0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.

Remedi │ │ │ -000beda0: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn │ │ │ -000bedb0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -000bee60: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -000beeb0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ -000bee40: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -000bee70: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -000bee90: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -000beea0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -000beec0: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ -000beed0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -000beef0: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ -000bef00: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ -000bef10: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ -000bef20: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ -000bef30: 2020 7461 6773 3a0a 2020 2d20 4449 5341    tags:.  - DISA
│ │ │ -000bef40: 2d53 5449 472d 5542 5455 2d32 302d 3031  -STIG-UBTU-20-01
│ │ │ -000bef50: 3034 3332 0a20 202d 204e 4953 542d 3830  0432.  - NIST-80
│ │ │ -000bef60: 302d 3533 2d41 552d 3428 3129 0a20 202d  0-53-AU-4(1).  -
│ │ │ -000bef70: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -000bef80: 3628 6129 0a20 202d 2065 6e61 626c 655f  6(a).  - enable_
│ │ │ -000bef90: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -000befa0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -000befb0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -000befc0: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ -000befd0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -000befe0: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ -000beff0: 6963 655f 7273 7973 6c6f 675f 656e 6162  ice_rsyslog_enab
│ │ │ -000bf000: 6c65 640a 0a2d 206e 616d 653a 2045 6e61  led..- name: Ena
│ │ │ -000bf010: 626c 6520 7273 7973 6c6f 6720 5365 7276  ble rsyslog Serv
│ │ │ -000bf020: 6963 6520 2d20 456e 6162 6c65 2073 6572  ice - Enable ser
│ │ │ -000bf030: 7669 6365 2072 7379 736c 6f67 0a20 2062  vice rsyslog.  b
│ │ │ -000bf040: 6c6f 636b 3a0a 0a20 202d 206e 616d 653a  lock:..  - name:
│ │ │ -000bf050: 2047 6174 6865 7220 7468 6520 7061 636b   Gather the pack
│ │ │ -000bf060: 6167 6520 6661 6374 730a 2020 2020 7061  age facts.    pa
│ │ │ -000bf070: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ -000bf080: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ -000bf090: 0a0a 2020 2d20 6e61 6d65 3a20 456e 6162  ..  - name: Enab
│ │ │ -000bf0a0: 6c65 2072 7379 736c 6f67 2053 6572 7669  le rsyslog Servi
│ │ │ -000bf0b0: 6365 202d 2045 6e61 626c 6520 5365 7276  ce - Enable Serv
│ │ │ -000bf0c0: 6963 6520 7273 7973 6c6f 670a 2020 2020  ice rsyslog.    
│ │ │ -000bf0d0: 616e 7369 626c 652e 6275 696c 7469 6e2e  ansible.builtin.
│ │ │ -000bf0e0: 7379 7374 656d 643a 0a20 2020 2020 206e  systemd:.      n
│ │ │ -000bf0f0: 616d 653a 2072 7379 736c 6f67 0a20 2020  ame: rsyslog.   
│ │ │ -000bf100: 2020 2065 6e61 626c 6564 3a20 7472 7565     enabled: true
│ │ │ -000bf110: 0a20 2020 2020 2073 7461 7465 3a20 7374  .      state: st
│ │ │ -000bf120: 6172 7465 640a 2020 2020 2020 6d61 736b  arted.      mask
│ │ │ -000bf130: 6564 3a20 6661 6c73 650a 2020 2020 7768  ed: false.    wh
│ │ │ -000bf140: 656e 3a0a 2020 2020 2d20 2722 7273 7973  en:.    - '"rsys
│ │ │ -000bf150: 6c6f 6722 2069 6e20 616e 7369 626c 655f  log" in ansible_
│ │ │ -000bf160: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -000bf170: 2020 7768 656e 3a20 2722 6c69 6e75 782d    when: '"linux-
│ │ │ -000bf180: 6261 7365 2220 696e 2061 6e73 6962 6c65  base" in ansible
│ │ │ -000bf190: 5f66 6163 7473 2e70 6163 6b61 6765 7327  _facts.packages'
│ │ │ -000bf1a0: 0a20 2074 6167 733a 0a20 202d 2044 4953  .  tags:.  - DIS
│ │ │ -000bf1b0: 412d 5354 4947 2d55 4254 552d 3230 2d30  A-STIG-UBTU-20-0
│ │ │ -000bf1c0: 3130 3433 320a 2020 2d20 4e49 5354 2d38  10432.  - NIST-8
│ │ │ -000bf1d0: 3030 2d35 332d 4155 2d34 2831 290a 2020  00-53-AU-4(1).  
│ │ │ -000bf1e0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -000bf1f0: 2d36 2861 290a 2020 2d20 656e 6162 6c65  -6(a).  - enable
│ │ │ -000bf200: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ -000bf210: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -000bf220: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -000bf230: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ -000bf240: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ -000bf250: 745f 6e65 6564 6564 0a20 202d 2073 6572  t_needed.  - ser
│ │ │ -000bf260: 7669 6365 5f72 7379 736c 6f67 5f65 6e61  vice_rsyslog_ena
│ │ │ -000bf270: 626c 6564 0a3c 2f63 6f64 653e 3c2f 7072  bled.
< │ │ │ +000bea20: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +000bea30: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +000bea40: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +000bea50: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +000bea60: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +000bea70: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +000bea80: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +000beac0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +000bead0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +000beaf0: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ +000beb00: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ +000beb20: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ +000beb30: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ +000beb40: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ +000beb50: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ +000beb60: 733a 0a20 202d 2044 4953 412d 5354 4947  s:.  - DISA-STIG
│ │ │ +000beb70: 2d55 4254 552d 3230 2d30 3130 3433 320a  -UBTU-20-010432.
│ │ │ +000beb80: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +000beb90: 4155 2d34 2831 290a 2020 2d20 4e49 5354  AU-4(1).  - NIST
│ │ │ +000beba0: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ +000bebb0: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ +000bebc0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +000bebd0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +000bebe0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ +000bebf0: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ +000bec00: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +000bec10: 6564 0a20 202d 2073 6572 7669 6365 5f72  ed.  - service_r
│ │ │ +000bec20: 7379 736c 6f67 5f65 6e61 626c 6564 0a0a  syslog_enabled..
│ │ │ +000bec30: 2d20 6e61 6d65 3a20 456e 6162 6c65 2072  - name: Enable r
│ │ │ +000bec40: 7379 736c 6f67 2053 6572 7669 6365 202d  syslog Service -
│ │ │ +000bec50: 2045 6e61 626c 6520 7365 7276 6963 6520   Enable service 
│ │ │ +000bec60: 7273 7973 6c6f 670a 2020 626c 6f63 6b3a  rsyslog.  block:
│ │ │ +000bec70: 0a0a 2020 2d20 6e61 6d65 3a20 4761 7468  ..  - name: Gath
│ │ │ +000bec80: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ +000bec90: 6163 7473 0a20 2020 2070 6163 6b61 6765  acts.    package
│ │ │ +000beca0: 5f66 6163 7473 3a0a 2020 2020 2020 6d61  _facts:.      ma
│ │ │ +000becb0: 6e61 6765 723a 2061 7574 6f0a 0a20 202d  nager: auto..  -
│ │ │ +000becc0: 206e 616d 653a 2045 6e61 626c 6520 7273   name: Enable rs
│ │ │ +000becd0: 7973 6c6f 6720 5365 7276 6963 6520 2d20  yslog Service - 
│ │ │ +000bece0: 456e 6162 6c65 2053 6572 7669 6365 2072  Enable Service r
│ │ │ +000becf0: 7379 736c 6f67 0a20 2020 2061 6e73 6962  syslog.    ansib
│ │ │ +000bed00: 6c65 2e62 7569 6c74 696e 2e73 7973 7465  le.builtin.syste
│ │ │ +000bed10: 6d64 3a0a 2020 2020 2020 6e61 6d65 3a20  md:.      name: 
│ │ │ +000bed20: 7273 7973 6c6f 670a 2020 2020 2020 656e  rsyslog.      en
│ │ │ +000bed30: 6162 6c65 643a 2074 7275 650a 2020 2020  abled: true.    
│ │ │ +000bed40: 2020 7374 6174 653a 2073 7461 7274 6564    state: started
│ │ │ +000bed50: 0a20 2020 2020 206d 6173 6b65 643a 2066  .      masked: f
│ │ │ +000bed60: 616c 7365 0a20 2020 2077 6865 6e3a 0a20  alse.    when:. 
│ │ │ +000bed70: 2020 202d 2027 2272 7379 736c 6f67 2220     - '"rsyslog" 
│ │ │ +000bed80: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +000bed90: 2e70 6163 6b61 6765 7327 0a20 2077 6865  .packages'.  whe
│ │ │ +000beda0: 6e3a 2027 226c 696e 7578 2d62 6173 6522  n: '"linux-base"
│ │ │ +000bedb0: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ +000bedc0: 732e 7061 636b 6167 6573 270a 2020 7461  s.packages'.  ta
│ │ │ +000bedd0: 6773 3a0a 2020 2d20 4449 5341 2d53 5449  gs:.  - DISA-STI
│ │ │ +000bede0: 472d 5542 5455 2d32 302d 3031 3034 3332  G-UBTU-20-010432
│ │ │ +000bedf0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +000bee00: 2d41 552d 3428 3129 0a20 202d 204e 4953  -AU-4(1).  - NIS
│ │ │ +000bee10: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ +000bee20: 0a20 202d 2065 6e61 626c 655f 7374 7261  .  - enable_stra
│ │ │ +000bee30: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +000bee40: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +000bee50: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ +000bee60: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ +000bee70: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +000bee80: 6465 640a 2020 2d20 7365 7276 6963 655f  ded.  - service_
│ │ │ +000bee90: 7273 7973 6c6f 675f 656e 6162 6c65 640a  rsyslog_enabled.
│ │ │ +000beea0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation P │ │ │ +000bef60: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ +000bef70: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ +000bf000: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +000bf020: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +000bf030: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +000bf040: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +000bf050: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +000bf070: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
include enab
│ │ │ +000bf0b0: 6c65 5f72 7379 736c 6f67 0a0a 636c 6173  le_rsyslog..clas
│ │ │ +000bf0c0: 7320 656e 6162 6c65 5f72 7379 736c 6f67  s enable_rsyslog
│ │ │ +000bf0d0: 207b 0a20 2073 6572 7669 6365 207b 2772   {.  service {'r
│ │ │ +000bf0e0: 7379 736c 6f67 273a 0a20 2020 2065 6e61  syslog':.    ena
│ │ │ +000bf0f0: 626c 6520 3d26 6774 3b20 7472 7565 2c0a  ble => true,.
│ │ │ +000bf100: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +000bf110: 2027 7275 6e6e 696e 6727 2c0a 2020 7d0a   'running',.  }.
│ │ │ +000bf120: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ +000bf130: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +000bf1e0: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ +000bf1f0: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
.[customizat
│ │ │ +000bf250: 696f 6e73 2e73 6572 7669 6365 735d 0a65  ions.services].e
│ │ │ +000bf260: 6e61 626c 6564 203d 205b 2272 7379 736c  nabled = ["rsysl
│ │ │ +000bf270: 6f67 225d 0a3c 2f63 6f64 653e 3c2f 7072  og"].
R │ │ │ -000c5030: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui │ │ │ -000c5040: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni │ │ │ -000c5050: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -000c5060: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
.[
│ │ │ -000c50a0: 5b70 6163 6b61 6765 735d 5d0a 6e61 6d65  [packages]].name
│ │ │ -000c50b0: 203d 2022 7566 7722 0a76 6572 7369 6f6e   = "ufw".version
│ │ │ -000c50c0: 203d 2022 2a22 0a3c 2f63 6f64 653e 3c2f   = "*".
Remedi │ │ │ -000c5180: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ -000c5190: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -000c51a0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -000c5220: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -000c5250: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -000c5270: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -000c5280: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -000c52a0: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ -000c52c0: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -000c52d0: 6465 2069 6e73 7461 6c6c 5f75 6677 0a0a  de install_ufw..
│ │ │ -000c52e0: 636c 6173 7320 696e 7374 616c 6c5f 7566  class install_uf
│ │ │ -000c52f0: 7720 7b0a 2020 7061 636b 6167 6520 7b20  w {.  package { 
│ │ │ -000c5300: 2775 6677 273a 0a20 2020 2065 6e73 7572  'ufw':.    ensur
│ │ │ -000c5310: 6520 3d26 6774 3b20 2769 6e73 7461 6c6c  e => 'install
│ │ │ -000c5320: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ed',.  }.}.
Re │ │ │ -000c53e0: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -000c53f0: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
Complexity: │ │ │ -000c54d0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -000c54e0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ -000c5530: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ -000c5540: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ -000c5550: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ -000c5560: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ -000c5570: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ -000c5580: 4449 5341 2d53 5449 472d 5542 5455 2d32  DISA-STIG-UBTU-2
│ │ │ -000c5590: 302d 3031 3034 3333 0a20 202d 2065 6e61  0-010433.  - ena
│ │ │ -000c55a0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -000c55b0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -000c55c0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -000c55d0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -000c55e0: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -000c55f0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -000c5600: 7061 636b 6167 655f 7566 775f 696e 7374  package_ufw_inst
│ │ │ -000c5610: 616c 6c65 640a 0a2d 206e 616d 653a 2045  alled..- name: E
│ │ │ -000c5620: 6e73 7572 6520 7566 7720 6973 2069 6e73  nsure ufw is ins
│ │ │ -000c5630: 7461 6c6c 6564 0a20 2070 6163 6b61 6765  talled.  package
│ │ │ -000c5640: 3a0a 2020 2020 6e61 6d65 3a20 7566 770a  :.    name: ufw.
│ │ │ -000c5650: 2020 2020 7374 6174 653a 2070 7265 7365      state: prese
│ │ │ -000c5660: 6e74 0a20 2077 6865 6e3a 2027 226c 696e  nt.  when: '"lin
│ │ │ -000c5670: 7578 2d62 6173 6522 2069 6e20 616e 7369  ux-base" in ansi
│ │ │ -000c5680: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -000c5690: 6573 270a 2020 7461 6773 3a0a 2020 2d20  es'.  tags:.  - 
│ │ │ -000c56a0: 4449 5341 2d53 5449 472d 5542 5455 2d32  DISA-STIG-UBTU-2
│ │ │ -000c56b0: 302d 3031 3034 3333 0a20 202d 2065 6e61  0-010433.  - ena
│ │ │ -000c56c0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -000c56d0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -000c56e0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -000c56f0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -000c5700: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -000c5710: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -000c5720: 7061 636b 6167 655f 7566 775f 696e 7374  package_ufw_inst
│ │ │ -000c5730: 616c 6c65 640a 3c2f 636f 6465 3e3c 2f70  alled.


low
Disru │ │ │ -000c54b0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -000c54c0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -000c5500: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ -000c5510: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
< │ │ │ +000c50d0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +000c50f0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +000c5140: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
- name: Gather 
│ │ │ +000c5190: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ +000c51a0: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ +000c51b0: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ +000c51c0: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ +000c51d0: 2044 4953 412d 5354 4947 2d55 4254 552d   DISA-STIG-UBTU-
│ │ │ +000c51e0: 3230 2d30 3130 3433 330a 2020 2d20 656e  20-010433.  - en
│ │ │ +000c51f0: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +000c5200: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +000c5210: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +000c5220: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ +000c5230: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +000c5240: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +000c5250: 2070 6163 6b61 6765 5f75 6677 5f69 6e73   package_ufw_ins
│ │ │ +000c5260: 7461 6c6c 6564 0a0a 2d20 6e61 6d65 3a20  talled..- name: 
│ │ │ +000c5270: 456e 7375 7265 2075 6677 2069 7320 696e  Ensure ufw is in
│ │ │ +000c5280: 7374 616c 6c65 640a 2020 7061 636b 6167  stalled.  packag
│ │ │ +000c5290: 653a 0a20 2020 206e 616d 653a 2075 6677  e:.    name: ufw
│ │ │ +000c52a0: 0a20 2020 2073 7461 7465 3a20 7072 6573  .    state: pres
│ │ │ +000c52b0: 656e 740a 2020 7768 656e 3a20 2722 6c69  ent.  when: '"li
│ │ │ +000c52c0: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ +000c52d0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ +000c52e0: 6765 7327 0a20 2074 6167 733a 0a20 202d  ges'.  tags:.  -
│ │ │ +000c52f0: 2044 4953 412d 5354 4947 2d55 4254 552d   DISA-STIG-UBTU-
│ │ │ +000c5300: 3230 2d30 3130 3433 330a 2020 2d20 656e  20-010433.  - en
│ │ │ +000c5310: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +000c5320: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +000c5330: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +000c5340: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ +000c5350: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +000c5360: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +000c5370: 2070 6163 6b61 6765 5f75 6677 5f69 6e73   package_ufw_ins
│ │ │ +000c5380: 7461 6c6c 6564 0a3c 2f63 6f64 653e 3c2f  talled.Remedi
│ │ │ +000c5440: 6174 696f 6e20 5075 7070 6574 2073 6e69  ation Puppet sni
│ │ │ +000c5450: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e  ppet ...
│ │ │ +000c5460: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
low
Disr │ │ │ +000c5100: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +000c5110: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +000c5150: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ +000c5160: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Com │ │ │ +000c54e0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +000c5510: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +000c5530: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +000c5540: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +000c5560: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ +000c5580: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +000c5590: 6465 2069 6e73 7461 6c6c 5f75 6677 0a0a  de install_ufw..
│ │ │ +000c55a0: 636c 6173 7320 696e 7374 616c 6c5f 7566  class install_uf
│ │ │ +000c55b0: 7720 7b0a 2020 7061 636b 6167 6520 7b20  w {.  package { 
│ │ │ +000c55c0: 2775 6677 273a 0a20 2020 2065 6e73 7572  'ufw':.    ensur
│ │ │ +000c55d0: 6520 3d26 6774 3b20 2769 6e73 7461 6c6c  e => 'install
│ │ │ +000c55e0: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ed',.  }.}.
Re │ │ │ +000c56a0: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil │ │ │ +000c56b0: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip │ │ │ +000c56c0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +000c56d0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +000c56e0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +000c56f0: 7365 2220 6964 3d22 6964 6d31 3630 3930 se" id="idm16090 │ │ │ +000c5700: 223e 3c70 7265 3e3c 636f 6465 3e0a 5b5b ">
.[[
│ │ │ +000c5710: 7061 636b 6167 6573 5d5d 0a6e 616d 6520  packages]].name 
│ │ │ +000c5720: 3d20 2275 6677 220a 7665 7273 696f 6e20  = "ufw".version 
│ │ │ +000c5730: 3d20 222a 220a 3c2f 636f 6465 3e3c 2f70  = "*".

│ │ │ -000c6420: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu │ │ │ -000c6430: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn │ │ │ -000c6440: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.
│ │ │ -000c6490: 5b63 7573 746f 6d69 7a61 7469 6f6e 732e  [customizations.
│ │ │ -000c64a0: 7365 7276 6963 6573 5d0a 656e 6162 6c65  services].enable
│ │ │ -000c64b0: 6420 3d20 5b22 7566 7722 5d0a 3c2f 636f  d = ["ufw"].
< │ │ │ -000c64d0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -000c64e0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -000c64f0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -000c6500: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -000c6510: 646d 3136 3132 3622 2074 6162 696e 6465 dm16126" tabinde │ │ │ -000c6520: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -000c6530: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -000c6540: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -000c6550: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -000c6560: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -000c6570: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ -000c6580: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity: │ │ │ -000c6660: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -000c6670: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ -000c66c0: 696e 636c 7564 6520 656e 6162 6c65 5f75  include enable_u
│ │ │ -000c66d0: 6677 0a0a 636c 6173 7320 656e 6162 6c65  fw..class enable
│ │ │ -000c66e0: 5f75 6677 207b 0a20 2073 6572 7669 6365  _ufw {.  service
│ │ │ -000c66f0: 207b 2775 6677 273a 0a20 2020 2065 6e61   {'ufw':.    ena
│ │ │ -000c6700: 626c 6520 3d26 6774 3b20 7472 7565 2c0a  ble => true,.
│ │ │ -000c6710: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -000c6720: 2027 7275 6e6e 696e 6727 2c0a 2020 7d0a   'running',.  }.
│ │ │ -000c6730: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ -000c6740: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -000c67f0: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ -000c6800: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -000c6840: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -000c6850: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -000c6860: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -000c6870: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -000c6880: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ -000c6910: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c < │ │ │ -000c6920: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
low
Disru │ │ │ -000c6640: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -000c6650: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -000c6690: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ -000c66a0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complex │ │ │ -000c6890: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -000c68a0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ -000c68e0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -000c68f0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
enable
- name: G
│ │ │ -000c6940: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ -000c6950: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ -000c6960: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ -000c6970: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ -000c6980: 733a 0a20 202d 2044 4953 412d 5354 4947  s:.  - DISA-STIG
│ │ │ -000c6990: 2d55 4254 552d 3230 2d30 3130 3433 340a  -UBTU-20-010434.
│ │ │ -000c69a0: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -000c69b0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -000c69c0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -000c69d0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -000c69e0: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -000c69f0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -000c6a00: 6564 0a20 202d 2073 6572 7669 6365 5f75  ed.  - service_u
│ │ │ -000c6a10: 6677 5f65 6e61 626c 6564 0a0a 2d20 6e61  fw_enabled..- na
│ │ │ -000c6a20: 6d65 3a20 5665 7269 6679 2075 6677 2045  me: Verify ufw E
│ │ │ -000c6a30: 6e61 626c 6564 202d 2045 6e61 626c 6520  nabled - Enable 
│ │ │ -000c6a40: 7365 7276 6963 6520 7566 770a 2020 626c  service ufw.  bl
│ │ │ -000c6a50: 6f63 6b3a 0a0a 2020 2d20 6e61 6d65 3a20  ock:..  - name: 
│ │ │ -000c6a60: 4761 7468 6572 2074 6865 2070 6163 6b61  Gather the packa
│ │ │ -000c6a70: 6765 2066 6163 7473 0a20 2020 2070 6163  ge facts.    pac
│ │ │ -000c6a80: 6b61 6765 5f66 6163 7473 3a0a 2020 2020  kage_facts:.    
│ │ │ -000c6a90: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ -000c6aa0: 0a20 202d 206e 616d 653a 2056 6572 6966  .  - name: Verif
│ │ │ -000c6ab0: 7920 7566 7720 456e 6162 6c65 6420 2d20  y ufw Enabled - 
│ │ │ -000c6ac0: 456e 6162 6c65 2053 6572 7669 6365 2075  Enable Service u
│ │ │ -000c6ad0: 6677 0a20 2020 2061 6e73 6962 6c65 2e62  fw.    ansible.b
│ │ │ -000c6ae0: 7569 6c74 696e 2e73 7973 7465 6d64 3a0a  uiltin.systemd:.
│ │ │ -000c6af0: 2020 2020 2020 6e61 6d65 3a20 7566 770a        name: ufw.
│ │ │ -000c6b00: 2020 2020 2020 656e 6162 6c65 643a 2074        enabled: t
│ │ │ -000c6b10: 7275 650a 2020 2020 2020 7374 6174 653a  rue.      state:
│ │ │ -000c6b20: 2073 7461 7274 6564 0a20 2020 2020 206d   started.      m
│ │ │ -000c6b30: 6173 6b65 643a 2066 616c 7365 0a20 2020  asked: false.   
│ │ │ -000c6b40: 2077 6865 6e3a 0a20 2020 202d 2027 2275   when:.    - '"u
│ │ │ -000c6b50: 6677 2220 696e 2061 6e73 6962 6c65 5f66  fw" in ansible_f
│ │ │ -000c6b60: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ -000c6b70: 2077 6865 6e3a 0a20 202d 2027 226c 696e   when:.  - '"lin
│ │ │ -000c6b80: 7578 2d62 6173 6522 2069 6e20 616e 7369  ux-base" in ansi
│ │ │ -000c6b90: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -000c6ba0: 6573 270a 2020 2d20 2820 2275 6677 2220  es'.  - ( "ufw" 
│ │ │ -000c6bb0: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -000c6bc0: 2e70 6163 6b61 6765 7320 616e 6420 226c  .packages and "l
│ │ │ -000c6bd0: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ -000c6be0: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ -000c6bf0: 6167 6573 2029 0a20 2074 6167 733a 0a20  ages ).  tags:. 
│ │ │ -000c6c00: 202d 2044 4953 412d 5354 4947 2d55 4254   - DISA-STIG-UBT
│ │ │ -000c6c10: 552d 3230 2d30 3130 3433 340a 2020 2d20  U-20-010434.  - 
│ │ │ -000c6c20: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ -000c6c30: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -000c6c40: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -000c6c50: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -000c6c60: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -000c6c70: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -000c6c80: 202d 2073 6572 7669 6365 5f75 6677 5f65   - service_ufw_e
│ │ │ -000c6c90: 6e61 626c 6564 0a3c 2f63 6f64 653e 3c2f  nabled.
│ │ │ +000c64c0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +000c64e0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +000c6530: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ +000c6560: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Gather
│ │ │ +000c6580: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ +000c6590: 7473 0a20 2070 6163 6b61 6765 5f66 6163  ts.  package_fac
│ │ │ +000c65a0: 7473 3a0a 2020 2020 6d61 6e61 6765 723a  ts:.    manager:
│ │ │ +000c65b0: 2061 7574 6f0a 2020 7461 6773 3a0a 2020   auto.  tags:.  
│ │ │ +000c65c0: 2d20 4449 5341 2d53 5449 472d 5542 5455  - DISA-STIG-UBTU
│ │ │ +000c65d0: 2d32 302d 3031 3034 3334 0a20 202d 2065  -20-010434.  - e
│ │ │ +000c65e0: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ +000c65f0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +000c6600: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +000c6610: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +000c6620: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +000c6630: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +000c6640: 2d20 7365 7276 6963 655f 7566 775f 656e  - service_ufw_en
│ │ │ +000c6650: 6162 6c65 640a 0a2d 206e 616d 653a 2056  abled..- name: V
│ │ │ +000c6660: 6572 6966 7920 7566 7720 456e 6162 6c65  erify ufw Enable
│ │ │ +000c6670: 6420 2d20 456e 6162 6c65 2073 6572 7669  d - Enable servi
│ │ │ +000c6680: 6365 2075 6677 0a20 2062 6c6f 636b 3a0a  ce ufw.  block:.
│ │ │ +000c6690: 0a20 202d 206e 616d 653a 2047 6174 6865  .  - name: Gathe
│ │ │ +000c66a0: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ +000c66b0: 6374 730a 2020 2020 7061 636b 6167 655f  cts.    package_
│ │ │ +000c66c0: 6661 6374 733a 0a20 2020 2020 206d 616e  facts:.      man
│ │ │ +000c66d0: 6167 6572 3a20 6175 746f 0a0a 2020 2d20  ager: auto..  - 
│ │ │ +000c66e0: 6e61 6d65 3a20 5665 7269 6679 2075 6677  name: Verify ufw
│ │ │ +000c66f0: 2045 6e61 626c 6564 202d 2045 6e61 626c   Enabled - Enabl
│ │ │ +000c6700: 6520 5365 7276 6963 6520 7566 770a 2020  e Service ufw.  
│ │ │ +000c6710: 2020 616e 7369 626c 652e 6275 696c 7469    ansible.builti
│ │ │ +000c6720: 6e2e 7379 7374 656d 643a 0a20 2020 2020  n.systemd:.     
│ │ │ +000c6730: 206e 616d 653a 2075 6677 0a20 2020 2020   name: ufw.     
│ │ │ +000c6740: 2065 6e61 626c 6564 3a20 7472 7565 0a20   enabled: true. 
│ │ │ +000c6750: 2020 2020 2073 7461 7465 3a20 7374 6172       state: star
│ │ │ +000c6760: 7465 640a 2020 2020 2020 6d61 736b 6564  ted.      masked
│ │ │ +000c6770: 3a20 6661 6c73 650a 2020 2020 7768 656e  : false.    when
│ │ │ +000c6780: 3a0a 2020 2020 2d20 2722 7566 7722 2069  :.    - '"ufw" i
│ │ │ +000c6790: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +000c67a0: 7061 636b 6167 6573 270a 2020 7768 656e  packages'.  when
│ │ │ +000c67b0: 3a0a 2020 2d20 2722 6c69 6e75 782d 6261  :.  - '"linux-ba
│ │ │ +000c67c0: 7365 2220 696e 2061 6e73 6962 6c65 5f66  se" in ansible_f
│ │ │ +000c67d0: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ +000c67e0: 202d 2028 2022 7566 7722 2069 6e20 616e   - ( "ufw" in an
│ │ │ +000c67f0: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +000c6800: 6167 6573 2061 6e64 2022 6c69 6e75 782d  ages and "linux-
│ │ │ +000c6810: 6261 7365 2220 696e 2061 6e73 6962 6c65  base" in ansible
│ │ │ +000c6820: 5f66 6163 7473 2e70 6163 6b61 6765 7320  _facts.packages 
│ │ │ +000c6830: 290a 2020 7461 6773 3a0a 2020 2d20 4449  ).  tags:.  - DI
│ │ │ +000c6840: 5341 2d53 5449 472d 5542 5455 2d32 302d  SA-STIG-UBTU-20-
│ │ │ +000c6850: 3031 3034 3334 0a20 202d 2065 6e61 626c  010434.  - enabl
│ │ │ +000c6860: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ +000c6870: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +000c6880: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +000c6890: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ +000c68a0: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +000c68b0: 6f74 5f6e 6565 6465 640a 2020 2d20 7365  ot_needed.  - se
│ │ │ +000c68c0: 7276 6963 655f 7566 775f 656e 6162 6c65  rvice_ufw_enable
│ │ │ +000c68d0: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +000c68e0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +000c6990: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +000c69a0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +000c6a20: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ +000c6ab0: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
Complexity:< │ │ │ +000c64d0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +000c64f0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +000c6540: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ +000c6550: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
Complexi │ │ │ +000c6a30: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +000c6a40: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ +000c6a80: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +000c6a90: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
│ │ │ +000c6ad0: 3c63 6f64 653e 696e 636c 7564 6520 656e  include en
│ │ │ +000c6ae0: 6162 6c65 5f75 6677 0a0a 636c 6173 7320  able_ufw..class 
│ │ │ +000c6af0: 656e 6162 6c65 5f75 6677 207b 0a20 2073  enable_ufw {.  s
│ │ │ +000c6b00: 6572 7669 6365 207b 2775 6677 273a 0a20  ervice {'ufw':. 
│ │ │ +000c6b10: 2020 2065 6e61 626c 6520 3d26 6774 3b20     enable => 
│ │ │ +000c6b20: 7472 7565 2c0a 2020 2020 656e 7375 7265  true,.    ensure
│ │ │ +000c6b30: 203d 2667 743b 2027 7275 6e6e 696e 6727   => 'running'
│ │ │ +000c6b40: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ +000c6b50: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remed │ │ │ +000c6c00: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B │ │ │ +000c6c10: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet │ │ │ +000c6c20: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +000c6c60: 7072 653e 3c63 6f64 653e 0a5b 6375 7374 pre>.[cust │ │ │ +000c6c70: 6f6d 697a 6174 696f 6e73 2e73 6572 7669 omizations.servi │ │ │ +000c6c80: 6365 735d 0a65 6e61 626c 6564 203d 205b ces].enabled = [ │ │ │ +000c6c90: 2275 6677 225d 0a3c 2f63 6f64 653e 3c2f "ufw"].
Remediatio │ │ │ -000f6c80: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr │ │ │ -000f6c90: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...< │ │ │ -000f6ca0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
<
│ │ │ -000f6ce0: 636f 6465 3e0a 5b63 7573 746f 6d69 7a61  code>.[customiza
│ │ │ -000f6cf0: 7469 6f6e 732e 7365 7276 6963 6573 5d0a  tions.services].
│ │ │ -000f6d00: 6d61 736b 6564 203d 205b 226b 6475 6d70  masked = ["kdump
│ │ │ -000f6d10: 2d74 6f6f 6c73 225d 0a3c 2f63 6f64 653e  -tools"].
│ │ │ -000f6d20: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ -000f6dd0: 6469 6174 696f 6e20 4b75 6265 726e 6574 diation Kubernet │ │ │ -000f6de0: 6573 2073 6e69 7070 6574 20e2 87b2 3c2f es snippet ...
< │ │ │ -000f6e70: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -000f6e90: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> │ │ │ -000f6ec0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
low
Disr │ │ │ -000f6ea0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -000f6eb0: 6d65 6469 756d 3c2f 7464 3e3c 2f74 723e medium
Reboot:< │ │ │ -000f6ed0: 2f74 683e 3c74 643e 7472 7565 3c2f 7464 /th>true
St │ │ │ -000f6ef0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -000f6f00: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
apiVersion: 
│ │ │ -000f6f30: 6d61 6368 696e 6563 6f6e 6669 6775 7261  machineconfigura
│ │ │ -000f6f40: 7469 6f6e 2e6f 7065 6e73 6869 6674 2e69  tion.openshift.i
│ │ │ -000f6f50: 6f2f 7631 0a6b 696e 643a 204d 6163 6869  o/v1.kind: Machi
│ │ │ -000f6f60: 6e65 436f 6e66 6967 0a73 7065 633a 0a20  neConfig.spec:. 
│ │ │ -000f6f70: 2063 6f6e 6669 673a 0a20 2020 2069 676e   config:.    ign
│ │ │ -000f6f80: 6974 696f 6e3a 0a20 2020 2020 2076 6572  ition:.      ver
│ │ │ -000f6f90: 7369 6f6e 3a20 332e 312e 300a 2020 2020  sion: 3.1.0.    
│ │ │ -000f6fa0: 7379 7374 656d 643a 0a20 2020 2020 2075  systemd:.      u
│ │ │ -000f6fb0: 6e69 7473 3a0a 2020 2020 2020 2d20 6e61  nits:.      - na
│ │ │ -000f6fc0: 6d65 3a20 6b64 756d 702d 746f 6f6c 732e  me: kdump-tools.
│ │ │ -000f6fd0: 7365 7276 6963 650a 2020 2020 2020 2020  service.        
│ │ │ -000f6fe0: 656e 6162 6c65 643a 2066 616c 7365 0a20  enabled: false. 
│ │ │ -000f6ff0: 2020 2020 2020 206d 6173 6b3a 2074 7275         mask: tru
│ │ │ -000f7000: 650a 2020 2020 2020 2d20 6e61 6d65 3a20  e.      - name: 
│ │ │ -000f7010: 6b64 756d 702d 746f 6f6c 732e 736f 636b  kdump-tools.sock
│ │ │ -000f7020: 6574 0a20 2020 2020 2020 2065 6e61 626c  et.        enabl
│ │ │ -000f7030: 6564 3a20 6661 6c73 650a 2020 2020 2020  ed: false.      
│ │ │ -000f7040: 2020 6d61 736b 3a20 7472 7565 0a3c 2f63    mask: true.
│ │ │ -000f7060: 3c61 2063 6c61 7373 3d22 6274 6e20 6274
│ │ │ -000f7100: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ -000f7110: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
< │ │ │ -000f71a0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -000f71c0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -000f7210: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
include disable
│ │ │ -000f7260: 5f6b 6475 6d70 2d74 6f6f 6c73 0a0a 636c  _kdump-tools..cl
│ │ │ -000f7270: 6173 7320 6469 7361 626c 655f 6b64 756d  ass disable_kdum
│ │ │ -000f7280: 702d 746f 6f6c 7320 7b0a 2020 7365 7276  p-tools {.  serv
│ │ │ -000f7290: 6963 6520 7b27 6b64 756d 702d 746f 6f6c  ice {'kdump-tool
│ │ │ -000f72a0: 7327 3a0a 2020 2020 656e 6162 6c65 203d  s':.    enable =
│ │ │ -000f72b0: 2667 743b 2066 616c 7365 2c0a 2020 2020  > false,.    
│ │ │ -000f72c0: 656e 7375 7265 203d 2667 743b 2027 7374  ensure => 'st
│ │ │ -000f72d0: 6f70 7065 6427 2c0a 2020 7d0a 7d0a 3c2f  opped',.  }.}.
Remediation Ans │ │ │ -000f73a0: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -000f73b0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low< │ │ │ -000f7480: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>
low
Disr │ │ │ -000f71d0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -000f71e0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -000f7220: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ -000f7230: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complexity: │ │ │ -000f7440: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ -000f7460: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ -000f74b0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -000f74c0: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Gath
│ │ │ -000f74f0: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ -000f7500: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ -000f7510: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ -000f7520: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ -000f7530: 2020 2d20 4449 5341 2d53 5449 472d 5542    - DISA-STIG-UB
│ │ │ -000f7540: 5455 2d32 302d 3031 3034 3133 0a20 202d  TU-20-010413.  -
│ │ │ -000f7550: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -000f7560: 3628 6129 0a20 202d 204e 4953 542d 3830  6(a).  - NIST-80
│ │ │ -000f7570: 302d 3533 2d43 4d2d 3728 6129 0a20 202d  0-53-CM-7(a).  -
│ │ │ -000f7580: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -000f7590: 3728 6229 0a20 202d 2064 6973 6162 6c65  7(b).  - disable
│ │ │ -000f75a0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ -000f75b0: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -000f75c0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -000f75d0: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ -000f75e0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ -000f75f0: 745f 6e65 6564 6564 0a20 202d 2073 6572  t_needed.  - ser
│ │ │ -000f7600: 7669 6365 5f6b 6475 6d70 5f64 6973 6162  vice_kdump_disab
│ │ │ -000f7610: 6c65 640a 0a2d 206e 616d 653a 2044 6973  led..- name: Dis
│ │ │ -000f7620: 6162 6c65 204b 4475 6d70 204b 6572 6e65  able KDump Kerne
│ │ │ -000f7630: 6c20 4372 6173 6820 416e 616c 797a 6572  l Crash Analyzer
│ │ │ -000f7640: 2028 6b64 756d 7029 202d 2043 6f6c 6c65   (kdump) - Colle
│ │ │ -000f7650: 6374 2073 7973 7465 6d64 2053 6572 7669  ct systemd Servi
│ │ │ -000f7660: 6365 7320 5072 6573 656e 740a 2020 2020  ces Present.    
│ │ │ -000f7670: 696e 2074 6865 2053 7973 7465 6d0a 2020  in the System.  
│ │ │ -000f7680: 616e 7369 626c 652e 6275 696c 7469 6e2e  ansible.builtin.
│ │ │ -000f7690: 636f 6d6d 616e 643a 2073 7973 7465 6d63  command: systemc
│ │ │ -000f76a0: 746c 202d 7120 6c69 7374 2d75 6e69 742d  tl -q list-unit-
│ │ │ -000f76b0: 6669 6c65 7320 2d2d 7479 7065 2073 6572  files --type ser
│ │ │ -000f76c0: 7669 6365 0a20 2072 6567 6973 7465 723a  vice.  register:
│ │ │ -000f76d0: 2073 6572 7669 6365 5f65 7869 7374 730a   service_exists.
│ │ │ -000f76e0: 2020 6368 616e 6765 645f 7768 656e 3a20    changed_when: 
│ │ │ -000f76f0: 6661 6c73 650a 2020 6661 696c 6564 5f77  false.  failed_w
│ │ │ -000f7700: 6865 6e3a 2073 6572 7669 6365 5f65 7869  hen: service_exi
│ │ │ -000f7710: 7374 732e 7263 206e 6f74 2069 6e20 5b30  sts.rc not in [0
│ │ │ -000f7720: 2c20 315d 0a20 2063 6865 636b 5f6d 6f64  , 1].  check_mod
│ │ │ -000f7730: 653a 2066 616c 7365 0a20 2077 6865 6e3a  e: false.  when:
│ │ │ -000f7740: 2027 226c 696e 7578 2d62 6173 6522 2069   '"linux-base" i
│ │ │ -000f7750: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ -000f7760: 7061 636b 6167 6573 270a 2020 7461 6773  packages'.  tags
│ │ │ -000f7770: 3a0a 2020 2d20 4449 5341 2d53 5449 472d  :.  - DISA-STIG-
│ │ │ -000f7780: 5542 5455 2d32 302d 3031 3034 3133 0a20  UBTU-20-010413. 
│ │ │ -000f7790: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -000f77a0: 4d2d 3628 6129 0a20 202d 204e 4953 542d  M-6(a).  - NIST-
│ │ │ -000f77b0: 3830 302d 3533 2d43 4d2d 3728 6129 0a20  800-53-CM-7(a). 
│ │ │ -000f77c0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -000f77d0: 4d2d 3728 6229 0a20 202d 2064 6973 6162  M-7(b).  - disab
│ │ │ -000f77e0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -000f77f0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -000f7800: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -000f7810: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ -000f7820: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -000f7830: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ -000f7840: 6572 7669 6365 5f6b 6475 6d70 5f64 6973  ervice_kdump_dis
│ │ │ -000f7850: 6162 6c65 640a 0a2d 206e 616d 653a 2044  abled..- name: D
│ │ │ -000f7860: 6973 6162 6c65 204b 4475 6d70 204b 6572  isable KDump Ker
│ │ │ -000f7870: 6e65 6c20 4372 6173 6820 416e 616c 797a  nel Crash Analyz
│ │ │ -000f7880: 6572 2028 6b64 756d 7029 202d 2045 6e73  er (kdump) - Ens
│ │ │ -000f7890: 7572 6520 6b64 756d 702d 746f 6f6c 732e  ure kdump-tools.
│ │ │ -000f78a0: 7365 7276 6963 6520 6973 0a20 2020 204d  service is.    M
│ │ │ -000f78b0: 6173 6b65 640a 2020 616e 7369 626c 652e  asked.  ansible.
│ │ │ -000f78c0: 6275 696c 7469 6e2e 7379 7374 656d 643a  builtin.systemd:
│ │ │ -000f78d0: 0a20 2020 206e 616d 653a 206b 6475 6d70  .    name: kdump
│ │ │ -000f78e0: 2d74 6f6f 6c73 2e73 6572 7669 6365 0a20  -tools.service. 
│ │ │ -000f78f0: 2020 2073 7461 7465 3a20 7374 6f70 7065     state: stoppe
│ │ │ -000f7900: 640a 2020 2020 656e 6162 6c65 643a 2066  d.    enabled: f
│ │ │ -000f7910: 616c 7365 0a20 2020 206d 6173 6b65 643a  alse.    masked:
│ │ │ -000f7920: 2074 7275 650a 2020 7768 656e 3a0a 2020   true.  when:.  
│ │ │ -000f7930: 2d20 2722 6c69 6e75 782d 6261 7365 2220  - '"linux-base" 
│ │ │ -000f7940: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -000f7950: 2e70 6163 6b61 6765 7327 0a20 202d 2073  .packages'.  - s
│ │ │ -000f7960: 6572 7669 6365 5f65 7869 7374 732e 7374  ervice_exists.st
│ │ │ -000f7970: 646f 7574 5f6c 696e 6573 2069 7320 7365  dout_lines is se
│ │ │ -000f7980: 6172 6368 2822 6b64 756d 702d 746f 6f6c  arch("kdump-tool
│ │ │ -000f7990: 732e 7365 7276 6963 6522 2c20 6d75 6c74  s.service", mult
│ │ │ -000f79a0: 696c 696e 653d 5472 7565 290a 2020 7461  iline=True).  ta
│ │ │ -000f79b0: 6773 3a0a 2020 2d20 4449 5341 2d53 5449  gs:.  - DISA-STI
│ │ │ -000f79c0: 472d 5542 5455 2d32 302d 3031 3034 3133  G-UBTU-20-010413
│ │ │ -000f79d0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -000f79e0: 2d43 4d2d 3628 6129 0a20 202d 204e 4953  -CM-6(a).  - NIS
│ │ │ -000f79f0: 542d 3830 302d 3533 2d43 4d2d 3728 6129  T-800-53-CM-7(a)
│ │ │ -000f7a00: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -000f7a10: 2d43 4d2d 3728 6229 0a20 202d 2064 6973  -CM-7(b).  - dis
│ │ │ -000f7a20: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -000f7a30: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -000f7a40: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -000f7a50: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ -000f7a60: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ -000f7a70: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -000f7a80: 2073 6572 7669 6365 5f6b 6475 6d70 5f64   service_kdump_d
│ │ │ -000f7a90: 6973 6162 6c65 640a 0a2d 206e 616d 653a  isabled..- name:
│ │ │ -000f7aa0: 2055 6e69 7420 536f 636b 6574 2045 7869   Unit Socket Exi
│ │ │ -000f7ab0: 7374 7320 2d20 6b64 756d 702d 746f 6f6c  sts - kdump-tool
│ │ │ -000f7ac0: 732e 736f 636b 6574 0a20 2061 6e73 6962  s.socket.  ansib
│ │ │ -000f7ad0: 6c65 2e62 7569 6c74 696e 2e63 6f6d 6d61  le.builtin.comma
│ │ │ -000f7ae0: 6e64 3a20 7379 7374 656d 6374 6c20 2d71  nd: systemctl -q
│ │ │ -000f7af0: 206c 6973 742d 756e 6974 2d66 696c 6573   list-unit-files
│ │ │ -000f7b00: 206b 6475 6d70 2d74 6f6f 6c73 2e73 6f63   kdump-tools.soc
│ │ │ -000f7b10: 6b65 740a 2020 7265 6769 7374 6572 3a20  ket.  register: 
│ │ │ -000f7b20: 736f 636b 6574 5f66 696c 655f 6578 6973  socket_file_exis
│ │ │ -000f7b30: 7473 0a20 2063 6861 6e67 6564 5f77 6865  ts.  changed_whe
│ │ │ -000f7b40: 6e3a 2066 616c 7365 0a20 2066 6169 6c65  n: false.  faile
│ │ │ -000f7b50: 645f 7768 656e 3a20 736f 636b 6574 5f66  d_when: socket_f
│ │ │ -000f7b60: 696c 655f 6578 6973 7473 2e72 6320 6e6f  ile_exists.rc no
│ │ │ -000f7b70: 7420 696e 205b 302c 2031 5d0a 2020 6368  t in [0, 1].  ch
│ │ │ -000f7b80: 6563 6b5f 6d6f 6465 3a20 6661 6c73 650a  eck_mode: false.
│ │ │ -000f7b90: 2020 7768 656e 3a20 2722 6c69 6e75 782d    when: '"linux-
│ │ │ -000f7ba0: 6261 7365 2220 696e 2061 6e73 6962 6c65  base" in ansible
│ │ │ -000f7bb0: 5f66 6163 7473 2e70 6163 6b61 6765 7327  _facts.packages'
│ │ │ -000f7bc0: 0a20 2074 6167 733a 0a20 202d 2044 4953  .  tags:.  - DIS
│ │ │ -000f7bd0: 412d 5354 4947 2d55 4254 552d 3230 2d30  A-STIG-UBTU-20-0
│ │ │ -000f7be0: 3130 3431 330a 2020 2d20 4e49 5354 2d38  10413.  - NIST-8
│ │ │ -000f7bf0: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ -000f7c00: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -000f7c10: 2d37 2861 290a 2020 2d20 4e49 5354 2d38  -7(a).  - NIST-8
│ │ │ -000f7c20: 3030 2d35 332d 434d 2d37 2862 290a 2020  00-53-CM-7(b).  
│ │ │ -000f7c30: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ -000f7c40: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ -000f7c50: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -000f7c60: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ -000f7c70: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ -000f7c80: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -000f7c90: 640a 2020 2d20 7365 7276 6963 655f 6b64  d.  - service_kd
│ │ │ -000f7ca0: 756d 705f 6469 7361 626c 6564 0a0a 2d20  ump_disabled..- 
│ │ │ -000f7cb0: 6e61 6d65 3a20 4469 7361 626c 6520 4b44  name: Disable KD
│ │ │ -000f7cc0: 756d 7020 4b65 726e 656c 2043 7261 7368  ump Kernel Crash
│ │ │ -000f7cd0: 2041 6e61 6c79 7a65 7220 286b 6475 6d70   Analyzer (kdump
│ │ │ -000f7ce0: 2920 2d20 4469 7361 626c 6520 536f 636b  ) - Disable Sock
│ │ │ -000f7cf0: 6574 206b 6475 6d70 2d74 6f6f 6c73 0a20  et kdump-tools. 
│ │ │ -000f7d00: 2061 6e73 6962 6c65 2e62 7569 6c74 696e   ansible.builtin
│ │ │ -000f7d10: 2e73 7973 7465 6d64 3a0a 2020 2020 6e61  .systemd:.    na
│ │ │ -000f7d20: 6d65 3a20 6b64 756d 702d 746f 6f6c 732e  me: kdump-tools.
│ │ │ -000f7d30: 736f 636b 6574 0a20 2020 2065 6e61 626c  socket.    enabl
│ │ │ -000f7d40: 6564 3a20 6661 6c73 650a 2020 2020 7374  ed: false.    st
│ │ │ -000f7d50: 6174 653a 2073 746f 7070 6564 0a20 2020  ate: stopped.   
│ │ │ -000f7d60: 206d 6173 6b65 643a 2074 7275 650a 2020   masked: true.  
│ │ │ -000f7d70: 7768 656e 3a0a 2020 2d20 2722 6c69 6e75  when:.  - '"linu
│ │ │ -000f7d80: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ -000f7d90: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -000f7da0: 7327 0a20 202d 2073 6f63 6b65 745f 6669  s'.  - socket_fi
│ │ │ -000f7db0: 6c65 5f65 7869 7374 732e 7374 646f 7574  le_exists.stdout
│ │ │ -000f7dc0: 5f6c 696e 6573 2069 7320 7365 6172 6368  _lines is search
│ │ │ -000f7dd0: 2822 6b64 756d 702d 746f 6f6c 732e 736f  ("kdump-tools.so
│ │ │ -000f7de0: 636b 6574 222c 206d 756c 7469 6c69 6e65  cket", multiline
│ │ │ -000f7df0: 3d54 7275 6529 0a20 2074 6167 733a 0a20  =True).  tags:. 
│ │ │ -000f7e00: 202d 2044 4953 412d 5354 4947 2d55 4254   - DISA-STIG-UBT
│ │ │ -000f7e10: 552d 3230 2d30 3130 3431 330a 2020 2d20  U-20-010413.  - 
│ │ │ -000f7e20: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ -000f7e30: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ -000f7e40: 2d35 332d 434d 2d37 2861 290a 2020 2d20  -53-CM-7(a).  - 
│ │ │ -000f7e50: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ -000f7e60: 2862 290a 2020 2d20 6469 7361 626c 655f  (b).  - disable_
│ │ │ -000f7e70: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -000f7e80: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -000f7e90: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -000f7ea0: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ -000f7eb0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -000f7ec0: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ -000f7ed0: 6963 655f 6b64 756d 705f 6469 7361 626c  ice_kdump_disabl
│ │ │ -000f7ee0: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e  ed.
│ │ │ +000f6c80: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ +000f6c90: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +000f6cd0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ +000f6d40: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +000f6d60: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +000f6d90: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ +000f6d20: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +000f6d30: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +000f6d70: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +000f6d80: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

- name: │ │ │ +000f6dd0: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack │ │ │ +000f6de0: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack │ │ │ +000f6df0: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m │ │ │ +000f6e00: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t │ │ │ +000f6e10: 6167 733a 0a20 202d 2044 4953 412d 5354 ags:. - DISA-ST │ │ │ +000f6e20: 4947 2d55 4254 552d 3230 2d30 3130 3431 IG-UBTU-20-01041 │ │ │ +000f6e30: 330a 2020 2d20 4e49 5354 2d38 3030 2d35 3. - NIST-800-5 │ │ │ +000f6e40: 332d 434d 2d36 2861 290a 2020 2d20 4e49 3-CM-6(a). - NI │ │ │ +000f6e50: 5354 2d38 3030 2d35 332d 434d 2d37 2861 ST-800-53-CM-7(a │ │ │ +000f6e60: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5 │ │ │ +000f6e70: 332d 434d 2d37 2862 290a 2020 2d20 6469 3-CM-7(b). - di │ │ │ +000f6e80: 7361 626c 655f 7374 7261 7465 6779 0a20 sable_strategy. │ │ │ +000f6e90: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit │ │ │ +000f6ea0: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup │ │ │ +000f6eb0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_ │ │ │ +000f6ec0: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_ │ │ │ +000f6ed0: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed. │ │ │ +000f6ee0: 2d20 7365 7276 6963 655f 6b64 756d 705f - service_kdump_ │ │ │ +000f6ef0: 6469 7361 626c 6564 0a0a 2d20 6e61 6d65 disabled..- name │ │ │ +000f6f00: 3a20 4469 7361 626c 6520 4b44 756d 7020 : Disable KDump │ │ │ +000f6f10: 4b65 726e 656c 2043 7261 7368 2041 6e61 Kernel Crash Ana │ │ │ +000f6f20: 6c79 7a65 7220 286b 6475 6d70 2920 2d20 lyzer (kdump) - │ │ │ +000f6f30: 436f 6c6c 6563 7420 7379 7374 656d 6420 Collect systemd │ │ │ +000f6f40: 5365 7276 6963 6573 2050 7265 7365 6e74 Services Present │ │ │ +000f6f50: 0a20 2020 2069 6e20 7468 6520 5379 7374 . in the Syst │ │ │ +000f6f60: 656d 0a20 2061 6e73 6962 6c65 2e62 7569 em. ansible.bui │ │ │ +000f6f70: 6c74 696e 2e63 6f6d 6d61 6e64 3a20 7379 ltin.command: sy │ │ │ +000f6f80: 7374 656d 6374 6c20 2d71 206c 6973 742d stemctl -q list- │ │ │ +000f6f90: 756e 6974 2d66 696c 6573 202d 2d74 7970 unit-files --typ │ │ │ +000f6fa0: 6520 7365 7276 6963 650a 2020 7265 6769 e service. regi │ │ │ +000f6fb0: 7374 6572 3a20 7365 7276 6963 655f 6578 ster: service_ex │ │ │ +000f6fc0: 6973 7473 0a20 2063 6861 6e67 6564 5f77 ists. changed_w │ │ │ +000f6fd0: 6865 6e3a 2066 616c 7365 0a20 2066 6169 hen: false. fai │ │ │ +000f6fe0: 6c65 645f 7768 656e 3a20 7365 7276 6963 led_when: servic │ │ │ +000f6ff0: 655f 6578 6973 7473 2e72 6320 6e6f 7420 e_exists.rc not │ │ │ +000f7000: 696e 205b 302c 2031 5d0a 2020 6368 6563 in [0, 1]. chec │ │ │ +000f7010: 6b5f 6d6f 6465 3a20 6661 6c73 650a 2020 k_mode: false. │ │ │ +000f7020: 7768 656e 3a20 2722 6c69 6e75 782d 6261 when: '"linux-ba │ │ │ +000f7030: 7365 2220 696e 2061 6e73 6962 6c65 5f66 se" in ansible_f │ │ │ +000f7040: 6163 7473 2e70 6163 6b61 6765 7327 0a20 acts.packages'. │ │ │ +000f7050: 2074 6167 733a 0a20 202d 2044 4953 412d tags:. - DISA- │ │ │ +000f7060: 5354 4947 2d55 4254 552d 3230 2d30 3130 STIG-UBTU-20-010 │ │ │ +000f7070: 3431 330a 2020 2d20 4e49 5354 2d38 3030 413. - NIST-800 │ │ │ +000f7080: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). - │ │ │ +000f7090: 4e49 5354 2d38 3030 2d35 332d 434d 2d37 NIST-800-53-CM-7 │ │ │ +000f70a0: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800 │ │ │ +000f70b0: 2d35 332d 434d 2d37 2862 290a 2020 2d20 -53-CM-7(b). - │ │ │ +000f70c0: 6469 7361 626c 655f 7374 7261 7465 6779 disable_strategy │ │ │ +000f70d0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex │ │ │ +000f70e0: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr │ │ │ +000f70f0: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu │ │ │ +000f7100: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n │ │ │ +000f7110: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed. │ │ │ +000f7120: 2020 2d20 7365 7276 6963 655f 6b64 756d - service_kdum │ │ │ +000f7130: 705f 6469 7361 626c 6564 0a0a 2d20 6e61 p_disabled..- na │ │ │ +000f7140: 6d65 3a20 4469 7361 626c 6520 4b44 756d me: Disable KDum │ │ │ +000f7150: 7020 4b65 726e 656c 2043 7261 7368 2041 p Kernel Crash A │ │ │ +000f7160: 6e61 6c79 7a65 7220 286b 6475 6d70 2920 nalyzer (kdump) │ │ │ +000f7170: 2d20 456e 7375 7265 206b 6475 6d70 2d74 - Ensure kdump-t │ │ │ +000f7180: 6f6f 6c73 2e73 6572 7669 6365 2069 730a ools.service is. │ │ │ +000f7190: 2020 2020 4d61 736b 6564 0a20 2061 6e73 Masked. ans │ │ │ +000f71a0: 6962 6c65 2e62 7569 6c74 696e 2e73 7973 ible.builtin.sys │ │ │ +000f71b0: 7465 6d64 3a0a 2020 2020 6e61 6d65 3a20 temd:. name: │ │ │ +000f71c0: 6b64 756d 702d 746f 6f6c 732e 7365 7276 kdump-tools.serv │ │ │ +000f71d0: 6963 650a 2020 2020 7374 6174 653a 2073 ice. state: s │ │ │ +000f71e0: 746f 7070 6564 0a20 2020 2065 6e61 626c topped. enabl │ │ │ +000f71f0: 6564 3a20 6661 6c73 650a 2020 2020 6d61 ed: false. ma │ │ │ +000f7200: 736b 6564 3a20 7472 7565 0a20 2077 6865 sked: true. whe │ │ │ +000f7210: 6e3a 0a20 202d 2027 226c 696e 7578 2d62 n:. - '"linux-b │ │ │ +000f7220: 6173 6522 2069 6e20 616e 7369 626c 655f ase" in ansible_ │ │ │ +000f7230: 6661 6374 732e 7061 636b 6167 6573 270a facts.packages'. │ │ │ +000f7240: 2020 2d20 7365 7276 6963 655f 6578 6973 - service_exis │ │ │ +000f7250: 7473 2e73 7464 6f75 745f 6c69 6e65 7320 ts.stdout_lines │ │ │ +000f7260: 6973 2073 6561 7263 6828 226b 6475 6d70 is search("kdump │ │ │ +000f7270: 2d74 6f6f 6c73 2e73 6572 7669 6365 222c -tools.service", │ │ │ +000f7280: 206d 756c 7469 6c69 6e65 3d54 7275 6529 multiline=True) │ │ │ +000f7290: 0a20 2074 6167 733a 0a20 202d 2044 4953 . tags:. - DIS │ │ │ +000f72a0: 412d 5354 4947 2d55 4254 552d 3230 2d30 A-STIG-UBTU-20-0 │ │ │ +000f72b0: 3130 3431 330a 2020 2d20 4e49 5354 2d38 10413. - NIST-8 │ │ │ +000f72c0: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a). │ │ │ +000f72d0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM │ │ │ +000f72e0: 2d37 2861 290a 2020 2d20 4e49 5354 2d38 -7(a). - NIST-8 │ │ │ +000f72f0: 3030 2d35 332d 434d 2d37 2862 290a 2020 00-53-CM-7(b). │ │ │ +000f7300: 2d20 6469 7361 626c 655f 7374 7261 7465 - disable_strate │ │ │ +000f7310: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl │ │ │ +000f7320: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di │ │ │ +000f7330: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med │ │ │ +000f7340: 6975 6d5f 7365 7665 7269 7479 0a20 202d ium_severity. - │ │ │ +000f7350: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede │ │ │ +000f7360: 640a 2020 2d20 7365 7276 6963 655f 6b64 d. - service_kd │ │ │ +000f7370: 756d 705f 6469 7361 626c 6564 0a0a 2d20 ump_disabled..- │ │ │ +000f7380: 6e61 6d65 3a20 556e 6974 2053 6f63 6b65 name: Unit Socke │ │ │ +000f7390: 7420 4578 6973 7473 202d 206b 6475 6d70 t Exists - kdump │ │ │ +000f73a0: 2d74 6f6f 6c73 2e73 6f63 6b65 740a 2020 -tools.socket. │ │ │ +000f73b0: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin. │ │ │ +000f73c0: 636f 6d6d 616e 643a 2073 7973 7465 6d63 command: systemc │ │ │ +000f73d0: 746c 202d 7120 6c69 7374 2d75 6e69 742d tl -q list-unit- │ │ │ +000f73e0: 6669 6c65 7320 6b64 756d 702d 746f 6f6c files kdump-tool │ │ │ +000f73f0: 732e 736f 636b 6574 0a20 2072 6567 6973 s.socket. regis │ │ │ +000f7400: 7465 723a 2073 6f63 6b65 745f 6669 6c65 ter: socket_file │ │ │ +000f7410: 5f65 7869 7374 730a 2020 6368 616e 6765 _exists. change │ │ │ +000f7420: 645f 7768 656e 3a20 6661 6c73 650a 2020 d_when: false. │ │ │ +000f7430: 6661 696c 6564 5f77 6865 6e3a 2073 6f63 failed_when: soc │ │ │ +000f7440: 6b65 745f 6669 6c65 5f65 7869 7374 732e ket_file_exists. │ │ │ +000f7450: 7263 206e 6f74 2069 6e20 5b30 2c20 315d rc not in [0, 1] │ │ │ +000f7460: 0a20 2063 6865 636b 5f6d 6f64 653a 2066 . check_mode: f │ │ │ +000f7470: 616c 7365 0a20 2077 6865 6e3a 2027 226c alse. when: '"l │ │ │ +000f7480: 696e 7578 2d62 6173 6522 2069 6e20 616e inux-base" in an │ │ │ +000f7490: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack │ │ │ +000f74a0: 6167 6573 270a 2020 7461 6773 3a0a 2020 ages'. tags:. │ │ │ +000f74b0: 2d20 4449 5341 2d53 5449 472d 5542 5455 - DISA-STIG-UBTU │ │ │ +000f74c0: 2d32 302d 3031 3034 3133 0a20 202d 204e -20-010413. - N │ │ │ +000f74d0: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6( │ │ │ +000f74e0: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800- │ │ │ +000f74f0: 3533 2d43 4d2d 3728 6129 0a20 202d 204e 53-CM-7(a). - N │ │ │ +000f7500: 4953 542d 3830 302d 3533 2d43 4d2d 3728 IST-800-53-CM-7( │ │ │ +000f7510: 6229 0a20 202d 2064 6973 6162 6c65 5f73 b). - disable_s │ │ │ +000f7520: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_ │ │ │ +000f7530: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l │ │ │ +000f7540: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption. │ │ │ +000f7550: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit │ │ │ +000f7560: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_ │ │ │ +000f7570: 6e65 6564 6564 0a20 202d 2073 6572 7669 needed. - servi │ │ │ +000f7580: 6365 5f6b 6475 6d70 5f64 6973 6162 6c65 ce_kdump_disable │ │ │ +000f7590: 640a 0a2d 206e 616d 653a 2044 6973 6162 d..- name: Disab │ │ │ +000f75a0: 6c65 204b 4475 6d70 204b 6572 6e65 6c20 le KDump Kernel │ │ │ +000f75b0: 4372 6173 6820 416e 616c 797a 6572 2028 Crash Analyzer ( │ │ │ +000f75c0: 6b64 756d 7029 202d 2044 6973 6162 6c65 kdump) - Disable │ │ │ +000f75d0: 2053 6f63 6b65 7420 6b64 756d 702d 746f Socket kdump-to │ │ │ +000f75e0: 6f6c 730a 2020 616e 7369 626c 652e 6275 ols. ansible.bu │ │ │ +000f75f0: 696c 7469 6e2e 7379 7374 656d 643a 0a20 iltin.systemd:. │ │ │ +000f7600: 2020 206e 616d 653a 206b 6475 6d70 2d74 name: kdump-t │ │ │ +000f7610: 6f6f 6c73 2e73 6f63 6b65 740a 2020 2020 ools.socket. │ │ │ +000f7620: 656e 6162 6c65 643a 2066 616c 7365 0a20 enabled: false. │ │ │ +000f7630: 2020 2073 7461 7465 3a20 7374 6f70 7065 state: stoppe │ │ │ +000f7640: 640a 2020 2020 6d61 736b 6564 3a20 7472 d. masked: tr │ │ │ +000f7650: 7565 0a20 2077 6865 6e3a 0a20 202d 2027 ue. when:. - ' │ │ │ +000f7660: 226c 696e 7578 2d62 6173 6522 2069 6e20 "linux-base" in │ │ │ +000f7670: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa │ │ │ +000f7680: 636b 6167 6573 270a 2020 2d20 736f 636b ckages'. - sock │ │ │ +000f7690: 6574 5f66 696c 655f 6578 6973 7473 2e73 et_file_exists.s │ │ │ +000f76a0: 7464 6f75 745f 6c69 6e65 7320 6973 2073 tdout_lines is s │ │ │ +000f76b0: 6561 7263 6828 226b 6475 6d70 2d74 6f6f earch("kdump-too │ │ │ +000f76c0: 6c73 2e73 6f63 6b65 7422 2c20 6d75 6c74 ls.socket", mult │ │ │ +000f76d0: 696c 696e 653d 5472 7565 290a 2020 7461 iline=True). ta │ │ │ +000f76e0: 6773 3a0a 2020 2d20 4449 5341 2d53 5449 gs:. - DISA-STI │ │ │ +000f76f0: 472d 5542 5455 2d32 302d 3031 3034 3133 G-UBTU-20-010413 │ │ │ +000f7700: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53 │ │ │ +000f7710: 2d43 4d2d 3628 6129 0a20 202d 204e 4953 -CM-6(a). - NIS │ │ │ +000f7720: 542d 3830 302d 3533 2d43 4d2d 3728 6129 T-800-53-CM-7(a) │ │ │ +000f7730: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53 │ │ │ +000f7740: 2d43 4d2d 3728 6229 0a20 202d 2064 6973 -CM-7(b). - dis │ │ │ +000f7750: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy. │ │ │ +000f7760: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity │ │ │ +000f7770: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt │ │ │ +000f7780: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s │ │ │ +000f7790: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r │ │ │ +000f77a0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. - │ │ │ +000f77b0: 2073 6572 7669 6365 5f6b 6475 6d70 5f64 service_kdump_d │ │ │ +000f77c0: 6973 6162 6c65 640a 3c2f 636f 6465 3e3c isabled.< │ │ │ +000f77d0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>

Remed │ │ │ +000f7880: 6961 7469 6f6e 204b 7562 6572 6e65 7465 iation Kubernete │ │ │ +000f7890: 7320 736e 6970 7065 7420 e287 b23c 2f61 s snippet ...
Complexity:< │ │ │ +000f7970: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr> │ │ │ +000f7990: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ +000f79c0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
low
Disru │ │ │ +000f7950: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6d ption:m │ │ │ +000f7960: 6564 6975 6d3c 2f74 643e 3c2f 7472 3e3c edium
Reboot:true
Str │ │ │ +000f79a0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ +000f79b0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
apiVersion: m
│ │ │ +000f79e0: 6163 6869 6e65 636f 6e66 6967 7572 6174  achineconfigurat
│ │ │ +000f79f0: 696f 6e2e 6f70 656e 7368 6966 742e 696f  ion.openshift.io
│ │ │ +000f7a00: 2f76 310a 6b69 6e64 3a20 4d61 6368 696e  /v1.kind: Machin
│ │ │ +000f7a10: 6543 6f6e 6669 670a 7370 6563 3a0a 2020  eConfig.spec:.  
│ │ │ +000f7a20: 636f 6e66 6967 3a0a 2020 2020 6967 6e69  config:.    igni
│ │ │ +000f7a30: 7469 6f6e 3a0a 2020 2020 2020 7665 7273  tion:.      vers
│ │ │ +000f7a40: 696f 6e3a 2033 2e31 2e30 0a20 2020 2073  ion: 3.1.0.    s
│ │ │ +000f7a50: 7973 7465 6d64 3a0a 2020 2020 2020 756e  ystemd:.      un
│ │ │ +000f7a60: 6974 733a 0a20 2020 2020 202d 206e 616d  its:.      - nam
│ │ │ +000f7a70: 653a 206b 6475 6d70 2d74 6f6f 6c73 2e73  e: kdump-tools.s
│ │ │ +000f7a80: 6572 7669 6365 0a20 2020 2020 2020 2065  ervice.        e
│ │ │ +000f7a90: 6e61 626c 6564 3a20 6661 6c73 650a 2020  nabled: false.  
│ │ │ +000f7aa0: 2020 2020 2020 6d61 736b 3a20 7472 7565        mask: true
│ │ │ +000f7ab0: 0a20 2020 2020 202d 206e 616d 653a 206b  .      - name: k
│ │ │ +000f7ac0: 6475 6d70 2d74 6f6f 6c73 2e73 6f63 6b65  dump-tools.socke
│ │ │ +000f7ad0: 740a 2020 2020 2020 2020 656e 6162 6c65  t.        enable
│ │ │ +000f7ae0: 643a 2066 616c 7365 0a20 2020 2020 2020  d: false.       
│ │ │ +000f7af0: 206d 6173 6b3a 2074 7275 650a 3c2f 636f   mask: true.
< │ │ │ +000f7b10: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +000f7b20: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +000f7b30: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +000f7b40: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +000f7b50: 646d 3231 3337 3122 2074 6162 696e 6465 dm21371" tabinde │ │ │ +000f7b60: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +000f7b70: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +000f7b80: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +000f7b90: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +000f7ba0: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +000f7bb0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +000f7bc0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity: │ │ │ +000f7ca0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +000f7cb0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ +000f7d00: 696e 636c 7564 6520 6469 7361 626c 655f  include disable_
│ │ │ +000f7d10: 6b64 756d 702d 746f 6f6c 730a 0a63 6c61  kdump-tools..cla
│ │ │ +000f7d20: 7373 2064 6973 6162 6c65 5f6b 6475 6d70  ss disable_kdump
│ │ │ +000f7d30: 2d74 6f6f 6c73 207b 0a20 2073 6572 7669  -tools {.  servi
│ │ │ +000f7d40: 6365 207b 276b 6475 6d70 2d74 6f6f 6c73  ce {'kdump-tools
│ │ │ +000f7d50: 273a 0a20 2020 2065 6e61 626c 6520 3d26  ':.    enable =&
│ │ │ +000f7d60: 6774 3b20 6661 6c73 652c 0a20 2020 2065  gt; false,.    e
│ │ │ +000f7d70: 6e73 7572 6520 3d26 6774 3b20 2773 746f  nsure => 'sto
│ │ │ +000f7d80: 7070 6564 272c 0a20 207d 0a7d 0a3c 2f63  pped',.  }.}.
│ │ │ +000f7da0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +000f7e40: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu │ │ │ +000f7e50: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn │ │ │ +000f7e60: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.
│ │ │ +000f7eb0: 5b63 7573 746f 6d69 7a61 7469 6f6e 732e  [customizations.
│ │ │ +000f7ec0: 7365 7276 6963 6573 5d0a 6d61 736b 6564  services].masked
│ │ │ +000f7ed0: 203d 205b 226b 6475 6d70 2d74 6f6f 6c73   = ["kdump-tools
│ │ │ +000f7ee0: 225d 0a3c 2f63 6f64 653e 3c2f 7072 653e  "].
│ │ │ 000f7ef0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
R │ │ │ -000f97b0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ -000f97c0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
low
Disru │ │ │ +000f7c80: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +000f7c90: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +000f7cd0: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ +000f7ce0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity: │ │ │ -000f98a0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -000f98b0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ -000f9910: 7465 6c6e 6574 640a 0a63 6c61 7373 2072  telnetd..class r
│ │ │ -000f9920: 656d 6f76 655f 7465 6c6e 6574 6420 7b0a  emove_telnetd {.
│ │ │ -000f9930: 2020 7061 636b 6167 6520 7b20 2774 656c    package { 'tel
│ │ │ -000f9940: 6e65 7464 273a 0a20 2020 2065 6e73 7572  netd':.    ensur
│ │ │ -000f9950: 6520 3d26 6774 3b20 2770 7572 6765 6427  e => 'purged'
│ │ │ -000f9960: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ -000f9970: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remed
│ │ │ -000f9a20: 6961 7469 6f6e 2041 6e73 6962 6c65 2073  iation Ansible s
│ │ │ -000f9a30: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62  nippet ...
low
Disru │ │ │ -000f9880: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -000f9890: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -000f98d0: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ -000f98e0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
< │ │ │ -000f9ad0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -000f9ae0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -000f9b30: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ -000f9b70: 6e61 6d65 3a20 456e 7375 7265 2074 656c  name: Ensure tel
│ │ │ -000f9b80: 6e65 7464 2069 7320 7265 6d6f 7665 640a  netd is removed.
│ │ │ -000f9b90: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ -000f9ba0: 616d 653a 2074 656c 6e65 7464 0a20 2020  ame: telnetd.   
│ │ │ -000f9bb0: 2073 7461 7465 3a20 6162 7365 6e74 0a20   state: absent. 
│ │ │ -000f9bc0: 2074 6167 733a 0a20 202d 2044 4953 412d   tags:.  - DISA-
│ │ │ -000f9bd0: 5354 4947 2d55 4254 552d 3230 2d30 3130  STIG-UBTU-20-010
│ │ │ -000f9be0: 3430 350a 2020 2d20 4e49 5354 2d38 3030  405.  - NIST-800
│ │ │ -000f9bf0: 2d35 332d 434d 2d36 2861 290a 2020 2d20  -53-CM-6(a).  - 
│ │ │ -000f9c00: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ -000f9c10: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ -000f9c20: 2d35 332d 434d 2d37 2862 290a 2020 2d20  -53-CM-7(b).  - 
│ │ │ -000f9c30: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ -000f9c40: 0a20 202d 2068 6967 685f 7365 7665 7269  .  - high_severi
│ │ │ -000f9c50: 7479 0a20 202d 206c 6f77 5f63 6f6d 706c  ty.  - low_compl
│ │ │ -000f9c60: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -000f9c70: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f  sruption.  - no_
│ │ │ -000f9c80: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -000f9c90: 2d20 7061 636b 6167 655f 7465 6c6e 6574  - package_telnet
│ │ │ -000f9ca0: 645f 7265 6d6f 7665 640a 3c2f 636f 6465  d_removed.
C │ │ │ -000f9ac0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -000f9af0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -000f9b00: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -000f9b40: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -000f9b50: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
< │ │ │ +000f9850: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +000f9870: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +000f98c0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +000f98f0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Ensure
│ │ │ +000f9910: 2074 656c 6e65 7464 2069 7320 7265 6d6f   telnetd is remo
│ │ │ +000f9920: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ +000f9930: 2020 206e 616d 653a 2074 656c 6e65 7464     name: telnetd
│ │ │ +000f9940: 0a20 2020 2073 7461 7465 3a20 6162 7365  .    state: abse
│ │ │ +000f9950: 6e74 0a20 2074 6167 733a 0a20 202d 2044  nt.  tags:.  - D
│ │ │ +000f9960: 4953 412d 5354 4947 2d55 4254 552d 3230  ISA-STIG-UBTU-20
│ │ │ +000f9970: 2d30 3130 3430 350a 2020 2d20 4e49 5354  -010405.  - NIST
│ │ │ +000f9980: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ +000f9990: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +000f99a0: 434d 2d37 2861 290a 2020 2d20 4e49 5354  CM-7(a).  - NIST
│ │ │ +000f99b0: 2d38 3030 2d35 332d 434d 2d37 2862 290a  -800-53-CM-7(b).
│ │ │ +000f99c0: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ +000f99d0: 7465 6779 0a20 202d 2068 6967 685f 7365  tegy.  - high_se
│ │ │ +000f99e0: 7665 7269 7479 0a20 202d 206c 6f77 5f63  verity.  - low_c
│ │ │ +000f99f0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +000f9a00: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +000f9a10: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +000f9a20: 640a 2020 2d20 7061 636b 6167 655f 7465  d.  - package_te
│ │ │ +000f9a30: 6c6e 6574 645f 7265 6d6f 7665 640a 3c2f  lnetd_removed.
Remediation Pup │ │ │ +000f9b00: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ +000f9b10: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
low
Disr │ │ │ +000f9880: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +000f9890: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +000f98d0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +000f98e0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
│ │ │ +000f9b90: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +000f9bb0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +000f9c00: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ +000f9c30: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ +000f9ba0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +000f9bc0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +000f9c10: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ +000f9c20: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ +000f9c50: 655f 7465 6c6e 6574 640a 0a63 6c61 7373  e_telnetd..class
│ │ │ +000f9c60: 2072 656d 6f76 655f 7465 6c6e 6574 6420   remove_telnetd 
│ │ │ +000f9c70: 7b0a 2020 7061 636b 6167 6520 7b20 2774  {.  package { 't
│ │ │ +000f9c80: 656c 6e65 7464 273a 0a20 2020 2065 6e73  elnetd':.    ens
│ │ │ +000f9c90: 7572 6520 3d26 6774 3b20 2770 7572 6765  ure => 'purge
│ │ │ +000f9ca0: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Reme │ │ │ -000fbd70: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild │ │ │ -000fbd80: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe │ │ │ -000fbd90: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -000fbdd0: 3c70 7265 3e3c 636f 6465 3e0a 5b5b 7061
.[[pa
│ │ │ -000fbde0: 636b 6167 6573 5d5d 0a6e 616d 6520 3d20  ckages]].name = 
│ │ │ -000fbdf0: 2263 6872 6f6e 7922 0a76 6572 7369 6f6e  "chrony".version
│ │ │ -000fbe00: 203d 2022 2a22 0a3c 2f63 6f64 653e 3c2f   = "*".
Remedi │ │ │ -000fbec0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ -000fbed0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -000fbee0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -000fbf60: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -000fbf90: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -000fbfb0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -000fbfc0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -000fbfe0: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ -000fc000: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -000fc010: 6465 2069 6e73 7461 6c6c 5f63 6872 6f6e  de install_chron
│ │ │ -000fc020: 790a 0a63 6c61 7373 2069 6e73 7461 6c6c  y..class install
│ │ │ -000fc030: 5f63 6872 6f6e 7920 7b0a 2020 7061 636b  _chrony {.  pack
│ │ │ -000fc040: 6167 6520 7b20 2763 6872 6f6e 7927 3a0a  age { 'chrony':.
│ │ │ -000fc050: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -000fc060: 2027 696e 7374 616c 6c65 6427 2c0a 2020   'installed',.  
│ │ │ -000fc070: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ -000fc130: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -000fc140: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -000fc1f0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -000fc210: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -000fc240: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -000fc1d0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -000fc1e0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -000fc200: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -000fc220: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -000fc230: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

- name: │ │ │ -000fc280: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack │ │ │ -000fc290: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack │ │ │ -000fc2a0: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m │ │ │ -000fc2b0: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t │ │ │ -000fc2c0: 6167 733a 0a20 202d 2044 4953 412d 5354 ags:. - DISA-ST │ │ │ -000fc2d0: 4947 2d55 4254 552d 3230 2d30 3130 3433 IG-UBTU-20-01043 │ │ │ -000fc2e0: 350a 2020 2d20 5043 492d 4453 532d 5265 5. - PCI-DSS-Re │ │ │ -000fc2f0: 712d 3130 2e34 0a20 202d 2050 4349 2d44 q-10.4. - PCI-D │ │ │ -000fc300: 5353 7634 2d31 302e 360a 2020 2d20 5043 SSv4-10.6. - PC │ │ │ -000fc310: 492d 4453 5376 342d 3130 2e36 2e31 0a20 I-DSSv4-10.6.1. │ │ │ -000fc320: 202d 2065 6e61 626c 655f 7374 7261 7465 - enable_strate │ │ │ -000fc330: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl │ │ │ -000fc340: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di │ │ │ -000fc350: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med │ │ │ -000fc360: 6975 6d5f 7365 7665 7269 7479 0a20 202d ium_severity. - │ │ │ -000fc370: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede │ │ │ -000fc380: 640a 2020 2d20 7061 636b 6167 655f 6368 d. - package_ch │ │ │ -000fc390: 726f 6e79 5f69 6e73 7461 6c6c 6564 0a0a rony_installed.. │ │ │ -000fc3a0: 2d20 6e61 6d65 3a20 456e 7375 7265 2063 - name: Ensure c │ │ │ -000fc3b0: 6872 6f6e 7920 6973 2069 6e73 7461 6c6c hrony is install │ │ │ -000fc3c0: 6564 0a20 2070 6163 6b61 6765 3a0a 2020 ed. package:. │ │ │ -000fc3d0: 2020 6e61 6d65 3a20 6368 726f 6e79 0a20 name: chrony. │ │ │ -000fc3e0: 2020 2073 7461 7465 3a20 7072 6573 656e state: presen │ │ │ -000fc3f0: 740a 2020 7768 656e 3a20 2722 6c69 6e75 t. when: '"linu │ │ │ -000fc400: 782d 6261 7365 2220 696e 2061 6e73 6962 x-base" in ansib │ │ │ -000fc410: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package │ │ │ -000fc420: 7327 0a20 2074 6167 733a 0a20 202d 2044 s'. tags:. - D │ │ │ -000fc430: 4953 412d 5354 4947 2d55 4254 552d 3230 ISA-STIG-UBTU-20 │ │ │ -000fc440: 2d30 3130 3433 350a 2020 2d20 5043 492d -010435. - PCI- │ │ │ -000fc450: 4453 532d 5265 712d 3130 2e34 0a20 202d DSS-Req-10.4. - │ │ │ -000fc460: 2050 4349 2d44 5353 7634 2d31 302e 360a PCI-DSSv4-10.6. │ │ │ -000fc470: 2020 2d20 5043 492d 4453 5376 342d 3130 - PCI-DSSv4-10 │ │ │ -000fc480: 2e36 2e31 0a20 202d 2065 6e61 626c 655f .6.1. - enable_ │ │ │ -000fc490: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low │ │ │ -000fc4a0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. - │ │ │ -000fc4b0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption. │ │ │ -000fc4c0: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi │ │ │ -000fc4d0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot │ │ │ -000fc4e0: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack │ │ │ -000fc4f0: 6167 655f 6368 726f 6e79 5f69 6e73 7461 age_chrony_insta │ │ │ -000fc500: 6c6c 6564 0a3c 2f63 6f64 653e 3c2f 7072 lled.< │ │ │ +000fbd90: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>

│ │ │ +000fbe20: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
- 
│ │ │ +000fbec0: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ +000fbed0: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ +000fbee0: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ +000fbef0: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ +000fbf00: 6f0a 2020 7461 6773 3a0a 2020 2d20 4449  o.  tags:.  - DI
│ │ │ +000fbf10: 5341 2d53 5449 472d 5542 5455 2d32 302d  SA-STIG-UBTU-20-
│ │ │ +000fbf20: 3031 3034 3335 0a20 202d 2050 4349 2d44  010435.  - PCI-D
│ │ │ +000fbf30: 5353 2d52 6571 2d31 302e 340a 2020 2d20  SS-Req-10.4.  - 
│ │ │ +000fbf40: 5043 492d 4453 5376 342d 3130 2e36 0a20  PCI-DSSv4-10.6. 
│ │ │ +000fbf50: 202d 2050 4349 2d44 5353 7634 2d31 302e   - PCI-DSSv4-10.
│ │ │ +000fbf60: 362e 310a 2020 2d20 656e 6162 6c65 5f73  6.1.  - enable_s
│ │ │ +000fbf70: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ +000fbf80: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ +000fbf90: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ +000fbfa0: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ +000fbfb0: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ +000fbfc0: 6e65 6564 6564 0a20 202d 2070 6163 6b61  needed.  - packa
│ │ │ +000fbfd0: 6765 5f63 6872 6f6e 795f 696e 7374 616c  ge_chrony_instal
│ │ │ +000fbfe0: 6c65 640a 0a2d 206e 616d 653a 2045 6e73  led..- name: Ens
│ │ │ +000fbff0: 7572 6520 6368 726f 6e79 2069 7320 696e  ure chrony is in
│ │ │ +000fc000: 7374 616c 6c65 640a 2020 7061 636b 6167  stalled.  packag
│ │ │ +000fc010: 653a 0a20 2020 206e 616d 653a 2063 6872  e:.    name: chr
│ │ │ +000fc020: 6f6e 790a 2020 2020 7374 6174 653a 2070  ony.    state: p
│ │ │ +000fc030: 7265 7365 6e74 0a20 2077 6865 6e3a 2027  resent.  when: '
│ │ │ +000fc040: 226c 696e 7578 2d62 6173 6522 2069 6e20  "linux-base" in 
│ │ │ +000fc050: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ +000fc060: 636b 6167 6573 270a 2020 7461 6773 3a0a  ckages'.  tags:.
│ │ │ +000fc070: 2020 2d20 4449 5341 2d53 5449 472d 5542    - DISA-STIG-UB
│ │ │ +000fc080: 5455 2d32 302d 3031 3034 3335 0a20 202d  TU-20-010435.  -
│ │ │ +000fc090: 2050 4349 2d44 5353 2d52 6571 2d31 302e   PCI-DSS-Req-10.
│ │ │ +000fc0a0: 340a 2020 2d20 5043 492d 4453 5376 342d  4.  - PCI-DSSv4-
│ │ │ +000fc0b0: 3130 2e36 0a20 202d 2050 4349 2d44 5353  10.6.  - PCI-DSS
│ │ │ +000fc0c0: 7634 2d31 302e 362e 310a 2020 2d20 656e  v4-10.6.1.  - en
│ │ │ +000fc0d0: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +000fc0e0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +000fc0f0: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +000fc100: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ +000fc110: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +000fc120: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +000fc130: 2070 6163 6b61 6765 5f63 6872 6f6e 795f   package_chrony_
│ │ │ +000fc140: 696e 7374 616c 6c65 640a 3c2f 636f 6465  installed.
Rem │ │ │ +000fc200: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ +000fc210: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +000fc220: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ +000fbe10: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +000fbe40: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +000fbe50: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +000fbe90: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ +000fbea0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
│ │ │ +000fc2b0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
in
│ │ │ +000fc350: 636c 7564 6520 696e 7374 616c 6c5f 6368  clude install_ch
│ │ │ +000fc360: 726f 6e79 0a0a 636c 6173 7320 696e 7374  rony..class inst
│ │ │ +000fc370: 616c 6c5f 6368 726f 6e79 207b 0a20 2070  all_chrony {.  p
│ │ │ +000fc380: 6163 6b61 6765 207b 2027 6368 726f 6e79  ackage { 'chrony
│ │ │ +000fc390: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ +000fc3a0: 6774 3b20 2769 6e73 7461 6c6c 6564 272c  gt; 'installed',
│ │ │ +000fc3b0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.Remedi
│ │ │ +000fc470: 6174 696f 6e20 4f53 4275 696c 6420 426c  ation OSBuild Bl
│ │ │ +000fc480: 7565 7072 696e 7420 736e 6970 7065 7420  ueprint snippet 
│ │ │ +000fc490: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620  ...

.[[pack │ │ │ +000fc4e0: 6167 6573 5d5d 0a6e 616d 6520 3d20 2263 ages]].name = "c │ │ │ +000fc4f0: 6872 6f6e 7922 0a76 6572 7369 6f6e 203d hrony".version = │ │ │ +000fc500: 2022 2a22 0a3c 2f63 6f64 653e 3c2f 7072 "*".

Remediation │ │ │ -00102ec0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -00102ed0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -00102f50: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ -00102f90: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 disable
│ │ │ +000fc2a0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +000fc2d0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +000fc2e0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +000fc320: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ +000fc330: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexit │ │ │ -00102f60: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ -00102f80: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ -00102fb0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -00102fd0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
│ │ │ -00103000: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ -00103010: 6d6f 7665 5f72 7368 2d73 6572 7665 720a  move_rsh-server.
│ │ │ -00103020: 0a63 6c61 7373 2072 656d 6f76 655f 7273  .class remove_rs
│ │ │ -00103030: 682d 7365 7276 6572 207b 0a20 2070 6163  h-server {.  pac
│ │ │ -00103040: 6b61 6765 207b 2027 7273 682d 7365 7276  kage { 'rsh-serv
│ │ │ -00103050: 6572 273a 0a20 2020 2065 6e73 7572 6520  er':.    ensure 
│ │ │ -00103060: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ -00103070: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ -00103130: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ -00103140: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -00103150: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -001031d0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -00103200: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -00103220: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -00103230: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -00103250: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -00103260: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -00103280: 6d65 3a20 456e 7375 7265 2072 7368 2d73  me: Ensure rsh-s
│ │ │ -00103290: 6572 7665 7220 6973 2072 656d 6f76 6564  erver is removed
│ │ │ -001032a0: 0a20 2070 6163 6b61 6765 3a0a 2020 2020  .  package:.    
│ │ │ -001032b0: 6e61 6d65 3a20 7273 682d 7365 7276 6572  name: rsh-server
│ │ │ -001032c0: 0a20 2020 2073 7461 7465 3a20 6162 7365  .    state: abse
│ │ │ -001032d0: 6e74 0a20 2074 6167 733a 0a20 202d 2044  nt.  tags:.  - D
│ │ │ -001032e0: 4953 412d 5354 4947 2d55 4254 552d 3230  ISA-STIG-UBTU-20
│ │ │ -001032f0: 2d30 3130 3430 360a 2020 2d20 4e49 5354  -010406.  - NIST
│ │ │ -00103300: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ -00103310: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -00103320: 434d 2d37 2861 290a 2020 2d20 4e49 5354  CM-7(a).  - NIST
│ │ │ -00103330: 2d38 3030 2d35 332d 434d 2d37 2862 290a  -800-53-CM-7(b).
│ │ │ -00103340: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -00103350: 4941 2d35 2831 2928 6329 0a20 202d 2050  IA-5(1)(c).  - P
│ │ │ -00103360: 4349 2d44 5353 7634 2d32 2e32 0a20 202d  CI-DSSv4-2.2.  -
│ │ │ -00103370: 2050 4349 2d44 5353 7634 2d32 2e32 2e34   PCI-DSSv4-2.2.4
│ │ │ -00103380: 0a20 202d 2064 6973 6162 6c65 5f73 7472  .  - disable_str
│ │ │ -00103390: 6174 6567 790a 2020 2d20 6869 6768 5f73  ategy.  - high_s
│ │ │ -001033a0: 6576 6572 6974 790a 2020 2d20 6c6f 775f  everity.  - low_
│ │ │ -001033b0: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -001033c0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -001033d0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -001033e0: 6564 0a20 202d 2070 6163 6b61 6765 5f72  ed.  - package_r
│ │ │ -001033f0: 7368 2d73 6572 7665 725f 7265 6d6f 7665  sh-server_remove
│ │ │ -00103400: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +00102ec0: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ +00102ed0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +00102f50: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +00102f60: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +00102f70: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +00102fb0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +00102fc0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +00102fe0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +00102ff0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: E
│ │ │ +00103010: 6e73 7572 6520 7273 682d 7365 7276 6572  nsure rsh-server
│ │ │ +00103020: 2069 7320 7265 6d6f 7665 640a 2020 7061   is removed.  pa
│ │ │ +00103030: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ +00103040: 2072 7368 2d73 6572 7665 720a 2020 2020   rsh-server.    
│ │ │ +00103050: 7374 6174 653a 2061 6273 656e 740a 2020  state: absent.  
│ │ │ +00103060: 7461 6773 3a0a 2020 2d20 4449 5341 2d53  tags:.  - DISA-S
│ │ │ +00103070: 5449 472d 5542 5455 2d32 302d 3031 3034  TIG-UBTU-20-0104
│ │ │ +00103080: 3036 0a20 202d 204e 4953 542d 3830 302d  06.  - NIST-800-
│ │ │ +00103090: 3533 2d43 4d2d 3628 6129 0a20 202d 204e  53-CM-6(a).  - N
│ │ │ +001030a0: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ +001030b0: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ +001030c0: 3533 2d43 4d2d 3728 6229 0a20 202d 204e  53-CM-7(b).  - N
│ │ │ +001030d0: 4953 542d 3830 302d 3533 2d49 412d 3528  IST-800-53-IA-5(
│ │ │ +001030e0: 3129 2863 290a 2020 2d20 5043 492d 4453  1)(c).  - PCI-DS
│ │ │ +001030f0: 5376 342d 322e 320a 2020 2d20 5043 492d  Sv4-2.2.  - PCI-
│ │ │ +00103100: 4453 5376 342d 322e 322e 340a 2020 2d20  DSSv4-2.2.4.  - 
│ │ │ +00103110: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ +00103120: 0a20 202d 2068 6967 685f 7365 7665 7269  .  - high_severi
│ │ │ +00103130: 7479 0a20 202d 206c 6f77 5f63 6f6d 706c  ty.  - low_compl
│ │ │ +00103140: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +00103150: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f  sruption.  - no_
│ │ │ +00103160: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +00103170: 2d20 7061 636b 6167 655f 7273 682d 7365  - package_rsh-se
│ │ │ +00103180: 7276 6572 5f72 656d 6f76 6564 0a3c 2f63  rver_removed.
│ │ │ +001031a0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +00103240: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ +00103250: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
< │ │ │ +001032e0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +00103300: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +00103350: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +00103380: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include remove
│ │ │ +001033a0: 5f72 7368 2d73 6572 7665 720a 0a63 6c61  _rsh-server..cla
│ │ │ +001033b0: 7373 2072 656d 6f76 655f 7273 682d 7365  ss remove_rsh-se
│ │ │ +001033c0: 7276 6572 207b 0a20 2070 6163 6b61 6765  rver {.  package
│ │ │ +001033d0: 207b 2027 7273 682d 7365 7276 6572 273a   { 'rsh-server':
│ │ │ +001033e0: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ +001033f0: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a  ; 'purged',.  }.
│ │ │ +00103400: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ 00103410: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Reme │ │ │ -00120e80: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild │ │ │ -00120e90: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe │ │ │ -00120ea0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -00120ee0: 3c70 7265 3e3c 636f 6465 3e0a 5b5b 7061
.[[pa
│ │ │ -00120ef0: 636b 6167 6573 5d5d 0a6e 616d 6520 3d20  ckages]].name = 
│ │ │ -00120f00: 226f 7065 6e73 7368 2d73 6572 7665 7222  "openssh-server"
│ │ │ -00120f10: 0a76 6572 7369 6f6e 203d 2022 2a22 0a3c  .version = "*".<
│ │ │ -00120f20: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ -00120fe0: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ -00120ff0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low< │ │ │ -001210c0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr> │ │ │ -00121110: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
low
Disr │ │ │ +00103310: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +00103320: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +00103360: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +00103370: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
Complexity: │ │ │ -00121080: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ -001210a0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ -001210f0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -00121100: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
include insta
│ │ │ -00121130: 6c6c 5f6f 7065 6e73 7368 2d73 6572 7665  ll_openssh-serve
│ │ │ -00121140: 720a 0a63 6c61 7373 2069 6e73 7461 6c6c  r..class install
│ │ │ -00121150: 5f6f 7065 6e73 7368 2d73 6572 7665 7220  _openssh-server 
│ │ │ -00121160: 7b0a 2020 7061 636b 6167 6520 7b20 276f  {.  package { 'o
│ │ │ -00121170: 7065 6e73 7368 2d73 6572 7665 7227 3a0a  penssh-server':.
│ │ │ -00121180: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -00121190: 2027 696e 7374 616c 6c65 6427 2c0a 2020   'installed',.  
│ │ │ -001211a0: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ -00121260: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -00121270: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -00121320: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -00121340: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -00121370: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -00121300: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -00121310: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -00121330: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -00121350: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -00121360: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

- name: │ │ │ -001213b0: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack │ │ │ -001213c0: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack │ │ │ -001213d0: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m │ │ │ -001213e0: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t │ │ │ -001213f0: 6167 733a 0a20 202d 2044 4953 412d 5354 ags:. - DISA-ST │ │ │ -00121400: 4947 2d55 4254 552d 3230 2d30 3130 3034 IG-UBTU-20-01004 │ │ │ -00121410: 320a 2020 2d20 4e49 5354 2d38 3030 2d35 2. - NIST-800-5 │ │ │ -00121420: 332d 434d 2d36 2861 290a 2020 2d20 656e 3-CM-6(a). - en │ │ │ -00121430: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy. │ │ │ -00121440: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity │ │ │ -00121450: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt │ │ │ -00121460: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s │ │ │ -00121470: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r │ │ │ -00121480: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. - │ │ │ -00121490: 2070 6163 6b61 6765 5f6f 7065 6e73 7368 package_openssh │ │ │ -001214a0: 2d73 6572 7665 725f 696e 7374 616c 6c65 -server_installe │ │ │ -001214b0: 640a 0a2d 206e 616d 653a 2045 6e73 7572 d..- name: Ensur │ │ │ -001214c0: 6520 6f70 656e 7373 682d 7365 7276 6572 e openssh-server │ │ │ -001214d0: 2069 7320 696e 7374 616c 6c65 640a 2020 is installed. │ │ │ -001214e0: 7061 636b 6167 653a 0a20 2020 206e 616d package:. nam │ │ │ -001214f0: 653a 206f 7065 6e73 7368 2d73 6572 7665 e: openssh-serve │ │ │ -00121500: 720a 2020 2020 7374 6174 653a 2070 7265 r. state: pre │ │ │ -00121510: 7365 6e74 0a20 2077 6865 6e3a 2027 226c sent. when: '"l │ │ │ -00121520: 696e 7578 2d62 6173 6522 2069 6e20 616e inux-base" in an │ │ │ -00121530: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack │ │ │ -00121540: 6167 6573 270a 2020 7461 6773 3a0a 2020 ages'. tags:. │ │ │ -00121550: 2d20 4449 5341 2d53 5449 472d 5542 5455 - DISA-STIG-UBTU │ │ │ -00121560: 2d32 302d 3031 3030 3432 0a20 202d 204e -20-010042. - N │ │ │ -00121570: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6( │ │ │ -00121580: 6129 0a20 202d 2065 6e61 626c 655f 7374 a). - enable_st │ │ │ -00121590: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c │ │ │ -001215a0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo │ │ │ -001215b0: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. - │ │ │ -001215c0: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity │ │ │ -001215d0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n │ │ │ -001215e0: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag │ │ │ -001215f0: 655f 6f70 656e 7373 682d 7365 7276 6572 e_openssh-server │ │ │ -00121600: 5f69 6e73 7461 6c6c 6564 0a3c 2f63 6f64 _installed.< │ │ │ +00120ea0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>

│ │ │ +00120f30: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
- 
│ │ │ +00120fd0: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ +00120fe0: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ +00120ff0: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ +00121000: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ +00121010: 6f0a 2020 7461 6773 3a0a 2020 2d20 4449  o.  tags:.  - DI
│ │ │ +00121020: 5341 2d53 5449 472d 5542 5455 2d32 302d  SA-STIG-UBTU-20-
│ │ │ +00121030: 3031 3030 3432 0a20 202d 204e 4953 542d  010042.  - NIST-
│ │ │ +00121040: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ +00121050: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ +00121060: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +00121070: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +00121080: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +00121090: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +001210a0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +001210b0: 640a 2020 2d20 7061 636b 6167 655f 6f70  d.  - package_op
│ │ │ +001210c0: 656e 7373 682d 7365 7276 6572 5f69 6e73  enssh-server_ins
│ │ │ +001210d0: 7461 6c6c 6564 0a0a 2d20 6e61 6d65 3a20  talled..- name: 
│ │ │ +001210e0: 456e 7375 7265 206f 7065 6e73 7368 2d73  Ensure openssh-s
│ │ │ +001210f0: 6572 7665 7220 6973 2069 6e73 7461 6c6c  erver is install
│ │ │ +00121100: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ +00121110: 2020 6e61 6d65 3a20 6f70 656e 7373 682d    name: openssh-
│ │ │ +00121120: 7365 7276 6572 0a20 2020 2073 7461 7465  server.    state
│ │ │ +00121130: 3a20 7072 6573 656e 740a 2020 7768 656e  : present.  when
│ │ │ +00121140: 3a20 2722 6c69 6e75 782d 6261 7365 2220  : '"linux-base" 
│ │ │ +00121150: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +00121160: 2e70 6163 6b61 6765 7327 0a20 2074 6167  .packages'.  tag
│ │ │ +00121170: 733a 0a20 202d 2044 4953 412d 5354 4947  s:.  - DISA-STIG
│ │ │ +00121180: 2d55 4254 552d 3230 2d30 3130 3034 320a  -UBTU-20-010042.
│ │ │ +00121190: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001211a0: 434d 2d36 2861 290a 2020 2d20 656e 6162  CM-6(a).  - enab
│ │ │ +001211b0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +001211c0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +001211d0: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +001211e0: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ +001211f0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +00121200: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ +00121210: 6163 6b61 6765 5f6f 7065 6e73 7368 2d73  ackage_openssh-s
│ │ │ +00121220: 6572 7665 725f 696e 7374 616c 6c65 640a  erver_installed.
│ │ │ +00121230: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation P │ │ │ +001212f0: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ +00121300: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ +001213c0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001213d0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
│ │ │ +00120f20: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +00120f50: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +00120f60: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +00120fa0: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ +00120fb0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexity │ │ │ +00121390: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ +001213b0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ +001213e0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ +00121400: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
include inst
│ │ │ +00121440: 616c 6c5f 6f70 656e 7373 682d 7365 7276  all_openssh-serv
│ │ │ +00121450: 6572 0a0a 636c 6173 7320 696e 7374 616c  er..class instal
│ │ │ +00121460: 6c5f 6f70 656e 7373 682d 7365 7276 6572  l_openssh-server
│ │ │ +00121470: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ +00121480: 6f70 656e 7373 682d 7365 7276 6572 273a  openssh-server':
│ │ │ +00121490: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ +001214a0: 3b20 2769 6e73 7461 6c6c 6564 272c 0a20  ; 'installed',. 
│ │ │ +001214b0: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.
Remediat │ │ │ +00121570: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue │ │ │ +00121580: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet .. │ │ │ +00121590: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
.[[packag
│ │ │ +001215e0: 6573 5d5d 0a6e 616d 6520 3d20 226f 7065  es]].name = "ope
│ │ │ +001215f0: 6e73 7368 2d73 6572 7665 7222 0a76 6572  nssh-server".ver
│ │ │ +00121600: 7369 6f6e 203d 2022 2a22 0a3c 2f63 6f64  sion = "*".
Reme │ │ │ -001229d0: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild │ │ │ -001229e0: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe │ │ │ -001229f0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -00122a30: 3c70 7265 3e3c 636f 6465 3e0a 5b63 7573
.[cus
│ │ │ -00122a40: 746f 6d69 7a61 7469 6f6e 732e 7365 7276  tomizations.serv
│ │ │ -00122a50: 6963 6573 5d0a 656e 6162 6c65 6420 3d20  ices].enabled = 
│ │ │ -00122a60: 5b22 7373 6822 5d0a 3c2f 636f 6465 3e3c  ["ssh"].<
│ │ │ -00122a70: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remed │ │ │ -00122b20: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ -00122b30: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -00122be0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -00122c30: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ -00122bc0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -00122bf0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -00122c10: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -00122c20: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -00122c40: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ -00122c50: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -00122c70: 7564 6520 656e 6162 6c65 5f73 7368 0a0a  ude enable_ssh..
│ │ │ -00122c80: 636c 6173 7320 656e 6162 6c65 5f73 7368  class enable_ssh
│ │ │ -00122c90: 207b 0a20 2073 6572 7669 6365 207b 2773   {.  service {'s
│ │ │ -00122ca0: 7368 273a 0a20 2020 2065 6e61 626c 6520  sh':.    enable 
│ │ │ -00122cb0: 3d26 6774 3b20 7472 7565 2c0a 2020 2020  => true,.    
│ │ │ -00122cc0: 656e 7375 7265 203d 2667 743b 2027 7275  ensure => 'ru
│ │ │ -00122cd0: 6e6e 696e 6727 2c0a 2020 7d0a 7d0a 3c2f  nning',.  }.}.
Remediation Ans │ │ │ -00122da0: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -00122db0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ -00122e40: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -00122e60: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ -00122e80: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ -00122eb0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -00122ec0: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ -00122ed0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ -00122ef0: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ -00122f00: 6374 730a 2020 7061 636b 6167 655f 6661  cts.  package_fa
│ │ │ -00122f10: 6374 733a 0a20 2020 206d 616e 6167 6572  cts:.    manager
│ │ │ -00122f20: 3a20 6175 746f 0a20 2074 6167 733a 0a20  : auto.  tags:. 
│ │ │ -00122f30: 202d 2044 4953 412d 5354 4947 2d55 4254   - DISA-STIG-UBT
│ │ │ -00122f40: 552d 3230 2d30 3130 3034 320a 2020 2d20  U-20-010042.  - 
│ │ │ -00122f50: 4e49 5354 2d38 3030 2d31 3731 2d33 2e31  NIST-800-171-3.1
│ │ │ -00122f60: 2e31 330a 2020 2d20 4e49 5354 2d38 3030  .13.  - NIST-800
│ │ │ -00122f70: 2d31 3731 2d33 2e31 332e 380a 2020 2d20  -171-3.13.8.  - 
│ │ │ -00122f80: 4e49 5354 2d38 3030 2d31 3731 2d33 2e35  NIST-800-171-3.5
│ │ │ -00122f90: 2e34 0a20 202d 204e 4953 542d 3830 302d  .4.  - NIST-800-
│ │ │ -00122fa0: 3533 2d43 4d2d 3628 6129 0a20 202d 204e  53-CM-6(a).  - N
│ │ │ -00122fb0: 4953 542d 3830 302d 3533 2d53 432d 380a  IST-800-53-SC-8.
│ │ │ -00122fc0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -00122fd0: 5343 2d38 2831 290a 2020 2d20 4e49 5354  SC-8(1).  - NIST
│ │ │ -00122fe0: 2d38 3030 2d35 332d 5343 2d38 2832 290a  -800-53-SC-8(2).
│ │ │ -00122ff0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -00123000: 5343 2d38 2833 290a 2020 2d20 4e49 5354  SC-8(3).  - NIST
│ │ │ -00123010: 2d38 3030 2d35 332d 5343 2d38 2834 290a  -800-53-SC-8(4).
│ │ │ -00123020: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -00123030: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -00123040: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -00123050: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -00123060: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -00123070: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -00123080: 6564 0a20 202d 2073 6572 7669 6365 5f73  ed.  - service_s
│ │ │ -00123090: 7368 645f 656e 6162 6c65 640a 0a2d 206e  shd_enabled..- n
│ │ │ -001230a0: 616d 653a 2045 6e61 626c 6520 7468 6520  ame: Enable the 
│ │ │ -001230b0: 4f70 656e 5353 4820 5365 7276 6963 6520  OpenSSH Service 
│ │ │ -001230c0: 2d20 456e 6162 6c65 2073 6572 7669 6365  - Enable service
│ │ │ -001230d0: 2073 7368 0a20 2062 6c6f 636b 3a0a 0a20   ssh.  block:.. 
│ │ │ -001230e0: 202d 206e 616d 653a 2047 6174 6865 7220   - name: Gather 
│ │ │ -001230f0: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ -00123100: 730a 2020 2020 7061 636b 6167 655f 6661  s.    package_fa
│ │ │ -00123110: 6374 733a 0a20 2020 2020 206d 616e 6167  cts:.      manag
│ │ │ -00123120: 6572 3a20 6175 746f 0a0a 2020 2d20 6e61  er: auto..  - na
│ │ │ -00123130: 6d65 3a20 456e 6162 6c65 2074 6865 204f  me: Enable the O
│ │ │ -00123140: 7065 6e53 5348 2053 6572 7669 6365 202d  penSSH Service -
│ │ │ -00123150: 2045 6e61 626c 6520 5365 7276 6963 6520   Enable Service 
│ │ │ -00123160: 7373 680a 2020 2020 616e 7369 626c 652e  ssh.    ansible.
│ │ │ -00123170: 6275 696c 7469 6e2e 7379 7374 656d 643a  builtin.systemd:
│ │ │ -00123180: 0a20 2020 2020 206e 616d 653a 2073 7368  .      name: ssh
│ │ │ -00123190: 0a20 2020 2020 2065 6e61 626c 6564 3a20  .      enabled: 
│ │ │ -001231a0: 7472 7565 0a20 2020 2020 2073 7461 7465  true.      state
│ │ │ -001231b0: 3a20 7374 6172 7465 640a 2020 2020 2020  : started.      
│ │ │ -001231c0: 6d61 736b 6564 3a20 6661 6c73 650a 2020  masked: false.  
│ │ │ -001231d0: 2020 7768 656e 3a0a 2020 2020 2d20 2722    when:.    - '"
│ │ │ -001231e0: 6f70 656e 7373 682d 7365 7276 6572 2220  openssh-server" 
│ │ │ -001231f0: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -00123200: 2e70 6163 6b61 6765 7327 0a20 2077 6865  .packages'.  whe
│ │ │ -00123210: 6e3a 2027 226c 696e 7578 2d62 6173 6522  n: '"linux-base"
│ │ │ -00123220: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ -00123230: 732e 7061 636b 6167 6573 270a 2020 7461  s.packages'.  ta
│ │ │ -00123240: 6773 3a0a 2020 2d20 4449 5341 2d53 5449  gs:.  - DISA-STI
│ │ │ -00123250: 472d 5542 5455 2d32 302d 3031 3030 3432  G-UBTU-20-010042
│ │ │ -00123260: 0a20 202d 204e 4953 542d 3830 302d 3137  .  - NIST-800-17
│ │ │ -00123270: 312d 332e 312e 3133 0a20 202d 204e 4953  1-3.1.13.  - NIS
│ │ │ -00123280: 542d 3830 302d 3137 312d 332e 3133 2e38  T-800-171-3.13.8
│ │ │ -00123290: 0a20 202d 204e 4953 542d 3830 302d 3137  .  - NIST-800-17
│ │ │ -001232a0: 312d 332e 352e 340a 2020 2d20 4e49 5354  1-3.5.4.  - NIST
│ │ │ -001232b0: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ -001232c0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -001232d0: 5343 2d38 0a20 202d 204e 4953 542d 3830  SC-8.  - NIST-80
│ │ │ -001232e0: 302d 3533 2d53 432d 3828 3129 0a20 202d  0-53-SC-8(1).  -
│ │ │ -001232f0: 204e 4953 542d 3830 302d 3533 2d53 432d   NIST-800-53-SC-
│ │ │ -00123300: 3828 3229 0a20 202d 204e 4953 542d 3830  8(2).  - NIST-80
│ │ │ -00123310: 302d 3533 2d53 432d 3828 3329 0a20 202d  0-53-SC-8(3).  -
│ │ │ -00123320: 204e 4953 542d 3830 302d 3533 2d53 432d   NIST-800-53-SC-
│ │ │ -00123330: 3828 3429 0a20 202d 2065 6e61 626c 655f  8(4).  - enable_
│ │ │ -00123340: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -00123350: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -00123360: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -00123370: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ -00123380: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -00123390: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ -001233a0: 6963 655f 7373 6864 5f65 6e61 626c 6564  ice_sshd_enabled
│ │ │ +001229d0: 6469 6174 696f 6e20 416e 7369 626c 6520  diation Ansible 
│ │ │ +001229e0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c  snippet ...<
│ │ │ +001229f0: 6272 3e3c 6469 7620 636c 6173 733d 2270  br>
│ │ │ +00122a80: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
- 
│ │ │ +00122b20: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ +00122b30: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ +00122b40: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ +00122b50: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ +00122b60: 6f0a 2020 7461 6773 3a0a 2020 2d20 4449  o.  tags:.  - DI
│ │ │ +00122b70: 5341 2d53 5449 472d 5542 5455 2d32 302d  SA-STIG-UBTU-20-
│ │ │ +00122b80: 3031 3030 3432 0a20 202d 204e 4953 542d  010042.  - NIST-
│ │ │ +00122b90: 3830 302d 3137 312d 332e 312e 3133 0a20  800-171-3.1.13. 
│ │ │ +00122ba0: 202d 204e 4953 542d 3830 302d 3137 312d   - NIST-800-171-
│ │ │ +00122bb0: 332e 3133 2e38 0a20 202d 204e 4953 542d  3.13.8.  - NIST-
│ │ │ +00122bc0: 3830 302d 3137 312d 332e 352e 340a 2020  800-171-3.5.4.  
│ │ │ +00122bd0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +00122be0: 2d36 2861 290a 2020 2d20 4e49 5354 2d38  -6(a).  - NIST-8
│ │ │ +00122bf0: 3030 2d35 332d 5343 2d38 0a20 202d 204e  00-53-SC-8.  - N
│ │ │ +00122c00: 4953 542d 3830 302d 3533 2d53 432d 3828  IST-800-53-SC-8(
│ │ │ +00122c10: 3129 0a20 202d 204e 4953 542d 3830 302d  1).  - NIST-800-
│ │ │ +00122c20: 3533 2d53 432d 3828 3229 0a20 202d 204e  53-SC-8(2).  - N
│ │ │ +00122c30: 4953 542d 3830 302d 3533 2d53 432d 3828  IST-800-53-SC-8(
│ │ │ +00122c40: 3329 0a20 202d 204e 4953 542d 3830 302d  3).  - NIST-800-
│ │ │ +00122c50: 3533 2d53 432d 3828 3429 0a20 202d 2065  53-SC-8(4).  - e
│ │ │ +00122c60: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ +00122c70: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +00122c80: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +00122c90: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +00122ca0: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +00122cb0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +00122cc0: 2d20 7365 7276 6963 655f 7373 6864 5f65  - service_sshd_e
│ │ │ +00122cd0: 6e61 626c 6564 0a0a 2d20 6e61 6d65 3a20  nabled..- name: 
│ │ │ +00122ce0: 456e 6162 6c65 2074 6865 204f 7065 6e53  Enable the OpenS
│ │ │ +00122cf0: 5348 2053 6572 7669 6365 202d 2045 6e61  SH Service - Ena
│ │ │ +00122d00: 626c 6520 7365 7276 6963 6520 7373 680a  ble service ssh.
│ │ │ +00122d10: 2020 626c 6f63 6b3a 0a0a 2020 2d20 6e61    block:..  - na
│ │ │ +00122d20: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ +00122d30: 6163 6b61 6765 2066 6163 7473 0a20 2020  ackage facts.   
│ │ │ +00122d40: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ +00122d50: 2020 2020 2020 6d61 6e61 6765 723a 2061        manager: a
│ │ │ +00122d60: 7574 6f0a 0a20 202d 206e 616d 653a 2045  uto..  - name: E
│ │ │ +00122d70: 6e61 626c 6520 7468 6520 4f70 656e 5353  nable the OpenSS
│ │ │ +00122d80: 4820 5365 7276 6963 6520 2d20 456e 6162  H Service - Enab
│ │ │ +00122d90: 6c65 2053 6572 7669 6365 2073 7368 0a20  le Service ssh. 
│ │ │ +00122da0: 2020 2061 6e73 6962 6c65 2e62 7569 6c74     ansible.built
│ │ │ +00122db0: 696e 2e73 7973 7465 6d64 3a0a 2020 2020  in.systemd:.    
│ │ │ +00122dc0: 2020 6e61 6d65 3a20 7373 680a 2020 2020    name: ssh.    
│ │ │ +00122dd0: 2020 656e 6162 6c65 643a 2074 7275 650a    enabled: true.
│ │ │ +00122de0: 2020 2020 2020 7374 6174 653a 2073 7461        state: sta
│ │ │ +00122df0: 7274 6564 0a20 2020 2020 206d 6173 6b65  rted.      maske
│ │ │ +00122e00: 643a 2066 616c 7365 0a20 2020 2077 6865  d: false.    whe
│ │ │ +00122e10: 6e3a 0a20 2020 202d 2027 226f 7065 6e73  n:.    - '"opens
│ │ │ +00122e20: 7368 2d73 6572 7665 7222 2069 6e20 616e  sh-server" in an
│ │ │ +00122e30: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +00122e40: 6167 6573 270a 2020 7768 656e 3a20 2722  ages'.  when: '"
│ │ │ +00122e50: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ +00122e60: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +00122e70: 6b61 6765 7327 0a20 2074 6167 733a 0a20  kages'.  tags:. 
│ │ │ +00122e80: 202d 2044 4953 412d 5354 4947 2d55 4254   - DISA-STIG-UBT
│ │ │ +00122e90: 552d 3230 2d30 3130 3034 320a 2020 2d20  U-20-010042.  - 
│ │ │ +00122ea0: 4e49 5354 2d38 3030 2d31 3731 2d33 2e31  NIST-800-171-3.1
│ │ │ +00122eb0: 2e31 330a 2020 2d20 4e49 5354 2d38 3030  .13.  - NIST-800
│ │ │ +00122ec0: 2d31 3731 2d33 2e31 332e 380a 2020 2d20  -171-3.13.8.  - 
│ │ │ +00122ed0: 4e49 5354 2d38 3030 2d31 3731 2d33 2e35  NIST-800-171-3.5
│ │ │ +00122ee0: 2e34 0a20 202d 204e 4953 542d 3830 302d  .4.  - NIST-800-
│ │ │ +00122ef0: 3533 2d43 4d2d 3628 6129 0a20 202d 204e  53-CM-6(a).  - N
│ │ │ +00122f00: 4953 542d 3830 302d 3533 2d53 432d 380a  IST-800-53-SC-8.
│ │ │ +00122f10: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +00122f20: 5343 2d38 2831 290a 2020 2d20 4e49 5354  SC-8(1).  - NIST
│ │ │ +00122f30: 2d38 3030 2d35 332d 5343 2d38 2832 290a  -800-53-SC-8(2).
│ │ │ +00122f40: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +00122f50: 5343 2d38 2833 290a 2020 2d20 4e49 5354  SC-8(3).  - NIST
│ │ │ +00122f60: 2d38 3030 2d35 332d 5343 2d38 2834 290a  -800-53-SC-8(4).
│ │ │ +00122f70: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ +00122f80: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +00122f90: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +00122fa0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ +00122fb0: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ +00122fc0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +00122fd0: 6564 0a20 202d 2073 6572 7669 6365 5f73  ed.  - service_s
│ │ │ +00122fe0: 7368 645f 656e 6162 6c65 640a 3c2f 636f  shd_enabled.
< │ │ │ +00123000: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +00123010: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +00123020: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +00123030: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +00123040: 646d 3235 3631 3022 2074 6162 696e 6465 dm25610" tabinde │ │ │ +00123050: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +00123060: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +00123070: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +00123080: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +00123090: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +001230a0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +001230b0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
│ │ │ +00122a70: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +00122aa0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +00122ab0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +00122af0: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ +00122b00: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexity: │ │ │ +00123190: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +001231a0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ +001231f0: 696e 636c 7564 6520 656e 6162 6c65 5f73  include enable_s
│ │ │ +00123200: 7368 0a0a 636c 6173 7320 656e 6162 6c65  sh..class enable
│ │ │ +00123210: 5f73 7368 207b 0a20 2073 6572 7669 6365  _ssh {.  service
│ │ │ +00123220: 207b 2773 7368 273a 0a20 2020 2065 6e61   {'ssh':.    ena
│ │ │ +00123230: 626c 6520 3d26 6774 3b20 7472 7565 2c0a  ble => true,.
│ │ │ +00123240: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +00123250: 2027 7275 6e6e 696e 6727 2c0a 2020 7d0a   'running',.  }.
│ │ │ +00123260: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ +00123270: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +00123320: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ +00123330: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
low< │ │ │ -0032b620: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr> │ │ │ -0032b670: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
low
Disru │ │ │ +00123170: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +00123180: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +001231c0: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ +001231d0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity: │ │ │ -0032b5e0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ -0032b600: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ -0032b650: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -0032b660: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
include insta
│ │ │ -0032b690: 6c6c 5f61 7564 6973 7064 2d70 6c75 6769  ll_audispd-plugi
│ │ │ -0032b6a0: 6e73 0a0a 636c 6173 7320 696e 7374 616c  ns..class instal
│ │ │ -0032b6b0: 6c5f 6175 6469 7370 642d 706c 7567 696e  l_audispd-plugin
│ │ │ -0032b6c0: 7320 7b0a 2020 7061 636b 6167 6520 7b20  s {.  package { 
│ │ │ -0032b6d0: 2761 7564 6973 7064 2d70 6c75 6769 6e73  'audispd-plugins
│ │ │ -0032b6e0: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ -0032b6f0: 6774 3b20 2769 6e73 7461 6c6c 6564 272c  gt; 'installed',
│ │ │ -0032b700: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.
Remedi │ │ │ -0032b7c0: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn │ │ │ -0032b7d0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -0032b880: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -0032b8d0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ -0032b860: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -0032b890: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -0032b8b0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -0032b8c0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -0032b8e0: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ -0032b8f0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -0032b910: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ -0032b920: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ -0032b930: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ -0032b940: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ -0032b950: 2020 7461 6773 3a0a 2020 2d20 4449 5341    tags:.  - DISA
│ │ │ -0032b960: 2d53 5449 472d 5542 5455 2d32 302d 3031  -STIG-UBTU-20-01
│ │ │ -0032b970: 3032 3136 0a20 202d 2050 4349 2d44 5353  0216.  - PCI-DSS
│ │ │ -0032b980: 2d52 6571 2d31 302e 352e 330a 2020 2d20  -Req-10.5.3.  - 
│ │ │ -0032b990: 5043 492d 4453 5376 342d 3130 2e33 0a20  PCI-DSSv4-10.3. 
│ │ │ -0032b9a0: 202d 2050 4349 2d44 5353 7634 2d31 302e   - PCI-DSSv4-10.
│ │ │ -0032b9b0: 332e 330a 2020 2d20 656e 6162 6c65 5f73  3.3.  - enable_s
│ │ │ -0032b9c0: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ -0032b9d0: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -0032b9e0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -0032b9f0: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ -0032ba00: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ -0032ba10: 6e65 6564 6564 0a20 202d 2070 6163 6b61  needed.  - packa
│ │ │ -0032ba20: 6765 5f61 7564 6974 2d61 7564 6973 7064  ge_audit-audispd
│ │ │ -0032ba30: 2d70 6c75 6769 6e73 5f69 6e73 7461 6c6c  -plugins_install
│ │ │ -0032ba40: 6564 0a0a 2d20 6e61 6d65 3a20 456e 7375  ed..- name: Ensu
│ │ │ -0032ba50: 7265 2061 7564 6973 7064 2d70 6c75 6769  re audispd-plugi
│ │ │ -0032ba60: 6e73 2069 7320 696e 7374 616c 6c65 640a  ns is installed.
│ │ │ -0032ba70: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ -0032ba80: 616d 653a 2061 7564 6973 7064 2d70 6c75  ame: audispd-plu
│ │ │ -0032ba90: 6769 6e73 0a20 2020 2073 7461 7465 3a20  gins.    state: 
│ │ │ -0032baa0: 7072 6573 656e 740a 2020 7768 656e 3a20  present.  when: 
│ │ │ -0032bab0: 2722 6c69 6e75 782d 6261 7365 2220 696e  '"linux-base" in
│ │ │ -0032bac0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ -0032bad0: 6163 6b61 6765 7327 0a20 2074 6167 733a  ackages'.  tags:
│ │ │ -0032bae0: 0a20 202d 2044 4953 412d 5354 4947 2d55  .  - DISA-STIG-U
│ │ │ -0032baf0: 4254 552d 3230 2d30 3130 3231 360a 2020  BTU-20-010216.  
│ │ │ -0032bb00: 2d20 5043 492d 4453 532d 5265 712d 3130  - PCI-DSS-Req-10
│ │ │ -0032bb10: 2e35 2e33 0a20 202d 2050 4349 2d44 5353  .5.3.  - PCI-DSS
│ │ │ -0032bb20: 7634 2d31 302e 330a 2020 2d20 5043 492d  v4-10.3.  - PCI-
│ │ │ -0032bb30: 4453 5376 342d 3130 2e33 2e33 0a20 202d  DSSv4-10.3.3.  -
│ │ │ -0032bb40: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ -0032bb50: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -0032bb60: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -0032bb70: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ -0032bb80: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ -0032bb90: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -0032bba0: 2020 2d20 7061 636b 6167 655f 6175 6469    - package_audi
│ │ │ -0032bbb0: 742d 6175 6469 7370 642d 706c 7567 696e  t-audispd-plugin
│ │ │ -0032bbc0: 735f 696e 7374 616c 6c65 640a 3c2f 636f  s_installed.
< │ │ │ +0032b490: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +0032b4a0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +0032b4f0: 3c74 723e 3c74 683e 5374 7261 7465 6779
- n
│ │ │ +0032b530: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ +0032b540: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ +0032b550: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ +0032b560: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ +0032b570: 0a20 2074 6167 733a 0a20 202d 2044 4953  .  tags:.  - DIS
│ │ │ +0032b580: 412d 5354 4947 2d55 4254 552d 3230 2d30  A-STIG-UBTU-20-0
│ │ │ +0032b590: 3130 3231 360a 2020 2d20 5043 492d 4453  10216.  - PCI-DS
│ │ │ +0032b5a0: 532d 5265 712d 3130 2e35 2e33 0a20 202d  S-Req-10.5.3.  -
│ │ │ +0032b5b0: 2050 4349 2d44 5353 7634 2d31 302e 330a   PCI-DSSv4-10.3.
│ │ │ +0032b5c0: 2020 2d20 5043 492d 4453 5376 342d 3130    - PCI-DSSv4-10
│ │ │ +0032b5d0: 2e33 2e33 0a20 202d 2065 6e61 626c 655f  .3.3.  - enable_
│ │ │ +0032b5e0: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ +0032b5f0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +0032b600: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +0032b610: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ +0032b620: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ +0032b630: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ +0032b640: 6167 655f 6175 6469 742d 6175 6469 7370  age_audit-audisp
│ │ │ +0032b650: 642d 706c 7567 696e 735f 696e 7374 616c  d-plugins_instal
│ │ │ +0032b660: 6c65 640a 0a2d 206e 616d 653a 2045 6e73  led..- name: Ens
│ │ │ +0032b670: 7572 6520 6175 6469 7370 642d 706c 7567  ure audispd-plug
│ │ │ +0032b680: 696e 7320 6973 2069 6e73 7461 6c6c 6564  ins is installed
│ │ │ +0032b690: 0a20 2070 6163 6b61 6765 3a0a 2020 2020  .  package:.    
│ │ │ +0032b6a0: 6e61 6d65 3a20 6175 6469 7370 642d 706c  name: audispd-pl
│ │ │ +0032b6b0: 7567 696e 730a 2020 2020 7374 6174 653a  ugins.    state:
│ │ │ +0032b6c0: 2070 7265 7365 6e74 0a20 2077 6865 6e3a   present.  when:
│ │ │ +0032b6d0: 2027 226c 696e 7578 2d62 6173 6522 2069   '"linux-base" i
│ │ │ +0032b6e0: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +0032b6f0: 7061 636b 6167 6573 270a 2020 7461 6773  packages'.  tags
│ │ │ +0032b700: 3a0a 2020 2d20 4449 5341 2d53 5449 472d  :.  - DISA-STIG-
│ │ │ +0032b710: 5542 5455 2d32 302d 3031 3032 3136 0a20  UBTU-20-010216. 
│ │ │ +0032b720: 202d 2050 4349 2d44 5353 2d52 6571 2d31   - PCI-DSS-Req-1
│ │ │ +0032b730: 302e 352e 330a 2020 2d20 5043 492d 4453  0.5.3.  - PCI-DS
│ │ │ +0032b740: 5376 342d 3130 2e33 0a20 202d 2050 4349  Sv4-10.3.  - PCI
│ │ │ +0032b750: 2d44 5353 7634 2d31 302e 332e 330a 2020  -DSSv4-10.3.3.  
│ │ │ +0032b760: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ +0032b770: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +0032b780: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +0032b790: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ +0032b7a0: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ +0032b7b0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +0032b7c0: 0a20 202d 2070 6163 6b61 6765 5f61 7564  .  - package_aud
│ │ │ +0032b7d0: 6974 2d61 7564 6973 7064 2d70 6c75 6769  it-audispd-plugi
│ │ │ +0032b7e0: 6e73 5f69 6e73 7461 6c6c 6564 0a3c 2f63  ns_installed.
│ │ │ +0032b800: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +0032b8a0: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ +0032b8b0: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
C │ │ │ +0032b480: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +0032b4b0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +0032b4c0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +0032b500: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ +0032b510: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
< │ │ │ +0032b940: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +0032b960: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +0032b9b0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
include install
│ │ │ +0032ba00: 5f61 7564 6973 7064 2d70 6c75 6769 6e73  _audispd-plugins
│ │ │ +0032ba10: 0a0a 636c 6173 7320 696e 7374 616c 6c5f  ..class install_
│ │ │ +0032ba20: 6175 6469 7370 642d 706c 7567 696e 7320  audispd-plugins 
│ │ │ +0032ba30: 7b0a 2020 7061 636b 6167 6520 7b20 2761  {.  package { 'a
│ │ │ +0032ba40: 7564 6973 7064 2d70 6c75 6769 6e73 273a  udispd-plugins':
│ │ │ +0032ba50: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ +0032ba60: 3b20 2769 6e73 7461 6c6c 6564 272c 0a20  ; 'installed',. 
│ │ │ +0032ba70: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.Remediat
│ │ │ +0032bb30: 696f 6e20 4f53 4275 696c 6420 426c 7565  ion OSBuild Blue
│ │ │ +0032bb40: 7072 696e 7420 736e 6970 7065 7420 e287  print snippet ..
│ │ │ +0032bb50: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c  .
.[[packag
│ │ │ +0032bba0: 6573 5d5d 0a6e 616d 6520 3d20 2261 7564  es]].name = "aud
│ │ │ +0032bbb0: 6973 7064 2d70 6c75 6769 6e73 220a 7665  ispd-plugins".ve
│ │ │ +0032bbc0: 7273 696f 6e20 3d20 222a 220a 3c2f 636f  rsion = "*".
< │ │ │ 0032bbe0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 0032bbf0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 0032bc00: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 0032bc10: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 0032bc20: 646d 3238 3934 3822 2074 6162 696e 6465 dm28948" tabinde │ │ │ 0032bc30: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ @@ -208131,156 +208131,156 @@ │ │ │ 0032d020: 6765 743d 2223 6964 6d32 3930 3239 2220 get="#idm29029" │ │ │ 0032d030: 7461 6269 6e64 6578 3d22 3022 2072 6f6c tabindex="0" rol │ │ │ 0032d040: 653d 2262 7574 746f 6e22 2061 7269 612d e="button" aria- │ │ │ 0032d050: 6578 7061 6e64 6564 3d22 6661 6c73 6522 expanded="false" │ │ │ 0032d060: 2074 6974 6c65 3d22 4163 7469 7661 7465 title="Activate │ │ │ 0032d070: 2074 6f20 7265 7665 616c 2220 6872 6566 to reveal" href │ │ │ 0032d080: 3d22 2321 223e 5265 6d65 6469 6174 696f ="#!">Remediatio │ │ │ -0032d090: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr │ │ │ -0032d0a0: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...< │ │ │ -0032d0b0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
<
│ │ │ -0032d0f0: 636f 6465 3e0a 5b5b 7061 636b 6167 6573  code>.[[packages
│ │ │ -0032d100: 5d5d 0a6e 616d 6520 3d20 2261 7564 6974  ]].name = "audit
│ │ │ -0032d110: 6422 0a76 6572 7369 6f6e 203d 2022 2a22  d".version = "*"
│ │ │ -0032d120: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -0032d1e0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -0032d1f0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -0032d270: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ -0032d2b0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 enable
low
Disr │ │ │ +0032b970: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +0032b980: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +0032b9c0: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ +0032b9d0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complexit │ │ │ -0032d280: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ -0032d2a0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ -0032d2d0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -0032d2f0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
<
│ │ │ -0032d320: 636f 6465 3e69 6e63 6c75 6465 2069 6e73  code>include ins
│ │ │ -0032d330: 7461 6c6c 5f61 7564 6974 640a 0a63 6c61  tall_auditd..cla
│ │ │ -0032d340: 7373 2069 6e73 7461 6c6c 5f61 7564 6974  ss install_audit
│ │ │ -0032d350: 6420 7b0a 2020 7061 636b 6167 6520 7b20  d {.  package { 
│ │ │ -0032d360: 2761 7564 6974 6427 3a0a 2020 2020 656e  'auditd':.    en
│ │ │ -0032d370: 7375 7265 203d 2667 743b 2027 696e 7374  sure => 'inst
│ │ │ -0032d380: 616c 6c65 6427 2c0a 2020 7d0a 7d0a 3c2f  alled',.  }.}.
Remediation Ans │ │ │ -0032d450: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -0032d460: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ -0032d4f0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -0032d510: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ -0032d530: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ -0032d560: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -0032d570: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ -0032d580: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ -0032d5a0: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ -0032d5b0: 6374 730a 2020 7061 636b 6167 655f 6661  cts.  package_fa
│ │ │ -0032d5c0: 6374 733a 0a20 2020 206d 616e 6167 6572  cts:.    manager
│ │ │ -0032d5d0: 3a20 6175 746f 0a20 2074 6167 733a 0a20  : auto.  tags:. 
│ │ │ -0032d5e0: 202d 2044 4953 412d 5354 4947 2d55 4254   - DISA-STIG-UBT
│ │ │ -0032d5f0: 552d 3230 2d30 3130 3138 320a 2020 2d20  U-20-010182.  - 
│ │ │ -0032d600: 4e49 5354 2d38 3030 2d35 332d 4143 2d37  NIST-800-53-AC-7
│ │ │ -0032d610: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ -0032d620: 2d35 332d 4155 2d31 3228 3229 0a20 202d  -53-AU-12(2).  -
│ │ │ -0032d630: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ -0032d640: 3134 0a20 202d 204e 4953 542d 3830 302d  14.  - NIST-800-
│ │ │ -0032d650: 3533 2d41 552d 3228 6129 0a20 202d 204e  53-AU-2(a).  - N
│ │ │ -0032d660: 4953 542d 3830 302d 3533 2d41 552d 3728  IST-800-53-AU-7(
│ │ │ -0032d670: 3129 0a20 202d 204e 4953 542d 3830 302d  1).  - NIST-800-
│ │ │ -0032d680: 3533 2d41 552d 3728 3229 0a20 202d 204e  53-AU-7(2).  - N
│ │ │ -0032d690: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -0032d6a0: 6129 0a20 202d 2050 4349 2d44 5353 2d52  a).  - PCI-DSS-R
│ │ │ -0032d6b0: 6571 2d31 302e 310a 2020 2d20 5043 492d  eq-10.1.  - PCI-
│ │ │ -0032d6c0: 4453 5376 342d 3130 2e32 0a20 202d 2050  DSSv4-10.2.  - P
│ │ │ -0032d6d0: 4349 2d44 5353 7634 2d31 302e 322e 310a  CI-DSSv4-10.2.1.
│ │ │ -0032d6e0: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -0032d6f0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -0032d700: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -0032d710: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -0032d720: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -0032d730: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -0032d740: 6564 0a20 202d 2070 6163 6b61 6765 5f61  ed.  - package_a
│ │ │ -0032d750: 7564 6974 5f69 6e73 7461 6c6c 6564 0a0a  udit_installed..
│ │ │ -0032d760: 2d20 6e61 6d65 3a20 456e 7375 7265 2061  - name: Ensure a
│ │ │ -0032d770: 7564 6974 6420 6973 2069 6e73 7461 6c6c  uditd is install
│ │ │ -0032d780: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ -0032d790: 2020 6e61 6d65 3a20 6175 6469 7464 0a20    name: auditd. 
│ │ │ -0032d7a0: 2020 2073 7461 7465 3a20 7072 6573 656e     state: presen
│ │ │ -0032d7b0: 740a 2020 7768 656e 3a20 2722 6c69 6e75  t.  when: '"linu
│ │ │ -0032d7c0: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ -0032d7d0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -0032d7e0: 7327 0a20 2074 6167 733a 0a20 202d 2044  s'.  tags:.  - D
│ │ │ -0032d7f0: 4953 412d 5354 4947 2d55 4254 552d 3230  ISA-STIG-UBTU-20
│ │ │ -0032d800: 2d30 3130 3138 320a 2020 2d20 4e49 5354  -010182.  - NIST
│ │ │ -0032d810: 2d38 3030 2d35 332d 4143 2d37 2861 290a  -800-53-AC-7(a).
│ │ │ -0032d820: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -0032d830: 4155 2d31 3228 3229 0a20 202d 204e 4953  AU-12(2).  - NIS
│ │ │ -0032d840: 542d 3830 302d 3533 2d41 552d 3134 0a20  T-800-53-AU-14. 
│ │ │ -0032d850: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ -0032d860: 552d 3228 6129 0a20 202d 204e 4953 542d  U-2(a).  - NIST-
│ │ │ -0032d870: 3830 302d 3533 2d41 552d 3728 3129 0a20  800-53-AU-7(1). 
│ │ │ -0032d880: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ -0032d890: 552d 3728 3229 0a20 202d 204e 4953 542d  U-7(2).  - NIST-
│ │ │ -0032d8a0: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ -0032d8b0: 202d 2050 4349 2d44 5353 2d52 6571 2d31   - PCI-DSS-Req-1
│ │ │ -0032d8c0: 302e 310a 2020 2d20 5043 492d 4453 5376  0.1.  - PCI-DSSv
│ │ │ -0032d8d0: 342d 3130 2e32 0a20 202d 2050 4349 2d44  4-10.2.  - PCI-D
│ │ │ -0032d8e0: 5353 7634 2d31 302e 322e 310a 2020 2d20  SSv4-10.2.1.  - 
│ │ │ -0032d8f0: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ -0032d900: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -0032d910: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -0032d920: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -0032d930: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -0032d940: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -0032d950: 202d 2070 6163 6b61 6765 5f61 7564 6974   - package_audit
│ │ │ -0032d960: 5f69 6e73 7461 6c6c 6564 0a3c 2f63 6f64  _installed.
│ │ │ +0032d0e0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ +0032d150: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +0032d170: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +0032d1a0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ +0032d1c0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ +0032d130: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +0032d140: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +0032d180: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +0032d190: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
- name: │ │ │ +0032d1e0: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ +0032d1f0: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ +0032d200: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ +0032d210: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ +0032d220: 6773 3a0a 2020 2d20 4449 5341 2d53 5449 gs:. - DISA-STI │ │ │ +0032d230: 472d 5542 5455 2d32 302d 3031 3031 3832 G-UBTU-20-010182 │ │ │ +0032d240: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53 │ │ │ +0032d250: 2d41 432d 3728 6129 0a20 202d 204e 4953 -AC-7(a). - NIS │ │ │ +0032d260: 542d 3830 302d 3533 2d41 552d 3132 2832 T-800-53-AU-12(2 │ │ │ +0032d270: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5 │ │ │ +0032d280: 332d 4155 2d31 340a 2020 2d20 4e49 5354 3-AU-14. - NIST │ │ │ +0032d290: 2d38 3030 2d35 332d 4155 2d32 2861 290a -800-53-AU-2(a). │ │ │ +0032d2a0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53- │ │ │ +0032d2b0: 4155 2d37 2831 290a 2020 2d20 4e49 5354 AU-7(1). - NIST │ │ │ +0032d2c0: 2d38 3030 2d35 332d 4155 2d37 2832 290a -800-53-AU-7(2). │ │ │ +0032d2d0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53- │ │ │ +0032d2e0: 434d 2d36 2861 290a 2020 2d20 5043 492d CM-6(a). - PCI- │ │ │ +0032d2f0: 4453 532d 5265 712d 3130 2e31 0a20 202d DSS-Req-10.1. - │ │ │ +0032d300: 2050 4349 2d44 5353 7634 2d31 302e 320a PCI-DSSv4-10.2. │ │ │ +0032d310: 2020 2d20 5043 492d 4453 5376 342d 3130 - PCI-DSSv4-10 │ │ │ +0032d320: 2e32 2e31 0a20 202d 2065 6e61 626c 655f .2.1. - enable_ │ │ │ +0032d330: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low │ │ │ +0032d340: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. - │ │ │ +0032d350: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption. │ │ │ +0032d360: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi │ │ │ +0032d370: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot │ │ │ +0032d380: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack │ │ │ +0032d390: 6167 655f 6175 6469 745f 696e 7374 616c age_audit_instal │ │ │ +0032d3a0: 6c65 640a 0a2d 206e 616d 653a 2045 6e73 led..- name: Ens │ │ │ +0032d3b0: 7572 6520 6175 6469 7464 2069 7320 696e ure auditd is in │ │ │ +0032d3c0: 7374 616c 6c65 640a 2020 7061 636b 6167 stalled. packag │ │ │ +0032d3d0: 653a 0a20 2020 206e 616d 653a 2061 7564 e:. name: aud │ │ │ +0032d3e0: 6974 640a 2020 2020 7374 6174 653a 2070 itd. state: p │ │ │ +0032d3f0: 7265 7365 6e74 0a20 2077 6865 6e3a 2027 resent. when: ' │ │ │ +0032d400: 226c 696e 7578 2d62 6173 6522 2069 6e20 "linux-base" in │ │ │ +0032d410: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa │ │ │ +0032d420: 636b 6167 6573 270a 2020 7461 6773 3a0a ckages'. tags:. │ │ │ +0032d430: 2020 2d20 4449 5341 2d53 5449 472d 5542 - DISA-STIG-UB │ │ │ +0032d440: 5455 2d32 302d 3031 3031 3832 0a20 202d TU-20-010182. - │ │ │ +0032d450: 204e 4953 542d 3830 302d 3533 2d41 432d NIST-800-53-AC- │ │ │ +0032d460: 3728 6129 0a20 202d 204e 4953 542d 3830 7(a). - NIST-80 │ │ │ +0032d470: 302d 3533 2d41 552d 3132 2832 290a 2020 0-53-AU-12(2). │ │ │ +0032d480: 2d20 4e49 5354 2d38 3030 2d35 332d 4155 - NIST-800-53-AU │ │ │ +0032d490: 2d31 340a 2020 2d20 4e49 5354 2d38 3030 -14. - NIST-800 │ │ │ +0032d4a0: 2d35 332d 4155 2d32 2861 290a 2020 2d20 -53-AU-2(a). - │ │ │ +0032d4b0: 4e49 5354 2d38 3030 2d35 332d 4155 2d37 NIST-800-53-AU-7 │ │ │ +0032d4c0: 2831 290a 2020 2d20 4e49 5354 2d38 3030 (1). - NIST-800 │ │ │ +0032d4d0: 2d35 332d 4155 2d37 2832 290a 2020 2d20 -53-AU-7(2). - │ │ │ +0032d4e0: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6 │ │ │ +0032d4f0: 2861 290a 2020 2d20 5043 492d 4453 532d (a). - PCI-DSS- │ │ │ +0032d500: 5265 712d 3130 2e31 0a20 202d 2050 4349 Req-10.1. - PCI │ │ │ +0032d510: 2d44 5353 7634 2d31 302e 320a 2020 2d20 -DSSv4-10.2. - │ │ │ +0032d520: 5043 492d 4453 5376 342d 3130 2e32 2e31 PCI-DSSv4-10.2.1 │ │ │ +0032d530: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra │ │ │ +0032d540: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com │ │ │ +0032d550: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_ │ │ │ +0032d560: 6469 7372 7570 7469 6f6e 0a20 202d 206d disruption. - m │ │ │ +0032d570: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity. │ │ │ +0032d580: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee │ │ │ +0032d590: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_ │ │ │ +0032d5a0: 6175 6469 745f 696e 7374 616c 6c65 640a audit_installed. │ │ │ +0032d5b0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
Remediation P │ │ │ +0032d670: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ +0032d680: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ +0032d710: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +0032d730: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +0032d740: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +0032d750: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +0032d760: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +0032d780: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
include inst
│ │ │ +0032d7c0: 616c 6c5f 6175 6469 7464 0a0a 636c 6173  all_auditd..clas
│ │ │ +0032d7d0: 7320 696e 7374 616c 6c5f 6175 6469 7464  s install_auditd
│ │ │ +0032d7e0: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ +0032d7f0: 6175 6469 7464 273a 0a20 2020 2065 6e73  auditd':.    ens
│ │ │ +0032d800: 7572 6520 3d26 6774 3b20 2769 6e73 7461  ure => 'insta
│ │ │ +0032d810: 6c6c 6564 272c 0a20 207d 0a7d 0a3c 2f63  lled',.  }.}.
│ │ │ +0032d830: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +0032d8d0: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu │ │ │ +0032d8e0: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn │ │ │ +0032d8f0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.
│ │ │ +0032d940: 5b5b 7061 636b 6167 6573 5d5d 0a6e 616d  [[packages]].nam
│ │ │ +0032d950: 6520 3d20 2261 7564 6974 6422 0a76 6572  e = "auditd".ver
│ │ │ +0032d960: 7369 6f6e 203d 2022 2a22 0a3c 2f63 6f64  sion = "*".
Remediation │ │ │ -0032f830: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ -0032f840: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
.[customizat
│ │ │ -0032f8a0: 696f 6e73 2e73 6572 7669 6365 735d 0a65  ions.services].e
│ │ │ -0032f8b0: 6e61 626c 6564 203d 205b 2261 7564 6974  nabled = ["audit
│ │ │ -0032f8c0: 6422 5d0a 3c2f 636f 6465 3e3c 2f70 7265  d"].
Remediati │ │ │ -0032f980: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -0032f990: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -0032f9d0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -0032fa40: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -0032fa60: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -0032fa90: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -0032fab0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -0032fa20: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -0032fa30: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -0032fa70: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -0032fa80: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ -0032fad0: 656e 6162 6c65 5f61 7564 6974 640a 0a63 enable_auditd..c │ │ │ -0032fae0: 6c61 7373 2065 6e61 626c 655f 6175 6469 lass enable_audi │ │ │ -0032faf0: 7464 207b 0a20 2073 6572 7669 6365 207b td {. service { │ │ │ -0032fb00: 2761 7564 6974 6427 3a0a 2020 2020 656e 'auditd':. en │ │ │ -0032fb10: 6162 6c65 203d 2667 743b 2074 7275 652c able => true, │ │ │ -0032fb20: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure => │ │ │ -0032fb30: 3b20 2772 756e 6e69 6e67 272c 0a20 207d ; 'running',. } │ │ │ -0032fb40: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}.
│ │ │ -0032fb50: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ -0032fc00: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ -0032fc10: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -0032fc50: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -0032fcc0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -0032fce0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -0032fd10: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -0032fd30: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -0032fca0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -0032fcb0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -0032fcf0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -0032fd00: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
- name: │ │ │ -0032fd50: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ -0032fd60: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ -0032fd70: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ -0032fd80: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ -0032fd90: 6773 3a0a 2020 2d20 434a 4953 2d35 2e34 gs:. - CJIS-5.4 │ │ │ -0032fda0: 2e31 2e31 0a20 202d 2044 4953 412d 5354 .1.1. - DISA-ST │ │ │ -0032fdb0: 4947 2d55 4254 552d 3230 2d30 3130 3138 IG-UBTU-20-01018 │ │ │ -0032fdc0: 320a 2020 2d20 4e49 5354 2d38 3030 2d31 2. - NIST-800-1 │ │ │ -0032fdd0: 3731 2d33 2e33 2e31 0a20 202d 204e 4953 71-3.3.1. - NIS │ │ │ -0032fde0: 542d 3830 302d 3137 312d 332e 332e 320a T-800-171-3.3.2. │ │ │ -0032fdf0: 2020 2d20 4e49 5354 2d38 3030 2d31 3731 - NIST-800-171 │ │ │ -0032fe00: 2d33 2e33 2e36 0a20 202d 204e 4953 542d -3.3.6. - NIST- │ │ │ -0032fe10: 3830 302d 3533 2d41 432d 3228 6729 0a20 800-53-AC-2(g). │ │ │ -0032fe20: 202d 204e 4953 542d 3830 302d 3533 2d41 - NIST-800-53-A │ │ │ -0032fe30: 432d 3628 3929 0a20 202d 204e 4953 542d C-6(9). - NIST- │ │ │ -0032fe40: 3830 302d 3533 2d41 552d 3130 0a20 202d 800-53-AU-10. - │ │ │ -0032fe50: 204e 4953 542d 3830 302d 3533 2d41 552d NIST-800-53-AU- │ │ │ -0032fe60: 3132 2863 290a 2020 2d20 4e49 5354 2d38 12(c). - NIST-8 │ │ │ -0032fe70: 3030 2d35 332d 4155 2d31 3428 3129 0a20 00-53-AU-14(1). │ │ │ -0032fe80: 202d 204e 4953 542d 3830 302d 3533 2d41 - NIST-800-53-A │ │ │ -0032fe90: 552d 3228 6429 0a20 202d 204e 4953 542d U-2(d). - NIST- │ │ │ -0032fea0: 3830 302d 3533 2d41 552d 330a 2020 2d20 800-53-AU-3. - │ │ │ -0032feb0: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6 │ │ │ -0032fec0: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800 │ │ │ -0032fed0: 2d35 332d 5349 2d34 2832 3329 0a20 202d -53-SI-4(23). - │ │ │ -0032fee0: 2050 4349 2d44 5353 2d52 6571 2d31 302e PCI-DSS-Req-10. │ │ │ -0032fef0: 310a 2020 2d20 5043 492d 4453 5376 342d 1. - PCI-DSSv4- │ │ │ -0032ff00: 3130 2e32 0a20 202d 2050 4349 2d44 5353 10.2. - PCI-DSS │ │ │ -0032ff10: 7634 2d31 302e 322e 310a 2020 2d20 656e v4-10.2.1. - en │ │ │ -0032ff20: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy. │ │ │ -0032ff30: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity │ │ │ -0032ff40: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt │ │ │ -0032ff50: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s │ │ │ -0032ff60: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r │ │ │ -0032ff70: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. - │ │ │ -0032ff80: 2073 6572 7669 6365 5f61 7564 6974 645f service_auditd_ │ │ │ -0032ff90: 656e 6162 6c65 640a 0a2d 206e 616d 653a enabled..- name: │ │ │ -0032ffa0: 2045 6e61 626c 6520 6175 6469 7464 2053 Enable auditd S │ │ │ -0032ffb0: 6572 7669 6365 202d 2045 6e61 626c 6520 ervice - Enable │ │ │ -0032ffc0: 7365 7276 6963 6520 6175 6469 7464 0a20 service auditd. │ │ │ -0032ffd0: 2062 6c6f 636b 3a0a 0a20 202d 206e 616d block:.. - nam │ │ │ -0032ffe0: 653a 2047 6174 6865 7220 7468 6520 7061 e: Gather the pa │ │ │ -0032fff0: 636b 6167 6520 6661 6374 730a 2020 2020 ckage facts. │ │ │ -00330000: 7061 636b 6167 655f 6661 6374 733a 0a20 package_facts:. │ │ │ -00330010: 2020 2020 206d 616e 6167 6572 3a20 6175 manager: au │ │ │ -00330020: 746f 0a0a 2020 2d20 6e61 6d65 3a20 456e to.. - name: En │ │ │ -00330030: 6162 6c65 2061 7564 6974 6420 5365 7276 able auditd Serv │ │ │ -00330040: 6963 6520 2d20 456e 6162 6c65 2053 6572 ice - Enable Ser │ │ │ -00330050: 7669 6365 2061 7564 6974 640a 2020 2020 vice auditd. │ │ │ -00330060: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin. │ │ │ -00330070: 7379 7374 656d 643a 0a20 2020 2020 206e systemd:. n │ │ │ -00330080: 616d 653a 2061 7564 6974 640a 2020 2020 ame: auditd. │ │ │ -00330090: 2020 656e 6162 6c65 643a 2074 7275 650a enabled: true. │ │ │ -003300a0: 2020 2020 2020 7374 6174 653a 2073 7461 state: sta │ │ │ -003300b0: 7274 6564 0a20 2020 2020 206d 6173 6b65 rted. maske │ │ │ -003300c0: 643a 2066 616c 7365 0a20 2020 2077 6865 d: false. whe │ │ │ -003300d0: 6e3a 0a20 2020 202d 2027 2261 7564 6974 n:. - '"audit │ │ │ -003300e0: 6422 2069 6e20 616e 7369 626c 655f 6661 d" in ansible_fa │ │ │ -003300f0: 6374 732e 7061 636b 6167 6573 270a 2020 cts.packages'. │ │ │ -00330100: 7768 656e 3a0a 2020 2d20 2722 6c69 6e75 when:. - '"linu │ │ │ -00330110: 782d 6261 7365 2220 696e 2061 6e73 6962 x-base" in ansib │ │ │ -00330120: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package │ │ │ -00330130: 7327 0a20 202d 2027 2261 7564 6974 6422 s'. - '"auditd" │ │ │ -00330140: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact │ │ │ -00330150: 732e 7061 636b 6167 6573 270a 2020 7461 s.packages'. ta │ │ │ -00330160: 6773 3a0a 2020 2d20 434a 4953 2d35 2e34 gs:. - CJIS-5.4 │ │ │ -00330170: 2e31 2e31 0a20 202d 2044 4953 412d 5354 .1.1. - DISA-ST │ │ │ -00330180: 4947 2d55 4254 552d 3230 2d30 3130 3138 IG-UBTU-20-01018 │ │ │ -00330190: 320a 2020 2d20 4e49 5354 2d38 3030 2d31 2. - NIST-800-1 │ │ │ -003301a0: 3731 2d33 2e33 2e31 0a20 202d 204e 4953 71-3.3.1. - NIS │ │ │ -003301b0: 542d 3830 302d 3137 312d 332e 332e 320a T-800-171-3.3.2. │ │ │ -003301c0: 2020 2d20 4e49 5354 2d38 3030 2d31 3731 - NIST-800-171 │ │ │ -003301d0: 2d33 2e33 2e36 0a20 202d 204e 4953 542d -3.3.6. - NIST- │ │ │ -003301e0: 3830 302d 3533 2d41 432d 3228 6729 0a20 800-53-AC-2(g). │ │ │ -003301f0: 202d 204e 4953 542d 3830 302d 3533 2d41 - NIST-800-53-A │ │ │ -00330200: 432d 3628 3929 0a20 202d 204e 4953 542d C-6(9). - NIST- │ │ │ -00330210: 3830 302d 3533 2d41 552d 3130 0a20 202d 800-53-AU-10. - │ │ │ -00330220: 204e 4953 542d 3830 302d 3533 2d41 552d NIST-800-53-AU- │ │ │ -00330230: 3132 2863 290a 2020 2d20 4e49 5354 2d38 12(c). - NIST-8 │ │ │ -00330240: 3030 2d35 332d 4155 2d31 3428 3129 0a20 00-53-AU-14(1). │ │ │ -00330250: 202d 204e 4953 542d 3830 302d 3533 2d41 - NIST-800-53-A │ │ │ -00330260: 552d 3228 6429 0a20 202d 204e 4953 542d U-2(d). - NIST- │ │ │ -00330270: 3830 302d 3533 2d41 552d 330a 2020 2d20 800-53-AU-3. - │ │ │ -00330280: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6 │ │ │ -00330290: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800 │ │ │ -003302a0: 2d35 332d 5349 2d34 2832 3329 0a20 202d -53-SI-4(23). - │ │ │ -003302b0: 2050 4349 2d44 5353 2d52 6571 2d31 302e PCI-DSS-Req-10. │ │ │ -003302c0: 310a 2020 2d20 5043 492d 4453 5376 342d 1. - PCI-DSSv4- │ │ │ -003302d0: 3130 2e32 0a20 202d 2050 4349 2d44 5353 10.2. - PCI-DSS │ │ │ -003302e0: 7634 2d31 302e 322e 310a 2020 2d20 656e v4-10.2.1. - en │ │ │ -003302f0: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy. │ │ │ -00330300: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity │ │ │ -00330310: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt │ │ │ -00330320: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s │ │ │ -00330330: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r │ │ │ -00330340: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. - │ │ │ -00330350: 2073 6572 7669 6365 5f61 7564 6974 645f service_auditd_ │ │ │ -00330360: 656e 6162 6c65 640a 3c2f 636f 6465 3e3c enabled.< │ │ │ +0032f830: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ +0032f840: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +0032f880: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +0032f890: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +0032f8a0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +0032f8b0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +0032f8c0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +0032f8d0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +0032f8e0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +0032f920: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +0032f930: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +0032f950: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ +0032f960: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ +0032f980: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ +0032f990: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ +0032f9a0: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ +0032f9b0: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ +0032f9c0: 733a 0a20 202d 2043 4a49 532d 352e 342e  s:.  - CJIS-5.4.
│ │ │ +0032f9d0: 312e 310a 2020 2d20 4449 5341 2d53 5449  1.1.  - DISA-STI
│ │ │ +0032f9e0: 472d 5542 5455 2d32 302d 3031 3031 3832  G-UBTU-20-010182
│ │ │ +0032f9f0: 0a20 202d 204e 4953 542d 3830 302d 3137  .  - NIST-800-17
│ │ │ +0032fa00: 312d 332e 332e 310a 2020 2d20 4e49 5354  1-3.3.1.  - NIST
│ │ │ +0032fa10: 2d38 3030 2d31 3731 2d33 2e33 2e32 0a20  -800-171-3.3.2. 
│ │ │ +0032fa20: 202d 204e 4953 542d 3830 302d 3137 312d   - NIST-800-171-
│ │ │ +0032fa30: 332e 332e 360a 2020 2d20 4e49 5354 2d38  3.3.6.  - NIST-8
│ │ │ +0032fa40: 3030 2d35 332d 4143 2d32 2867 290a 2020  00-53-AC-2(g).  
│ │ │ +0032fa50: 2d20 4e49 5354 2d38 3030 2d35 332d 4143  - NIST-800-53-AC
│ │ │ +0032fa60: 2d36 2839 290a 2020 2d20 4e49 5354 2d38  -6(9).  - NIST-8
│ │ │ +0032fa70: 3030 2d35 332d 4155 2d31 300a 2020 2d20  00-53-AU-10.  - 
│ │ │ +0032fa80: 4e49 5354 2d38 3030 2d35 332d 4155 2d31  NIST-800-53-AU-1
│ │ │ +0032fa90: 3228 6329 0a20 202d 204e 4953 542d 3830  2(c).  - NIST-80
│ │ │ +0032faa0: 302d 3533 2d41 552d 3134 2831 290a 2020  0-53-AU-14(1).  
│ │ │ +0032fab0: 2d20 4e49 5354 2d38 3030 2d35 332d 4155  - NIST-800-53-AU
│ │ │ +0032fac0: 2d32 2864 290a 2020 2d20 4e49 5354 2d38  -2(d).  - NIST-8
│ │ │ +0032fad0: 3030 2d35 332d 4155 2d33 0a20 202d 204e  00-53-AU-3.  - N
│ │ │ +0032fae0: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ +0032faf0: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ +0032fb00: 3533 2d53 492d 3428 3233 290a 2020 2d20  53-SI-4(23).  - 
│ │ │ +0032fb10: 5043 492d 4453 532d 5265 712d 3130 2e31  PCI-DSS-Req-10.1
│ │ │ +0032fb20: 0a20 202d 2050 4349 2d44 5353 7634 2d31  .  - PCI-DSSv4-1
│ │ │ +0032fb30: 302e 320a 2020 2d20 5043 492d 4453 5376  0.2.  - PCI-DSSv
│ │ │ +0032fb40: 342d 3130 2e32 2e31 0a20 202d 2065 6e61  4-10.2.1.  - ena
│ │ │ +0032fb50: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +0032fb60: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +0032fb70: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +0032fb80: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ +0032fb90: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +0032fba0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +0032fbb0: 7365 7276 6963 655f 6175 6469 7464 5f65  service_auditd_e
│ │ │ +0032fbc0: 6e61 626c 6564 0a0a 2d20 6e61 6d65 3a20  nabled..- name: 
│ │ │ +0032fbd0: 456e 6162 6c65 2061 7564 6974 6420 5365  Enable auditd Se
│ │ │ +0032fbe0: 7276 6963 6520 2d20 456e 6162 6c65 2073  rvice - Enable s
│ │ │ +0032fbf0: 6572 7669 6365 2061 7564 6974 640a 2020  ervice auditd.  
│ │ │ +0032fc00: 626c 6f63 6b3a 0a0a 2020 2d20 6e61 6d65  block:..  - name
│ │ │ +0032fc10: 3a20 4761 7468 6572 2074 6865 2070 6163  : Gather the pac
│ │ │ +0032fc20: 6b61 6765 2066 6163 7473 0a20 2020 2070  kage facts.    p
│ │ │ +0032fc30: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ +0032fc40: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ +0032fc50: 6f0a 0a20 202d 206e 616d 653a 2045 6e61  o..  - name: Ena
│ │ │ +0032fc60: 626c 6520 6175 6469 7464 2053 6572 7669  ble auditd Servi
│ │ │ +0032fc70: 6365 202d 2045 6e61 626c 6520 5365 7276  ce - Enable Serv
│ │ │ +0032fc80: 6963 6520 6175 6469 7464 0a20 2020 2061  ice auditd.    a
│ │ │ +0032fc90: 6e73 6962 6c65 2e62 7569 6c74 696e 2e73  nsible.builtin.s
│ │ │ +0032fca0: 7973 7465 6d64 3a0a 2020 2020 2020 6e61  ystemd:.      na
│ │ │ +0032fcb0: 6d65 3a20 6175 6469 7464 0a20 2020 2020  me: auditd.     
│ │ │ +0032fcc0: 2065 6e61 626c 6564 3a20 7472 7565 0a20   enabled: true. 
│ │ │ +0032fcd0: 2020 2020 2073 7461 7465 3a20 7374 6172       state: star
│ │ │ +0032fce0: 7465 640a 2020 2020 2020 6d61 736b 6564  ted.      masked
│ │ │ +0032fcf0: 3a20 6661 6c73 650a 2020 2020 7768 656e  : false.    when
│ │ │ +0032fd00: 3a0a 2020 2020 2d20 2722 6175 6469 7464  :.    - '"auditd
│ │ │ +0032fd10: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ +0032fd20: 7473 2e70 6163 6b61 6765 7327 0a20 2077  ts.packages'.  w
│ │ │ +0032fd30: 6865 6e3a 0a20 202d 2027 226c 696e 7578  hen:.  - '"linux
│ │ │ +0032fd40: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ +0032fd50: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +0032fd60: 270a 2020 2d20 2722 6175 6469 7464 2220  '.  - '"auditd" 
│ │ │ +0032fd70: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +0032fd80: 2e70 6163 6b61 6765 7327 0a20 2074 6167  .packages'.  tag
│ │ │ +0032fd90: 733a 0a20 202d 2043 4a49 532d 352e 342e  s:.  - CJIS-5.4.
│ │ │ +0032fda0: 312e 310a 2020 2d20 4449 5341 2d53 5449  1.1.  - DISA-STI
│ │ │ +0032fdb0: 472d 5542 5455 2d32 302d 3031 3031 3832  G-UBTU-20-010182
│ │ │ +0032fdc0: 0a20 202d 204e 4953 542d 3830 302d 3137  .  - NIST-800-17
│ │ │ +0032fdd0: 312d 332e 332e 310a 2020 2d20 4e49 5354  1-3.3.1.  - NIST
│ │ │ +0032fde0: 2d38 3030 2d31 3731 2d33 2e33 2e32 0a20  -800-171-3.3.2. 
│ │ │ +0032fdf0: 202d 204e 4953 542d 3830 302d 3137 312d   - NIST-800-171-
│ │ │ +0032fe00: 332e 332e 360a 2020 2d20 4e49 5354 2d38  3.3.6.  - NIST-8
│ │ │ +0032fe10: 3030 2d35 332d 4143 2d32 2867 290a 2020  00-53-AC-2(g).  
│ │ │ +0032fe20: 2d20 4e49 5354 2d38 3030 2d35 332d 4143  - NIST-800-53-AC
│ │ │ +0032fe30: 2d36 2839 290a 2020 2d20 4e49 5354 2d38  -6(9).  - NIST-8
│ │ │ +0032fe40: 3030 2d35 332d 4155 2d31 300a 2020 2d20  00-53-AU-10.  - 
│ │ │ +0032fe50: 4e49 5354 2d38 3030 2d35 332d 4155 2d31  NIST-800-53-AU-1
│ │ │ +0032fe60: 3228 6329 0a20 202d 204e 4953 542d 3830  2(c).  - NIST-80
│ │ │ +0032fe70: 302d 3533 2d41 552d 3134 2831 290a 2020  0-53-AU-14(1).  
│ │ │ +0032fe80: 2d20 4e49 5354 2d38 3030 2d35 332d 4155  - NIST-800-53-AU
│ │ │ +0032fe90: 2d32 2864 290a 2020 2d20 4e49 5354 2d38  -2(d).  - NIST-8
│ │ │ +0032fea0: 3030 2d35 332d 4155 2d33 0a20 202d 204e  00-53-AU-3.  - N
│ │ │ +0032feb0: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ +0032fec0: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ +0032fed0: 3533 2d53 492d 3428 3233 290a 2020 2d20  53-SI-4(23).  - 
│ │ │ +0032fee0: 5043 492d 4453 532d 5265 712d 3130 2e31  PCI-DSS-Req-10.1
│ │ │ +0032fef0: 0a20 202d 2050 4349 2d44 5353 7634 2d31  .  - PCI-DSSv4-1
│ │ │ +0032ff00: 302e 320a 2020 2d20 5043 492d 4453 5376  0.2.  - PCI-DSSv
│ │ │ +0032ff10: 342d 3130 2e32 2e31 0a20 202d 2065 6e61  4-10.2.1.  - ena
│ │ │ +0032ff20: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +0032ff30: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +0032ff40: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +0032ff50: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ +0032ff60: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +0032ff70: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +0032ff80: 7365 7276 6963 655f 6175 6469 7464 5f65  service_auditd_e
│ │ │ +0032ff90: 6e61 626c 6564 0a3c 2f63 6f64 653e 3c2f  nabled.
Remedi │ │ │ +00330050: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ +00330060: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +00330070: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +003300f0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +00330120: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +00330140: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +00330150: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +00330170: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ +00330190: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +003301a0: 6465 2065 6e61 626c 655f 6175 6469 7464  de enable_auditd
│ │ │ +003301b0: 0a0a 636c 6173 7320 656e 6162 6c65 5f61  ..class enable_a
│ │ │ +003301c0: 7564 6974 6420 7b0a 2020 7365 7276 6963  uditd {.  servic
│ │ │ +003301d0: 6520 7b27 6175 6469 7464 273a 0a20 2020  e {'auditd':.   
│ │ │ +003301e0: 2065 6e61 626c 6520 3d26 6774 3b20 7472   enable => tr
│ │ │ +003301f0: 7565 2c0a 2020 2020 656e 7375 7265 203d  ue,.    ensure =
│ │ │ +00330200: 2667 743b 2027 7275 6e6e 696e 6727 2c0a  > 'running',.
│ │ │ +00330210: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ +003302d0: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu │ │ │ +003302e0: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet . │ │ │ +003302f0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
.[custom │ │ │ +00330340: 697a 6174 696f 6e73 2e73 6572 7669 6365 izations.service │ │ │ +00330350: 735d 0a65 6e61 626c 6564 203d 205b 2261 s].enabled = ["a │ │ │ +00330360: 7564 6974 6422 5d0a 3c2f 636f 6465 3e3c uditd"].< │ │ │ 00330370: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -170,14 +153,31 @@ │ │ │ │ - PCI-DSSv4-11.5.2 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_aide_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_aide │ │ │ │ + │ │ │ │ +class install_aide { │ │ │ │ + package { 'aide': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "aide" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -5345,31 +5345,14 @@ │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_pam_pwquality_installed │ │ │ │ _d_i_s_a CCI-000366 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00225 │ │ │ │ References: _s_t_i_g_i_d UBTU-20-010057 │ │ │ │ _c_i_s 5.3.1 │ │ │ │ _s_t_i_g_r_e_f SV-238228r653859_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "libpam-pwquality" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_libpam-pwquality │ │ │ │ - │ │ │ │ -class install_libpam-pwquality { │ │ │ │ - package { 'libpam-pwquality': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -5392,14 +5375,31 @@ │ │ │ │ - DISA-STIG-UBTU-20-010057 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_pam_pwquality_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_libpam-pwquality │ │ │ │ + │ │ │ │ +class install_libpam-pwquality { │ │ │ │ + package { 'libpam-pwquality': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "libpam-pwquality" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status}\n' 'libpam-runtime' 2>/dev/null | grep - │ │ │ │ @@ -5794,31 +5794,14 @@ │ │ │ │ reauthenticates. No other activity aside from reauthentication must unlock the system. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_vlock_installed │ │ │ │ _d_i_s_a CCI-000056, CCI-000057, CCI-000058, CCI-000060 │ │ │ │ References: _o_s_-_s_r_g SRG-OS-000028-GPOS-00009, SRG-OS-000030-GPOS-00011 │ │ │ │ _s_t_i_g_i_d UBTU-20-010005 │ │ │ │ _s_t_i_g_r_e_f SV-238200r653775_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "vlock" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_vlock │ │ │ │ - │ │ │ │ -class install_vlock { │ │ │ │ - package { 'vlock': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -5841,14 +5824,31 @@ │ │ │ │ - DISA-STIG-UBTU-20-010005 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - vlock_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_vlock │ │ │ │ + │ │ │ │ +class install_vlock { │ │ │ │ + package { 'vlock': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "vlock" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -5878,31 +5878,14 @@ │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_opensc_installed │ │ │ │ _d_i_s_a CCI-001953, CCI-004046 │ │ │ │ _i_s_m 1382, 1384, 1386 │ │ │ │ References: _n_i_s_t CM-6(a) │ │ │ │ _o_s_-_s_r_g SRG-OS-000375-GPOS-00160, SRG-OS-000376-GPOS-00161 │ │ │ │ _s_t_i_g_i_d UBTU-20-010064 │ │ │ │ _s_t_i_g_r_e_f SV-238231r853411_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "opensc-pkcs11" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_opensc-pkcs11 │ │ │ │ - │ │ │ │ -class install_opensc-pkcs11 { │ │ │ │ - package { 'opensc-pkcs11': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -5927,14 +5910,31 @@ │ │ │ │ - NIST-800-53-CM-6(a) │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_opensc_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_opensc-pkcs11 │ │ │ │ + │ │ │ │ +class install_opensc-pkcs11 { │ │ │ │ + package { 'opensc-pkcs11': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "opensc-pkcs11" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -5962,31 +5962,14 @@ │ │ │ │ _d_i_s_a CCI-000765, CCI-001953, CCI-001954, CCI-004046 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ _p_c_i_d_s_s Req-8.3 │ │ │ │ References: _o_s_-_s_r_g SRG-OS-000105-GPOS-00052, SRG-OS-000375-GPOS-00160, SRG-OS-000375-GPOS-00161, SRG-OS- │ │ │ │ 000377-GPOS-00162 │ │ │ │ _s_t_i_g_i_d UBTU-20-010063 │ │ │ │ _s_t_i_g_r_e_f SV-238230r853410_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "libpam-pkcs11" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_libpam-pkcs11 │ │ │ │ - │ │ │ │ -class install_libpam-pkcs11 { │ │ │ │ - package { 'libpam-pkcs11': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -6015,14 +5998,31 @@ │ │ │ │ - PCI-DSS-Req-8.3 │ │ │ │ - enable_strategy │ │ │ │ - install_smartcard_packages │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_libpam-pkcs11 │ │ │ │ + │ │ │ │ +class install_libpam-pkcs11 { │ │ │ │ + package { 'libpam-pkcs11': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "libpam-pkcs11" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ ' 'linux-base' 2>/dev/null | grep -q ^installed && { ! ( grep -sqE "^.*\.s390x$" /proc/sys/kernel/ │ │ │ │ osrelease || grep -sqE "^s390x$" /proc/sys/kernel/arch; ); }; then │ │ │ │ │ │ │ │ DEBIAN_FRONTEND=noninteractive apt-get install -y "libpam-pkcs11" │ │ │ │ @@ -7474,31 +7474,14 @@ │ │ │ │ _d_i_s_a CCI-001764, CCI-001774, CCI-002165, CCI-002235 │ │ │ │ _o_s_-_s_r_g SRG-OS-000368-GPOS-00154, SRG-OS-000312-GPOS-00122, SRG-OS-000312-GPOS-00123, SRG-OS- │ │ │ │ 000312-GPOS-00124, SRG-OS-000324-GPOS-00125, SRG-OS-000370-GPOS-00155 │ │ │ │ References: _s_t_i_g_i_d UBTU-20-010439 │ │ │ │ _c_i_s 1.7.1.1 │ │ │ │ _a_n_s_s_i R45 │ │ │ │ _s_t_i_g_r_e_f SV-238360r853435_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "apparmor" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_apparmor │ │ │ │ - │ │ │ │ -class install_apparmor { │ │ │ │ - package { 'apparmor': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Ensure apparmor is installed │ │ │ │ package: │ │ │ │ @@ -7509,14 +7492,31 @@ │ │ │ │ - DISA-STIG-UBTU-20-010439 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_apparmor_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_apparmor │ │ │ │ + │ │ │ │ +class install_apparmor { │ │ │ │ + package { 'apparmor': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "apparmor" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if [ ! -f /.dockerenv ] && [ ! -f /run/.containerenv ]; then │ │ │ │ @@ -7557,31 +7557,31 @@ │ │ │ │ SRG-OS-000312-GPOS-00122, SRG-OS-000312-GPOS-00123, SRG-OS-000312-GPOS-00124, SRG-OS- │ │ │ │ _o_s_-_s_r_g 000324-GPOS-00125, SRG-OS-000326-GPOS-00126, SRG-OS-000370-GPOS-00155, SRG-OS-000480- │ │ │ │ References: GPOS-00230, SRG-OS-000480-GPOS-00227, SRG-OS-000480-GPOS-00231, SRG-OS-000480-GPOS- │ │ │ │ 00232 │ │ │ │ _s_t_i_g_i_d UBTU-20-010439 │ │ │ │ _a_n_s_s_i R45 │ │ │ │ _s_t_i_g_r_e_f SV-238360r853435_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["apparmor"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ include enable_apparmor │ │ │ │ │ │ │ │ class enable_apparmor { │ │ │ │ service {'apparmor': │ │ │ │ enable => true, │ │ │ │ ensure => 'running', │ │ │ │ } │ │ │ │ } │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["apparmor"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if [ ! -f /.dockerenv ] && [ ! -f /run/.containerenv ]; then │ │ │ │ │ │ │ │ # Enable apparmor │ │ │ │ /usr/bin/systemctl enable "apparmor" │ │ │ │ if [[ $(/usr/bin/systemctl is-system-running) != "offline" ]]; then │ │ │ │ @@ -7902,31 +7902,14 @@ │ │ │ │ A.15.2.2, A.17.2.1 │ │ │ │ _n_i_s_t CM-6(a), AU-4(1) │ │ │ │ _n_i_s_t_-_c_s_f DE.CM-1, DE.CM-3, DE.CM-7, ID.SC-4, PR.DS-4, PR.PT-1 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00227 │ │ │ │ _s_t_i_g_i_d UBTU-20-010432 │ │ │ │ _c_i_s 4.2.1.2 │ │ │ │ _s_t_i_g_r_e_f SV-238353r654234_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["rsyslog"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_rsyslog │ │ │ │ - │ │ │ │ -class enable_rsyslog { │ │ │ │ - service {'rsyslog': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -7964,14 +7947,31 @@ │ │ │ │ - NIST-800-53-CM-6(a) │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_rsyslog_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_rsyslog │ │ │ │ + │ │ │ │ +class enable_rsyslog { │ │ │ │ + service {'rsyslog': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["rsyslog"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -8272,31 +8272,14 @@ │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_ufw_installed │ │ │ │ _d_i_s_a CCI-002314 │ │ │ │ _o_s_-_s_r_g SRG-OS-000297-GPOS-00115 │ │ │ │ References: _s_t_i_g_i_d UBTU-20-010433 │ │ │ │ _c_i_s 3.5.1.1 │ │ │ │ _s_t_i_g_r_e_f SV-238354r853429_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "ufw" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_ufw │ │ │ │ - │ │ │ │ -class install_ufw { │ │ │ │ - package { 'ufw': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -8319,14 +8302,31 @@ │ │ │ │ - DISA-STIG-UBTU-20-010433 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_ufw_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_ufw │ │ │ │ + │ │ │ │ +class install_ufw { │ │ │ │ + package { 'ufw': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "ufw" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -8344,31 +8344,14 @@ │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_ufw_enabled │ │ │ │ _d_i_s_a CCI-002314 │ │ │ │ _o_s_-_s_r_g SRG-OS-000297-GPOS-00115 │ │ │ │ References: _s_t_i_g_i_d UBTU-20-010434 │ │ │ │ _c_i_s 3.5.1.3 │ │ │ │ _s_t_i_g_r_e_f SV-238355r853430_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["ufw"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_ufw │ │ │ │ - │ │ │ │ -class enable_ufw { │ │ │ │ - service {'ufw': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -8404,14 +8387,31 @@ │ │ │ │ - DISA-STIG-UBTU-20-010434 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_ufw_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_ufw │ │ │ │ + │ │ │ │ +class enable_ufw { │ │ │ │ + service {'ufw': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["ufw"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -11319,50 +11319,14 @@ │ │ │ │ A.14.2.3, A.14.2.4, A.6.2.1, A.6.2.2, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4 │ │ │ │ _o_s_p_p FMT_SMF_EXT.1.1 │ │ │ │ _o_s_-_s_r_g SRG-OS-000269-GPOS-00103, SRG-OS-000480-GPOS-00227 │ │ │ │ _s_t_i_g_i_d UBTU-20-010413 │ │ │ │ _s_t_i_g_r_e_f SV-238334r654177_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -masked = ["kdump-tools"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: medium │ │ │ │ -RReebboooott:: true │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ -kind: MachineConfig │ │ │ │ -spec: │ │ │ │ - config: │ │ │ │ - ignition: │ │ │ │ - version: 3.1.0 │ │ │ │ - systemd: │ │ │ │ - units: │ │ │ │ - - name: kdump-tools.service │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ - - name: kdump-tools.socket │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include disable_kdump-tools │ │ │ │ - │ │ │ │ -class disable_kdump-tools { │ │ │ │ - service {'kdump-tools': │ │ │ │ - enable => false, │ │ │ │ - ensure => 'stopped', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -11456,14 +11420,50 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_kdump_disabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: medium │ │ │ │ +RReebboooott:: true │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ +kind: MachineConfig │ │ │ │ +spec: │ │ │ │ + config: │ │ │ │ + ignition: │ │ │ │ + version: 3.1.0 │ │ │ │ + systemd: │ │ │ │ + units: │ │ │ │ + - name: kdump-tools.service │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ + - name: kdump-tools.socket │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include disable_kdump-tools │ │ │ │ + │ │ │ │ +class disable_kdump-tools { │ │ │ │ + service {'kdump-tools': │ │ │ │ + enable => false, │ │ │ │ + ensure => 'stopped', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +masked = ["kdump-tools"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -11513,26 +11513,14 @@ │ │ │ │ 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.11.2.6, A.12.1.2, A.12.5.1, A.12.6.2, A.13.1.1, A.13.2.1, A.14.1.3, A.14.2.2, │ │ │ │ A.14.2.3, A.14.2.4, A.6.2.1, A.6.2.2, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4 │ │ │ │ _s_t_i_g_i_d UBTU-20-010405 │ │ │ │ _s_t_i_g_r_e_f SV-238326r877396_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_telnetd │ │ │ │ - │ │ │ │ -class remove_telnetd { │ │ │ │ - package { 'telnetd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure telnetd is removed │ │ │ │ package: │ │ │ │ @@ -11545,14 +11533,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_telnetd_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_telnetd │ │ │ │ + │ │ │ │ +class remove_telnetd { │ │ │ │ + package { 'telnetd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove telnetd │ │ │ │ @@ -11620,31 +11620,14 @@ │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ References: _o_s_-_s_r_g SRG-OS-000355-GPOS-00143 │ │ │ │ _s_t_i_g_i_d UBTU-20-010435 │ │ │ │ _c_i_s 2.2.1.1 │ │ │ │ _a_n_s_s_i R71 │ │ │ │ _p_c_i_d_s_s_4 10.6.1, 10.6 │ │ │ │ _s_t_i_g_r_e_f SV-238356r877038_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "chrony" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_chrony │ │ │ │ - │ │ │ │ -class install_chrony { │ │ │ │ - package { 'chrony': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -11673,14 +11656,31 @@ │ │ │ │ - PCI-DSSv4-10.6.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_chrony_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_chrony │ │ │ │ + │ │ │ │ +class install_chrony { │ │ │ │ + package { 'chrony': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "chrony" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -12110,26 +12110,14 @@ │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a), IA-5(1)(c) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.IP-1, PR.PT-3, PR.PT-4 │ │ │ │ _o_s_-_s_r_g SRG-OS-000095-GPOS-00049 │ │ │ │ _s_t_i_g_i_d UBTU-20-010406 │ │ │ │ _a_n_s_s_i R62 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ _s_t_i_g_r_e_f SV-238327r654156_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_rsh-server │ │ │ │ - │ │ │ │ -class remove_rsh-server { │ │ │ │ - package { 'rsh-server': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure rsh-server is removed │ │ │ │ package: │ │ │ │ @@ -12145,14 +12133,26 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_rsh-server_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_rsh-server │ │ │ │ + │ │ │ │ +class remove_rsh-server { │ │ │ │ + package { 'rsh-server': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove rsh-server │ │ │ │ @@ -14117,31 +14117,14 @@ │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.DS-2, PR.DS-5 │ │ │ │ _o_s_p_p FIA_UAU.5, FTP_ITC_EXT.1, FCS_SSH_EXT.1, FCS_SSHS_EXT.1 │ │ │ │ _o_s_-_s_r_g SRG-OS-000423-GPOS-00187, SRG-OS-000424-GPOS-00188, SRG-OS-000425-GPOS-00189, │ │ │ │ SRG-OS-000426-GPOS-00190 │ │ │ │ _s_t_i_g_i_d UBTU-20-010042 │ │ │ │ _s_t_i_g_r_e_f SV-238215r916422_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "openssh-server" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_openssh-server │ │ │ │ - │ │ │ │ -class install_openssh-server { │ │ │ │ - package { 'openssh-server': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -14166,14 +14149,31 @@ │ │ │ │ - NIST-800-53-CM-6(a) │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_openssh-server_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_openssh-server │ │ │ │ + │ │ │ │ +class install_openssh-server { │ │ │ │ + package { 'openssh-server': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "openssh-server" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -14208,31 +14208,14 @@ │ │ │ │ A.8.2.3, A.9.1.1, A.9.1.2, A.9.2.3, A.9.4.1, A.9.4.4, A.9.4.5 │ │ │ │ _n_i_s_t CM-6(a), SC-8, SC-8(1), SC-8(2), SC-8(3), SC-8(4) │ │ │ │ _n_i_s_t_-_c_s_f PR.DS-2, PR.DS-5 │ │ │ │ _o_s_-_s_r_g SRG-OS-000423-GPOS-00187, SRG-OS-000424-GPOS-00188, SRG-OS-000425-GPOS-00189, │ │ │ │ SRG-OS-000426-GPOS-00190 │ │ │ │ _s_t_i_g_i_d UBTU-20-010042 │ │ │ │ _s_t_i_g_r_e_f SV-238215r916422_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["ssh"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_ssh │ │ │ │ - │ │ │ │ -class enable_ssh { │ │ │ │ - service {'ssh': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -14284,14 +14267,31 @@ │ │ │ │ - NIST-800-53-SC-8(4) │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_sshd_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_ssh │ │ │ │ + │ │ │ │ +class enable_ssh { │ │ │ │ + service {'ssh': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["ssh"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -61078,31 +61078,14 @@ │ │ │ │ _h_i_p_a_a 164.308(a)(1)(ii)(D), 164.308(a)(5)(ii)(C), 164.310(a)(2)(iv), 164.310(d)(2)(iii), │ │ │ │ 164.312(b) │ │ │ │ References: _p_c_i_d_s_s Req-10.5.3 │ │ │ │ _o_s_-_s_r_g SRG-OS-000342-GPOS-00133 │ │ │ │ _s_t_i_g_i_d UBTU-20-010216 │ │ │ │ _p_c_i_d_s_s_4 10.3.3, 10.3 │ │ │ │ _s_t_i_g_r_e_f SV-238306r877390_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "audispd-plugins" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_audispd-plugins │ │ │ │ - │ │ │ │ -class install_audispd-plugins { │ │ │ │ - package { 'audispd-plugins': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -61131,14 +61114,31 @@ │ │ │ │ - PCI-DSSv4-10.3.3 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_audit-audispd-plugins_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_audispd-plugins │ │ │ │ + │ │ │ │ +class install_audispd-plugins { │ │ │ │ + package { 'audispd-plugins': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "audispd-plugins" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -61175,31 +61175,14 @@ │ │ │ │ GPOS-00142, SRG-OS-000358-GPOS-00145, SRG-OS-000365-GPOS-00152, SRG-OS-000392-GPOS- │ │ │ │ 00172, SRG-OS-000475-GPOS-00220 │ │ │ │ _s_t_i_g_i_d UBTU-20-010182 │ │ │ │ _c_i_s 4.1.1.1 │ │ │ │ _a_n_s_s_i R33, R73 │ │ │ │ _p_c_i_d_s_s_4 10.2.1, 10.2 │ │ │ │ _s_t_i_g_r_e_f SV-238298r853421_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "auditd" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_auditd │ │ │ │ - │ │ │ │ -class install_auditd { │ │ │ │ - package { 'auditd': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -61242,14 +61225,31 @@ │ │ │ │ - PCI-DSSv4-10.2.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_audit_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_auditd │ │ │ │ + │ │ │ │ +class install_auditd { │ │ │ │ + package { 'auditd': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "auditd" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -61309,31 +61309,14 @@ │ │ │ │ _a_p_p_-_s_r_g_-_c_t_r SRG-APP-000095-CTR-000170, SRG-APP-000409-CTR-000990, SRG-APP-000508-CTR- │ │ │ │ 001300, SRG-APP-000510-CTR-001310 │ │ │ │ _s_t_i_g_i_d UBTU-20-010182 │ │ │ │ _c_i_s 4.1.1.2 │ │ │ │ _a_n_s_s_i R33, R73 │ │ │ │ _p_c_i_d_s_s_4 10.2.1, 10.2 │ │ │ │ _s_t_i_g_r_e_f SV-238298r853421_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["auditd"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_auditd │ │ │ │ - │ │ │ │ -class enable_auditd { │ │ │ │ - service {'auditd': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -61401,14 +61384,31 @@ │ │ │ │ - PCI-DSSv4-10.2.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_auditd_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_auditd │ │ │ │ + │ │ │ │ +class enable_auditd { │ │ │ │ + service {'auditd': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["auditd"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ ├── ./usr/share/doc/ssg-debderived/ssg-ubuntu2204-guide-cis_level1_server.html │ │ │ @@ -15122,137 +15122,137 @@ │ │ │ 0003b110: 6574 3d22 2369 646d 3239 3235 2220 7461 et="#idm2925" ta │ │ │ 0003b120: 6269 6e64 6578 3d22 3022 2072 6f6c 653d bindex="0" role= │ │ │ 0003b130: 2262 7574 746f 6e22 2061 7269 612d 6578 "button" aria-ex │ │ │ 0003b140: 7061 6e64 6564 3d22 6661 6c73 6522 2074 panded="false" t │ │ │ 0003b150: 6974 6c65 3d22 4163 7469 7661 7465 2074 itle="Activate t │ │ │ 0003b160: 6f20 7265 7665 616c 2220 6872 6566 3d22 o reveal" href=" │ │ │ 0003b170: 2321 223e 5265 6d65 6469 6174 696f 6e20 #!">Remediation │ │ │ -0003b180: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin │ │ │ -0003b190: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
.[[packages]].
│ │ │ -0003b1f0: 6e61 6d65 203d 2022 6169 6465 220a 7665  name = "aide".ve
│ │ │ -0003b200: 7273 696f 6e20 3d20 222a 220a 3c2f 636f  rsion = "*".
< │ │ │ -0003b220: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -0003b230: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -0003b240: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -0003b250: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -0003b260: 646d 3239 3236 2220 7461 6269 6e64 6578 dm2926" tabindex │ │ │ -0003b270: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ -0003b280: 6e22 2061 7269 612d 6578 7061 6e64 6564 n" aria-expanded │ │ │ -0003b290: 3d22 6661 6c73 6522 2074 6974 6c65 3d22 ="false" title=" │ │ │ -0003b2a0: 4163 7469 7661 7465 2074 6f20 7265 7665 Activate to reve │ │ │ -0003b2b0: 616c 2220 6872 6566 3d22 2321 223e 5265 al" href="#!">Re │ │ │ -0003b2c0: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -0003b2d0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -0003b2e0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
│ │ │ -0003b370: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
in
│ │ │ -0003b410: 636c 7564 6520 696e 7374 616c 6c5f 6169  clude install_ai
│ │ │ -0003b420: 6465 0a0a 636c 6173 7320 696e 7374 616c  de..class instal
│ │ │ -0003b430: 6c5f 6169 6465 207b 0a20 2070 6163 6b61  l_aide {.  packa
│ │ │ -0003b440: 6765 207b 2027 6169 6465 273a 0a20 2020  ge { 'aide':.   
│ │ │ -0003b450: 2065 6e73 7572 6520 3d26 6774 3b20 2769   ensure => 'i
│ │ │ -0003b460: 6e73 7461 6c6c 6564 272c 0a20 207d 0a7d  nstalled',.  }.}
│ │ │ -0003b470: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation A │ │ │ -0003b530: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet . │ │ │ -0003b540: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -0003b600: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -0003b610: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
│ │ │ -0003b360: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -0003b390: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -0003b3a0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -0003b3e0: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ -0003b3f0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexity │ │ │ -0003b5d0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ -0003b5f0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ -0003b620: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ -0003b640: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
- name: Gath
│ │ │ -0003b680: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ -0003b690: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ -0003b6a0: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ -0003b6b0: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ -0003b6c0: 2020 2d20 434a 4953 2d35 2e31 302e 312e    - CJIS-5.10.1.
│ │ │ -0003b6d0: 330a 2020 2d20 4449 5341 2d53 5449 472d  3.  - DISA-STIG-
│ │ │ -0003b6e0: 5542 5455 2d32 322d 3635 3130 3130 0a20  UBTU-22-651010. 
│ │ │ -0003b6f0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -0003b700: 4d2d 3628 6129 0a20 202d 2050 4349 2d44  M-6(a).  - PCI-D
│ │ │ -0003b710: 5353 2d52 6571 2d31 312e 350a 2020 2d20  SS-Req-11.5.  - 
│ │ │ -0003b720: 5043 492d 4453 5376 342d 3131 2e35 2e32  PCI-DSSv4-11.5.2
│ │ │ -0003b730: 0a20 202d 2065 6e61 626c 655f 7374 7261  .  - enable_stra
│ │ │ -0003b740: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ -0003b750: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -0003b760: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ -0003b770: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ -0003b780: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -0003b790: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ -0003b7a0: 6169 6465 5f69 6e73 7461 6c6c 6564 0a0a  aide_installed..
│ │ │ -0003b7b0: 2d20 6e61 6d65 3a20 456e 7375 7265 2061  - name: Ensure a
│ │ │ -0003b7c0: 6964 6520 6973 2069 6e73 7461 6c6c 6564  ide is installed
│ │ │ -0003b7d0: 0a20 2070 6163 6b61 6765 3a0a 2020 2020  .  package:.    
│ │ │ -0003b7e0: 6e61 6d65 3a20 6169 6465 0a20 2020 2073  name: aide.    s
│ │ │ -0003b7f0: 7461 7465 3a20 7072 6573 656e 740a 2020  tate: present.  
│ │ │ -0003b800: 7768 656e 3a20 2722 6c69 6e75 782d 6261  when: '"linux-ba
│ │ │ -0003b810: 7365 2220 696e 2061 6e73 6962 6c65 5f66  se" in ansible_f
│ │ │ -0003b820: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ -0003b830: 2074 6167 733a 0a20 202d 2043 4a49 532d   tags:.  - CJIS-
│ │ │ -0003b840: 352e 3130 2e31 2e33 0a20 202d 2044 4953  5.10.1.3.  - DIS
│ │ │ -0003b850: 412d 5354 4947 2d55 4254 552d 3232 2d36  A-STIG-UBTU-22-6
│ │ │ -0003b860: 3531 3031 300a 2020 2d20 4e49 5354 2d38  51010.  - NIST-8
│ │ │ -0003b870: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ -0003b880: 2d20 5043 492d 4453 532d 5265 712d 3131  - PCI-DSS-Req-11
│ │ │ -0003b890: 2e35 0a20 202d 2050 4349 2d44 5353 7634  .5.  - PCI-DSSv4
│ │ │ -0003b8a0: 2d31 312e 352e 320a 2020 2d20 656e 6162  -11.5.2.  - enab
│ │ │ -0003b8b0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -0003b8c0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -0003b8d0: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -0003b8e0: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ -0003b8f0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -0003b900: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ -0003b910: 6163 6b61 6765 5f61 6964 655f 696e 7374  ackage_aide_inst
│ │ │ -0003b920: 616c 6c65 640a 3c2f 636f 6465 3e3c 2f70  alled.


< │ │ │ +0003b210: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +0003b220: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +0003b240: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +0003b250: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +0003b270: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +0003b290: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:enable
<
│ │ │ +0003b2c0: 636f 6465 3e2d 206e 616d 653a 2047 6174  code>- name: Gat
│ │ │ +0003b2d0: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ +0003b2e0: 6661 6374 730a 2020 7061 636b 6167 655f  facts.  package_
│ │ │ +0003b2f0: 6661 6374 733a 0a20 2020 206d 616e 6167  facts:.    manag
│ │ │ +0003b300: 6572 3a20 6175 746f 0a20 2074 6167 733a  er: auto.  tags:
│ │ │ +0003b310: 0a20 202d 2043 4a49 532d 352e 3130 2e31  .  - CJIS-5.10.1
│ │ │ +0003b320: 2e33 0a20 202d 2044 4953 412d 5354 4947  .3.  - DISA-STIG
│ │ │ +0003b330: 2d55 4254 552d 3232 2d36 3531 3031 300a  -UBTU-22-651010.
│ │ │ +0003b340: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +0003b350: 434d 2d36 2861 290a 2020 2d20 5043 492d  CM-6(a).  - PCI-
│ │ │ +0003b360: 4453 532d 5265 712d 3131 2e35 0a20 202d  DSS-Req-11.5.  -
│ │ │ +0003b370: 2050 4349 2d44 5353 7634 2d31 312e 352e   PCI-DSSv4-11.5.
│ │ │ +0003b380: 320a 2020 2d20 656e 6162 6c65 5f73 7472  2.  - enable_str
│ │ │ +0003b390: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ +0003b3a0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +0003b3b0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +0003b3c0: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ +0003b3d0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ +0003b3e0: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ +0003b3f0: 5f61 6964 655f 696e 7374 616c 6c65 640a  _aide_installed.
│ │ │ +0003b400: 0a2d 206e 616d 653a 2045 6e73 7572 6520  .- name: Ensure 
│ │ │ +0003b410: 6169 6465 2069 7320 696e 7374 616c 6c65  aide is installe
│ │ │ +0003b420: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ +0003b430: 206e 616d 653a 2061 6964 650a 2020 2020   name: aide.    
│ │ │ +0003b440: 7374 6174 653a 2070 7265 7365 6e74 0a20  state: present. 
│ │ │ +0003b450: 2077 6865 6e3a 2027 226c 696e 7578 2d62   when: '"linux-b
│ │ │ +0003b460: 6173 6522 2069 6e20 616e 7369 626c 655f  ase" in ansible_
│ │ │ +0003b470: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ +0003b480: 2020 7461 6773 3a0a 2020 2d20 434a 4953    tags:.  - CJIS
│ │ │ +0003b490: 2d35 2e31 302e 312e 330a 2020 2d20 4449  -5.10.1.3.  - DI
│ │ │ +0003b4a0: 5341 2d53 5449 472d 5542 5455 2d32 322d  SA-STIG-UBTU-22-
│ │ │ +0003b4b0: 3635 3130 3130 0a20 202d 204e 4953 542d  651010.  - NIST-
│ │ │ +0003b4c0: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ +0003b4d0: 202d 2050 4349 2d44 5353 2d52 6571 2d31   - PCI-DSS-Req-1
│ │ │ +0003b4e0: 312e 350a 2020 2d20 5043 492d 4453 5376  1.5.  - PCI-DSSv
│ │ │ +0003b4f0: 342d 3131 2e35 2e32 0a20 202d 2065 6e61  4-11.5.2.  - ena
│ │ │ +0003b500: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +0003b510: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +0003b520: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +0003b530: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ +0003b540: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +0003b550: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +0003b560: 7061 636b 6167 655f 6169 6465 5f69 6e73  package_aide_ins
│ │ │ +0003b570: 7461 6c6c 6564 0a3c 2f63 6f64 653e 3c2f  talled.
Remedia │ │ │ +0003b630: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ +0003b640: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +0003b650: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +0003b660: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +0003b670: 7365 2220 6964 3d22 6964 6d32 3932 3622 se" id="idm2926" │ │ │ +0003b680: 3e3c 7461 626c 6520 636c 6173 733d 2274 > │ │ │ +0003b6f0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +0003b710: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +0003b740: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +0003b6d0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +0003b6e0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +0003b700: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +0003b720: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +0003b730: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

include │ │ │ +0003b780: 2069 6e73 7461 6c6c 5f61 6964 650a 0a63 install_aide..c │ │ │ +0003b790: 6c61 7373 2069 6e73 7461 6c6c 5f61 6964 lass install_aid │ │ │ +0003b7a0: 6520 7b0a 2020 7061 636b 6167 6520 7b20 e {. package { │ │ │ +0003b7b0: 2761 6964 6527 3a0a 2020 2020 656e 7375 'aide':. ensu │ │ │ +0003b7c0: 7265 203d 2667 743b 2027 696e 7374 616c re => 'instal │ │ │ +0003b7d0: 6c65 6427 2c0a 2020 7d0a 7d0a 3c2f 636f led',. }.}.

< │ │ │ +0003b7f0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +0003b800: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +0003b810: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +0003b820: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +0003b830: 646d 3239 3237 2220 7461 6269 6e64 6578 dm2927" tabindex │ │ │ +0003b840: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ +0003b850: 6e22 2061 7269 612d 6578 7061 6e64 6564 n" aria-expanded │ │ │ +0003b860: 3d22 6661 6c73 6522 2074 6974 6c65 3d22 ="false" title=" │ │ │ +0003b870: 4163 7469 7661 7465 2074 6f20 7265 7665 Activate to reve │ │ │ +0003b880: 616c 2220 6872 6566 3d22 2321 223e 5265 al" href="#!">Re │ │ │ +0003b890: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil │ │ │ +0003b8a0: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip │ │ │ +0003b8b0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +0003b8c0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +0003b8d0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +0003b8e0: 7365 2220 6964 3d22 6964 6d32 3932 3722 se" id="idm2927" │ │ │ +0003b8f0: 3e3c 7072 653e 3c63 6f64 653e 0a5b 5b70 >
.[[p
│ │ │ +0003b900: 6163 6b61 6765 735d 5d0a 6e61 6d65 203d  ackages]].name =
│ │ │ +0003b910: 2022 6169 6465 220a 7665 7273 696f 6e20   "aide".version 
│ │ │ +0003b920: 3d20 222a 220a 3c2f 636f 6465 3e3c 2f70  = "*".

Remedi │ │ │ -00043840: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ -00043850: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -00043860: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Comp │ │ │ -000438e0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -000438f0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -00043910: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -00043930: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -00043940: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ -00043980: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -00043990: 6465 2072 656d 6f76 655f 7072 656c 696e  de remove_prelin
│ │ │ -000439a0: 6b0a 0a63 6c61 7373 2072 656d 6f76 655f  k..class remove_
│ │ │ -000439b0: 7072 656c 696e 6b20 7b0a 2020 7061 636b  prelink {.  pack
│ │ │ -000439c0: 6167 6520 7b20 2770 7265 6c69 6e6b 273a  age { 'prelink':
│ │ │ -000439d0: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ -000439e0: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a  ; 'purged',.  }.
│ │ │ -000439f0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ -00043a00: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -00043ab0: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -00043ac0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
< │ │ │ -00043b40: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -00043b50: 793a 3c2f 7468 3e3c 7464 3e6d 6564 6975 y:mediu │ │ │ -00043b60: 6d3c 2f74 643e 3c2f 7472 3e3c 7472 3e3c m< │ │ │ -00043b70: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:low< │ │ │ -00043b90: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>Rebo │ │ │ -00043ba0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -00043bb0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e< │ │ │ -00043bc0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable

- name: │ │ │ -00043c00: 2043 6865 636b 2049 6620 5072 656c 696e Check If Prelin │ │ │ -00043c10: 6b65 6420 4973 2049 6e73 7461 6c6c 6564 ked Is Installed │ │ │ -00043c20: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74 . ansible.built │ │ │ -00043c30: 696e 2e73 7461 743a 0a20 2020 2070 6174 in.stat:. pat │ │ │ -00043c40: 683a 202f 7573 722f 7362 696e 2f70 7265 h: /usr/sbin/pre │ │ │ -00043c50: 6c69 6e6b 0a20 2020 2067 6574 5f63 6865 link. get_che │ │ │ -00043c60: 636b 7375 6d3a 2066 616c 7365 0a20 2072 cksum: false. r │ │ │ -00043c70: 6567 6973 7465 723a 2070 7265 6c69 6e6b egister: prelink │ │ │ -00043c80: 0a20 2074 6167 733a 0a20 202d 2064 6973 . tags:. - dis │ │ │ -00043c90: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy. │ │ │ -00043ca0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption │ │ │ -00043cb0: 0a20 202d 206d 6564 6975 6d5f 636f 6d70 . - medium_comp │ │ │ -00043cc0: 6c65 7869 7479 0a20 202d 206d 6564 6975 lexity. - mediu │ │ │ -00043cd0: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n │ │ │ -00043ce0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed. │ │ │ -00043cf0: 2020 2d20 7061 636b 6167 655f 7072 656c - package_prel │ │ │ -00043d00: 696e 6b5f 7265 6d6f 7665 640a 0a2d 206e ink_removed..- n │ │ │ -00043d10: 616d 653a 2052 6573 746f 7265 2050 7265 ame: Restore Pre │ │ │ -00043d20: 6c69 6e6b 6564 2042 696e 6172 6965 730a linked Binaries. │ │ │ -00043d30: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti │ │ │ -00043d40: 6e2e 636f 6d6d 616e 643a 0a20 2020 2063 n.command:. c │ │ │ -00043d50: 6d64 3a20 7072 656c 696e 6b20 2d75 610a md: prelink -ua. │ │ │ -00043d60: 2020 7768 656e 3a20 7072 656c 696e 6b2e when: prelink. │ │ │ -00043d70: 7374 6174 2e65 7869 7374 730a 2020 7461 stat.exists. ta │ │ │ -00043d80: 6773 3a0a 2020 2d20 6469 7361 626c 655f gs:. - disable_ │ │ │ -00043d90: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low │ │ │ -00043da0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. - │ │ │ -00043db0: 6d65 6469 756d 5f63 6f6d 706c 6578 6974 medium_complexit │ │ │ -00043dc0: 790a 2020 2d20 6d65 6469 756d 5f73 6576 y. - medium_sev │ │ │ -00043dd0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562 erity. - no_reb │ │ │ -00043de0: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p │ │ │ -00043df0: 6163 6b61 6765 5f70 7265 6c69 6e6b 5f72 ackage_prelink_r │ │ │ -00043e00: 656d 6f76 6564 0a0a 2d20 6e61 6d65 3a20 emoved..- name: │ │ │ -00043e10: 456e 7375 7265 2070 7265 6c69 6e6b 2069 Ensure prelink i │ │ │ -00043e20: 7320 5265 6d6f 7665 640a 2020 616e 7369 s Removed. ansi │ │ │ -00043e30: 626c 652e 6275 696c 7469 6e2e 7061 636b ble.builtin.pack │ │ │ -00043e40: 6167 653a 0a20 2020 206e 616d 653a 2070 age:. name: p │ │ │ -00043e50: 7265 6c69 6e6b 0a20 2020 2073 7461 7465 relink. state │ │ │ -00043e60: 3a20 6162 7365 6e74 0a20 2074 6167 733a : absent. tags: │ │ │ -00043e70: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str │ │ │ -00043e80: 6174 6567 790a 2020 2d20 6c6f 775f 6469 ategy. - low_di │ │ │ -00043e90: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med │ │ │ -00043ea0: 6975 6d5f 636f 6d70 6c65 7869 7479 0a20 ium_complexity. │ │ │ -00043eb0: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi │ │ │ -00043ec0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot │ │ │ -00043ed0: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack │ │ │ -00043ee0: 6167 655f 7072 656c 696e 6b5f 7265 6d6f age_prelink_remo │ │ │ -00043ef0: 7665 640a 3c2f 636f 6465 3e3c 2f70 7265 ved.


Reboot:false
-
│ │ │ +00043990: 206e 616d 653a 2043 6865 636b 2049 6620   name: Check If 
│ │ │ +000439a0: 5072 656c 696e 6b65 6420 4973 2049 6e73  Prelinked Is Ins
│ │ │ +000439b0: 7461 6c6c 6564 0a20 2061 6e73 6962 6c65  talled.  ansible
│ │ │ +000439c0: 2e62 7569 6c74 696e 2e73 7461 743a 0a20  .builtin.stat:. 
│ │ │ +000439d0: 2020 2070 6174 683a 202f 7573 722f 7362     path: /usr/sb
│ │ │ +000439e0: 696e 2f70 7265 6c69 6e6b 0a20 2020 2067  in/prelink.    g
│ │ │ +000439f0: 6574 5f63 6865 636b 7375 6d3a 2066 616c  et_checksum: fal
│ │ │ +00043a00: 7365 0a20 2072 6567 6973 7465 723a 2070  se.  register: p
│ │ │ +00043a10: 7265 6c69 6e6b 0a20 2074 6167 733a 0a20  relink.  tags:. 
│ │ │ +00043a20: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ +00043a30: 6567 790a 2020 2d20 6c6f 775f 6469 7372  egy.  - low_disr
│ │ │ +00043a40: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +00043a50: 6d5f 636f 6d70 6c65 7869 7479 0a20 202d  m_complexity.  -
│ │ │ +00043a60: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ +00043a70: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +00043a80: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ +00043a90: 655f 7072 656c 696e 6b5f 7265 6d6f 7665  e_prelink_remove
│ │ │ +00043aa0: 640a 0a2d 206e 616d 653a 2052 6573 746f  d..- name: Resto
│ │ │ +00043ab0: 7265 2050 7265 6c69 6e6b 6564 2042 696e  re Prelinked Bin
│ │ │ +00043ac0: 6172 6965 730a 2020 616e 7369 626c 652e  aries.  ansible.
│ │ │ +00043ad0: 6275 696c 7469 6e2e 636f 6d6d 616e 643a  builtin.command:
│ │ │ +00043ae0: 0a20 2020 2063 6d64 3a20 7072 656c 696e  .    cmd: prelin
│ │ │ +00043af0: 6b20 2d75 610a 2020 7768 656e 3a20 7072  k -ua.  when: pr
│ │ │ +00043b00: 656c 696e 6b2e 7374 6174 2e65 7869 7374  elink.stat.exist
│ │ │ +00043b10: 730a 2020 7461 6773 3a0a 2020 2d20 6469  s.  tags:.  - di
│ │ │ +00043b20: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ +00043b30: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +00043b40: 6e0a 2020 2d20 6d65 6469 756d 5f63 6f6d  n.  - medium_com
│ │ │ +00043b50: 706c 6578 6974 790a 2020 2d20 6d65 6469  plexity.  - medi
│ │ │ +00043b60: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ +00043b70: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +00043b80: 0a20 202d 2070 6163 6b61 6765 5f70 7265  .  - package_pre
│ │ │ +00043b90: 6c69 6e6b 5f72 656d 6f76 6564 0a0a 2d20  link_removed..- 
│ │ │ +00043ba0: 6e61 6d65 3a20 456e 7375 7265 2070 7265  name: Ensure pre
│ │ │ +00043bb0: 6c69 6e6b 2069 7320 5265 6d6f 7665 640a  link is Removed.
│ │ │ +00043bc0: 2020 616e 7369 626c 652e 6275 696c 7469    ansible.builti
│ │ │ +00043bd0: 6e2e 7061 636b 6167 653a 0a20 2020 206e  n.package:.    n
│ │ │ +00043be0: 616d 653a 2070 7265 6c69 6e6b 0a20 2020  ame: prelink.   
│ │ │ +00043bf0: 2073 7461 7465 3a20 6162 7365 6e74 0a20   state: absent. 
│ │ │ +00043c00: 2074 6167 733a 0a20 202d 2064 6973 6162   tags:.  - disab
│ │ │ +00043c10: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +00043c20: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +00043c30: 202d 206d 6564 6975 6d5f 636f 6d70 6c65   - medium_comple
│ │ │ +00043c40: 7869 7479 0a20 202d 206d 6564 6975 6d5f  xity.  - medium_
│ │ │ +00043c50: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +00043c60: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +00043c70: 2d20 7061 636b 6167 655f 7072 656c 696e  - package_prelin
│ │ │ +00043c80: 6b5f 7265 6d6f 7665 640a 3c2f 636f 6465  k_removed.
Reme │ │ │ +00043d40: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ +00043d50: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
Com │ │ │ +000438e0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:medium
Disrupt │ │ │ +00043910: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +00043920: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +00043960: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +00043970: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
low< │ │ │ +00043e00: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +00043e50: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ +00043e90: 6c75 6465 2072 656d 6f76 655f 7072 656c  lude remove_prel
│ │ │ +00043ea0: 696e 6b0a 0a63 6c61 7373 2072 656d 6f76  ink..class remov
│ │ │ +00043eb0: 655f 7072 656c 696e 6b20 7b0a 2020 7061  e_prelink {.  pa
│ │ │ +00043ec0: 636b 6167 6520 7b20 2770 7265 6c69 6e6b  ckage { 'prelink
│ │ │ +00043ed0: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ +00043ee0: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ +00043ef0: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediation OSB │ │ │ -00056060: 7569 6c64 2042 6c75 6570 7269 6e74 2073 uild Blueprint s │ │ │ -00056070: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
.
│ │ │ -000560c0: 5b5b 7061 636b 6167 6573 5d5d 0a6e 616d  [[packages]].nam
│ │ │ -000560d0: 6520 3d20 2273 7564 6f22 0a76 6572 7369  e = "sudo".versi
│ │ │ -000560e0: 6f6e 203d 2022 2a22 0a3c 2f63 6f64 653e  on = "*".
│ │ │ -000560f0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Remed │ │ │ -000561a0: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ -000561b0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Co │ │ │ +00043de0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +00043e10: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +00043e30: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +00043e40: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +00043e60: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +00043e70: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Com │ │ │ -00056240: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -00056270: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -00056290: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -000562a0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -000562c0: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ -000562e0: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -000562f0: 6465 2069 6e73 7461 6c6c 5f73 7564 6f0a  de install_sudo.
│ │ │ -00056300: 0a63 6c61 7373 2069 6e73 7461 6c6c 5f73  .class install_s
│ │ │ -00056310: 7564 6f20 7b0a 2020 7061 636b 6167 6520  udo {.  package 
│ │ │ -00056320: 7b20 2773 7564 6f27 3a0a 2020 2020 656e  { 'sudo':.    en
│ │ │ -00056330: 7375 7265 203d 2667 743b 2027 696e 7374  sure => 'inst
│ │ │ -00056340: 616c 6c65 6427 2c0a 2020 7d0a 7d0a 3c2f  alled',.  }.}.
│ │ │ -00056400: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi │ │ │ -00056410: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...< │ │ │ -00056420: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
< │ │ │ -000564a0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -000564c0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -00056510: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
- name: Gather 
│ │ │ -00056560: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ -00056570: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ -00056580: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ -00056590: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ -000565a0: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -000565b0: 3628 6129 0a20 202d 2050 4349 2d44 5353  6(a).  - PCI-DSS
│ │ │ -000565c0: 7634 2d32 2e32 0a20 202d 2050 4349 2d44  v4-2.2.  - PCI-D
│ │ │ -000565d0: 5353 7634 2d32 2e32 2e36 0a20 202d 2065  SSv4-2.2.6.  - e
│ │ │ -000565e0: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ -000565f0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -00056600: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -00056610: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ -00056620: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -00056630: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -00056640: 2d20 7061 636b 6167 655f 7375 646f 5f69  - package_sudo_i
│ │ │ -00056650: 6e73 7461 6c6c 6564 0a0a 2d20 6e61 6d65  nstalled..- name
│ │ │ -00056660: 3a20 456e 7375 7265 2073 7564 6f20 6973  : Ensure sudo is
│ │ │ -00056670: 2069 6e73 7461 6c6c 6564 0a20 2070 6163   installed.  pac
│ │ │ -00056680: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20  kage:.    name: 
│ │ │ -00056690: 7375 646f 0a20 2020 2073 7461 7465 3a20  sudo.    state: 
│ │ │ -000566a0: 7072 6573 656e 740a 2020 7768 656e 3a20  present.  when: 
│ │ │ -000566b0: 2722 6c69 6e75 782d 6261 7365 2220 696e  '"linux-base" in
│ │ │ -000566c0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ -000566d0: 6163 6b61 6765 7327 0a20 2074 6167 733a  ackages'.  tags:
│ │ │ -000566e0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -000566f0: 2d43 4d2d 3628 6129 0a20 202d 2050 4349  -CM-6(a).  - PCI
│ │ │ -00056700: 2d44 5353 7634 2d32 2e32 0a20 202d 2050  -DSSv4-2.2.  - P
│ │ │ -00056710: 4349 2d44 5353 7634 2d32 2e32 2e36 0a20  CI-DSSv4-2.2.6. 
│ │ │ -00056720: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ -00056730: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ -00056740: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -00056750: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ -00056760: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ -00056770: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -00056780: 640a 2020 2d20 7061 636b 6167 655f 7375  d.  - package_su
│ │ │ -00056790: 646f 5f69 6e73 7461 6c6c 6564 0a3c 2f63  do_installed.Remediation Ans
│ │ │ +00056060: 6962 6c65 2073 6e69 7070 6574 20e2 87b2  ible snippet ...
│ │ │ +00056070: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61  
low
Disr │ │ │ -000564d0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -000564e0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -00056520: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ -00056530: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ +000560f0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +00056110: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +00056160: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ +00056190: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Gather
│ │ │ +000561b0: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ +000561c0: 7473 0a20 2070 6163 6b61 6765 5f66 6163  ts.  package_fac
│ │ │ +000561d0: 7473 3a0a 2020 2020 6d61 6e61 6765 723a  ts:.    manager:
│ │ │ +000561e0: 2061 7574 6f0a 2020 7461 6773 3a0a 2020   auto.  tags:.  
│ │ │ +000561f0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +00056200: 2d36 2861 290a 2020 2d20 5043 492d 4453  -6(a).  - PCI-DS
│ │ │ +00056210: 5376 342d 322e 320a 2020 2d20 5043 492d  Sv4-2.2.  - PCI-
│ │ │ +00056220: 4453 5376 342d 322e 322e 360a 2020 2d20  DSSv4-2.2.6.  - 
│ │ │ +00056230: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ +00056240: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +00056250: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +00056260: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ +00056270: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +00056280: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +00056290: 202d 2070 6163 6b61 6765 5f73 7564 6f5f   - package_sudo_
│ │ │ +000562a0: 696e 7374 616c 6c65 640a 0a2d 206e 616d  installed..- nam
│ │ │ +000562b0: 653a 2045 6e73 7572 6520 7375 646f 2069  e: Ensure sudo i
│ │ │ +000562c0: 7320 696e 7374 616c 6c65 640a 2020 7061  s installed.  pa
│ │ │ +000562d0: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ +000562e0: 2073 7564 6f0a 2020 2020 7374 6174 653a   sudo.    state:
│ │ │ +000562f0: 2070 7265 7365 6e74 0a20 2077 6865 6e3a   present.  when:
│ │ │ +00056300: 2027 226c 696e 7578 2d62 6173 6522 2069   '"linux-base" i
│ │ │ +00056310: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +00056320: 7061 636b 6167 6573 270a 2020 7461 6773  packages'.  tags
│ │ │ +00056330: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ +00056340: 332d 434d 2d36 2861 290a 2020 2d20 5043  3-CM-6(a).  - PC
│ │ │ +00056350: 492d 4453 5376 342d 322e 320a 2020 2d20  I-DSSv4-2.2.  - 
│ │ │ +00056360: 5043 492d 4453 5376 342d 322e 322e 360a  PCI-DSSv4-2.2.6.
│ │ │ +00056370: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ +00056380: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +00056390: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +000563a0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ +000563b0: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ +000563c0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +000563d0: 6564 0a20 202d 2070 6163 6b61 6765 5f73  ed.  - package_s
│ │ │ +000563e0: 7564 6f5f 696e 7374 616c 6c65 640a 3c2f  udo_installed.
│ │ │ +000564a0: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ +000564b0: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
Complexity:< │ │ │ +00056100: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +00056120: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +00056170: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ +00056180: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
Complexity: │ │ │ +00056590: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +000565a0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ +000565f0: 696e 636c 7564 6520 696e 7374 616c 6c5f  include install_
│ │ │ +00056600: 7375 646f 0a0a 636c 6173 7320 696e 7374  sudo..class inst
│ │ │ +00056610: 616c 6c5f 7375 646f 207b 0a20 2070 6163  all_sudo {.  pac
│ │ │ +00056620: 6b61 6765 207b 2027 7375 646f 273a 0a20  kage { 'sudo':. 
│ │ │ +00056630: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ +00056640: 2769 6e73 7461 6c6c 6564 272c 0a20 207d  'installed',.  }
│ │ │ +00056650: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ +00056660: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation │ │ │ +00056710: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ +00056720: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
.[[packages]]
│ │ │ +00056780: 0a6e 616d 6520 3d20 2273 7564 6f22 0a76  .name = "sudo".v
│ │ │ +00056790: 6572 7369 6f6e 203d 2022 2a22 0a3c 2f63  ersion = "*".
│ │ │ 000567b0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274
Remediat │ │ │ -00090040: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue │ │ │ -00090050: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet .. │ │ │ -00090060: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
│ │ │ -000900a0: 3c63 6f64 653e 0a5b 5b70 6163 6b61 6765  .[[package
│ │ │ -000900b0: 735d 5d0a 6e61 6d65 203d 2022 6c69 6270  s]].name = "libp
│ │ │ -000900c0: 616d 2d70 7771 7561 6c69 7479 220a 7665  am-pwquality".ve
│ │ │ -000900d0: 7273 696f 6e20 3d20 222a 220a 3c2f 636f  rsion = "*".
< │ │ │ -000900f0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -00090100: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -00090110: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -00090120: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -00090130: 646d 3534 3038 2220 7461 6269 6e64 6578 dm5408" tabindex │ │ │ -00090140: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ -00090150: 6e22 2061 7269 612d 6578 7061 6e64 6564 n" aria-expanded │ │ │ -00090160: 3d22 6661 6c73 6522 2074 6974 6c65 3d22 ="false" title=" │ │ │ -00090170: 4163 7469 7661 7465 2074 6f20 7265 7665 Activate to reve │ │ │ -00090180: 616c 2220 6872 6566 3d22 2321 223e 5265 al" href="#!">Re │ │ │ -00090190: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -000901a0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -000901b0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
low
Disru │ │ │ +00056570: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +00056580: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +000565c0: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ +000565d0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -00090240: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
in
│ │ │ -000902e0: 636c 7564 6520 696e 7374 616c 6c5f 6c69  clude install_li
│ │ │ -000902f0: 6270 616d 2d70 7771 7561 6c69 7479 0a0a  bpam-pwquality..
│ │ │ -00090300: 636c 6173 7320 696e 7374 616c 6c5f 6c69  class install_li
│ │ │ -00090310: 6270 616d 2d70 7771 7561 6c69 7479 207b  bpam-pwquality {
│ │ │ -00090320: 0a20 2070 6163 6b61 6765 207b 2027 6c69  .  package { 'li
│ │ │ -00090330: 6270 616d 2d70 7771 7561 6c69 7479 273a  bpam-pwquality':
│ │ │ -00090340: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ -00090350: 3b20 2769 6e73 7461 6c6c 6564 272c 0a20  ; 'installed',. 
│ │ │ -00090360: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.Remediati
│ │ │ -00090420: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070  on Ansible snipp
│ │ │ -00090430: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64  et ...
│ │ │ -00090470: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
│ │ │ -00090230: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -00090260: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -00090270: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -000902b0: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ -000902c0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
< │ │ │ -000904e0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -00090500: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -00090530: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -00090550: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -000904c0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -000904d0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -00090510: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -00090520: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
- name: │ │ │ -00090570: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ -00090580: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ -00090590: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ -000905a0: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ -000905b0: 6773 3a0a 2020 2d20 4449 5341 2d53 5449 gs:. - DISA-STI │ │ │ -000905c0: 472d 5542 5455 2d32 322d 3231 3530 3130 G-UBTU-22-215010 │ │ │ -000905d0: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra │ │ │ -000905e0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com │ │ │ -000905f0: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_ │ │ │ -00090600: 6469 7372 7570 7469 6f6e 0a20 202d 206d disruption. - m │ │ │ -00090610: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity. │ │ │ -00090620: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee │ │ │ -00090630: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_ │ │ │ -00090640: 7061 6d5f 7077 7175 616c 6974 795f 696e pam_pwquality_in │ │ │ -00090650: 7374 616c 6c65 640a 0a2d 206e 616d 653a stalled..- name: │ │ │ -00090660: 2045 6e73 7572 6520 6c69 6270 616d 2d70 Ensure libpam-p │ │ │ -00090670: 7771 7561 6c69 7479 2069 7320 696e 7374 wquality is inst │ │ │ -00090680: 616c 6c65 640a 2020 7061 636b 6167 653a alled. package: │ │ │ -00090690: 0a20 2020 206e 616d 653a 206c 6962 7061 . name: libpa │ │ │ -000906a0: 6d2d 7077 7175 616c 6974 790a 2020 2020 m-pwquality. │ │ │ -000906b0: 7374 6174 653a 2070 7265 7365 6e74 0a20 state: present. │ │ │ -000906c0: 2077 6865 6e3a 2027 226c 6962 7061 6d2d when: '"libpam- │ │ │ -000906d0: 7275 6e74 696d 6522 2069 6e20 616e 7369 runtime" in ansi │ │ │ -000906e0: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag │ │ │ -000906f0: 6573 270a 2020 7461 6773 3a0a 2020 2d20 es'. tags:. - │ │ │ -00090700: 4449 5341 2d53 5449 472d 5542 5455 2d32 DISA-STIG-UBTU-2 │ │ │ -00090710: 322d 3231 3530 3130 0a20 202d 2065 6e61 2-215010. - ena │ │ │ -00090720: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. - │ │ │ -00090730: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity. │ │ │ -00090740: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti │ │ │ -00090750: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365 on. - medium_se │ │ │ -00090760: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re │ │ │ -00090770: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. - │ │ │ -00090780: 7061 636b 6167 655f 7061 6d5f 7077 7175 package_pam_pwqu │ │ │ -00090790: 616c 6974 795f 696e 7374 616c 6c65 640a ality_installed. │ │ │ +00090040: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip │ │ │ +00090050: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +00090060: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +00090070: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +00090080: 7365 2220 6964 3d22 6964 6d35 3430 3722 se" id="idm5407" │ │ │ +00090090: 3e3c 7461 626c 6520 636c 6173 733d 2274 > │ │ │ +00090100: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +00090120: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +00090150: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +000900e0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +000900f0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +00090110: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +00090130: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +00090140: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

- name: │ │ │ +00090190: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack │ │ │ +000901a0: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack │ │ │ +000901b0: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m │ │ │ +000901c0: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t │ │ │ +000901d0: 6167 733a 0a20 202d 2044 4953 412d 5354 ags:. - DISA-ST │ │ │ +000901e0: 4947 2d55 4254 552d 3232 2d32 3135 3031 IG-UBTU-22-21501 │ │ │ +000901f0: 300a 2020 2d20 656e 6162 6c65 5f73 7472 0. - enable_str │ │ │ +00090200: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co │ │ │ +00090210: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low │ │ │ +00090220: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. - │ │ │ +00090230: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity. │ │ │ +00090240: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ +00090250: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package │ │ │ +00090260: 5f70 616d 5f70 7771 7561 6c69 7479 5f69 _pam_pwquality_i │ │ │ +00090270: 6e73 7461 6c6c 6564 0a0a 2d20 6e61 6d65 nstalled..- name │ │ │ +00090280: 3a20 456e 7375 7265 206c 6962 7061 6d2d : Ensure libpam- │ │ │ +00090290: 7077 7175 616c 6974 7920 6973 2069 6e73 pwquality is ins │ │ │ +000902a0: 7461 6c6c 6564 0a20 2070 6163 6b61 6765 talled. package │ │ │ +000902b0: 3a0a 2020 2020 6e61 6d65 3a20 6c69 6270 :. name: libp │ │ │ +000902c0: 616d 2d70 7771 7561 6c69 7479 0a20 2020 am-pwquality. │ │ │ +000902d0: 2073 7461 7465 3a20 7072 6573 656e 740a state: present. │ │ │ +000902e0: 2020 7768 656e 3a20 2722 6c69 6270 616d when: '"libpam │ │ │ +000902f0: 2d72 756e 7469 6d65 2220 696e 2061 6e73 -runtime" in ans │ │ │ +00090300: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa │ │ │ +00090310: 6765 7327 0a20 2074 6167 733a 0a20 202d ges'. tags:. - │ │ │ +00090320: 2044 4953 412d 5354 4947 2d55 4254 552d DISA-STIG-UBTU- │ │ │ +00090330: 3232 2d32 3135 3031 300a 2020 2d20 656e 22-215010. - en │ │ │ +00090340: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy. │ │ │ +00090350: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity │ │ │ +00090360: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt │ │ │ +00090370: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s │ │ │ +00090380: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r │ │ │ +00090390: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. - │ │ │ +000903a0: 2070 6163 6b61 6765 5f70 616d 5f70 7771 package_pam_pwq │ │ │ +000903b0: 7561 6c69 7479 5f69 6e73 7461 6c6c 6564 uality_installed │ │ │ +000903c0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .

Remediation P │ │ │ +00090480: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ +00090490: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity: │ │ │ +00090520: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +00090540: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +00090560: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +00090590: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +000905a0: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ +000905b0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include insta
│ │ │ +000905d0: 6c6c 5f6c 6962 7061 6d2d 7077 7175 616c  ll_libpam-pwqual
│ │ │ +000905e0: 6974 790a 0a63 6c61 7373 2069 6e73 7461  ity..class insta
│ │ │ +000905f0: 6c6c 5f6c 6962 7061 6d2d 7077 7175 616c  ll_libpam-pwqual
│ │ │ +00090600: 6974 7920 7b0a 2020 7061 636b 6167 6520  ity {.  package 
│ │ │ +00090610: 7b20 276c 6962 7061 6d2d 7077 7175 616c  { 'libpam-pwqual
│ │ │ +00090620: 6974 7927 3a0a 2020 2020 656e 7375 7265  ity':.    ensure
│ │ │ +00090630: 203d 2667 743b 2027 696e 7374 616c 6c65   => 'installe
│ │ │ +00090640: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Reme │ │ │ +00090700: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild │ │ │ +00090710: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe │ │ │ +00090720: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
< │ │ │ +00090760: 7072 653e 3c63 6f64 653e 0a5b 5b70 6163 pre>.[[pac │ │ │ +00090770: 6b61 6765 735d 5d0a 6e61 6d65 203d 2022 kages]].name = " │ │ │ +00090780: 6c69 6270 616d 2d70 7771 7561 6c69 7479 libpam-pwquality │ │ │ +00090790: 220a 7665 7273 696f 6e20 3d20 222a 220a ".version = "*". │ │ │ 000907a0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
Remediation O │ │ │ -000c0cb0: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint │ │ │ -000c0cc0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -000c0cd0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.[[packages]].n
│ │ │ -000c0d20: 616d 6520 3d20 2261 7070 6172 6d6f 7222  ame = "apparmor"
│ │ │ -000c0d30: 0a76 6572 7369 6f6e 203d 2022 2a22 0a3c  .version = "*".<
│ │ │ -000c0d40: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pup │ │ │ -000c0e00: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ -000c0e10: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
< │ │ │ -000c0e90: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -000c0eb0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -000c0f00: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
include install
│ │ │ -000c0f50: 5f61 7070 6172 6d6f 720a 0a63 6c61 7373  _apparmor..class
│ │ │ -000c0f60: 2069 6e73 7461 6c6c 5f61 7070 6172 6d6f   install_apparmo
│ │ │ -000c0f70: 7220 7b0a 2020 7061 636b 6167 6520 7b20  r {.  package { 
│ │ │ -000c0f80: 2761 7070 6172 6d6f 7227 3a0a 2020 2020  'apparmor':.    
│ │ │ -000c0f90: 656e 7375 7265 203d 2667 743b 2027 696e  ensure => 'in
│ │ │ -000c0fa0: 7374 616c 6c65 6427 2c0a 2020 7d0a 7d0a  stalled',.  }.}.
│ │ │ -000c0fb0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation An │ │ │ -000c1070: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -000c1080: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
low< │ │ │ -000c1150: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr> │ │ │ -000c11a0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
low
Disr │ │ │ -000c0ec0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -000c0ed0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -000c0f10: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ -000c0f20: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complexity: │ │ │ -000c1110: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ -000c1130: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ -000c1180: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -000c1190: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
- name: Ensur
│ │ │ -000c11c0: 6520 6170 7061 726d 6f72 2069 7320 696e  e apparmor is in
│ │ │ -000c11d0: 7374 616c 6c65 640a 2020 7061 636b 6167  stalled.  packag
│ │ │ -000c11e0: 653a 0a20 2020 206e 616d 653a 2061 7070  e:.    name: app
│ │ │ -000c11f0: 6172 6d6f 720a 2020 2020 7374 6174 653a  armor.    state:
│ │ │ -000c1200: 2070 7265 7365 6e74 0a20 2077 6865 6e3a   present.  when:
│ │ │ -000c1210: 2061 6e73 6962 6c65 5f76 6972 7475 616c   ansible_virtual
│ │ │ -000c1220: 697a 6174 696f 6e5f 7479 7065 206e 6f74  ization_type not
│ │ │ -000c1230: 2069 6e20 5b22 646f 636b 6572 222c 2022   in ["docker", "
│ │ │ -000c1240: 6c78 6322 2c20 226f 7065 6e76 7a22 2c20  lxc", "openvz", 
│ │ │ -000c1250: 2270 6f64 6d61 6e22 2c20 2263 6f6e 7461  "podman", "conta
│ │ │ -000c1260: 696e 6572 225d 0a20 2074 6167 733a 0a20  iner"].  tags:. 
│ │ │ -000c1270: 202d 2044 4953 412d 5354 4947 2d55 4254   - DISA-STIG-UBT
│ │ │ -000c1280: 552d 3232 2d34 3331 3031 300a 2020 2d20  U-22-431010.  - 
│ │ │ -000c1290: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ -000c12a0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -000c12b0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -000c12c0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -000c12d0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -000c12e0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -000c12f0: 202d 2070 6163 6b61 6765 5f61 7070 6172   - package_appar
│ │ │ -000c1300: 6d6f 725f 696e 7374 616c 6c65 640a 3c2f  mor_installed.Remediation A
│ │ │ +000c0cb0: 6e73 6962 6c65 2073 6e69 7070 6574 20e2  nsible snippet .
│ │ │ +000c0cc0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063  ..
Complexity │ │ │ +000c0d50: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +000c0d70: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +000c0d80: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +000c0d90: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +000c0da0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +000c0dc0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
- name: Ensu
│ │ │ +000c0e00: 7265 2061 7070 6172 6d6f 7220 6973 2069  re apparmor is i
│ │ │ +000c0e10: 6e73 7461 6c6c 6564 0a20 2070 6163 6b61  nstalled.  packa
│ │ │ +000c0e20: 6765 3a0a 2020 2020 6e61 6d65 3a20 6170  ge:.    name: ap
│ │ │ +000c0e30: 7061 726d 6f72 0a20 2020 2073 7461 7465  parmor.    state
│ │ │ +000c0e40: 3a20 7072 6573 656e 740a 2020 7768 656e  : present.  when
│ │ │ +000c0e50: 3a20 616e 7369 626c 655f 7669 7274 7561  : ansible_virtua
│ │ │ +000c0e60: 6c69 7a61 7469 6f6e 5f74 7970 6520 6e6f  lization_type no
│ │ │ +000c0e70: 7420 696e 205b 2264 6f63 6b65 7222 2c20  t in ["docker", 
│ │ │ +000c0e80: 226c 7863 222c 2022 6f70 656e 767a 222c  "lxc", "openvz",
│ │ │ +000c0e90: 2022 706f 646d 616e 222c 2022 636f 6e74   "podman", "cont
│ │ │ +000c0ea0: 6169 6e65 7222 5d0a 2020 7461 6773 3a0a  ainer"].  tags:.
│ │ │ +000c0eb0: 2020 2d20 4449 5341 2d53 5449 472d 5542    - DISA-STIG-UB
│ │ │ +000c0ec0: 5455 2d32 322d 3433 3130 3130 0a20 202d  TU-22-431010.  -
│ │ │ +000c0ed0: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ +000c0ee0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +000c0ef0: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +000c0f00: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +000c0f10: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +000c0f20: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +000c0f30: 2020 2d20 7061 636b 6167 655f 6170 7061    - package_appa
│ │ │ +000c0f40: 726d 6f72 5f69 6e73 7461 6c6c 6564 0a3c  rmor_installed.<
│ │ │ +000c0f50: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pup │ │ │ +000c1010: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ +000c1020: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
< │ │ │ +000c10a0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +000c10c0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +000c1110: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
include install
│ │ │ +000c1160: 5f61 7070 6172 6d6f 720a 0a63 6c61 7373  _apparmor..class
│ │ │ +000c1170: 2069 6e73 7461 6c6c 5f61 7070 6172 6d6f   install_apparmo
│ │ │ +000c1180: 7220 7b0a 2020 7061 636b 6167 6520 7b20  r {.  package { 
│ │ │ +000c1190: 2761 7070 6172 6d6f 7227 3a0a 2020 2020  'apparmor':.    
│ │ │ +000c11a0: 656e 7375 7265 203d 2667 743b 2027 696e  ensure => 'in
│ │ │ +000c11b0: 7374 616c 6c65 6427 2c0a 2020 7d0a 7d0a  stalled',.  }.}.
│ │ │ +000c11c0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation OS │ │ │ +000c1280: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint │ │ │ +000c1290: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +000c12a0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>

│ │ │ +000c12e0: 0a5b 5b70 6163 6b61 6765 735d 5d0a 6e61  .[[packages]].na
│ │ │ +000c12f0: 6d65 203d 2022 6170 7061 726d 6f72 220a  me = "apparmor".
│ │ │ +000c1300: 7665 7273 696f 6e20 3d20 222a 220a 3c2f  version = "*".
R │ │ │ -000cc0a0: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui │ │ │ -000cc0b0: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni │ │ │ -000cc0c0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -000cc0d0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
.[
│ │ │ -000cc110: 5b70 6163 6b61 6765 735d 5d0a 6e61 6d65  [packages]].name
│ │ │ -000cc120: 203d 2022 7379 7374 656d 642d 6a6f 7572   = "systemd-jour
│ │ │ -000cc130: 6e61 6c2d 7265 6d6f 7465 220a 7665 7273  nal-remote".vers
│ │ │ -000cc140: 696f 6e20 3d20 222a 220a 3c2f 636f 6465  ion = "*".
Rem │ │ │ -000cc200: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ -000cc210: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -000cc220: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
low
Disr │ │ │ +000c10d0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +000c10e0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +000c1120: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ +000c1130: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -000cc2b0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
in
│ │ │ -000cc350: 636c 7564 6520 696e 7374 616c 6c5f 7379  clude install_sy
│ │ │ -000cc360: 7374 656d 642d 6a6f 7572 6e61 6c2d 7265  stemd-journal-re
│ │ │ -000cc370: 6d6f 7465 0a0a 636c 6173 7320 696e 7374  mote..class inst
│ │ │ -000cc380: 616c 6c5f 7379 7374 656d 642d 6a6f 7572  all_systemd-jour
│ │ │ -000cc390: 6e61 6c2d 7265 6d6f 7465 207b 0a20 2070  nal-remote {.  p
│ │ │ -000cc3a0: 6163 6b61 6765 207b 2027 7379 7374 656d  ackage { 'system
│ │ │ -000cc3b0: 642d 6a6f 7572 6e61 6c2d 7265 6d6f 7465  d-journal-remote
│ │ │ -000cc3c0: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ -000cc3d0: 6774 3b20 2769 6e73 7461 6c6c 6564 272c  gt; 'installed',
│ │ │ -000cc3e0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.Remedi
│ │ │ -000cc4a0: 6174 696f 6e20 416e 7369 626c 6520 736e  ation Ansible sn
│ │ │ -000cc4b0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
│ │ │ -000cc2a0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -000cc2d0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -000cc2e0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -000cc320: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ -000cc330: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
low< │ │ │ -000cc560: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -000cc5b0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ -000cc540: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -000cc570: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -000cc590: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -000cc5a0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -000cc5c0: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ -000cc5d0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -000cc5f0: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ -000cc600: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ -000cc610: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ -000cc620: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ -000cc630: 2020 7461 6773 3a0a 2020 2d20 656e 6162    tags:.  - enab
│ │ │ -000cc640: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -000cc650: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -000cc660: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -000cc670: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ -000cc680: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -000cc690: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ -000cc6a0: 6163 6b61 6765 5f73 7973 7465 6d64 2d6a  ackage_systemd-j
│ │ │ -000cc6b0: 6f75 726e 616c 2d72 656d 6f74 655f 696e  ournal-remote_in
│ │ │ -000cc6c0: 7374 616c 6c65 640a 0a2d 206e 616d 653a  stalled..- name:
│ │ │ -000cc6d0: 2045 6e73 7572 6520 7379 7374 656d 642d   Ensure systemd-
│ │ │ -000cc6e0: 6a6f 7572 6e61 6c2d 7265 6d6f 7465 2069  journal-remote i
│ │ │ -000cc6f0: 7320 696e 7374 616c 6c65 640a 2020 7061  s installed.  pa
│ │ │ -000cc700: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ -000cc710: 2073 7973 7465 6d64 2d6a 6f75 726e 616c   systemd-journal
│ │ │ -000cc720: 2d72 656d 6f74 650a 2020 2020 7374 6174  -remote.    stat
│ │ │ -000cc730: 653a 2070 7265 7365 6e74 0a20 2077 6865  e: present.  whe
│ │ │ -000cc740: 6e3a 2027 226c 696e 7578 2d62 6173 6522  n: '"linux-base"
│ │ │ -000cc750: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ -000cc760: 732e 7061 636b 6167 6573 270a 2020 7461  s.packages'.  ta
│ │ │ -000cc770: 6773 3a0a 2020 2d20 656e 6162 6c65 5f73  gs:.  - enable_s
│ │ │ -000cc780: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ -000cc790: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -000cc7a0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -000cc7b0: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ -000cc7c0: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ -000cc7d0: 6e65 6564 6564 0a20 202d 2070 6163 6b61  needed.  - packa
│ │ │ -000cc7e0: 6765 5f73 7973 7465 6d64 2d6a 6f75 726e  ge_systemd-journ
│ │ │ -000cc7f0: 616c 2d72 656d 6f74 655f 696e 7374 616c  al-remote_instal
│ │ │ -000cc800: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265  led.

< │ │ │ +000cc140: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +000cc160: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +000cc1b0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
- name: Gather 
│ │ │ +000cc200: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ +000cc210: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ +000cc220: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ +000cc230: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ +000cc240: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ +000cc250: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +000cc260: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +000cc270: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +000cc280: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +000cc290: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +000cc2a0: 2020 2d20 7061 636b 6167 655f 7379 7374    - package_syst
│ │ │ +000cc2b0: 656d 642d 6a6f 7572 6e61 6c2d 7265 6d6f  emd-journal-remo
│ │ │ +000cc2c0: 7465 5f69 6e73 7461 6c6c 6564 0a0a 2d20  te_installed..- 
│ │ │ +000cc2d0: 6e61 6d65 3a20 456e 7375 7265 2073 7973  name: Ensure sys
│ │ │ +000cc2e0: 7465 6d64 2d6a 6f75 726e 616c 2d72 656d  temd-journal-rem
│ │ │ +000cc2f0: 6f74 6520 6973 2069 6e73 7461 6c6c 6564  ote is installed
│ │ │ +000cc300: 0a20 2070 6163 6b61 6765 3a0a 2020 2020  .  package:.    
│ │ │ +000cc310: 6e61 6d65 3a20 7379 7374 656d 642d 6a6f  name: systemd-jo
│ │ │ +000cc320: 7572 6e61 6c2d 7265 6d6f 7465 0a20 2020  urnal-remote.   
│ │ │ +000cc330: 2073 7461 7465 3a20 7072 6573 656e 740a   state: present.
│ │ │ +000cc340: 2020 7768 656e 3a20 2722 6c69 6e75 782d    when: '"linux-
│ │ │ +000cc350: 6261 7365 2220 696e 2061 6e73 6962 6c65  base" in ansible
│ │ │ +000cc360: 5f66 6163 7473 2e70 6163 6b61 6765 7327  _facts.packages'
│ │ │ +000cc370: 0a20 2074 6167 733a 0a20 202d 2065 6e61  .  tags:.  - ena
│ │ │ +000cc380: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +000cc390: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +000cc3a0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +000cc3b0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ +000cc3c0: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +000cc3d0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +000cc3e0: 7061 636b 6167 655f 7379 7374 656d 642d  package_systemd-
│ │ │ +000cc3f0: 6a6f 7572 6e61 6c2d 7265 6d6f 7465 5f69  journal-remote_i
│ │ │ +000cc400: 6e73 7461 6c6c 6564 0a3c 2f63 6f64 653e  nstalled.
│ │ │ +000cc410: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ +000cc4c0: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ +000cc4d0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
low
Disr │ │ │ +000cc170: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +000cc180: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +000cc1c0: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ +000cc1d0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
< │ │ │ +000cc570: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +000cc580: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +000cc5d0: 3c74 723e 3c74 683e 5374 7261 7465 6779
inc
│ │ │ +000cc610: 6c75 6465 2069 6e73 7461 6c6c 5f73 7973  lude install_sys
│ │ │ +000cc620: 7465 6d64 2d6a 6f75 726e 616c 2d72 656d  temd-journal-rem
│ │ │ +000cc630: 6f74 650a 0a63 6c61 7373 2069 6e73 7461  ote..class insta
│ │ │ +000cc640: 6c6c 5f73 7973 7465 6d64 2d6a 6f75 726e  ll_systemd-journ
│ │ │ +000cc650: 616c 2d72 656d 6f74 6520 7b0a 2020 7061  al-remote {.  pa
│ │ │ +000cc660: 636b 6167 6520 7b20 2773 7973 7465 6d64  ckage { 'systemd
│ │ │ +000cc670: 2d6a 6f75 726e 616c 2d72 656d 6f74 6527  -journal-remote'
│ │ │ +000cc680: 3a0a 2020 2020 656e 7375 7265 203d 2667  :.    ensure =&g
│ │ │ +000cc690: 743b 2027 696e 7374 616c 6c65 6427 2c0a  t; 'installed',.
│ │ │ +000cc6a0: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ +000cc760: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu │ │ │ +000cc770: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet . │ │ │ +000cc780: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
.[[packa │ │ │ +000cc7d0: 6765 735d 5d0a 6e61 6d65 203d 2022 7379 ges]].name = "sy │ │ │ +000cc7e0: 7374 656d 642d 6a6f 7572 6e61 6c2d 7265 stemd-journal-re │ │ │ +000cc7f0: 6d6f 7465 220a 7665 7273 696f 6e20 3d20 mote".version = │ │ │ +000cc800: 222a 220a 3c2f 636f 6465 3e3c 2f70 7265 "*".
Remed │ │ │ -000cd5b0: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B │ │ │ -000cd5c0: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet │ │ │ -000cd5d0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -000cd610: 7072 653e 3c63 6f64 653e 0a5b 6375 7374 pre>.[cust │ │ │ -000cd620: 6f6d 697a 6174 696f 6e73 2e73 6572 7669 omizations.servi │ │ │ -000cd630: 6365 735d 0a65 6e61 626c 6564 203d 205b ces].enabled = [ │ │ │ -000cd640: 2273 7973 7465 6d64 2d6a 6f75 726e 616c "systemd-journal │ │ │ -000cd650: 6422 5d0a 3c2f 636f 6465 3e3c 2f70 7265 d"].
Remediati │ │ │ -000cd710: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -000cd720: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -000cd760: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
C │ │ │ +000cc560: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +000cc590: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +000cc5a0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +000cc5e0: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ +000cc5f0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
< │ │ │ -000cd7d0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -000cd7f0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -000cd820: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -000cd840: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -000cd7b0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -000cd7c0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -000cd800: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -000cd810: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ -000cd860: 656e 6162 6c65 5f73 7973 7465 6d64 2d6a enable_systemd-j │ │ │ -000cd870: 6f75 726e 616c 640a 0a63 6c61 7373 2065 ournald..class e │ │ │ -000cd880: 6e61 626c 655f 7379 7374 656d 642d 6a6f nable_systemd-jo │ │ │ -000cd890: 7572 6e61 6c64 207b 0a20 2073 6572 7669 urnald {. servi │ │ │ -000cd8a0: 6365 207b 2773 7973 7465 6d64 2d6a 6f75 ce {'systemd-jou │ │ │ -000cd8b0: 726e 616c 6427 3a0a 2020 2020 656e 6162 rnald':. enab │ │ │ -000cd8c0: 6c65 203d 2667 743b 2074 7275 652c 0a20 le => true,. │ │ │ -000cd8d0: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure => │ │ │ -000cd8e0: 2772 756e 6e69 6e67 272c 0a20 207d 0a7d 'running',. }.} │ │ │ -000cd8f0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
Remediation │ │ │ -000cd9b0: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -000cd9c0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -000cda40: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -000cda50: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -000cda60: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -000cdaa0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -000cdab0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -000cdad0: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ -000cdaf0: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761  - name: Ga
│ │ │ -000cdb00: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ -000cdb10: 2066 6163 7473 0a20 2070 6163 6b61 6765   facts.  package
│ │ │ -000cdb20: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61  _facts:.    mana
│ │ │ -000cdb30: 6765 723a 2061 7574 6f0a 2020 7461 6773  ger: auto.  tags
│ │ │ -000cdb40: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ -000cdb50: 332d 5343 2d32 340a 2020 2d20 656e 6162  3-SC-24.  - enab
│ │ │ -000cdb60: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -000cdb70: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -000cdb80: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -000cdb90: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ -000cdba0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -000cdbb0: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ -000cdbc0: 6572 7669 6365 5f73 7973 7465 6d64 2d6a  ervice_systemd-j
│ │ │ -000cdbd0: 6f75 726e 616c 645f 656e 6162 6c65 640a  ournald_enabled.
│ │ │ -000cdbe0: 0a2d 206e 616d 653a 2045 6e61 626c 6520  .- name: Enable 
│ │ │ -000cdbf0: 7379 7374 656d 642d 6a6f 7572 6e61 6c64  systemd-journald
│ │ │ -000cdc00: 2053 6572 7669 6365 202d 2045 6e61 626c   Service - Enabl
│ │ │ -000cdc10: 6520 7365 7276 6963 6520 7379 7374 656d  e service system
│ │ │ -000cdc20: 642d 6a6f 7572 6e61 6c64 0a20 2062 6c6f  d-journald.  blo
│ │ │ -000cdc30: 636b 3a0a 0a20 202d 206e 616d 653a 2047  ck:..  - name: G
│ │ │ -000cdc40: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ -000cdc50: 6520 6661 6374 730a 2020 2020 7061 636b  e facts.    pack
│ │ │ -000cdc60: 6167 655f 6661 6374 733a 0a20 2020 2020  age_facts:.     
│ │ │ -000cdc70: 206d 616e 6167 6572 3a20 6175 746f 0a0a   manager: auto..
│ │ │ -000cdc80: 2020 2d20 6e61 6d65 3a20 456e 6162 6c65    - name: Enable
│ │ │ -000cdc90: 2073 7973 7465 6d64 2d6a 6f75 726e 616c   systemd-journal
│ │ │ -000cdca0: 6420 5365 7276 6963 6520 2d20 456e 6162  d Service - Enab
│ │ │ -000cdcb0: 6c65 2053 6572 7669 6365 2073 7973 7465  le Service syste
│ │ │ -000cdcc0: 6d64 2d6a 6f75 726e 616c 640a 2020 2020  md-journald.    
│ │ │ -000cdcd0: 616e 7369 626c 652e 6275 696c 7469 6e2e  ansible.builtin.
│ │ │ -000cdce0: 7379 7374 656d 643a 0a20 2020 2020 206e  systemd:.      n
│ │ │ -000cdcf0: 616d 653a 2073 7973 7465 6d64 2d6a 6f75  ame: systemd-jou
│ │ │ -000cdd00: 726e 616c 640a 2020 2020 2020 656e 6162  rnald.      enab
│ │ │ -000cdd10: 6c65 643a 2074 7275 650a 2020 2020 2020  led: true.      
│ │ │ -000cdd20: 7374 6174 653a 2073 7461 7274 6564 0a20  state: started. 
│ │ │ -000cdd30: 2020 2020 206d 6173 6b65 643a 2066 616c       masked: fal
│ │ │ -000cdd40: 7365 0a20 2020 2077 6865 6e3a 0a20 2020  se.    when:.   
│ │ │ -000cdd50: 202d 2027 2273 7973 7465 6d64 2220 696e   - '"systemd" in
│ │ │ -000cdd60: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ -000cdd70: 6163 6b61 6765 7327 0a20 2077 6865 6e3a  ackages'.  when:
│ │ │ -000cdd80: 2027 226c 696e 7578 2d62 6173 6522 2069   '"linux-base" i
│ │ │ -000cdd90: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ -000cdda0: 7061 636b 6167 6573 270a 2020 7461 6773  packages'.  tags
│ │ │ -000cddb0: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ -000cddc0: 332d 5343 2d32 340a 2020 2d20 656e 6162  3-SC-24.  - enab
│ │ │ -000cddd0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -000cdde0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -000cddf0: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -000cde00: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ -000cde10: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -000cde20: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ -000cde30: 6572 7669 6365 5f73 7973 7465 6d64 2d6a  ervice_systemd-j
│ │ │ -000cde40: 6f75 726e 616c 645f 656e 6162 6c65 640a  ournald_enabled.
│ │ │ +000cd5b0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073  iation Ansible s
│ │ │ +000cd5c0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62  nippet ...
< │ │ │ +000cd660: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +000cd670: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +000cd6c0: 3c74 723e 3c74 683e 5374 7261 7465 6779
- n
│ │ │ +000cd700: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ +000cd710: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ +000cd720: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ +000cd730: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ +000cd740: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ +000cd750: 542d 3830 302d 3533 2d53 432d 3234 0a20  T-800-53-SC-24. 
│ │ │ +000cd760: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ +000cd770: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +000cd780: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +000cd790: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +000cd7a0: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +000cd7b0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +000cd7c0: 640a 2020 2d20 7365 7276 6963 655f 7379  d.  - service_sy
│ │ │ +000cd7d0: 7374 656d 642d 6a6f 7572 6e61 6c64 5f65  stemd-journald_e
│ │ │ +000cd7e0: 6e61 626c 6564 0a0a 2d20 6e61 6d65 3a20  nabled..- name: 
│ │ │ +000cd7f0: 456e 6162 6c65 2073 7973 7465 6d64 2d6a  Enable systemd-j
│ │ │ +000cd800: 6f75 726e 616c 6420 5365 7276 6963 6520  ournald Service 
│ │ │ +000cd810: 2d20 456e 6162 6c65 2073 6572 7669 6365  - Enable service
│ │ │ +000cd820: 2073 7973 7465 6d64 2d6a 6f75 726e 616c   systemd-journal
│ │ │ +000cd830: 640a 2020 626c 6f63 6b3a 0a0a 2020 2d20  d.  block:..  - 
│ │ │ +000cd840: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ +000cd850: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ +000cd860: 2020 2070 6163 6b61 6765 5f66 6163 7473     package_facts
│ │ │ +000cd870: 3a0a 2020 2020 2020 6d61 6e61 6765 723a  :.      manager:
│ │ │ +000cd880: 2061 7574 6f0a 0a20 202d 206e 616d 653a   auto..  - name:
│ │ │ +000cd890: 2045 6e61 626c 6520 7379 7374 656d 642d   Enable systemd-
│ │ │ +000cd8a0: 6a6f 7572 6e61 6c64 2053 6572 7669 6365  journald Service
│ │ │ +000cd8b0: 202d 2045 6e61 626c 6520 5365 7276 6963   - Enable Servic
│ │ │ +000cd8c0: 6520 7379 7374 656d 642d 6a6f 7572 6e61  e systemd-journa
│ │ │ +000cd8d0: 6c64 0a20 2020 2061 6e73 6962 6c65 2e62  ld.    ansible.b
│ │ │ +000cd8e0: 7569 6c74 696e 2e73 7973 7465 6d64 3a0a  uiltin.systemd:.
│ │ │ +000cd8f0: 2020 2020 2020 6e61 6d65 3a20 7379 7374        name: syst
│ │ │ +000cd900: 656d 642d 6a6f 7572 6e61 6c64 0a20 2020  emd-journald.   
│ │ │ +000cd910: 2020 2065 6e61 626c 6564 3a20 7472 7565     enabled: true
│ │ │ +000cd920: 0a20 2020 2020 2073 7461 7465 3a20 7374  .      state: st
│ │ │ +000cd930: 6172 7465 640a 2020 2020 2020 6d61 736b  arted.      mask
│ │ │ +000cd940: 6564 3a20 6661 6c73 650a 2020 2020 7768  ed: false.    wh
│ │ │ +000cd950: 656e 3a0a 2020 2020 2d20 2722 7379 7374  en:.    - '"syst
│ │ │ +000cd960: 656d 6422 2069 6e20 616e 7369 626c 655f  emd" in ansible_
│ │ │ +000cd970: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ +000cd980: 2020 7768 656e 3a20 2722 6c69 6e75 782d    when: '"linux-
│ │ │ +000cd990: 6261 7365 2220 696e 2061 6e73 6962 6c65  base" in ansible
│ │ │ +000cd9a0: 5f66 6163 7473 2e70 6163 6b61 6765 7327  _facts.packages'
│ │ │ +000cd9b0: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ +000cd9c0: 542d 3830 302d 3533 2d53 432d 3234 0a20  T-800-53-SC-24. 
│ │ │ +000cd9d0: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ +000cd9e0: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +000cd9f0: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +000cda00: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +000cda10: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +000cda20: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +000cda30: 640a 2020 2d20 7365 7276 6963 655f 7379  d.  - service_sy
│ │ │ +000cda40: 7374 656d 642d 6a6f 7572 6e61 6c64 5f65  stemd-journald_e
│ │ │ +000cda50: 6e61 626c 6564 0a3c 2f63 6f64 653e 3c2f  nabled.Remedi
│ │ │ +000cdb10: 6174 696f 6e20 5075 7070 6574 2073 6e69  ation Puppet sni
│ │ │ +000cdb20: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e  ppet ...
│ │ │ +000cdb30: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
C │ │ │ +000cd650: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +000cd680: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +000cd690: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +000cd6d0: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ +000cd6e0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Com │ │ │ +000cdbb0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +000cdbe0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +000cdc00: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +000cdc10: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +000cdc30: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ +000cdc50: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +000cdc60: 6465 2065 6e61 626c 655f 7379 7374 656d  de enable_system
│ │ │ +000cdc70: 642d 6a6f 7572 6e61 6c64 0a0a 636c 6173  d-journald..clas
│ │ │ +000cdc80: 7320 656e 6162 6c65 5f73 7973 7465 6d64  s enable_systemd
│ │ │ +000cdc90: 2d6a 6f75 726e 616c 6420 7b0a 2020 7365  -journald {.  se
│ │ │ +000cdca0: 7276 6963 6520 7b27 7379 7374 656d 642d  rvice {'systemd-
│ │ │ +000cdcb0: 6a6f 7572 6e61 6c64 273a 0a20 2020 2065  journald':.    e
│ │ │ +000cdcc0: 6e61 626c 6520 3d26 6774 3b20 7472 7565  nable => true
│ │ │ +000cdcd0: 2c0a 2020 2020 656e 7375 7265 203d 2667  ,.    ensure =&g
│ │ │ +000cdce0: 743b 2027 7275 6e6e 696e 6727 2c0a 2020  t; 'running',.  
│ │ │ +000cdcf0: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ +000cddb0: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep │ │ │ +000cddc0: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ... │ │ │ +000cddd0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ +000cde10: 3c63 6f64 653e 0a5b 6375 7374 6f6d 697a  .[customiz
│ │ │ +000cde20: 6174 696f 6e73 2e73 6572 7669 6365 735d  ations.services]
│ │ │ +000cde30: 0a65 6e61 626c 6564 203d 205b 2273 7973  .enabled = ["sys
│ │ │ +000cde40: 7465 6d64 2d6a 6f75 726e 616c 6422 5d0a  temd-journald"].
│ │ │  000cde50: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remedia │ │ │ -000d8f20: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu │ │ │ -000d8f30: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet . │ │ │ -000d8f40: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
.[[packa │ │ │ -000d8f90: 6765 735d 5d0a 6e61 6d65 203d 2022 7273 ges]].name = "rs │ │ │ -000d8fa0: 7973 6c6f 6722 0a76 6572 7369 6f6e 203d yslog".version = │ │ │ -000d8fb0: 2022 2a22 0a3c 2f63 6f64 653e 3c2f 7072 "*".
Remediat │ │ │ -000d9070: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ -000d9080: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -000d9130: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -000d9150: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -000d9180: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -000d9110: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -000d9120: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -000d9140: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -000d9160: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -000d9170: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

include │ │ │ -000d91c0: 2069 6e73 7461 6c6c 5f72 7379 736c 6f67 install_rsyslog │ │ │ -000d91d0: 0a0a 636c 6173 7320 696e 7374 616c 6c5f ..class install_ │ │ │ -000d91e0: 7273 7973 6c6f 6720 7b0a 2020 7061 636b rsyslog {. pack │ │ │ -000d91f0: 6167 6520 7b20 2772 7379 736c 6f67 273a age { 'rsyslog': │ │ │ -000d9200: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure => │ │ │ -000d9210: 3b20 2769 6e73 7461 6c6c 6564 272c 0a20 ; 'installed',. │ │ │ -000d9220: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.

Remediat │ │ │ -000d92e0: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip │ │ │ -000d92f0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -000d9300: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -000d9310: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -000d9320: 7365 2220 6964 3d22 6964 6d31 3133 3538 se" id="idm11358 │ │ │ -000d9330: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ -000d9380: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -000d9390: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -000d93b0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -000d93d0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -000d93e0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ -000d9420: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -000d9430: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ -000d9440: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac │ │ │ -000d9450: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ -000d9460: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto. │ │ │ -000d9470: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8 │ │ │ -000d9480: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a). │ │ │ -000d9490: 2d20 656e 6162 6c65 5f73 7472 6174 6567 - enable_strateg │ │ │ -000d94a0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple │ │ │ -000d94b0: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis │ │ │ -000d94c0: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi │ │ │ -000d94d0: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. - │ │ │ -000d94e0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed │ │ │ -000d94f0: 0a20 202d 2070 6163 6b61 6765 5f72 7379 . - package_rsy │ │ │ -000d9500: 736c 6f67 5f69 6e73 7461 6c6c 6564 0a0a slog_installed.. │ │ │ -000d9510: 2d20 6e61 6d65 3a20 456e 7375 7265 2072 - name: Ensure r │ │ │ -000d9520: 7379 736c 6f67 2069 7320 696e 7374 616c syslog is instal │ │ │ -000d9530: 6c65 640a 2020 7061 636b 6167 653a 0a20 led. package:. │ │ │ -000d9540: 2020 206e 616d 653a 2072 7379 736c 6f67 name: rsyslog │ │ │ -000d9550: 0a20 2020 2073 7461 7465 3a20 7072 6573 . state: pres │ │ │ -000d9560: 656e 740a 2020 7768 656e 3a20 2722 6c69 ent. when: '"li │ │ │ -000d9570: 6e75 782d 6261 7365 2220 696e 2061 6e73 nux-base" in ans │ │ │ -000d9580: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa │ │ │ -000d9590: 6765 7327 0a20 2074 6167 733a 0a20 202d ges'. tags:. - │ │ │ -000d95a0: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM- │ │ │ -000d95b0: 3628 6129 0a20 202d 2065 6e61 626c 655f 6(a). - enable_ │ │ │ -000d95c0: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low │ │ │ -000d95d0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. - │ │ │ -000d95e0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption. │ │ │ -000d95f0: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi │ │ │ -000d9600: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot │ │ │ -000d9610: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack │ │ │ -000d9620: 6167 655f 7273 7973 6c6f 675f 696e 7374 age_rsyslog_inst │ │ │ -000d9630: 616c 6c65 640a 3c2f 636f 6465 3e3c 2f70 alled.


│ │ │ +000d8f40: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +000d8fc0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +000d8ff0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +000d9010: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +000d9020: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +000d9040: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ +000d9060: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ +000d9070: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ +000d9080: 636b 6167 6520 6661 6374 730a 2020 7061  ckage facts.  pa
│ │ │ +000d9090: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ +000d90a0: 206d 616e 6167 6572 3a20 6175 746f 0a20   manager: auto. 
│ │ │ +000d90b0: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ +000d90c0: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ +000d90d0: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ +000d90e0: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +000d90f0: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +000d9100: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +000d9110: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +000d9120: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +000d9130: 640a 2020 2d20 7061 636b 6167 655f 7273  d.  - package_rs
│ │ │ +000d9140: 7973 6c6f 675f 696e 7374 616c 6c65 640a  yslog_installed.
│ │ │ +000d9150: 0a2d 206e 616d 653a 2045 6e73 7572 6520  .- name: Ensure 
│ │ │ +000d9160: 7273 7973 6c6f 6720 6973 2069 6e73 7461  rsyslog is insta
│ │ │ +000d9170: 6c6c 6564 0a20 2070 6163 6b61 6765 3a0a  lled.  package:.
│ │ │ +000d9180: 2020 2020 6e61 6d65 3a20 7273 7973 6c6f      name: rsyslo
│ │ │ +000d9190: 670a 2020 2020 7374 6174 653a 2070 7265  g.    state: pre
│ │ │ +000d91a0: 7365 6e74 0a20 2077 6865 6e3a 2027 226c  sent.  when: '"l
│ │ │ +000d91b0: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ +000d91c0: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +000d91d0: 6167 6573 270a 2020 7461 6773 3a0a 2020  ages'.  tags:.  
│ │ │ +000d91e0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +000d91f0: 2d36 2861 290a 2020 2d20 656e 6162 6c65  -6(a).  - enable
│ │ │ +000d9200: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ +000d9210: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ +000d9220: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ +000d9230: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ +000d9240: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ +000d9250: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ +000d9260: 6b61 6765 5f72 7379 736c 6f67 5f69 6e73  kage_rsyslog_ins
│ │ │ +000d9270: 7461 6c6c 6564 0a3c 2f63 6f64 653e 3c2f  talled.
Remedi │ │ │ +000d9330: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ +000d9340: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +000d9350: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +000d93d0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +000d9400: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +000d9420: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +000d9430: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +000d9450: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ +000d9470: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +000d9480: 6465 2069 6e73 7461 6c6c 5f72 7379 736c  de install_rsysl
│ │ │ +000d9490: 6f67 0a0a 636c 6173 7320 696e 7374 616c  og..class instal
│ │ │ +000d94a0: 6c5f 7273 7973 6c6f 6720 7b0a 2020 7061  l_rsyslog {.  pa
│ │ │ +000d94b0: 636b 6167 6520 7b20 2772 7379 736c 6f67  ckage { 'rsyslog
│ │ │ +000d94c0: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ +000d94d0: 6774 3b20 2769 6e73 7461 6c6c 6564 272c  gt; 'installed',
│ │ │ +000d94e0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.
Remedi │ │ │ +000d95a0: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl │ │ │ +000d95b0: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet │ │ │ +000d95c0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...

.[[pack │ │ │ +000d9610: 6167 6573 5d5d 0a6e 616d 6520 3d20 2272 ages]].name = "r │ │ │ +000d9620: 7379 736c 6f67 220a 7665 7273 696f 6e20 syslog".version │ │ │ +000d9630: 3d20 222a 220a 3c2f 636f 6465 3e3c 2f70 = "*".

│ │ │ -000da9a0: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu │ │ │ -000da9b0: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn │ │ │ -000da9c0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.
│ │ │ -000daa10: 5b63 7573 746f 6d69 7a61 7469 6f6e 732e  [customizations.
│ │ │ -000daa20: 7365 7276 6963 6573 5d0a 656e 6162 6c65  services].enable
│ │ │ -000daa30: 6420 3d20 5b22 7273 7973 6c6f 6722 5d0a  d = ["rsyslog"].
│ │ │ -000daa40: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation P │ │ │ -000dab00: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ -000dab10: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ -000daba0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -000dabc0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -000dabd0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -000dabe0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -000dabf0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -000dac10: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
include enab
│ │ │ -000dac50: 6c65 5f72 7379 736c 6f67 0a0a 636c 6173  le_rsyslog..clas
│ │ │ -000dac60: 7320 656e 6162 6c65 5f72 7379 736c 6f67  s enable_rsyslog
│ │ │ -000dac70: 207b 0a20 2073 6572 7669 6365 207b 2772   {.  service {'r
│ │ │ -000dac80: 7379 736c 6f67 273a 0a20 2020 2065 6e61  syslog':.    ena
│ │ │ -000dac90: 626c 6520 3d26 6774 3b20 7472 7565 2c0a  ble => true,.
│ │ │ -000daca0: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -000dacb0: 2027 7275 6e6e 696e 6727 2c0a 2020 7d0a   'running',.  }.
│ │ │ -000dacc0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ -000dacd0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -000dad80: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ -000dad90: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -000dadd0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -000dade0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -000dadf0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -000dae00: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -000dae10: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -000dae20: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -000dae30: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -000dae70: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -000dae80: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -000daea0: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ -000daeb0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ -000daed0: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ -000daee0: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ -000daef0: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ -000daf00: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ -000daf10: 733a 0a20 202d 2044 4953 412d 5354 4947  s:.  - DISA-STIG
│ │ │ -000daf20: 2d55 4254 552d 3232 2d36 3532 3031 300a  -UBTU-22-652010.
│ │ │ -000daf30: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -000daf40: 4155 2d34 2831 290a 2020 2d20 4e49 5354  AU-4(1).  - NIST
│ │ │ -000daf50: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ -000daf60: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -000daf70: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -000daf80: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -000daf90: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -000dafa0: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -000dafb0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -000dafc0: 6564 0a20 202d 2073 6572 7669 6365 5f72  ed.  - service_r
│ │ │ -000dafd0: 7379 736c 6f67 5f65 6e61 626c 6564 0a0a  syslog_enabled..
│ │ │ -000dafe0: 2d20 6e61 6d65 3a20 456e 6162 6c65 2072  - name: Enable r
│ │ │ -000daff0: 7379 736c 6f67 2053 6572 7669 6365 202d  syslog Service -
│ │ │ -000db000: 2045 6e61 626c 6520 7365 7276 6963 6520   Enable service 
│ │ │ -000db010: 7273 7973 6c6f 670a 2020 626c 6f63 6b3a  rsyslog.  block:
│ │ │ -000db020: 0a0a 2020 2d20 6e61 6d65 3a20 4761 7468  ..  - name: Gath
│ │ │ -000db030: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ -000db040: 6163 7473 0a20 2020 2070 6163 6b61 6765  acts.    package
│ │ │ -000db050: 5f66 6163 7473 3a0a 2020 2020 2020 6d61  _facts:.      ma
│ │ │ -000db060: 6e61 6765 723a 2061 7574 6f0a 0a20 202d  nager: auto..  -
│ │ │ -000db070: 206e 616d 653a 2045 6e61 626c 6520 7273   name: Enable rs
│ │ │ -000db080: 7973 6c6f 6720 5365 7276 6963 6520 2d20  yslog Service - 
│ │ │ -000db090: 456e 6162 6c65 2053 6572 7669 6365 2072  Enable Service r
│ │ │ -000db0a0: 7379 736c 6f67 0a20 2020 2061 6e73 6962  syslog.    ansib
│ │ │ -000db0b0: 6c65 2e62 7569 6c74 696e 2e73 7973 7465  le.builtin.syste
│ │ │ -000db0c0: 6d64 3a0a 2020 2020 2020 6e61 6d65 3a20  md:.      name: 
│ │ │ -000db0d0: 7273 7973 6c6f 670a 2020 2020 2020 656e  rsyslog.      en
│ │ │ -000db0e0: 6162 6c65 643a 2074 7275 650a 2020 2020  abled: true.    
│ │ │ -000db0f0: 2020 7374 6174 653a 2073 7461 7274 6564    state: started
│ │ │ -000db100: 0a20 2020 2020 206d 6173 6b65 643a 2066  .      masked: f
│ │ │ -000db110: 616c 7365 0a20 2020 2077 6865 6e3a 0a20  alse.    when:. 
│ │ │ -000db120: 2020 202d 2027 2272 7379 736c 6f67 2220     - '"rsyslog" 
│ │ │ -000db130: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -000db140: 2e70 6163 6b61 6765 7327 0a20 2077 6865  .packages'.  whe
│ │ │ -000db150: 6e3a 2027 226c 696e 7578 2d62 6173 6522  n: '"linux-base"
│ │ │ -000db160: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ -000db170: 732e 7061 636b 6167 6573 270a 2020 7461  s.packages'.  ta
│ │ │ -000db180: 6773 3a0a 2020 2d20 4449 5341 2d53 5449  gs:.  - DISA-STI
│ │ │ -000db190: 472d 5542 5455 2d32 322d 3635 3230 3130  G-UBTU-22-652010
│ │ │ -000db1a0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -000db1b0: 2d41 552d 3428 3129 0a20 202d 204e 4953  -AU-4(1).  - NIS
│ │ │ -000db1c0: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ -000db1d0: 0a20 202d 2065 6e61 626c 655f 7374 7261  .  - enable_stra
│ │ │ -000db1e0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ -000db1f0: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -000db200: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ -000db210: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ -000db220: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -000db230: 6465 640a 2020 2d20 7365 7276 6963 655f  ded.  - service_
│ │ │ -000db240: 7273 7973 6c6f 675f 656e 6162 6c65 640a  rsyslog_enabled.
│ │ │ +000da9a0: 5265 6d65 6469 6174 696f 6e20 416e 7369  Remediation Ansi
│ │ │ +000da9b0: 626c 6520 736e 6970 7065 7420 e287 b23c  ble snippet ...<
│ │ │ +000da9c0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173  /a>
│ │ │ +000daa40: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +000daa60: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +000daab0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ +000daae0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Gather
│ │ │ +000dab00: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ +000dab10: 7473 0a20 2070 6163 6b61 6765 5f66 6163  ts.  package_fac
│ │ │ +000dab20: 7473 3a0a 2020 2020 6d61 6e61 6765 723a  ts:.    manager:
│ │ │ +000dab30: 2061 7574 6f0a 2020 7461 6773 3a0a 2020   auto.  tags:.  
│ │ │ +000dab40: 2d20 4449 5341 2d53 5449 472d 5542 5455  - DISA-STIG-UBTU
│ │ │ +000dab50: 2d32 322d 3635 3230 3130 0a20 202d 204e  -22-652010.  - N
│ │ │ +000dab60: 4953 542d 3830 302d 3533 2d41 552d 3428  IST-800-53-AU-4(
│ │ │ +000dab70: 3129 0a20 202d 204e 4953 542d 3830 302d  1).  - NIST-800-
│ │ │ +000dab80: 3533 2d43 4d2d 3628 6129 0a20 202d 2065  53-CM-6(a).  - e
│ │ │ +000dab90: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ +000daba0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +000dabb0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +000dabc0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +000dabd0: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +000dabe0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +000dabf0: 2d20 7365 7276 6963 655f 7273 7973 6c6f  - service_rsyslo
│ │ │ +000dac00: 675f 656e 6162 6c65 640a 0a2d 206e 616d  g_enabled..- nam
│ │ │ +000dac10: 653a 2045 6e61 626c 6520 7273 7973 6c6f  e: Enable rsyslo
│ │ │ +000dac20: 6720 5365 7276 6963 6520 2d20 456e 6162  g Service - Enab
│ │ │ +000dac30: 6c65 2073 6572 7669 6365 2072 7379 736c  le service rsysl
│ │ │ +000dac40: 6f67 0a20 2062 6c6f 636b 3a0a 0a20 202d  og.  block:..  -
│ │ │ +000dac50: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ +000dac60: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ +000dac70: 2020 2020 7061 636b 6167 655f 6661 6374      package_fact
│ │ │ +000dac80: 733a 0a20 2020 2020 206d 616e 6167 6572  s:.      manager
│ │ │ +000dac90: 3a20 6175 746f 0a0a 2020 2d20 6e61 6d65  : auto..  - name
│ │ │ +000daca0: 3a20 456e 6162 6c65 2072 7379 736c 6f67  : Enable rsyslog
│ │ │ +000dacb0: 2053 6572 7669 6365 202d 2045 6e61 626c   Service - Enabl
│ │ │ +000dacc0: 6520 5365 7276 6963 6520 7273 7973 6c6f  e Service rsyslo
│ │ │ +000dacd0: 670a 2020 2020 616e 7369 626c 652e 6275  g.    ansible.bu
│ │ │ +000dace0: 696c 7469 6e2e 7379 7374 656d 643a 0a20  iltin.systemd:. 
│ │ │ +000dacf0: 2020 2020 206e 616d 653a 2072 7379 736c       name: rsysl
│ │ │ +000dad00: 6f67 0a20 2020 2020 2065 6e61 626c 6564  og.      enabled
│ │ │ +000dad10: 3a20 7472 7565 0a20 2020 2020 2073 7461  : true.      sta
│ │ │ +000dad20: 7465 3a20 7374 6172 7465 640a 2020 2020  te: started.    
│ │ │ +000dad30: 2020 6d61 736b 6564 3a20 6661 6c73 650a    masked: false.
│ │ │ +000dad40: 2020 2020 7768 656e 3a0a 2020 2020 2d20      when:.    - 
│ │ │ +000dad50: 2722 7273 7973 6c6f 6722 2069 6e20 616e  '"rsyslog" in an
│ │ │ +000dad60: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +000dad70: 6167 6573 270a 2020 7768 656e 3a20 2722  ages'.  when: '"
│ │ │ +000dad80: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ +000dad90: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +000dada0: 6b61 6765 7327 0a20 2074 6167 733a 0a20  kages'.  tags:. 
│ │ │ +000dadb0: 202d 2044 4953 412d 5354 4947 2d55 4254   - DISA-STIG-UBT
│ │ │ +000dadc0: 552d 3232 2d36 3532 3031 300a 2020 2d20  U-22-652010.  - 
│ │ │ +000dadd0: 4e49 5354 2d38 3030 2d35 332d 4155 2d34  NIST-800-53-AU-4
│ │ │ +000dade0: 2831 290a 2020 2d20 4e49 5354 2d38 3030  (1).  - NIST-800
│ │ │ +000dadf0: 2d35 332d 434d 2d36 2861 290a 2020 2d20  -53-CM-6(a).  - 
│ │ │ +000dae00: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ +000dae10: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +000dae20: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +000dae30: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ +000dae40: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +000dae50: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +000dae60: 202d 2073 6572 7669 6365 5f72 7379 736c   - service_rsysl
│ │ │ +000dae70: 6f67 5f65 6e61 626c 6564 0a3c 2f63 6f64  og_enabled.
Re │ │ │ +000daf30: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ +000daf40: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +000daf50: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Complexity:< │ │ │ +000daa50: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +000daa70: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +000daac0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ +000daad0: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
< │ │ │ +000db020: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +000db030: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
i
│ │ │ +000db080: 6e63 6c75 6465 2065 6e61 626c 655f 7273  nclude enable_rs
│ │ │ +000db090: 7973 6c6f 670a 0a63 6c61 7373 2065 6e61  yslog..class ena
│ │ │ +000db0a0: 626c 655f 7273 7973 6c6f 6720 7b0a 2020  ble_rsyslog {.  
│ │ │ +000db0b0: 7365 7276 6963 6520 7b27 7273 7973 6c6f  service {'rsyslo
│ │ │ +000db0c0: 6727 3a0a 2020 2020 656e 6162 6c65 203d  g':.    enable =
│ │ │ +000db0d0: 2667 743b 2074 7275 652c 0a20 2020 2065  > true,.    e
│ │ │ +000db0e0: 6e73 7572 6520 3d26 6774 3b20 2772 756e  nsure => 'run
│ │ │ +000db0f0: 6e69 6e67 272c 0a20 207d 0a7d 0a3c 2f63  ning',.  }.}.
│ │ │ +000db110: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +000db1b0: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu │ │ │ +000db1c0: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn │ │ │ +000db1d0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.
│ │ │ +000db220: 5b63 7573 746f 6d69 7a61 7469 6f6e 732e  [customizations.
│ │ │ +000db230: 7365 7276 6963 6573 5d0a 656e 6162 6c65  services].enable
│ │ │ +000db240: 6420 3d20 5b22 7273 7973 6c6f 6722 5d0a  d = ["rsyslog"].
│ │ │  000db250: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediati │ │ │ -000e5cd0: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep │ │ │ -000e5ce0: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ... │ │ │ -000e5cf0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ -000e5d30: 3c63 6f64 653e 0a5b 5b70 6163 6b61 6765  .[[package
│ │ │ -000e5d40: 735d 5d0a 6e61 6d65 203d 2022 6970 7461  s]].name = "ipta
│ │ │ -000e5d50: 626c 6573 220a 7665 7273 696f 6e20 3d20  bles".version = 
│ │ │ -000e5d60: 222a 220a 3c2f 636f 6465 3e3c 2f70 7265  "*".
Remediati │ │ │ -000e5e20: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -000e5e30: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -000e5e70: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
Complexity:low
Disrup │ │ │ +000db000: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +000db010: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +000db050: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +000db060: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ -000e5ee0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -000e5f00: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -000e5f30: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -000e5f50: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -000e5ec0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -000e5ed0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -000e5f10: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -000e5f20: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ -000e5f70: 696e 7374 616c 6c5f 6970 7461 626c 6573 install_iptables │ │ │ -000e5f80: 0a0a 636c 6173 7320 696e 7374 616c 6c5f ..class install_ │ │ │ -000e5f90: 6970 7461 626c 6573 207b 0a20 2070 6163 iptables {. pac │ │ │ -000e5fa0: 6b61 6765 207b 2027 6970 7461 626c 6573 kage { 'iptables │ │ │ -000e5fb0: 273a 0a20 2020 2065 6e73 7572 6520 3d26 ':. ensure =& │ │ │ -000e5fc0: 6774 3b20 2769 6e73 7461 6c6c 6564 272c gt; 'installed', │ │ │ -000e5fd0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.
Remedi │ │ │ -000e6090: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn │ │ │ -000e60a0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -000e6150: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -000e61a0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ -000e6130: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -000e6160: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -000e6180: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -000e6190: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -000e61b0: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ -000e61c0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -000e61e0: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ -000e61f0: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ -000e6200: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ -000e6210: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ -000e6220: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ -000e6230: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ -000e6240: 2020 2d20 5043 492d 4453 532d 5265 712d    - PCI-DSS-Req-
│ │ │ -000e6250: 312e 342e 310a 2020 2d20 656e 6162 6c65  1.4.1.  - enable
│ │ │ -000e6260: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ -000e6270: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -000e6280: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -000e6290: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ -000e62a0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ -000e62b0: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ -000e62c0: 6b61 6765 5f69 7074 6162 6c65 735f 696e  kage_iptables_in
│ │ │ -000e62d0: 7374 616c 6c65 640a 0a2d 206e 616d 653a  stalled..- name:
│ │ │ -000e62e0: 2045 6e73 7572 6520 6970 7461 626c 6573   Ensure iptables
│ │ │ -000e62f0: 2069 7320 696e 7374 616c 6c65 640a 2020   is installed.  
│ │ │ -000e6300: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ -000e6310: 653a 2069 7074 6162 6c65 730a 2020 2020  e: iptables.    
│ │ │ -000e6320: 7374 6174 653a 2070 7265 7365 6e74 0a20  state: present. 
│ │ │ -000e6330: 2077 6865 6e3a 2028 2022 6c69 6e75 782d   when: ( "linux-
│ │ │ -000e6340: 6261 7365 2220 696e 2061 6e73 6962 6c65  base" in ansible
│ │ │ -000e6350: 5f66 6163 7473 2e70 6163 6b61 6765 7320  _facts.packages 
│ │ │ -000e6360: 290a 2020 7461 6773 3a0a 2020 2d20 4e49  ).  tags:.  - NI
│ │ │ -000e6370: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ -000e6380: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ -000e6390: 712d 312e 342e 310a 2020 2d20 656e 6162  q-1.4.1.  - enab
│ │ │ -000e63a0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -000e63b0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -000e63c0: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -000e63d0: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ -000e63e0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -000e63f0: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ -000e6400: 6163 6b61 6765 5f69 7074 6162 6c65 735f  ackage_iptables_
│ │ │ -000e6410: 696e 7374 616c 6c65 640a 3c2f 636f 6465  installed.
│ │ │ +000e5d90: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +000e5db0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +000e5de0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +000e5d70: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +000e5d80: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +000e5da0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +000e5dc0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +000e5dd0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

- name: │ │ │ +000e5e20: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack │ │ │ +000e5e30: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack │ │ │ +000e5e40: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m │ │ │ +000e5e50: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t │ │ │ +000e5e60: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80 │ │ │ +000e5e70: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). - │ │ │ +000e5e80: 2050 4349 2d44 5353 2d52 6571 2d31 2e34 PCI-DSS-Req-1.4 │ │ │ +000e5e90: 2e31 0a20 202d 2065 6e61 626c 655f 7374 .1. - enable_st │ │ │ +000e5ea0: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c │ │ │ +000e5eb0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo │ │ │ +000e5ec0: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. - │ │ │ +000e5ed0: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity │ │ │ +000e5ee0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n │ │ │ +000e5ef0: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag │ │ │ +000e5f00: 655f 6970 7461 626c 6573 5f69 6e73 7461 e_iptables_insta │ │ │ +000e5f10: 6c6c 6564 0a0a 2d20 6e61 6d65 3a20 456e lled..- name: En │ │ │ +000e5f20: 7375 7265 2069 7074 6162 6c65 7320 6973 sure iptables is │ │ │ +000e5f30: 2069 6e73 7461 6c6c 6564 0a20 2070 6163 installed. pac │ │ │ +000e5f40: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20 kage:. name: │ │ │ +000e5f50: 6970 7461 626c 6573 0a20 2020 2073 7461 iptables. sta │ │ │ +000e5f60: 7465 3a20 7072 6573 656e 740a 2020 7768 te: present. wh │ │ │ +000e5f70: 656e 3a20 2820 226c 696e 7578 2d62 6173 en: ( "linux-bas │ │ │ +000e5f80: 6522 2069 6e20 616e 7369 626c 655f 6661 e" in ansible_fa │ │ │ +000e5f90: 6374 732e 7061 636b 6167 6573 2029 0a20 cts.packages ). │ │ │ +000e5fa0: 2074 6167 733a 0a20 202d 204e 4953 542d tags:. - NIST- │ │ │ +000e5fb0: 3830 302d 3533 2d43 4d2d 3628 6129 0a20 800-53-CM-6(a). │ │ │ +000e5fc0: 202d 2050 4349 2d44 5353 2d52 6571 2d31 - PCI-DSS-Req-1 │ │ │ +000e5fd0: 2e34 2e31 0a20 202d 2065 6e61 626c 655f .4.1. - enable_ │ │ │ +000e5fe0: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low │ │ │ +000e5ff0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. - │ │ │ +000e6000: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption. │ │ │ +000e6010: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi │ │ │ +000e6020: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot │ │ │ +000e6030: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack │ │ │ +000e6040: 6167 655f 6970 7461 626c 6573 5f69 6e73 age_iptables_ins │ │ │ +000e6050: 7461 6c6c 6564 0a3c 2f63 6f64 653e 3c2f talled.

Remedi │ │ │ +000e6110: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ +000e6120: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +000e6130: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +000e61b0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +000e61e0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +000e6200: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +000e6210: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +000e6230: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ +000e6250: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +000e6260: 6465 2069 6e73 7461 6c6c 5f69 7074 6162  de install_iptab
│ │ │ +000e6270: 6c65 730a 0a63 6c61 7373 2069 6e73 7461  les..class insta
│ │ │ +000e6280: 6c6c 5f69 7074 6162 6c65 7320 7b0a 2020  ll_iptables {.  
│ │ │ +000e6290: 7061 636b 6167 6520 7b20 2769 7074 6162  package { 'iptab
│ │ │ +000e62a0: 6c65 7327 3a0a 2020 2020 656e 7375 7265  les':.    ensure
│ │ │ +000e62b0: 203d 2667 743b 2027 696e 7374 616c 6c65   => 'installe
│ │ │ +000e62c0: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Rem │ │ │ +000e6380: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild │ │ │ +000e6390: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp │ │ │ +000e63a0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[[p
│ │ │ +000e63f0: 6163 6b61 6765 735d 5d0a 6e61 6d65 203d  ackages]].name =
│ │ │ +000e6400: 2022 6970 7461 626c 6573 220a 7665 7273   "iptables".vers
│ │ │ +000e6410: 696f 6e20 3d20 222a 220a 3c2f 636f 6465  ion = "*".
Remediation Pup │ │ │ -000e6fb0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ -000e6fc0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -000e7040: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -000e7060: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -000e70b0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -000e70e0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -000e7050: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -000e7070: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -000e70c0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -000e70d0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ -000e7100: 655f 6970 7461 626c 6573 2d70 6572 7369  e_iptables-persi
│ │ │ -000e7110: 7374 656e 740a 0a63 6c61 7373 2072 656d  stent..class rem
│ │ │ -000e7120: 6f76 655f 6970 7461 626c 6573 2d70 6572  ove_iptables-per
│ │ │ -000e7130: 7369 7374 656e 7420 7b0a 2020 7061 636b  sistent {.  pack
│ │ │ -000e7140: 6167 6520 7b20 2769 7074 6162 6c65 732d  age { 'iptables-
│ │ │ -000e7150: 7065 7273 6973 7465 6e74 273a 0a20 2020  persistent':.   
│ │ │ -000e7160: 2065 6e73 7572 6520 3d26 6774 3b20 2770   ensure => 'p
│ │ │ -000e7170: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f  urged',.  }.}.
Remediation Ans │ │ │ -000e7240: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -000e7250: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ -000e72e0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -000e7300: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ -000e7320: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ -000e7350: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -000e7360: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Gath
│ │ │ -000e7390: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ -000e73a0: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ -000e73b0: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ -000e73c0: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ -000e73d0: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ -000e73e0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ -000e73f0: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -000e7400: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ -000e7410: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ -000e7420: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -000e7430: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ -000e7440: 6970 7461 626c 6573 2d70 6572 7369 7374  iptables-persist
│ │ │ -000e7450: 656e 745f 7265 6d6f 7665 640a 0a2d 206e  ent_removed..- n
│ │ │ -000e7460: 616d 653a 2045 6e73 7572 6520 6970 7461  ame: Ensure ipta
│ │ │ -000e7470: 626c 6573 2d70 6572 7369 7374 656e 7420  bles-persistent 
│ │ │ -000e7480: 6973 2072 656d 6f76 6564 0a20 2070 6163  is removed.  pac
│ │ │ -000e7490: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20  kage:.    name: 
│ │ │ -000e74a0: 6970 7461 626c 6573 2d70 6572 7369 7374  iptables-persist
│ │ │ -000e74b0: 656e 740a 2020 2020 7374 6174 653a 2061  ent.    state: a
│ │ │ -000e74c0: 6273 656e 740a 2020 7768 656e 3a20 2722  bsent.  when: '"
│ │ │ -000e74d0: 7566 7722 2069 6e20 616e 7369 626c 655f  ufw" in ansible_
│ │ │ -000e74e0: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -000e74f0: 2020 7461 6773 3a0a 2020 2d20 6469 7361    tags:.  - disa
│ │ │ -000e7500: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -000e7510: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -000e7520: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -000e7530: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -000e7540: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -000e7550: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -000e7560: 7061 636b 6167 655f 6970 7461 626c 6573  package_iptables
│ │ │ -000e7570: 2d70 6572 7369 7374 656e 745f 7265 6d6f  -persistent_remo
│ │ │ -000e7580: 7665 640a 3c2f 636f 6465 3e3c 2f70 7265  ved.
Remediation Ans │ │ │ +000e6fb0: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ +000e6fc0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ +000e7050: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +000e7070: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +000e7090: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +000e70c0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +000e70d0: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Gath
│ │ │ +000e7100: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ +000e7110: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ +000e7120: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ +000e7130: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ +000e7140: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ +000e7150: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +000e7160: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +000e7170: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ +000e7180: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ +000e7190: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +000e71a0: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ +000e71b0: 6970 7461 626c 6573 2d70 6572 7369 7374  iptables-persist
│ │ │ +000e71c0: 656e 745f 7265 6d6f 7665 640a 0a2d 206e  ent_removed..- n
│ │ │ +000e71d0: 616d 653a 2045 6e73 7572 6520 6970 7461  ame: Ensure ipta
│ │ │ +000e71e0: 626c 6573 2d70 6572 7369 7374 656e 7420  bles-persistent 
│ │ │ +000e71f0: 6973 2072 656d 6f76 6564 0a20 2070 6163  is removed.  pac
│ │ │ +000e7200: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20  kage:.    name: 
│ │ │ +000e7210: 6970 7461 626c 6573 2d70 6572 7369 7374  iptables-persist
│ │ │ +000e7220: 656e 740a 2020 2020 7374 6174 653a 2061  ent.    state: a
│ │ │ +000e7230: 6273 656e 740a 2020 7768 656e 3a20 2722  bsent.  when: '"
│ │ │ +000e7240: 7566 7722 2069 6e20 616e 7369 626c 655f  ufw" in ansible_
│ │ │ +000e7250: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ +000e7260: 2020 7461 6773 3a0a 2020 2d20 6469 7361    tags:.  - disa
│ │ │ +000e7270: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +000e7280: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +000e7290: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +000e72a0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ +000e72b0: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +000e72c0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +000e72d0: 7061 636b 6167 655f 6970 7461 626c 6573  package_iptables
│ │ │ +000e72e0: 2d70 6572 7369 7374 656e 745f 7265 6d6f  -persistent_remo
│ │ │ +000e72f0: 7665 640a 3c2f 636f 6465 3e3c 2f70 7265  ved.
Remediati │ │ │ +000e73b0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ +000e73c0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +000e7400: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ +000e7470: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +000e7490: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +000e74c0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ +000e7450: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +000e7460: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +000e74a0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +000e74b0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ +000e7500: 2072 656d 6f76 655f 6970 7461 626c 6573 remove_iptables │ │ │ +000e7510: 2d70 6572 7369 7374 656e 740a 0a63 6c61 -persistent..cla │ │ │ +000e7520: 7373 2072 656d 6f76 655f 6970 7461 626c ss remove_iptabl │ │ │ +000e7530: 6573 2d70 6572 7369 7374 656e 7420 7b0a es-persistent {. │ │ │ +000e7540: 2020 7061 636b 6167 6520 7b20 2769 7074 package { 'ipt │ │ │ +000e7550: 6162 6c65 732d 7065 7273 6973 7465 6e74 ables-persistent │ │ │ +000e7560: 273a 0a20 2020 2065 6e73 7572 6520 3d26 ':. ensure =& │ │ │ +000e7570: 6774 3b20 2770 7572 6765 6427 2c0a 2020 gt; 'purged',. │ │ │ +000e7580: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}.

Remediation │ │ │ -00128550: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin │ │ │ -00128560: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
.[[packages]]
│ │ │ -001285c0: 0a6e 616d 6520 3d20 226e 6674 6162 6c65  .name = "nftable
│ │ │ -001285d0: 7322 0a76 6572 7369 6f6e 203d 2022 2a22  s".version = "*"
│ │ │ -001285e0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -001286a0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -001286b0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -00128730: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -00128740: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ -00128760: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ -00128770: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ -00128790: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ -001287b0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:enable
<
│ │ │ -001287e0: 636f 6465 3e69 6e63 6c75 6465 2069 6e73  code>include ins
│ │ │ -001287f0: 7461 6c6c 5f6e 6674 6162 6c65 730a 0a63  tall_nftables..c
│ │ │ -00128800: 6c61 7373 2069 6e73 7461 6c6c 5f6e 6674  lass install_nft
│ │ │ -00128810: 6162 6c65 7320 7b0a 2020 7061 636b 6167  ables {.  packag
│ │ │ -00128820: 6520 7b20 276e 6674 6162 6c65 7327 3a0a  e { 'nftables':.
│ │ │ -00128830: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -00128840: 2027 696e 7374 616c 6c65 6427 2c0a 2020   'installed',.  
│ │ │ -00128850: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ -00128910: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -00128920: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001289d0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -001289f0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -00128a20: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -001289b0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -001289c0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -001289e0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -00128a00: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -00128a10: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

- name: │ │ │ -00128a60: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack │ │ │ -00128a70: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack │ │ │ -00128a80: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m │ │ │ -00128a90: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t │ │ │ -00128aa0: 6167 733a 0a20 202d 2050 4349 2d44 5353 ags:. - PCI-DSS │ │ │ -00128ab0: 7634 2d31 2e32 0a20 202d 2050 4349 2d44 v4-1.2. - PCI-D │ │ │ -00128ac0: 5353 7634 2d31 2e32 2e31 0a20 202d 2065 SSv4-1.2.1. - e │ │ │ -00128ad0: 6e61 626c 655f 7374 7261 7465 6779 0a20 nable_strategy. │ │ │ -00128ae0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit │ │ │ -00128af0: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup │ │ │ -00128b00: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_ │ │ │ -00128b10: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_ │ │ │ -00128b20: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed. │ │ │ -00128b30: 2d20 7061 636b 6167 655f 6e66 7461 626c - package_nftabl │ │ │ -00128b40: 6573 5f69 6e73 7461 6c6c 6564 0a0a 2d20 es_installed..- │ │ │ -00128b50: 6e61 6d65 3a20 456e 7375 7265 206e 6674 name: Ensure nft │ │ │ -00128b60: 6162 6c65 7320 6973 2069 6e73 7461 6c6c ables is install │ │ │ -00128b70: 6564 0a20 2070 6163 6b61 6765 3a0a 2020 ed. package:. │ │ │ -00128b80: 2020 6e61 6d65 3a20 6e66 7461 626c 6573 name: nftables │ │ │ -00128b90: 0a20 2020 2073 7461 7465 3a20 7072 6573 . state: pres │ │ │ -00128ba0: 656e 740a 2020 7768 656e 3a20 2820 226c ent. when: ( "l │ │ │ -00128bb0: 696e 7578 2d62 6173 6522 2069 6e20 616e inux-base" in an │ │ │ -00128bc0: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack │ │ │ -00128bd0: 6167 6573 2029 0a20 2074 6167 733a 0a20 ages ). tags:. │ │ │ -00128be0: 202d 2050 4349 2d44 5353 7634 2d31 2e32 - PCI-DSSv4-1.2 │ │ │ -00128bf0: 0a20 202d 2050 4349 2d44 5353 7634 2d31 . - PCI-DSSv4-1 │ │ │ -00128c00: 2e32 2e31 0a20 202d 2065 6e61 626c 655f .2.1. - enable_ │ │ │ -00128c10: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low │ │ │ -00128c20: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. - │ │ │ -00128c30: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption. │ │ │ -00128c40: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi │ │ │ -00128c50: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot │ │ │ -00128c60: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack │ │ │ -00128c70: 6167 655f 6e66 7461 626c 6573 5f69 6e73 age_nftables_ins │ │ │ -00128c80: 7461 6c6c 6564 0a3c 2f63 6f64 653e 3c2f talled.

│ │ │ +001285e0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +001285f0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +00128600: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +00128640: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +00128650: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +00128670: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ +00128690: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761  - name: Ga
│ │ │ +001286a0: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ +001286b0: 2066 6163 7473 0a20 2070 6163 6b61 6765   facts.  package
│ │ │ +001286c0: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61  _facts:.    mana
│ │ │ +001286d0: 6765 723a 2061 7574 6f0a 2020 7461 6773  ger: auto.  tags
│ │ │ +001286e0: 3a0a 2020 2d20 5043 492d 4453 5376 342d  :.  - PCI-DSSv4-
│ │ │ +001286f0: 312e 320a 2020 2d20 5043 492d 4453 5376  1.2.  - PCI-DSSv
│ │ │ +00128700: 342d 312e 322e 310a 2020 2d20 656e 6162  4-1.2.1.  - enab
│ │ │ +00128710: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +00128720: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +00128730: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +00128740: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ +00128750: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +00128760: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ +00128770: 6163 6b61 6765 5f6e 6674 6162 6c65 735f  ackage_nftables_
│ │ │ +00128780: 696e 7374 616c 6c65 640a 0a2d 206e 616d  installed..- nam
│ │ │ +00128790: 653a 2045 6e73 7572 6520 6e66 7461 626c  e: Ensure nftabl
│ │ │ +001287a0: 6573 2069 7320 696e 7374 616c 6c65 640a  es is installed.
│ │ │ +001287b0: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ +001287c0: 616d 653a 206e 6674 6162 6c65 730a 2020  ame: nftables.  
│ │ │ +001287d0: 2020 7374 6174 653a 2070 7265 7365 6e74    state: present
│ │ │ +001287e0: 0a20 2077 6865 6e3a 2028 2022 6c69 6e75  .  when: ( "linu
│ │ │ +001287f0: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ +00128800: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +00128810: 7320 290a 2020 7461 6773 3a0a 2020 2d20  s ).  tags:.  - 
│ │ │ +00128820: 5043 492d 4453 5376 342d 312e 320a 2020  PCI-DSSv4-1.2.  
│ │ │ +00128830: 2d20 5043 492d 4453 5376 342d 312e 322e  - PCI-DSSv4-1.2.
│ │ │ +00128840: 310a 2020 2d20 656e 6162 6c65 5f73 7472  1.  - enable_str
│ │ │ +00128850: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ +00128860: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +00128870: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +00128880: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ +00128890: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ +001288a0: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ +001288b0: 5f6e 6674 6162 6c65 735f 696e 7374 616c  _nftables_instal
│ │ │ +001288c0: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265  led.
Remediati │ │ │ +00128980: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ +00128990: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +001289d0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ +00128a40: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +00128a60: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +00128a90: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ +00128ab0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ +00128a20: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +00128a30: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +00128a70: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +00128a80: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ +00128ad0: 696e 7374 616c 6c5f 6e66 7461 626c 6573 install_nftables │ │ │ +00128ae0: 0a0a 636c 6173 7320 696e 7374 616c 6c5f ..class install_ │ │ │ +00128af0: 6e66 7461 626c 6573 207b 0a20 2070 6163 nftables {. pac │ │ │ +00128b00: 6b61 6765 207b 2027 6e66 7461 626c 6573 kage { 'nftables │ │ │ +00128b10: 273a 0a20 2020 2065 6e73 7572 6520 3d26 ':. ensure =& │ │ │ +00128b20: 6774 3b20 2769 6e73 7461 6c6c 6564 272c gt; 'installed', │ │ │ +00128b30: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.
Remedi │ │ │ +00128bf0: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl │ │ │ +00128c00: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet │ │ │ +00128c10: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...

.[[pack │ │ │ +00128c60: 6167 6573 5d5d 0a6e 616d 6520 3d20 226e ages]].name = "n │ │ │ +00128c70: 6674 6162 6c65 7322 0a76 6572 7369 6f6e ftables".version │ │ │ +00128c80: 203d 2022 2a22 0a3c 2f63 6f64 653e 3c2f = "*".

R │ │ │ -00129880: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui │ │ │ -00129890: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni │ │ │ -001298a0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001298b0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
.[
│ │ │ -001298f0: 6375 7374 6f6d 697a 6174 696f 6e73 2e73  customizations.s
│ │ │ -00129900: 6572 7669 6365 735d 0a65 6e61 626c 6564  ervices].enabled
│ │ │ -00129910: 203d 205b 226e 6674 6162 6c65 7322 5d0a   = ["nftables"].
│ │ │ -00129920: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation P │ │ │ -001299e0: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ -001299f0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ -00129a80: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -00129aa0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -00129ab0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -00129ac0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -00129ad0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -00129af0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
include enab
│ │ │ -00129b30: 6c65 5f6e 6674 6162 6c65 730a 0a63 6c61  le_nftables..cla
│ │ │ -00129b40: 7373 2065 6e61 626c 655f 6e66 7461 626c  ss enable_nftabl
│ │ │ -00129b50: 6573 207b 0a20 2073 6572 7669 6365 207b  es {.  service {
│ │ │ -00129b60: 276e 6674 6162 6c65 7327 3a0a 2020 2020  'nftables':.    
│ │ │ -00129b70: 656e 6162 6c65 203d 2667 743b 2074 7275  enable => tru
│ │ │ -00129b80: 652c 0a20 2020 2065 6e73 7572 6520 3d26  e,.    ensure =&
│ │ │ -00129b90: 6774 3b20 2772 756e 6e69 6e67 272c 0a20  gt; 'running',. 
│ │ │ -00129ba0: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.
Remediat │ │ │ -00129c60: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip │ │ │ -00129c70: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -00129c80: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -00129c90: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -00129ca0: 7365 2220 6964 3d22 6964 6d31 3638 3235 se" id="idm16825 │ │ │ -00129cb0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ -00129d00: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -00129d10: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -00129d30: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -00129d50: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -00129d60: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ -00129da0: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -00129db0: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ -00129dc0: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac │ │ │ -00129dd0: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ -00129de0: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto. │ │ │ -00129df0: 7461 6773 3a0a 2020 2d20 656e 6162 6c65 tags:. - enable │ │ │ -00129e00: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo │ │ │ -00129e10: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. - │ │ │ -00129e20: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption. │ │ │ -00129e30: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever │ │ │ -00129e40: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo │ │ │ -00129e50: 745f 6e65 6564 6564 0a20 202d 2073 6572 t_needed. - ser │ │ │ -00129e60: 7669 6365 5f6e 6674 6162 6c65 735f 656e vice_nftables_en │ │ │ -00129e70: 6162 6c65 640a 0a2d 206e 616d 653a 2056 abled..- name: V │ │ │ -00129e80: 6572 6966 7920 6e66 7461 626c 6573 2053 erify nftables S │ │ │ -00129e90: 6572 7669 6365 2069 7320 456e 6162 6c65 ervice is Enable │ │ │ -00129ea0: 6420 2d20 456e 6162 6c65 2073 6572 7669 d - Enable servi │ │ │ -00129eb0: 6365 206e 6674 6162 6c65 730a 2020 626c ce nftables. bl │ │ │ -00129ec0: 6f63 6b3a 0a0a 2020 2d20 6e61 6d65 3a20 ock:.. - name: │ │ │ -00129ed0: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ -00129ee0: 6765 2066 6163 7473 0a20 2020 2070 6163 ge facts. pac │ │ │ -00129ef0: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ -00129f00: 2020 6d61 6e61 6765 723a 2061 7574 6f0a manager: auto. │ │ │ -00129f10: 0a20 202d 206e 616d 653a 2056 6572 6966 . - name: Verif │ │ │ -00129f20: 7920 6e66 7461 626c 6573 2053 6572 7669 y nftables Servi │ │ │ -00129f30: 6365 2069 7320 456e 6162 6c65 6420 2d20 ce is Enabled - │ │ │ -00129f40: 456e 6162 6c65 2053 6572 7669 6365 206e Enable Service n │ │ │ -00129f50: 6674 6162 6c65 730a 2020 2020 616e 7369 ftables. ansi │ │ │ -00129f60: 626c 652e 6275 696c 7469 6e2e 7379 7374 ble.builtin.syst │ │ │ -00129f70: 656d 643a 0a20 2020 2020 206e 616d 653a emd:. name: │ │ │ -00129f80: 206e 6674 6162 6c65 730a 2020 2020 2020 nftables. │ │ │ -00129f90: 656e 6162 6c65 643a 2074 7275 650a 2020 enabled: true. │ │ │ -00129fa0: 2020 2020 7374 6174 653a 2073 7461 7274 state: start │ │ │ -00129fb0: 6564 0a20 2020 2020 206d 6173 6b65 643a ed. masked: │ │ │ -00129fc0: 2066 616c 7365 0a20 2020 2077 6865 6e3a false. when: │ │ │ -00129fd0: 0a20 2020 202d 2027 226e 6674 6162 6c65 . - '"nftable │ │ │ -00129fe0: 7322 2069 6e20 616e 7369 626c 655f 6661 s" in ansible_fa │ │ │ -00129ff0: 6374 732e 7061 636b 6167 6573 270a 2020 cts.packages'. │ │ │ -0012a000: 7768 656e 3a20 2820 226e 6674 6162 6c65 when: ( "nftable │ │ │ -0012a010: 7322 2069 6e20 616e 7369 626c 655f 6661 s" in ansible_fa │ │ │ -0012a020: 6374 732e 7061 636b 6167 6573 2061 6e64 cts.packages and │ │ │ -0012a030: 2022 6c69 6e75 782d 6261 7365 2220 696e "linux-base" in │ │ │ -0012a040: 2061 6e73 6962 6c65 5f66 6163 7473 2e70 ansible_facts.p │ │ │ -0012a050: 6163 6b61 6765 730a 2020 2020 290a 2020 ackages. ). │ │ │ -0012a060: 7461 6773 3a0a 2020 2d20 656e 6162 6c65 tags:. - enable │ │ │ -0012a070: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo │ │ │ -0012a080: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. - │ │ │ -0012a090: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption. │ │ │ -0012a0a0: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever │ │ │ -0012a0b0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo │ │ │ -0012a0c0: 745f 6e65 6564 6564 0a20 202d 2073 6572 t_needed. - ser │ │ │ -0012a0d0: 7669 6365 5f6e 6674 6162 6c65 735f 656e vice_nftables_en │ │ │ -0012a0e0: 6162 6c65 640a 3c2f 636f 6465 3e3c 2f70 abled.


< │ │ │ +00129920: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +00129940: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +00129990: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
- name: Gather 
│ │ │ +001299e0: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ +001299f0: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ +00129a00: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ +00129a10: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ +00129a20: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ +00129a30: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +00129a40: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +00129a50: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +00129a60: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +00129a70: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +00129a80: 2020 2d20 7365 7276 6963 655f 6e66 7461    - service_nfta
│ │ │ +00129a90: 626c 6573 5f65 6e61 626c 6564 0a0a 2d20  bles_enabled..- 
│ │ │ +00129aa0: 6e61 6d65 3a20 5665 7269 6679 206e 6674  name: Verify nft
│ │ │ +00129ab0: 6162 6c65 7320 5365 7276 6963 6520 6973  ables Service is
│ │ │ +00129ac0: 2045 6e61 626c 6564 202d 2045 6e61 626c   Enabled - Enabl
│ │ │ +00129ad0: 6520 7365 7276 6963 6520 6e66 7461 626c  e service nftabl
│ │ │ +00129ae0: 6573 0a20 2062 6c6f 636b 3a0a 0a20 202d  es.  block:..  -
│ │ │ +00129af0: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ +00129b00: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ +00129b10: 2020 2020 7061 636b 6167 655f 6661 6374      package_fact
│ │ │ +00129b20: 733a 0a20 2020 2020 206d 616e 6167 6572  s:.      manager
│ │ │ +00129b30: 3a20 6175 746f 0a0a 2020 2d20 6e61 6d65  : auto..  - name
│ │ │ +00129b40: 3a20 5665 7269 6679 206e 6674 6162 6c65  : Verify nftable
│ │ │ +00129b50: 7320 5365 7276 6963 6520 6973 2045 6e61  s Service is Ena
│ │ │ +00129b60: 626c 6564 202d 2045 6e61 626c 6520 5365  bled - Enable Se
│ │ │ +00129b70: 7276 6963 6520 6e66 7461 626c 6573 0a20  rvice nftables. 
│ │ │ +00129b80: 2020 2061 6e73 6962 6c65 2e62 7569 6c74     ansible.built
│ │ │ +00129b90: 696e 2e73 7973 7465 6d64 3a0a 2020 2020  in.systemd:.    
│ │ │ +00129ba0: 2020 6e61 6d65 3a20 6e66 7461 626c 6573    name: nftables
│ │ │ +00129bb0: 0a20 2020 2020 2065 6e61 626c 6564 3a20  .      enabled: 
│ │ │ +00129bc0: 7472 7565 0a20 2020 2020 2073 7461 7465  true.      state
│ │ │ +00129bd0: 3a20 7374 6172 7465 640a 2020 2020 2020  : started.      
│ │ │ +00129be0: 6d61 736b 6564 3a20 6661 6c73 650a 2020  masked: false.  
│ │ │ +00129bf0: 2020 7768 656e 3a0a 2020 2020 2d20 2722    when:.    - '"
│ │ │ +00129c00: 6e66 7461 626c 6573 2220 696e 2061 6e73  nftables" in ans
│ │ │ +00129c10: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ +00129c20: 6765 7327 0a20 2077 6865 6e3a 2028 2022  ges'.  when: ( "
│ │ │ +00129c30: 6e66 7461 626c 6573 2220 696e 2061 6e73  nftables" in ans
│ │ │ +00129c40: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ +00129c50: 6765 7320 616e 6420 226c 696e 7578 2d62  ges and "linux-b
│ │ │ +00129c60: 6173 6522 2069 6e20 616e 7369 626c 655f  ase" in ansible_
│ │ │ +00129c70: 6661 6374 732e 7061 636b 6167 6573 0a20  facts.packages. 
│ │ │ +00129c80: 2020 2029 0a20 2074 6167 733a 0a20 202d     ).  tags:.  -
│ │ │ +00129c90: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ +00129ca0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +00129cb0: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +00129cc0: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +00129cd0: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +00129ce0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +00129cf0: 2020 2d20 7365 7276 6963 655f 6e66 7461    - service_nfta
│ │ │ +00129d00: 626c 6573 5f65 6e61 626c 6564 0a3c 2f63  bles_enabled.
│ │ │ +00129d20: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +00129dc0: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ +00129dd0: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
low
Disr │ │ │ +00129950: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +00129960: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +001299a0: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ +001299b0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
< │ │ │ +00129e60: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +00129e80: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +00129ed0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
include enable_
│ │ │ +00129f20: 6e66 7461 626c 6573 0a0a 636c 6173 7320  nftables..class 
│ │ │ +00129f30: 656e 6162 6c65 5f6e 6674 6162 6c65 7320  enable_nftables 
│ │ │ +00129f40: 7b0a 2020 7365 7276 6963 6520 7b27 6e66  {.  service {'nf
│ │ │ +00129f50: 7461 626c 6573 273a 0a20 2020 2065 6e61  tables':.    ena
│ │ │ +00129f60: 626c 6520 3d26 6774 3b20 7472 7565 2c0a  ble => true,.
│ │ │ +00129f70: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +00129f80: 2027 7275 6e6e 696e 6727 2c0a 2020 7d0a   'running',.  }.
│ │ │ +00129f90: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ +00129fa0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +0012a050: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ +0012a060: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
.[customizat
│ │ │ +0012a0c0: 696f 6e73 2e73 6572 7669 6365 735d 0a65  ions.services].e
│ │ │ +0012a0d0: 6e61 626c 6564 203d 205b 226e 6674 6162  nabled = ["nftab
│ │ │ +0012a0e0: 6c65 7322 5d0a 3c2f 636f 6465 3e3c 2f70  les"].

Rem │ │ │ -00132b50: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ -00132b60: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -00132b70: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
low
Disr │ │ │ +00129e90: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +00129ea0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +00129ee0: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ +00129ef0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -00132c00: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
i
│ │ │ -00132ca0: 6e63 6c75 6465 2072 656d 6f76 655f 7566  nclude remove_uf
│ │ │ -00132cb0: 770a 0a63 6c61 7373 2072 656d 6f76 655f  w..class remove_
│ │ │ -00132cc0: 7566 7720 7b0a 2020 7061 636b 6167 6520  ufw {.  package 
│ │ │ -00132cd0: 7b20 2775 6677 273a 0a20 2020 2065 6e73  { 'ufw':.    ens
│ │ │ -00132ce0: 7572 6520 3d26 6774 3b20 2770 7572 6765  ure => 'purge
│ │ │ -00132cf0: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Rem │ │ │ -00132db0: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ -00132dc0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -00132dd0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
│ │ │ -00132bf0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -00132c20: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -00132c30: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -00132c70: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ -00132c80: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ -00132ea0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -00132eb0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -00132f00: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ -00132f10: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ -00132f20: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ -00132f30: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ -00132f40: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ -00132f50: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ -00132f60: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -00132f70: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -00132f80: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ -00132f90: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ -00132fa0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -00132fb0: 2020 2d20 7061 636b 6167 655f 7566 775f    - package_ufw_
│ │ │ -00132fc0: 7265 6d6f 7665 640a 0a2d 206e 616d 653a  removed..- name:
│ │ │ -00132fd0: 2045 6e73 7572 6520 7566 7720 6973 2072   Ensure ufw is r
│ │ │ -00132fe0: 656d 6f76 6564 0a20 2070 6163 6b61 6765  emoved.  package
│ │ │ -00132ff0: 3a0a 2020 2020 6e61 6d65 3a20 7566 770a  :.    name: ufw.
│ │ │ -00133000: 2020 2020 7374 6174 653a 2061 6273 656e      state: absen
│ │ │ -00133010: 740a 2020 7768 656e 3a20 2722 6c69 6e75  t.  when: '"linu
│ │ │ -00133020: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ -00133030: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -00133040: 7327 0a20 2074 6167 733a 0a20 202d 2064  s'.  tags:.  - d
│ │ │ -00133050: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ -00133060: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -00133070: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -00133080: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -00133090: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -001330a0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -001330b0: 202d 2070 6163 6b61 6765 5f75 6677 5f72   - package_ufw_r
│ │ │ -001330c0: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f  emoved.
│ │ │ +00132b70: 3c62 723e 3c64 6976 2063 6c61 7373 3d22  
Complexity:low
Disrup │ │ │ -00132e80: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -00132e90: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -00132ed0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -00132ee0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
< │ │ │ +00132c40: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +00132c50: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +00132ca0: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ +00132cb0: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ +00132cc0: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ +00132cd0: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ +00132ce0: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ +00132cf0: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ +00132d00: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +00132d10: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +00132d20: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +00132d30: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +00132d40: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +00132d50: 2020 2d20 7061 636b 6167 655f 7566 775f    - package_ufw_
│ │ │ +00132d60: 7265 6d6f 7665 640a 0a2d 206e 616d 653a  removed..- name:
│ │ │ +00132d70: 2045 6e73 7572 6520 7566 7720 6973 2072   Ensure ufw is r
│ │ │ +00132d80: 656d 6f76 6564 0a20 2070 6163 6b61 6765  emoved.  package
│ │ │ +00132d90: 3a0a 2020 2020 6e61 6d65 3a20 7566 770a  :.    name: ufw.
│ │ │ +00132da0: 2020 2020 7374 6174 653a 2061 6273 656e      state: absen
│ │ │ +00132db0: 740a 2020 7768 656e 3a20 2722 6c69 6e75  t.  when: '"linu
│ │ │ +00132dc0: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ +00132dd0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +00132de0: 7327 0a20 2074 6167 733a 0a20 202d 2064  s'.  tags:.  - d
│ │ │ +00132df0: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ +00132e00: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +00132e10: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +00132e20: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ +00132e30: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +00132e40: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +00132e50: 202d 2070 6163 6b61 6765 5f75 6677 5f72   - package_ufw_r
│ │ │ +00132e60: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f  emoved.Remedi
│ │ │ +00132f20: 6174 696f 6e20 5075 7070 6574 2073 6e69  ation Puppet sni
│ │ │ +00132f30: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e  ppet ...
│ │ │ +00132f40: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Complexity:low
Disrup │ │ │ +00132c20: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +00132c30: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +00132c70: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +00132c80: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Com │ │ │ +00132fc0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +00132ff0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +00133010: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +00133020: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +00133040: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +00133050: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +00133070: 7564 6520 7265 6d6f 7665 5f75 6677 0a0a  ude remove_ufw..
│ │ │ +00133080: 636c 6173 7320 7265 6d6f 7665 5f75 6677  class remove_ufw
│ │ │ +00133090: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ +001330a0: 7566 7727 3a0a 2020 2020 656e 7375 7265  ufw':.    ensure
│ │ │ +001330b0: 203d 2667 743b 2027 7075 7267 6564 272c   => 'purged',
│ │ │ +001330c0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.
Rem │ │ │ -00133e80: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild │ │ │ -00133e90: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp │ │ │ -00133ea0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[cu
│ │ │ -00133ef0: 7374 6f6d 697a 6174 696f 6e73 2e73 6572  stomizations.ser
│ │ │ -00133f00: 7669 6365 735d 0a65 6e61 626c 6564 203d  vices].enabled =
│ │ │ -00133f10: 205b 2275 6677 225d 0a3c 2f63 6f64 653e   ["ufw"].
│ │ │ -00133f20: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ -00133fd0: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -00133fe0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -00134080: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -00134090: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -001340e0: 3c74 723e 3c74 683e 5374 7261 7465 6779
inc
│ │ │ -00134120: 6c75 6465 2065 6e61 626c 655f 7566 770a  lude enable_ufw.
│ │ │ -00134130: 0a63 6c61 7373 2065 6e61 626c 655f 7566  .class enable_uf
│ │ │ -00134140: 7720 7b0a 2020 7365 7276 6963 6520 7b27  w {.  service {'
│ │ │ -00134150: 7566 7727 3a0a 2020 2020 656e 6162 6c65  ufw':.    enable
│ │ │ -00134160: 203d 2667 743b 2074 7275 652c 0a20 2020   => true,.   
│ │ │ -00134170: 2065 6e73 7572 6520 3d26 6774 3b20 2772   ensure => 'r
│ │ │ -00134180: 756e 6e69 6e67 272c 0a20 207d 0a7d 0a3c  unning',.  }.}.<
│ │ │ -00134190: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation An │ │ │ -00134250: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -00134260: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ -00134320: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -00134330: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
C │ │ │ -00134070: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -001340a0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -001340b0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -001340f0: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ -00134100: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complexity │ │ │ -001342f0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ -00134310: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ -00134340: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ -00134360: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
- name: Gath
│ │ │ -001343a0: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ -001343b0: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ -001343c0: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ -001343d0: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ -001343e0: 2020 2d20 4449 5341 2d53 5449 472d 5542    - DISA-STIG-UB
│ │ │ -001343f0: 5455 2d32 322d 3235 3130 3230 0a20 202d  TU-22-251020.  -
│ │ │ -00134400: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ -00134410: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -00134420: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -00134430: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ -00134440: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ -00134450: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -00134460: 2020 2d20 7365 7276 6963 655f 7566 775f    - service_ufw_
│ │ │ -00134470: 656e 6162 6c65 640a 0a2d 206e 616d 653a  enabled..- name:
│ │ │ -00134480: 2056 6572 6966 7920 7566 7720 456e 6162   Verify ufw Enab
│ │ │ -00134490: 6c65 6420 2d20 456e 6162 6c65 2073 6572  led - Enable ser
│ │ │ -001344a0: 7669 6365 2075 6677 0a20 2062 6c6f 636b  vice ufw.  block
│ │ │ -001344b0: 3a0a 0a20 202d 206e 616d 653a 2047 6174  :..  - name: Gat
│ │ │ -001344c0: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ -001344d0: 6661 6374 730a 2020 2020 7061 636b 6167  facts.    packag
│ │ │ -001344e0: 655f 6661 6374 733a 0a20 2020 2020 206d  e_facts:.      m
│ │ │ -001344f0: 616e 6167 6572 3a20 6175 746f 0a0a 2020  anager: auto..  
│ │ │ -00134500: 2d20 6e61 6d65 3a20 5665 7269 6679 2075  - name: Verify u
│ │ │ -00134510: 6677 2045 6e61 626c 6564 202d 2045 6e61  fw Enabled - Ena
│ │ │ -00134520: 626c 6520 5365 7276 6963 6520 7566 770a  ble Service ufw.
│ │ │ -00134530: 2020 2020 616e 7369 626c 652e 6275 696c      ansible.buil
│ │ │ -00134540: 7469 6e2e 7379 7374 656d 643a 0a20 2020  tin.systemd:.   
│ │ │ -00134550: 2020 206e 616d 653a 2075 6677 0a20 2020     name: ufw.   
│ │ │ -00134560: 2020 2065 6e61 626c 6564 3a20 7472 7565     enabled: true
│ │ │ -00134570: 0a20 2020 2020 2073 7461 7465 3a20 7374  .      state: st
│ │ │ -00134580: 6172 7465 640a 2020 2020 2020 6d61 736b  arted.      mask
│ │ │ -00134590: 6564 3a20 6661 6c73 650a 2020 2020 7768  ed: false.    wh
│ │ │ -001345a0: 656e 3a0a 2020 2020 2d20 2722 7566 7722  en:.    - '"ufw"
│ │ │ -001345b0: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ -001345c0: 732e 7061 636b 6167 6573 270a 2020 7768  s.packages'.  wh
│ │ │ -001345d0: 656e 3a0a 2020 2d20 2722 6c69 6e75 782d  en:.  - '"linux-
│ │ │ -001345e0: 6261 7365 2220 696e 2061 6e73 6962 6c65  base" in ansible
│ │ │ -001345f0: 5f66 6163 7473 2e70 6163 6b61 6765 7327  _facts.packages'
│ │ │ -00134600: 0a20 202d 2028 2022 7566 7722 2069 6e20  .  - ( "ufw" in 
│ │ │ -00134610: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -00134620: 636b 6167 6573 2061 6e64 2022 6c69 6e75  ckages and "linu
│ │ │ -00134630: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ -00134640: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -00134650: 7320 290a 2020 7461 6773 3a0a 2020 2d20  s ).  tags:.  - 
│ │ │ -00134660: 4449 5341 2d53 5449 472d 5542 5455 2d32  DISA-STIG-UBTU-2
│ │ │ -00134670: 322d 3235 3130 3230 0a20 202d 2065 6e61  2-251020.  - ena
│ │ │ -00134680: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -00134690: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -001346a0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -001346b0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -001346c0: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -001346d0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -001346e0: 7365 7276 6963 655f 7566 775f 656e 6162  service_ufw_enab
│ │ │ -001346f0: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265  led.
│ │ │ +00133ea0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ +00133f70: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +00133f80: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
-
│ │ │ +00133fd0: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ +00133fe0: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ +00133ff0: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ +00134000: 0a20 2020 206d 616e 6167 6572 3a20 6175  .    manager: au
│ │ │ +00134010: 746f 0a20 2074 6167 733a 0a20 202d 2044  to.  tags:.  - D
│ │ │ +00134020: 4953 412d 5354 4947 2d55 4254 552d 3232  ISA-STIG-UBTU-22
│ │ │ +00134030: 2d32 3531 3032 300a 2020 2d20 656e 6162  -251020.  - enab
│ │ │ +00134040: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +00134050: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +00134060: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +00134070: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ +00134080: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +00134090: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ +001340a0: 6572 7669 6365 5f75 6677 5f65 6e61 626c  ervice_ufw_enabl
│ │ │ +001340b0: 6564 0a0a 2d20 6e61 6d65 3a20 5665 7269  ed..- name: Veri
│ │ │ +001340c0: 6679 2075 6677 2045 6e61 626c 6564 202d  fy ufw Enabled -
│ │ │ +001340d0: 2045 6e61 626c 6520 7365 7276 6963 6520   Enable service 
│ │ │ +001340e0: 7566 770a 2020 626c 6f63 6b3a 0a0a 2020  ufw.  block:..  
│ │ │ +001340f0: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ +00134100: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ +00134110: 0a20 2020 2070 6163 6b61 6765 5f66 6163  .    package_fac
│ │ │ +00134120: 7473 3a0a 2020 2020 2020 6d61 6e61 6765  ts:.      manage
│ │ │ +00134130: 723a 2061 7574 6f0a 0a20 202d 206e 616d  r: auto..  - nam
│ │ │ +00134140: 653a 2056 6572 6966 7920 7566 7720 456e  e: Verify ufw En
│ │ │ +00134150: 6162 6c65 6420 2d20 456e 6162 6c65 2053  abled - Enable S
│ │ │ +00134160: 6572 7669 6365 2075 6677 0a20 2020 2061  ervice ufw.    a
│ │ │ +00134170: 6e73 6962 6c65 2e62 7569 6c74 696e 2e73  nsible.builtin.s
│ │ │ +00134180: 7973 7465 6d64 3a0a 2020 2020 2020 6e61  ystemd:.      na
│ │ │ +00134190: 6d65 3a20 7566 770a 2020 2020 2020 656e  me: ufw.      en
│ │ │ +001341a0: 6162 6c65 643a 2074 7275 650a 2020 2020  abled: true.    
│ │ │ +001341b0: 2020 7374 6174 653a 2073 7461 7274 6564    state: started
│ │ │ +001341c0: 0a20 2020 2020 206d 6173 6b65 643a 2066  .      masked: f
│ │ │ +001341d0: 616c 7365 0a20 2020 2077 6865 6e3a 0a20  alse.    when:. 
│ │ │ +001341e0: 2020 202d 2027 2275 6677 2220 696e 2061     - '"ufw" in a
│ │ │ +001341f0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +00134200: 6b61 6765 7327 0a20 2077 6865 6e3a 0a20  kages'.  when:. 
│ │ │ +00134210: 202d 2027 226c 696e 7578 2d62 6173 6522   - '"linux-base"
│ │ │ +00134220: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ +00134230: 732e 7061 636b 6167 6573 270a 2020 2d20  s.packages'.  - 
│ │ │ +00134240: 2820 2275 6677 2220 696e 2061 6e73 6962  ( "ufw" in ansib
│ │ │ +00134250: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +00134260: 7320 616e 6420 226c 696e 7578 2d62 6173  s and "linux-bas
│ │ │ +00134270: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ +00134280: 6374 732e 7061 636b 6167 6573 2029 0a20  cts.packages ). 
│ │ │ +00134290: 2074 6167 733a 0a20 202d 2044 4953 412d   tags:.  - DISA-
│ │ │ +001342a0: 5354 4947 2d55 4254 552d 3232 2d32 3531  STIG-UBTU-22-251
│ │ │ +001342b0: 3032 300a 2020 2d20 656e 6162 6c65 5f73  020.  - enable_s
│ │ │ +001342c0: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ +001342d0: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ +001342e0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ +001342f0: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ +00134300: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ +00134310: 6e65 6564 6564 0a20 202d 2073 6572 7669  needed.  - servi
│ │ │ +00134320: 6365 5f75 6677 5f65 6e61 626c 6564 0a3c  ce_ufw_enabled.<
│ │ │ +00134330: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ +001343f0: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ +00134400: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low< │ │ │ +001344d0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr> │ │ │ +00134520: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:low
Disrup │ │ │ +00133f50: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +00133f60: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +00133fa0: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +00133fb0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexity: │ │ │ +00134490: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ +001344b0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ +00134500: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +00134510: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
include enabl
│ │ │ +00134540: 655f 7566 770a 0a63 6c61 7373 2065 6e61  e_ufw..class ena
│ │ │ +00134550: 626c 655f 7566 7720 7b0a 2020 7365 7276  ble_ufw {.  serv
│ │ │ +00134560: 6963 6520 7b27 7566 7727 3a0a 2020 2020  ice {'ufw':.    
│ │ │ +00134570: 656e 6162 6c65 203d 2667 743b 2074 7275  enable => tru
│ │ │ +00134580: 652c 0a20 2020 2065 6e73 7572 6520 3d26  e,.    ensure =&
│ │ │ +00134590: 6774 3b20 2772 756e 6e69 6e67 272c 0a20  gt; 'running',. 
│ │ │ +001345a0: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.
Remediat │ │ │ +00134660: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue │ │ │ +00134670: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet .. │ │ │ +00134680: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
.[customi
│ │ │ +001346d0: 7a61 7469 6f6e 732e 7365 7276 6963 6573  zations.services
│ │ │ +001346e0: 5d0a 656e 6162 6c65 6420 3d20 5b22 7566  ].enabled = ["uf
│ │ │ +001346f0: 7722 5d0a 3c2f 636f 6465 3e3c 2f70 7265  w"].
Remediation │ │ │ -0015f6b0: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin │ │ │ -0015f6c0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
.[customizati
│ │ │ -0015f720: 6f6e 732e 7365 7276 6963 6573 5d0a 6d61  ons.services].ma
│ │ │ -0015f730: 736b 6564 203d 205b 2261 7574 6f66 7322  sked = ["autofs"
│ │ │ -0015f740: 5d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  ].
< │ │ │ -0015f750: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -0015f800: 204b 7562 6572 6e65 7465 7320 736e 6970 Kubernetes snip │ │ │ -0015f810: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -0015f820: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -0015f830: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -0015f840: 7365 2220 6964 3d22 6964 6d31 3938 3836 se" id="idm19886 │ │ │ -0015f850: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">< │ │ │ -0015f910: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
api
│ │ │ -0015f950: 5665 7273 696f 6e3a 206d 6163 6869 6e65  Version: machine
│ │ │ -0015f960: 636f 6e66 6967 7572 6174 696f 6e2e 6f70  configuration.op
│ │ │ -0015f970: 656e 7368 6966 742e 696f 2f76 310a 6b69  enshift.io/v1.ki
│ │ │ -0015f980: 6e64 3a20 4d61 6368 696e 6543 6f6e 6669  nd: MachineConfi
│ │ │ -0015f990: 670a 7370 6563 3a0a 2020 636f 6e66 6967  g.spec:.  config
│ │ │ -0015f9a0: 3a0a 2020 2020 6967 6e69 7469 6f6e 3a0a  :.    ignition:.
│ │ │ -0015f9b0: 2020 2020 2020 7665 7273 696f 6e3a 2033        version: 3
│ │ │ -0015f9c0: 2e31 2e30 0a20 2020 2073 7973 7465 6d64  .1.0.    systemd
│ │ │ -0015f9d0: 3a0a 2020 2020 2020 756e 6974 733a 0a20  :.      units:. 
│ │ │ -0015f9e0: 2020 2020 202d 206e 616d 653a 2061 7574       - name: aut
│ │ │ -0015f9f0: 6f66 732e 7365 7276 6963 650a 2020 2020  ofs.service.    
│ │ │ -0015fa00: 2020 2020 656e 6162 6c65 643a 2066 616c      enabled: fal
│ │ │ -0015fa10: 7365 0a20 2020 2020 2020 206d 6173 6b3a  se.        mask:
│ │ │ -0015fa20: 2074 7275 650a 2020 2020 2020 2d20 6e61   true.      - na
│ │ │ -0015fa30: 6d65 3a20 6175 746f 6673 2e73 6f63 6b65  me: autofs.socke
│ │ │ -0015fa40: 740a 2020 2020 2020 2020 656e 6162 6c65  t.        enable
│ │ │ -0015fa50: 643a 2066 616c 7365 0a20 2020 2020 2020  d: false.       
│ │ │ -0015fa60: 206d 6173 6b3a 2074 7275 650a 3c2f 636f   mask: true.
< │ │ │ -0015fa80: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -0015fa90: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -0015faa0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -0015fab0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -0015fac0: 646d 3139 3838 3722 2074 6162 696e 6465 dm19887" tabinde │ │ │ -0015fad0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -0015fae0: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -0015faf0: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -0015fb00: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -0015fb10: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -0015fb20: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ -0015fb30: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Comp │ │ │ -0015f8a0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -0015f8b0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -0015f8d0: 3c2f 7468 3e3c 7464 3e6d 6564 6975 6d3c medium< │ │ │ -0015f8e0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:true
Strategy: │ │ │ -0015f920: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -0015f930: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complexity: │ │ │ -0015fc10: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -0015fc20: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ -0015fc70: 696e 636c 7564 6520 6469 7361 626c 655f  include disable_
│ │ │ -0015fc80: 6175 746f 6673 0a0a 636c 6173 7320 6469  autofs..class di
│ │ │ -0015fc90: 7361 626c 655f 6175 746f 6673 207b 0a20  sable_autofs {. 
│ │ │ -0015fca0: 2073 6572 7669 6365 207b 2761 7574 6f66   service {'autof
│ │ │ -0015fcb0: 7327 3a0a 2020 2020 656e 6162 6c65 203d  s':.    enable =
│ │ │ -0015fcc0: 2667 743b 2066 616c 7365 2c0a 2020 2020  > false,.    
│ │ │ -0015fcd0: 656e 7375 7265 203d 2667 743b 2027 7374  ensure => 'st
│ │ │ -0015fce0: 6f70 7065 6427 2c0a 2020 7d0a 7d0a 3c2f  opped',.  }.}.
Remediation Ans │ │ │ -0015fdb0: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -0015fdc0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low< │ │ │ -0015fe90: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>
low
Disru │ │ │ -0015fbf0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -0015fc00: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -0015fc40: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ -0015fc50: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity: │ │ │ -0015fe50: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ -0015fe70: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ -0015fec0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -0015fed0: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Gath
│ │ │ -0015ff00: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ -0015ff10: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ -0015ff20: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ -0015ff30: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ -0015ff40: 2020 2d20 4e49 5354 2d38 3030 2d31 3731    - NIST-800-171
│ │ │ -0015ff50: 2d33 2e34 2e36 0a20 202d 204e 4953 542d  -3.4.6.  - NIST-
│ │ │ -0015ff60: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ -0015ff70: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -0015ff80: 4d2d 3728 6129 0a20 202d 204e 4953 542d  M-7(a).  - NIST-
│ │ │ -0015ff90: 3830 302d 3533 2d43 4d2d 3728 6229 0a20  800-53-CM-7(b). 
│ │ │ -0015ffa0: 202d 204e 4953 542d 3830 302d 3533 2d4d   - NIST-800-53-M
│ │ │ -0015ffb0: 502d 370a 2020 2d20 6469 7361 626c 655f  P-7.  - disable_
│ │ │ -0015ffc0: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -0015ffd0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -0015ffe0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -0015fff0: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ -00160000: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -00160010: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ -00160020: 6963 655f 6175 746f 6673 5f64 6973 6162  ice_autofs_disab
│ │ │ -00160030: 6c65 640a 0a2d 206e 616d 653a 2044 6973  led..- name: Dis
│ │ │ -00160040: 6162 6c65 2074 6865 2041 7574 6f6d 6f75  able the Automou
│ │ │ -00160050: 6e74 6572 202d 2043 6f6c 6c65 6374 2073  nter - Collect s
│ │ │ -00160060: 7973 7465 6d64 2053 6572 7669 6365 7320  ystemd Services 
│ │ │ -00160070: 5072 6573 656e 7420 696e 2074 6865 2053  Present in the S
│ │ │ -00160080: 7973 7465 6d0a 2020 616e 7369 626c 652e  ystem.  ansible.
│ │ │ -00160090: 6275 696c 7469 6e2e 636f 6d6d 616e 643a  builtin.command:
│ │ │ -001600a0: 2073 7973 7465 6d63 746c 202d 7120 6c69   systemctl -q li
│ │ │ -001600b0: 7374 2d75 6e69 742d 6669 6c65 7320 2d2d  st-unit-files --
│ │ │ -001600c0: 7479 7065 2073 6572 7669 6365 0a20 2072  type service.  r
│ │ │ -001600d0: 6567 6973 7465 723a 2073 6572 7669 6365  egister: service
│ │ │ -001600e0: 5f65 7869 7374 730a 2020 6368 616e 6765  _exists.  change
│ │ │ -001600f0: 645f 7768 656e 3a20 6661 6c73 650a 2020  d_when: false.  
│ │ │ -00160100: 6661 696c 6564 5f77 6865 6e3a 2073 6572  failed_when: ser
│ │ │ -00160110: 7669 6365 5f65 7869 7374 732e 7263 206e  vice_exists.rc n
│ │ │ -00160120: 6f74 2069 6e20 5b30 2c20 315d 0a20 2063  ot in [0, 1].  c
│ │ │ -00160130: 6865 636b 5f6d 6f64 653a 2066 616c 7365  heck_mode: false
│ │ │ -00160140: 0a20 2077 6865 6e3a 2028 2022 6175 746f  .  when: ( "auto
│ │ │ -00160150: 6673 2220 696e 2061 6e73 6962 6c65 5f66  fs" in ansible_f
│ │ │ -00160160: 6163 7473 2e70 6163 6b61 6765 7320 616e  acts.packages an
│ │ │ -00160170: 6420 226c 696e 7578 2d62 6173 6522 2069  d "linux-base" i
│ │ │ -00160180: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ -00160190: 7061 636b 6167 6573 0a20 2020 2029 0a20  packages.    ). 
│ │ │ -001601a0: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ -001601b0: 3830 302d 3137 312d 332e 342e 360a 2020  800-171-3.4.6.  
│ │ │ -001601c0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -001601d0: 2d36 2861 290a 2020 2d20 4e49 5354 2d38  -6(a).  - NIST-8
│ │ │ -001601e0: 3030 2d35 332d 434d 2d37 2861 290a 2020  00-53-CM-7(a).  
│ │ │ -001601f0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -00160200: 2d37 2862 290a 2020 2d20 4e49 5354 2d38  -7(b).  - NIST-8
│ │ │ -00160210: 3030 2d35 332d 4d50 2d37 0a20 202d 2064  00-53-MP-7.  - d
│ │ │ -00160220: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ -00160230: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -00160240: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -00160250: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -00160260: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -00160270: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -00160280: 202d 2073 6572 7669 6365 5f61 7574 6f66   - service_autof
│ │ │ -00160290: 735f 6469 7361 626c 6564 0a0a 2d20 6e61  s_disabled..- na
│ │ │ -001602a0: 6d65 3a20 4469 7361 626c 6520 7468 6520  me: Disable the 
│ │ │ -001602b0: 4175 746f 6d6f 756e 7465 7220 2d20 456e  Automounter - En
│ │ │ -001602c0: 7375 7265 2061 7574 6f66 732e 7365 7276  sure autofs.serv
│ │ │ -001602d0: 6963 6520 6973 204d 6173 6b65 640a 2020  ice is Masked.  
│ │ │ -001602e0: 616e 7369 626c 652e 6275 696c 7469 6e2e  ansible.builtin.
│ │ │ -001602f0: 7379 7374 656d 643a 0a20 2020 206e 616d  systemd:.    nam
│ │ │ -00160300: 653a 2061 7574 6f66 732e 7365 7276 6963  e: autofs.servic
│ │ │ -00160310: 650a 2020 2020 7374 6174 653a 2073 746f  e.    state: sto
│ │ │ -00160320: 7070 6564 0a20 2020 2065 6e61 626c 6564  pped.    enabled
│ │ │ -00160330: 3a20 6661 6c73 650a 2020 2020 6d61 736b  : false.    mask
│ │ │ -00160340: 6564 3a20 7472 7565 0a20 2077 6865 6e3a  ed: true.  when:
│ │ │ -00160350: 0a20 202d 2028 2022 6175 746f 6673 2220  .  - ( "autofs" 
│ │ │ -00160360: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -00160370: 2e70 6163 6b61 6765 7320 616e 6420 226c  .packages and "l
│ │ │ -00160380: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ -00160390: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ -001603a0: 6167 6573 0a20 2020 2029 0a20 202d 2073  ages.    ).  - s
│ │ │ -001603b0: 6572 7669 6365 5f65 7869 7374 732e 7374  ervice_exists.st
│ │ │ -001603c0: 646f 7574 5f6c 696e 6573 2069 7320 7365  dout_lines is se
│ │ │ -001603d0: 6172 6368 2822 6175 746f 6673 2e73 6572  arch("autofs.ser
│ │ │ -001603e0: 7669 6365 222c 206d 756c 7469 6c69 6e65  vice", multiline
│ │ │ -001603f0: 3d54 7275 6529 0a20 2074 6167 733a 0a20  =True).  tags:. 
│ │ │ -00160400: 202d 204e 4953 542d 3830 302d 3137 312d   - NIST-800-171-
│ │ │ -00160410: 332e 342e 360a 2020 2d20 4e49 5354 2d38  3.4.6.  - NIST-8
│ │ │ -00160420: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ -00160430: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -00160440: 2d37 2861 290a 2020 2d20 4e49 5354 2d38  -7(a).  - NIST-8
│ │ │ -00160450: 3030 2d35 332d 434d 2d37 2862 290a 2020  00-53-CM-7(b).  
│ │ │ -00160460: 2d20 4e49 5354 2d38 3030 2d35 332d 4d50  - NIST-800-53-MP
│ │ │ -00160470: 2d37 0a20 202d 2064 6973 6162 6c65 5f73  -7.  - disable_s
│ │ │ -00160480: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ -00160490: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -001604a0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -001604b0: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ -001604c0: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ -001604d0: 6e65 6564 6564 0a20 202d 2073 6572 7669  needed.  - servi
│ │ │ -001604e0: 6365 5f61 7574 6f66 735f 6469 7361 626c  ce_autofs_disabl
│ │ │ -001604f0: 6564 0a0a 2d20 6e61 6d65 3a20 556e 6974  ed..- name: Unit
│ │ │ -00160500: 2053 6f63 6b65 7420 4578 6973 7473 202d   Socket Exists -
│ │ │ -00160510: 2061 7574 6f66 732e 736f 636b 6574 0a20   autofs.socket. 
│ │ │ -00160520: 2061 6e73 6962 6c65 2e62 7569 6c74 696e   ansible.builtin
│ │ │ -00160530: 2e63 6f6d 6d61 6e64 3a20 7379 7374 656d  .command: system
│ │ │ -00160540: 6374 6c20 2d71 206c 6973 742d 756e 6974  ctl -q list-unit
│ │ │ -00160550: 2d66 696c 6573 2061 7574 6f66 732e 736f  -files autofs.so
│ │ │ -00160560: 636b 6574 0a20 2072 6567 6973 7465 723a  cket.  register:
│ │ │ -00160570: 2073 6f63 6b65 745f 6669 6c65 5f65 7869   socket_file_exi
│ │ │ -00160580: 7374 730a 2020 6368 616e 6765 645f 7768  sts.  changed_wh
│ │ │ -00160590: 656e 3a20 6661 6c73 650a 2020 6661 696c  en: false.  fail
│ │ │ -001605a0: 6564 5f77 6865 6e3a 2073 6f63 6b65 745f  ed_when: socket_
│ │ │ -001605b0: 6669 6c65 5f65 7869 7374 732e 7263 206e  file_exists.rc n
│ │ │ -001605c0: 6f74 2069 6e20 5b30 2c20 315d 0a20 2063  ot in [0, 1].  c
│ │ │ -001605d0: 6865 636b 5f6d 6f64 653a 2066 616c 7365  heck_mode: false
│ │ │ -001605e0: 0a20 2077 6865 6e3a 2028 2022 6175 746f  .  when: ( "auto
│ │ │ -001605f0: 6673 2220 696e 2061 6e73 6962 6c65 5f66  fs" in ansible_f
│ │ │ -00160600: 6163 7473 2e70 6163 6b61 6765 7320 616e  acts.packages an
│ │ │ -00160610: 6420 226c 696e 7578 2d62 6173 6522 2069  d "linux-base" i
│ │ │ -00160620: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ -00160630: 7061 636b 6167 6573 0a20 2020 2029 0a20  packages.    ). 
│ │ │ -00160640: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ -00160650: 3830 302d 3137 312d 332e 342e 360a 2020  800-171-3.4.6.  
│ │ │ -00160660: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -00160670: 2d36 2861 290a 2020 2d20 4e49 5354 2d38  -6(a).  - NIST-8
│ │ │ -00160680: 3030 2d35 332d 434d 2d37 2861 290a 2020  00-53-CM-7(a).  
│ │ │ -00160690: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -001606a0: 2d37 2862 290a 2020 2d20 4e49 5354 2d38  -7(b).  - NIST-8
│ │ │ -001606b0: 3030 2d35 332d 4d50 2d37 0a20 202d 2064  00-53-MP-7.  - d
│ │ │ -001606c0: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ -001606d0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -001606e0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -001606f0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -00160700: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -00160710: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -00160720: 202d 2073 6572 7669 6365 5f61 7574 6f66   - service_autof
│ │ │ -00160730: 735f 6469 7361 626c 6564 0a0a 2d20 6e61  s_disabled..- na
│ │ │ -00160740: 6d65 3a20 4469 7361 626c 6520 7468 6520  me: Disable the 
│ │ │ -00160750: 4175 746f 6d6f 756e 7465 7220 2d20 4469  Automounter - Di
│ │ │ -00160760: 7361 626c 6520 536f 636b 6574 2061 7574  sable Socket aut
│ │ │ -00160770: 6f66 730a 2020 616e 7369 626c 652e 6275  ofs.  ansible.bu
│ │ │ -00160780: 696c 7469 6e2e 7379 7374 656d 643a 0a20  iltin.systemd:. 
│ │ │ -00160790: 2020 206e 616d 653a 2061 7574 6f66 732e     name: autofs.
│ │ │ -001607a0: 736f 636b 6574 0a20 2020 2065 6e61 626c  socket.    enabl
│ │ │ -001607b0: 6564 3a20 6661 6c73 650a 2020 2020 7374  ed: false.    st
│ │ │ -001607c0: 6174 653a 2073 746f 7070 6564 0a20 2020  ate: stopped.   
│ │ │ -001607d0: 206d 6173 6b65 643a 2074 7275 650a 2020   masked: true.  
│ │ │ -001607e0: 7768 656e 3a0a 2020 2d20 2820 2261 7574  when:.  - ( "aut
│ │ │ -001607f0: 6f66 7322 2069 6e20 616e 7369 626c 655f  ofs" in ansible_
│ │ │ -00160800: 6661 6374 732e 7061 636b 6167 6573 2061  facts.packages a
│ │ │ -00160810: 6e64 2022 6c69 6e75 782d 6261 7365 2220  nd "linux-base" 
│ │ │ -00160820: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -00160830: 2e70 6163 6b61 6765 730a 2020 2020 290a  .packages.    ).
│ │ │ -00160840: 2020 2d20 736f 636b 6574 5f66 696c 655f    - socket_file_
│ │ │ -00160850: 6578 6973 7473 2e73 7464 6f75 745f 6c69  exists.stdout_li
│ │ │ -00160860: 6e65 7320 6973 2073 6561 7263 6828 2261  nes is search("a
│ │ │ -00160870: 7574 6f66 732e 736f 636b 6574 222c 206d  utofs.socket", m
│ │ │ -00160880: 756c 7469 6c69 6e65 3d54 7275 6529 0a20  ultiline=True). 
│ │ │ -00160890: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ -001608a0: 3830 302d 3137 312d 332e 342e 360a 2020  800-171-3.4.6.  
│ │ │ -001608b0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -001608c0: 2d36 2861 290a 2020 2d20 4e49 5354 2d38  -6(a).  - NIST-8
│ │ │ -001608d0: 3030 2d35 332d 434d 2d37 2861 290a 2020  00-53-CM-7(a).  
│ │ │ -001608e0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -001608f0: 2d37 2862 290a 2020 2d20 4e49 5354 2d38  -7(b).  - NIST-8
│ │ │ -00160900: 3030 2d35 332d 4d50 2d37 0a20 202d 2064  00-53-MP-7.  - d
│ │ │ -00160910: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ -00160920: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -00160930: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -00160940: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -00160950: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -00160960: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -00160970: 202d 2073 6572 7669 6365 5f61 7574 6f66   - service_autof
│ │ │ -00160980: 735f 6469 7361 626c 6564 0a3c 2f63 6f64  s_disabled.
│ │ │ +0015f740: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +0015f750: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +0015f760: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +0015f7a0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +0015f7b0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +0015f7d0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +0015f7e0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ +0015f800: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ +0015f810: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ +0015f820: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ +0015f830: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ +0015f840: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +0015f850: 3137 312d 332e 342e 360a 2020 2d20 4e49  171-3.4.6.  - NI
│ │ │ +0015f860: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +0015f870: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +0015f880: 332d 434d 2d37 2861 290a 2020 2d20 4e49  3-CM-7(a).  - NI
│ │ │ +0015f890: 5354 2d38 3030 2d35 332d 434d 2d37 2862  ST-800-53-CM-7(b
│ │ │ +0015f8a0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +0015f8b0: 332d 4d50 2d37 0a20 202d 2064 6973 6162  3-MP-7.  - disab
│ │ │ +0015f8c0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +0015f8d0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +0015f8e0: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +0015f8f0: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ +0015f900: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +0015f910: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ +0015f920: 6572 7669 6365 5f61 7574 6f66 735f 6469  ervice_autofs_di
│ │ │ +0015f930: 7361 626c 6564 0a0a 2d20 6e61 6d65 3a20  sabled..- name: 
│ │ │ +0015f940: 4469 7361 626c 6520 7468 6520 4175 746f  Disable the Auto
│ │ │ +0015f950: 6d6f 756e 7465 7220 2d20 436f 6c6c 6563  mounter - Collec
│ │ │ +0015f960: 7420 7379 7374 656d 6420 5365 7276 6963  t systemd Servic
│ │ │ +0015f970: 6573 2050 7265 7365 6e74 2069 6e20 7468  es Present in th
│ │ │ +0015f980: 6520 5379 7374 656d 0a20 2061 6e73 6962  e System.  ansib
│ │ │ +0015f990: 6c65 2e62 7569 6c74 696e 2e63 6f6d 6d61  le.builtin.comma
│ │ │ +0015f9a0: 6e64 3a20 7379 7374 656d 6374 6c20 2d71  nd: systemctl -q
│ │ │ +0015f9b0: 206c 6973 742d 756e 6974 2d66 696c 6573   list-unit-files
│ │ │ +0015f9c0: 202d 2d74 7970 6520 7365 7276 6963 650a   --type service.
│ │ │ +0015f9d0: 2020 7265 6769 7374 6572 3a20 7365 7276    register: serv
│ │ │ +0015f9e0: 6963 655f 6578 6973 7473 0a20 2063 6861  ice_exists.  cha
│ │ │ +0015f9f0: 6e67 6564 5f77 6865 6e3a 2066 616c 7365  nged_when: false
│ │ │ +0015fa00: 0a20 2066 6169 6c65 645f 7768 656e 3a20  .  failed_when: 
│ │ │ +0015fa10: 7365 7276 6963 655f 6578 6973 7473 2e72  service_exists.r
│ │ │ +0015fa20: 6320 6e6f 7420 696e 205b 302c 2031 5d0a  c not in [0, 1].
│ │ │ +0015fa30: 2020 6368 6563 6b5f 6d6f 6465 3a20 6661    check_mode: fa
│ │ │ +0015fa40: 6c73 650a 2020 7768 656e 3a20 2820 2261  lse.  when: ( "a
│ │ │ +0015fa50: 7574 6f66 7322 2069 6e20 616e 7369 626c  utofs" in ansibl
│ │ │ +0015fa60: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +0015fa70: 2061 6e64 2022 6c69 6e75 782d 6261 7365   and "linux-base
│ │ │ +0015fa80: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ +0015fa90: 7473 2e70 6163 6b61 6765 730a 2020 2020  ts.packages.    
│ │ │ +0015faa0: 290a 2020 7461 6773 3a0a 2020 2d20 4e49  ).  tags:.  - NI
│ │ │ +0015fab0: 5354 2d38 3030 2d31 3731 2d33 2e34 2e36  ST-800-171-3.4.6
│ │ │ +0015fac0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +0015fad0: 2d43 4d2d 3628 6129 0a20 202d 204e 4953  -CM-6(a).  - NIS
│ │ │ +0015fae0: 542d 3830 302d 3533 2d43 4d2d 3728 6129  T-800-53-CM-7(a)
│ │ │ +0015faf0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +0015fb00: 2d43 4d2d 3728 6229 0a20 202d 204e 4953  -CM-7(b).  - NIS
│ │ │ +0015fb10: 542d 3830 302d 3533 2d4d 502d 370a 2020  T-800-53-MP-7.  
│ │ │ +0015fb20: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ +0015fb30: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +0015fb40: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +0015fb50: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +0015fb60: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +0015fb70: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +0015fb80: 640a 2020 2d20 7365 7276 6963 655f 6175  d.  - service_au
│ │ │ +0015fb90: 746f 6673 5f64 6973 6162 6c65 640a 0a2d  tofs_disabled..-
│ │ │ +0015fba0: 206e 616d 653a 2044 6973 6162 6c65 2074   name: Disable t
│ │ │ +0015fbb0: 6865 2041 7574 6f6d 6f75 6e74 6572 202d  he Automounter -
│ │ │ +0015fbc0: 2045 6e73 7572 6520 6175 746f 6673 2e73   Ensure autofs.s
│ │ │ +0015fbd0: 6572 7669 6365 2069 7320 4d61 736b 6564  ervice is Masked
│ │ │ +0015fbe0: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74  .  ansible.built
│ │ │ +0015fbf0: 696e 2e73 7973 7465 6d64 3a0a 2020 2020  in.systemd:.    
│ │ │ +0015fc00: 6e61 6d65 3a20 6175 746f 6673 2e73 6572  name: autofs.ser
│ │ │ +0015fc10: 7669 6365 0a20 2020 2073 7461 7465 3a20  vice.    state: 
│ │ │ +0015fc20: 7374 6f70 7065 640a 2020 2020 656e 6162  stopped.    enab
│ │ │ +0015fc30: 6c65 643a 2066 616c 7365 0a20 2020 206d  led: false.    m
│ │ │ +0015fc40: 6173 6b65 643a 2074 7275 650a 2020 7768  asked: true.  wh
│ │ │ +0015fc50: 656e 3a0a 2020 2d20 2820 2261 7574 6f66  en:.  - ( "autof
│ │ │ +0015fc60: 7322 2069 6e20 616e 7369 626c 655f 6661  s" in ansible_fa
│ │ │ +0015fc70: 6374 732e 7061 636b 6167 6573 2061 6e64  cts.packages and
│ │ │ +0015fc80: 2022 6c69 6e75 782d 6261 7365 2220 696e   "linux-base" in
│ │ │ +0015fc90: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ +0015fca0: 6163 6b61 6765 730a 2020 2020 290a 2020  ackages.    ).  
│ │ │ +0015fcb0: 2d20 7365 7276 6963 655f 6578 6973 7473  - service_exists
│ │ │ +0015fcc0: 2e73 7464 6f75 745f 6c69 6e65 7320 6973  .stdout_lines is
│ │ │ +0015fcd0: 2073 6561 7263 6828 2261 7574 6f66 732e   search("autofs.
│ │ │ +0015fce0: 7365 7276 6963 6522 2c20 6d75 6c74 696c  service", multil
│ │ │ +0015fcf0: 696e 653d 5472 7565 290a 2020 7461 6773  ine=True).  tags
│ │ │ +0015fd00: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d31  :.  - NIST-800-1
│ │ │ +0015fd10: 3731 2d33 2e34 2e36 0a20 202d 204e 4953  71-3.4.6.  - NIS
│ │ │ +0015fd20: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ +0015fd30: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +0015fd40: 2d43 4d2d 3728 6129 0a20 202d 204e 4953  -CM-7(a).  - NIS
│ │ │ +0015fd50: 542d 3830 302d 3533 2d43 4d2d 3728 6229  T-800-53-CM-7(b)
│ │ │ +0015fd60: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +0015fd70: 2d4d 502d 370a 2020 2d20 6469 7361 626c  -MP-7.  - disabl
│ │ │ +0015fd80: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ +0015fd90: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +0015fda0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +0015fdb0: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ +0015fdc0: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +0015fdd0: 6f74 5f6e 6565 6465 640a 2020 2d20 7365  ot_needed.  - se
│ │ │ +0015fde0: 7276 6963 655f 6175 746f 6673 5f64 6973  rvice_autofs_dis
│ │ │ +0015fdf0: 6162 6c65 640a 0a2d 206e 616d 653a 2055  abled..- name: U
│ │ │ +0015fe00: 6e69 7420 536f 636b 6574 2045 7869 7374  nit Socket Exist
│ │ │ +0015fe10: 7320 2d20 6175 746f 6673 2e73 6f63 6b65  s - autofs.socke
│ │ │ +0015fe20: 740a 2020 616e 7369 626c 652e 6275 696c  t.  ansible.buil
│ │ │ +0015fe30: 7469 6e2e 636f 6d6d 616e 643a 2073 7973  tin.command: sys
│ │ │ +0015fe40: 7465 6d63 746c 202d 7120 6c69 7374 2d75  temctl -q list-u
│ │ │ +0015fe50: 6e69 742d 6669 6c65 7320 6175 746f 6673  nit-files autofs
│ │ │ +0015fe60: 2e73 6f63 6b65 740a 2020 7265 6769 7374  .socket.  regist
│ │ │ +0015fe70: 6572 3a20 736f 636b 6574 5f66 696c 655f  er: socket_file_
│ │ │ +0015fe80: 6578 6973 7473 0a20 2063 6861 6e67 6564  exists.  changed
│ │ │ +0015fe90: 5f77 6865 6e3a 2066 616c 7365 0a20 2066  _when: false.  f
│ │ │ +0015fea0: 6169 6c65 645f 7768 656e 3a20 736f 636b  ailed_when: sock
│ │ │ +0015feb0: 6574 5f66 696c 655f 6578 6973 7473 2e72  et_file_exists.r
│ │ │ +0015fec0: 6320 6e6f 7420 696e 205b 302c 2031 5d0a  c not in [0, 1].
│ │ │ +0015fed0: 2020 6368 6563 6b5f 6d6f 6465 3a20 6661    check_mode: fa
│ │ │ +0015fee0: 6c73 650a 2020 7768 656e 3a20 2820 2261  lse.  when: ( "a
│ │ │ +0015fef0: 7574 6f66 7322 2069 6e20 616e 7369 626c  utofs" in ansibl
│ │ │ +0015ff00: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +0015ff10: 2061 6e64 2022 6c69 6e75 782d 6261 7365   and "linux-base
│ │ │ +0015ff20: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ +0015ff30: 7473 2e70 6163 6b61 6765 730a 2020 2020  ts.packages.    
│ │ │ +0015ff40: 290a 2020 7461 6773 3a0a 2020 2d20 4e49  ).  tags:.  - NI
│ │ │ +0015ff50: 5354 2d38 3030 2d31 3731 2d33 2e34 2e36  ST-800-171-3.4.6
│ │ │ +0015ff60: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +0015ff70: 2d43 4d2d 3628 6129 0a20 202d 204e 4953  -CM-6(a).  - NIS
│ │ │ +0015ff80: 542d 3830 302d 3533 2d43 4d2d 3728 6129  T-800-53-CM-7(a)
│ │ │ +0015ff90: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +0015ffa0: 2d43 4d2d 3728 6229 0a20 202d 204e 4953  -CM-7(b).  - NIS
│ │ │ +0015ffb0: 542d 3830 302d 3533 2d4d 502d 370a 2020  T-800-53-MP-7.  
│ │ │ +0015ffc0: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ +0015ffd0: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +0015ffe0: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +0015fff0: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +00160000: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +00160010: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +00160020: 640a 2020 2d20 7365 7276 6963 655f 6175  d.  - service_au
│ │ │ +00160030: 746f 6673 5f64 6973 6162 6c65 640a 0a2d  tofs_disabled..-
│ │ │ +00160040: 206e 616d 653a 2044 6973 6162 6c65 2074   name: Disable t
│ │ │ +00160050: 6865 2041 7574 6f6d 6f75 6e74 6572 202d  he Automounter -
│ │ │ +00160060: 2044 6973 6162 6c65 2053 6f63 6b65 7420   Disable Socket 
│ │ │ +00160070: 6175 746f 6673 0a20 2061 6e73 6962 6c65  autofs.  ansible
│ │ │ +00160080: 2e62 7569 6c74 696e 2e73 7973 7465 6d64  .builtin.systemd
│ │ │ +00160090: 3a0a 2020 2020 6e61 6d65 3a20 6175 746f  :.    name: auto
│ │ │ +001600a0: 6673 2e73 6f63 6b65 740a 2020 2020 656e  fs.socket.    en
│ │ │ +001600b0: 6162 6c65 643a 2066 616c 7365 0a20 2020  abled: false.   
│ │ │ +001600c0: 2073 7461 7465 3a20 7374 6f70 7065 640a   state: stopped.
│ │ │ +001600d0: 2020 2020 6d61 736b 6564 3a20 7472 7565      masked: true
│ │ │ +001600e0: 0a20 2077 6865 6e3a 0a20 202d 2028 2022  .  when:.  - ( "
│ │ │ +001600f0: 6175 746f 6673 2220 696e 2061 6e73 6962  autofs" in ansib
│ │ │ +00160100: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +00160110: 7320 616e 6420 226c 696e 7578 2d62 6173  s and "linux-bas
│ │ │ +00160120: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ +00160130: 6374 732e 7061 636b 6167 6573 0a20 2020  cts.packages.   
│ │ │ +00160140: 2029 0a20 202d 2073 6f63 6b65 745f 6669   ).  - socket_fi
│ │ │ +00160150: 6c65 5f65 7869 7374 732e 7374 646f 7574  le_exists.stdout
│ │ │ +00160160: 5f6c 696e 6573 2069 7320 7365 6172 6368  _lines is search
│ │ │ +00160170: 2822 6175 746f 6673 2e73 6f63 6b65 7422  ("autofs.socket"
│ │ │ +00160180: 2c20 6d75 6c74 696c 696e 653d 5472 7565  , multiline=True
│ │ │ +00160190: 290a 2020 7461 6773 3a0a 2020 2d20 4e49  ).  tags:.  - NI
│ │ │ +001601a0: 5354 2d38 3030 2d31 3731 2d33 2e34 2e36  ST-800-171-3.4.6
│ │ │ +001601b0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +001601c0: 2d43 4d2d 3628 6129 0a20 202d 204e 4953  -CM-6(a).  - NIS
│ │ │ +001601d0: 542d 3830 302d 3533 2d43 4d2d 3728 6129  T-800-53-CM-7(a)
│ │ │ +001601e0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +001601f0: 2d43 4d2d 3728 6229 0a20 202d 204e 4953  -CM-7(b).  - NIS
│ │ │ +00160200: 542d 3830 302d 3533 2d4d 502d 370a 2020  T-800-53-MP-7.  
│ │ │ +00160210: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ +00160220: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +00160230: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +00160240: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +00160250: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +00160260: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +00160270: 640a 2020 2d20 7365 7276 6963 655f 6175  d.  - service_au
│ │ │ +00160280: 746f 6673 5f64 6973 6162 6c65 640a 3c2f  tofs_disabled.
Remediation Kub │ │ │ +00160350: 6572 6e65 7465 7320 736e 6970 7065 7420 ernetes snippet │ │ │ +00160360: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +001603e0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +001603f0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +00160400: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:medium │ │ │ +00160430: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb │ │ │ +00160440: 6f6f 743a 3c2f 7468 3e3c 7464 3e74 7275 oot:tru │ │ │ +00160450: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e< │ │ │ +00160460: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable

apiVers │ │ │ +001604a0: 696f 6e3a 206d 6163 6869 6e65 636f 6e66 ion: machineconf │ │ │ +001604b0: 6967 7572 6174 696f 6e2e 6f70 656e 7368 iguration.opensh │ │ │ +001604c0: 6966 742e 696f 2f76 310a 6b69 6e64 3a20 ift.io/v1.kind: │ │ │ +001604d0: 4d61 6368 696e 6543 6f6e 6669 670a 7370 MachineConfig.sp │ │ │ +001604e0: 6563 3a0a 2020 636f 6e66 6967 3a0a 2020 ec:. config:. │ │ │ +001604f0: 2020 6967 6e69 7469 6f6e 3a0a 2020 2020 ignition:. │ │ │ +00160500: 2020 7665 7273 696f 6e3a 2033 2e31 2e30 version: 3.1.0 │ │ │ +00160510: 0a20 2020 2073 7973 7465 6d64 3a0a 2020 . systemd:. │ │ │ +00160520: 2020 2020 756e 6974 733a 0a20 2020 2020 units:. │ │ │ +00160530: 202d 206e 616d 653a 2061 7574 6f66 732e - name: autofs. │ │ │ +00160540: 7365 7276 6963 650a 2020 2020 2020 2020 service. │ │ │ +00160550: 656e 6162 6c65 643a 2066 616c 7365 0a20 enabled: false. │ │ │ +00160560: 2020 2020 2020 206d 6173 6b3a 2074 7275 mask: tru │ │ │ +00160570: 650a 2020 2020 2020 2d20 6e61 6d65 3a20 e. - name: │ │ │ +00160580: 6175 746f 6673 2e73 6f63 6b65 740a 2020 autofs.socket. │ │ │ +00160590: 2020 2020 2020 656e 6162 6c65 643a 2066 enabled: f │ │ │ +001605a0: 616c 7365 0a20 2020 2020 2020 206d 6173 alse. mas │ │ │ +001605b0: 6b3a 2074 7275 650a 3c2f 636f 6465 3e3c k: true.< │ │ │ +001605c0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>

Remed │ │ │ +00160670: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ +00160680: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ +00160730: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +00160780: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ +00160710: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +00160740: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +00160760: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +00160770: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +00160790: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ +001607a0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +001607c0: 7564 6520 6469 7361 626c 655f 6175 746f  ude disable_auto
│ │ │ +001607d0: 6673 0a0a 636c 6173 7320 6469 7361 626c  fs..class disabl
│ │ │ +001607e0: 655f 6175 746f 6673 207b 0a20 2073 6572  e_autofs {.  ser
│ │ │ +001607f0: 7669 6365 207b 2761 7574 6f66 7327 3a0a  vice {'autofs':.
│ │ │ +00160800: 2020 2020 656e 6162 6c65 203d 2667 743b      enable =>
│ │ │ +00160810: 2066 616c 7365 2c0a 2020 2020 656e 7375   false,.    ensu
│ │ │ +00160820: 7265 203d 2667 743b 2027 7374 6f70 7065  re => 'stoppe
│ │ │ +00160830: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Rem │ │ │ +001608f0: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild │ │ │ +00160900: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp │ │ │ +00160910: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[cu
│ │ │ +00160960: 7374 6f6d 697a 6174 696f 6e73 2e73 6572  stomizations.ser
│ │ │ +00160970: 7669 6365 735d 0a6d 6173 6b65 6420 3d20  vices].masked = 
│ │ │ +00160980: 5b22 6175 746f 6673 225d 0a3c 2f63 6f64  ["autofs"].
Remediation OS │ │ │ -0019d2b0: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint │ │ │ -0019d2c0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -0019d2d0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
.[customization
│ │ │ -0019d320: 732e 7365 7276 6963 6573 5d0a 6d61 736b  s.services].mask
│ │ │ -0019d330: 6564 203d 205b 2261 7070 6f72 7422 5d0a  ed = ["apport"].
│ │ │ -0019d340: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation K │ │ │ -0019d400: 7562 6572 6e65 7465 7320 736e 6970 7065 ubernetes snippe │ │ │ -0019d410: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -0019d450: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -0019d4c0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
Comple │ │ │ -0019d4a0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -0019d4b0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
medium
R │ │ │ -0019d4f0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e74 eboot:t │ │ │ -0019d500: 7275 653c 2f74 643e 3c2f 7472 3e3c 7472 rue
Strategy:disable
│ │ │ -0019d540: 3c70 7265 3e3c 636f 6465 3e61 7069 5665
apiVe
│ │ │ -0019d550: 7273 696f 6e3a 206d 6163 6869 6e65 636f  rsion: machineco
│ │ │ -0019d560: 6e66 6967 7572 6174 696f 6e2e 6f70 656e  nfiguration.open
│ │ │ -0019d570: 7368 6966 742e 696f 2f76 310a 6b69 6e64  shift.io/v1.kind
│ │ │ -0019d580: 3a20 4d61 6368 696e 6543 6f6e 6669 670a  : MachineConfig.
│ │ │ -0019d590: 7370 6563 3a0a 2020 636f 6e66 6967 3a0a  spec:.  config:.
│ │ │ -0019d5a0: 2020 2020 6967 6e69 7469 6f6e 3a0a 2020      ignition:.  
│ │ │ -0019d5b0: 2020 2020 7665 7273 696f 6e3a 2033 2e31      version: 3.1
│ │ │ -0019d5c0: 2e30 0a20 2020 2073 7973 7465 6d64 3a0a  .0.    systemd:.
│ │ │ -0019d5d0: 2020 2020 2020 756e 6974 733a 0a20 2020        units:.   
│ │ │ -0019d5e0: 2020 202d 206e 616d 653a 2061 7070 6f72     - name: appor
│ │ │ -0019d5f0: 742e 7365 7276 6963 650a 2020 2020 2020  t.service.      
│ │ │ -0019d600: 2020 656e 6162 6c65 643a 2066 616c 7365    enabled: false
│ │ │ -0019d610: 0a20 2020 2020 2020 206d 6173 6b3a 2074  .        mask: t
│ │ │ -0019d620: 7275 650a 2020 2020 2020 2d20 6e61 6d65  rue.      - name
│ │ │ -0019d630: 3a20 6170 706f 7274 2e73 6f63 6b65 740a  : apport.socket.
│ │ │ -0019d640: 2020 2020 2020 2020 656e 6162 6c65 643a          enabled:
│ │ │ -0019d650: 2066 616c 7365 0a20 2020 2020 2020 206d   false.        m
│ │ │ -0019d660: 6173 6b3a 2074 7275 650a 3c2f 636f 6465  ask: true.
Rem │ │ │ -0019d720: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ -0019d730: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -0019d740: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ -0019d7d0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
in
│ │ │ -0019d870: 636c 7564 6520 6469 7361 626c 655f 6170  clude disable_ap
│ │ │ -0019d880: 706f 7274 0a0a 636c 6173 7320 6469 7361  port..class disa
│ │ │ -0019d890: 626c 655f 6170 706f 7274 207b 0a20 2073  ble_apport {.  s
│ │ │ -0019d8a0: 6572 7669 6365 207b 2761 7070 6f72 7427  ervice {'apport'
│ │ │ -0019d8b0: 3a0a 2020 2020 656e 6162 6c65 203d 2667  :.    enable =&g
│ │ │ -0019d8c0: 743b 2066 616c 7365 2c0a 2020 2020 656e  t; false,.    en
│ │ │ -0019d8d0: 7375 7265 203d 2667 743b 2027 7374 6f70  sure => 'stop
│ │ │ -0019d8e0: 7065 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ped',.  }.}.
< │ │ │ -0019d900: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -0019d910: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -0019d920: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -0019d930: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -0019d940: 646d 3232 3137 3322 2074 6162 696e 6465 dm22173" tabinde │ │ │ -0019d950: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -0019d960: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -0019d970: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -0019d980: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -0019d990: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -0019d9a0: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ -0019d9b0: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
│ │ │ -0019d7c0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -0019d7f0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -0019d800: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -0019d840: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ -0019d850: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
< │ │ │ -0019da40: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -0019da60: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -0019dab0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ -0019dae0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Gather
│ │ │ -0019db00: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ -0019db10: 7473 0a20 2070 6163 6b61 6765 5f66 6163  ts.  package_fac
│ │ │ -0019db20: 7473 3a0a 2020 2020 6d61 6e61 6765 723a  ts:.    manager:
│ │ │ -0019db30: 2061 7574 6f0a 2020 7461 6773 3a0a 2020   auto.  tags:.  
│ │ │ -0019db40: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ -0019db50: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ -0019db60: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -0019db70: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f  sruption.  - no_
│ │ │ -0019db80: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -0019db90: 2d20 7365 7276 6963 655f 6170 706f 7274  - service_apport
│ │ │ -0019dba0: 5f64 6973 6162 6c65 640a 2020 2d20 756e  _disabled.  - un
│ │ │ -0019dbb0: 6b6e 6f77 6e5f 7365 7665 7269 7479 0a0a  known_severity..
│ │ │ -0019dbc0: 2d20 6e61 6d65 3a20 4469 7361 626c 6520  - name: Disable 
│ │ │ -0019dbd0: 4170 706f 7274 2053 6572 7669 6365 202d  Apport Service -
│ │ │ -0019dbe0: 2043 6f6c 6c65 6374 2073 7973 7465 6d64   Collect systemd
│ │ │ -0019dbf0: 2053 6572 7669 6365 7320 5072 6573 656e   Services Presen
│ │ │ -0019dc00: 7420 696e 2074 6865 2053 7973 7465 6d0a  t in the System.
│ │ │ -0019dc10: 2020 616e 7369 626c 652e 6275 696c 7469    ansible.builti
│ │ │ -0019dc20: 6e2e 636f 6d6d 616e 643a 2073 7973 7465  n.command: syste
│ │ │ -0019dc30: 6d63 746c 202d 7120 6c69 7374 2d75 6e69  mctl -q list-uni
│ │ │ -0019dc40: 742d 6669 6c65 7320 2d2d 7479 7065 2073  t-files --type s
│ │ │ -0019dc50: 6572 7669 6365 0a20 2072 6567 6973 7465  ervice.  registe
│ │ │ -0019dc60: 723a 2073 6572 7669 6365 5f65 7869 7374  r: service_exist
│ │ │ -0019dc70: 730a 2020 6368 616e 6765 645f 7768 656e  s.  changed_when
│ │ │ -0019dc80: 3a20 6661 6c73 650a 2020 6661 696c 6564  : false.  failed
│ │ │ -0019dc90: 5f77 6865 6e3a 2073 6572 7669 6365 5f65  _when: service_e
│ │ │ -0019dca0: 7869 7374 732e 7263 206e 6f74 2069 6e20  xists.rc not in 
│ │ │ -0019dcb0: 5b30 2c20 315d 0a20 2063 6865 636b 5f6d  [0, 1].  check_m
│ │ │ -0019dcc0: 6f64 653a 2066 616c 7365 0a20 2077 6865  ode: false.  whe
│ │ │ -0019dcd0: 6e3a 2027 2261 7070 6f72 7422 2069 6e20  n: '"apport" in 
│ │ │ -0019dce0: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -0019dcf0: 636b 6167 6573 270a 2020 7461 6773 3a0a  ckages'.  tags:.
│ │ │ -0019dd00: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ -0019dd10: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ -0019dd20: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -0019dd30: 6469 7372 7570 7469 6f6e 0a20 202d 206e  disruption.  - n
│ │ │ -0019dd40: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -0019dd50: 2020 2d20 7365 7276 6963 655f 6170 706f    - service_appo
│ │ │ -0019dd60: 7274 5f64 6973 6162 6c65 640a 2020 2d20  rt_disabled.  - 
│ │ │ -0019dd70: 756e 6b6e 6f77 6e5f 7365 7665 7269 7479  unknown_severity
│ │ │ -0019dd80: 0a0a 2d20 6e61 6d65 3a20 4469 7361 626c  ..- name: Disabl
│ │ │ -0019dd90: 6520 4170 706f 7274 2053 6572 7669 6365  e Apport Service
│ │ │ -0019dda0: 202d 2045 6e73 7572 6520 6170 706f 7274   - Ensure apport
│ │ │ -0019ddb0: 2e73 6572 7669 6365 2069 7320 4d61 736b  .service is Mask
│ │ │ -0019ddc0: 6564 0a20 2061 6e73 6962 6c65 2e62 7569  ed.  ansible.bui
│ │ │ -0019ddd0: 6c74 696e 2e73 7973 7465 6d64 3a0a 2020  ltin.systemd:.  
│ │ │ -0019dde0: 2020 6e61 6d65 3a20 6170 706f 7274 2e73    name: apport.s
│ │ │ -0019ddf0: 6572 7669 6365 0a20 2020 2073 7461 7465  ervice.    state
│ │ │ -0019de00: 3a20 7374 6f70 7065 640a 2020 2020 656e  : stopped.    en
│ │ │ -0019de10: 6162 6c65 643a 2066 616c 7365 0a20 2020  abled: false.   
│ │ │ -0019de20: 206d 6173 6b65 643a 2074 7275 650a 2020   masked: true.  
│ │ │ -0019de30: 7768 656e 3a0a 2020 2d20 2722 6170 706f  when:.  - '"appo
│ │ │ -0019de40: 7274 2220 696e 2061 6e73 6962 6c65 5f66  rt" in ansible_f
│ │ │ -0019de50: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ -0019de60: 202d 2073 6572 7669 6365 5f65 7869 7374   - service_exist
│ │ │ -0019de70: 732e 7374 646f 7574 5f6c 696e 6573 2069  s.stdout_lines i
│ │ │ -0019de80: 7320 7365 6172 6368 2822 6170 706f 7274  s search("apport
│ │ │ -0019de90: 2e73 6572 7669 6365 222c 206d 756c 7469  .service", multi
│ │ │ -0019dea0: 6c69 6e65 3d54 7275 6529 0a20 2074 6167  line=True).  tag
│ │ │ -0019deb0: 733a 0a20 202d 2064 6973 6162 6c65 5f73  s:.  - disable_s
│ │ │ -0019dec0: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ -0019ded0: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -0019dee0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -0019def0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -0019df00: 6564 0a20 202d 2073 6572 7669 6365 5f61  ed.  - service_a
│ │ │ -0019df10: 7070 6f72 745f 6469 7361 626c 6564 0a20  pport_disabled. 
│ │ │ -0019df20: 202d 2075 6e6b 6e6f 776e 5f73 6576 6572   - unknown_sever
│ │ │ -0019df30: 6974 790a 0a2d 206e 616d 653a 2055 6e69  ity..- name: Uni
│ │ │ -0019df40: 7420 536f 636b 6574 2045 7869 7374 7320  t Socket Exists 
│ │ │ -0019df50: 2d20 6170 706f 7274 2e73 6f63 6b65 740a  - apport.socket.
│ │ │ -0019df60: 2020 616e 7369 626c 652e 6275 696c 7469    ansible.builti
│ │ │ -0019df70: 6e2e 636f 6d6d 616e 643a 2073 7973 7465  n.command: syste
│ │ │ -0019df80: 6d63 746c 202d 7120 6c69 7374 2d75 6e69  mctl -q list-uni
│ │ │ -0019df90: 742d 6669 6c65 7320 6170 706f 7274 2e73  t-files apport.s
│ │ │ -0019dfa0: 6f63 6b65 740a 2020 7265 6769 7374 6572  ocket.  register
│ │ │ -0019dfb0: 3a20 736f 636b 6574 5f66 696c 655f 6578  : socket_file_ex
│ │ │ -0019dfc0: 6973 7473 0a20 2063 6861 6e67 6564 5f77  ists.  changed_w
│ │ │ -0019dfd0: 6865 6e3a 2066 616c 7365 0a20 2066 6169  hen: false.  fai
│ │ │ -0019dfe0: 6c65 645f 7768 656e 3a20 736f 636b 6574  led_when: socket
│ │ │ -0019dff0: 5f66 696c 655f 6578 6973 7473 2e72 6320  _file_exists.rc 
│ │ │ -0019e000: 6e6f 7420 696e 205b 302c 2031 5d0a 2020  not in [0, 1].  
│ │ │ -0019e010: 6368 6563 6b5f 6d6f 6465 3a20 6661 6c73  check_mode: fals
│ │ │ -0019e020: 650a 2020 7768 656e 3a20 2722 6170 706f  e.  when: '"appo
│ │ │ -0019e030: 7274 2220 696e 2061 6e73 6962 6c65 5f66  rt" in ansible_f
│ │ │ -0019e040: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ -0019e050: 2074 6167 733a 0a20 202d 2064 6973 6162   tags:.  - disab
│ │ │ -0019e060: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -0019e070: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -0019e080: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -0019e090: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f  n.  - no_reboot_
│ │ │ -0019e0a0: 6e65 6564 6564 0a20 202d 2073 6572 7669  needed.  - servi
│ │ │ -0019e0b0: 6365 5f61 7070 6f72 745f 6469 7361 626c  ce_apport_disabl
│ │ │ -0019e0c0: 6564 0a20 202d 2075 6e6b 6e6f 776e 5f73  ed.  - unknown_s
│ │ │ -0019e0d0: 6576 6572 6974 790a 0a2d 206e 616d 653a  everity..- name:
│ │ │ -0019e0e0: 2044 6973 6162 6c65 2041 7070 6f72 7420   Disable Apport 
│ │ │ -0019e0f0: 5365 7276 6963 6520 2d20 4469 7361 626c  Service - Disabl
│ │ │ -0019e100: 6520 536f 636b 6574 2061 7070 6f72 740a  e Socket apport.
│ │ │ -0019e110: 2020 616e 7369 626c 652e 6275 696c 7469    ansible.builti
│ │ │ -0019e120: 6e2e 7379 7374 656d 643a 0a20 2020 206e  n.systemd:.    n
│ │ │ -0019e130: 616d 653a 2061 7070 6f72 742e 736f 636b  ame: apport.sock
│ │ │ -0019e140: 6574 0a20 2020 2065 6e61 626c 6564 3a20  et.    enabled: 
│ │ │ -0019e150: 6661 6c73 650a 2020 2020 7374 6174 653a  false.    state:
│ │ │ -0019e160: 2073 746f 7070 6564 0a20 2020 206d 6173   stopped.    mas
│ │ │ -0019e170: 6b65 643a 2074 7275 650a 2020 7768 656e  ked: true.  when
│ │ │ -0019e180: 3a0a 2020 2d20 2722 6170 706f 7274 2220  :.  - '"apport" 
│ │ │ -0019e190: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -0019e1a0: 2e70 6163 6b61 6765 7327 0a20 202d 2073  .packages'.  - s
│ │ │ -0019e1b0: 6f63 6b65 745f 6669 6c65 5f65 7869 7374  ocket_file_exist
│ │ │ -0019e1c0: 732e 7374 646f 7574 5f6c 696e 6573 2069  s.stdout_lines i
│ │ │ -0019e1d0: 7320 7365 6172 6368 2822 6170 706f 7274  s search("apport
│ │ │ -0019e1e0: 2e73 6f63 6b65 7422 2c20 6d75 6c74 696c  .socket", multil
│ │ │ -0019e1f0: 696e 653d 5472 7565 290a 2020 7461 6773  ine=True).  tags
│ │ │ -0019e200: 3a0a 2020 2d20 6469 7361 626c 655f 7374  :.  - disable_st
│ │ │ -0019e210: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ -0019e220: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ -0019e230: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ -0019e240: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -0019e250: 640a 2020 2d20 7365 7276 6963 655f 6170  d.  - service_ap
│ │ │ -0019e260: 706f 7274 5f64 6973 6162 6c65 640a 2020  port_disabled.  
│ │ │ -0019e270: 2d20 756e 6b6e 6f77 6e5f 7365 7665 7269  - unknown_severi
│ │ │ -0019e280: 7479 0a3c 2f63 6f64 653e 3c2f 7072 653e  ty.
│ │ │ +0019d2a0: 223e 5265 6d65 6469 6174 696f 6e20 416e ">Remediation An │ │ │ +0019d2b0: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ +0019d2c0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ +0019d380: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +0019d390: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
low
Disr │ │ │ -0019da70: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -0019da80: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -0019dac0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ -0019dad0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
Complexity │ │ │ +0019d350: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ +0019d370: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ +0019d3a0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ +0019d3c0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ +0019d3f0: 636f 6465 3e2d 206e 616d 653a 2047 6174  code>- name: Gat
│ │ │ +0019d400: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ +0019d410: 6661 6374 730a 2020 7061 636b 6167 655f  facts.  package_
│ │ │ +0019d420: 6661 6374 733a 0a20 2020 206d 616e 6167  facts:.    manag
│ │ │ +0019d430: 6572 3a20 6175 746f 0a20 2074 6167 733a  er: auto.  tags:
│ │ │ +0019d440: 0a20 202d 2064 6973 6162 6c65 5f73 7472  .  - disable_str
│ │ │ +0019d450: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ +0019d460: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +0019d470: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +0019d480: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +0019d490: 0a20 202d 2073 6572 7669 6365 5f61 7070  .  - service_app
│ │ │ +0019d4a0: 6f72 745f 6469 7361 626c 6564 0a20 202d  ort_disabled.  -
│ │ │ +0019d4b0: 2075 6e6b 6e6f 776e 5f73 6576 6572 6974   unknown_severit
│ │ │ +0019d4c0: 790a 0a2d 206e 616d 653a 2044 6973 6162  y..- name: Disab
│ │ │ +0019d4d0: 6c65 2041 7070 6f72 7420 5365 7276 6963  le Apport Servic
│ │ │ +0019d4e0: 6520 2d20 436f 6c6c 6563 7420 7379 7374  e - Collect syst
│ │ │ +0019d4f0: 656d 6420 5365 7276 6963 6573 2050 7265  emd Services Pre
│ │ │ +0019d500: 7365 6e74 2069 6e20 7468 6520 5379 7374  sent in the Syst
│ │ │ +0019d510: 656d 0a20 2061 6e73 6962 6c65 2e62 7569  em.  ansible.bui
│ │ │ +0019d520: 6c74 696e 2e63 6f6d 6d61 6e64 3a20 7379  ltin.command: sy
│ │ │ +0019d530: 7374 656d 6374 6c20 2d71 206c 6973 742d  stemctl -q list-
│ │ │ +0019d540: 756e 6974 2d66 696c 6573 202d 2d74 7970  unit-files --typ
│ │ │ +0019d550: 6520 7365 7276 6963 650a 2020 7265 6769  e service.  regi
│ │ │ +0019d560: 7374 6572 3a20 7365 7276 6963 655f 6578  ster: service_ex
│ │ │ +0019d570: 6973 7473 0a20 2063 6861 6e67 6564 5f77  ists.  changed_w
│ │ │ +0019d580: 6865 6e3a 2066 616c 7365 0a20 2066 6169  hen: false.  fai
│ │ │ +0019d590: 6c65 645f 7768 656e 3a20 7365 7276 6963  led_when: servic
│ │ │ +0019d5a0: 655f 6578 6973 7473 2e72 6320 6e6f 7420  e_exists.rc not 
│ │ │ +0019d5b0: 696e 205b 302c 2031 5d0a 2020 6368 6563  in [0, 1].  chec
│ │ │ +0019d5c0: 6b5f 6d6f 6465 3a20 6661 6c73 650a 2020  k_mode: false.  
│ │ │ +0019d5d0: 7768 656e 3a20 2722 6170 706f 7274 2220  when: '"apport" 
│ │ │ +0019d5e0: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +0019d5f0: 2e70 6163 6b61 6765 7327 0a20 2074 6167  .packages'.  tag
│ │ │ +0019d600: 733a 0a20 202d 2064 6973 6162 6c65 5f73  s:.  - disable_s
│ │ │ +0019d610: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ +0019d620: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ +0019d630: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ +0019d640: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +0019d650: 6564 0a20 202d 2073 6572 7669 6365 5f61  ed.  - service_a
│ │ │ +0019d660: 7070 6f72 745f 6469 7361 626c 6564 0a20  pport_disabled. 
│ │ │ +0019d670: 202d 2075 6e6b 6e6f 776e 5f73 6576 6572   - unknown_sever
│ │ │ +0019d680: 6974 790a 0a2d 206e 616d 653a 2044 6973  ity..- name: Dis
│ │ │ +0019d690: 6162 6c65 2041 7070 6f72 7420 5365 7276  able Apport Serv
│ │ │ +0019d6a0: 6963 6520 2d20 456e 7375 7265 2061 7070  ice - Ensure app
│ │ │ +0019d6b0: 6f72 742e 7365 7276 6963 6520 6973 204d  ort.service is M
│ │ │ +0019d6c0: 6173 6b65 640a 2020 616e 7369 626c 652e  asked.  ansible.
│ │ │ +0019d6d0: 6275 696c 7469 6e2e 7379 7374 656d 643a  builtin.systemd:
│ │ │ +0019d6e0: 0a20 2020 206e 616d 653a 2061 7070 6f72  .    name: appor
│ │ │ +0019d6f0: 742e 7365 7276 6963 650a 2020 2020 7374  t.service.    st
│ │ │ +0019d700: 6174 653a 2073 746f 7070 6564 0a20 2020  ate: stopped.   
│ │ │ +0019d710: 2065 6e61 626c 6564 3a20 6661 6c73 650a   enabled: false.
│ │ │ +0019d720: 2020 2020 6d61 736b 6564 3a20 7472 7565      masked: true
│ │ │ +0019d730: 0a20 2077 6865 6e3a 0a20 202d 2027 2261  .  when:.  - '"a
│ │ │ +0019d740: 7070 6f72 7422 2069 6e20 616e 7369 626c  pport" in ansibl
│ │ │ +0019d750: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +0019d760: 270a 2020 2d20 7365 7276 6963 655f 6578  '.  - service_ex
│ │ │ +0019d770: 6973 7473 2e73 7464 6f75 745f 6c69 6e65  ists.stdout_line
│ │ │ +0019d780: 7320 6973 2073 6561 7263 6828 2261 7070  s is search("app
│ │ │ +0019d790: 6f72 742e 7365 7276 6963 6522 2c20 6d75  ort.service", mu
│ │ │ +0019d7a0: 6c74 696c 696e 653d 5472 7565 290a 2020  ltiline=True).  
│ │ │ +0019d7b0: 7461 6773 3a0a 2020 2d20 6469 7361 626c  tags:.  - disabl
│ │ │ +0019d7c0: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ +0019d7d0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +0019d7e0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +0019d7f0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +0019d800: 6565 6465 640a 2020 2d20 7365 7276 6963  eeded.  - servic
│ │ │ +0019d810: 655f 6170 706f 7274 5f64 6973 6162 6c65  e_apport_disable
│ │ │ +0019d820: 640a 2020 2d20 756e 6b6e 6f77 6e5f 7365  d.  - unknown_se
│ │ │ +0019d830: 7665 7269 7479 0a0a 2d20 6e61 6d65 3a20  verity..- name: 
│ │ │ +0019d840: 556e 6974 2053 6f63 6b65 7420 4578 6973  Unit Socket Exis
│ │ │ +0019d850: 7473 202d 2061 7070 6f72 742e 736f 636b  ts - apport.sock
│ │ │ +0019d860: 6574 0a20 2061 6e73 6962 6c65 2e62 7569  et.  ansible.bui
│ │ │ +0019d870: 6c74 696e 2e63 6f6d 6d61 6e64 3a20 7379  ltin.command: sy
│ │ │ +0019d880: 7374 656d 6374 6c20 2d71 206c 6973 742d  stemctl -q list-
│ │ │ +0019d890: 756e 6974 2d66 696c 6573 2061 7070 6f72  unit-files appor
│ │ │ +0019d8a0: 742e 736f 636b 6574 0a20 2072 6567 6973  t.socket.  regis
│ │ │ +0019d8b0: 7465 723a 2073 6f63 6b65 745f 6669 6c65  ter: socket_file
│ │ │ +0019d8c0: 5f65 7869 7374 730a 2020 6368 616e 6765  _exists.  change
│ │ │ +0019d8d0: 645f 7768 656e 3a20 6661 6c73 650a 2020  d_when: false.  
│ │ │ +0019d8e0: 6661 696c 6564 5f77 6865 6e3a 2073 6f63  failed_when: soc
│ │ │ +0019d8f0: 6b65 745f 6669 6c65 5f65 7869 7374 732e  ket_file_exists.
│ │ │ +0019d900: 7263 206e 6f74 2069 6e20 5b30 2c20 315d  rc not in [0, 1]
│ │ │ +0019d910: 0a20 2063 6865 636b 5f6d 6f64 653a 2066  .  check_mode: f
│ │ │ +0019d920: 616c 7365 0a20 2077 6865 6e3a 2027 2261  alse.  when: '"a
│ │ │ +0019d930: 7070 6f72 7422 2069 6e20 616e 7369 626c  pport" in ansibl
│ │ │ +0019d940: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +0019d950: 270a 2020 7461 6773 3a0a 2020 2d20 6469  '.  tags:.  - di
│ │ │ +0019d960: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ +0019d970: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +0019d980: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +0019d990: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f  tion.  - no_rebo
│ │ │ +0019d9a0: 6f74 5f6e 6565 6465 640a 2020 2d20 7365  ot_needed.  - se
│ │ │ +0019d9b0: 7276 6963 655f 6170 706f 7274 5f64 6973  rvice_apport_dis
│ │ │ +0019d9c0: 6162 6c65 640a 2020 2d20 756e 6b6e 6f77  abled.  - unknow
│ │ │ +0019d9d0: 6e5f 7365 7665 7269 7479 0a0a 2d20 6e61  n_severity..- na
│ │ │ +0019d9e0: 6d65 3a20 4469 7361 626c 6520 4170 706f  me: Disable Appo
│ │ │ +0019d9f0: 7274 2053 6572 7669 6365 202d 2044 6973  rt Service - Dis
│ │ │ +0019da00: 6162 6c65 2053 6f63 6b65 7420 6170 706f  able Socket appo
│ │ │ +0019da10: 7274 0a20 2061 6e73 6962 6c65 2e62 7569  rt.  ansible.bui
│ │ │ +0019da20: 6c74 696e 2e73 7973 7465 6d64 3a0a 2020  ltin.systemd:.  
│ │ │ +0019da30: 2020 6e61 6d65 3a20 6170 706f 7274 2e73    name: apport.s
│ │ │ +0019da40: 6f63 6b65 740a 2020 2020 656e 6162 6c65  ocket.    enable
│ │ │ +0019da50: 643a 2066 616c 7365 0a20 2020 2073 7461  d: false.    sta
│ │ │ +0019da60: 7465 3a20 7374 6f70 7065 640a 2020 2020  te: stopped.    
│ │ │ +0019da70: 6d61 736b 6564 3a20 7472 7565 0a20 2077  masked: true.  w
│ │ │ +0019da80: 6865 6e3a 0a20 202d 2027 2261 7070 6f72  hen:.  - '"appor
│ │ │ +0019da90: 7422 2069 6e20 616e 7369 626c 655f 6661  t" in ansible_fa
│ │ │ +0019daa0: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ +0019dab0: 2d20 736f 636b 6574 5f66 696c 655f 6578  - socket_file_ex
│ │ │ +0019dac0: 6973 7473 2e73 7464 6f75 745f 6c69 6e65  ists.stdout_line
│ │ │ +0019dad0: 7320 6973 2073 6561 7263 6828 2261 7070  s is search("app
│ │ │ +0019dae0: 6f72 742e 736f 636b 6574 222c 206d 756c  ort.socket", mul
│ │ │ +0019daf0: 7469 6c69 6e65 3d54 7275 6529 0a20 2074  tiline=True).  t
│ │ │ +0019db00: 6167 733a 0a20 202d 2064 6973 6162 6c65  ags:.  - disable
│ │ │ +0019db10: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ +0019db20: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ +0019db30: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ +0019db40: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ +0019db50: 6564 6564 0a20 202d 2073 6572 7669 6365  eded.  - service
│ │ │ +0019db60: 5f61 7070 6f72 745f 6469 7361 626c 6564  _apport_disabled
│ │ │ +0019db70: 0a20 202d 2075 6e6b 6e6f 776e 5f73 6576  .  - unknown_sev
│ │ │ +0019db80: 6572 6974 790a 3c2f 636f 6465 3e3c 2f70  erity.

Remedia │ │ │ +0019dc40: 7469 6f6e 204b 7562 6572 6e65 7465 7320 tion Kubernetes │ │ │ +0019dc50: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +0019dc60: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ +0019dcf0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472
apiVersion: mac
│ │ │ +0019dda0: 6869 6e65 636f 6e66 6967 7572 6174 696f  hineconfiguratio
│ │ │ +0019ddb0: 6e2e 6f70 656e 7368 6966 742e 696f 2f76  n.openshift.io/v
│ │ │ +0019ddc0: 310a 6b69 6e64 3a20 4d61 6368 696e 6543  1.kind: MachineC
│ │ │ +0019ddd0: 6f6e 6669 670a 7370 6563 3a0a 2020 636f  onfig.spec:.  co
│ │ │ +0019dde0: 6e66 6967 3a0a 2020 2020 6967 6e69 7469  nfig:.    igniti
│ │ │ +0019ddf0: 6f6e 3a0a 2020 2020 2020 7665 7273 696f  on:.      versio
│ │ │ +0019de00: 6e3a 2033 2e31 2e30 0a20 2020 2073 7973  n: 3.1.0.    sys
│ │ │ +0019de10: 7465 6d64 3a0a 2020 2020 2020 756e 6974  temd:.      unit
│ │ │ +0019de20: 733a 0a20 2020 2020 202d 206e 616d 653a  s:.      - name:
│ │ │ +0019de30: 2061 7070 6f72 742e 7365 7276 6963 650a   apport.service.
│ │ │ +0019de40: 2020 2020 2020 2020 656e 6162 6c65 643a          enabled:
│ │ │ +0019de50: 2066 616c 7365 0a20 2020 2020 2020 206d   false.        m
│ │ │ +0019de60: 6173 6b3a 2074 7275 650a 2020 2020 2020  ask: true.      
│ │ │ +0019de70: 2d20 6e61 6d65 3a20 6170 706f 7274 2e73  - name: apport.s
│ │ │ +0019de80: 6f63 6b65 740a 2020 2020 2020 2020 656e  ocket.        en
│ │ │ +0019de90: 6162 6c65 643a 2066 616c 7365 0a20 2020  abled: false.   
│ │ │ +0019dea0: 2020 2020 206d 6173 6b3a 2074 7275 650a       mask: true.
│ │ │ +0019deb0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation P │ │ │ +0019df70: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ +0019df80: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ +0019e040: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +0019e050: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
│ │ │ +0019dce0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +0019dd10: 696f 6e3a 3c2f 7468 3e3c 7464 3e6d 6564 ion:med │ │ │ +0019dd20: 6975 6d3c 2f74 643e 3c2f 7472 3e3c 7472 ium
Reboot:true
Strat │ │ │ +0019dd60: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +0019dd70: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complexity │ │ │ +0019e010: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ +0019e030: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ +0019e060: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ +0019e080: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
include disa
│ │ │ +0019e0c0: 626c 655f 6170 706f 7274 0a0a 636c 6173  ble_apport..clas
│ │ │ +0019e0d0: 7320 6469 7361 626c 655f 6170 706f 7274  s disable_apport
│ │ │ +0019e0e0: 207b 0a20 2073 6572 7669 6365 207b 2761   {.  service {'a
│ │ │ +0019e0f0: 7070 6f72 7427 3a0a 2020 2020 656e 6162  pport':.    enab
│ │ │ +0019e100: 6c65 203d 2667 743b 2066 616c 7365 2c0a  le => false,.
│ │ │ +0019e110: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +0019e120: 2027 7374 6f70 7065 6427 2c0a 2020 7d0a   'stopped',.  }.
│ │ │ +0019e130: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ +0019e140: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +0019e1f0: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ +0019e200: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
.[customizat
│ │ │ +0019e260: 696f 6e73 2e73 6572 7669 6365 735d 0a6d  ions.services].m
│ │ │ +0019e270: 6173 6b65 6420 3d20 5b22 6170 706f 7274  asked = ["apport
│ │ │ +0019e280: 225d 0a3c 2f63 6f64 653e 3c2f 7072 653e  "].
│ │ │ 0019e290: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remed │ │ │ -0019fed0: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ -0019fee0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -0019ff90: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -0019ffe0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ -001a0020: 6c75 6465 2072 656d 6f76 655f 6176 6168  lude remove_avah
│ │ │ -001a0030: 692d 6461 656d 6f6e 0a0a 636c 6173 7320  i-daemon..class 
│ │ │ -001a0040: 7265 6d6f 7665 5f61 7661 6869 2d64 6165  remove_avahi-dae
│ │ │ -001a0050: 6d6f 6e20 7b0a 2020 7061 636b 6167 6520  mon {.  package 
│ │ │ -001a0060: 7b20 2761 7661 6869 2d64 6165 6d6f 6e27  { 'avahi-daemon'
│ │ │ -001a0070: 3a0a 2020 2020 656e 7375 7265 203d 2667  :.    ensure =&g
│ │ │ -001a0080: 743b 2027 7075 7267 6564 272c 0a20 207d  t; 'purged',.  }
│ │ │ -001a0090: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ -001a00a0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediatio │ │ │ -001a0150: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ -001a0160: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -001a01a0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
Co │ │ │ -0019ff70: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -0019ffa0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -0019ffc0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -0019ffd0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -0019fff0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -001a0000: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
< │ │ │ -001a0210: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -001a0230: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -001a0260: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -001a01f0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -001a0200: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -001a0240: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -001a0250: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

- name: │ │ │ -001a02a0: 2045 6e73 7572 6520 6176 6168 692d 6461 Ensure avahi-da │ │ │ -001a02b0: 656d 6f6e 2069 7320 7265 6d6f 7665 640a emon is removed. │ │ │ -001a02c0: 2020 7061 636b 6167 653a 0a20 2020 206e package:. n │ │ │ -001a02d0: 616d 653a 2061 7661 6869 2d64 6165 6d6f ame: avahi-daemo │ │ │ -001a02e0: 6e0a 2020 2020 7374 6174 653a 2061 6273 n. state: abs │ │ │ -001a02f0: 656e 740a 2020 7461 6773 3a0a 2020 2d20 ent. tags:. - │ │ │ -001a0300: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6 │ │ │ -001a0310: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800 │ │ │ -001a0320: 2d35 332d 434d 2d37 2861 290a 2020 2d20 -53-CM-7(a). - │ │ │ -001a0330: 4e49 5354 2d38 3030 2d35 332d 434d 2d37 NIST-800-53-CM-7 │ │ │ -001a0340: 2862 290a 2020 2d20 6469 7361 626c 655f (b). - disable_ │ │ │ -001a0350: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low │ │ │ -001a0360: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. - │ │ │ -001a0370: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption. │ │ │ -001a0380: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi │ │ │ -001a0390: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot │ │ │ -001a03a0: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack │ │ │ -001a03b0: 6167 655f 6176 6168 695f 7265 6d6f 7665 age_avahi_remove │ │ │ -001a03c0: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c d.< │ │ │ +0019fed0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s │ │ │ +0019fee0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...

< │ │ │ +0019ff80: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +0019ff90: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +0019ffe0: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ +001a0020: 6e61 6d65 3a20 456e 7375 7265 2061 7661  name: Ensure ava
│ │ │ +001a0030: 6869 2d64 6165 6d6f 6e20 6973 2072 656d  hi-daemon is rem
│ │ │ +001a0040: 6f76 6564 0a20 2070 6163 6b61 6765 3a0a  oved.  package:.
│ │ │ +001a0050: 2020 2020 6e61 6d65 3a20 6176 6168 692d      name: avahi-
│ │ │ +001a0060: 6461 656d 6f6e 0a20 2020 2073 7461 7465  daemon.    state
│ │ │ +001a0070: 3a20 6162 7365 6e74 0a20 2074 6167 733a  : absent.  tags:
│ │ │ +001a0080: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +001a0090: 2d43 4d2d 3628 6129 0a20 202d 204e 4953  -CM-6(a).  - NIS
│ │ │ +001a00a0: 542d 3830 302d 3533 2d43 4d2d 3728 6129  T-800-53-CM-7(a)
│ │ │ +001a00b0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +001a00c0: 2d43 4d2d 3728 6229 0a20 202d 2064 6973  -CM-7(b).  - dis
│ │ │ +001a00d0: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +001a00e0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +001a00f0: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +001a0100: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ +001a0110: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +001a0120: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +001a0130: 2070 6163 6b61 6765 5f61 7661 6869 5f72   package_avahi_r
│ │ │ +001a0140: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f  emoved.Remedi
│ │ │ +001a0200: 6174 696f 6e20 5075 7070 6574 2073 6e69  ation Puppet sni
│ │ │ +001a0210: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e  ppet ...
│ │ │ +001a0220: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
C │ │ │ +0019ff70: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +0019ffa0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +0019ffb0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +0019fff0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ +001a0000: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Com │ │ │ +001a02a0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +001a02d0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +001a02f0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +001a0300: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +001a0320: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +001a0330: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +001a0350: 7564 6520 7265 6d6f 7665 5f61 7661 6869  ude remove_avahi
│ │ │ +001a0360: 2d64 6165 6d6f 6e0a 0a63 6c61 7373 2072  -daemon..class r
│ │ │ +001a0370: 656d 6f76 655f 6176 6168 692d 6461 656d  emove_avahi-daem
│ │ │ +001a0380: 6f6e 207b 0a20 2070 6163 6b61 6765 207b  on {.  package {
│ │ │ +001a0390: 2027 6176 6168 692d 6461 656d 6f6e 273a   'avahi-daemon':
│ │ │ +001a03a0: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ +001a03b0: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a  ; 'purged',.  }.
│ │ │ +001a03c0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ 001a03d0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediat │ │ │ -001a15b0: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue │ │ │ -001a15c0: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet .. │ │ │ -001a15d0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
.[customi
│ │ │ -001a1620: 7a61 7469 6f6e 732e 7365 7276 6963 6573  zations.services
│ │ │ -001a1630: 5d0a 6d61 736b 6564 203d 205b 2261 7661  ].masked = ["ava
│ │ │ -001a1640: 6869 2d64 6165 6d6f 6e22 5d0a 3c2f 636f  hi-daemon"].
< │ │ │ -001a1660: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -001a1670: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -001a1680: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -001a1690: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -001a16a0: 646d 3232 3433 3522 2074 6162 696e 6465 dm22435" tabinde │ │ │ -001a16b0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -001a16c0: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -001a16d0: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -001a16e0: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -001a16f0: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -001a1700: 656d 6564 6961 7469 6f6e 204b 7562 6572 emediation Kuber │ │ │ -001a1710: 6e65 7465 7320 736e 6970 7065 7420 e287 netes snippet .. │ │ │ -001a1720: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ -001a17b0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -001a17d0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -001a17e0: 7464 3e6d 6564 6975 6d3c 2f74 643e 3c2f td>mediumReboo │ │ │ -001a1800: 743a 3c2f 7468 3e3c 7464 3e74 7275 653c t:true< │ │ │ -001a1810: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -001a1830: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -001a1840: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
apiVersio
│ │ │ -001a1860: 6e3a 206d 6163 6869 6e65 636f 6e66 6967  n: machineconfig
│ │ │ -001a1870: 7572 6174 696f 6e2e 6f70 656e 7368 6966  uration.openshif
│ │ │ -001a1880: 742e 696f 2f76 310a 6b69 6e64 3a20 4d61  t.io/v1.kind: Ma
│ │ │ -001a1890: 6368 696e 6543 6f6e 6669 670a 7370 6563  chineConfig.spec
│ │ │ -001a18a0: 3a0a 2020 636f 6e66 6967 3a0a 2020 2020  :.  config:.    
│ │ │ -001a18b0: 6967 6e69 7469 6f6e 3a0a 2020 2020 2020  ignition:.      
│ │ │ -001a18c0: 7665 7273 696f 6e3a 2033 2e31 2e30 0a20  version: 3.1.0. 
│ │ │ -001a18d0: 2020 2073 7973 7465 6d64 3a0a 2020 2020     systemd:.    
│ │ │ -001a18e0: 2020 756e 6974 733a 0a20 2020 2020 202d    units:.      -
│ │ │ -001a18f0: 206e 616d 653a 2061 7661 6869 2d64 6165   name: avahi-dae
│ │ │ -001a1900: 6d6f 6e2e 7365 7276 6963 650a 2020 2020  mon.service.    
│ │ │ -001a1910: 2020 2020 656e 6162 6c65 643a 2066 616c      enabled: fal
│ │ │ -001a1920: 7365 0a20 2020 2020 2020 206d 6173 6b3a  se.        mask:
│ │ │ -001a1930: 2074 7275 650a 2020 2020 2020 2d20 6e61   true.      - na
│ │ │ -001a1940: 6d65 3a20 6176 6168 692d 6461 656d 6f6e  me: avahi-daemon
│ │ │ -001a1950: 2e73 6f63 6b65 740a 2020 2020 2020 2020  .socket.        
│ │ │ -001a1960: 656e 6162 6c65 643a 2066 616c 7365 0a20  enabled: false. 
│ │ │ -001a1970: 2020 2020 2020 206d 6173 6b3a 2074 7275         mask: tru
│ │ │ -001a1980: 650a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  e.
< │ │ │ -001a1990: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -001a1a40: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ -001a1a50: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001a1ad0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -001a1ae0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -001a1af0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -001a1b30: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -001a1b40: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -001a1b60: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ -001a1b80: 3c63 6f64 653e 696e 636c 7564 6520 6469  include di
│ │ │ -001a1b90: 7361 626c 655f 6176 6168 692d 6461 656d  sable_avahi-daem
│ │ │ -001a1ba0: 6f6e 0a0a 636c 6173 7320 6469 7361 626c  on..class disabl
│ │ │ -001a1bb0: 655f 6176 6168 692d 6461 656d 6f6e 207b  e_avahi-daemon {
│ │ │ -001a1bc0: 0a20 2073 6572 7669 6365 207b 2761 7661  .  service {'ava
│ │ │ -001a1bd0: 6869 2d64 6165 6d6f 6e27 3a0a 2020 2020  hi-daemon':.    
│ │ │ -001a1be0: 656e 6162 6c65 203d 2667 743b 2066 616c  enable => fal
│ │ │ -001a1bf0: 7365 2c0a 2020 2020 656e 7375 7265 203d  se,.    ensure =
│ │ │ -001a1c00: 2667 743b 2027 7374 6f70 7065 6427 2c0a  > 'stopped',.
│ │ │ -001a1c10: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ -001a1cd0: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ -001a1ce0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001a1cf0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -001a1d70: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -001a1da0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -001a1dc0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -001a1dd0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -001a1df0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -001a1e00: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -001a1e20: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ -001a1e30: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ -001a1e40: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ -001a1e50: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ -001a1e60: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ -001a1e70: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ -001a1e80: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -001a1e90: 434d 2d37 2861 290a 2020 2d20 4e49 5354  CM-7(a).  - NIST
│ │ │ -001a1ea0: 2d38 3030 2d35 332d 434d 2d37 2862 290a  -800-53-CM-7(b).
│ │ │ -001a1eb0: 2020 2d20 5043 492d 4453 5376 342d 322e    - PCI-DSSv4-2.
│ │ │ -001a1ec0: 320a 2020 2d20 5043 492d 4453 5376 342d  2.  - PCI-DSSv4-
│ │ │ -001a1ed0: 322e 322e 340a 2020 2d20 6469 7361 626c  2.2.4.  - disabl
│ │ │ -001a1ee0: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ -001a1ef0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ -001a1f00: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -001a1f10: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ -001a1f20: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -001a1f30: 6f74 5f6e 6565 6465 640a 2020 2d20 7365  ot_needed.  - se
│ │ │ -001a1f40: 7276 6963 655f 6176 6168 692d 6461 656d  rvice_avahi-daem
│ │ │ -001a1f50: 6f6e 5f64 6973 6162 6c65 640a 0a2d 206e  on_disabled..- n
│ │ │ -001a1f60: 616d 653a 2044 6973 6162 6c65 2041 7661  ame: Disable Ava
│ │ │ -001a1f70: 6869 2053 6572 7665 7220 536f 6674 7761  hi Server Softwa
│ │ │ -001a1f80: 7265 202d 2043 6f6c 6c65 6374 2073 7973  re - Collect sys
│ │ │ -001a1f90: 7465 6d64 2053 6572 7669 6365 7320 5072  temd Services Pr
│ │ │ -001a1fa0: 6573 656e 7420 696e 2074 6865 2053 7973  esent in the Sys
│ │ │ -001a1fb0: 7465 6d0a 2020 616e 7369 626c 652e 6275  tem.  ansible.bu
│ │ │ -001a1fc0: 696c 7469 6e2e 636f 6d6d 616e 643a 2073  iltin.command: s
│ │ │ -001a1fd0: 7973 7465 6d63 746c 202d 7120 6c69 7374  ystemctl -q list
│ │ │ -001a1fe0: 2d75 6e69 742d 6669 6c65 7320 2d2d 7479  -unit-files --ty
│ │ │ -001a1ff0: 7065 2073 6572 7669 6365 0a20 2072 6567  pe service.  reg
│ │ │ -001a2000: 6973 7465 723a 2073 6572 7669 6365 5f65  ister: service_e
│ │ │ -001a2010: 7869 7374 730a 2020 6368 616e 6765 645f  xists.  changed_
│ │ │ -001a2020: 7768 656e 3a20 6661 6c73 650a 2020 6661  when: false.  fa
│ │ │ -001a2030: 696c 6564 5f77 6865 6e3a 2073 6572 7669  iled_when: servi
│ │ │ -001a2040: 6365 5f65 7869 7374 732e 7263 206e 6f74  ce_exists.rc not
│ │ │ -001a2050: 2069 6e20 5b30 2c20 315d 0a20 2063 6865   in [0, 1].  che
│ │ │ -001a2060: 636b 5f6d 6f64 653a 2066 616c 7365 0a20  ck_mode: false. 
│ │ │ -001a2070: 2077 6865 6e3a 2028 2022 6176 6168 692d   when: ( "avahi-
│ │ │ -001a2080: 6461 656d 6f6e 2220 696e 2061 6e73 6962  daemon" in ansib
│ │ │ -001a2090: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -001a20a0: 7320 616e 6420 226c 696e 7578 2d62 6173  s and "linux-bas
│ │ │ -001a20b0: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ -001a20c0: 6374 732e 7061 636b 6167 6573 0a20 2020  cts.packages.   
│ │ │ -001a20d0: 2029 0a20 2074 6167 733a 0a20 202d 204e   ).  tags:.  - N
│ │ │ -001a20e0: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -001a20f0: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ -001a2100: 3533 2d43 4d2d 3728 6129 0a20 202d 204e  53-CM-7(a).  - N
│ │ │ -001a2110: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ -001a2120: 6229 0a20 202d 2050 4349 2d44 5353 7634  b).  - PCI-DSSv4
│ │ │ -001a2130: 2d32 2e32 0a20 202d 2050 4349 2d44 5353  -2.2.  - PCI-DSS
│ │ │ -001a2140: 7634 2d32 2e32 2e34 0a20 202d 2064 6973  v4-2.2.4.  - dis
│ │ │ -001a2150: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -001a2160: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -001a2170: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -001a2180: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ -001a2190: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ -001a21a0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -001a21b0: 2073 6572 7669 6365 5f61 7661 6869 2d64   service_avahi-d
│ │ │ -001a21c0: 6165 6d6f 6e5f 6469 7361 626c 6564 0a0a  aemon_disabled..
│ │ │ -001a21d0: 2d20 6e61 6d65 3a20 4469 7361 626c 6520  - name: Disable 
│ │ │ -001a21e0: 4176 6168 6920 5365 7276 6572 2053 6f66  Avahi Server Sof
│ │ │ -001a21f0: 7477 6172 6520 2d20 456e 7375 7265 2061  tware - Ensure a
│ │ │ -001a2200: 7661 6869 2d64 6165 6d6f 6e2e 7365 7276  vahi-daemon.serv
│ │ │ -001a2210: 6963 6520 6973 204d 6173 6b65 640a 2020  ice is Masked.  
│ │ │ -001a2220: 616e 7369 626c 652e 6275 696c 7469 6e2e  ansible.builtin.
│ │ │ -001a2230: 7379 7374 656d 643a 0a20 2020 206e 616d  systemd:.    nam
│ │ │ -001a2240: 653a 2061 7661 6869 2d64 6165 6d6f 6e2e  e: avahi-daemon.
│ │ │ -001a2250: 7365 7276 6963 650a 2020 2020 7374 6174  service.    stat
│ │ │ -001a2260: 653a 2073 746f 7070 6564 0a20 2020 2065  e: stopped.    e
│ │ │ -001a2270: 6e61 626c 6564 3a20 6661 6c73 650a 2020  nabled: false.  
│ │ │ -001a2280: 2020 6d61 736b 6564 3a20 7472 7565 0a20    masked: true. 
│ │ │ -001a2290: 2077 6865 6e3a 0a20 202d 2028 2022 6176   when:.  - ( "av
│ │ │ -001a22a0: 6168 692d 6461 656d 6f6e 2220 696e 2061  ahi-daemon" in a
│ │ │ -001a22b0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ -001a22c0: 6b61 6765 7320 616e 6420 226c 696e 7578  kages and "linux
│ │ │ -001a22d0: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ -001a22e0: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ -001a22f0: 0a20 2020 2029 0a20 202d 2073 6572 7669  .    ).  - servi
│ │ │ -001a2300: 6365 5f65 7869 7374 732e 7374 646f 7574  ce_exists.stdout
│ │ │ -001a2310: 5f6c 696e 6573 2069 7320 7365 6172 6368  _lines is search
│ │ │ -001a2320: 2822 6176 6168 692d 6461 656d 6f6e 2e73  ("avahi-daemon.s
│ │ │ -001a2330: 6572 7669 6365 222c 206d 756c 7469 6c69  ervice", multili
│ │ │ -001a2340: 6e65 3d54 7275 6529 0a20 2074 6167 733a  ne=True).  tags:
│ │ │ -001a2350: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -001a2360: 2d43 4d2d 3628 6129 0a20 202d 204e 4953  -CM-6(a).  - NIS
│ │ │ -001a2370: 542d 3830 302d 3533 2d43 4d2d 3728 6129  T-800-53-CM-7(a)
│ │ │ -001a2380: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -001a2390: 2d43 4d2d 3728 6229 0a20 202d 2050 4349  -CM-7(b).  - PCI
│ │ │ -001a23a0: 2d44 5353 7634 2d32 2e32 0a20 202d 2050  -DSSv4-2.2.  - P
│ │ │ -001a23b0: 4349 2d44 5353 7634 2d32 2e32 2e34 0a20  CI-DSSv4-2.2.4. 
│ │ │ -001a23c0: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ -001a23d0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -001a23e0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -001a23f0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -001a2400: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -001a2410: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -001a2420: 6564 0a20 202d 2073 6572 7669 6365 5f61  ed.  - service_a
│ │ │ -001a2430: 7661 6869 2d64 6165 6d6f 6e5f 6469 7361  vahi-daemon_disa
│ │ │ -001a2440: 626c 6564 0a0a 2d20 6e61 6d65 3a20 556e  bled..- name: Un
│ │ │ -001a2450: 6974 2053 6f63 6b65 7420 4578 6973 7473  it Socket Exists
│ │ │ -001a2460: 202d 2061 7661 6869 2d64 6165 6d6f 6e2e   - avahi-daemon.
│ │ │ -001a2470: 736f 636b 6574 0a20 2061 6e73 6962 6c65  socket.  ansible
│ │ │ -001a2480: 2e62 7569 6c74 696e 2e63 6f6d 6d61 6e64  .builtin.command
│ │ │ -001a2490: 3a20 7379 7374 656d 6374 6c20 2d71 206c  : systemctl -q l
│ │ │ -001a24a0: 6973 742d 756e 6974 2d66 696c 6573 2061  ist-unit-files a
│ │ │ -001a24b0: 7661 6869 2d64 6165 6d6f 6e2e 736f 636b  vahi-daemon.sock
│ │ │ -001a24c0: 6574 0a20 2072 6567 6973 7465 723a 2073  et.  register: s
│ │ │ -001a24d0: 6f63 6b65 745f 6669 6c65 5f65 7869 7374  ocket_file_exist
│ │ │ -001a24e0: 730a 2020 6368 616e 6765 645f 7768 656e  s.  changed_when
│ │ │ -001a24f0: 3a20 6661 6c73 650a 2020 6661 696c 6564  : false.  failed
│ │ │ -001a2500: 5f77 6865 6e3a 2073 6f63 6b65 745f 6669  _when: socket_fi
│ │ │ -001a2510: 6c65 5f65 7869 7374 732e 7263 206e 6f74  le_exists.rc not
│ │ │ -001a2520: 2069 6e20 5b30 2c20 315d 0a20 2063 6865   in [0, 1].  che
│ │ │ -001a2530: 636b 5f6d 6f64 653a 2066 616c 7365 0a20  ck_mode: false. 
│ │ │ -001a2540: 2077 6865 6e3a 2028 2022 6176 6168 692d   when: ( "avahi-
│ │ │ -001a2550: 6461 656d 6f6e 2220 696e 2061 6e73 6962  daemon" in ansib
│ │ │ -001a2560: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -001a2570: 7320 616e 6420 226c 696e 7578 2d62 6173  s and "linux-bas
│ │ │ -001a2580: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ -001a2590: 6374 732e 7061 636b 6167 6573 0a20 2020  cts.packages.   
│ │ │ -001a25a0: 2029 0a20 2074 6167 733a 0a20 202d 204e   ).  tags:.  - N
│ │ │ -001a25b0: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -001a25c0: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ -001a25d0: 3533 2d43 4d2d 3728 6129 0a20 202d 204e  53-CM-7(a).  - N
│ │ │ -001a25e0: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ -001a25f0: 6229 0a20 202d 2050 4349 2d44 5353 7634  b).  - PCI-DSSv4
│ │ │ -001a2600: 2d32 2e32 0a20 202d 2050 4349 2d44 5353  -2.2.  - PCI-DSS
│ │ │ -001a2610: 7634 2d32 2e32 2e34 0a20 202d 2064 6973  v4-2.2.4.  - dis
│ │ │ -001a2620: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -001a2630: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -001a2640: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -001a2650: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ -001a2660: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ -001a2670: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -001a2680: 2073 6572 7669 6365 5f61 7661 6869 2d64   service_avahi-d
│ │ │ -001a2690: 6165 6d6f 6e5f 6469 7361 626c 6564 0a0a  aemon_disabled..
│ │ │ -001a26a0: 2d20 6e61 6d65 3a20 4469 7361 626c 6520  - name: Disable 
│ │ │ -001a26b0: 4176 6168 6920 5365 7276 6572 2053 6f66  Avahi Server Sof
│ │ │ -001a26c0: 7477 6172 6520 2d20 4469 7361 626c 6520  tware - Disable 
│ │ │ -001a26d0: 536f 636b 6574 2061 7661 6869 2d64 6165  Socket avahi-dae
│ │ │ -001a26e0: 6d6f 6e0a 2020 616e 7369 626c 652e 6275  mon.  ansible.bu
│ │ │ -001a26f0: 696c 7469 6e2e 7379 7374 656d 643a 0a20  iltin.systemd:. 
│ │ │ -001a2700: 2020 206e 616d 653a 2061 7661 6869 2d64     name: avahi-d
│ │ │ -001a2710: 6165 6d6f 6e2e 736f 636b 6574 0a20 2020  aemon.socket.   
│ │ │ -001a2720: 2065 6e61 626c 6564 3a20 6661 6c73 650a   enabled: false.
│ │ │ -001a2730: 2020 2020 7374 6174 653a 2073 746f 7070      state: stopp
│ │ │ -001a2740: 6564 0a20 2020 206d 6173 6b65 643a 2074  ed.    masked: t
│ │ │ -001a2750: 7275 650a 2020 7768 656e 3a0a 2020 2d20  rue.  when:.  - 
│ │ │ -001a2760: 2820 2261 7661 6869 2d64 6165 6d6f 6e22  ( "avahi-daemon"
│ │ │ -001a2770: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ -001a2780: 732e 7061 636b 6167 6573 2061 6e64 2022  s.packages and "
│ │ │ -001a2790: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ -001a27a0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ -001a27b0: 6b61 6765 730a 2020 2020 290a 2020 2d20  kages.    ).  - 
│ │ │ -001a27c0: 736f 636b 6574 5f66 696c 655f 6578 6973  socket_file_exis
│ │ │ -001a27d0: 7473 2e73 7464 6f75 745f 6c69 6e65 7320  ts.stdout_lines 
│ │ │ -001a27e0: 6973 2073 6561 7263 6828 2261 7661 6869  is search("avahi
│ │ │ -001a27f0: 2d64 6165 6d6f 6e2e 736f 636b 6574 222c  -daemon.socket",
│ │ │ -001a2800: 206d 756c 7469 6c69 6e65 3d54 7275 6529   multiline=True)
│ │ │ -001a2810: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ -001a2820: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ -001a2830: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -001a2840: 2d43 4d2d 3728 6129 0a20 202d 204e 4953  -CM-7(a).  - NIS
│ │ │ -001a2850: 542d 3830 302d 3533 2d43 4d2d 3728 6229  T-800-53-CM-7(b)
│ │ │ -001a2860: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ -001a2870: 2e32 0a20 202d 2050 4349 2d44 5353 7634  .2.  - PCI-DSSv4
│ │ │ -001a2880: 2d32 2e32 2e34 0a20 202d 2064 6973 6162  -2.2.4.  - disab
│ │ │ -001a2890: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -001a28a0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -001a28b0: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -001a28c0: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ -001a28d0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -001a28e0: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ -001a28f0: 6572 7669 6365 5f61 7661 6869 2d64 6165  ervice_avahi-dae
│ │ │ -001a2900: 6d6f 6e5f 6469 7361 626c 6564 0a3c 2f63  mon_disabled.
< │ │ │ +001a15d0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001a15e0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001a15f0: 7365 2220 6964 3d22 6964 6d32 3234 3334 se" id="idm22434 │ │ │ +001a1600: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ +001a1650: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +001a1660: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +001a1680: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +001a16a0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +001a16b0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +001a16f0: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ +001a1700: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ +001a1710: 636b 6167 6520 6661 6374 730a 2020 7061  ckage facts.  pa
│ │ │ +001a1720: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ +001a1730: 206d 616e 6167 6572 3a20 6175 746f 0a20   manager: auto. 
│ │ │ +001a1740: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ +001a1750: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ +001a1760: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +001a1770: 4d2d 3728 6129 0a20 202d 204e 4953 542d  M-7(a).  - NIST-
│ │ │ +001a1780: 3830 302d 3533 2d43 4d2d 3728 6229 0a20  800-53-CM-7(b). 
│ │ │ +001a1790: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ +001a17a0: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ +001a17b0: 2e32 2e34 0a20 202d 2064 6973 6162 6c65  .2.4.  - disable
│ │ │ +001a17c0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ +001a17d0: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ +001a17e0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ +001a17f0: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ +001a1800: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ +001a1810: 745f 6e65 6564 6564 0a20 202d 2073 6572  t_needed.  - ser
│ │ │ +001a1820: 7669 6365 5f61 7661 6869 2d64 6165 6d6f  vice_avahi-daemo
│ │ │ +001a1830: 6e5f 6469 7361 626c 6564 0a0a 2d20 6e61  n_disabled..- na
│ │ │ +001a1840: 6d65 3a20 4469 7361 626c 6520 4176 6168  me: Disable Avah
│ │ │ +001a1850: 6920 5365 7276 6572 2053 6f66 7477 6172  i Server Softwar
│ │ │ +001a1860: 6520 2d20 436f 6c6c 6563 7420 7379 7374  e - Collect syst
│ │ │ +001a1870: 656d 6420 5365 7276 6963 6573 2050 7265  emd Services Pre
│ │ │ +001a1880: 7365 6e74 2069 6e20 7468 6520 5379 7374  sent in the Syst
│ │ │ +001a1890: 656d 0a20 2061 6e73 6962 6c65 2e62 7569  em.  ansible.bui
│ │ │ +001a18a0: 6c74 696e 2e63 6f6d 6d61 6e64 3a20 7379  ltin.command: sy
│ │ │ +001a18b0: 7374 656d 6374 6c20 2d71 206c 6973 742d  stemctl -q list-
│ │ │ +001a18c0: 756e 6974 2d66 696c 6573 202d 2d74 7970  unit-files --typ
│ │ │ +001a18d0: 6520 7365 7276 6963 650a 2020 7265 6769  e service.  regi
│ │ │ +001a18e0: 7374 6572 3a20 7365 7276 6963 655f 6578  ster: service_ex
│ │ │ +001a18f0: 6973 7473 0a20 2063 6861 6e67 6564 5f77  ists.  changed_w
│ │ │ +001a1900: 6865 6e3a 2066 616c 7365 0a20 2066 6169  hen: false.  fai
│ │ │ +001a1910: 6c65 645f 7768 656e 3a20 7365 7276 6963  led_when: servic
│ │ │ +001a1920: 655f 6578 6973 7473 2e72 6320 6e6f 7420  e_exists.rc not 
│ │ │ +001a1930: 696e 205b 302c 2031 5d0a 2020 6368 6563  in [0, 1].  chec
│ │ │ +001a1940: 6b5f 6d6f 6465 3a20 6661 6c73 650a 2020  k_mode: false.  
│ │ │ +001a1950: 7768 656e 3a20 2820 2261 7661 6869 2d64  when: ( "avahi-d
│ │ │ +001a1960: 6165 6d6f 6e22 2069 6e20 616e 7369 626c  aemon" in ansibl
│ │ │ +001a1970: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +001a1980: 2061 6e64 2022 6c69 6e75 782d 6261 7365   and "linux-base
│ │ │ +001a1990: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ +001a19a0: 7473 2e70 6163 6b61 6765 730a 2020 2020  ts.packages.    
│ │ │ +001a19b0: 290a 2020 7461 6773 3a0a 2020 2d20 4e49  ).  tags:.  - NI
│ │ │ +001a19c0: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +001a19d0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +001a19e0: 332d 434d 2d37 2861 290a 2020 2d20 4e49  3-CM-7(a).  - NI
│ │ │ +001a19f0: 5354 2d38 3030 2d35 332d 434d 2d37 2862  ST-800-53-CM-7(b
│ │ │ +001a1a00: 290a 2020 2d20 5043 492d 4453 5376 342d  ).  - PCI-DSSv4-
│ │ │ +001a1a10: 322e 320a 2020 2d20 5043 492d 4453 5376  2.2.  - PCI-DSSv
│ │ │ +001a1a20: 342d 322e 322e 340a 2020 2d20 6469 7361  4-2.2.4.  - disa
│ │ │ +001a1a30: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +001a1a40: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +001a1a50: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +001a1a60: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ +001a1a70: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +001a1a80: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +001a1a90: 7365 7276 6963 655f 6176 6168 692d 6461  service_avahi-da
│ │ │ +001a1aa0: 656d 6f6e 5f64 6973 6162 6c65 640a 0a2d  emon_disabled..-
│ │ │ +001a1ab0: 206e 616d 653a 2044 6973 6162 6c65 2041   name: Disable A
│ │ │ +001a1ac0: 7661 6869 2053 6572 7665 7220 536f 6674  vahi Server Soft
│ │ │ +001a1ad0: 7761 7265 202d 2045 6e73 7572 6520 6176  ware - Ensure av
│ │ │ +001a1ae0: 6168 692d 6461 656d 6f6e 2e73 6572 7669  ahi-daemon.servi
│ │ │ +001a1af0: 6365 2069 7320 4d61 736b 6564 0a20 2061  ce is Masked.  a
│ │ │ +001a1b00: 6e73 6962 6c65 2e62 7569 6c74 696e 2e73  nsible.builtin.s
│ │ │ +001a1b10: 7973 7465 6d64 3a0a 2020 2020 6e61 6d65  ystemd:.    name
│ │ │ +001a1b20: 3a20 6176 6168 692d 6461 656d 6f6e 2e73  : avahi-daemon.s
│ │ │ +001a1b30: 6572 7669 6365 0a20 2020 2073 7461 7465  ervice.    state
│ │ │ +001a1b40: 3a20 7374 6f70 7065 640a 2020 2020 656e  : stopped.    en
│ │ │ +001a1b50: 6162 6c65 643a 2066 616c 7365 0a20 2020  abled: false.   
│ │ │ +001a1b60: 206d 6173 6b65 643a 2074 7275 650a 2020   masked: true.  
│ │ │ +001a1b70: 7768 656e 3a0a 2020 2d20 2820 2261 7661  when:.  - ( "ava
│ │ │ +001a1b80: 6869 2d64 6165 6d6f 6e22 2069 6e20 616e  hi-daemon" in an
│ │ │ +001a1b90: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +001a1ba0: 6167 6573 2061 6e64 2022 6c69 6e75 782d  ages and "linux-
│ │ │ +001a1bb0: 6261 7365 2220 696e 2061 6e73 6962 6c65  base" in ansible
│ │ │ +001a1bc0: 5f66 6163 7473 2e70 6163 6b61 6765 730a  _facts.packages.
│ │ │ +001a1bd0: 2020 2020 290a 2020 2d20 7365 7276 6963      ).  - servic
│ │ │ +001a1be0: 655f 6578 6973 7473 2e73 7464 6f75 745f  e_exists.stdout_
│ │ │ +001a1bf0: 6c69 6e65 7320 6973 2073 6561 7263 6828  lines is search(
│ │ │ +001a1c00: 2261 7661 6869 2d64 6165 6d6f 6e2e 7365  "avahi-daemon.se
│ │ │ +001a1c10: 7276 6963 6522 2c20 6d75 6c74 696c 696e  rvice", multilin
│ │ │ +001a1c20: 653d 5472 7565 290a 2020 7461 6773 3a0a  e=True).  tags:.
│ │ │ +001a1c30: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001a1c40: 434d 2d36 2861 290a 2020 2d20 4e49 5354  CM-6(a).  - NIST
│ │ │ +001a1c50: 2d38 3030 2d35 332d 434d 2d37 2861 290a  -800-53-CM-7(a).
│ │ │ +001a1c60: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001a1c70: 434d 2d37 2862 290a 2020 2d20 5043 492d  CM-7(b).  - PCI-
│ │ │ +001a1c80: 4453 5376 342d 322e 320a 2020 2d20 5043  DSSv4-2.2.  - PC
│ │ │ +001a1c90: 492d 4453 5376 342d 322e 322e 340a 2020  I-DSSv4-2.2.4.  
│ │ │ +001a1ca0: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ +001a1cb0: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +001a1cc0: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +001a1cd0: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +001a1ce0: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +001a1cf0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +001a1d00: 640a 2020 2d20 7365 7276 6963 655f 6176  d.  - service_av
│ │ │ +001a1d10: 6168 692d 6461 656d 6f6e 5f64 6973 6162  ahi-daemon_disab
│ │ │ +001a1d20: 6c65 640a 0a2d 206e 616d 653a 2055 6e69  led..- name: Uni
│ │ │ +001a1d30: 7420 536f 636b 6574 2045 7869 7374 7320  t Socket Exists 
│ │ │ +001a1d40: 2d20 6176 6168 692d 6461 656d 6f6e 2e73  - avahi-daemon.s
│ │ │ +001a1d50: 6f63 6b65 740a 2020 616e 7369 626c 652e  ocket.  ansible.
│ │ │ +001a1d60: 6275 696c 7469 6e2e 636f 6d6d 616e 643a  builtin.command:
│ │ │ +001a1d70: 2073 7973 7465 6d63 746c 202d 7120 6c69   systemctl -q li
│ │ │ +001a1d80: 7374 2d75 6e69 742d 6669 6c65 7320 6176  st-unit-files av
│ │ │ +001a1d90: 6168 692d 6461 656d 6f6e 2e73 6f63 6b65  ahi-daemon.socke
│ │ │ +001a1da0: 740a 2020 7265 6769 7374 6572 3a20 736f  t.  register: so
│ │ │ +001a1db0: 636b 6574 5f66 696c 655f 6578 6973 7473  cket_file_exists
│ │ │ +001a1dc0: 0a20 2063 6861 6e67 6564 5f77 6865 6e3a  .  changed_when:
│ │ │ +001a1dd0: 2066 616c 7365 0a20 2066 6169 6c65 645f   false.  failed_
│ │ │ +001a1de0: 7768 656e 3a20 736f 636b 6574 5f66 696c  when: socket_fil
│ │ │ +001a1df0: 655f 6578 6973 7473 2e72 6320 6e6f 7420  e_exists.rc not 
│ │ │ +001a1e00: 696e 205b 302c 2031 5d0a 2020 6368 6563  in [0, 1].  chec
│ │ │ +001a1e10: 6b5f 6d6f 6465 3a20 6661 6c73 650a 2020  k_mode: false.  
│ │ │ +001a1e20: 7768 656e 3a20 2820 2261 7661 6869 2d64  when: ( "avahi-d
│ │ │ +001a1e30: 6165 6d6f 6e22 2069 6e20 616e 7369 626c  aemon" in ansibl
│ │ │ +001a1e40: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +001a1e50: 2061 6e64 2022 6c69 6e75 782d 6261 7365   and "linux-base
│ │ │ +001a1e60: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ +001a1e70: 7473 2e70 6163 6b61 6765 730a 2020 2020  ts.packages.    
│ │ │ +001a1e80: 290a 2020 7461 6773 3a0a 2020 2d20 4e49  ).  tags:.  - NI
│ │ │ +001a1e90: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +001a1ea0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +001a1eb0: 332d 434d 2d37 2861 290a 2020 2d20 4e49  3-CM-7(a).  - NI
│ │ │ +001a1ec0: 5354 2d38 3030 2d35 332d 434d 2d37 2862  ST-800-53-CM-7(b
│ │ │ +001a1ed0: 290a 2020 2d20 5043 492d 4453 5376 342d  ).  - PCI-DSSv4-
│ │ │ +001a1ee0: 322e 320a 2020 2d20 5043 492d 4453 5376  2.2.  - PCI-DSSv
│ │ │ +001a1ef0: 342d 322e 322e 340a 2020 2d20 6469 7361  4-2.2.4.  - disa
│ │ │ +001a1f00: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +001a1f10: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +001a1f20: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +001a1f30: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ +001a1f40: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +001a1f50: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +001a1f60: 7365 7276 6963 655f 6176 6168 692d 6461  service_avahi-da
│ │ │ +001a1f70: 656d 6f6e 5f64 6973 6162 6c65 640a 0a2d  emon_disabled..-
│ │ │ +001a1f80: 206e 616d 653a 2044 6973 6162 6c65 2041   name: Disable A
│ │ │ +001a1f90: 7661 6869 2053 6572 7665 7220 536f 6674  vahi Server Soft
│ │ │ +001a1fa0: 7761 7265 202d 2044 6973 6162 6c65 2053  ware - Disable S
│ │ │ +001a1fb0: 6f63 6b65 7420 6176 6168 692d 6461 656d  ocket avahi-daem
│ │ │ +001a1fc0: 6f6e 0a20 2061 6e73 6962 6c65 2e62 7569  on.  ansible.bui
│ │ │ +001a1fd0: 6c74 696e 2e73 7973 7465 6d64 3a0a 2020  ltin.systemd:.  
│ │ │ +001a1fe0: 2020 6e61 6d65 3a20 6176 6168 692d 6461    name: avahi-da
│ │ │ +001a1ff0: 656d 6f6e 2e73 6f63 6b65 740a 2020 2020  emon.socket.    
│ │ │ +001a2000: 656e 6162 6c65 643a 2066 616c 7365 0a20  enabled: false. 
│ │ │ +001a2010: 2020 2073 7461 7465 3a20 7374 6f70 7065     state: stoppe
│ │ │ +001a2020: 640a 2020 2020 6d61 736b 6564 3a20 7472  d.    masked: tr
│ │ │ +001a2030: 7565 0a20 2077 6865 6e3a 0a20 202d 2028  ue.  when:.  - (
│ │ │ +001a2040: 2022 6176 6168 692d 6461 656d 6f6e 2220   "avahi-daemon" 
│ │ │ +001a2050: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +001a2060: 2e70 6163 6b61 6765 7320 616e 6420 226c  .packages and "l
│ │ │ +001a2070: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ +001a2080: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +001a2090: 6167 6573 0a20 2020 2029 0a20 202d 2073  ages.    ).  - s
│ │ │ +001a20a0: 6f63 6b65 745f 6669 6c65 5f65 7869 7374  ocket_file_exist
│ │ │ +001a20b0: 732e 7374 646f 7574 5f6c 696e 6573 2069  s.stdout_lines i
│ │ │ +001a20c0: 7320 7365 6172 6368 2822 6176 6168 692d  s search("avahi-
│ │ │ +001a20d0: 6461 656d 6f6e 2e73 6f63 6b65 7422 2c20  daemon.socket", 
│ │ │ +001a20e0: 6d75 6c74 696c 696e 653d 5472 7565 290a  multiline=True).
│ │ │ +001a20f0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ +001a2100: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ +001a2110: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001a2120: 434d 2d37 2861 290a 2020 2d20 4e49 5354  CM-7(a).  - NIST
│ │ │ +001a2130: 2d38 3030 2d35 332d 434d 2d37 2862 290a  -800-53-CM-7(b).
│ │ │ +001a2140: 2020 2d20 5043 492d 4453 5376 342d 322e    - PCI-DSSv4-2.
│ │ │ +001a2150: 320a 2020 2d20 5043 492d 4453 5376 342d  2.  - PCI-DSSv4-
│ │ │ +001a2160: 322e 322e 340a 2020 2d20 6469 7361 626c  2.2.4.  - disabl
│ │ │ +001a2170: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ +001a2180: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +001a2190: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +001a21a0: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ +001a21b0: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +001a21c0: 6f74 5f6e 6565 6465 640a 2020 2d20 7365  ot_needed.  - se
│ │ │ +001a21d0: 7276 6963 655f 6176 6168 692d 6461 656d  rvice_avahi-daem
│ │ │ +001a21e0: 6f6e 5f64 6973 6162 6c65 640a 3c2f 636f  on_disabled.
< │ │ │ +001a2200: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +001a2210: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +001a2220: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +001a2230: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +001a2240: 646d 3232 3433 3522 2074 6162 696e 6465 dm22435" tabinde │ │ │ +001a2250: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +001a2260: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +001a2270: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +001a2280: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +001a2290: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +001a22a0: 656d 6564 6961 7469 6f6e 204b 7562 6572 emediation Kuber │ │ │ +001a22b0: 6e65 7465 7320 736e 6970 7065 7420 e287 netes snippet .. │ │ │ +001a22c0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ +001a2350: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +001a2370: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +001a2380: 7464 3e6d 6564 6975 6d3c 2f74 643e 3c2f td>mediumReboo │ │ │ +001a23a0: 743a 3c2f 7468 3e3c 7464 3e74 7275 653c t:true< │ │ │ +001a23b0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +001a23d0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +001a23e0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
apiVersio
│ │ │ +001a2400: 6e3a 206d 6163 6869 6e65 636f 6e66 6967  n: machineconfig
│ │ │ +001a2410: 7572 6174 696f 6e2e 6f70 656e 7368 6966  uration.openshif
│ │ │ +001a2420: 742e 696f 2f76 310a 6b69 6e64 3a20 4d61  t.io/v1.kind: Ma
│ │ │ +001a2430: 6368 696e 6543 6f6e 6669 670a 7370 6563  chineConfig.spec
│ │ │ +001a2440: 3a0a 2020 636f 6e66 6967 3a0a 2020 2020  :.  config:.    
│ │ │ +001a2450: 6967 6e69 7469 6f6e 3a0a 2020 2020 2020  ignition:.      
│ │ │ +001a2460: 7665 7273 696f 6e3a 2033 2e31 2e30 0a20  version: 3.1.0. 
│ │ │ +001a2470: 2020 2073 7973 7465 6d64 3a0a 2020 2020     systemd:.    
│ │ │ +001a2480: 2020 756e 6974 733a 0a20 2020 2020 202d    units:.      -
│ │ │ +001a2490: 206e 616d 653a 2061 7661 6869 2d64 6165   name: avahi-dae
│ │ │ +001a24a0: 6d6f 6e2e 7365 7276 6963 650a 2020 2020  mon.service.    
│ │ │ +001a24b0: 2020 2020 656e 6162 6c65 643a 2066 616c      enabled: fal
│ │ │ +001a24c0: 7365 0a20 2020 2020 2020 206d 6173 6b3a  se.        mask:
│ │ │ +001a24d0: 2074 7275 650a 2020 2020 2020 2d20 6e61   true.      - na
│ │ │ +001a24e0: 6d65 3a20 6176 6168 692d 6461 656d 6f6e  me: avahi-daemon
│ │ │ +001a24f0: 2e73 6f63 6b65 740a 2020 2020 2020 2020  .socket.        
│ │ │ +001a2500: 656e 6162 6c65 643a 2066 616c 7365 0a20  enabled: false. 
│ │ │ +001a2510: 2020 2020 2020 206d 6173 6b3a 2074 7275         mask: tru
│ │ │ +001a2520: 650a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  e.
< │ │ │ +001a2530: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +001a25e0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +001a25f0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +001a2670: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +001a2680: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +001a2690: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +001a26d0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +001a26e0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +001a2700: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ +001a2720: 3c63 6f64 653e 696e 636c 7564 6520 6469  include di
│ │ │ +001a2730: 7361 626c 655f 6176 6168 692d 6461 656d  sable_avahi-daem
│ │ │ +001a2740: 6f6e 0a0a 636c 6173 7320 6469 7361 626c  on..class disabl
│ │ │ +001a2750: 655f 6176 6168 692d 6461 656d 6f6e 207b  e_avahi-daemon {
│ │ │ +001a2760: 0a20 2073 6572 7669 6365 207b 2761 7661  .  service {'ava
│ │ │ +001a2770: 6869 2d64 6165 6d6f 6e27 3a0a 2020 2020  hi-daemon':.    
│ │ │ +001a2780: 656e 6162 6c65 203d 2667 743b 2066 616c  enable => fal
│ │ │ +001a2790: 7365 2c0a 2020 2020 656e 7375 7265 203d  se,.    ensure =
│ │ │ +001a27a0: 2667 743b 2027 7374 6f70 7065 6427 2c0a  > 'stopped',.
│ │ │ +001a27b0: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ +001a2870: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu │ │ │ +001a2880: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet . │ │ │ +001a2890: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
.[custom │ │ │ +001a28e0: 697a 6174 696f 6e73 2e73 6572 7669 6365 izations.service │ │ │ +001a28f0: 735d 0a6d 6173 6b65 6420 3d20 5b22 6176 s].masked = ["av │ │ │ +001a2900: 6168 692d 6461 656d 6f6e 225d 0a3c 2f63 ahi-daemon"].
│ │ │ 001a2920: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Remediation │ │ │ -001adde0: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ -001addf0: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
.[customizat
│ │ │ -001ade50: 696f 6e73 2e73 6572 7669 6365 735d 0a65  ions.services].e
│ │ │ -001ade60: 6e61 626c 6564 203d 205b 2263 726f 6e22  nabled = ["cron"
│ │ │ -001ade70: 5d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  ].
< │ │ │ -001ade80: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>
Remediation │ │ │ -001adf30: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ -001adf40: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001adfc0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -001adfd0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -001adfe0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -001ae020: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -001ae030: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -001ae050: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ -001ae070: 3c63 6f64 653e 696e 636c 7564 6520 656e  include en
│ │ │ -001ae080: 6162 6c65 5f63 726f 6e0a 0a63 6c61 7373  able_cron..class
│ │ │ -001ae090: 2065 6e61 626c 655f 6372 6f6e 207b 0a20   enable_cron {. 
│ │ │ -001ae0a0: 2073 6572 7669 6365 207b 2763 726f 6e27   service {'cron'
│ │ │ -001ae0b0: 3a0a 2020 2020 656e 6162 6c65 203d 2667  :.    enable =&g
│ │ │ -001ae0c0: 743b 2074 7275 652c 0a20 2020 2065 6e73  t; true,.    ens
│ │ │ -001ae0d0: 7572 6520 3d26 6774 3b20 2772 756e 6e69  ure => 'runni
│ │ │ -001ae0e0: 6e67 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ng',.  }.}.
Re │ │ │ -001ae1a0: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -001ae1b0: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
Complexity: │ │ │ -001ae290: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -001ae2a0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ -001ae2f0: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ -001ae300: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ -001ae310: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ -001ae320: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ -001ae330: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ -001ae340: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ -001ae350: 2861 290a 2020 2d20 656e 6162 6c65 5f73  (a).  - enable_s
│ │ │ -001ae360: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ -001ae370: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -001ae380: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -001ae390: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ -001ae3a0: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ -001ae3b0: 6e65 6564 6564 0a20 202d 2073 6572 7669  needed.  - servi
│ │ │ -001ae3c0: 6365 5f63 726f 6e5f 656e 6162 6c65 640a  ce_cron_enabled.
│ │ │ -001ae3d0: 0a2d 206e 616d 653a 2045 6e61 626c 6520  .- name: Enable 
│ │ │ -001ae3e0: 6372 6f6e 2053 6572 7669 6365 202d 2045  cron Service - E
│ │ │ -001ae3f0: 6e61 626c 6520 7365 7276 6963 6520 6372  nable service cr
│ │ │ -001ae400: 6f6e 0a20 2062 6c6f 636b 3a0a 0a20 202d  on.  block:..  -
│ │ │ -001ae410: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ -001ae420: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ -001ae430: 2020 2020 7061 636b 6167 655f 6661 6374      package_fact
│ │ │ -001ae440: 733a 0a20 2020 2020 206d 616e 6167 6572  s:.      manager
│ │ │ -001ae450: 3a20 6175 746f 0a0a 2020 2d20 6e61 6d65  : auto..  - name
│ │ │ -001ae460: 3a20 456e 6162 6c65 2063 726f 6e20 5365  : Enable cron Se
│ │ │ -001ae470: 7276 6963 6520 2d20 456e 6162 6c65 2053  rvice - Enable S
│ │ │ -001ae480: 6572 7669 6365 2063 726f 6e0a 2020 2020  ervice cron.    
│ │ │ -001ae490: 616e 7369 626c 652e 6275 696c 7469 6e2e  ansible.builtin.
│ │ │ -001ae4a0: 7379 7374 656d 643a 0a20 2020 2020 206e  systemd:.      n
│ │ │ -001ae4b0: 616d 653a 2063 726f 6e0a 2020 2020 2020  ame: cron.      
│ │ │ -001ae4c0: 656e 6162 6c65 643a 2074 7275 650a 2020  enabled: true.  
│ │ │ -001ae4d0: 2020 2020 7374 6174 653a 2073 7461 7274      state: start
│ │ │ -001ae4e0: 6564 0a20 2020 2020 206d 6173 6b65 643a  ed.      masked:
│ │ │ -001ae4f0: 2066 616c 7365 0a20 2020 2077 6865 6e3a   false.    when:
│ │ │ -001ae500: 0a20 2020 202d 2027 2263 726f 6e22 2069  .    - '"cron" i
│ │ │ -001ae510: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ -001ae520: 7061 636b 6167 6573 270a 2020 7768 656e  packages'.  when
│ │ │ -001ae530: 3a20 2722 6c69 6e75 782d 6261 7365 2220  : '"linux-base" 
│ │ │ -001ae540: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -001ae550: 2e70 6163 6b61 6765 7327 0a20 2074 6167  .packages'.  tag
│ │ │ -001ae560: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ -001ae570: 3533 2d43 4d2d 3628 6129 0a20 202d 2065  53-CM-6(a).  - e
│ │ │ -001ae580: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ -001ae590: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -001ae5a0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -001ae5b0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ -001ae5c0: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -001ae5d0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -001ae5e0: 2d20 7365 7276 6963 655f 6372 6f6e 5f65  - service_cron_e
│ │ │ -001ae5f0: 6e61 626c 6564 0a3c 2f63 6f64 653e 3c2f  nabled.
< │ │ │ +001ade30: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +001ade40: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +001ade50: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +001ade60: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +001ade70: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ +001adf00: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c < │ │ │ +001adf10: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
low
Disru │ │ │ -001ae270: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -001ae280: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -001ae2c0: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ -001ae2d0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complex │ │ │ +001ade80: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +001ade90: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ +001aded0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +001adee0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
enable
- name: G
│ │ │ +001adf30: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ +001adf40: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ +001adf50: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ +001adf60: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ +001adf70: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +001adf80: 3533 2d43 4d2d 3628 6129 0a20 202d 2065  53-CM-6(a).  - e
│ │ │ +001adf90: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ +001adfa0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +001adfb0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +001adfc0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +001adfd0: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +001adfe0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +001adff0: 2d20 7365 7276 6963 655f 6372 6f6e 5f65  - service_cron_e
│ │ │ +001ae000: 6e61 626c 6564 0a0a 2d20 6e61 6d65 3a20  nabled..- name: 
│ │ │ +001ae010: 456e 6162 6c65 2063 726f 6e20 5365 7276  Enable cron Serv
│ │ │ +001ae020: 6963 6520 2d20 456e 6162 6c65 2073 6572  ice - Enable ser
│ │ │ +001ae030: 7669 6365 2063 726f 6e0a 2020 626c 6f63  vice cron.  bloc
│ │ │ +001ae040: 6b3a 0a0a 2020 2d20 6e61 6d65 3a20 4761  k:..  - name: Ga
│ │ │ +001ae050: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ +001ae060: 2066 6163 7473 0a20 2020 2070 6163 6b61   facts.    packa
│ │ │ +001ae070: 6765 5f66 6163 7473 3a0a 2020 2020 2020  ge_facts:.      
│ │ │ +001ae080: 6d61 6e61 6765 723a 2061 7574 6f0a 0a20  manager: auto.. 
│ │ │ +001ae090: 202d 206e 616d 653a 2045 6e61 626c 6520   - name: Enable 
│ │ │ +001ae0a0: 6372 6f6e 2053 6572 7669 6365 202d 2045  cron Service - E
│ │ │ +001ae0b0: 6e61 626c 6520 5365 7276 6963 6520 6372  nable Service cr
│ │ │ +001ae0c0: 6f6e 0a20 2020 2061 6e73 6962 6c65 2e62  on.    ansible.b
│ │ │ +001ae0d0: 7569 6c74 696e 2e73 7973 7465 6d64 3a0a  uiltin.systemd:.
│ │ │ +001ae0e0: 2020 2020 2020 6e61 6d65 3a20 6372 6f6e        name: cron
│ │ │ +001ae0f0: 0a20 2020 2020 2065 6e61 626c 6564 3a20  .      enabled: 
│ │ │ +001ae100: 7472 7565 0a20 2020 2020 2073 7461 7465  true.      state
│ │ │ +001ae110: 3a20 7374 6172 7465 640a 2020 2020 2020  : started.      
│ │ │ +001ae120: 6d61 736b 6564 3a20 6661 6c73 650a 2020  masked: false.  
│ │ │ +001ae130: 2020 7768 656e 3a0a 2020 2020 2d20 2722    when:.    - '"
│ │ │ +001ae140: 6372 6f6e 2220 696e 2061 6e73 6962 6c65  cron" in ansible
│ │ │ +001ae150: 5f66 6163 7473 2e70 6163 6b61 6765 7327  _facts.packages'
│ │ │ +001ae160: 0a20 2077 6865 6e3a 2027 226c 696e 7578  .  when: '"linux
│ │ │ +001ae170: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ +001ae180: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +001ae190: 270a 2020 7461 6773 3a0a 2020 2d20 4e49  '.  tags:.  - NI
│ │ │ +001ae1a0: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +001ae1b0: 290a 2020 2d20 656e 6162 6c65 5f73 7472  ).  - enable_str
│ │ │ +001ae1c0: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ +001ae1d0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +001ae1e0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +001ae1f0: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ +001ae200: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ +001ae210: 6564 6564 0a20 202d 2073 6572 7669 6365  eded.  - service
│ │ │ +001ae220: 5f63 726f 6e5f 656e 6162 6c65 640a 3c2f  _cron_enabled.
Remediation Pup │ │ │ +001ae2f0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ +001ae300: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ +001ae380: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +001ae3a0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +001ae3f0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ +001ae420: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include enable
│ │ │ +001ae440: 5f63 726f 6e0a 0a63 6c61 7373 2065 6e61  _cron..class ena
│ │ │ +001ae450: 626c 655f 6372 6f6e 207b 0a20 2073 6572  ble_cron {.  ser
│ │ │ +001ae460: 7669 6365 207b 2763 726f 6e27 3a0a 2020  vice {'cron':.  
│ │ │ +001ae470: 2020 656e 6162 6c65 203d 2667 743b 2074    enable => t
│ │ │ +001ae480: 7275 652c 0a20 2020 2065 6e73 7572 6520  rue,.    ensure 
│ │ │ +001ae490: 3d26 6774 3b20 2772 756e 6e69 6e67 272c  => 'running',
│ │ │ +001ae4a0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.Remedi
│ │ │ +001ae560: 6174 696f 6e20 4f53 4275 696c 6420 426c  ation OSBuild Bl
│ │ │ +001ae570: 7565 7072 696e 7420 736e 6970 7065 7420  ueprint snippet 
│ │ │ +001ae580: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620  ...

.[custo │ │ │ +001ae5d0: 6d69 7a61 7469 6f6e 732e 7365 7276 6963 mizations.servic │ │ │ +001ae5e0: 6573 5d0a 656e 6162 6c65 6420 3d20 5b22 es].enabled = [" │ │ │ +001ae5f0: 6372 6f6e 225d 0a3c 2f63 6f64 653e 3c2f cron"].

Remediat │ │ │ -001c8d90: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ -001c8da0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
Complexity:< │ │ │ +001ae390: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +001ae3b0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +001ae400: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ +001ae410: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
│ │ │ -001c8e50: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -001c8e70: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -001c8ea0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -001c8e30: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -001c8e40: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -001c8e60: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -001c8e80: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -001c8e90: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -001c8ed0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ -001c8ee0: 6520 7265 6d6f 7665 5f6e 6973 0a0a 636c e remove_nis..cl │ │ │ -001c8ef0: 6173 7320 7265 6d6f 7665 5f6e 6973 207b ass remove_nis { │ │ │ -001c8f00: 0a20 2070 6163 6b61 6765 207b 2027 6e69 . package { 'ni │ │ │ -001c8f10: 7327 3a0a 2020 2020 656e 7375 7265 203d s':. ensure = │ │ │ -001c8f20: 2667 743b 2027 7075 7267 6564 272c 0a20 > 'purged',. │ │ │ -001c8f30: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.
Remediat │ │ │ -001c8ff0: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip │ │ │ -001c9000: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -001c9010: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -001c9020: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -001c9030: 7365 2220 6964 3d22 6964 6d32 3431 3637 se" id="idm24167 │ │ │ -001c9040: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ -001c9090: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -001c90a0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -001c90c0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -001c90e0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -001c90f0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ -001c9130: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ -001c9140: 653a 2045 6e73 7572 6520 6e69 7320 6973  e: Ensure nis is
│ │ │ -001c9150: 2072 656d 6f76 6564 0a20 2070 6163 6b61   removed.  packa
│ │ │ -001c9160: 6765 3a0a 2020 2020 6e61 6d65 3a20 6e69  ge:.    name: ni
│ │ │ -001c9170: 730a 2020 2020 7374 6174 653a 2061 6273  s.    state: abs
│ │ │ -001c9180: 656e 740a 2020 7461 6773 3a0a 2020 2d20  ent.  tags:.  - 
│ │ │ -001c9190: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ -001c91a0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -001c91b0: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -001c91c0: 7570 7469 6f6e 0a20 202d 206c 6f77 5f73  uption.  - low_s
│ │ │ -001c91d0: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ -001c91e0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -001c91f0: 2070 6163 6b61 6765 5f6e 6973 5f72 656d   package_nis_rem
│ │ │ -001c9200: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072  oved.
< │ │ │ +001c8db0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001c8dc0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001c8dd0: 7365 2220 6964 3d22 6964 6d32 3431 3636 se" id="idm24166 │ │ │ +001c8de0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ +001c8e30: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +001c8e40: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +001c8e60: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +001c8e80: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +001c8e90: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +001c8ed0: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ +001c8ee0: 653a 2045 6e73 7572 6520 6e69 7320 6973  e: Ensure nis is
│ │ │ +001c8ef0: 2072 656d 6f76 6564 0a20 2070 6163 6b61   removed.  packa
│ │ │ +001c8f00: 6765 3a0a 2020 2020 6e61 6d65 3a20 6e69  ge:.    name: ni
│ │ │ +001c8f10: 730a 2020 2020 7374 6174 653a 2061 6273  s.    state: abs
│ │ │ +001c8f20: 656e 740a 2020 7461 6773 3a0a 2020 2d20  ent.  tags:.  - 
│ │ │ +001c8f30: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ +001c8f40: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +001c8f50: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +001c8f60: 7570 7469 6f6e 0a20 202d 206c 6f77 5f73  uption.  - low_s
│ │ │ +001c8f70: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +001c8f80: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +001c8f90: 2070 6163 6b61 6765 5f6e 6973 5f72 656d   package_nis_rem
│ │ │ +001c8fa0: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072  oved.
Remediat │ │ │ +001c9060: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ +001c9070: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +001c9120: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +001c9140: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +001c9170: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +001c9100: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +001c9110: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +001c9130: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +001c9150: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +001c9160: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +001c91a0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ +001c91b0: 6520 7265 6d6f 7665 5f6e 6973 0a0a 636c e remove_nis..cl │ │ │ +001c91c0: 6173 7320 7265 6d6f 7665 5f6e 6973 207b ass remove_nis { │ │ │ +001c91d0: 0a20 2070 6163 6b61 6765 207b 2027 6e69 . package { 'ni │ │ │ +001c91e0: 7327 3a0a 2020 2020 656e 7375 7265 203d s':. ensure = │ │ │ +001c91f0: 2667 743b 2027 7075 7267 6564 272c 0a20 > 'purged',. │ │ │ +001c9200: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.
Rem │ │ │ -001cad50: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ -001cad60: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -001cad70: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ -001cae00: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
i
│ │ │ -001caea0: 6e63 6c75 6465 2072 656d 6f76 655f 6973  nclude remove_is
│ │ │ -001caeb0: 632d 6468 6370 2d73 6572 7665 720a 0a63  c-dhcp-server..c
│ │ │ -001caec0: 6c61 7373 2072 656d 6f76 655f 6973 632d  lass remove_isc-
│ │ │ -001caed0: 6468 6370 2d73 6572 7665 7220 7b0a 2020  dhcp-server {.  
│ │ │ -001caee0: 7061 636b 6167 6520 7b20 2769 7363 2d64  package { 'isc-d
│ │ │ -001caef0: 6863 702d 7365 7276 6572 273a 0a20 2020  hcp-server':.   
│ │ │ -001caf00: 2065 6e73 7572 6520 3d26 6774 3b20 2770   ensure => 'p
│ │ │ -001caf10: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f  urged',.  }.}.
Remediation Ans │ │ │ -001cafe0: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -001caff0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low< │ │ │ -001cb0c0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>
│ │ │ -001cadf0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -001cae20: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -001cae30: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -001cae70: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ -001cae80: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexity: │ │ │ -001cb080: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ -001cb0a0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ -001cb0f0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -001cb100: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Ensu
│ │ │ -001cb130: 7265 2069 7363 2d64 6863 702d 7365 7276  re isc-dhcp-serv
│ │ │ -001cb140: 6572 2069 7320 7265 6d6f 7665 640a 2020  er is removed.  
│ │ │ -001cb150: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ -001cb160: 653a 2069 7363 2d64 6863 702d 7365 7276  e: isc-dhcp-serv
│ │ │ -001cb170: 6572 0a20 2020 2073 7461 7465 3a20 6162  er.    state: ab
│ │ │ -001cb180: 7365 6e74 0a20 2074 6167 733a 0a20 202d  sent.  tags:.  -
│ │ │ -001cb190: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -001cb1a0: 3628 6129 0a20 202d 204e 4953 542d 3830  6(a).  - NIST-80
│ │ │ -001cb1b0: 302d 3533 2d43 4d2d 3728 6129 0a20 202d  0-53-CM-7(a).  -
│ │ │ -001cb1c0: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -001cb1d0: 3728 6229 0a20 202d 2050 4349 2d44 5353  7(b).  - PCI-DSS
│ │ │ -001cb1e0: 7634 2d32 2e32 0a20 202d 2050 4349 2d44  v4-2.2.  - PCI-D
│ │ │ -001cb1f0: 5353 7634 2d32 2e32 2e34 0a20 202d 2064  SSv4-2.2.4.  - d
│ │ │ -001cb200: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ -001cb210: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -001cb220: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -001cb230: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -001cb240: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -001cb250: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -001cb260: 202d 2070 6163 6b61 6765 5f64 6863 705f   - package_dhcp_
│ │ │ -001cb270: 7265 6d6f 7665 640a 3c2f 636f 6465 3e3c  removed.<
│ │ │ +001cad50: 6564 6961 7469 6f6e 2041 6e73 6962 6c65  ediation Ansible
│ │ │ +001cad60: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e   snippet ...
│ │ │ +001cad70: 3c62 723e 3c64 6976 2063 6c61 7373 3d22  
< │ │ │ +001cae40: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +001cae50: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +001caea0: 2d20 6e61 6d65 3a20 456e 7375 7265 2069  - name: Ensure i
│ │ │ +001caeb0: 7363 2d64 6863 702d 7365 7276 6572 2069  sc-dhcp-server i
│ │ │ +001caec0: 7320 7265 6d6f 7665 640a 2020 7061 636b  s removed.  pack
│ │ │ +001caed0: 6167 653a 0a20 2020 206e 616d 653a 2069  age:.    name: i
│ │ │ +001caee0: 7363 2d64 6863 702d 7365 7276 6572 0a20  sc-dhcp-server. 
│ │ │ +001caef0: 2020 2073 7461 7465 3a20 6162 7365 6e74     state: absent
│ │ │ +001caf00: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ +001caf10: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ +001caf20: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +001caf30: 2d43 4d2d 3728 6129 0a20 202d 204e 4953  -CM-7(a).  - NIS
│ │ │ +001caf40: 542d 3830 302d 3533 2d43 4d2d 3728 6229  T-800-53-CM-7(b)
│ │ │ +001caf50: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ +001caf60: 2e32 0a20 202d 2050 4349 2d44 5353 7634  .2.  - PCI-DSSv4
│ │ │ +001caf70: 2d32 2e32 2e34 0a20 202d 2064 6973 6162  -2.2.4.  - disab
│ │ │ +001caf80: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +001caf90: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +001cafa0: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +001cafb0: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ +001cafc0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +001cafd0: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ +001cafe0: 6163 6b61 6765 5f64 6863 705f 7265 6d6f  ackage_dhcp_remo
│ │ │ +001caff0: 7665 640a 3c2f 636f 6465 3e3c 2f70 7265  ved.
Remediati │ │ │ +001cb0b0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ +001cb0c0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +001cb100: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
Complexity:low
Disrup │ │ │ +001cae20: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +001cae30: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +001cae70: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +001cae80: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
< │ │ │ +001cb170: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +001cb190: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +001cb1c0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ +001cb150: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +001cb160: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +001cb1a0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +001cb1b0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ +001cb200: 2072 656d 6f76 655f 6973 632d 6468 6370 remove_isc-dhcp │ │ │ +001cb210: 2d73 6572 7665 720a 0a63 6c61 7373 2072 -server..class r │ │ │ +001cb220: 656d 6f76 655f 6973 632d 6468 6370 2d73 emove_isc-dhcp-s │ │ │ +001cb230: 6572 7665 7220 7b0a 2020 7061 636b 6167 erver {. packag │ │ │ +001cb240: 6520 7b20 2769 7363 2d64 6863 702d 7365 e { 'isc-dhcp-se │ │ │ +001cb250: 7276 6572 273a 0a20 2020 2065 6e73 7572 rver':. ensur │ │ │ +001cb260: 6520 3d26 6774 3b20 2770 7572 6765 6427 e => 'purged' │ │ │ +001cb270: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.< │ │ │ 001cb280: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>

Remedi │ │ │ -001ccbb0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ -001ccbc0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001ccbd0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -001ccc50: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -001ccc80: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -001ccca0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -001cccb0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -001cccd0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -001ccce0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -001ccd00: 7564 6520 7265 6d6f 7665 5f62 696e 6439  ude remove_bind9
│ │ │ -001ccd10: 0a0a 636c 6173 7320 7265 6d6f 7665 5f62  ..class remove_b
│ │ │ -001ccd20: 696e 6439 207b 0a20 2070 6163 6b61 6765  ind9 {.  package
│ │ │ -001ccd30: 207b 2027 6269 6e64 3927 3a0a 2020 2020   { 'bind9':.    
│ │ │ -001ccd40: 656e 7375 7265 203d 2667 743b 2027 7075  ensure => 'pu
│ │ │ -001ccd50: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63  rged',.  }.}.
│ │ │ -001ccd70: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ -001cce10: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi │ │ │ -001cce20: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...< │ │ │ -001cce30: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -001cceb0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -001cced0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -001ccf20: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -001ccf50: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -001ccec0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -001ccee0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -001ccf30: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -001ccf40: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
- name: Ensur
│ │ │ -001ccf70: 6520 6269 6e64 3920 6973 2072 656d 6f76  e bind9 is remov
│ │ │ -001ccf80: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ -001ccf90: 2020 6e61 6d65 3a20 6269 6e64 390a 2020    name: bind9.  
│ │ │ -001ccfa0: 2020 7374 6174 653a 2061 6273 656e 740a    state: absent.
│ │ │ -001ccfb0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ -001ccfc0: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ -001ccfd0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -001ccfe0: 434d 2d37 2861 290a 2020 2d20 4e49 5354  CM-7(a).  - NIST
│ │ │ -001ccff0: 2d38 3030 2d35 332d 434d 2d37 2862 290a  -800-53-CM-7(b).
│ │ │ -001cd000: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ -001cd010: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ -001cd020: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -001cd030: 6469 7372 7570 7469 6f6e 0a20 202d 206c  disruption.  - l
│ │ │ -001cd040: 6f77 5f73 6576 6572 6974 790a 2020 2d20  ow_severity.  - 
│ │ │ -001cd050: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -001cd060: 0a20 202d 2070 6163 6b61 6765 5f62 696e  .  - package_bin
│ │ │ -001cd070: 645f 7265 6d6f 7665 640a 3c2f 636f 6465  d_removed.
low< │ │ │ +001ccc70: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +001cccc0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ +001ccd00: 616d 653a 2045 6e73 7572 6520 6269 6e64  ame: Ensure bind
│ │ │ +001ccd10: 3920 6973 2072 656d 6f76 6564 0a20 2070  9 is removed.  p
│ │ │ +001ccd20: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65  ackage:.    name
│ │ │ +001ccd30: 3a20 6269 6e64 390a 2020 2020 7374 6174  : bind9.    stat
│ │ │ +001ccd40: 653a 2061 6273 656e 740a 2020 7461 6773  e: absent.  tags
│ │ │ +001ccd50: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ +001ccd60: 332d 434d 2d36 2861 290a 2020 2d20 4e49  3-CM-6(a).  - NI
│ │ │ +001ccd70: 5354 2d38 3030 2d35 332d 434d 2d37 2861  ST-800-53-CM-7(a
│ │ │ +001ccd80: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +001ccd90: 332d 434d 2d37 2862 290a 2020 2d20 6469  3-CM-7(b).  - di
│ │ │ +001ccda0: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ +001ccdb0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +001ccdc0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +001ccdd0: 7469 6f6e 0a20 202d 206c 6f77 5f73 6576  tion.  - low_sev
│ │ │ +001ccde0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +001ccdf0: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ +001cce00: 6163 6b61 6765 5f62 696e 645f 7265 6d6f  ackage_bind_remo
│ │ │ +001cce10: 7665 640a 3c2f 636f 6465 3e3c 2f70 7265  ved.
Remediati │ │ │ +001cced0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ +001ccee0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +001ccf20: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
Co │ │ │ +001ccc50: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +001ccc80: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +001ccca0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +001cccb0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +001cccd0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +001ccce0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
< │ │ │ +001ccf90: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +001ccfb0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +001ccfe0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ +001ccf70: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +001ccf80: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +001ccfc0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +001ccfd0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ +001cd020: 2072 656d 6f76 655f 6269 6e64 390a 0a63 remove_bind9..c │ │ │ +001cd030: 6c61 7373 2072 656d 6f76 655f 6269 6e64 lass remove_bind │ │ │ +001cd040: 3920 7b0a 2020 7061 636b 6167 6520 7b20 9 {. package { │ │ │ +001cd050: 2762 696e 6439 273a 0a20 2020 2065 6e73 'bind9':. ens │ │ │ +001cd060: 7572 6520 3d26 6774 3b20 2770 7572 6765 ure => 'purge │ │ │ +001cd070: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 d',. }.}.

Re │ │ │ -001ceab0: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -001ceac0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -001cead0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -001ceba0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -001cebb0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -001cec00: 696e 636c 7564 6520 7265 6d6f 7665 5f76  include remove_v
│ │ │ -001cec10: 7366 7470 640a 0a63 6c61 7373 2072 656d  sftpd..class rem
│ │ │ -001cec20: 6f76 655f 7673 6674 7064 207b 0a20 2070  ove_vsftpd {.  p
│ │ │ -001cec30: 6163 6b61 6765 207b 2027 7673 6674 7064  ackage { 'vsftpd
│ │ │ -001cec40: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ -001cec50: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ -001cec60: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ -001ced20: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -001ced30: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
Complexity:low
Disrup │ │ │ -001ceb80: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -001ceb90: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -001cebd0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -001cebe0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -001cede0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -001cee00: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -001cee30: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -001cedc0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -001cedd0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -001cedf0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -001cee10: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -001cee20: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -001cee60: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -001cee70: 3a20 456e 7375 7265 2076 7366 7470 6420 : Ensure vsftpd │ │ │ -001cee80: 6973 2072 656d 6f76 6564 0a20 2070 6163 is removed. pac │ │ │ -001cee90: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20 kage:. name: │ │ │ -001ceea0: 7673 6674 7064 0a20 2020 2073 7461 7465 vsftpd. state │ │ │ -001ceeb0: 3a20 6162 7365 6e74 0a20 2074 6167 733a : absent. tags: │ │ │ -001ceec0: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53 │ │ │ -001ceed0: 2d43 4d2d 3628 6129 0a20 202d 204e 4953 -CM-6(a). - NIS │ │ │ -001ceee0: 542d 3830 302d 3533 2d43 4d2d 370a 2020 T-800-53-CM-7. │ │ │ -001ceef0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM │ │ │ -001cef00: 2d37 2861 290a 2020 2d20 4e49 5354 2d38 -7(a). - NIST-8 │ │ │ -001cef10: 3030 2d35 332d 434d 2d37 2862 290a 2020 00-53-CM-7(b). │ │ │ -001cef20: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM │ │ │ -001cef30: 2d37 2e31 2869 6929 0a20 202d 204e 4953 -7.1(ii). - NIS │ │ │ -001cef40: 542d 3830 302d 3533 2d49 412d 3528 3129 T-800-53-IA-5(1) │ │ │ -001cef50: 2863 290a 2020 2d20 4e49 5354 2d38 3030 (c). - NIST-800 │ │ │ -001cef60: 2d35 332d 4941 2d35 2831 292e 3128 7629 -53-IA-5(1).1(v) │ │ │ -001cef70: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str │ │ │ -001cef80: 6174 6567 790a 2020 2d20 6869 6768 5f73 ategy. - high_s │ │ │ -001cef90: 6576 6572 6974 790a 2020 2d20 6c6f 775f everity. - low_ │ │ │ -001cefa0: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l │ │ │ -001cefb0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption. │ │ │ -001cefc0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need │ │ │ -001cefd0: 6564 0a20 202d 2070 6163 6b61 6765 5f76 ed. - package_v │ │ │ -001cefe0: 7366 7470 645f 7265 6d6f 7665 640a 3c2f sftpd_removed.
Complexity: │ │ │ +001ceba0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +001cebb0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
- name: Ensure 
│ │ │ +001cec10: 7673 6674 7064 2069 7320 7265 6d6f 7665  vsftpd is remove
│ │ │ +001cec20: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ +001cec30: 206e 616d 653a 2076 7366 7470 640a 2020   name: vsftpd.  
│ │ │ +001cec40: 2020 7374 6174 653a 2061 6273 656e 740a    state: absent.
│ │ │ +001cec50: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ +001cec60: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ +001cec70: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001cec80: 434d 2d37 0a20 202d 204e 4953 542d 3830  CM-7.  - NIST-80
│ │ │ +001cec90: 302d 3533 2d43 4d2d 3728 6129 0a20 202d  0-53-CM-7(a).  -
│ │ │ +001ceca0: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +001cecb0: 3728 6229 0a20 202d 204e 4953 542d 3830  7(b).  - NIST-80
│ │ │ +001cecc0: 302d 3533 2d43 4d2d 372e 3128 6969 290a  0-53-CM-7.1(ii).
│ │ │ +001cecd0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001cece0: 4941 2d35 2831 2928 6329 0a20 202d 204e  IA-5(1)(c).  - N
│ │ │ +001cecf0: 4953 542d 3830 302d 3533 2d49 412d 3528  IST-800-53-IA-5(
│ │ │ +001ced00: 3129 2e31 2876 290a 2020 2d20 6469 7361  1).1(v).  - disa
│ │ │ +001ced10: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +001ced20: 2068 6967 685f 7365 7665 7269 7479 0a20   high_severity. 
│ │ │ +001ced30: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +001ced40: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +001ced50: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f  tion.  - no_rebo
│ │ │ +001ced60: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ +001ced70: 636b 6167 655f 7673 6674 7064 5f72 656d  ckage_vsftpd_rem
│ │ │ +001ced80: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072  oved.Remediat
│ │ │ +001cee40: 696f 6e20 5075 7070 6574 2073 6e69 7070  ion Puppet snipp
│ │ │ +001cee50: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64  et ...
low
Disru │ │ │ +001ceb80: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +001ceb90: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +001cebd0: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +001cebe0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ +001cef00: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +001cef20: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +001cef50: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +001ceee0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +001ceef0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +001cef10: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +001cef30: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +001cef40: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +001cef80: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ +001cef90: 6520 7265 6d6f 7665 5f76 7366 7470 640a e remove_vsftpd. │ │ │ +001cefa0: 0a63 6c61 7373 2072 656d 6f76 655f 7673 .class remove_vs │ │ │ +001cefb0: 6674 7064 207b 0a20 2070 6163 6b61 6765 ftpd {. package │ │ │ +001cefc0: 207b 2027 7673 6674 7064 273a 0a20 2020 { 'vsftpd':. │ │ │ +001cefd0: 2065 6e73 7572 6520 3d26 6774 3b20 2770 ensure => 'p │ │ │ +001cefe0: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f urged',. }.}.
Re │ │ │ -001d0920: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -001d0930: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -001d0940: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -001d0a10: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -001d0a20: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -001d0a70: 696e 636c 7564 6520 7265 6d6f 7665 5f61  include remove_a
│ │ │ -001d0a80: 7061 6368 6532 0a0a 636c 6173 7320 7265  pache2..class re
│ │ │ -001d0a90: 6d6f 7665 5f61 7061 6368 6532 207b 0a20  move_apache2 {. 
│ │ │ -001d0aa0: 2070 6163 6b61 6765 207b 2027 6170 6163   package { 'apac
│ │ │ -001d0ab0: 6865 3227 3a0a 2020 2020 656e 7375 7265  he2':.    ensure
│ │ │ -001d0ac0: 203d 2667 743b 2027 7075 7267 6564 272c   => 'purged',
│ │ │ -001d0ad0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.Remedi
│ │ │ -001d0b90: 6174 696f 6e20 416e 7369 626c 6520 736e  ation Ansible sn
│ │ │ -001d0ba0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
Complexity:low
Disrup │ │ │ -001d09f0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -001d0a00: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -001d0a40: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -001d0a50: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
low< │ │ │ -001d0c50: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -001d0ca0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ -001d0ce0: 616d 653a 2045 6e73 7572 6520 6170 6163  ame: Ensure apac
│ │ │ -001d0cf0: 6865 3220 6973 2072 656d 6f76 6564 0a20  he2 is removed. 
│ │ │ -001d0d00: 2070 6163 6b61 6765 3a0a 2020 2020 6e61   package:.    na
│ │ │ -001d0d10: 6d65 3a20 6170 6163 6865 320a 2020 2020  me: apache2.    
│ │ │ -001d0d20: 7374 6174 653a 2061 6273 656e 740a 2020  state: absent.  
│ │ │ -001d0d30: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ -001d0d40: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ -001d0d50: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -001d0d60: 2d37 2861 290a 2020 2d20 4e49 5354 2d38  -7(a).  - NIST-8
│ │ │ -001d0d70: 3030 2d35 332d 434d 2d37 2862 290a 2020  00-53-CM-7(b).  
│ │ │ -001d0d80: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ -001d0d90: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ -001d0da0: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -001d0db0: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f  sruption.  - no_
│ │ │ -001d0dc0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -001d0dd0: 2d20 7061 636b 6167 655f 6874 7470 645f  - package_httpd_
│ │ │ -001d0de0: 7265 6d6f 7665 640a 2020 2d20 756e 6b6e  removed.  - unkn
│ │ │ -001d0df0: 6f77 6e5f 7365 7665 7269 7479 0a3c 2f63  own_severity.
Co │ │ │ -001d0c30: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -001d0c60: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -001d0c80: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -001d0c90: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -001d0cb0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -001d0cc0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complexity: │ │ │ +001d0a10: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +001d0a20: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
- name: Ensure 
│ │ │ +001d0a80: 6170 6163 6865 3220 6973 2072 656d 6f76  apache2 is remov
│ │ │ +001d0a90: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ +001d0aa0: 2020 6e61 6d65 3a20 6170 6163 6865 320a    name: apache2.
│ │ │ +001d0ab0: 2020 2020 7374 6174 653a 2061 6273 656e      state: absen
│ │ │ +001d0ac0: 740a 2020 7461 6773 3a0a 2020 2d20 4e49  t.  tags:.  - NI
│ │ │ +001d0ad0: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +001d0ae0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +001d0af0: 332d 434d 2d37 2861 290a 2020 2d20 4e49  3-CM-7(a).  - NI
│ │ │ +001d0b00: 5354 2d38 3030 2d35 332d 434d 2d37 2862  ST-800-53-CM-7(b
│ │ │ +001d0b10: 290a 2020 2d20 6469 7361 626c 655f 7374  ).  - disable_st
│ │ │ +001d0b20: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +001d0b30: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +001d0b40: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +001d0b50: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +001d0b60: 640a 2020 2d20 7061 636b 6167 655f 6874  d.  - package_ht
│ │ │ +001d0b70: 7470 645f 7265 6d6f 7665 640a 2020 2d20  tpd_removed.  - 
│ │ │ +001d0b80: 756e 6b6e 6f77 6e5f 7365 7665 7269 7479  unknown_severity
│ │ │ +001d0b90: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +001d0c50: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +001d0c60: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ +001d0ce0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ +001d0d20: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 disable
low
Disru │ │ │ +001d09f0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +001d0a00: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +001d0a40: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +001d0a50: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complexit │ │ │ +001d0cf0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ +001d0d10: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ +001d0d40: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +001d0d60: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
│ │ │ +001d0d90: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ +001d0da0: 6d6f 7665 5f61 7061 6368 6532 0a0a 636c  move_apache2..cl
│ │ │ +001d0db0: 6173 7320 7265 6d6f 7665 5f61 7061 6368  ass remove_apach
│ │ │ +001d0dc0: 6532 207b 0a20 2070 6163 6b61 6765 207b  e2 {.  package {
│ │ │ +001d0dd0: 2027 6170 6163 6865 3227 3a0a 2020 2020   'apache2':.    
│ │ │ +001d0de0: 656e 7375 7265 203d 2667 743b 2027 7075  ensure => 'pu
│ │ │ +001d0df0: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63  rged',.  }.}.
│ │ │ 001d0e10: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Remediat │ │ │ -001d21b0: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ -001d21c0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001d2270: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -001d2290: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -001d22c0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -001d2250: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -001d2260: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -001d2280: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -001d22a0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -001d22b0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -001d22f0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ -001d2300: 6520 7265 6d6f 7665 5f6e 6769 6e78 0a0a e remove_nginx.. │ │ │ -001d2310: 636c 6173 7320 7265 6d6f 7665 5f6e 6769 class remove_ngi │ │ │ -001d2320: 6e78 207b 0a20 2070 6163 6b61 6765 207b nx {. package { │ │ │ -001d2330: 2027 6e67 696e 7827 3a0a 2020 2020 656e 'nginx':. en │ │ │ -001d2340: 7375 7265 203d 2667 743b 2027 7075 7267 sure => 'purg │ │ │ -001d2350: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Re │ │ │ -001d2410: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -001d2420: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
Complexity: │ │ │ -001d2500: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -001d2510: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
- name: Ensure 
│ │ │ -001d2570: 6e67 696e 7820 6973 2072 656d 6f76 6564  nginx is removed
│ │ │ -001d2580: 0a20 2070 6163 6b61 6765 3a0a 2020 2020  .  package:.    
│ │ │ -001d2590: 6e61 6d65 3a20 6e67 696e 780a 2020 2020  name: nginx.    
│ │ │ -001d25a0: 7374 6174 653a 2061 6273 656e 740a 2020  state: absent.  
│ │ │ -001d25b0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ -001d25c0: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ -001d25d0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -001d25e0: 2d37 2861 290a 2020 2d20 4e49 5354 2d38  -7(a).  - NIST-8
│ │ │ -001d25f0: 3030 2d35 332d 434d 2d37 2862 290a 2020  00-53-CM-7(b).  
│ │ │ -001d2600: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ -001d2610: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ -001d2620: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -001d2630: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f  sruption.  - no_
│ │ │ -001d2640: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -001d2650: 2d20 7061 636b 6167 655f 6e67 696e 785f  - package_nginx_
│ │ │ -001d2660: 7265 6d6f 7665 640a 2020 2d20 756e 6b6e  removed.  - unkn
│ │ │ -001d2670: 6f77 6e5f 7365 7665 7269 7479 0a3c 2f63  own_severity.
< │ │ │ +001d21d0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001d21e0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001d21f0: 7365 2220 6964 3d22 6964 6d32 3439 3737 se" id="idm24977 │ │ │ +001d2200: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
low
Disru │ │ │ -001d24e0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -001d24f0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -001d2530: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ -001d2540: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Comp │ │ │ +001d2250: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +001d2260: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +001d2280: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +001d22a0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +001d22b0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +001d22f0: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ +001d2300: 653a 2045 6e73 7572 6520 6e67 696e 7820  e: Ensure nginx 
│ │ │ +001d2310: 6973 2072 656d 6f76 6564 0a20 2070 6163  is removed.  pac
│ │ │ +001d2320: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20  kage:.    name: 
│ │ │ +001d2330: 6e67 696e 780a 2020 2020 7374 6174 653a  nginx.    state:
│ │ │ +001d2340: 2061 6273 656e 740a 2020 7461 6773 3a0a   absent.  tags:.
│ │ │ +001d2350: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001d2360: 434d 2d36 2861 290a 2020 2d20 4e49 5354  CM-6(a).  - NIST
│ │ │ +001d2370: 2d38 3030 2d35 332d 434d 2d37 2861 290a  -800-53-CM-7(a).
│ │ │ +001d2380: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001d2390: 434d 2d37 2862 290a 2020 2d20 6469 7361  CM-7(b).  - disa
│ │ │ +001d23a0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +001d23b0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +001d23c0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +001d23d0: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74  on.  - no_reboot
│ │ │ +001d23e0: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ +001d23f0: 6167 655f 6e67 696e 785f 7265 6d6f 7665  age_nginx_remove
│ │ │ +001d2400: 640a 2020 2d20 756e 6b6e 6f77 6e5f 7365  d.  - unknown_se
│ │ │ +001d2410: 7665 7269 7479 0a3c 2f63 6f64 653e 3c2f  verity.
Remedi │ │ │ +001d24d0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ +001d24e0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +001d24f0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +001d2570: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +001d25a0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +001d25c0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +001d25d0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +001d25f0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +001d2600: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +001d2620: 7564 6520 7265 6d6f 7665 5f6e 6769 6e78  ude remove_nginx
│ │ │ +001d2630: 0a0a 636c 6173 7320 7265 6d6f 7665 5f6e  ..class remove_n
│ │ │ +001d2640: 6769 6e78 207b 0a20 2070 6163 6b61 6765  ginx {.  package
│ │ │ +001d2650: 207b 2027 6e67 696e 7827 3a0a 2020 2020   { 'nginx':.    
│ │ │ +001d2660: 656e 7375 7265 203d 2667 743b 2027 7075  ensure => 'pu
│ │ │ +001d2670: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63  rged',.  }.}.
│ │ │ 001d2690: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Remediat │ │ │ -001d3930: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ -001d3940: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001d39f0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -001d3a10: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -001d3a40: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -001d39d0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -001d39e0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -001d3a00: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -001d3a20: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -001d3a30: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -001d3a70: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ -001d3a80: 6520 7265 6d6f 7665 5f63 7972 7573 2d69 e remove_cyrus-i │ │ │ -001d3a90: 6d61 7064 0a0a 636c 6173 7320 7265 6d6f mapd..class remo │ │ │ -001d3aa0: 7665 5f63 7972 7573 2d69 6d61 7064 207b ve_cyrus-imapd { │ │ │ -001d3ab0: 0a20 2070 6163 6b61 6765 207b 2027 6379 . package { 'cy │ │ │ -001d3ac0: 7275 732d 696d 6170 6427 3a0a 2020 2020 rus-imapd':. │ │ │ -001d3ad0: 656e 7375 7265 203d 2667 743b 2027 7075 ensure => 'pu │ │ │ -001d3ae0: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63 rged',. }.}.
│ │ │ -001d3b00: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ -001d3ba0: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi │ │ │ -001d3bb0: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...< │ │ │ -001d3bc0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -001d3c40: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -001d3c60: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -001d3cb0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -001d3ce0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -001d3c50: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -001d3c70: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -001d3cc0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -001d3cd0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
- name: Ensur
│ │ │ -001d3d00: 6520 6379 7275 732d 696d 6170 6420 6973  e cyrus-imapd is
│ │ │ -001d3d10: 2072 656d 6f76 6564 0a20 2070 6163 6b61   removed.  packa
│ │ │ -001d3d20: 6765 3a0a 2020 2020 6e61 6d65 3a20 6379  ge:.    name: cy
│ │ │ -001d3d30: 7275 732d 696d 6170 640a 2020 2020 7374  rus-imapd.    st
│ │ │ -001d3d40: 6174 653a 2061 6273 656e 740a 2020 7461  ate: absent.  ta
│ │ │ -001d3d50: 6773 3a0a 2020 2d20 6469 7361 626c 655f  gs:.  - disable_
│ │ │ -001d3d60: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -001d3d70: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -001d3d80: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -001d3d90: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -001d3da0: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ -001d3db0: 6379 7275 732d 696d 6170 645f 7265 6d6f  cyrus-imapd_remo
│ │ │ -001d3dc0: 7665 640a 2020 2d20 756e 6b6e 6f77 6e5f  ved.  - unknown_
│ │ │ -001d3dd0: 7365 7665 7269 7479 0a3c 2f63 6f64 653e  severity.
│ │ │ +001d3930: 696f 6e20 416e 7369 626c 6520 736e 6970  ion Ansible snip
│ │ │ +001d3940: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c  pet ...
< │ │ │ +001d3950: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001d3960: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001d3970: 7365 2220 6964 3d22 6964 6d32 3439 3938 se" id="idm24998 │ │ │ +001d3980: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ +001d39d0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +001d39e0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +001d3a00: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +001d3a20: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +001d3a30: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +001d3a70: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ +001d3a80: 653a 2045 6e73 7572 6520 6379 7275 732d  e: Ensure cyrus-
│ │ │ +001d3a90: 696d 6170 6420 6973 2072 656d 6f76 6564  imapd is removed
│ │ │ +001d3aa0: 0a20 2070 6163 6b61 6765 3a0a 2020 2020  .  package:.    
│ │ │ +001d3ab0: 6e61 6d65 3a20 6379 7275 732d 696d 6170  name: cyrus-imap
│ │ │ +001d3ac0: 640a 2020 2020 7374 6174 653a 2061 6273  d.    state: abs
│ │ │ +001d3ad0: 656e 740a 2020 7461 6773 3a0a 2020 2d20  ent.  tags:.  - 
│ │ │ +001d3ae0: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ +001d3af0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +001d3b00: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +001d3b10: 7570 7469 6f6e 0a20 202d 206e 6f5f 7265  uption.  - no_re
│ │ │ +001d3b20: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +001d3b30: 7061 636b 6167 655f 6379 7275 732d 696d  package_cyrus-im
│ │ │ +001d3b40: 6170 645f 7265 6d6f 7665 640a 2020 2d20  apd_removed.  - 
│ │ │ +001d3b50: 756e 6b6e 6f77 6e5f 7365 7665 7269 7479  unknown_severity
│ │ │ +001d3b60: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +001d3c20: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +001d3c30: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ +001d3cb0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +001d3cc0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +001d3ce0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +001d3cf0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +001d3d10: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +001d3d30: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ +001d3d60: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ +001d3d70: 6d6f 7665 5f63 7972 7573 2d69 6d61 7064  move_cyrus-imapd
│ │ │ +001d3d80: 0a0a 636c 6173 7320 7265 6d6f 7665 5f63  ..class remove_c
│ │ │ +001d3d90: 7972 7573 2d69 6d61 7064 207b 0a20 2070  yrus-imapd {.  p
│ │ │ +001d3da0: 6163 6b61 6765 207b 2027 6379 7275 732d  ackage { 'cyrus-
│ │ │ +001d3db0: 696d 6170 6427 3a0a 2020 2020 656e 7375  imapd':.    ensu
│ │ │ +001d3dc0: 7265 203d 2667 743b 2027 7075 7267 6564  re => 'purged
│ │ │ +001d3dd0: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │  001d3de0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ -001d4c90: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -001d4ca0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -001d4d40: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001d4d50: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -001d4da0: 3c74 723e 3c74 683e 5374 7261 7465 6779
in
│ │ │ -001d4de0: 636c 7564 6520 7265 6d6f 7665 5f64 6f76  clude remove_dov
│ │ │ -001d4df0: 6563 6f74 2d63 6f72 650a 0a63 6c61 7373  ecot-core..class
│ │ │ -001d4e00: 2072 656d 6f76 655f 646f 7665 636f 742d   remove_dovecot-
│ │ │ -001d4e10: 636f 7265 207b 0a20 2070 6163 6b61 6765  core {.  package
│ │ │ -001d4e20: 207b 2027 646f 7665 636f 742d 636f 7265   { 'dovecot-core
│ │ │ -001d4e30: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ -001d4e40: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ -001d4e50: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ -001d4f10: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -001d4f20: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
C │ │ │ -001d4d30: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -001d4d60: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -001d4d70: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -001d4db0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -001d4dc0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
│ │ │ -001d4fd0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -001d4ff0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -001d5020: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -001d4fb0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -001d4fc0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -001d4fe0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -001d5000: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -001d5010: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -001d5050: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -001d5060: 3a20 456e 7375 7265 2064 6f76 6563 6f74 : Ensure dovecot │ │ │ -001d5070: 2d63 6f72 6520 6973 2072 656d 6f76 6564 -core is removed │ │ │ -001d5080: 0a20 2070 6163 6b61 6765 3a0a 2020 2020 . package:. │ │ │ -001d5090: 6e61 6d65 3a20 646f 7665 636f 742d 636f name: dovecot-co │ │ │ -001d50a0: 7265 0a20 2020 2073 7461 7465 3a20 6162 re. state: ab │ │ │ -001d50b0: 7365 6e74 0a20 2074 6167 733a 0a20 202d sent. tags:. - │ │ │ -001d50c0: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg │ │ │ -001d50d0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple │ │ │ -001d50e0: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis │ │ │ -001d50f0: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72 ruption. - no_r │ │ │ -001d5100: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. - │ │ │ -001d5110: 2070 6163 6b61 6765 5f64 6f76 6563 6f74 package_dovecot │ │ │ -001d5120: 5f72 656d 6f76 6564 0a20 202d 2075 6e6b _removed. - unk │ │ │ -001d5130: 6e6f 776e 5f73 6576 6572 6974 790a 3c2f nown_severity.< │ │ │ +001d4cb0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ +001d4d40: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
-
│ │ │ +001d4de0: 206e 616d 653a 2045 6e73 7572 6520 646f   name: Ensure do
│ │ │ +001d4df0: 7665 636f 742d 636f 7265 2069 7320 7265  vecot-core is re
│ │ │ +001d4e00: 6d6f 7665 640a 2020 7061 636b 6167 653a  moved.  package:
│ │ │ +001d4e10: 0a20 2020 206e 616d 653a 2064 6f76 6563  .    name: dovec
│ │ │ +001d4e20: 6f74 2d63 6f72 650a 2020 2020 7374 6174  ot-core.    stat
│ │ │ +001d4e30: 653a 2061 6273 656e 740a 2020 7461 6773  e: absent.  tags
│ │ │ +001d4e40: 3a0a 2020 2d20 6469 7361 626c 655f 7374  :.  - disable_st
│ │ │ +001d4e50: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +001d4e60: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +001d4e70: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +001d4e80: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +001d4e90: 640a 2020 2d20 7061 636b 6167 655f 646f  d.  - package_do
│ │ │ +001d4ea0: 7665 636f 745f 7265 6d6f 7665 640a 2020  vecot_removed.  
│ │ │ +001d4eb0: 2d20 756e 6b6e 6f77 6e5f 7365 7665 7269  - unknown_severi
│ │ │ +001d4ec0: 7479 0a3c 2f63 6f64 653e 3c2f 7072 653e  ty.
│ │ │ +001d4ed0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediatio │ │ │ +001d4f80: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ +001d4f90: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +001d4fd0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +001d4fe0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +001d4ff0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +001d5000: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +001d5010: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ +001d50a0: 3c74 643e 6469 7361 626c 653c 2f74 643e │ │ │ +001d50b0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
│ │ │ +001d4d30: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +001d4d60: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +001d4d70: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +001d4db0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +001d4dc0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complex │ │ │ +001d5020: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +001d5030: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ +001d5070: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +001d5080: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
disable
include │ │ │ +001d50d0: 7265 6d6f 7665 5f64 6f76 6563 6f74 2d63 remove_dovecot-c │ │ │ +001d50e0: 6f72 650a 0a63 6c61 7373 2072 656d 6f76 ore..class remov │ │ │ +001d50f0: 655f 646f 7665 636f 742d 636f 7265 207b e_dovecot-core { │ │ │ +001d5100: 0a20 2070 6163 6b61 6765 207b 2027 646f . package { 'do │ │ │ +001d5110: 7665 636f 742d 636f 7265 273a 0a20 2020 vecot-core':. │ │ │ +001d5120: 2065 6e73 7572 6520 3d26 6774 3b20 2770 ensure => 'p │ │ │ +001d5130: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f urged',. }.}.
Reme │ │ │ -001d67c0: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -001d67d0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -001d6870: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001d6880: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -001d68d0: 3c74 723e 3c74 683e 5374 7261 7465 6779
in
│ │ │ -001d6910: 636c 7564 6520 7265 6d6f 7665 5f6c 6461  clude remove_lda
│ │ │ -001d6920: 702d 7574 696c 730a 0a63 6c61 7373 2072  p-utils..class r
│ │ │ -001d6930: 656d 6f76 655f 6c64 6170 2d75 7469 6c73  emove_ldap-utils
│ │ │ -001d6940: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ -001d6950: 6c64 6170 2d75 7469 6c73 273a 0a20 2020  ldap-utils':.   
│ │ │ -001d6960: 2065 6e73 7572 6520 3d26 6774 3b20 2770   ensure => 'p
│ │ │ -001d6970: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f  urged',.  }.}.
Remediation Ans │ │ │ -001d6a40: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -001d6a50: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low< │ │ │ -001d6b20: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>
C │ │ │ -001d6860: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -001d6890: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -001d68a0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -001d68e0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -001d68f0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexity: │ │ │ -001d6ae0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ -001d6b00: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ -001d6b50: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -001d6b60: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Ensu
│ │ │ -001d6b90: 7265 206c 6461 702d 7574 696c 7320 6973  re ldap-utils is
│ │ │ -001d6ba0: 2072 656d 6f76 6564 0a20 2070 6163 6b61   removed.  packa
│ │ │ -001d6bb0: 6765 3a0a 2020 2020 6e61 6d65 3a20 6c64  ge:.    name: ld
│ │ │ -001d6bc0: 6170 2d75 7469 6c73 0a20 2020 2073 7461  ap-utils.    sta
│ │ │ -001d6bd0: 7465 3a20 6162 7365 6e74 0a20 2074 6167  te: absent.  tag
│ │ │ -001d6be0: 733a 0a20 202d 2064 6973 6162 6c65 5f73  s:.  - disable_s
│ │ │ -001d6bf0: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ -001d6c00: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -001d6c10: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -001d6c20: 2d20 6c6f 775f 7365 7665 7269 7479 0a20  - low_severity. 
│ │ │ -001d6c30: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -001d6c40: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ -001d6c50: 6f70 656e 6c64 6170 2d63 6c69 656e 7473  openldap-clients
│ │ │ -001d6c60: 5f72 656d 6f76 6564 0a3c 2f63 6f64 653e  _removed.
│ │ │ +001d67c0: 6469 6174 696f 6e20 416e 7369 626c 6520  diation Ansible 
│ │ │ +001d67d0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c  snippet ...<
│ │ │ +001d67e0: 6272 3e3c 6469 7620 636c 6173 733d 2270  br>
│ │ │ +001d6870: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
-
│ │ │ +001d6910: 206e 616d 653a 2045 6e73 7572 6520 6c64   name: Ensure ld
│ │ │ +001d6920: 6170 2d75 7469 6c73 2069 7320 7265 6d6f  ap-utils is remo
│ │ │ +001d6930: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ +001d6940: 2020 206e 616d 653a 206c 6461 702d 7574     name: ldap-ut
│ │ │ +001d6950: 696c 730a 2020 2020 7374 6174 653a 2061  ils.    state: a
│ │ │ +001d6960: 6273 656e 740a 2020 7461 6773 3a0a 2020  bsent.  tags:.  
│ │ │ +001d6970: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ +001d6980: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +001d6990: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +001d69a0: 7372 7570 7469 6f6e 0a20 202d 206c 6f77  sruption.  - low
│ │ │ +001d69b0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +001d69c0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +001d69d0: 202d 2070 6163 6b61 6765 5f6f 7065 6e6c   - package_openl
│ │ │ +001d69e0: 6461 702d 636c 6965 6e74 735f 7265 6d6f  dap-clients_remo
│ │ │ +001d69f0: 7665 640a 3c2f 636f 6465 3e3c 2f70 7265  ved.
Remediati │ │ │ +001d6ab0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ +001d6ac0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +001d6b00: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
│ │ │ +001d6860: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +001d6890: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +001d68a0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +001d68e0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +001d68f0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ +001d6b70: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +001d6b90: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +001d6bc0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ +001d6b50: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +001d6b60: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +001d6ba0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +001d6bb0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ +001d6c00: 2072 656d 6f76 655f 6c64 6170 2d75 7469 remove_ldap-uti │ │ │ +001d6c10: 6c73 0a0a 636c 6173 7320 7265 6d6f 7665 ls..class remove │ │ │ +001d6c20: 5f6c 6461 702d 7574 696c 7320 7b0a 2020 _ldap-utils {. │ │ │ +001d6c30: 7061 636b 6167 6520 7b20 276c 6461 702d package { 'ldap- │ │ │ +001d6c40: 7574 696c 7327 3a0a 2020 2020 656e 7375 utils':. ensu │ │ │ +001d6c50: 7265 203d 2667 743b 2027 7075 7267 6564 re => 'purged │ │ │ +001d6c60: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e ',. }.}. │ │ │ 001d6c70: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063

Re │ │ │ -001d81c0: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -001d81d0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -001d81e0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -001d82b0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -001d82c0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -001d8310: 696e 636c 7564 6520 7265 6d6f 7665 5f73  include remove_s
│ │ │ -001d8320: 6c61 7064 0a0a 636c 6173 7320 7265 6d6f  lapd..class remo
│ │ │ -001d8330: 7665 5f73 6c61 7064 207b 0a20 2070 6163  ve_slapd {.  pac
│ │ │ -001d8340: 6b61 6765 207b 2027 736c 6170 6427 3a0a  kage { 'slapd':.
│ │ │ -001d8350: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -001d8360: 2027 7075 7267 6564 272c 0a20 207d 0a7d   'purged',.  }.}
│ │ │ -001d8370: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -001d8430: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -001d8440: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001d84c0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ -001d8550: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -001d8560: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
Complexity:low
Disrup │ │ │ -001d8290: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -001d82a0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -001d82e0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -001d82f0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexi │ │ │ -001d84d0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -001d84e0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ -001d8520: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -001d8530: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
- name: E
│ │ │ -001d8580: 6e73 7572 6520 736c 6170 6420 6973 2072  nsure slapd is r
│ │ │ -001d8590: 656d 6f76 6564 0a20 2070 6163 6b61 6765  emoved.  package
│ │ │ -001d85a0: 3a0a 2020 2020 6e61 6d65 3a20 736c 6170  :.    name: slap
│ │ │ -001d85b0: 640a 2020 2020 7374 6174 653a 2061 6273  d.    state: abs
│ │ │ -001d85c0: 656e 740a 2020 7461 6773 3a0a 2020 2d20  ent.  tags:.  - 
│ │ │ -001d85d0: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ -001d85e0: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ -001d85f0: 2d35 332d 434d 2d37 2861 290a 2020 2d20  -53-CM-7(a).  - 
│ │ │ -001d8600: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ -001d8610: 2862 290a 2020 2d20 6469 7361 626c 655f  (b).  - disable_
│ │ │ -001d8620: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -001d8630: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -001d8640: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -001d8650: 202d 206c 6f77 5f73 6576 6572 6974 790a   - low_severity.
│ │ │ -001d8660: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -001d8670: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -001d8680: 5f6f 7065 6e6c 6461 702d 7365 7276 6572  _openldap-server
│ │ │ -001d8690: 735f 7265 6d6f 7665 640a 3c2f 636f 6465  s_removed.
Complexity: │ │ │ +001d82b0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +001d82c0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
- name: Ensure 
│ │ │ +001d8320: 736c 6170 6420 6973 2072 656d 6f76 6564  slapd is removed
│ │ │ +001d8330: 0a20 2070 6163 6b61 6765 3a0a 2020 2020  .  package:.    
│ │ │ +001d8340: 6e61 6d65 3a20 736c 6170 640a 2020 2020  name: slapd.    
│ │ │ +001d8350: 7374 6174 653a 2061 6273 656e 740a 2020  state: absent.  
│ │ │ +001d8360: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ +001d8370: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ +001d8380: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +001d8390: 2d37 2861 290a 2020 2d20 4e49 5354 2d38  -7(a).  - NIST-8
│ │ │ +001d83a0: 3030 2d35 332d 434d 2d37 2862 290a 2020  00-53-CM-7(b).  
│ │ │ +001d83b0: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ +001d83c0: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +001d83d0: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +001d83e0: 7372 7570 7469 6f6e 0a20 202d 206c 6f77  sruption.  - low
│ │ │ +001d83f0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +001d8400: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +001d8410: 202d 2070 6163 6b61 6765 5f6f 7065 6e6c   - package_openl
│ │ │ +001d8420: 6461 702d 7365 7276 6572 735f 7265 6d6f  dap-servers_remo
│ │ │ +001d8430: 7665 640a 3c2f 636f 6465 3e3c 2f70 7265  ved.
Remediati │ │ │ +001d84f0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ +001d8500: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +001d8540: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
low
Disru │ │ │ +001d8290: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +001d82a0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +001d82e0: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +001d82f0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
< │ │ │ +001d85b0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +001d85d0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +001d8600: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ +001d8590: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +001d85a0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +001d85e0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +001d85f0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ +001d8640: 2072 656d 6f76 655f 736c 6170 640a 0a63 remove_slapd..c │ │ │ +001d8650: 6c61 7373 2072 656d 6f76 655f 736c 6170 lass remove_slap │ │ │ +001d8660: 6420 7b0a 2020 7061 636b 6167 6520 7b20 d {. package { │ │ │ +001d8670: 2773 6c61 7064 273a 0a20 2020 2065 6e73 'slapd':. ens │ │ │ +001d8680: 7572 6520 3d26 6774 3b20 2770 7572 6765 ure => 'purge │ │ │ +001d8690: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 d',. }.}.

Remediati │ │ │ -001dcab0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -001dcac0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -001dcb00: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -001dcb70: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -001dcb90: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -001dcbc0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -001dcb50: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -001dcb60: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -001dcba0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -001dcbb0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ -001dcc00: 2072 656d 6f76 655f 7270 6362 696e 640a remove_rpcbind. │ │ │ -001dcc10: 0a63 6c61 7373 2072 656d 6f76 655f 7270 .class remove_rp │ │ │ -001dcc20: 6362 696e 6420 7b0a 2020 7061 636b 6167 cbind {. packag │ │ │ -001dcc30: 6520 7b20 2772 7063 6269 6e64 273a 0a20 e { 'rpcbind':. │ │ │ -001dcc40: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure => │ │ │ -001dcc50: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a 'purged',. }.}. │ │ │ -001dcc60: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64 Remediation A │ │ │ -001dcd20: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet . │ │ │ -001dcd30: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..

< │ │ │ -001dcdb0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -001dcdc0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ -001dcde0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ -001dcdf0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ -001dce10: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ -001dce30: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ -001dce60: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761  - name: Ga
│ │ │ -001dce70: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ -001dce80: 2066 6163 7473 0a20 2070 6163 6b61 6765   facts.  package
│ │ │ -001dce90: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61  _facts:.    mana
│ │ │ -001dcea0: 6765 723a 2061 7574 6f0a 2020 7461 6773  ger: auto.  tags
│ │ │ -001dceb0: 3a0a 2020 2d20 6469 7361 626c 655f 7374  :.  - disable_st
│ │ │ -001dcec0: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ -001dced0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ -001dcee0: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ -001dcef0: 206c 6f77 5f73 6576 6572 6974 790a 2020   low_severity.  
│ │ │ -001dcf00: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -001dcf10: 6564 0a20 202d 2070 6163 6b61 6765 5f72  ed.  - package_r
│ │ │ -001dcf20: 7063 6269 6e64 5f72 656d 6f76 6564 0a0a  pcbind_removed..
│ │ │ -001dcf30: 2d20 6e61 6d65 3a20 456e 7375 7265 2072  - name: Ensure r
│ │ │ -001dcf40: 7063 6269 6e64 2069 7320 7265 6d6f 7665  pcbind is remove
│ │ │ -001dcf50: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ -001dcf60: 206e 616d 653a 2072 7063 6269 6e64 0a20   name: rpcbind. 
│ │ │ -001dcf70: 2020 2073 7461 7465 3a20 6162 7365 6e74     state: absent
│ │ │ -001dcf80: 0a20 2077 6865 6e3a 2027 226c 696e 7578  .  when: '"linux
│ │ │ -001dcf90: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ -001dcfa0: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ -001dcfb0: 270a 2020 7461 6773 3a0a 2020 2d20 6469  '.  tags:.  - di
│ │ │ -001dcfc0: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ -001dcfd0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -001dcfe0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -001dcff0: 7469 6f6e 0a20 202d 206c 6f77 5f73 6576  tion.  - low_sev
│ │ │ -001dd000: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -001dd010: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ -001dd020: 6163 6b61 6765 5f72 7063 6269 6e64 5f72  ackage_rpcbind_r
│ │ │ -001dd030: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f  emoved.
│ │ │ +001dcb70: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +001dcb90: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +001dcbc0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +001dcb50: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +001dcb60: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +001dcb80: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +001dcba0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +001dcbb0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +001dcbf0: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +001dcc00: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ +001dcc10: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac │ │ │ +001dcc20: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ +001dcc30: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto. │ │ │ +001dcc40: 7461 6773 3a0a 2020 2d20 6469 7361 626c tags:. - disabl │ │ │ +001dcc50: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l │ │ │ +001dcc60: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity. │ │ │ +001dcc70: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption │ │ │ +001dcc80: 0a20 202d 206c 6f77 5f73 6576 6572 6974 . - low_severit │ │ │ +001dcc90: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_ │ │ │ +001dcca0: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa │ │ │ +001dccb0: 6765 5f72 7063 6269 6e64 5f72 656d 6f76 ge_rpcbind_remov │ │ │ +001dccc0: 6564 0a0a 2d20 6e61 6d65 3a20 456e 7375 ed..- name: Ensu │ │ │ +001dccd0: 7265 2072 7063 6269 6e64 2069 7320 7265 re rpcbind is re │ │ │ +001dcce0: 6d6f 7665 640a 2020 7061 636b 6167 653a moved. package: │ │ │ +001dccf0: 0a20 2020 206e 616d 653a 2072 7063 6269 . name: rpcbi │ │ │ +001dcd00: 6e64 0a20 2020 2073 7461 7465 3a20 6162 nd. state: ab │ │ │ +001dcd10: 7365 6e74 0a20 2077 6865 6e3a 2027 226c sent. when: '"l │ │ │ +001dcd20: 696e 7578 2d62 6173 6522 2069 6e20 616e inux-base" in an │ │ │ +001dcd30: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack │ │ │ +001dcd40: 6167 6573 270a 2020 7461 6773 3a0a 2020 ages'. tags:. │ │ │ +001dcd50: 2d20 6469 7361 626c 655f 7374 7261 7465 - disable_strate │ │ │ +001dcd60: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl │ │ │ +001dcd70: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di │ │ │ +001dcd80: 7372 7570 7469 6f6e 0a20 202d 206c 6f77 sruption. - low │ │ │ +001dcd90: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no │ │ │ +001dcda0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed. │ │ │ +001dcdb0: 202d 2070 6163 6b61 6765 5f72 7063 6269 - package_rpcbi │ │ │ +001dcdc0: 6e64 5f72 656d 6f76 6564 0a3c 2f63 6f64 nd_removed.
Re │ │ │ +001dce80: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ +001dce90: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +001dcea0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ +001dcf70: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +001dcf80: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +001dcfd0: 696e 636c 7564 6520 7265 6d6f 7665 5f72  include remove_r
│ │ │ +001dcfe0: 7063 6269 6e64 0a0a 636c 6173 7320 7265  pcbind..class re
│ │ │ +001dcff0: 6d6f 7665 5f72 7063 6269 6e64 207b 0a20  move_rpcbind {. 
│ │ │ +001dd000: 2070 6163 6b61 6765 207b 2027 7270 6362   package { 'rpcb
│ │ │ +001dd010: 696e 6427 3a0a 2020 2020 656e 7375 7265  ind':.    ensure
│ │ │ +001dd020: 203d 2667 743b 2027 7075 7267 6564 272c   => 'purged',
│ │ │ +001dd030: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.R
│ │ │ -001ddc90: 656d 6564 6961 7469 6f6e 2050 7570 7065  emediation Puppe
│ │ │ -001ddca0: 7420 736e 6970 7065 7420 e287 b23c 2f61  t snippet ...
Complexity:low
Disrup │ │ │ +001dcf50: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +001dcf60: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +001dcfa0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +001dcfb0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity: │ │ │ -001ddd80: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -001ddd90: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ -001dddf0: 6e66 732d 6b65 726e 656c 2d73 6572 7665  nfs-kernel-serve
│ │ │ -001dde00: 720a 0a63 6c61 7373 2072 656d 6f76 655f  r..class remove_
│ │ │ -001dde10: 6e66 732d 6b65 726e 656c 2d73 6572 7665  nfs-kernel-serve
│ │ │ -001dde20: 7220 7b0a 2020 7061 636b 6167 6520 7b20  r {.  package { 
│ │ │ -001dde30: 276e 6673 2d6b 6572 6e65 6c2d 7365 7276  'nfs-kernel-serv
│ │ │ -001dde40: 6572 273a 0a20 2020 2065 6e73 7572 6520  er':.    ensure 
│ │ │ -001dde50: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ -001dde60: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ -001ddf20: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ -001ddf30: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001ddf40: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
low
Disru │ │ │ -001ddd60: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -001ddd70: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -001dddb0: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ -001dddc0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Com │ │ │ -001ddfc0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -001ddff0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -001de010: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -001de020: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -001de040: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -001de050: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -001de070: 6d65 3a20 456e 7375 7265 206e 6673 2d6b  me: Ensure nfs-k
│ │ │ -001de080: 6572 6e65 6c2d 7365 7276 6572 2069 7320  ernel-server is 
│ │ │ -001de090: 7265 6d6f 7665 640a 2020 7061 636b 6167  removed.  packag
│ │ │ -001de0a0: 653a 0a20 2020 206e 616d 653a 206e 6673  e:.    name: nfs
│ │ │ -001de0b0: 2d6b 6572 6e65 6c2d 7365 7276 6572 0a20  -kernel-server. 
│ │ │ -001de0c0: 2020 2073 7461 7465 3a20 6162 7365 6e74     state: absent
│ │ │ -001de0d0: 0a20 2074 6167 733a 0a20 202d 2064 6973  .  tags:.  - dis
│ │ │ -001de0e0: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -001de0f0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -001de100: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -001de110: 696f 6e0a 2020 2d20 6c6f 775f 7365 7665  ion.  - low_seve
│ │ │ -001de120: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -001de130: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ -001de140: 636b 6167 655f 6e66 732d 6b65 726e 656c  ckage_nfs-kernel
│ │ │ -001de150: 2d73 6572 7665 725f 7265 6d6f 7665 640a  -server_removed.
│ │ │ +001ddc90: 656d 6564 6961 7469 6f6e 2041 6e73 6962  emediation Ansib
│ │ │ +001ddca0: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f  le snippet ...
< │ │ │ +001ddd30: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +001ddd50: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +001ddda0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +001dddd0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Ensure
│ │ │ +001dddf0: 206e 6673 2d6b 6572 6e65 6c2d 7365 7276   nfs-kernel-serv
│ │ │ +001dde00: 6572 2069 7320 7265 6d6f 7665 640a 2020  er is removed.  
│ │ │ +001dde10: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ +001dde20: 653a 206e 6673 2d6b 6572 6e65 6c2d 7365  e: nfs-kernel-se
│ │ │ +001dde30: 7276 6572 0a20 2020 2073 7461 7465 3a20  rver.    state: 
│ │ │ +001dde40: 6162 7365 6e74 0a20 2074 6167 733a 0a20  absent.  tags:. 
│ │ │ +001dde50: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ +001dde60: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +001dde70: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +001dde80: 6973 7275 7074 696f 6e0a 2020 2d20 6c6f  isruption.  - lo
│ │ │ +001dde90: 775f 7365 7665 7269 7479 0a20 202d 206e  w_severity.  - n
│ │ │ +001ddea0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +001ddeb0: 2020 2d20 7061 636b 6167 655f 6e66 732d    - package_nfs-
│ │ │ +001ddec0: 6b65 726e 656c 2d73 6572 7665 725f 7265  kernel-server_re
│ │ │ +001dded0: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70  moved.

Remedia │ │ │ +001ddf90: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ +001ddfa0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +001ddfb0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001ddfc0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001ddfd0: 7365 2220 6964 3d22 6964 6d32 3533 3336 se" id="idm25336 │ │ │ +001ddfe0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
low
Disr │ │ │ +001ddd60: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +001ddd70: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +001dddb0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +001dddc0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
Comp │ │ │ +001de030: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +001de040: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +001de060: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +001de080: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +001de090: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +001de0d0: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +001de0e0: 6465 2072 656d 6f76 655f 6e66 732d 6b65  de remove_nfs-ke
│ │ │ +001de0f0: 726e 656c 2d73 6572 7665 720a 0a63 6c61  rnel-server..cla
│ │ │ +001de100: 7373 2072 656d 6f76 655f 6e66 732d 6b65  ss remove_nfs-ke
│ │ │ +001de110: 726e 656c 2d73 6572 7665 7220 7b0a 2020  rnel-server {.  
│ │ │ +001de120: 7061 636b 6167 6520 7b20 276e 6673 2d6b  package { 'nfs-k
│ │ │ +001de130: 6572 6e65 6c2d 7365 7276 6572 273a 0a20  ernel-server':. 
│ │ │ +001de140: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ +001de150: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a  'purged',.  }.}.
│ │ │  001de160: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediat │ │ │ -001e01c0: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue │ │ │ -001e01d0: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet .. │ │ │ -001e01e0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
.[[packag
│ │ │ -001e0230: 6573 5d5d 0a6e 616d 6520 3d20 2273 7973  es]].name = "sys
│ │ │ -001e0240: 7465 6d64 2d74 696d 6573 796e 6364 220a  temd-timesyncd".
│ │ │ -001e0250: 7665 7273 696f 6e20 3d20 222a 220a 3c2f  version = "*".
Remediation Pup │ │ │ -001e0320: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ -001e0330: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -001e03b0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -001e03d0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -001e0420: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ -001e0450: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include instal
│ │ │ -001e0470: 6c5f 7379 7374 656d 642d 7469 6d65 7379  l_systemd-timesy
│ │ │ -001e0480: 6e63 640a 0a63 6c61 7373 2069 6e73 7461  ncd..class insta
│ │ │ -001e0490: 6c6c 5f73 7973 7465 6d64 2d74 696d 6573  ll_systemd-times
│ │ │ -001e04a0: 796e 6364 207b 0a20 2070 6163 6b61 6765  yncd {.  package
│ │ │ -001e04b0: 207b 2027 7379 7374 656d 642d 7469 6d65   { 'systemd-time
│ │ │ -001e04c0: 7379 6e63 6427 3a0a 2020 2020 656e 7375  syncd':.    ensu
│ │ │ -001e04d0: 7265 203d 2667 743b 2027 696e 7374 616c  re => 'instal
│ │ │ -001e04e0: 6c65 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  led',.  }.}.
< │ │ │ -001e0500: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -001e0510: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -001e0520: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -001e0530: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -001e0540: 646d 3235 3536 3422 2074 6162 696e 6465 dm25564" tabinde │ │ │ -001e0550: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -001e0560: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -001e0570: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -001e0580: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -001e0590: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -001e05a0: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ -001e05b0: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
Complexity:< │ │ │ -001e03c0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -001e03e0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -001e0430: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ -001e0440: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
< │ │ │ -001e0640: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -001e0660: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -001e06b0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
- name: Gather 
│ │ │ -001e0700: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ -001e0710: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ -001e0720: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ -001e0730: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ -001e0740: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -001e0750: 3628 6129 0a20 202d 2050 4349 2d44 5353  6(a).  - PCI-DSS
│ │ │ -001e0760: 2d52 6571 2d31 302e 340a 2020 2d20 656e  -Req-10.4.  - en
│ │ │ -001e0770: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -001e0780: 2d20 6869 6768 5f73 6576 6572 6974 790a  - high_severity.
│ │ │ -001e0790: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -001e07a0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -001e07b0: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562  ption.  - no_reb
│ │ │ -001e07c0: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ -001e07d0: 6163 6b61 6765 5f74 696d 6573 796e 6364  ackage_timesyncd
│ │ │ -001e07e0: 5f69 6e73 7461 6c6c 6564 0a0a 2d20 6e61  _installed..- na
│ │ │ -001e07f0: 6d65 3a20 456e 7375 7265 2073 7973 7465  me: Ensure syste
│ │ │ -001e0800: 6d64 2d74 696d 6573 796e 6364 2069 7320  md-timesyncd is 
│ │ │ -001e0810: 696e 7374 616c 6c65 640a 2020 7061 636b  installed.  pack
│ │ │ -001e0820: 6167 653a 0a20 2020 206e 616d 653a 2073  age:.    name: s
│ │ │ -001e0830: 7973 7465 6d64 2d74 696d 6573 796e 6364  ystemd-timesyncd
│ │ │ -001e0840: 0a20 2020 2073 7461 7465 3a20 7072 6573  .    state: pres
│ │ │ -001e0850: 656e 740a 2020 7768 656e 3a20 2722 6c69  ent.  when: '"li
│ │ │ -001e0860: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ -001e0870: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -001e0880: 6765 7327 0a20 2074 6167 733a 0a20 202d  ges'.  tags:.  -
│ │ │ -001e0890: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -001e08a0: 3628 6129 0a20 202d 2050 4349 2d44 5353  6(a).  - PCI-DSS
│ │ │ -001e08b0: 2d52 6571 2d31 302e 340a 2020 2d20 656e  -Req-10.4.  - en
│ │ │ -001e08c0: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -001e08d0: 2d20 6869 6768 5f73 6576 6572 6974 790a  - high_severity.
│ │ │ -001e08e0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -001e08f0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -001e0900: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562  ption.  - no_reb
│ │ │ -001e0910: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ -001e0920: 6163 6b61 6765 5f74 696d 6573 796e 6364  ackage_timesyncd
│ │ │ -001e0930: 5f69 6e73 7461 6c6c 6564 0a3c 2f63 6f64  _installed.
< │ │ │ +001e01e0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001e01f0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001e0200: 7365 2220 6964 3d22 6964 6d32 3535 3632 se" id="idm25562 │ │ │ +001e0210: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
low
Disr │ │ │ -001e0670: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -001e0680: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -001e06c0: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ -001e06d0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Comp │ │ │ +001e0260: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +001e0270: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +001e0290: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +001e02b0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +001e02c0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ +001e0300: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +001e0310: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ +001e0320: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac │ │ │ +001e0330: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ +001e0340: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto. │ │ │ +001e0350: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8 │ │ │ +001e0360: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a). │ │ │ +001e0370: 2d20 5043 492d 4453 532d 5265 712d 3130 - PCI-DSS-Req-10 │ │ │ +001e0380: 2e34 0a20 202d 2065 6e61 626c 655f 7374 .4. - enable_st │ │ │ +001e0390: 7261 7465 6779 0a20 202d 2068 6967 685f rategy. - high_ │ │ │ +001e03a0: 7365 7665 7269 7479 0a20 202d 206c 6f77 severity. - low │ │ │ +001e03b0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. - │ │ │ +001e03c0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption. │ │ │ +001e03d0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee │ │ │ +001e03e0: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_ │ │ │ +001e03f0: 7469 6d65 7379 6e63 645f 696e 7374 616c timesyncd_instal │ │ │ +001e0400: 6c65 640a 0a2d 206e 616d 653a 2045 6e73 led..- name: Ens │ │ │ +001e0410: 7572 6520 7379 7374 656d 642d 7469 6d65 ure systemd-time │ │ │ +001e0420: 7379 6e63 6420 6973 2069 6e73 7461 6c6c syncd is install │ │ │ +001e0430: 6564 0a20 2070 6163 6b61 6765 3a0a 2020 ed. package:. │ │ │ +001e0440: 2020 6e61 6d65 3a20 7379 7374 656d 642d name: systemd- │ │ │ +001e0450: 7469 6d65 7379 6e63 640a 2020 2020 7374 timesyncd. st │ │ │ +001e0460: 6174 653a 2070 7265 7365 6e74 0a20 2077 ate: present. w │ │ │ +001e0470: 6865 6e3a 2027 226c 696e 7578 2d62 6173 hen: '"linux-bas │ │ │ +001e0480: 6522 2069 6e20 616e 7369 626c 655f 6661 e" in ansible_fa │ │ │ +001e0490: 6374 732e 7061 636b 6167 6573 270a 2020 cts.packages'. │ │ │ +001e04a0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8 │ │ │ +001e04b0: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a). │ │ │ +001e04c0: 2d20 5043 492d 4453 532d 5265 712d 3130 - PCI-DSS-Req-10 │ │ │ +001e04d0: 2e34 0a20 202d 2065 6e61 626c 655f 7374 .4. - enable_st │ │ │ +001e04e0: 7261 7465 6779 0a20 202d 2068 6967 685f rategy. - high_ │ │ │ +001e04f0: 7365 7665 7269 7479 0a20 202d 206c 6f77 severity. - low │ │ │ +001e0500: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. - │ │ │ +001e0510: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption. │ │ │ +001e0520: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee │ │ │ +001e0530: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_ │ │ │ +001e0540: 7469 6d65 7379 6e63 645f 696e 7374 616c timesyncd_instal │ │ │ +001e0550: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265 led.
Remediati │ │ │ +001e0610: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ +001e0620: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +001e0660: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ +001e06d0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +001e06f0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +001e0720: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ +001e0740: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ +001e06b0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +001e06c0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +001e0700: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +001e0710: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ +001e0760: 696e 7374 616c 6c5f 7379 7374 656d 642d install_systemd- │ │ │ +001e0770: 7469 6d65 7379 6e63 640a 0a63 6c61 7373 timesyncd..class │ │ │ +001e0780: 2069 6e73 7461 6c6c 5f73 7973 7465 6d64 install_systemd │ │ │ +001e0790: 2d74 696d 6573 796e 6364 207b 0a20 2070 -timesyncd {. p │ │ │ +001e07a0: 6163 6b61 6765 207b 2027 7379 7374 656d ackage { 'system │ │ │ +001e07b0: 642d 7469 6d65 7379 6e63 6427 3a0a 2020 d-timesyncd':. │ │ │ +001e07c0: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => ' │ │ │ +001e07d0: 696e 7374 616c 6c65 6427 2c0a 2020 7d0a installed',. }. │ │ │ +001e07e0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.< │ │ │ +001e07f0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +001e08a0: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ +001e08b0: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
.[[packages]
│ │ │ +001e0910: 5d0a 6e61 6d65 203d 2022 7379 7374 656d  ].name = "system
│ │ │ +001e0920: 642d 7469 6d65 7379 6e63 6422 0a76 6572  d-timesyncd".ver
│ │ │ +001e0930: 7369 6f6e 203d 2022 2a22 0a3c 2f63 6f64  sion = "*".
Reme │ │ │ -001e1750: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild │ │ │ -001e1760: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe │ │ │ -001e1770: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -001e17b0: 3c70 7265 3e3c 636f 6465 3e0a 5b63 7573
.[cus
│ │ │ -001e17c0: 746f 6d69 7a61 7469 6f6e 732e 7365 7276  tomizations.serv
│ │ │ -001e17d0: 6963 6573 5d0a 656e 6162 6c65 6420 3d20  ices].enabled = 
│ │ │ -001e17e0: 5b22 6368 726f 6e79 225d 0a3c 2f63 6f64  ["chrony"].
Re │ │ │ -001e18a0: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -001e18b0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -001e18c0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -001e1990: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -001e19a0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
i
│ │ │ -001e19f0: 6e63 6c75 6465 2065 6e61 626c 655f 6368  nclude enable_ch
│ │ │ -001e1a00: 726f 6e79 0a0a 636c 6173 7320 656e 6162  rony..class enab
│ │ │ -001e1a10: 6c65 5f63 6872 6f6e 7920 7b0a 2020 7365  le_chrony {.  se
│ │ │ -001e1a20: 7276 6963 6520 7b27 6368 726f 6e79 273a  rvice {'chrony':
│ │ │ -001e1a30: 0a20 2020 2065 6e61 626c 6520 3d26 6774  .    enable =>
│ │ │ -001e1a40: 3b20 7472 7565 2c0a 2020 2020 656e 7375  ; true,.    ensu
│ │ │ -001e1a50: 7265 203d 2667 743b 2027 7275 6e6e 696e  re => 'runnin
│ │ │ -001e1a60: 6727 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  g',.  }.}.
Rem │ │ │ -001e1b20: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ -001e1b30: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -001e1b40: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Complexity:low
Disrup │ │ │ -001e1970: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -001e1980: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -001e19c0: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ -001e19d0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ -001e1c10: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -001e1c20: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
-
│ │ │ -001e1c70: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ -001e1c80: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ -001e1c90: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ -001e1ca0: 0a20 2020 206d 616e 6167 6572 3a20 6175  .    manager: au
│ │ │ -001e1cb0: 746f 0a20 2074 6167 733a 0a20 202d 2065  to.  tags:.  - e
│ │ │ -001e1cc0: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ -001e1cd0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -001e1ce0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -001e1cf0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ -001e1d00: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -001e1d10: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -001e1d20: 2d20 7365 7276 6963 655f 6368 726f 6e79  - service_chrony
│ │ │ -001e1d30: 645f 656e 6162 6c65 640a 0a2d 206e 616d  d_enabled..- nam
│ │ │ -001e1d40: 653a 2054 6865 2043 6872 6f6e 7964 2073  e: The Chronyd s
│ │ │ -001e1d50: 6572 7669 6365 2069 7320 656e 6162 6c65  ervice is enable
│ │ │ -001e1d60: 6420 2d20 456e 6162 6c65 2073 6572 7669  d - Enable servi
│ │ │ -001e1d70: 6365 2063 6872 6f6e 790a 2020 626c 6f63  ce chrony.  bloc
│ │ │ -001e1d80: 6b3a 0a0a 2020 2d20 6e61 6d65 3a20 4761  k:..  - name: Ga
│ │ │ -001e1d90: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ -001e1da0: 2066 6163 7473 0a20 2020 2070 6163 6b61   facts.    packa
│ │ │ -001e1db0: 6765 5f66 6163 7473 3a0a 2020 2020 2020  ge_facts:.      
│ │ │ -001e1dc0: 6d61 6e61 6765 723a 2061 7574 6f0a 0a20  manager: auto.. 
│ │ │ -001e1dd0: 202d 206e 616d 653a 2054 6865 2043 6872   - name: The Chr
│ │ │ -001e1de0: 6f6e 7964 2073 6572 7669 6365 2069 7320  onyd service is 
│ │ │ -001e1df0: 656e 6162 6c65 6420 2d20 456e 6162 6c65  enabled - Enable
│ │ │ -001e1e00: 2053 6572 7669 6365 2063 6872 6f6e 790a   Service chrony.
│ │ │ -001e1e10: 2020 2020 616e 7369 626c 652e 6275 696c      ansible.buil
│ │ │ -001e1e20: 7469 6e2e 7379 7374 656d 643a 0a20 2020  tin.systemd:.   
│ │ │ -001e1e30: 2020 206e 616d 653a 2063 6872 6f6e 790a     name: chrony.
│ │ │ -001e1e40: 2020 2020 2020 656e 6162 6c65 643a 2074        enabled: t
│ │ │ -001e1e50: 7275 650a 2020 2020 2020 7374 6174 653a  rue.      state:
│ │ │ -001e1e60: 2073 7461 7274 6564 0a20 2020 2020 206d   started.      m
│ │ │ -001e1e70: 6173 6b65 643a 2066 616c 7365 0a20 2020  asked: false.   
│ │ │ -001e1e80: 2077 6865 6e3a 0a20 2020 202d 2027 2263   when:.    - '"c
│ │ │ -001e1e90: 6872 6f6e 7922 2069 6e20 616e 7369 626c  hrony" in ansibl
│ │ │ -001e1ea0: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ -001e1eb0: 270a 2020 7768 656e 3a0a 2020 2d20 2722  '.  when:.  - '"
│ │ │ -001e1ec0: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ -001e1ed0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ -001e1ee0: 6b61 6765 7327 0a20 202d 2027 2263 6872  kages'.  - '"chr
│ │ │ -001e1ef0: 6f6e 7922 2069 6e20 616e 7369 626c 655f  ony" in ansible_
│ │ │ -001e1f00: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -001e1f10: 2020 7461 6773 3a0a 2020 2d20 656e 6162    tags:.  - enab
│ │ │ -001e1f20: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -001e1f30: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -001e1f40: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -001e1f50: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ -001e1f60: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -001e1f70: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ -001e1f80: 6572 7669 6365 5f63 6872 6f6e 7964 5f65  ervice_chronyd_e
│ │ │ -001e1f90: 6e61 626c 6564 0a3c 2f63 6f64 653e 3c2f  nabled.<
│ │ │ +001e1770: 6272 3e3c 6469 7620 636c 6173 733d 2270  br>
Complexity:low
Disrup │ │ │ -001e1bf0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -001e1c00: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -001e1c40: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ -001e1c50: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
│ │ │ +001e1800: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
- 
│ │ │ +001e18a0: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ +001e18b0: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ +001e18c0: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ +001e18d0: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ +001e18e0: 6f0a 2020 7461 6773 3a0a 2020 2d20 656e  o.  tags:.  - en
│ │ │ +001e18f0: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +001e1900: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +001e1910: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +001e1920: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ +001e1930: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +001e1940: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +001e1950: 2073 6572 7669 6365 5f63 6872 6f6e 7964   service_chronyd
│ │ │ +001e1960: 5f65 6e61 626c 6564 0a0a 2d20 6e61 6d65  _enabled..- name
│ │ │ +001e1970: 3a20 5468 6520 4368 726f 6e79 6420 7365  : The Chronyd se
│ │ │ +001e1980: 7276 6963 6520 6973 2065 6e61 626c 6564  rvice is enabled
│ │ │ +001e1990: 202d 2045 6e61 626c 6520 7365 7276 6963   - Enable servic
│ │ │ +001e19a0: 6520 6368 726f 6e79 0a20 2062 6c6f 636b  e chrony.  block
│ │ │ +001e19b0: 3a0a 0a20 202d 206e 616d 653a 2047 6174  :..  - name: Gat
│ │ │ +001e19c0: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ +001e19d0: 6661 6374 730a 2020 2020 7061 636b 6167  facts.    packag
│ │ │ +001e19e0: 655f 6661 6374 733a 0a20 2020 2020 206d  e_facts:.      m
│ │ │ +001e19f0: 616e 6167 6572 3a20 6175 746f 0a0a 2020  anager: auto..  
│ │ │ +001e1a00: 2d20 6e61 6d65 3a20 5468 6520 4368 726f  - name: The Chro
│ │ │ +001e1a10: 6e79 6420 7365 7276 6963 6520 6973 2065  nyd service is e
│ │ │ +001e1a20: 6e61 626c 6564 202d 2045 6e61 626c 6520  nabled - Enable 
│ │ │ +001e1a30: 5365 7276 6963 6520 6368 726f 6e79 0a20  Service chrony. 
│ │ │ +001e1a40: 2020 2061 6e73 6962 6c65 2e62 7569 6c74     ansible.built
│ │ │ +001e1a50: 696e 2e73 7973 7465 6d64 3a0a 2020 2020  in.systemd:.    
│ │ │ +001e1a60: 2020 6e61 6d65 3a20 6368 726f 6e79 0a20    name: chrony. 
│ │ │ +001e1a70: 2020 2020 2065 6e61 626c 6564 3a20 7472       enabled: tr
│ │ │ +001e1a80: 7565 0a20 2020 2020 2073 7461 7465 3a20  ue.      state: 
│ │ │ +001e1a90: 7374 6172 7465 640a 2020 2020 2020 6d61  started.      ma
│ │ │ +001e1aa0: 736b 6564 3a20 6661 6c73 650a 2020 2020  sked: false.    
│ │ │ +001e1ab0: 7768 656e 3a0a 2020 2020 2d20 2722 6368  when:.    - '"ch
│ │ │ +001e1ac0: 726f 6e79 2220 696e 2061 6e73 6962 6c65  rony" in ansible
│ │ │ +001e1ad0: 5f66 6163 7473 2e70 6163 6b61 6765 7327  _facts.packages'
│ │ │ +001e1ae0: 0a20 2077 6865 6e3a 0a20 202d 2027 226c  .  when:.  - '"l
│ │ │ +001e1af0: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ +001e1b00: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +001e1b10: 6167 6573 270a 2020 2d20 2722 6368 726f  ages'.  - '"chro
│ │ │ +001e1b20: 6e79 2220 696e 2061 6e73 6962 6c65 5f66  ny" in ansible_f
│ │ │ +001e1b30: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ +001e1b40: 2074 6167 733a 0a20 202d 2065 6e61 626c   tags:.  - enabl
│ │ │ +001e1b50: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ +001e1b60: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +001e1b70: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +001e1b80: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ +001e1b90: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +001e1ba0: 6f74 5f6e 6565 6465 640a 2020 2d20 7365  ot_needed.  - se
│ │ │ +001e1bb0: 7276 6963 655f 6368 726f 6e79 645f 656e  rvice_chronyd_en
│ │ │ +001e1bc0: 6162 6c65 640a 3c2f 636f 6465 3e3c 2f70  abled.

Remedia │ │ │ +001e1c80: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ +001e1c90: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +001e1ca0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001e1cb0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001e1cc0: 7365 2220 6964 3d22 6964 6d32 3536 3035 se" id="idm25605 │ │ │ +001e1cd0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
│ │ │ +001e17f0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +001e1820: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +001e1830: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +001e1870: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ +001e1880: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Comp │ │ │ +001e1d20: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +001e1d30: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +001e1d50: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +001e1d70: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +001e1d80: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ +001e1dc0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ +001e1dd0: 6520 656e 6162 6c65 5f63 6872 6f6e 790a e enable_chrony. │ │ │ +001e1de0: 0a63 6c61 7373 2065 6e61 626c 655f 6368 .class enable_ch │ │ │ +001e1df0: 726f 6e79 207b 0a20 2073 6572 7669 6365 rony {. service │ │ │ +001e1e00: 207b 2763 6872 6f6e 7927 3a0a 2020 2020 {'chrony':. │ │ │ +001e1e10: 656e 6162 6c65 203d 2667 743b 2074 7275 enable => tru │ │ │ +001e1e20: 652c 0a20 2020 2065 6e73 7572 6520 3d26 e,. ensure =& │ │ │ +001e1e30: 6774 3b20 2772 756e 6e69 6e67 272c 0a20 gt; 'running',. │ │ │ +001e1e40: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.
Remediat │ │ │ +001e1f00: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue │ │ │ +001e1f10: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet .. │ │ │ +001e1f20: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
.[customi
│ │ │ +001e1f70: 7a61 7469 6f6e 732e 7365 7276 6963 6573  zations.services
│ │ │ +001e1f80: 5d0a 656e 6162 6c65 6420 3d20 5b22 6368  ].enabled = ["ch
│ │ │ +001e1f90: 726f 6e79 225d 0a3c 2f63 6f64 653e 3c2f  rony"].
Remedia │ │ │ -001e3310: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu │ │ │ -001e3320: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet . │ │ │ -001e3330: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
.[custom │ │ │ -001e3380: 697a 6174 696f 6e73 2e73 6572 7669 6365 izations.service │ │ │ -001e3390: 735d 0a65 6e61 626c 6564 203d 205b 226e s].enabled = ["n │ │ │ -001e33a0: 7470 225d 0a3c 2f63 6f64 653e 3c2f 7072 tp"].
Remediat │ │ │ -001e3460: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ -001e3470: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001e3520: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -001e3540: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -001e3570: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -001e3500: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -001e3510: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -001e3530: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -001e3550: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -001e3560: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

include │ │ │ -001e35b0: 2065 6e61 626c 655f 6e74 700a 0a63 6c61 enable_ntp..cla │ │ │ -001e35c0: 7373 2065 6e61 626c 655f 6e74 7020 7b0a ss enable_ntp {. │ │ │ -001e35d0: 2020 7365 7276 6963 6520 7b27 6e74 7027 service {'ntp' │ │ │ -001e35e0: 3a0a 2020 2020 656e 6162 6c65 203d 2667 :. enable =&g │ │ │ -001e35f0: 743b 2074 7275 652c 0a20 2020 2065 6e73 t; true,. ens │ │ │ -001e3600: 7572 6520 3d26 6774 3b20 2772 756e 6e69 ure => 'runni │ │ │ -001e3610: 6e67 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ng',. }.}.

Re │ │ │ -001e36d0: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -001e36e0: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
Complexity: │ │ │ -001e37c0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -001e37d0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ -001e3820: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ -001e3830: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ -001e3840: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ -001e3850: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ -001e3860: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ -001e3870: 4e49 5354 2d38 3030 2d35 332d 4155 2d38  NIST-800-53-AU-8
│ │ │ -001e3880: 2831 2928 6129 0a20 202d 204e 4953 542d  (1)(a).  - NIST-
│ │ │ -001e3890: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ -001e38a0: 202d 2050 4349 2d44 5353 2d52 6571 2d31   - PCI-DSS-Req-1
│ │ │ -001e38b0: 302e 340a 2020 2d20 5043 492d 4453 5376  0.4.  - PCI-DSSv
│ │ │ -001e38c0: 342d 3130 2e36 0a20 202d 2050 4349 2d44  4-10.6.  - PCI-D
│ │ │ -001e38d0: 5353 7634 2d31 302e 362e 310a 2020 2d20  SSv4-10.6.1.  - 
│ │ │ -001e38e0: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ -001e38f0: 2020 2d20 6869 6768 5f73 6576 6572 6974    - high_severit
│ │ │ -001e3900: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -001e3910: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -001e3920: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72  ruption.  - no_r
│ │ │ -001e3930: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -001e3940: 2073 6572 7669 6365 5f6e 7470 5f65 6e61   service_ntp_ena
│ │ │ -001e3950: 626c 6564 0a0a 2d20 6e61 6d65 3a20 456e  bled..- name: En
│ │ │ -001e3960: 6162 6c65 2074 6865 204e 5450 2044 6165  able the NTP Dae
│ │ │ -001e3970: 6d6f 6e20 2d20 456e 6162 6c65 2073 6572  mon - Enable ser
│ │ │ -001e3980: 7669 6365 206e 7470 0a20 2062 6c6f 636b  vice ntp.  block
│ │ │ -001e3990: 3a0a 0a20 202d 206e 616d 653a 2047 6174  :..  - name: Gat
│ │ │ -001e39a0: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ -001e39b0: 6661 6374 730a 2020 2020 7061 636b 6167  facts.    packag
│ │ │ -001e39c0: 655f 6661 6374 733a 0a20 2020 2020 206d  e_facts:.      m
│ │ │ -001e39d0: 616e 6167 6572 3a20 6175 746f 0a0a 2020  anager: auto..  
│ │ │ -001e39e0: 2d20 6e61 6d65 3a20 456e 6162 6c65 2074  - name: Enable t
│ │ │ -001e39f0: 6865 204e 5450 2044 6165 6d6f 6e20 2d20  he NTP Daemon - 
│ │ │ -001e3a00: 456e 6162 6c65 2053 6572 7669 6365 206e  Enable Service n
│ │ │ -001e3a10: 7470 0a20 2020 2061 6e73 6962 6c65 2e62  tp.    ansible.b
│ │ │ -001e3a20: 7569 6c74 696e 2e73 7973 7465 6d64 3a0a  uiltin.systemd:.
│ │ │ -001e3a30: 2020 2020 2020 6e61 6d65 3a20 6e74 700a        name: ntp.
│ │ │ -001e3a40: 2020 2020 2020 656e 6162 6c65 643a 2074        enabled: t
│ │ │ -001e3a50: 7275 650a 2020 2020 2020 7374 6174 653a  rue.      state:
│ │ │ -001e3a60: 2073 7461 7274 6564 0a20 2020 2020 206d   started.      m
│ │ │ -001e3a70: 6173 6b65 643a 2066 616c 7365 0a20 2020  asked: false.   
│ │ │ -001e3a80: 2077 6865 6e3a 0a20 2020 202d 2027 226e   when:.    - '"n
│ │ │ -001e3a90: 7470 2220 696e 2061 6e73 6962 6c65 5f66  tp" in ansible_f
│ │ │ -001e3aa0: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ -001e3ab0: 2077 6865 6e3a 0a20 202d 2027 226c 696e   when:.  - '"lin
│ │ │ -001e3ac0: 7578 2d62 6173 6522 2069 6e20 616e 7369  ux-base" in ansi
│ │ │ -001e3ad0: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -001e3ae0: 6573 270a 2020 2d20 2722 6e74 7022 2069  es'.  - '"ntp" i
│ │ │ -001e3af0: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ -001e3b00: 7061 636b 6167 6573 270a 2020 7461 6773  packages'.  tags
│ │ │ -001e3b10: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ -001e3b20: 332d 4155 2d38 2831 2928 6129 0a20 202d  3-AU-8(1)(a).  -
│ │ │ -001e3b30: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -001e3b40: 3628 6129 0a20 202d 2050 4349 2d44 5353  6(a).  - PCI-DSS
│ │ │ -001e3b50: 2d52 6571 2d31 302e 340a 2020 2d20 5043  -Req-10.4.  - PC
│ │ │ -001e3b60: 492d 4453 5376 342d 3130 2e36 0a20 202d  I-DSSv4-10.6.  -
│ │ │ -001e3b70: 2050 4349 2d44 5353 7634 2d31 302e 362e   PCI-DSSv4-10.6.
│ │ │ -001e3b80: 310a 2020 2d20 656e 6162 6c65 5f73 7472  1.  - enable_str
│ │ │ -001e3b90: 6174 6567 790a 2020 2d20 6869 6768 5f73  ategy.  - high_s
│ │ │ -001e3ba0: 6576 6572 6974 790a 2020 2d20 6c6f 775f  everity.  - low_
│ │ │ -001e3bb0: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -001e3bc0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -001e3bd0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -001e3be0: 6564 0a20 202d 2073 6572 7669 6365 5f6e  ed.  - service_n
│ │ │ -001e3bf0: 7470 5f65 6e61 626c 6564 0a3c 2f63 6f64  tp_enabled.
│ │ │ +001e3330: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
low
Disru │ │ │ -001e37a0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -001e37b0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -001e37f0: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ -001e3800: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Com │ │ │ +001e33b0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +001e33e0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +001e3400: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +001e3410: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +001e3430: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ +001e3450: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ +001e3460: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ +001e3470: 636b 6167 6520 6661 6374 730a 2020 7061  ckage facts.  pa
│ │ │ +001e3480: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ +001e3490: 206d 616e 6167 6572 3a20 6175 746f 0a20   manager: auto. 
│ │ │ +001e34a0: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ +001e34b0: 3830 302d 3533 2d41 552d 3828 3129 2861  800-53-AU-8(1)(a
│ │ │ +001e34c0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +001e34d0: 332d 434d 2d36 2861 290a 2020 2d20 5043  3-CM-6(a).  - PC
│ │ │ +001e34e0: 492d 4453 532d 5265 712d 3130 2e34 0a20  I-DSS-Req-10.4. 
│ │ │ +001e34f0: 202d 2050 4349 2d44 5353 7634 2d31 302e   - PCI-DSSv4-10.
│ │ │ +001e3500: 360a 2020 2d20 5043 492d 4453 5376 342d  6.  - PCI-DSSv4-
│ │ │ +001e3510: 3130 2e36 2e31 0a20 202d 2065 6e61 626c  10.6.1.  - enabl
│ │ │ +001e3520: 655f 7374 7261 7465 6779 0a20 202d 2068  e_strategy.  - h
│ │ │ +001e3530: 6967 685f 7365 7665 7269 7479 0a20 202d  igh_severity.  -
│ │ │ +001e3540: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +001e3550: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +001e3560: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74  on.  - no_reboot
│ │ │ +001e3570: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ +001e3580: 6963 655f 6e74 705f 656e 6162 6c65 640a  ice_ntp_enabled.
│ │ │ +001e3590: 0a2d 206e 616d 653a 2045 6e61 626c 6520  .- name: Enable 
│ │ │ +001e35a0: 7468 6520 4e54 5020 4461 656d 6f6e 202d  the NTP Daemon -
│ │ │ +001e35b0: 2045 6e61 626c 6520 7365 7276 6963 6520   Enable service 
│ │ │ +001e35c0: 6e74 700a 2020 626c 6f63 6b3a 0a0a 2020  ntp.  block:..  
│ │ │ +001e35d0: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ +001e35e0: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ +001e35f0: 0a20 2020 2070 6163 6b61 6765 5f66 6163  .    package_fac
│ │ │ +001e3600: 7473 3a0a 2020 2020 2020 6d61 6e61 6765  ts:.      manage
│ │ │ +001e3610: 723a 2061 7574 6f0a 0a20 202d 206e 616d  r: auto..  - nam
│ │ │ +001e3620: 653a 2045 6e61 626c 6520 7468 6520 4e54  e: Enable the NT
│ │ │ +001e3630: 5020 4461 656d 6f6e 202d 2045 6e61 626c  P Daemon - Enabl
│ │ │ +001e3640: 6520 5365 7276 6963 6520 6e74 700a 2020  e Service ntp.  
│ │ │ +001e3650: 2020 616e 7369 626c 652e 6275 696c 7469    ansible.builti
│ │ │ +001e3660: 6e2e 7379 7374 656d 643a 0a20 2020 2020  n.systemd:.     
│ │ │ +001e3670: 206e 616d 653a 206e 7470 0a20 2020 2020   name: ntp.     
│ │ │ +001e3680: 2065 6e61 626c 6564 3a20 7472 7565 0a20   enabled: true. 
│ │ │ +001e3690: 2020 2020 2073 7461 7465 3a20 7374 6172       state: star
│ │ │ +001e36a0: 7465 640a 2020 2020 2020 6d61 736b 6564  ted.      masked
│ │ │ +001e36b0: 3a20 6661 6c73 650a 2020 2020 7768 656e  : false.    when
│ │ │ +001e36c0: 3a0a 2020 2020 2d20 2722 6e74 7022 2069  :.    - '"ntp" i
│ │ │ +001e36d0: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +001e36e0: 7061 636b 6167 6573 270a 2020 7768 656e  packages'.  when
│ │ │ +001e36f0: 3a0a 2020 2d20 2722 6c69 6e75 782d 6261  :.  - '"linux-ba
│ │ │ +001e3700: 7365 2220 696e 2061 6e73 6962 6c65 5f66  se" in ansible_f
│ │ │ +001e3710: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ +001e3720: 202d 2027 226e 7470 2220 696e 2061 6e73   - '"ntp" in ans
│ │ │ +001e3730: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ +001e3740: 6765 7327 0a20 2074 6167 733a 0a20 202d  ges'.  tags:.  -
│ │ │ +001e3750: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ +001e3760: 3828 3129 2861 290a 2020 2d20 4e49 5354  8(1)(a).  - NIST
│ │ │ +001e3770: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ +001e3780: 2020 2d20 5043 492d 4453 532d 5265 712d    - PCI-DSS-Req-
│ │ │ +001e3790: 3130 2e34 0a20 202d 2050 4349 2d44 5353  10.4.  - PCI-DSS
│ │ │ +001e37a0: 7634 2d31 302e 360a 2020 2d20 5043 492d  v4-10.6.  - PCI-
│ │ │ +001e37b0: 4453 5376 342d 3130 2e36 2e31 0a20 202d  DSSv4-10.6.1.  -
│ │ │ +001e37c0: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ +001e37d0: 0a20 202d 2068 6967 685f 7365 7665 7269  .  - high_severi
│ │ │ +001e37e0: 7479 0a20 202d 206c 6f77 5f63 6f6d 706c  ty.  - low_compl
│ │ │ +001e37f0: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +001e3800: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f  sruption.  - no_
│ │ │ +001e3810: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +001e3820: 2d20 7365 7276 6963 655f 6e74 705f 656e  - service_ntp_en
│ │ │ +001e3830: 6162 6c65 640a 3c2f 636f 6465 3e3c 2f70  abled.

Remedia │ │ │ +001e38f0: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ +001e3900: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +001e3910: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001e3920: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001e3930: 7365 2220 6964 3d22 6964 6d32 3536 3631 se" id="idm25661 │ │ │ +001e3940: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ +001e3990: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +001e39a0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +001e39c0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +001e39e0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +001e39f0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ +001e3a30: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ +001e3a40: 6520 656e 6162 6c65 5f6e 7470 0a0a 636c e enable_ntp..cl │ │ │ +001e3a50: 6173 7320 656e 6162 6c65 5f6e 7470 207b ass enable_ntp { │ │ │ +001e3a60: 0a20 2073 6572 7669 6365 207b 276e 7470 . service {'ntp │ │ │ +001e3a70: 273a 0a20 2020 2065 6e61 626c 6520 3d26 ':. enable =& │ │ │ +001e3a80: 6774 3b20 7472 7565 2c0a 2020 2020 656e gt; true,. en │ │ │ +001e3a90: 7375 7265 203d 2667 743b 2027 7275 6e6e sure => 'runn │ │ │ +001e3aa0: 696e 6727 2c0a 2020 7d0a 7d0a 3c2f 636f ing',. }.}.
< │ │ │ +001e3ac0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +001e3ad0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +001e3ae0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +001e3af0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +001e3b00: 646d 3235 3636 3222 2074 6162 696e 6465 dm25662" tabinde │ │ │ +001e3b10: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +001e3b20: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +001e3b30: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +001e3b40: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +001e3b50: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +001e3b60: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui │ │ │ +001e3b70: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni │ │ │ +001e3b80: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +001e3b90: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
.[
│ │ │ +001e3bd0: 6375 7374 6f6d 697a 6174 696f 6e73 2e73  customizations.s
│ │ │ +001e3be0: 6572 7669 6365 735d 0a65 6e61 626c 6564  ervices].enabled
│ │ │ +001e3bf0: 203d 205b 226e 7470 225d 0a3c 2f63 6f64   = ["ntp"].
Remediati │ │ │ -001e4f50: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep │ │ │ -001e4f60: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ... │ │ │ -001e4f70: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ -001e4fb0: 3c63 6f64 653e 0a5b 6375 7374 6f6d 697a  .[customiz
│ │ │ -001e4fc0: 6174 696f 6e73 2e73 6572 7669 6365 735d  ations.services]
│ │ │ -001e4fd0: 0a65 6e61 626c 6564 203d 205b 2273 7973  .enabled = ["sys
│ │ │ -001e4fe0: 7465 6d64 2d74 696d 6573 796e 6364 225d  temd-timesyncd"]
│ │ │ -001e4ff0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -001e50b0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -001e50c0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -001e5140: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -001e5150: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ -001e5170: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ -001e5180: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ -001e51a0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ -001e51c0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:enable
<
│ │ │ -001e51f0: 636f 6465 3e69 6e63 6c75 6465 2065 6e61  code>include ena
│ │ │ -001e5200: 626c 655f 7379 7374 656d 642d 7469 6d65  ble_systemd-time
│ │ │ -001e5210: 7379 6e63 640a 0a63 6c61 7373 2065 6e61  syncd..class ena
│ │ │ -001e5220: 626c 655f 7379 7374 656d 642d 7469 6d65  ble_systemd-time
│ │ │ -001e5230: 7379 6e63 6420 7b0a 2020 7365 7276 6963  syncd {.  servic
│ │ │ -001e5240: 6520 7b27 7379 7374 656d 642d 7469 6d65  e {'systemd-time
│ │ │ -001e5250: 7379 6e63 6427 3a0a 2020 2020 656e 6162  syncd':.    enab
│ │ │ -001e5260: 6c65 203d 2667 743b 2074 7275 652c 0a20  le => true,. 
│ │ │ -001e5270: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ -001e5280: 2772 756e 6e69 6e67 272c 0a20 207d 0a7d  'running',.  }.}
│ │ │ -001e5290: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -001e5350: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -001e5360: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001e53e0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -001e53f0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -001e5400: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -001e5440: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -001e5450: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -001e5470: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ -001e5490: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761  - name: Ga
│ │ │ -001e54a0: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ -001e54b0: 2066 6163 7473 0a20 2070 6163 6b61 6765   facts.  package
│ │ │ -001e54c0: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61  _facts:.    mana
│ │ │ -001e54d0: 6765 723a 2061 7574 6f0a 2020 7461 6773  ger: auto.  tags
│ │ │ -001e54e0: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ -001e54f0: 332d 4155 2d38 2831 2928 6129 0a20 202d  3-AU-8(1)(a).  -
│ │ │ -001e5500: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -001e5510: 3628 6129 0a20 202d 2050 4349 2d44 5353  6(a).  - PCI-DSS
│ │ │ -001e5520: 2d52 6571 2d31 302e 340a 2020 2d20 5043  -Req-10.4.  - PC
│ │ │ -001e5530: 492d 4453 5376 342d 3130 2e36 0a20 202d  I-DSSv4-10.6.  -
│ │ │ -001e5540: 2050 4349 2d44 5353 7634 2d31 302e 362e   PCI-DSSv4-10.6.
│ │ │ -001e5550: 310a 2020 2d20 656e 6162 6c65 5f73 7472  1.  - enable_str
│ │ │ -001e5560: 6174 6567 790a 2020 2d20 6869 6768 5f73  ategy.  - high_s
│ │ │ -001e5570: 6576 6572 6974 790a 2020 2d20 6c6f 775f  everity.  - low_
│ │ │ -001e5580: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -001e5590: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -001e55a0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -001e55b0: 6564 0a20 202d 2073 6572 7669 6365 5f74  ed.  - service_t
│ │ │ -001e55c0: 696d 6573 796e 6364 5f65 6e61 626c 6564  imesyncd_enabled
│ │ │ -001e55d0: 0a0a 2d20 6e61 6d65 3a20 456e 6162 6c65  ..- name: Enable
│ │ │ -001e55e0: 2073 7973 7465 6d64 5f74 696d 6573 796e   systemd_timesyn
│ │ │ -001e55f0: 6364 2053 6572 7669 6365 202d 2045 6e61  cd Service - Ena
│ │ │ -001e5600: 626c 6520 7365 7276 6963 6520 7379 7374  ble service syst
│ │ │ -001e5610: 656d 642d 7469 6d65 7379 6e63 640a 2020  emd-timesyncd.  
│ │ │ -001e5620: 626c 6f63 6b3a 0a0a 2020 2d20 6e61 6d65  block:..  - name
│ │ │ -001e5630: 3a20 4761 7468 6572 2074 6865 2070 6163  : Gather the pac
│ │ │ -001e5640: 6b61 6765 2066 6163 7473 0a20 2020 2070  kage facts.    p
│ │ │ -001e5650: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ -001e5660: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ -001e5670: 6f0a 0a20 202d 206e 616d 653a 2045 6e61  o..  - name: Ena
│ │ │ -001e5680: 626c 6520 7379 7374 656d 645f 7469 6d65  ble systemd_time
│ │ │ -001e5690: 7379 6e63 6420 5365 7276 6963 6520 2d20  syncd Service - 
│ │ │ -001e56a0: 456e 6162 6c65 2053 6572 7669 6365 2073  Enable Service s
│ │ │ -001e56b0: 7973 7465 6d64 2d74 696d 6573 796e 6364  ystemd-timesyncd
│ │ │ -001e56c0: 0a20 2020 2061 6e73 6962 6c65 2e62 7569  .    ansible.bui
│ │ │ -001e56d0: 6c74 696e 2e73 7973 7465 6d64 3a0a 2020  ltin.systemd:.  
│ │ │ -001e56e0: 2020 2020 6e61 6d65 3a20 7379 7374 656d      name: system
│ │ │ -001e56f0: 642d 7469 6d65 7379 6e63 640a 2020 2020  d-timesyncd.    
│ │ │ -001e5700: 2020 656e 6162 6c65 643a 2074 7275 650a    enabled: true.
│ │ │ -001e5710: 2020 2020 2020 7374 6174 653a 2073 7461        state: sta
│ │ │ -001e5720: 7274 6564 0a20 2020 2020 206d 6173 6b65  rted.      maske
│ │ │ -001e5730: 643a 2066 616c 7365 0a20 2020 2077 6865  d: false.    whe
│ │ │ -001e5740: 6e3a 0a20 2020 202d 2027 2273 7973 7465  n:.    - '"syste
│ │ │ -001e5750: 6d64 2220 696e 2061 6e73 6962 6c65 5f66  md" in ansible_f
│ │ │ -001e5760: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ -001e5770: 2077 6865 6e3a 0a20 202d 2027 226c 696e   when:.  - '"lin
│ │ │ -001e5780: 7578 2d62 6173 6522 2069 6e20 616e 7369  ux-base" in ansi
│ │ │ -001e5790: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -001e57a0: 6573 270a 2020 2d20 2820 6e6f 7420 2820  es'.  - ( not ( 
│ │ │ -001e57b0: 2263 6872 6f6e 7922 2069 6e20 616e 7369  "chrony" in ansi
│ │ │ -001e57c0: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -001e57d0: 6573 2029 2061 6e64 206e 6f74 2028 2022  es ) and not ( "
│ │ │ -001e57e0: 6e74 7022 2069 6e20 616e 7369 626c 655f  ntp" in ansible_
│ │ │ -001e57f0: 6661 6374 732e 7061 636b 6167 6573 0a20  facts.packages. 
│ │ │ -001e5800: 2020 2029 2029 0a20 2074 6167 733a 0a20     ) ).  tags:. 
│ │ │ -001e5810: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ -001e5820: 552d 3828 3129 2861 290a 2020 2d20 4e49  U-8(1)(a).  - NI
│ │ │ -001e5830: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ -001e5840: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ -001e5850: 712d 3130 2e34 0a20 202d 2050 4349 2d44  q-10.4.  - PCI-D
│ │ │ -001e5860: 5353 7634 2d31 302e 360a 2020 2d20 5043  SSv4-10.6.  - PC
│ │ │ -001e5870: 492d 4453 5376 342d 3130 2e36 2e31 0a20  I-DSSv4-10.6.1. 
│ │ │ -001e5880: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ -001e5890: 6779 0a20 202d 2068 6967 685f 7365 7665  gy.  - high_seve
│ │ │ -001e58a0: 7269 7479 0a20 202d 206c 6f77 5f63 6f6d  rity.  - low_com
│ │ │ -001e58b0: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -001e58c0: 6469 7372 7570 7469 6f6e 0a20 202d 206e  disruption.  - n
│ │ │ -001e58d0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -001e58e0: 2020 2d20 7365 7276 6963 655f 7469 6d65    - service_time
│ │ │ -001e58f0: 7379 6e63 645f 656e 6162 6c65 640a 3c2f  syncd_enabled.
│ │ │ +001e5010: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +001e5030: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +001e5060: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +001e4ff0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +001e5000: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +001e5020: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +001e5040: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +001e5050: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

- name: │ │ │ +001e50a0: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack │ │ │ +001e50b0: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack │ │ │ +001e50c0: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m │ │ │ +001e50d0: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t │ │ │ +001e50e0: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80 │ │ │ +001e50f0: 302d 3533 2d41 552d 3828 3129 2861 290a 0-53-AU-8(1)(a). │ │ │ +001e5100: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53- │ │ │ +001e5110: 434d 2d36 2861 290a 2020 2d20 5043 492d CM-6(a). - PCI- │ │ │ +001e5120: 4453 532d 5265 712d 3130 2e34 0a20 202d DSS-Req-10.4. - │ │ │ +001e5130: 2050 4349 2d44 5353 7634 2d31 302e 360a PCI-DSSv4-10.6. │ │ │ +001e5140: 2020 2d20 5043 492d 4453 5376 342d 3130 - PCI-DSSv4-10 │ │ │ +001e5150: 2e36 2e31 0a20 202d 2065 6e61 626c 655f .6.1. - enable_ │ │ │ +001e5160: 7374 7261 7465 6779 0a20 202d 2068 6967 strategy. - hig │ │ │ +001e5170: 685f 7365 7665 7269 7479 0a20 202d 206c h_severity. - l │ │ │ +001e5180: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity. │ │ │ +001e5190: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption │ │ │ +001e51a0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n │ │ │ +001e51b0: 6565 6465 640a 2020 2d20 7365 7276 6963 eeded. - servic │ │ │ +001e51c0: 655f 7469 6d65 7379 6e63 645f 656e 6162 e_timesyncd_enab │ │ │ +001e51d0: 6c65 640a 0a2d 206e 616d 653a 2045 6e61 led..- name: Ena │ │ │ +001e51e0: 626c 6520 7379 7374 656d 645f 7469 6d65 ble systemd_time │ │ │ +001e51f0: 7379 6e63 6420 5365 7276 6963 6520 2d20 syncd Service - │ │ │ +001e5200: 456e 6162 6c65 2073 6572 7669 6365 2073 Enable service s │ │ │ +001e5210: 7973 7465 6d64 2d74 696d 6573 796e 6364 ystemd-timesyncd │ │ │ +001e5220: 0a20 2062 6c6f 636b 3a0a 0a20 202d 206e . block:.. - n │ │ │ +001e5230: 616d 653a 2047 6174 6865 7220 7468 6520 ame: Gather the │ │ │ +001e5240: 7061 636b 6167 6520 6661 6374 730a 2020 package facts. │ │ │ +001e5250: 2020 7061 636b 6167 655f 6661 6374 733a package_facts: │ │ │ +001e5260: 0a20 2020 2020 206d 616e 6167 6572 3a20 . manager: │ │ │ +001e5270: 6175 746f 0a0a 2020 2d20 6e61 6d65 3a20 auto.. - name: │ │ │ +001e5280: 456e 6162 6c65 2073 7973 7465 6d64 5f74 Enable systemd_t │ │ │ +001e5290: 696d 6573 796e 6364 2053 6572 7669 6365 imesyncd Service │ │ │ +001e52a0: 202d 2045 6e61 626c 6520 5365 7276 6963 - Enable Servic │ │ │ +001e52b0: 6520 7379 7374 656d 642d 7469 6d65 7379 e systemd-timesy │ │ │ +001e52c0: 6e63 640a 2020 2020 616e 7369 626c 652e ncd. ansible. │ │ │ +001e52d0: 6275 696c 7469 6e2e 7379 7374 656d 643a builtin.systemd: │ │ │ +001e52e0: 0a20 2020 2020 206e 616d 653a 2073 7973 . name: sys │ │ │ +001e52f0: 7465 6d64 2d74 696d 6573 796e 6364 0a20 temd-timesyncd. │ │ │ +001e5300: 2020 2020 2065 6e61 626c 6564 3a20 7472 enabled: tr │ │ │ +001e5310: 7565 0a20 2020 2020 2073 7461 7465 3a20 ue. state: │ │ │ +001e5320: 7374 6172 7465 640a 2020 2020 2020 6d61 started. ma │ │ │ +001e5330: 736b 6564 3a20 6661 6c73 650a 2020 2020 sked: false. │ │ │ +001e5340: 7768 656e 3a0a 2020 2020 2d20 2722 7379 when:. - '"sy │ │ │ +001e5350: 7374 656d 6422 2069 6e20 616e 7369 626c stemd" in ansibl │ │ │ +001e5360: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages │ │ │ +001e5370: 270a 2020 7768 656e 3a0a 2020 2d20 2722 '. when:. - '" │ │ │ +001e5380: 6c69 6e75 782d 6261 7365 2220 696e 2061 linux-base" in a │ │ │ +001e5390: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac │ │ │ +001e53a0: 6b61 6765 7327 0a20 202d 2028 206e 6f74 kages'. - ( not │ │ │ +001e53b0: 2028 2022 6368 726f 6e79 2220 696e 2061 ( "chrony" in a │ │ │ +001e53c0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac │ │ │ +001e53d0: 6b61 6765 7320 2920 616e 6420 6e6f 7420 kages ) and not │ │ │ +001e53e0: 2820 226e 7470 2220 696e 2061 6e73 6962 ( "ntp" in ansib │ │ │ +001e53f0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package │ │ │ +001e5400: 730a 2020 2020 2920 290a 2020 7461 6773 s. ) ). tags │ │ │ +001e5410: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35 :. - NIST-800-5 │ │ │ +001e5420: 332d 4155 2d38 2831 2928 6129 0a20 202d 3-AU-8(1)(a). - │ │ │ +001e5430: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM- │ │ │ +001e5440: 3628 6129 0a20 202d 2050 4349 2d44 5353 6(a). - PCI-DSS │ │ │ +001e5450: 2d52 6571 2d31 302e 340a 2020 2d20 5043 -Req-10.4. - PC │ │ │ +001e5460: 492d 4453 5376 342d 3130 2e36 0a20 202d I-DSSv4-10.6. - │ │ │ +001e5470: 2050 4349 2d44 5353 7634 2d31 302e 362e PCI-DSSv4-10.6. │ │ │ +001e5480: 310a 2020 2d20 656e 6162 6c65 5f73 7472 1. - enable_str │ │ │ +001e5490: 6174 6567 790a 2020 2d20 6869 6768 5f73 ategy. - high_s │ │ │ +001e54a0: 6576 6572 6974 790a 2020 2d20 6c6f 775f everity. - low_ │ │ │ +001e54b0: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l │ │ │ +001e54c0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption. │ │ │ +001e54d0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need │ │ │ +001e54e0: 6564 0a20 202d 2073 6572 7669 6365 5f74 ed. - service_t │ │ │ +001e54f0: 696d 6573 796e 6364 5f65 6e61 626c 6564 imesyncd_enabled │ │ │ +001e5500: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .

Remediation │ │ │ +001e55c0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +001e55d0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ +001e5650: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +001e5660: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +001e5680: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +001e5690: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +001e56b0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +001e56d0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:enable
<
│ │ │ +001e5700: 636f 6465 3e69 6e63 6c75 6465 2065 6e61  code>include ena
│ │ │ +001e5710: 626c 655f 7379 7374 656d 642d 7469 6d65  ble_systemd-time
│ │ │ +001e5720: 7379 6e63 640a 0a63 6c61 7373 2065 6e61  syncd..class ena
│ │ │ +001e5730: 626c 655f 7379 7374 656d 642d 7469 6d65  ble_systemd-time
│ │ │ +001e5740: 7379 6e63 6420 7b0a 2020 7365 7276 6963  syncd {.  servic
│ │ │ +001e5750: 6520 7b27 7379 7374 656d 642d 7469 6d65  e {'systemd-time
│ │ │ +001e5760: 7379 6e63 6427 3a0a 2020 2020 656e 6162  syncd':.    enab
│ │ │ +001e5770: 6c65 203d 2667 743b 2074 7275 652c 0a20  le => true,. 
│ │ │ +001e5780: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ +001e5790: 2772 756e 6e69 6e67 272c 0a20 207d 0a7d  'running',.  }.}
│ │ │ +001e57a0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +001e5860: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin │ │ │ +001e5870: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
.[customizati
│ │ │ +001e58d0: 6f6e 732e 7365 7276 6963 6573 5d0a 656e  ons.services].en
│ │ │ +001e58e0: 6162 6c65 6420 3d20 5b22 7379 7374 656d  abled = ["system
│ │ │ +001e58f0: 642d 7469 6d65 7379 6e63 6422 5d0a 3c2f  d-timesyncd"].
Remediation │ │ │ -001ea0a0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ -001ea0b0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001ea130: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -001ea140: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -001ea150: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -001ea190: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -001ea1a0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -001ea1c0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -001ea1d0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include r
│ │ │ -001ea1f0: 656d 6f76 655f 7273 682d 636c 6965 6e74  emove_rsh-client
│ │ │ -001ea200: 0a0a 636c 6173 7320 7265 6d6f 7665 5f72  ..class remove_r
│ │ │ -001ea210: 7368 2d63 6c69 656e 7420 7b0a 2020 7061  sh-client {.  pa
│ │ │ -001ea220: 636b 6167 6520 7b20 2772 7368 2d63 6c69  ckage { 'rsh-cli
│ │ │ -001ea230: 656e 7427 3a0a 2020 2020 656e 7375 7265  ent':.    ensure
│ │ │ -001ea240: 203d 2667 743b 2027 7075 7267 6564 272c   => 'purged',
│ │ │ -001ea250: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.
Remedi │ │ │ -001ea310: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn │ │ │ -001ea320: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -001ea3d0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -001ea420: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ -001ea460: 616d 653a 2045 6e73 7572 6520 7273 682d  ame: Ensure rsh-
│ │ │ -001ea470: 636c 6965 6e74 2069 7320 7265 6d6f 7665  client is remove
│ │ │ -001ea480: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ -001ea490: 206e 616d 653a 2072 7368 2d63 6c69 656e   name: rsh-clien
│ │ │ -001ea4a0: 740a 2020 2020 7374 6174 653a 2061 6273  t.    state: abs
│ │ │ -001ea4b0: 656e 740a 2020 7461 6773 3a0a 2020 2d20  ent.  tags:.  - 
│ │ │ -001ea4c0: 4e49 5354 2d38 3030 2d31 3731 2d33 2e31  NIST-800-171-3.1
│ │ │ -001ea4d0: 2e31 330a 2020 2d20 5043 492d 4453 5376  .13.  - PCI-DSSv
│ │ │ -001ea4e0: 342d 322e 320a 2020 2d20 5043 492d 4453  4-2.2.  - PCI-DS
│ │ │ -001ea4f0: 5376 342d 322e 322e 340a 2020 2d20 6469  Sv4-2.2.4.  - di
│ │ │ -001ea500: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ -001ea510: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -001ea520: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -001ea530: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f  tion.  - no_rebo
│ │ │ -001ea540: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ -001ea550: 636b 6167 655f 7273 685f 7265 6d6f 7665  ckage_rsh_remove
│ │ │ -001ea560: 640a 2020 2d20 756e 6b6e 6f77 6e5f 7365  d.  - unknown_se
│ │ │ -001ea570: 7665 7269 7479 0a3c 2f63 6f64 653e 3c2f  verity.
< │ │ │ +001ea0f0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +001ea100: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +001ea110: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +001ea120: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +001ea130: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ +001ea1c0: 3c74 643e 6469 7361 626c 653c 2f74 643e │ │ │ +001ea1d0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Co │ │ │ -001ea3b0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -001ea3e0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -001ea400: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -001ea410: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -001ea430: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -001ea440: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complex │ │ │ +001ea140: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +001ea150: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ +001ea190: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +001ea1a0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
disable
- name: │ │ │ +001ea1f0: 456e 7375 7265 2072 7368 2d63 6c69 656e Ensure rsh-clien │ │ │ +001ea200: 7420 6973 2072 656d 6f76 6564 0a20 2070 t is removed. p │ │ │ +001ea210: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65 ackage:. name │ │ │ +001ea220: 3a20 7273 682d 636c 6965 6e74 0a20 2020 : rsh-client. │ │ │ +001ea230: 2073 7461 7465 3a20 6162 7365 6e74 0a20 state: absent. │ │ │ +001ea240: 2074 6167 733a 0a20 202d 204e 4953 542d tags:. - NIST- │ │ │ +001ea250: 3830 302d 3137 312d 332e 312e 3133 0a20 800-171-3.1.13. │ │ │ +001ea260: 202d 2050 4349 2d44 5353 7634 2d32 2e32 - PCI-DSSv4-2.2 │ │ │ +001ea270: 0a20 202d 2050 4349 2d44 5353 7634 2d32 . - PCI-DSSv4-2 │ │ │ +001ea280: 2e32 2e34 0a20 202d 2064 6973 6162 6c65 .2.4. - disable │ │ │ +001ea290: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo │ │ │ +001ea2a0: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. - │ │ │ +001ea2b0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption. │ │ │ +001ea2c0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ +001ea2d0: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package │ │ │ +001ea2e0: 5f72 7368 5f72 656d 6f76 6564 0a20 202d _rsh_removed. - │ │ │ +001ea2f0: 2075 6e6b 6e6f 776e 5f73 6576 6572 6974 unknown_severit │ │ │ +001ea300: 790a 3c2f 636f 6465 3e3c 2f70 7265 3e3c y.< │ │ │ +001ea310: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +001ea3c0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +001ea3d0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +001ea450: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +001ea460: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +001ea470: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +001ea4b0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +001ea4c0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +001ea4e0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +001ea4f0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include r
│ │ │ +001ea510: 656d 6f76 655f 7273 682d 636c 6965 6e74  emove_rsh-client
│ │ │ +001ea520: 0a0a 636c 6173 7320 7265 6d6f 7665 5f72  ..class remove_r
│ │ │ +001ea530: 7368 2d63 6c69 656e 7420 7b0a 2020 7061  sh-client {.  pa
│ │ │ +001ea540: 636b 6167 6520 7b20 2772 7368 2d63 6c69  ckage { 'rsh-cli
│ │ │ +001ea550: 656e 7427 3a0a 2020 2020 656e 7375 7265  ent':.    ensure
│ │ │ +001ea560: 203d 2667 743b 2027 7075 7267 6564 272c   => 'purged',
│ │ │ +001ea570: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.
Remediation Pu │ │ │ -001ec9b0: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ -001ec9c0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ -001eca50: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -001eca70: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ -001eca90: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ -001ecac0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -001ecad0: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
include remo
│ │ │ -001ecb00: 7665 5f74 616c 6b0a 0a63 6c61 7373 2072  ve_talk..class r
│ │ │ -001ecb10: 656d 6f76 655f 7461 6c6b 207b 0a20 2070  emove_talk {.  p
│ │ │ -001ecb20: 6163 6b61 6765 207b 2027 7461 6c6b 273a  ackage { 'talk':
│ │ │ -001ecb30: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ -001ecb40: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a  ; 'purged',.  }.
│ │ │ -001ecb50: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ -001ecb60: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -001ecc10: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ -001ecc20: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -001ecc60: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -001ecc70: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -001ecc80: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -001ecc90: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -001ecca0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -001eccb0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -001eccc0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -001ecd00: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -001ecd10: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -001ecd30: 3c74 643e 6469 7361 626c 653c 2f74 643e disable │ │ │ -001ecd40: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 - name: │ │ │ -001ecd60: 456e 7375 7265 2074 616c 6b20 6973 2072 Ensure talk is r │ │ │ -001ecd70: 656d 6f76 6564 0a20 2070 6163 6b61 6765 emoved. package │ │ │ -001ecd80: 3a0a 2020 2020 6e61 6d65 3a20 7461 6c6b :. name: talk │ │ │ -001ecd90: 0a20 2020 2073 7461 7465 3a20 6162 7365 . state: abse │ │ │ -001ecda0: 6e74 0a20 2074 6167 733a 0a20 202d 2050 nt. tags:. - P │ │ │ -001ecdb0: 4349 2d44 5353 7634 2d32 2e32 0a20 202d CI-DSSv4-2.2. - │ │ │ -001ecdc0: 2050 4349 2d44 5353 7634 2d32 2e32 2e34 PCI-DSSv4-2.2.4 │ │ │ -001ecdd0: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str │ │ │ -001ecde0: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co │ │ │ -001ecdf0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low │ │ │ -001ece00: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. - │ │ │ -001ece10: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity. │ │ │ -001ece20: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ -001ece30: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package │ │ │ -001ece40: 5f74 616c 6b5f 7265 6d6f 7665 640a 3c2f _talk_removed.Remediation An │ │ │ +001ec9b0: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ +001ec9c0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ +001eca50: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +001eca70: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +001eca80: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001eca90: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +001ecaa0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +001ecac0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ +001ecaf0: 636f 6465 3e2d 206e 616d 653a 2045 6e73  code>- name: Ens
│ │ │ +001ecb00: 7572 6520 7461 6c6b 2069 7320 7265 6d6f  ure talk is remo
│ │ │ +001ecb10: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ +001ecb20: 2020 206e 616d 653a 2074 616c 6b0a 2020     name: talk.  
│ │ │ +001ecb30: 2020 7374 6174 653a 2061 6273 656e 740a    state: absent.
│ │ │ +001ecb40: 2020 7461 6773 3a0a 2020 2d20 5043 492d    tags:.  - PCI-
│ │ │ +001ecb50: 4453 5376 342d 322e 320a 2020 2d20 5043  DSSv4-2.2.  - PC
│ │ │ +001ecb60: 492d 4453 5376 342d 322e 322e 340a 2020  I-DSSv4-2.2.4.  
│ │ │ +001ecb70: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ +001ecb80: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +001ecb90: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +001ecba0: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +001ecbb0: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +001ecbc0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +001ecbd0: 640a 2020 2d20 7061 636b 6167 655f 7461  d.  - package_ta
│ │ │ +001ecbe0: 6c6b 5f72 656d 6f76 6564 0a3c 2f63 6f64  lk_removed.
Re │ │ │ +001ecca0: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ +001eccb0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +001eccc0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ +001ecd90: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +001ecda0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +001ecdf0: 696e 636c 7564 6520 7265 6d6f 7665 5f74  include remove_t
│ │ │ +001ece00: 616c 6b0a 0a63 6c61 7373 2072 656d 6f76  alk..class remov
│ │ │ +001ece10: 655f 7461 6c6b 207b 0a20 2070 6163 6b61  e_talk {.  packa
│ │ │ +001ece20: 6765 207b 2027 7461 6c6b 273a 0a20 2020  ge { 'talk':.   
│ │ │ +001ece30: 2065 6e73 7572 6520 3d26 6774 3b20 2770   ensure => 'p
│ │ │ +001ece40: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f  urged',.  }.}.
Remediation P │ │ │ -001ee0d0: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ -001ee0e0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ -001ee1a0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001ee1b0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
Complexity:low
Disrup │ │ │ +001ecd70: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +001ecd80: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +001ecdc0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +001ecdd0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity │ │ │ -001ee170: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ -001ee190: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ -001ee1c0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ -001ee1e0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ -001ee210: 636f 6465 3e69 6e63 6c75 6465 2072 656d  code>include rem
│ │ │ -001ee220: 6f76 655f 7465 6c6e 6574 0a0a 636c 6173  ove_telnet..clas
│ │ │ -001ee230: 7320 7265 6d6f 7665 5f74 656c 6e65 7420  s remove_telnet 
│ │ │ -001ee240: 7b0a 2020 7061 636b 6167 6520 7b20 2774  {.  package { 't
│ │ │ -001ee250: 656c 6e65 7427 3a0a 2020 2020 656e 7375  elnet':.    ensu
│ │ │ -001ee260: 7265 203d 2667 743b 2027 7075 7267 6564  re => 'purged
│ │ │ -001ee270: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │ -001ee280: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ -001ee330: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible │ │ │ -001ee340: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -001ee350: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ -001ee3e0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
-
│ │ │ -001ee480: 206e 616d 653a 2045 6e73 7572 6520 7465   name: Ensure te
│ │ │ -001ee490: 6c6e 6574 2069 7320 7265 6d6f 7665 640a  lnet is removed.
│ │ │ -001ee4a0: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ -001ee4b0: 616d 653a 2074 656c 6e65 740a 2020 2020  ame: telnet.    
│ │ │ -001ee4c0: 7374 6174 653a 2061 6273 656e 740a 2020  state: absent.  
│ │ │ -001ee4d0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ -001ee4e0: 3030 2d31 3731 2d33 2e31 2e31 330a 2020  00-171-3.1.13.  
│ │ │ -001ee4f0: 2d20 5043 492d 4453 5376 342d 322e 320a  - PCI-DSSv4-2.2.
│ │ │ -001ee500: 2020 2d20 5043 492d 4453 5376 342d 322e    - PCI-DSSv4-2.
│ │ │ -001ee510: 322e 340a 2020 2d20 6469 7361 626c 655f  2.4.  - disable_
│ │ │ -001ee520: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -001ee530: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -001ee540: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -001ee550: 202d 206c 6f77 5f73 6576 6572 6974 790a   - low_severity.
│ │ │ -001ee560: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -001ee570: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -001ee580: 5f74 656c 6e65 745f 7265 6d6f 7665 640a  _telnet_removed.
│ │ │ +001ee0c0: 2122 3e52 656d 6564 6961 7469 6f6e 2041  !">Remediation A
│ │ │ +001ee0d0: 6e73 6962 6c65 2073 6e69 7070 6574 20e2  nsible snippet .
│ │ │ +001ee0e0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063  ..
< │ │ │ +001ee160: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ +001ee1a0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 disable
│ │ │ -001ee3d0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -001ee400: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -001ee410: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -001ee450: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ -001ee460: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexit │ │ │ +001ee170: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ +001ee190: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ +001ee1c0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +001ee1e0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
│ │ │ +001ee210: 3c63 6f64 653e 2d20 6e61 6d65 3a20 456e  - name: En
│ │ │ +001ee220: 7375 7265 2074 656c 6e65 7420 6973 2072  sure telnet is r
│ │ │ +001ee230: 656d 6f76 6564 0a20 2070 6163 6b61 6765  emoved.  package
│ │ │ +001ee240: 3a0a 2020 2020 6e61 6d65 3a20 7465 6c6e  :.    name: teln
│ │ │ +001ee250: 6574 0a20 2020 2073 7461 7465 3a20 6162  et.    state: ab
│ │ │ +001ee260: 7365 6e74 0a20 2074 6167 733a 0a20 202d  sent.  tags:.  -
│ │ │ +001ee270: 204e 4953 542d 3830 302d 3137 312d 332e   NIST-800-171-3.
│ │ │ +001ee280: 312e 3133 0a20 202d 2050 4349 2d44 5353  1.13.  - PCI-DSS
│ │ │ +001ee290: 7634 2d32 2e32 0a20 202d 2050 4349 2d44  v4-2.2.  - PCI-D
│ │ │ +001ee2a0: 5353 7634 2d32 2e32 2e34 0a20 202d 2064  SSv4-2.2.4.  - d
│ │ │ +001ee2b0: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ +001ee2c0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +001ee2d0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +001ee2e0: 7074 696f 6e0a 2020 2d20 6c6f 775f 7365  ption.  - low_se
│ │ │ +001ee2f0: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +001ee300: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +001ee310: 7061 636b 6167 655f 7465 6c6e 6574 5f72  package_telnet_r
│ │ │ +001ee320: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f  emoved.
Remedi │ │ │ +001ee3e0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ +001ee3f0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +001ee400: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +001ee480: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +001ee4b0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +001ee4d0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +001ee4e0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +001ee500: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +001ee510: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +001ee530: 7564 6520 7265 6d6f 7665 5f74 656c 6e65  ude remove_telne
│ │ │ +001ee540: 740a 0a63 6c61 7373 2072 656d 6f76 655f  t..class remove_
│ │ │ +001ee550: 7465 6c6e 6574 207b 0a20 2070 6163 6b61  telnet {.  packa
│ │ │ +001ee560: 6765 207b 2027 7465 6c6e 6574 273a 0a20  ge { 'telnet':. 
│ │ │ +001ee570: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ +001ee580: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a  'purged',.  }.}.
│ │ │  001ee590: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation Pup │ │ │ -001ef0c0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ -001ef0d0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -001ef150: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -001ef170: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -001ef1c0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -001ef1f0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -001ef160: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -001ef180: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -001ef1d0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -001ef1e0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ -001ef210: 655f 7273 796e 630a 0a63 6c61 7373 2072  e_rsync..class r
│ │ │ -001ef220: 656d 6f76 655f 7273 796e 6320 7b0a 2020  emove_rsync {.  
│ │ │ -001ef230: 7061 636b 6167 6520 7b20 2772 7379 6e63  package { 'rsync
│ │ │ -001ef240: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ -001ef250: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ -001ef260: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ -001ef320: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -001ef330: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001ef3e0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -001ef400: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -001ef430: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -001ef3c0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -001ef3d0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -001ef3f0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -001ef410: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -001ef420: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -001ef460: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -001ef470: 3a20 456e 7375 7265 2072 7379 6e63 2069 : Ensure rsync i │ │ │ -001ef480: 7320 7265 6d6f 7665 640a 2020 7061 636b s removed. pack │ │ │ -001ef490: 6167 653a 0a20 2020 206e 616d 653a 2072 age:. name: r │ │ │ -001ef4a0: 7379 6e63 0a20 2020 2073 7461 7465 3a20 sync. state: │ │ │ -001ef4b0: 6162 7365 6e74 0a20 2074 6167 733a 0a20 absent. tags:. │ │ │ -001ef4c0: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat │ │ │ -001ef4d0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp │ │ │ -001ef4e0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d │ │ │ -001ef4f0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me │ │ │ -001ef500: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity. │ │ │ -001ef510: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need │ │ │ -001ef520: 6564 0a20 202d 2070 6163 6b61 6765 5f72 ed. - package_r │ │ │ -001ef530: 7379 6e63 5f72 656d 6f76 6564 0a3c 2f63 sync_removed.Remediation Ans │ │ │ +001ef0c0: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ +001ef0d0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ +001ef160: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +001ef180: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +001ef1a0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +001ef1d0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +001ef1e0: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Ensu
│ │ │ +001ef210: 7265 2072 7379 6e63 2069 7320 7265 6d6f  re rsync is remo
│ │ │ +001ef220: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ +001ef230: 2020 206e 616d 653a 2072 7379 6e63 0a20     name: rsync. 
│ │ │ +001ef240: 2020 2073 7461 7465 3a20 6162 7365 6e74     state: absent
│ │ │ +001ef250: 0a20 2074 6167 733a 0a20 202d 2064 6973  .  tags:.  - dis
│ │ │ +001ef260: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +001ef270: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +001ef280: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +001ef290: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ +001ef2a0: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +001ef2b0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +001ef2c0: 2070 6163 6b61 6765 5f72 7379 6e63 5f72   package_rsync_r
│ │ │ +001ef2d0: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f  emoved.
Remedi │ │ │ +001ef390: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ +001ef3a0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +001ef3b0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +001ef430: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +001ef460: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +001ef480: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +001ef490: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +001ef4b0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +001ef4c0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +001ef4e0: 7564 6520 7265 6d6f 7665 5f72 7379 6e63  ude remove_rsync
│ │ │ +001ef4f0: 0a0a 636c 6173 7320 7265 6d6f 7665 5f72  ..class remove_r
│ │ │ +001ef500: 7379 6e63 207b 0a20 2070 6163 6b61 6765  sync {.  package
│ │ │ +001ef510: 207b 2027 7273 796e 6327 3a0a 2020 2020   { 'rsync':.    
│ │ │ +001ef520: 656e 7375 7265 203d 2667 743b 2027 7075  ensure => 'pu
│ │ │ +001ef530: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63  rged',.  }.}.
│ │ │ 001ef550: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Remediation │ │ │ -001f0ac0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -001f0ad0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -001f0b50: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -001f0b60: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ -001f0b80: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ -001f0b90: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ -001f0bb0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ -001f0bd0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ -001f0c00: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ -001f0c10: 6d6f 7665 5f63 7570 730a 0a63 6c61 7373  move_cups..class
│ │ │ -001f0c20: 2072 656d 6f76 655f 6375 7073 207b 0a20   remove_cups {. 
│ │ │ -001f0c30: 2070 6163 6b61 6765 207b 2027 6375 7073   package { 'cups
│ │ │ -001f0c40: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ -001f0c50: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ -001f0c60: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ -001f0d20: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -001f0d30: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001f0de0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -001f0e00: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -001f0e30: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -001f0dc0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -001f0dd0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -001f0df0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -001f0e10: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -001f0e20: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -001f0e60: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -001f0e70: 3a20 456e 7375 7265 2063 7570 7320 6973 : Ensure cups is │ │ │ -001f0e80: 2072 656d 6f76 6564 0a20 2070 6163 6b61 removed. packa │ │ │ -001f0e90: 6765 3a0a 2020 2020 6e61 6d65 3a20 6375 ge:. name: cu │ │ │ -001f0ea0: 7073 0a20 2020 2073 7461 7465 3a20 6162 ps. state: ab │ │ │ -001f0eb0: 7365 6e74 0a20 2074 6167 733a 0a20 202d sent. tags:. - │ │ │ -001f0ec0: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM- │ │ │ -001f0ed0: 3628 6129 0a20 202d 204e 4953 542d 3830 6(a). - NIST-80 │ │ │ -001f0ee0: 302d 3533 2d43 4d2d 3728 6129 0a20 202d 0-53-CM-7(a). - │ │ │ -001f0ef0: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM- │ │ │ -001f0f00: 3728 6229 0a20 202d 2064 6973 6162 6c65 7(b). - disable │ │ │ -001f0f10: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo │ │ │ -001f0f20: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. - │ │ │ -001f0f30: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption. │ │ │ -001f0f40: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ -001f0f50: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package │ │ │ -001f0f60: 5f63 7570 735f 7265 6d6f 7665 640a 2020 _cups_removed. │ │ │ -001f0f70: 2d20 756e 6b6e 6f77 6e5f 7365 7665 7269 - unknown_severi │ │ │ -001f0f80: 7479 0a3c 2f63 6f64 653e 3c2f 7072 653e ty. │ │ │ +001f0ac0: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ +001f0ad0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +001f0b50: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +001f0b60: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +001f0b70: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +001f0bb0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +001f0bc0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +001f0be0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +001f0bf0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: E
│ │ │ +001f0c10: 6e73 7572 6520 6375 7073 2069 7320 7265  nsure cups is re
│ │ │ +001f0c20: 6d6f 7665 640a 2020 7061 636b 6167 653a  moved.  package:
│ │ │ +001f0c30: 0a20 2020 206e 616d 653a 2063 7570 730a  .    name: cups.
│ │ │ +001f0c40: 2020 2020 7374 6174 653a 2061 6273 656e      state: absen
│ │ │ +001f0c50: 740a 2020 7461 6773 3a0a 2020 2d20 4e49  t.  tags:.  - NI
│ │ │ +001f0c60: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +001f0c70: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +001f0c80: 332d 434d 2d37 2861 290a 2020 2d20 4e49  3-CM-7(a).  - NI
│ │ │ +001f0c90: 5354 2d38 3030 2d35 332d 434d 2d37 2862  ST-800-53-CM-7(b
│ │ │ +001f0ca0: 290a 2020 2d20 6469 7361 626c 655f 7374  ).  - disable_st
│ │ │ +001f0cb0: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +001f0cc0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +001f0cd0: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +001f0ce0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +001f0cf0: 640a 2020 2d20 7061 636b 6167 655f 6375  d.  - package_cu
│ │ │ +001f0d00: 7073 5f72 656d 6f76 6564 0a20 202d 2075  ps_removed.  - u
│ │ │ +001f0d10: 6e6b 6e6f 776e 5f73 6576 6572 6974 790a  nknown_severity.
│ │ │ +001f0d20: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation P │ │ │ +001f0de0: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ +001f0df0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ +001f0e80: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +001f0ea0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +001f0eb0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001f0ec0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +001f0ed0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +001f0ef0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ +001f0f20: 636f 6465 3e69 6e63 6c75 6465 2072 656d  code>include rem
│ │ │ +001f0f30: 6f76 655f 6375 7073 0a0a 636c 6173 7320  ove_cups..class 
│ │ │ +001f0f40: 7265 6d6f 7665 5f63 7570 7320 7b0a 2020  remove_cups {.  
│ │ │ +001f0f50: 7061 636b 6167 6520 7b20 2763 7570 7327  package { 'cups'
│ │ │ +001f0f60: 3a0a 2020 2020 656e 7375 7265 203d 2667  :.    ensure =&g
│ │ │ +001f0f70: 743b 2027 7075 7267 6564 272c 0a20 207d  t; 'purged',.  }
│ │ │ +001f0f80: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ 001f0f90: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
R │ │ │ -001f1fa0: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui │ │ │ -001f1fb0: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni │ │ │ -001f1fc0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001f1fd0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
.[
│ │ │ -001f2010: 6375 7374 6f6d 697a 6174 696f 6e73 2e73  customizations.s
│ │ │ -001f2020: 6572 7669 6365 735d 0a6d 6173 6b65 6420  ervices].masked 
│ │ │ -001f2030: 3d20 5b22 6375 7073 225d 0a3c 2f63 6f64  = ["cups"].
Re │ │ │ -001f20f0: 6d65 6469 6174 696f 6e20 4b75 6265 726e mediation Kubern │ │ │ -001f2100: 6574 6573 2073 6e69 7070 6574 20e2 87b2 etes snippet ... │ │ │ -001f2110: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ -001f21a0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -001f21c0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:mediumReboot │ │ │ -001f21f0: 3a3c 2f74 683e 3c74 643e 7472 7565 3c2f :true │ │ │ -001f2210: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ -001f2240: 3c63 6f64 653e 6170 6956 6572 7369 6f6e  apiVersion
│ │ │ -001f2250: 3a20 6d61 6368 696e 6563 6f6e 6669 6775  : machineconfigu
│ │ │ -001f2260: 7261 7469 6f6e 2e6f 7065 6e73 6869 6674  ration.openshift
│ │ │ -001f2270: 2e69 6f2f 7631 0a6b 696e 643a 204d 6163  .io/v1.kind: Mac
│ │ │ -001f2280: 6869 6e65 436f 6e66 6967 0a73 7065 633a  hineConfig.spec:
│ │ │ -001f2290: 0a20 2063 6f6e 6669 673a 0a20 2020 2069  .  config:.    i
│ │ │ -001f22a0: 676e 6974 696f 6e3a 0a20 2020 2020 2076  gnition:.      v
│ │ │ -001f22b0: 6572 7369 6f6e 3a20 332e 312e 300a 2020  ersion: 3.1.0.  
│ │ │ -001f22c0: 2020 7379 7374 656d 643a 0a20 2020 2020    systemd:.     
│ │ │ -001f22d0: 2075 6e69 7473 3a0a 2020 2020 2020 2d20   units:.      - 
│ │ │ -001f22e0: 6e61 6d65 3a20 6375 7073 2e73 6572 7669  name: cups.servi
│ │ │ -001f22f0: 6365 0a20 2020 2020 2020 2065 6e61 626c  ce.        enabl
│ │ │ -001f2300: 6564 3a20 6661 6c73 650a 2020 2020 2020  ed: false.      
│ │ │ -001f2310: 2020 6d61 736b 3a20 7472 7565 0a20 2020    mask: true.   
│ │ │ -001f2320: 2020 202d 206e 616d 653a 2063 7570 732e     - name: cups.
│ │ │ -001f2330: 736f 636b 6574 0a20 2020 2020 2020 2065  socket.        e
│ │ │ -001f2340: 6e61 626c 6564 3a20 6661 6c73 650a 2020  nabled: false.  
│ │ │ -001f2350: 2020 2020 2020 6d61 736b 3a20 7472 7565        mask: true
│ │ │ -001f2360: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -001f2420: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -001f2430: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -001f24b0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -001f24c0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ -001f24e0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ -001f24f0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ -001f2510: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ -001f2530: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:enable
<
│ │ │ -001f2560: 636f 6465 3e69 6e63 6c75 6465 2064 6973  code>include dis
│ │ │ -001f2570: 6162 6c65 5f63 7570 730a 0a63 6c61 7373  able_cups..class
│ │ │ -001f2580: 2064 6973 6162 6c65 5f63 7570 7320 7b0a   disable_cups {.
│ │ │ -001f2590: 2020 7365 7276 6963 6520 7b27 6375 7073    service {'cups
│ │ │ -001f25a0: 273a 0a20 2020 2065 6e61 626c 6520 3d26  ':.    enable =&
│ │ │ -001f25b0: 6774 3b20 6661 6c73 652c 0a20 2020 2065  gt; false,.    e
│ │ │ -001f25c0: 6e73 7572 6520 3d26 6774 3b20 2773 746f  nsure => 'sto
│ │ │ -001f25d0: 7070 6564 272c 0a20 207d 0a7d 0a3c 2f63  pped',.  }.}.
│ │ │ -001f25f0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ -001f2690: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi │ │ │ -001f26a0: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...< │ │ │ -001f26b0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -001f2730: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -001f2750: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -001f27a0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -001f27d0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -001f2740: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -001f2760: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -001f27b0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -001f27c0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
- name: Gathe
│ │ │ -001f27f0: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ -001f2800: 6374 730a 2020 7061 636b 6167 655f 6661  cts.  package_fa
│ │ │ -001f2810: 6374 733a 0a20 2020 206d 616e 6167 6572  cts:.    manager
│ │ │ -001f2820: 3a20 6175 746f 0a20 2074 6167 733a 0a20  : auto.  tags:. 
│ │ │ -001f2830: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -001f2840: 4d2d 3628 6129 0a20 202d 204e 4953 542d  M-6(a).  - NIST-
│ │ │ -001f2850: 3830 302d 3533 2d43 4d2d 3728 6129 0a20  800-53-CM-7(a). 
│ │ │ -001f2860: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -001f2870: 4d2d 3728 6229 0a20 202d 2064 6973 6162  M-7(b).  - disab
│ │ │ -001f2880: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -001f2890: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -001f28a0: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -001f28b0: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f  n.  - no_reboot_
│ │ │ -001f28c0: 6e65 6564 6564 0a20 202d 2073 6572 7669  needed.  - servi
│ │ │ -001f28d0: 6365 5f63 7570 735f 6469 7361 626c 6564  ce_cups_disabled
│ │ │ -001f28e0: 0a20 202d 2075 6e6b 6e6f 776e 5f73 6576  .  - unknown_sev
│ │ │ -001f28f0: 6572 6974 790a 0a2d 206e 616d 653a 2044  erity..- name: D
│ │ │ -001f2900: 6973 6162 6c65 2074 6865 2043 5550 5320  isable the CUPS 
│ │ │ -001f2910: 5365 7276 6963 6520 2d20 436f 6c6c 6563  Service - Collec
│ │ │ -001f2920: 7420 7379 7374 656d 6420 5365 7276 6963  t systemd Servic
│ │ │ -001f2930: 6573 2050 7265 7365 6e74 2069 6e20 7468  es Present in th
│ │ │ -001f2940: 6520 5379 7374 656d 0a20 2061 6e73 6962  e System.  ansib
│ │ │ -001f2950: 6c65 2e62 7569 6c74 696e 2e63 6f6d 6d61  le.builtin.comma
│ │ │ -001f2960: 6e64 3a20 7379 7374 656d 6374 6c20 2d71  nd: systemctl -q
│ │ │ -001f2970: 206c 6973 742d 756e 6974 2d66 696c 6573   list-unit-files
│ │ │ -001f2980: 202d 2d74 7970 6520 7365 7276 6963 650a   --type service.
│ │ │ -001f2990: 2020 7265 6769 7374 6572 3a20 7365 7276    register: serv
│ │ │ -001f29a0: 6963 655f 6578 6973 7473 0a20 2063 6861  ice_exists.  cha
│ │ │ -001f29b0: 6e67 6564 5f77 6865 6e3a 2066 616c 7365  nged_when: false
│ │ │ -001f29c0: 0a20 2066 6169 6c65 645f 7768 656e 3a20  .  failed_when: 
│ │ │ -001f29d0: 7365 7276 6963 655f 6578 6973 7473 2e72  service_exists.r
│ │ │ -001f29e0: 6320 6e6f 7420 696e 205b 302c 2031 5d0a  c not in [0, 1].
│ │ │ -001f29f0: 2020 6368 6563 6b5f 6d6f 6465 3a20 6661    check_mode: fa
│ │ │ -001f2a00: 6c73 650a 2020 7768 656e 3a20 2722 6c69  lse.  when: '"li
│ │ │ -001f2a10: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ -001f2a20: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -001f2a30: 6765 7327 0a20 2074 6167 733a 0a20 202d  ges'.  tags:.  -
│ │ │ -001f2a40: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -001f2a50: 3628 6129 0a20 202d 204e 4953 542d 3830  6(a).  - NIST-80
│ │ │ -001f2a60: 302d 3533 2d43 4d2d 3728 6129 0a20 202d  0-53-CM-7(a).  -
│ │ │ -001f2a70: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -001f2a80: 3728 6229 0a20 202d 2064 6973 6162 6c65  7(b).  - disable
│ │ │ -001f2a90: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ -001f2aa0: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -001f2ab0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -001f2ac0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -001f2ad0: 6564 6564 0a20 202d 2073 6572 7669 6365  eded.  - service
│ │ │ -001f2ae0: 5f63 7570 735f 6469 7361 626c 6564 0a20  _cups_disabled. 
│ │ │ -001f2af0: 202d 2075 6e6b 6e6f 776e 5f73 6576 6572   - unknown_sever
│ │ │ -001f2b00: 6974 790a 0a2d 206e 616d 653a 2044 6973  ity..- name: Dis
│ │ │ -001f2b10: 6162 6c65 2074 6865 2043 5550 5320 5365  able the CUPS Se
│ │ │ -001f2b20: 7276 6963 6520 2d20 456e 7375 7265 2063  rvice - Ensure c
│ │ │ -001f2b30: 7570 732e 7365 7276 6963 6520 6973 204d  ups.service is M
│ │ │ -001f2b40: 6173 6b65 640a 2020 616e 7369 626c 652e  asked.  ansible.
│ │ │ -001f2b50: 6275 696c 7469 6e2e 7379 7374 656d 643a  builtin.systemd:
│ │ │ -001f2b60: 0a20 2020 206e 616d 653a 2063 7570 732e  .    name: cups.
│ │ │ -001f2b70: 7365 7276 6963 650a 2020 2020 7374 6174  service.    stat
│ │ │ -001f2b80: 653a 2073 746f 7070 6564 0a20 2020 2065  e: stopped.    e
│ │ │ -001f2b90: 6e61 626c 6564 3a20 6661 6c73 650a 2020  nabled: false.  
│ │ │ -001f2ba0: 2020 6d61 736b 6564 3a20 7472 7565 0a20    masked: true. 
│ │ │ -001f2bb0: 2077 6865 6e3a 0a20 202d 2027 226c 696e   when:.  - '"lin
│ │ │ -001f2bc0: 7578 2d62 6173 6522 2069 6e20 616e 7369  ux-base" in ansi
│ │ │ -001f2bd0: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -001f2be0: 6573 270a 2020 2d20 7365 7276 6963 655f  es'.  - service_
│ │ │ -001f2bf0: 6578 6973 7473 2e73 7464 6f75 745f 6c69  exists.stdout_li
│ │ │ -001f2c00: 6e65 7320 6973 2073 6561 7263 6828 2263  nes is search("c
│ │ │ -001f2c10: 7570 732e 7365 7276 6963 6522 2c20 6d75  ups.service", mu
│ │ │ -001f2c20: 6c74 696c 696e 653d 5472 7565 290a 2020  ltiline=True).  
│ │ │ -001f2c30: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ -001f2c40: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ -001f2c50: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -001f2c60: 2d37 2861 290a 2020 2d20 4e49 5354 2d38  -7(a).  - NIST-8
│ │ │ -001f2c70: 3030 2d35 332d 434d 2d37 2862 290a 2020  00-53-CM-7(b).  
│ │ │ -001f2c80: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ -001f2c90: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ -001f2ca0: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -001f2cb0: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f  sruption.  - no_
│ │ │ -001f2cc0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -001f2cd0: 2d20 7365 7276 6963 655f 6375 7073 5f64  - service_cups_d
│ │ │ -001f2ce0: 6973 6162 6c65 640a 2020 2d20 756e 6b6e  isabled.  - unkn
│ │ │ -001f2cf0: 6f77 6e5f 7365 7665 7269 7479 0a0a 2d20  own_severity..- 
│ │ │ -001f2d00: 6e61 6d65 3a20 556e 6974 2053 6f63 6b65  name: Unit Socke
│ │ │ -001f2d10: 7420 4578 6973 7473 202d 2063 7570 732e  t Exists - cups.
│ │ │ -001f2d20: 736f 636b 6574 0a20 2061 6e73 6962 6c65  socket.  ansible
│ │ │ -001f2d30: 2e62 7569 6c74 696e 2e63 6f6d 6d61 6e64  .builtin.command
│ │ │ -001f2d40: 3a20 7379 7374 656d 6374 6c20 2d71 206c  : systemctl -q l
│ │ │ -001f2d50: 6973 742d 756e 6974 2d66 696c 6573 2063  ist-unit-files c
│ │ │ -001f2d60: 7570 732e 736f 636b 6574 0a20 2072 6567  ups.socket.  reg
│ │ │ -001f2d70: 6973 7465 723a 2073 6f63 6b65 745f 6669  ister: socket_fi
│ │ │ -001f2d80: 6c65 5f65 7869 7374 730a 2020 6368 616e  le_exists.  chan
│ │ │ -001f2d90: 6765 645f 7768 656e 3a20 6661 6c73 650a  ged_when: false.
│ │ │ -001f2da0: 2020 6661 696c 6564 5f77 6865 6e3a 2073    failed_when: s
│ │ │ -001f2db0: 6f63 6b65 745f 6669 6c65 5f65 7869 7374  ocket_file_exist
│ │ │ -001f2dc0: 732e 7263 206e 6f74 2069 6e20 5b30 2c20  s.rc not in [0, 
│ │ │ -001f2dd0: 315d 0a20 2063 6865 636b 5f6d 6f64 653a  1].  check_mode:
│ │ │ -001f2de0: 2066 616c 7365 0a20 2077 6865 6e3a 2027   false.  when: '
│ │ │ -001f2df0: 226c 696e 7578 2d62 6173 6522 2069 6e20  "linux-base" in 
│ │ │ -001f2e00: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -001f2e10: 636b 6167 6573 270a 2020 7461 6773 3a0a  ckages'.  tags:.
│ │ │ -001f2e20: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -001f2e30: 434d 2d36 2861 290a 2020 2d20 4e49 5354  CM-6(a).  - NIST
│ │ │ -001f2e40: 2d38 3030 2d35 332d 434d 2d37 2861 290a  -800-53-CM-7(a).
│ │ │ -001f2e50: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -001f2e60: 434d 2d37 2862 290a 2020 2d20 6469 7361  CM-7(b).  - disa
│ │ │ -001f2e70: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -001f2e80: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -001f2e90: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -001f2ea0: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74  on.  - no_reboot
│ │ │ -001f2eb0: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ -001f2ec0: 6963 655f 6375 7073 5f64 6973 6162 6c65  ice_cups_disable
│ │ │ -001f2ed0: 640a 2020 2d20 756e 6b6e 6f77 6e5f 7365  d.  - unknown_se
│ │ │ -001f2ee0: 7665 7269 7479 0a0a 2d20 6e61 6d65 3a20  verity..- name: 
│ │ │ -001f2ef0: 4469 7361 626c 6520 7468 6520 4355 5053  Disable the CUPS
│ │ │ -001f2f00: 2053 6572 7669 6365 202d 2044 6973 6162   Service - Disab
│ │ │ -001f2f10: 6c65 2053 6f63 6b65 7420 6375 7073 0a20  le Socket cups. 
│ │ │ -001f2f20: 2061 6e73 6962 6c65 2e62 7569 6c74 696e   ansible.builtin
│ │ │ -001f2f30: 2e73 7973 7465 6d64 3a0a 2020 2020 6e61  .systemd:.    na
│ │ │ -001f2f40: 6d65 3a20 6375 7073 2e73 6f63 6b65 740a  me: cups.socket.
│ │ │ -001f2f50: 2020 2020 656e 6162 6c65 643a 2066 616c      enabled: fal
│ │ │ -001f2f60: 7365 0a20 2020 2073 7461 7465 3a20 7374  se.    state: st
│ │ │ -001f2f70: 6f70 7065 640a 2020 2020 6d61 736b 6564  opped.    masked
│ │ │ -001f2f80: 3a20 7472 7565 0a20 2077 6865 6e3a 0a20  : true.  when:. 
│ │ │ -001f2f90: 202d 2027 226c 696e 7578 2d62 6173 6522   - '"linux-base"
│ │ │ -001f2fa0: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ -001f2fb0: 732e 7061 636b 6167 6573 270a 2020 2d20  s.packages'.  - 
│ │ │ -001f2fc0: 736f 636b 6574 5f66 696c 655f 6578 6973  socket_file_exis
│ │ │ -001f2fd0: 7473 2e73 7464 6f75 745f 6c69 6e65 7320  ts.stdout_lines 
│ │ │ -001f2fe0: 6973 2073 6561 7263 6828 2263 7570 732e  is search("cups.
│ │ │ -001f2ff0: 736f 636b 6574 222c 206d 756c 7469 6c69  socket", multili
│ │ │ -001f3000: 6e65 3d54 7275 6529 0a20 2074 6167 733a  ne=True).  tags:
│ │ │ -001f3010: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -001f3020: 2d43 4d2d 3628 6129 0a20 202d 204e 4953  -CM-6(a).  - NIS
│ │ │ -001f3030: 542d 3830 302d 3533 2d43 4d2d 3728 6129  T-800-53-CM-7(a)
│ │ │ -001f3040: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -001f3050: 2d43 4d2d 3728 6229 0a20 202d 2064 6973  -CM-7(b).  - dis
│ │ │ -001f3060: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -001f3070: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -001f3080: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -001f3090: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f  ion.  - no_reboo
│ │ │ -001f30a0: 745f 6e65 6564 6564 0a20 202d 2073 6572  t_needed.  - ser
│ │ │ -001f30b0: 7669 6365 5f63 7570 735f 6469 7361 626c  vice_cups_disabl
│ │ │ -001f30c0: 6564 0a20 202d 2075 6e6b 6e6f 776e 5f73  ed.  - unknown_s
│ │ │ -001f30d0: 6576 6572 6974 790a 3c2f 636f 6465 3e3c  everity.<
│ │ │ +001f1fa0: 656d 6564 6961 7469 6f6e 2041 6e73 6962  emediation Ansib
│ │ │ +001f1fb0: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f  le snippet ...
< │ │ │ +001f2040: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +001f2060: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +001f20b0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +001f20e0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Gather
│ │ │ +001f2100: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ +001f2110: 7473 0a20 2070 6163 6b61 6765 5f66 6163  ts.  package_fac
│ │ │ +001f2120: 7473 3a0a 2020 2020 6d61 6e61 6765 723a  ts:.    manager:
│ │ │ +001f2130: 2061 7574 6f0a 2020 7461 6773 3a0a 2020   auto.  tags:.  
│ │ │ +001f2140: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +001f2150: 2d36 2861 290a 2020 2d20 4e49 5354 2d38  -6(a).  - NIST-8
│ │ │ +001f2160: 3030 2d35 332d 434d 2d37 2861 290a 2020  00-53-CM-7(a).  
│ │ │ +001f2170: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +001f2180: 2d37 2862 290a 2020 2d20 6469 7361 626c  -7(b).  - disabl
│ │ │ +001f2190: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ +001f21a0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +001f21b0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +001f21c0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +001f21d0: 6565 6465 640a 2020 2d20 7365 7276 6963  eeded.  - servic
│ │ │ +001f21e0: 655f 6375 7073 5f64 6973 6162 6c65 640a  e_cups_disabled.
│ │ │ +001f21f0: 2020 2d20 756e 6b6e 6f77 6e5f 7365 7665    - unknown_seve
│ │ │ +001f2200: 7269 7479 0a0a 2d20 6e61 6d65 3a20 4469  rity..- name: Di
│ │ │ +001f2210: 7361 626c 6520 7468 6520 4355 5053 2053  sable the CUPS S
│ │ │ +001f2220: 6572 7669 6365 202d 2043 6f6c 6c65 6374  ervice - Collect
│ │ │ +001f2230: 2073 7973 7465 6d64 2053 6572 7669 6365   systemd Service
│ │ │ +001f2240: 7320 5072 6573 656e 7420 696e 2074 6865  s Present in the
│ │ │ +001f2250: 2053 7973 7465 6d0a 2020 616e 7369 626c   System.  ansibl
│ │ │ +001f2260: 652e 6275 696c 7469 6e2e 636f 6d6d 616e  e.builtin.comman
│ │ │ +001f2270: 643a 2073 7973 7465 6d63 746c 202d 7120  d: systemctl -q 
│ │ │ +001f2280: 6c69 7374 2d75 6e69 742d 6669 6c65 7320  list-unit-files 
│ │ │ +001f2290: 2d2d 7479 7065 2073 6572 7669 6365 0a20  --type service. 
│ │ │ +001f22a0: 2072 6567 6973 7465 723a 2073 6572 7669   register: servi
│ │ │ +001f22b0: 6365 5f65 7869 7374 730a 2020 6368 616e  ce_exists.  chan
│ │ │ +001f22c0: 6765 645f 7768 656e 3a20 6661 6c73 650a  ged_when: false.
│ │ │ +001f22d0: 2020 6661 696c 6564 5f77 6865 6e3a 2073    failed_when: s
│ │ │ +001f22e0: 6572 7669 6365 5f65 7869 7374 732e 7263  ervice_exists.rc
│ │ │ +001f22f0: 206e 6f74 2069 6e20 5b30 2c20 315d 0a20   not in [0, 1]. 
│ │ │ +001f2300: 2063 6865 636b 5f6d 6f64 653a 2066 616c   check_mode: fal
│ │ │ +001f2310: 7365 0a20 2077 6865 6e3a 2027 226c 696e  se.  when: '"lin
│ │ │ +001f2320: 7578 2d62 6173 6522 2069 6e20 616e 7369  ux-base" in ansi
│ │ │ +001f2330: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ +001f2340: 6573 270a 2020 7461 6773 3a0a 2020 2d20  es'.  tags:.  - 
│ │ │ +001f2350: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ +001f2360: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ +001f2370: 2d35 332d 434d 2d37 2861 290a 2020 2d20  -53-CM-7(a).  - 
│ │ │ +001f2380: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ +001f2390: 2862 290a 2020 2d20 6469 7361 626c 655f  (b).  - disable_
│ │ │ +001f23a0: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ +001f23b0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +001f23c0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +001f23d0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +001f23e0: 6465 640a 2020 2d20 7365 7276 6963 655f  ded.  - service_
│ │ │ +001f23f0: 6375 7073 5f64 6973 6162 6c65 640a 2020  cups_disabled.  
│ │ │ +001f2400: 2d20 756e 6b6e 6f77 6e5f 7365 7665 7269  - unknown_severi
│ │ │ +001f2410: 7479 0a0a 2d20 6e61 6d65 3a20 4469 7361  ty..- name: Disa
│ │ │ +001f2420: 626c 6520 7468 6520 4355 5053 2053 6572  ble the CUPS Ser
│ │ │ +001f2430: 7669 6365 202d 2045 6e73 7572 6520 6375  vice - Ensure cu
│ │ │ +001f2440: 7073 2e73 6572 7669 6365 2069 7320 4d61  ps.service is Ma
│ │ │ +001f2450: 736b 6564 0a20 2061 6e73 6962 6c65 2e62  sked.  ansible.b
│ │ │ +001f2460: 7569 6c74 696e 2e73 7973 7465 6d64 3a0a  uiltin.systemd:.
│ │ │ +001f2470: 2020 2020 6e61 6d65 3a20 6375 7073 2e73      name: cups.s
│ │ │ +001f2480: 6572 7669 6365 0a20 2020 2073 7461 7465  ervice.    state
│ │ │ +001f2490: 3a20 7374 6f70 7065 640a 2020 2020 656e  : stopped.    en
│ │ │ +001f24a0: 6162 6c65 643a 2066 616c 7365 0a20 2020  abled: false.   
│ │ │ +001f24b0: 206d 6173 6b65 643a 2074 7275 650a 2020   masked: true.  
│ │ │ +001f24c0: 7768 656e 3a0a 2020 2d20 2722 6c69 6e75  when:.  - '"linu
│ │ │ +001f24d0: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ +001f24e0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +001f24f0: 7327 0a20 202d 2073 6572 7669 6365 5f65  s'.  - service_e
│ │ │ +001f2500: 7869 7374 732e 7374 646f 7574 5f6c 696e  xists.stdout_lin
│ │ │ +001f2510: 6573 2069 7320 7365 6172 6368 2822 6375  es is search("cu
│ │ │ +001f2520: 7073 2e73 6572 7669 6365 222c 206d 756c  ps.service", mul
│ │ │ +001f2530: 7469 6c69 6e65 3d54 7275 6529 0a20 2074  tiline=True).  t
│ │ │ +001f2540: 6167 733a 0a20 202d 204e 4953 542d 3830  ags:.  - NIST-80
│ │ │ +001f2550: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ +001f2560: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +001f2570: 3728 6129 0a20 202d 204e 4953 542d 3830  7(a).  - NIST-80
│ │ │ +001f2580: 302d 3533 2d43 4d2d 3728 6229 0a20 202d  0-53-CM-7(b).  -
│ │ │ +001f2590: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ +001f25a0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +001f25b0: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +001f25c0: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72  ruption.  - no_r
│ │ │ +001f25d0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +001f25e0: 2073 6572 7669 6365 5f63 7570 735f 6469   service_cups_di
│ │ │ +001f25f0: 7361 626c 6564 0a20 202d 2075 6e6b 6e6f  sabled.  - unkno
│ │ │ +001f2600: 776e 5f73 6576 6572 6974 790a 0a2d 206e  wn_severity..- n
│ │ │ +001f2610: 616d 653a 2055 6e69 7420 536f 636b 6574  ame: Unit Socket
│ │ │ +001f2620: 2045 7869 7374 7320 2d20 6375 7073 2e73   Exists - cups.s
│ │ │ +001f2630: 6f63 6b65 740a 2020 616e 7369 626c 652e  ocket.  ansible.
│ │ │ +001f2640: 6275 696c 7469 6e2e 636f 6d6d 616e 643a  builtin.command:
│ │ │ +001f2650: 2073 7973 7465 6d63 746c 202d 7120 6c69   systemctl -q li
│ │ │ +001f2660: 7374 2d75 6e69 742d 6669 6c65 7320 6375  st-unit-files cu
│ │ │ +001f2670: 7073 2e73 6f63 6b65 740a 2020 7265 6769  ps.socket.  regi
│ │ │ +001f2680: 7374 6572 3a20 736f 636b 6574 5f66 696c  ster: socket_fil
│ │ │ +001f2690: 655f 6578 6973 7473 0a20 2063 6861 6e67  e_exists.  chang
│ │ │ +001f26a0: 6564 5f77 6865 6e3a 2066 616c 7365 0a20  ed_when: false. 
│ │ │ +001f26b0: 2066 6169 6c65 645f 7768 656e 3a20 736f   failed_when: so
│ │ │ +001f26c0: 636b 6574 5f66 696c 655f 6578 6973 7473  cket_file_exists
│ │ │ +001f26d0: 2e72 6320 6e6f 7420 696e 205b 302c 2031  .rc not in [0, 1
│ │ │ +001f26e0: 5d0a 2020 6368 6563 6b5f 6d6f 6465 3a20  ].  check_mode: 
│ │ │ +001f26f0: 6661 6c73 650a 2020 7768 656e 3a20 2722  false.  when: '"
│ │ │ +001f2700: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ +001f2710: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +001f2720: 6b61 6765 7327 0a20 2074 6167 733a 0a20  kages'.  tags:. 
│ │ │ +001f2730: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +001f2740: 4d2d 3628 6129 0a20 202d 204e 4953 542d  M-6(a).  - NIST-
│ │ │ +001f2750: 3830 302d 3533 2d43 4d2d 3728 6129 0a20  800-53-CM-7(a). 
│ │ │ +001f2760: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +001f2770: 4d2d 3728 6229 0a20 202d 2064 6973 6162  M-7(b).  - disab
│ │ │ +001f2780: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +001f2790: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +001f27a0: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +001f27b0: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f  n.  - no_reboot_
│ │ │ +001f27c0: 6e65 6564 6564 0a20 202d 2073 6572 7669  needed.  - servi
│ │ │ +001f27d0: 6365 5f63 7570 735f 6469 7361 626c 6564  ce_cups_disabled
│ │ │ +001f27e0: 0a20 202d 2075 6e6b 6e6f 776e 5f73 6576  .  - unknown_sev
│ │ │ +001f27f0: 6572 6974 790a 0a2d 206e 616d 653a 2044  erity..- name: D
│ │ │ +001f2800: 6973 6162 6c65 2074 6865 2043 5550 5320  isable the CUPS 
│ │ │ +001f2810: 5365 7276 6963 6520 2d20 4469 7361 626c  Service - Disabl
│ │ │ +001f2820: 6520 536f 636b 6574 2063 7570 730a 2020  e Socket cups.  
│ │ │ +001f2830: 616e 7369 626c 652e 6275 696c 7469 6e2e  ansible.builtin.
│ │ │ +001f2840: 7379 7374 656d 643a 0a20 2020 206e 616d  systemd:.    nam
│ │ │ +001f2850: 653a 2063 7570 732e 736f 636b 6574 0a20  e: cups.socket. 
│ │ │ +001f2860: 2020 2065 6e61 626c 6564 3a20 6661 6c73     enabled: fals
│ │ │ +001f2870: 650a 2020 2020 7374 6174 653a 2073 746f  e.    state: sto
│ │ │ +001f2880: 7070 6564 0a20 2020 206d 6173 6b65 643a  pped.    masked:
│ │ │ +001f2890: 2074 7275 650a 2020 7768 656e 3a0a 2020   true.  when:.  
│ │ │ +001f28a0: 2d20 2722 6c69 6e75 782d 6261 7365 2220  - '"linux-base" 
│ │ │ +001f28b0: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +001f28c0: 2e70 6163 6b61 6765 7327 0a20 202d 2073  .packages'.  - s
│ │ │ +001f28d0: 6f63 6b65 745f 6669 6c65 5f65 7869 7374  ocket_file_exist
│ │ │ +001f28e0: 732e 7374 646f 7574 5f6c 696e 6573 2069  s.stdout_lines i
│ │ │ +001f28f0: 7320 7365 6172 6368 2822 6375 7073 2e73  s search("cups.s
│ │ │ +001f2900: 6f63 6b65 7422 2c20 6d75 6c74 696c 696e  ocket", multilin
│ │ │ +001f2910: 653d 5472 7565 290a 2020 7461 6773 3a0a  e=True).  tags:.
│ │ │ +001f2920: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001f2930: 434d 2d36 2861 290a 2020 2d20 4e49 5354  CM-6(a).  - NIST
│ │ │ +001f2940: 2d38 3030 2d35 332d 434d 2d37 2861 290a  -800-53-CM-7(a).
│ │ │ +001f2950: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001f2960: 434d 2d37 2862 290a 2020 2d20 6469 7361  CM-7(b).  - disa
│ │ │ +001f2970: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +001f2980: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +001f2990: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +001f29a0: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74  on.  - no_reboot
│ │ │ +001f29b0: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ +001f29c0: 6963 655f 6375 7073 5f64 6973 6162 6c65  ice_cups_disable
│ │ │ +001f29d0: 640a 2020 2d20 756e 6b6e 6f77 6e5f 7365  d.  - unknown_se
│ │ │ +001f29e0: 7665 7269 7479 0a3c 2f63 6f64 653e 3c2f  verity.Remedi
│ │ │ +001f2aa0: 6174 696f 6e20 4b75 6265 726e 6574 6573  ation Kubernetes
│ │ │ +001f2ab0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e   snippet ...
│ │ │ +001f2ac0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22  
low
Disr │ │ │ +001f2070: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +001f2080: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +001f20c0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +001f20d0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
< │ │ │ +001f2bb0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +001f2be0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
apiVersion: ma
│ │ │ +001f2c00: 6368 696e 6563 6f6e 6669 6775 7261 7469  chineconfigurati
│ │ │ +001f2c10: 6f6e 2e6f 7065 6e73 6869 6674 2e69 6f2f  on.openshift.io/
│ │ │ +001f2c20: 7631 0a6b 696e 643a 204d 6163 6869 6e65  v1.kind: Machine
│ │ │ +001f2c30: 436f 6e66 6967 0a73 7065 633a 0a20 2063  Config.spec:.  c
│ │ │ +001f2c40: 6f6e 6669 673a 0a20 2020 2069 676e 6974  onfig:.    ignit
│ │ │ +001f2c50: 696f 6e3a 0a20 2020 2020 2076 6572 7369  ion:.      versi
│ │ │ +001f2c60: 6f6e 3a20 332e 312e 300a 2020 2020 7379  on: 3.1.0.    sy
│ │ │ +001f2c70: 7374 656d 643a 0a20 2020 2020 2075 6e69  stemd:.      uni
│ │ │ +001f2c80: 7473 3a0a 2020 2020 2020 2d20 6e61 6d65  ts:.      - name
│ │ │ +001f2c90: 3a20 6375 7073 2e73 6572 7669 6365 0a20  : cups.service. 
│ │ │ +001f2ca0: 2020 2020 2020 2065 6e61 626c 6564 3a20         enabled: 
│ │ │ +001f2cb0: 6661 6c73 650a 2020 2020 2020 2020 6d61  false.        ma
│ │ │ +001f2cc0: 736b 3a20 7472 7565 0a20 2020 2020 202d  sk: true.      -
│ │ │ +001f2cd0: 206e 616d 653a 2063 7570 732e 736f 636b   name: cups.sock
│ │ │ +001f2ce0: 6574 0a20 2020 2020 2020 2065 6e61 626c  et.        enabl
│ │ │ +001f2cf0: 6564 3a20 6661 6c73 650a 2020 2020 2020  ed: false.      
│ │ │ +001f2d00: 2020 6d61 736b 3a20 7472 7565 0a3c 2f63    mask: true.
│ │ │ +001f2d20: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +001f2dc0: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ +001f2dd0: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
Complexity:low
Disrup │ │ │ +001f2b70: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6d65 tion:me │ │ │ +001f2b80: 6469 756d 3c2f 7464 3e3c 2f74 723e 3c74 dium
Reboot:true
Stra │ │ │ +001f2bc0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +001f2bd0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
< │ │ │ +001f2e60: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +001f2e80: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +001f2ed0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
include disable
│ │ │ +001f2f20: 5f63 7570 730a 0a63 6c61 7373 2064 6973  _cups..class dis
│ │ │ +001f2f30: 6162 6c65 5f63 7570 7320 7b0a 2020 7365  able_cups {.  se
│ │ │ +001f2f40: 7276 6963 6520 7b27 6375 7073 273a 0a20  rvice {'cups':. 
│ │ │ +001f2f50: 2020 2065 6e61 626c 6520 3d26 6774 3b20     enable => 
│ │ │ +001f2f60: 6661 6c73 652c 0a20 2020 2065 6e73 7572  false,.    ensur
│ │ │ +001f2f70: 6520 3d26 6774 3b20 2773 746f 7070 6564  e => 'stopped
│ │ │ +001f2f80: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │ +001f2f90: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ +001f3040: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild │ │ │ +001f3050: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe │ │ │ +001f3060: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +001f30a0: 3c70 7265 3e3c 636f 6465 3e0a 5b63 7573
.[cus
│ │ │ +001f30b0: 746f 6d69 7a61 7469 6f6e 732e 7365 7276  tomizations.serv
│ │ │ +001f30c0: 6963 6573 5d0a 6d61 736b 6564 203d 205b  ices].masked = [
│ │ │ +001f30d0: 2263 7570 7322 5d0a 3c2f 636f 6465 3e3c  "cups"].<
│ │ │  001f30e0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remediation Pup
│ │ │ -001f46f0: 7065 7420 736e 6970 7065 7420 e287 b23c  pet snippet ...<
│ │ │ -001f4700: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173  /a>
low
Disr │ │ │ +001f2e90: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +001f2ea0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +001f2ee0: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ +001f2ef0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -001f4780: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -001f47a0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -001f47f0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -001f4820: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -001f4790: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -001f47b0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -001f4800: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -001f4810: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ -001f4840: 655f 7371 7569 640a 0a63 6c61 7373 2072  e_squid..class r
│ │ │ -001f4850: 656d 6f76 655f 7371 7569 6420 7b0a 2020  emove_squid {.  
│ │ │ -001f4860: 7061 636b 6167 6520 7b20 2773 7175 6964  package { 'squid
│ │ │ -001f4870: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ -001f4880: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ -001f4890: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ -001f4950: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -001f4960: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001f4a10: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -001f4a30: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -001f4a60: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -001f49f0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -001f4a00: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -001f4a20: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -001f4a40: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -001f4a50: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -001f4a90: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -001f4aa0: 3a20 456e 7375 7265 2073 7175 6964 2069 : Ensure squid i │ │ │ -001f4ab0: 7320 7265 6d6f 7665 640a 2020 7061 636b s removed. pack │ │ │ -001f4ac0: 6167 653a 0a20 2020 206e 616d 653a 2073 age:. name: s │ │ │ -001f4ad0: 7175 6964 0a20 2020 2073 7461 7465 3a20 quid. state: │ │ │ -001f4ae0: 6162 7365 6e74 0a20 2074 6167 733a 0a20 absent. tags:. │ │ │ -001f4af0: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat │ │ │ -001f4b00: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp │ │ │ -001f4b10: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d │ │ │ -001f4b20: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f isruption. - no │ │ │ -001f4b30: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed. │ │ │ -001f4b40: 202d 2070 6163 6b61 6765 5f73 7175 6964 - package_squid │ │ │ -001f4b50: 5f72 656d 6f76 6564 0a20 202d 2075 6e6b _removed. - unk │ │ │ -001f4b60: 6e6f 776e 5f73 6576 6572 6974 790a 3c2f nown_severity.Remediation Ans │ │ │ +001f46f0: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ +001f4700: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ +001f4790: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +001f47b0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +001f47d0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +001f4800: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +001f4810: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Ensu
│ │ │ +001f4840: 7265 2073 7175 6964 2069 7320 7265 6d6f  re squid is remo
│ │ │ +001f4850: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ +001f4860: 2020 206e 616d 653a 2073 7175 6964 0a20     name: squid. 
│ │ │ +001f4870: 2020 2073 7461 7465 3a20 6162 7365 6e74     state: absent
│ │ │ +001f4880: 0a20 2074 6167 733a 0a20 202d 2064 6973  .  tags:.  - dis
│ │ │ +001f4890: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +001f48a0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +001f48b0: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +001f48c0: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f  ion.  - no_reboo
│ │ │ +001f48d0: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ +001f48e0: 6b61 6765 5f73 7175 6964 5f72 656d 6f76  kage_squid_remov
│ │ │ +001f48f0: 6564 0a20 202d 2075 6e6b 6e6f 776e 5f73  ed.  - unknown_s
│ │ │ +001f4900: 6576 6572 6974 790a 3c2f 636f 6465 3e3c  everity.<
│ │ │ +001f4910: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remed │ │ │ +001f49c0: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ +001f49d0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ +001f4a80: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +001f4ad0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ +001f4b10: 6c75 6465 2072 656d 6f76 655f 7371 7569  lude remove_squi
│ │ │ +001f4b20: 640a 0a63 6c61 7373 2072 656d 6f76 655f  d..class remove_
│ │ │ +001f4b30: 7371 7569 6420 7b0a 2020 7061 636b 6167  squid {.  packag
│ │ │ +001f4b40: 6520 7b20 2773 7175 6964 273a 0a20 2020  e { 'squid':.   
│ │ │ +001f4b50: 2065 6e73 7572 6520 3d26 6774 3b20 2770   ensure => 'p
│ │ │ +001f4b60: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f  urged',.  }.}.
Remediation │ │ │ -001f5fc0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ -001f5fd0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001f6050: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ -001f60e0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -001f60f0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
Co │ │ │ +001f4a60: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +001f4a90: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +001f4ab0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +001f4ac0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +001f4ae0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +001f4af0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complexi │ │ │ -001f6060: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -001f6070: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ -001f60b0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -001f60c0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
include r
│ │ │ -001f6110: 656d 6f76 655f 7361 6d62 610a 0a63 6c61  emove_samba..cla
│ │ │ -001f6120: 7373 2072 656d 6f76 655f 7361 6d62 6120  ss remove_samba 
│ │ │ -001f6130: 7b0a 2020 7061 636b 6167 6520 7b20 2773  {.  package { 's
│ │ │ -001f6140: 616d 6261 273a 0a20 2020 2065 6e73 7572  amba':.    ensur
│ │ │ -001f6150: 6520 3d26 6774 3b20 2770 7572 6765 6427  e => 'purged'
│ │ │ -001f6160: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ -001f6170: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remed │ │ │ -001f6220: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s │ │ │ -001f6230: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -001f62d0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001f62e0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -001f6330: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ -001f6370: 6e61 6d65 3a20 456e 7375 7265 2073 616d  name: Ensure sam
│ │ │ -001f6380: 6261 2069 7320 7265 6d6f 7665 640a 2020  ba is removed.  
│ │ │ -001f6390: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ -001f63a0: 653a 2073 616d 6261 0a20 2020 2073 7461  e: samba.    sta
│ │ │ -001f63b0: 7465 3a20 6162 7365 6e74 0a20 2074 6167  te: absent.  tag
│ │ │ -001f63c0: 733a 0a20 202d 2064 6973 6162 6c65 5f73  s:.  - disable_s
│ │ │ -001f63d0: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ -001f63e0: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -001f63f0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -001f6400: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -001f6410: 6564 0a20 202d 2070 6163 6b61 6765 5f73  ed.  - package_s
│ │ │ -001f6420: 616d 6261 5f72 656d 6f76 6564 0a20 202d  amba_removed.  -
│ │ │ -001f6430: 2075 6e6b 6e6f 776e 5f73 6576 6572 6974   unknown_severit
│ │ │ -001f6440: 790a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  y.
< │ │ │ +001f5fc0: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ +001f5fd0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +001f6010: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +001f6020: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +001f6030: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +001f6040: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +001f6050: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ +001f60e0: 3c74 643e 6469 7361 626c 653c 2f74 643e │ │ │ +001f60f0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
C │ │ │ -001f62c0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -001f62f0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -001f6300: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -001f6340: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -001f6350: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complex │ │ │ +001f6060: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +001f6070: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ +001f60b0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +001f60c0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
disable
- name: │ │ │ +001f6110: 456e 7375 7265 2073 616d 6261 2069 7320 Ensure samba is │ │ │ +001f6120: 7265 6d6f 7665 640a 2020 7061 636b 6167 removed. packag │ │ │ +001f6130: 653a 0a20 2020 206e 616d 653a 2073 616d e:. name: sam │ │ │ +001f6140: 6261 0a20 2020 2073 7461 7465 3a20 6162 ba. state: ab │ │ │ +001f6150: 7365 6e74 0a20 2074 6167 733a 0a20 202d sent. tags:. - │ │ │ +001f6160: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg │ │ │ +001f6170: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple │ │ │ +001f6180: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis │ │ │ +001f6190: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72 ruption. - no_r │ │ │ +001f61a0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. - │ │ │ +001f61b0: 2070 6163 6b61 6765 5f73 616d 6261 5f72 package_samba_r │ │ │ +001f61c0: 656d 6f76 6564 0a20 202d 2075 6e6b 6e6f emoved. - unkno │ │ │ +001f61d0: 776e 5f73 6576 6572 6974 790a 3c2f 636f wn_severity.
< │ │ │ +001f61f0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +001f6200: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +001f6210: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +001f6220: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +001f6230: 646d 3236 3538 3522 2074 6162 696e 6465 dm26585" tabinde │ │ │ +001f6240: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +001f6250: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +001f6260: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +001f6270: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +001f6280: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +001f6290: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +001f62a0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity: │ │ │ +001f6380: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +001f6390: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ +001f63f0: 7361 6d62 610a 0a63 6c61 7373 2072 656d  samba..class rem
│ │ │ +001f6400: 6f76 655f 7361 6d62 6120 7b0a 2020 7061  ove_samba {.  pa
│ │ │ +001f6410: 636b 6167 6520 7b20 2773 616d 6261 273a  ckage { 'samba':
│ │ │ +001f6420: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ +001f6430: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a  ; 'purged',.  }.
│ │ │ +001f6440: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ 001f6450: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Re │ │ │ -001f7860: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -001f7870: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -001f7880: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
low
Disru │ │ │ +001f6360: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +001f6370: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +001f63b0: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +001f63c0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
< │ │ │ -001f7950: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -001f7960: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -001f79b0: 696e 636c 7564 6520 7265 6d6f 7665 5f73  include remove_s
│ │ │ -001f79c0: 6e6d 700a 0a63 6c61 7373 2072 656d 6f76  nmp..class remov
│ │ │ -001f79d0: 655f 736e 6d70 207b 0a20 2070 6163 6b61  e_snmp {.  packa
│ │ │ -001f79e0: 6765 207b 2027 736e 6d70 273a 0a20 2020  ge { 'snmp':.   
│ │ │ -001f79f0: 2065 6e73 7572 6520 3d26 6774 3b20 2770   ensure => 'p
│ │ │ -001f7a00: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f  urged',.  }.}.
Remediation Ans │ │ │ -001f7ad0: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -001f7ae0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low< │ │ │ -001f7bb0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>
Complexity:low
Disrup │ │ │ -001f7930: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -001f7940: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -001f7980: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -001f7990: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity: │ │ │ -001f7b70: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ -001f7b90: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ -001f7be0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -001f7bf0: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Ensu
│ │ │ -001f7c20: 7265 2073 6e6d 7020 6973 2072 656d 6f76  re snmp is remov
│ │ │ -001f7c30: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ -001f7c40: 2020 6e61 6d65 3a20 736e 6d70 0a20 2020    name: snmp.   
│ │ │ -001f7c50: 2073 7461 7465 3a20 6162 7365 6e74 0a20   state: absent. 
│ │ │ -001f7c60: 2074 6167 733a 0a20 202d 2050 4349 2d44   tags:.  - PCI-D
│ │ │ -001f7c70: 5353 7634 2d32 2e32 0a20 202d 2050 4349  SSv4-2.2.  - PCI
│ │ │ -001f7c80: 2d44 5353 7634 2d32 2e32 2e34 0a20 202d  -DSSv4-2.2.4.  -
│ │ │ -001f7c90: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ -001f7ca0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -001f7cb0: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -001f7cc0: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72  ruption.  - no_r
│ │ │ -001f7cd0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -001f7ce0: 2070 6163 6b61 6765 5f6e 6574 2d73 6e6d   package_net-snm
│ │ │ -001f7cf0: 705f 7265 6d6f 7665 640a 2020 2d20 756e  p_removed.  - un
│ │ │ -001f7d00: 6b6e 6f77 6e5f 7365 7665 7269 7479 0a3c  known_severity.<
│ │ │ +001f7860: 6d65 6469 6174 696f 6e20 416e 7369 626c  mediation Ansibl
│ │ │ +001f7870: 6520 736e 6970 7065 7420 e287 b23c 2f61  e snippet ...
Complexity: │ │ │ +001f7950: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +001f7960: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
- name: Ensure 
│ │ │ +001f79c0: 736e 6d70 2069 7320 7265 6d6f 7665 640a  snmp is removed.
│ │ │ +001f79d0: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ +001f79e0: 616d 653a 2073 6e6d 700a 2020 2020 7374  ame: snmp.    st
│ │ │ +001f79f0: 6174 653a 2061 6273 656e 740a 2020 7461  ate: absent.  ta
│ │ │ +001f7a00: 6773 3a0a 2020 2d20 5043 492d 4453 5376  gs:.  - PCI-DSSv
│ │ │ +001f7a10: 342d 322e 320a 2020 2d20 5043 492d 4453  4-2.2.  - PCI-DS
│ │ │ +001f7a20: 5376 342d 322e 322e 340a 2020 2d20 6469  Sv4-2.2.4.  - di
│ │ │ +001f7a30: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ +001f7a40: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +001f7a50: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +001f7a60: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f  tion.  - no_rebo
│ │ │ +001f7a70: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ +001f7a80: 636b 6167 655f 6e65 742d 736e 6d70 5f72  ckage_net-snmp_r
│ │ │ +001f7a90: 656d 6f76 6564 0a20 202d 2075 6e6b 6e6f  emoved.  - unkno
│ │ │ +001f7aa0: 776e 5f73 6576 6572 6974 790a 3c2f 636f  wn_severity.
< │ │ │ +001f7ac0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +001f7ad0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +001f7ae0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +001f7af0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +001f7b00: 646d 3236 3630 3822 2074 6162 696e 6465 dm26608" tabinde │ │ │ +001f7b10: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +001f7b20: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +001f7b30: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +001f7b40: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +001f7b50: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +001f7b60: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +001f7b70: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
low
Disru │ │ │ +001f7930: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +001f7940: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +001f7980: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +001f7990: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complexity: │ │ │ +001f7c50: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +001f7c60: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ +001f7cc0: 736e 6d70 0a0a 636c 6173 7320 7265 6d6f  snmp..class remo
│ │ │ +001f7cd0: 7665 5f73 6e6d 7020 7b0a 2020 7061 636b  ve_snmp {.  pack
│ │ │ +001f7ce0: 6167 6520 7b20 2773 6e6d 7027 3a0a 2020  age { 'snmp':.  
│ │ │ +001f7cf0: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ +001f7d00: 7075 7267 6564 272c 0a20 207d 0a7d 0a3c  purged',.  }.}.<
│ │ │  001f7d10: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ -002247b0: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ -002247c0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ -00224800: 3c63 6f64 653e 696e 636c 7564 6520 7373  include ss
│ │ │ -00224810: 685f 7072 6976 6174 655f 6b65 795f 7065  h_private_key_pe
│ │ │ -00224820: 726d 730a 0a63 6c61 7373 2073 7368 5f70  rms..class ssh_p
│ │ │ -00224830: 7269 7661 7465 5f6b 6579 5f70 6572 6d73  rivate_key_perms
│ │ │ -00224840: 207b 0a20 2065 7865 6320 7b20 2773 7368   {.  exec { 'ssh
│ │ │ -00224850: 645f 7072 6976 5f6b 6579 273a 0a20 2020  d_priv_key':.   
│ │ │ -00224860: 2063 6f6d 6d61 6e64 203d 2667 743b 2022   command => "
│ │ │ -00224870: 6368 6d6f 6420 3036 3430 202f 6574 632f  chmod 0640 /etc/
│ │ │ -00224880: 7373 682f 2a5f 6b65 7922 2c0a 2020 2020  ssh/*_key",.    
│ │ │ -00224890: 7061 7468 2020 2020 3d26 6774 3b20 272f  path    => '/
│ │ │ -002248a0: 6269 6e3a 2f75 7372 2f62 696e 270a 2020  bin:/usr/bin'.  
│ │ │ -002248b0: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ -00224970: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -00224980: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
low
Disru │ │ │ +001f7c30: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +001f7c40: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +001f7c80: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +001f7c90: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -00224a30: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -00224a50: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -00224a80: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -00224a10: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -00224a20: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -00224a40: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -00224a60: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -00224a70: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:configure< │ │ │ -00224aa0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -00224ac0: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ -00224ad0: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ -00224ae0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ -00224af0: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ -00224b00: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ -00224b10: 2d38 3030 2d31 3731 2d33 2e31 2e31 330a  -800-171-3.1.13.
│ │ │ -00224b20: 2020 2d20 4e49 5354 2d38 3030 2d31 3731    - NIST-800-171
│ │ │ -00224b30: 2d33 2e31 332e 3130 0a20 202d 204e 4953  -3.13.10.  - NIS
│ │ │ -00224b40: 542d 3830 302d 3533 2d41 432d 3137 2861  T-800-53-AC-17(a
│ │ │ -00224b50: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -00224b60: 332d 4143 2d36 2831 290a 2020 2d20 4e49  3-AC-6(1).  - NI
│ │ │ -00224b70: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ -00224b80: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ -00224b90: 712d 322e 322e 340a 2020 2d20 5043 492d  q-2.2.4.  - PCI-
│ │ │ -00224ba0: 4453 5376 342d 322e 320a 2020 2d20 5043  DSSv4-2.2.  - PC
│ │ │ -00224bb0: 492d 4453 5376 342d 322e 322e 360a 2020  I-DSSv4-2.2.6.  
│ │ │ -00224bc0: 2d20 636f 6e66 6967 7572 655f 7374 7261  - configure_stra
│ │ │ -00224bd0: 7465 6779 0a20 202d 2066 696c 655f 7065  tegy.  - file_pe
│ │ │ -00224be0: 726d 6973 7369 6f6e 735f 7373 6864 5f70  rmissions_sshd_p
│ │ │ -00224bf0: 7269 7661 7465 5f6b 6579 0a20 202d 206c  rivate_key.  - l
│ │ │ -00224c00: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ -00224c10: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -00224c20: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ -00224c30: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -00224c40: 6f74 5f6e 6565 6465 640a 0a2d 206e 616d  ot_needed..- nam
│ │ │ -00224c50: 653a 2046 696e 6420 726f 6f74 3a72 6f6f  e: Find root:roo
│ │ │ -00224c60: 742d 6f77 6e65 6420 6b65 7973 0a20 2061  t-owned keys.  a
│ │ │ -00224c70: 6e73 6962 6c65 2e62 7569 6c74 696e 2e63  nsible.builtin.c
│ │ │ -00224c80: 6f6d 6d61 6e64 3a20 6669 6e64 202d 4820  ommand: find -H 
│ │ │ -00224c90: 2f65 7463 2f73 7368 2f20 2d6d 6178 6465  /etc/ssh/ -maxde
│ │ │ -00224ca0: 7074 6820 3120 2d75 7365 7220 726f 6f74  pth 1 -user root
│ │ │ -00224cb0: 202d 7265 6765 7820 222e 2a5f 6b65 7924   -regex ".*_key$
│ │ │ -00224cc0: 220a 2020 2020 2d74 7970 6520 6620 2d67  ".    -type f -g
│ │ │ -00224cd0: 726f 7570 2072 6f6f 7420 2d70 6572 6d20  roup root -perm 
│ │ │ -00224ce0: 2f75 2b78 732c 672b 7877 7273 2c6f 2b78  /u+xs,g+xwrs,o+x
│ │ │ -00224cf0: 7772 740a 2020 7265 6769 7374 6572 3a20  wrt.  register: 
│ │ │ -00224d00: 726f 6f74 5f6f 776e 6564 5f6b 6579 730a  root_owned_keys.
│ │ │ -00224d10: 2020 6368 616e 6765 645f 7768 656e 3a20    changed_when: 
│ │ │ -00224d20: 6661 6c73 650a 2020 6661 696c 6564 5f77  false.  failed_w
│ │ │ -00224d30: 6865 6e3a 2066 616c 7365 0a20 2063 6865  hen: false.  che
│ │ │ -00224d40: 636b 5f6d 6f64 653a 2066 616c 7365 0a20  ck_mode: false. 
│ │ │ -00224d50: 2077 6865 6e3a 2027 226c 696e 7578 2d62   when: '"linux-b
│ │ │ -00224d60: 6173 6522 2069 6e20 616e 7369 626c 655f  ase" in ansible_
│ │ │ -00224d70: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -00224d80: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ -00224d90: 2d38 3030 2d31 3731 2d33 2e31 2e31 330a  -800-171-3.1.13.
│ │ │ -00224da0: 2020 2d20 4e49 5354 2d38 3030 2d31 3731    - NIST-800-171
│ │ │ -00224db0: 2d33 2e31 332e 3130 0a20 202d 204e 4953  -3.13.10.  - NIS
│ │ │ -00224dc0: 542d 3830 302d 3533 2d41 432d 3137 2861  T-800-53-AC-17(a
│ │ │ -00224dd0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -00224de0: 332d 4143 2d36 2831 290a 2020 2d20 4e49  3-AC-6(1).  - NI
│ │ │ -00224df0: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ -00224e00: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ -00224e10: 712d 322e 322e 340a 2020 2d20 5043 492d  q-2.2.4.  - PCI-
│ │ │ -00224e20: 4453 5376 342d 322e 320a 2020 2d20 5043  DSSv4-2.2.  - PC
│ │ │ -00224e30: 492d 4453 5376 342d 322e 322e 360a 2020  I-DSSv4-2.2.6.  
│ │ │ -00224e40: 2d20 636f 6e66 6967 7572 655f 7374 7261  - configure_stra
│ │ │ -00224e50: 7465 6779 0a20 202d 2066 696c 655f 7065  tegy.  - file_pe
│ │ │ -00224e60: 726d 6973 7369 6f6e 735f 7373 6864 5f70  rmissions_sshd_p
│ │ │ -00224e70: 7269 7661 7465 5f6b 6579 0a20 202d 206c  rivate_key.  - l
│ │ │ -00224e80: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ -00224e90: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -00224ea0: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ -00224eb0: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -00224ec0: 6f74 5f6e 6565 6465 640a 0a2d 206e 616d  ot_needed..- nam
│ │ │ -00224ed0: 653a 2053 6574 2070 6572 6d69 7373 696f  e: Set permissio
│ │ │ -00224ee0: 6e73 2066 6f72 2072 6f6f 743a 726f 6f74  ns for root:root
│ │ │ -00224ef0: 2d6f 776e 6564 206b 6579 730a 2020 616e  -owned keys.  an
│ │ │ -00224f00: 7369 626c 652e 6275 696c 7469 6e2e 6669  sible.builtin.fi
│ │ │ -00224f10: 6c65 3a0a 2020 2020 7061 7468 3a20 277b  le:.    path: '{
│ │ │ -00224f20: 7b20 6974 656d 207d 7d27 0a20 2020 206d  { item }}'.    m
│ │ │ -00224f30: 6f64 653a 2075 2d78 732c 672d 7877 7273  ode: u-xs,g-xwrs
│ │ │ -00224f40: 2c6f 2d78 7772 740a 2020 2020 7374 6174  ,o-xwrt.    stat
│ │ │ -00224f50: 653a 2066 696c 650a 2020 7769 7468 5f69  e: file.  with_i
│ │ │ -00224f60: 7465 6d73 3a0a 2020 2d20 277b 7b20 726f  tems:.  - '{{ ro
│ │ │ -00224f70: 6f74 5f6f 776e 6564 5f6b 6579 732e 7374  ot_owned_keys.st
│ │ │ -00224f80: 646f 7574 5f6c 696e 6573 207d 7d27 0a20  dout_lines }}'. 
│ │ │ -00224f90: 2077 6865 6e3a 2027 226c 696e 7578 2d62   when: '"linux-b
│ │ │ -00224fa0: 6173 6522 2069 6e20 616e 7369 626c 655f  ase" in ansible_
│ │ │ -00224fb0: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -00224fc0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ -00224fd0: 2d38 3030 2d31 3731 2d33 2e31 2e31 330a  -800-171-3.1.13.
│ │ │ -00224fe0: 2020 2d20 4e49 5354 2d38 3030 2d31 3731    - NIST-800-171
│ │ │ -00224ff0: 2d33 2e31 332e 3130 0a20 202d 204e 4953  -3.13.10.  - NIS
│ │ │ -00225000: 542d 3830 302d 3533 2d41 432d 3137 2861  T-800-53-AC-17(a
│ │ │ -00225010: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -00225020: 332d 4143 2d36 2831 290a 2020 2d20 4e49  3-AC-6(1).  - NI
│ │ │ -00225030: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ -00225040: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ -00225050: 712d 322e 322e 340a 2020 2d20 5043 492d  q-2.2.4.  - PCI-
│ │ │ -00225060: 4453 5376 342d 322e 320a 2020 2d20 5043  DSSv4-2.2.  - PC
│ │ │ -00225070: 492d 4453 5376 342d 322e 322e 360a 2020  I-DSSv4-2.2.6.  
│ │ │ -00225080: 2d20 636f 6e66 6967 7572 655f 7374 7261  - configure_stra
│ │ │ -00225090: 7465 6779 0a20 202d 2066 696c 655f 7065  tegy.  - file_pe
│ │ │ -002250a0: 726d 6973 7369 6f6e 735f 7373 6864 5f70  rmissions_sshd_p
│ │ │ -002250b0: 7269 7661 7465 5f6b 6579 0a20 202d 206c  rivate_key.  - l
│ │ │ -002250c0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ -002250d0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -002250e0: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ -002250f0: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -00225100: 6f74 5f6e 6565 6465 640a 3c2f 636f 6465  ot_needed.Remediation An
│ │ │ +002247b0: 7369 626c 6520 736e 6970 7065 7420 e287  sible snippet ..
│ │ │ +002247c0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c  .
Complexity │ │ │ +00224850: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +00224870: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +00224880: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +00224890: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +002248a0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +002248c0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:configure< │ │ │ +002248e0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ +00224900: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ +00224910: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ +00224920: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ +00224930: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ +00224940: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +00224950: 3137 312d 332e 312e 3133 0a20 202d 204e  171-3.1.13.  - N
│ │ │ +00224960: 4953 542d 3830 302d 3137 312d 332e 3133  IST-800-171-3.13
│ │ │ +00224970: 2e31 300a 2020 2d20 4e49 5354 2d38 3030  .10.  - NIST-800
│ │ │ +00224980: 2d35 332d 4143 2d31 3728 6129 0a20 202d  -53-AC-17(a).  -
│ │ │ +00224990: 204e 4953 542d 3830 302d 3533 2d41 432d   NIST-800-53-AC-
│ │ │ +002249a0: 3628 3129 0a20 202d 204e 4953 542d 3830  6(1).  - NIST-80
│ │ │ +002249b0: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ +002249c0: 2050 4349 2d44 5353 2d52 6571 2d32 2e32   PCI-DSS-Req-2.2
│ │ │ +002249d0: 2e34 0a20 202d 2050 4349 2d44 5353 7634  .4.  - PCI-DSSv4
│ │ │ +002249e0: 2d32 2e32 0a20 202d 2050 4349 2d44 5353  -2.2.  - PCI-DSS
│ │ │ +002249f0: 7634 2d32 2e32 2e36 0a20 202d 2063 6f6e  v4-2.2.6.  - con
│ │ │ +00224a00: 6669 6775 7265 5f73 7472 6174 6567 790a  figure_strategy.
│ │ │ +00224a10: 2020 2d20 6669 6c65 5f70 6572 6d69 7373    - file_permiss
│ │ │ +00224a20: 696f 6e73 5f73 7368 645f 7072 6976 6174  ions_sshd_privat
│ │ │ +00224a30: 655f 6b65 790a 2020 2d20 6c6f 775f 636f  e_key.  - low_co
│ │ │ +00224a40: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +00224a50: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +00224a60: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ +00224a70: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ +00224a80: 6564 6564 0a0a 2d20 6e61 6d65 3a20 4669  eded..- name: Fi
│ │ │ +00224a90: 6e64 2072 6f6f 743a 726f 6f74 2d6f 776e  nd root:root-own
│ │ │ +00224aa0: 6564 206b 6579 730a 2020 616e 7369 626c  ed keys.  ansibl
│ │ │ +00224ab0: 652e 6275 696c 7469 6e2e 636f 6d6d 616e  e.builtin.comman
│ │ │ +00224ac0: 643a 2066 696e 6420 2d48 202f 6574 632f  d: find -H /etc/
│ │ │ +00224ad0: 7373 682f 202d 6d61 7864 6570 7468 2031  ssh/ -maxdepth 1
│ │ │ +00224ae0: 202d 7573 6572 2072 6f6f 7420 2d72 6567   -user root -reg
│ │ │ +00224af0: 6578 2022 2e2a 5f6b 6579 2422 0a20 2020  ex ".*_key$".   
│ │ │ +00224b00: 202d 7479 7065 2066 202d 6772 6f75 7020   -type f -group 
│ │ │ +00224b10: 726f 6f74 202d 7065 726d 202f 752b 7873  root -perm /u+xs
│ │ │ +00224b20: 2c67 2b78 7772 732c 6f2b 7877 7274 0a20  ,g+xwrs,o+xwrt. 
│ │ │ +00224b30: 2072 6567 6973 7465 723a 2072 6f6f 745f   register: root_
│ │ │ +00224b40: 6f77 6e65 645f 6b65 7973 0a20 2063 6861  owned_keys.  cha
│ │ │ +00224b50: 6e67 6564 5f77 6865 6e3a 2066 616c 7365  nged_when: false
│ │ │ +00224b60: 0a20 2066 6169 6c65 645f 7768 656e 3a20  .  failed_when: 
│ │ │ +00224b70: 6661 6c73 650a 2020 6368 6563 6b5f 6d6f  false.  check_mo
│ │ │ +00224b80: 6465 3a20 6661 6c73 650a 2020 7768 656e  de: false.  when
│ │ │ +00224b90: 3a20 2722 6c69 6e75 782d 6261 7365 2220  : '"linux-base" 
│ │ │ +00224ba0: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +00224bb0: 2e70 6163 6b61 6765 7327 0a20 2074 6167  .packages'.  tag
│ │ │ +00224bc0: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +00224bd0: 3137 312d 332e 312e 3133 0a20 202d 204e  171-3.1.13.  - N
│ │ │ +00224be0: 4953 542d 3830 302d 3137 312d 332e 3133  IST-800-171-3.13
│ │ │ +00224bf0: 2e31 300a 2020 2d20 4e49 5354 2d38 3030  .10.  - NIST-800
│ │ │ +00224c00: 2d35 332d 4143 2d31 3728 6129 0a20 202d  -53-AC-17(a).  -
│ │ │ +00224c10: 204e 4953 542d 3830 302d 3533 2d41 432d   NIST-800-53-AC-
│ │ │ +00224c20: 3628 3129 0a20 202d 204e 4953 542d 3830  6(1).  - NIST-80
│ │ │ +00224c30: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ +00224c40: 2050 4349 2d44 5353 2d52 6571 2d32 2e32   PCI-DSS-Req-2.2
│ │ │ +00224c50: 2e34 0a20 202d 2050 4349 2d44 5353 7634  .4.  - PCI-DSSv4
│ │ │ +00224c60: 2d32 2e32 0a20 202d 2050 4349 2d44 5353  -2.2.  - PCI-DSS
│ │ │ +00224c70: 7634 2d32 2e32 2e36 0a20 202d 2063 6f6e  v4-2.2.6.  - con
│ │ │ +00224c80: 6669 6775 7265 5f73 7472 6174 6567 790a  figure_strategy.
│ │ │ +00224c90: 2020 2d20 6669 6c65 5f70 6572 6d69 7373    - file_permiss
│ │ │ +00224ca0: 696f 6e73 5f73 7368 645f 7072 6976 6174  ions_sshd_privat
│ │ │ +00224cb0: 655f 6b65 790a 2020 2d20 6c6f 775f 636f  e_key.  - low_co
│ │ │ +00224cc0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +00224cd0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +00224ce0: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ +00224cf0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ +00224d00: 6564 6564 0a0a 2d20 6e61 6d65 3a20 5365  eded..- name: Se
│ │ │ +00224d10: 7420 7065 726d 6973 7369 6f6e 7320 666f  t permissions fo
│ │ │ +00224d20: 7220 726f 6f74 3a72 6f6f 742d 6f77 6e65  r root:root-owne
│ │ │ +00224d30: 6420 6b65 7973 0a20 2061 6e73 6962 6c65  d keys.  ansible
│ │ │ +00224d40: 2e62 7569 6c74 696e 2e66 696c 653a 0a20  .builtin.file:. 
│ │ │ +00224d50: 2020 2070 6174 683a 2027 7b7b 2069 7465     path: '{{ ite
│ │ │ +00224d60: 6d20 7d7d 270a 2020 2020 6d6f 6465 3a20  m }}'.    mode: 
│ │ │ +00224d70: 752d 7873 2c67 2d78 7772 732c 6f2d 7877  u-xs,g-xwrs,o-xw
│ │ │ +00224d80: 7274 0a20 2020 2073 7461 7465 3a20 6669  rt.    state: fi
│ │ │ +00224d90: 6c65 0a20 2077 6974 685f 6974 656d 733a  le.  with_items:
│ │ │ +00224da0: 0a20 202d 2027 7b7b 2072 6f6f 745f 6f77  .  - '{{ root_ow
│ │ │ +00224db0: 6e65 645f 6b65 7973 2e73 7464 6f75 745f  ned_keys.stdout_
│ │ │ +00224dc0: 6c69 6e65 7320 7d7d 270a 2020 7768 656e  lines }}'.  when
│ │ │ +00224dd0: 3a20 2722 6c69 6e75 782d 6261 7365 2220  : '"linux-base" 
│ │ │ +00224de0: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +00224df0: 2e70 6163 6b61 6765 7327 0a20 2074 6167  .packages'.  tag
│ │ │ +00224e00: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +00224e10: 3137 312d 332e 312e 3133 0a20 202d 204e  171-3.1.13.  - N
│ │ │ +00224e20: 4953 542d 3830 302d 3137 312d 332e 3133  IST-800-171-3.13
│ │ │ +00224e30: 2e31 300a 2020 2d20 4e49 5354 2d38 3030  .10.  - NIST-800
│ │ │ +00224e40: 2d35 332d 4143 2d31 3728 6129 0a20 202d  -53-AC-17(a).  -
│ │ │ +00224e50: 204e 4953 542d 3830 302d 3533 2d41 432d   NIST-800-53-AC-
│ │ │ +00224e60: 3628 3129 0a20 202d 204e 4953 542d 3830  6(1).  - NIST-80
│ │ │ +00224e70: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ +00224e80: 2050 4349 2d44 5353 2d52 6571 2d32 2e32   PCI-DSS-Req-2.2
│ │ │ +00224e90: 2e34 0a20 202d 2050 4349 2d44 5353 7634  .4.  - PCI-DSSv4
│ │ │ +00224ea0: 2d32 2e32 0a20 202d 2050 4349 2d44 5353  -2.2.  - PCI-DSS
│ │ │ +00224eb0: 7634 2d32 2e32 2e36 0a20 202d 2063 6f6e  v4-2.2.6.  - con
│ │ │ +00224ec0: 6669 6775 7265 5f73 7472 6174 6567 790a  figure_strategy.
│ │ │ +00224ed0: 2020 2d20 6669 6c65 5f70 6572 6d69 7373    - file_permiss
│ │ │ +00224ee0: 696f 6e73 5f73 7368 645f 7072 6976 6174  ions_sshd_privat
│ │ │ +00224ef0: 655f 6b65 790a 2020 2d20 6c6f 775f 636f  e_key.  - low_co
│ │ │ +00224f00: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +00224f10: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +00224f20: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ +00224f30: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ +00224f40: 6564 6564 0a3c 2f63 6f64 653e 3c2f 7072  eded.
Remediat │ │ │ +00225000: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ +00225010: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
incl
│ │ │ +00225060: 7564 6520 7373 685f 7072 6976 6174 655f  ude ssh_private_
│ │ │ +00225070: 6b65 795f 7065 726d 730a 0a63 6c61 7373  key_perms..class
│ │ │ +00225080: 2073 7368 5f70 7269 7661 7465 5f6b 6579   ssh_private_key
│ │ │ +00225090: 5f70 6572 6d73 207b 0a20 2065 7865 6320  _perms {.  exec 
│ │ │ +002250a0: 7b20 2773 7368 645f 7072 6976 5f6b 6579  { 'sshd_priv_key
│ │ │ +002250b0: 273a 0a20 2020 2063 6f6d 6d61 6e64 203d  ':.    command =
│ │ │ +002250c0: 2667 743b 2022 6368 6d6f 6420 3036 3430  > "chmod 0640
│ │ │ +002250d0: 202f 6574 632f 7373 682f 2a5f 6b65 7922   /etc/ssh/*_key"
│ │ │ +002250e0: 2c0a 2020 2020 7061 7468 2020 2020 3d26  ,.    path    =&
│ │ │ +002250f0: 6774 3b20 272f 6269 6e3a 2f75 7372 2f62  gt; '/bin:/usr/b
│ │ │ +00225100: 696e 270a 2020 7d0a 7d0a 3c2f 636f 6465  in'.  }.}.
Remediati │ │ │ -002265e0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -002265f0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -00226630: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -00226640: 6465 2073 7368 5f70 7562 6c69 635f 6b65  de ssh_public_ke
│ │ │ -00226650: 795f 7065 726d 730a 0a63 6c61 7373 2073  y_perms..class s
│ │ │ -00226660: 7368 5f70 7562 6c69 635f 6b65 795f 7065  sh_public_key_pe
│ │ │ -00226670: 726d 7320 7b0a 2020 6578 6563 207b 2027  rms {.  exec { '
│ │ │ -00226680: 7373 6864 5f70 7562 5f6b 6579 273a 0a20  sshd_pub_key':. 
│ │ │ -00226690: 2020 2063 6f6d 6d61 6e64 203d 2667 743b     command =>
│ │ │ -002266a0: 2022 6368 6d6f 6420 3036 3434 202f 6574   "chmod 0644 /et
│ │ │ -002266b0: 632f 7373 682f 2a2e 7075 6222 2c0a 2020  c/ssh/*.pub",.  
│ │ │ -002266c0: 2020 7061 7468 2020 2020 3d26 6774 3b20    path    => 
│ │ │ -002266d0: 272f 6269 6e3a 2f75 7372 2f62 696e 270a  '/bin:/usr/bin'.
│ │ │ -002266e0: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ -002267a0: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ -002267b0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -002267c0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
- 
│ │ │ -002268f0: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ -00226900: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ -00226910: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ -00226920: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ -00226930: 6f0a 2020 7461 6773 3a0a 2020 2d20 4e49  o.  tags:.  - NI
│ │ │ -00226940: 5354 2d38 3030 2d31 3731 2d33 2e31 2e31  ST-800-171-3.1.1
│ │ │ -00226950: 330a 2020 2d20 4e49 5354 2d38 3030 2d31  3.  - NIST-800-1
│ │ │ -00226960: 3731 2d33 2e31 332e 3130 0a20 202d 204e  71-3.13.10.  - N
│ │ │ -00226970: 4953 542d 3830 302d 3533 2d41 432d 3137  IST-800-53-AC-17
│ │ │ -00226980: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ -00226990: 2d35 332d 4143 2d36 2831 290a 2020 2d20  -53-AC-6(1).  - 
│ │ │ -002269a0: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ -002269b0: 2861 290a 2020 2d20 5043 492d 4453 532d  (a).  - PCI-DSS-
│ │ │ -002269c0: 5265 712d 322e 322e 340a 2020 2d20 5043  Req-2.2.4.  - PC
│ │ │ -002269d0: 492d 4453 5376 342d 322e 320a 2020 2d20  I-DSSv4-2.2.  - 
│ │ │ -002269e0: 5043 492d 4453 5376 342d 322e 322e 360a  PCI-DSSv4-2.2.6.
│ │ │ -002269f0: 2020 2d20 636f 6e66 6967 7572 655f 7374    - configure_st
│ │ │ -00226a00: 7261 7465 6779 0a20 202d 2066 696c 655f  rategy.  - file_
│ │ │ -00226a10: 7065 726d 6973 7369 6f6e 735f 7373 6864  permissions_sshd
│ │ │ -00226a20: 5f70 7562 5f6b 6579 0a20 202d 206c 6f77  _pub_key.  - low
│ │ │ -00226a30: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -00226a40: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -00226a50: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ -00226a60: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -00226a70: 5f6e 6565 6465 640a 0a2d 206e 616d 653a  _needed..- name:
│ │ │ -00226a80: 2046 696e 6420 2f65 7463 2f73 7368 2f20   Find /etc/ssh/ 
│ │ │ -00226a90: 6669 6c65 2873 290a 2020 636f 6d6d 616e  file(s).  comman
│ │ │ -00226aa0: 643a 2066 696e 6420 2d48 202f 6574 632f  d: find -H /etc/
│ │ │ -00226ab0: 7373 682f 202d 6d61 7864 6570 7468 2031  ssh/ -maxdepth 1
│ │ │ -00226ac0: 202d 7065 726d 202f 752b 7873 2c67 2b78   -perm /u+xs,g+x
│ │ │ -00226ad0: 7773 2c6f 2b78 7774 2020 2d74 7970 6520  ws,o+xwt  -type 
│ │ │ -00226ae0: 6620 2d72 6567 6578 7479 7065 0a20 2020  f -regextype.   
│ │ │ -00226af0: 2070 6f73 6978 2d65 7874 656e 6465 6420   posix-extended 
│ │ │ -00226b00: 2d72 6567 6578 2022 5e2e 2a5c 2e70 7562  -regex "^.*\.pub
│ │ │ -00226b10: 2422 0a20 2072 6567 6973 7465 723a 2066  $".  register: f
│ │ │ -00226b20: 696c 6573 5f66 6f75 6e64 0a20 2063 6861  iles_found.  cha
│ │ │ -00226b30: 6e67 6564 5f77 6865 6e3a 2066 616c 7365  nged_when: false
│ │ │ -00226b40: 0a20 2066 6169 6c65 645f 7768 656e 3a20  .  failed_when: 
│ │ │ -00226b50: 6661 6c73 650a 2020 6368 6563 6b5f 6d6f  false.  check_mo
│ │ │ -00226b60: 6465 3a20 6661 6c73 650a 2020 7768 656e  de: false.  when
│ │ │ -00226b70: 3a20 2722 6c69 6e75 782d 6261 7365 2220  : '"linux-base" 
│ │ │ -00226b80: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -00226b90: 2e70 6163 6b61 6765 7327 0a20 2074 6167  .packages'.  tag
│ │ │ -00226ba0: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ -00226bb0: 3137 312d 332e 312e 3133 0a20 202d 204e  171-3.1.13.  - N
│ │ │ -00226bc0: 4953 542d 3830 302d 3137 312d 332e 3133  IST-800-171-3.13
│ │ │ -00226bd0: 2e31 300a 2020 2d20 4e49 5354 2d38 3030  .10.  - NIST-800
│ │ │ -00226be0: 2d35 332d 4143 2d31 3728 6129 0a20 202d  -53-AC-17(a).  -
│ │ │ -00226bf0: 204e 4953 542d 3830 302d 3533 2d41 432d   NIST-800-53-AC-
│ │ │ -00226c00: 3628 3129 0a20 202d 204e 4953 542d 3830  6(1).  - NIST-80
│ │ │ -00226c10: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ -00226c20: 2050 4349 2d44 5353 2d52 6571 2d32 2e32   PCI-DSS-Req-2.2
│ │ │ -00226c30: 2e34 0a20 202d 2050 4349 2d44 5353 7634  .4.  - PCI-DSSv4
│ │ │ -00226c40: 2d32 2e32 0a20 202d 2050 4349 2d44 5353  -2.2.  - PCI-DSS
│ │ │ -00226c50: 7634 2d32 2e32 2e36 0a20 202d 2063 6f6e  v4-2.2.6.  - con
│ │ │ -00226c60: 6669 6775 7265 5f73 7472 6174 6567 790a  figure_strategy.
│ │ │ -00226c70: 2020 2d20 6669 6c65 5f70 6572 6d69 7373    - file_permiss
│ │ │ -00226c80: 696f 6e73 5f73 7368 645f 7075 625f 6b65  ions_sshd_pub_ke
│ │ │ -00226c90: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -00226ca0: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -00226cb0: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ -00226cc0: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ -00226cd0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -00226ce0: 0a0a 2d20 6e61 6d65 3a20 5365 7420 7065  ..- name: Set pe
│ │ │ -00226cf0: 726d 6973 7369 6f6e 7320 666f 7220 2f65  rmissions for /e
│ │ │ -00226d00: 7463 2f73 7368 2f20 6669 6c65 2873 290a  tc/ssh/ file(s).
│ │ │ -00226d10: 2020 6669 6c65 3a0a 2020 2020 7061 7468    file:.    path
│ │ │ -00226d20: 3a20 277b 7b20 6974 656d 207d 7d27 0a20  : '{{ item }}'. 
│ │ │ -00226d30: 2020 206d 6f64 653a 2075 2d78 732c 672d     mode: u-xs,g-
│ │ │ -00226d40: 7877 732c 6f2d 7877 740a 2020 2020 7374  xws,o-xwt.    st
│ │ │ -00226d50: 6174 653a 2066 696c 650a 2020 7769 7468  ate: file.  with
│ │ │ -00226d60: 5f69 7465 6d73 3a0a 2020 2d20 277b 7b20  _items:.  - '{{ 
│ │ │ -00226d70: 6669 6c65 735f 666f 756e 642e 7374 646f  files_found.stdo
│ │ │ -00226d80: 7574 5f6c 696e 6573 207d 7d27 0a20 2077  ut_lines }}'.  w
│ │ │ -00226d90: 6865 6e3a 2027 226c 696e 7578 2d62 6173  hen: '"linux-bas
│ │ │ -00226da0: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ -00226db0: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ -00226dc0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ -00226dd0: 3030 2d31 3731 2d33 2e31 2e31 330a 2020  00-171-3.1.13.  
│ │ │ -00226de0: 2d20 4e49 5354 2d38 3030 2d31 3731 2d33  - NIST-800-171-3
│ │ │ -00226df0: 2e31 332e 3130 0a20 202d 204e 4953 542d  .13.10.  - NIST-
│ │ │ -00226e00: 3830 302d 3533 2d41 432d 3137 2861 290a  800-53-AC-17(a).
│ │ │ -00226e10: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -00226e20: 4143 2d36 2831 290a 2020 2d20 4e49 5354  AC-6(1).  - NIST
│ │ │ -00226e30: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ -00226e40: 2020 2d20 5043 492d 4453 532d 5265 712d    - PCI-DSS-Req-
│ │ │ -00226e50: 322e 322e 340a 2020 2d20 5043 492d 4453  2.2.4.  - PCI-DS
│ │ │ -00226e60: 5376 342d 322e 320a 2020 2d20 5043 492d  Sv4-2.2.  - PCI-
│ │ │ -00226e70: 4453 5376 342d 322e 322e 360a 2020 2d20  DSSv4-2.2.6.  - 
│ │ │ -00226e80: 636f 6e66 6967 7572 655f 7374 7261 7465  configure_strate
│ │ │ -00226e90: 6779 0a20 202d 2066 696c 655f 7065 726d  gy.  - file_perm
│ │ │ -00226ea0: 6973 7369 6f6e 735f 7373 6864 5f70 7562  issions_sshd_pub
│ │ │ -00226eb0: 5f6b 6579 0a20 202d 206c 6f77 5f63 6f6d  _key.  - low_com
│ │ │ -00226ec0: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -00226ed0: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ -00226ee0: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ -00226ef0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -00226f00: 6465 640a 3c2f 636f 6465 3e3c 2f70 7265  ded.

Com │ │ │ -00226840: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -00226870: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -00226890: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -002268a0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -002268c0: 2f74 683e 3c74 643e 636f 6e66 6967 7572 /th>configur │ │ │ -002268d0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
│ │ │ +002266a0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +002266c0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +002266f0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +00226680: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +00226690: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +002266b0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +002266d0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +002266e0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:configure< │ │ │ +00226710: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +00226730: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ +00226740: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ +00226750: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ +00226760: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ +00226770: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ +00226780: 2d38 3030 2d31 3731 2d33 2e31 2e31 330a  -800-171-3.1.13.
│ │ │ +00226790: 2020 2d20 4e49 5354 2d38 3030 2d31 3731    - NIST-800-171
│ │ │ +002267a0: 2d33 2e31 332e 3130 0a20 202d 204e 4953  -3.13.10.  - NIS
│ │ │ +002267b0: 542d 3830 302d 3533 2d41 432d 3137 2861  T-800-53-AC-17(a
│ │ │ +002267c0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +002267d0: 332d 4143 2d36 2831 290a 2020 2d20 4e49  3-AC-6(1).  - NI
│ │ │ +002267e0: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +002267f0: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ +00226800: 712d 322e 322e 340a 2020 2d20 5043 492d  q-2.2.4.  - PCI-
│ │ │ +00226810: 4453 5376 342d 322e 320a 2020 2d20 5043  DSSv4-2.2.  - PC
│ │ │ +00226820: 492d 4453 5376 342d 322e 322e 360a 2020  I-DSSv4-2.2.6.  
│ │ │ +00226830: 2d20 636f 6e66 6967 7572 655f 7374 7261  - configure_stra
│ │ │ +00226840: 7465 6779 0a20 202d 2066 696c 655f 7065  tegy.  - file_pe
│ │ │ +00226850: 726d 6973 7369 6f6e 735f 7373 6864 5f70  rmissions_sshd_p
│ │ │ +00226860: 7562 5f6b 6579 0a20 202d 206c 6f77 5f63  ub_key.  - low_c
│ │ │ +00226870: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +00226880: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +00226890: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ +002268a0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +002268b0: 6565 6465 640a 0a2d 206e 616d 653a 2046  eeded..- name: F
│ │ │ +002268c0: 696e 6420 2f65 7463 2f73 7368 2f20 6669  ind /etc/ssh/ fi
│ │ │ +002268d0: 6c65 2873 290a 2020 636f 6d6d 616e 643a  le(s).  command:
│ │ │ +002268e0: 2066 696e 6420 2d48 202f 6574 632f 7373   find -H /etc/ss
│ │ │ +002268f0: 682f 202d 6d61 7864 6570 7468 2031 202d  h/ -maxdepth 1 -
│ │ │ +00226900: 7065 726d 202f 752b 7873 2c67 2b78 7773  perm /u+xs,g+xws
│ │ │ +00226910: 2c6f 2b78 7774 2020 2d74 7970 6520 6620  ,o+xwt  -type f 
│ │ │ +00226920: 2d72 6567 6578 7479 7065 0a20 2020 2070  -regextype.    p
│ │ │ +00226930: 6f73 6978 2d65 7874 656e 6465 6420 2d72  osix-extended -r
│ │ │ +00226940: 6567 6578 2022 5e2e 2a5c 2e70 7562 2422  egex "^.*\.pub$"
│ │ │ +00226950: 0a20 2072 6567 6973 7465 723a 2066 696c  .  register: fil
│ │ │ +00226960: 6573 5f66 6f75 6e64 0a20 2063 6861 6e67  es_found.  chang
│ │ │ +00226970: 6564 5f77 6865 6e3a 2066 616c 7365 0a20  ed_when: false. 
│ │ │ +00226980: 2066 6169 6c65 645f 7768 656e 3a20 6661   failed_when: fa
│ │ │ +00226990: 6c73 650a 2020 6368 6563 6b5f 6d6f 6465  lse.  check_mode
│ │ │ +002269a0: 3a20 6661 6c73 650a 2020 7768 656e 3a20  : false.  when: 
│ │ │ +002269b0: 2722 6c69 6e75 782d 6261 7365 2220 696e  '"linux-base" in
│ │ │ +002269c0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ +002269d0: 6163 6b61 6765 7327 0a20 2074 6167 733a  ackages'.  tags:
│ │ │ +002269e0: 0a20 202d 204e 4953 542d 3830 302d 3137  .  - NIST-800-17
│ │ │ +002269f0: 312d 332e 312e 3133 0a20 202d 204e 4953  1-3.1.13.  - NIS
│ │ │ +00226a00: 542d 3830 302d 3137 312d 332e 3133 2e31  T-800-171-3.13.1
│ │ │ +00226a10: 300a 2020 2d20 4e49 5354 2d38 3030 2d35  0.  - NIST-800-5
│ │ │ +00226a20: 332d 4143 2d31 3728 6129 0a20 202d 204e  3-AC-17(a).  - N
│ │ │ +00226a30: 4953 542d 3830 302d 3533 2d41 432d 3628  IST-800-53-AC-6(
│ │ │ +00226a40: 3129 0a20 202d 204e 4953 542d 3830 302d  1).  - NIST-800-
│ │ │ +00226a50: 3533 2d43 4d2d 3628 6129 0a20 202d 2050  53-CM-6(a).  - P
│ │ │ +00226a60: 4349 2d44 5353 2d52 6571 2d32 2e32 2e34  CI-DSS-Req-2.2.4
│ │ │ +00226a70: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ +00226a80: 2e32 0a20 202d 2050 4349 2d44 5353 7634  .2.  - PCI-DSSv4
│ │ │ +00226a90: 2d32 2e32 2e36 0a20 202d 2063 6f6e 6669  -2.2.6.  - confi
│ │ │ +00226aa0: 6775 7265 5f73 7472 6174 6567 790a 2020  gure_strategy.  
│ │ │ +00226ab0: 2d20 6669 6c65 5f70 6572 6d69 7373 696f  - file_permissio
│ │ │ +00226ac0: 6e73 5f73 7368 645f 7075 625f 6b65 790a  ns_sshd_pub_key.
│ │ │ +00226ad0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +00226ae0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +00226af0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ +00226b00: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +00226b10: 5f72 6562 6f6f 745f 6e65 6564 6564 0a0a  _reboot_needed..
│ │ │ +00226b20: 2d20 6e61 6d65 3a20 5365 7420 7065 726d  - name: Set perm
│ │ │ +00226b30: 6973 7369 6f6e 7320 666f 7220 2f65 7463  issions for /etc
│ │ │ +00226b40: 2f73 7368 2f20 6669 6c65 2873 290a 2020  /ssh/ file(s).  
│ │ │ +00226b50: 6669 6c65 3a0a 2020 2020 7061 7468 3a20  file:.    path: 
│ │ │ +00226b60: 277b 7b20 6974 656d 207d 7d27 0a20 2020  '{{ item }}'.   
│ │ │ +00226b70: 206d 6f64 653a 2075 2d78 732c 672d 7877   mode: u-xs,g-xw
│ │ │ +00226b80: 732c 6f2d 7877 740a 2020 2020 7374 6174  s,o-xwt.    stat
│ │ │ +00226b90: 653a 2066 696c 650a 2020 7769 7468 5f69  e: file.  with_i
│ │ │ +00226ba0: 7465 6d73 3a0a 2020 2d20 277b 7b20 6669  tems:.  - '{{ fi
│ │ │ +00226bb0: 6c65 735f 666f 756e 642e 7374 646f 7574  les_found.stdout
│ │ │ +00226bc0: 5f6c 696e 6573 207d 7d27 0a20 2077 6865  _lines }}'.  whe
│ │ │ +00226bd0: 6e3a 2027 226c 696e 7578 2d62 6173 6522  n: '"linux-base"
│ │ │ +00226be0: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ +00226bf0: 732e 7061 636b 6167 6573 270a 2020 7461  s.packages'.  ta
│ │ │ +00226c00: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030  gs:.  - NIST-800
│ │ │ +00226c10: 2d31 3731 2d33 2e31 2e31 330a 2020 2d20  -171-3.1.13.  - 
│ │ │ +00226c20: 4e49 5354 2d38 3030 2d31 3731 2d33 2e31  NIST-800-171-3.1
│ │ │ +00226c30: 332e 3130 0a20 202d 204e 4953 542d 3830  3.10.  - NIST-80
│ │ │ +00226c40: 302d 3533 2d41 432d 3137 2861 290a 2020  0-53-AC-17(a).  
│ │ │ +00226c50: 2d20 4e49 5354 2d38 3030 2d35 332d 4143  - NIST-800-53-AC
│ │ │ +00226c60: 2d36 2831 290a 2020 2d20 4e49 5354 2d38  -6(1).  - NIST-8
│ │ │ +00226c70: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ +00226c80: 2d20 5043 492d 4453 532d 5265 712d 322e  - PCI-DSS-Req-2.
│ │ │ +00226c90: 322e 340a 2020 2d20 5043 492d 4453 5376  2.4.  - PCI-DSSv
│ │ │ +00226ca0: 342d 322e 320a 2020 2d20 5043 492d 4453  4-2.2.  - PCI-DS
│ │ │ +00226cb0: 5376 342d 322e 322e 360a 2020 2d20 636f  Sv4-2.2.6.  - co
│ │ │ +00226cc0: 6e66 6967 7572 655f 7374 7261 7465 6779  nfigure_strategy
│ │ │ +00226cd0: 0a20 202d 2066 696c 655f 7065 726d 6973  .  - file_permis
│ │ │ +00226ce0: 7369 6f6e 735f 7373 6864 5f70 7562 5f6b  sions_sshd_pub_k
│ │ │ +00226cf0: 6579 0a20 202d 206c 6f77 5f63 6f6d 706c  ey.  - low_compl
│ │ │ +00226d00: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +00226d10: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +00226d20: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +00226d30: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +00226d40: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +00226d50: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +00226e00: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +00226e10: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...

include │ │ │ +00226e60: 2073 7368 5f70 7562 6c69 635f 6b65 795f ssh_public_key_ │ │ │ +00226e70: 7065 726d 730a 0a63 6c61 7373 2073 7368 perms..class ssh │ │ │ +00226e80: 5f70 7562 6c69 635f 6b65 795f 7065 726d _public_key_perm │ │ │ +00226e90: 7320 7b0a 2020 6578 6563 207b 2027 7373 s {. exec { 'ss │ │ │ +00226ea0: 6864 5f70 7562 5f6b 6579 273a 0a20 2020 hd_pub_key':. │ │ │ +00226eb0: 2063 6f6d 6d61 6e64 203d 2667 743b 2022 command => " │ │ │ +00226ec0: 6368 6d6f 6420 3036 3434 202f 6574 632f chmod 0644 /etc/ │ │ │ +00226ed0: 7373 682f 2a2e 7075 6222 2c0a 2020 2020 ssh/*.pub",. │ │ │ +00226ee0: 7061 7468 2020 2020 3d26 6774 3b20 272f path => '/ │ │ │ +00226ef0: 6269 6e3a 2f75 7372 2f62 696e 270a 2020 bin:/usr/bin'. │ │ │ +00226f00: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}.

Remediation │ │ │ -00228c40: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -00228c50: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -00228cd0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -00228ce0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ -00228d00: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ -00228d10: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ -00228d30: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ -00228d50: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ -00228d80: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ -00228d90: 6d6f 7665 5f78 7365 7276 6572 2d78 6f72  move_xserver-xor
│ │ │ -00228da0: 670a 0a63 6c61 7373 2072 656d 6f76 655f  g..class remove_
│ │ │ -00228db0: 7873 6572 7665 722d 786f 7267 207b 0a20  xserver-xorg {. 
│ │ │ -00228dc0: 2070 6163 6b61 6765 207b 2027 7873 6572   package { 'xser
│ │ │ -00228dd0: 7665 722d 786f 7267 273a 0a20 2020 2065  ver-xorg':.    e
│ │ │ -00228de0: 6e73 7572 6520 3d26 6774 3b20 2770 7572  nsure => 'pur
│ │ │ -00228df0: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ged',.  }.}.
< │ │ │ -00228e10: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -00228e20: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -00228e30: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -00228e40: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -00228e50: 646d 3239 3831 3122 2074 6162 696e 6465 dm29811" tabinde │ │ │ -00228e60: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -00228e70: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -00228e80: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -00228e90: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -00228ea0: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -00228eb0: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ -00228ec0: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
< │ │ │ -00228f50: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -00228f70: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -00228fc0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ -00228ff0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Ensure
│ │ │ -00229010: 2078 7365 7276 6572 2d78 6f72 6720 6973   xserver-xorg is
│ │ │ -00229020: 2072 656d 6f76 6564 0a20 2070 6163 6b61   removed.  packa
│ │ │ -00229030: 6765 3a0a 2020 2020 6e61 6d65 3a20 7873  ge:.    name: xs
│ │ │ -00229040: 6572 7665 722d 786f 7267 0a20 2020 2073  erver-xorg.    s
│ │ │ -00229050: 7461 7465 3a20 6162 7365 6e74 0a20 2074  tate: absent.  t
│ │ │ -00229060: 6167 733a 0a20 202d 204e 4953 542d 3830  ags:.  - NIST-80
│ │ │ -00229070: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ -00229080: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -00229090: 3728 6129 0a20 202d 204e 4953 542d 3830  7(a).  - NIST-80
│ │ │ -002290a0: 302d 3533 2d43 4d2d 3728 6229 0a20 202d  0-53-CM-7(b).  -
│ │ │ -002290b0: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ -002290c0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -002290d0: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -002290e0: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ -002290f0: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ -00229100: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -00229110: 0a20 202d 2070 6163 6b61 6765 5f78 6f72  .  - package_xor
│ │ │ -00229120: 672d 7831 312d 7365 7276 6572 2d63 6f6d  g-x11-server-com
│ │ │ -00229130: 6d6f 6e5f 7265 6d6f 7665 640a 3c2f 636f  mon_removed.
│ │ │ +00228cd0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ +00228d60: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +00228d70: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
low
Disr │ │ │ -00228f80: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -00228f90: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -00228fd0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ -00228fe0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
Complexi │ │ │ +00228ce0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +00228cf0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ +00228d30: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +00228d40: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
- name: E
│ │ │ +00228d90: 6e73 7572 6520 7873 6572 7665 722d 786f  nsure xserver-xo
│ │ │ +00228da0: 7267 2069 7320 7265 6d6f 7665 640a 2020  rg is removed.  
│ │ │ +00228db0: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ +00228dc0: 653a 2078 7365 7276 6572 2d78 6f72 670a  e: xserver-xorg.
│ │ │ +00228dd0: 2020 2020 7374 6174 653a 2061 6273 656e      state: absen
│ │ │ +00228de0: 740a 2020 7461 6773 3a0a 2020 2d20 4e49  t.  tags:.  - NI
│ │ │ +00228df0: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +00228e00: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +00228e10: 332d 434d 2d37 2861 290a 2020 2d20 4e49  3-CM-7(a).  - NI
│ │ │ +00228e20: 5354 2d38 3030 2d35 332d 434d 2d37 2862  ST-800-53-CM-7(b
│ │ │ +00228e30: 290a 2020 2d20 6469 7361 626c 655f 7374  ).  - disable_st
│ │ │ +00228e40: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +00228e50: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +00228e60: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +00228e70: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ +00228e80: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +00228e90: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ +00228ea0: 655f 786f 7267 2d78 3131 2d73 6572 7665  e_xorg-x11-serve
│ │ │ +00228eb0: 722d 636f 6d6d 6f6e 5f72 656d 6f76 6564  r-common_removed
│ │ │ +00228ec0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +00228f80: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +00228f90: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ +00229010: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +00229020: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +00229040: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +00229050: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +00229070: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +00229090: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ +002290c0: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ +002290d0: 6d6f 7665 5f78 7365 7276 6572 2d78 6f72  move_xserver-xor
│ │ │ +002290e0: 670a 0a63 6c61 7373 2072 656d 6f76 655f  g..class remove_
│ │ │ +002290f0: 7873 6572 7665 722d 786f 7267 207b 0a20  xserver-xorg {. 
│ │ │ +00229100: 2070 6163 6b61 6765 207b 2027 7873 6572   package { 'xser
│ │ │ +00229110: 7665 722d 786f 7267 273a 0a20 2020 2065  ver-xorg':.    e
│ │ │ +00229120: 6e73 7572 6520 3d26 6774 3b20 2770 7572  nsure => 'pur
│ │ │ +00229130: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ged',.  }.}.
< │ │ │ 00229150: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 00229160: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 00229170: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 00229180: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 00229190: 646d 3239 3831 3222 2074 6162 696e 6465 dm29812" tabinde │ │ │ 002291a0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ ├── html2text {} │ │ │ │ @@ -125,31 +125,14 @@ │ │ │ │ _p_c_i_d_s_s Req-11.5 │ │ │ │ _o_s_-_s_r_g SRG-OS-000445-GPOS-00199 │ │ │ │ _s_t_i_g_i_d UBTU-22-651010 │ │ │ │ _c_i_s 1.3.1 │ │ │ │ _a_n_s_s_i R76, R79 │ │ │ │ _p_c_i_d_s_s_4 11.5.2 │ │ │ │ _s_t_i_g_r_e_f SV-260582r958944_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "aide" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_aide │ │ │ │ - │ │ │ │ -class install_aide { │ │ │ │ - package { 'aide': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -180,14 +163,31 @@ │ │ │ │ - PCI-DSSv4-11.5.2 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_aide_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_aide │ │ │ │ + │ │ │ │ +class install_aide { │ │ │ │ + package { 'aide': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "aide" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -832,26 +832,14 @@ │ │ │ │ $ apt-get remove prelink │ │ │ │ The use of the prelink package can interfere with the operation of AIDE since it │ │ │ │ Rationale: binaries. Prelinking can also increase damage caused by vulnerability in a common library │ │ │ │ like libc. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_prelink_removed │ │ │ │ References: _c_i_s 1.5.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_prelink │ │ │ │ - │ │ │ │ -class remove_prelink { │ │ │ │ - package { 'prelink': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: medium │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Check If Prelinked Is Installed │ │ │ │ ansible.builtin.stat: │ │ │ │ @@ -885,14 +873,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_disruption │ │ │ │ - medium_complexity │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_prelink_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_prelink │ │ │ │ + │ │ │ │ +class remove_prelink { │ │ │ │ + package { 'prelink': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: medium │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ if [[ -f /usr/sbin/prelink ]]; │ │ │ │ @@ -1878,31 +1878,14 @@ │ │ │ │ _i_s_m 1382, 1384, 1386 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ References: _o_s_p_p FMT_MOF_EXT.1 │ │ │ │ _o_s_-_s_r_g SRG-OS-000324-GPOS-00125 │ │ │ │ _c_i_s 5.3.1 │ │ │ │ _a_n_s_s_i R33 │ │ │ │ _p_c_i_d_s_s_4 2.2.6, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "sudo" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_sudo │ │ │ │ - │ │ │ │ -class install_sudo { │ │ │ │ - package { 'sudo': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -1929,14 +1912,31 @@ │ │ │ │ - PCI-DSSv4-2.2.6 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_sudo_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_sudo │ │ │ │ + │ │ │ │ +class install_sudo { │ │ │ │ + package { 'sudo': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "sudo" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -5422,31 +5422,14 @@ │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_pam_pwquality_installed │ │ │ │ _d_i_s_a CCI-000366 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00225 │ │ │ │ References: _s_t_i_g_i_d UBTU-22-215010 │ │ │ │ _c_i_s 5.4.1 │ │ │ │ _s_t_i_g_r_e_f SV-260478r991587_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "libpam-pwquality" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_libpam-pwquality │ │ │ │ - │ │ │ │ -class install_libpam-pwquality { │ │ │ │ - package { 'libpam-pwquality': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -5469,14 +5452,31 @@ │ │ │ │ - DISA-STIG-UBTU-22-215010 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_pam_pwquality_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_libpam-pwquality │ │ │ │ + │ │ │ │ +class install_libpam-pwquality { │ │ │ │ + package { 'libpam-pwquality': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "libpam-pwquality" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status}\n' 'libpam-runtime' 2>/dev/null | grep - │ │ │ │ @@ -7722,31 +7722,14 @@ │ │ │ │ _d_i_s_a CCI-001764, CCI-001774, CCI-002165, CCI-002235 │ │ │ │ _o_s_-_s_r_g SRG-OS-000368-GPOS-00154, SRG-OS-000312-GPOS-00122, SRG-OS-000312-GPOS-00123, │ │ │ │ SRG-OS-000312-GPOS-00124, SRG-OS-000324-GPOS-00125, SRG-OS-000370-GPOS-00155 │ │ │ │ References: _s_t_i_g_i_d UBTU-22-431010 │ │ │ │ _c_i_s 1.6.1.1 │ │ │ │ _a_n_s_s_i R45 │ │ │ │ _s_t_i_g_r_e_f SV-260556r958702_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "apparmor" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_apparmor │ │ │ │ - │ │ │ │ -class install_apparmor { │ │ │ │ - package { 'apparmor': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Ensure apparmor is installed │ │ │ │ package: │ │ │ │ @@ -7757,14 +7740,31 @@ │ │ │ │ - DISA-STIG-UBTU-22-431010 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_apparmor_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_apparmor │ │ │ │ + │ │ │ │ +class install_apparmor { │ │ │ │ + package { 'apparmor': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "apparmor" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if [ ! -f /.dockerenv ] && [ ! -f /run/.containerenv ]; then │ │ │ │ @@ -8251,31 +8251,14 @@ │ │ │ │ Storing log data on a remote host protects log integrity from local attacks. If an │ │ │ │ Rationale: attacker gains root access on the local system, they could tamper with or remove log data │ │ │ │ that is stored on the local system. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_systemd-journal-remote_installed │ │ │ │ References: _o_s_-_s_r_g SRG-OS-000479-GPOS-00224 │ │ │ │ _c_i_s 4.2.1.1.1 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "systemd-journal-remote" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_systemd-journal-remote │ │ │ │ - │ │ │ │ -class install_systemd-journal-remote { │ │ │ │ - package { 'systemd-journal-remote': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -8296,14 +8279,31 @@ │ │ │ │ tags: │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_systemd-journal-remote_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_systemd-journal-remote │ │ │ │ + │ │ │ │ +class install_systemd-journal-remote { │ │ │ │ + package { 'systemd-journal-remote': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "systemd-journal-remote" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -8323,31 +8323,14 @@ │ │ │ │ least disruption to system processes. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_systemd-journald_enabled │ │ │ │ _d_i_s_a CCI-001665 │ │ │ │ References: _n_i_s_t SC-24 │ │ │ │ _o_s_-_s_r_g SRG-OS-000269-GPOS-00103 │ │ │ │ _c_i_s 4.2.1.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["systemd-journald"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_systemd-journald │ │ │ │ - │ │ │ │ -class enable_systemd-journald { │ │ │ │ - service {'systemd-journald': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -8381,14 +8364,31 @@ │ │ │ │ - NIST-800-53-SC-24 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_systemd-journald_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_systemd-journald │ │ │ │ + │ │ │ │ +class enable_systemd-journald { │ │ │ │ + service {'systemd-journald': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["systemd-journald"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -9108,31 +9108,14 @@ │ │ │ │ References: _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _o_s_-_s_r_g SRG-OS-000479-GPOS-00224, SRG-OS-000051-GPOS-00024, SRG-OS-000480-GPOS- │ │ │ │ 00227 │ │ │ │ _c_i_s 4.2.2.1 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "rsyslog" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_rsyslog │ │ │ │ - │ │ │ │ -class install_rsyslog { │ │ │ │ - package { 'rsyslog': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -9155,14 +9138,31 @@ │ │ │ │ - NIST-800-53-CM-6(a) │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_rsyslog_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_rsyslog │ │ │ │ + │ │ │ │ +class install_rsyslog { │ │ │ │ + package { 'rsyslog': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "rsyslog" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -9193,31 +9193,14 @@ │ │ │ │ A.15.2.1, A.15.2.2, A.17.2.1 │ │ │ │ _n_i_s_t CM-6(a), AU-4(1) │ │ │ │ _n_i_s_t_-_c_s_f DE.CM-1, DE.CM-3, DE.CM-7, ID.SC-4, PR.DS-4, PR.PT-1 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00227 │ │ │ │ _s_t_i_g_i_d UBTU-22-652010 │ │ │ │ _c_i_s 4.2.2.2 │ │ │ │ _s_t_i_g_r_e_f SV-260588r991562_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["rsyslog"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_rsyslog │ │ │ │ - │ │ │ │ -class enable_rsyslog { │ │ │ │ - service {'rsyslog': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -9255,14 +9238,31 @@ │ │ │ │ - NIST-800-53-CM-6(a) │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_rsyslog_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_rsyslog │ │ │ │ + │ │ │ │ +class enable_rsyslog { │ │ │ │ + service {'rsyslog': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["rsyslog"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -9793,31 +9793,14 @@ │ │ │ │ operators to set up firewalls and IP masquerading, etc. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_iptables_installed │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ References: _p_c_i_d_s_s Req-1.4.1 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00227 │ │ │ │ _c_i_s 3.5.3.1.1 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "iptables" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_iptables │ │ │ │ - │ │ │ │ -class install_iptables { │ │ │ │ - package { 'iptables': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -9842,14 +9825,31 @@ │ │ │ │ - PCI-DSS-Req-1.4.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_iptables_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_iptables │ │ │ │ + │ │ │ │ +class install_iptables { │ │ │ │ + package { 'iptables': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "iptables" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if ( dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -9864,26 +9864,14 @@ │ │ │ │ The iptables-persistent package can be removed with the following command: │ │ │ │ $ apt-get remove iptables-persistent │ │ │ │ Rationale: Running both ufw and the services included in the iptables-persistent package may lead to │ │ │ │ conflict. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_iptables-persistent_removed │ │ │ │ References: _c_i_s 3.5.1.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_iptables-persistent │ │ │ │ - │ │ │ │ -class remove_iptables-persistent { │ │ │ │ - package { 'iptables-persistent': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -9904,14 +9892,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_iptables-persistent_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_iptables-persistent │ │ │ │ + │ │ │ │ +class remove_iptables-persistent { │ │ │ │ + package { 'iptables-persistent': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status}\n' 'ufw' 2>/dev/null | grep -q '^installed'; │ │ │ │ @@ -14707,31 +14707,14 @@ │ │ │ │ nftables is a subsystem of the Linux kernel that can protect against threats originating │ │ │ │ Rationale: from within a corporate network to include malicious mobile code and poorly configured │ │ │ │ software on a host. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_nftables_installed │ │ │ │ References: _c_i_s 3.5.2.1 │ │ │ │ _p_c_i_d_s_s_4 1.2.1, 1.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "nftables" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_nftables │ │ │ │ - │ │ │ │ -class install_nftables { │ │ │ │ - package { 'nftables': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -14756,14 +14739,31 @@ │ │ │ │ - PCI-DSSv4-1.2.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_nftables_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_nftables │ │ │ │ + │ │ │ │ +class install_nftables { │ │ │ │ + package { 'nftables': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "nftables" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if ( dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -14779,31 +14779,14 @@ │ │ │ │ nftables service The nftables service can be enabled with the following command: │ │ │ │ $ sudo systemctl enable nftables.service │ │ │ │ Rationale: The nftables service restores the nftables rules from the rules files referenced in the / │ │ │ │ etc/sysconfig/nftables.conf file during boot or the starting of the nftables service │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_nftables_enabled │ │ │ │ References: _c_i_s 3.5.2.9 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["nftables"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_nftables │ │ │ │ - │ │ │ │ -class enable_nftables { │ │ │ │ - service {'nftables': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -14836,14 +14819,31 @@ │ │ │ │ tags: │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_nftables_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_nftables │ │ │ │ + │ │ │ │ +class enable_nftables { │ │ │ │ + service {'nftables': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["nftables"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if ( dpkg-query --show --showformat='${db:Status-Status}\n' 'nftables' 2>/dev/null | grep - │ │ │ │ @@ -15368,26 +15368,14 @@ │ │ │ │ ****** RRuullee? ?  RReemmoovvee uuffww PPaacckkaaggee ? ? _[[_rr_ee_ff_]] ****** │ │ │ │ The ufw package can be removed with the following command: │ │ │ │ $ apt-get remove ufw │ │ │ │ Rationale: Running iptables.persistent with ufw enabled may lead to conflict and unexpected results. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_ufw_removed │ │ │ │ References: _c_i_s 3.5.3.1.3 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_ufw │ │ │ │ - │ │ │ │ -class remove_ufw { │ │ │ │ - package { 'ufw': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -15408,14 +15396,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_ufw_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_ufw │ │ │ │ + │ │ │ │ +class remove_ufw { │ │ │ │ + package { 'ufw': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -15439,31 +15439,14 @@ │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_ufw_enabled │ │ │ │ _d_i_s_a CCI-002314 │ │ │ │ _o_s_-_s_r_g SRG-OS-000297-GPOS-00115 │ │ │ │ References: _s_t_i_g_i_d UBTU-22-251020 │ │ │ │ _c_i_s 3.5.1.3 │ │ │ │ _s_t_i_g_r_e_f SV-260516r991593_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["ufw"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_ufw │ │ │ │ - │ │ │ │ -class enable_ufw { │ │ │ │ - service {'ufw': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -15499,14 +15482,31 @@ │ │ │ │ - DISA-STIG-UBTU-22-251020 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_ufw_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_ufw │ │ │ │ + │ │ │ │ +class enable_ufw { │ │ │ │ + service {'ufw': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["ufw"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -17565,50 +17565,14 @@ │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.11.2.6, A.13.1.1, A.13.2.1, A.18.1.4, A.6.2.1, A.6.2.2, A.7.1.1, │ │ │ │ A.9.2.1, A.9.2.2, A.9.2.3, A.9.2.4, A.9.2.6, A.9.3.1, A.9.4.2, A.9.4.3 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a), MP-7 │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-1, PR.AC-3, PR.AC-6, PR.AC-7 │ │ │ │ _o_s_-_s_r_g SRG-OS-000114-GPOS-00059, SRG-OS-000378-GPOS-00163, SRG-OS-000480-GPOS- │ │ │ │ 00227 │ │ │ │ _c_i_s 1.1.9 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -masked = ["autofs"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: medium │ │ │ │ -RReebboooott:: true │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ -kind: MachineConfig │ │ │ │ -spec: │ │ │ │ - config: │ │ │ │ - ignition: │ │ │ │ - version: 3.1.0 │ │ │ │ - systemd: │ │ │ │ - units: │ │ │ │ - - name: autofs.service │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ - - name: autofs.socket │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include disable_autofs │ │ │ │ - │ │ │ │ -class disable_autofs { │ │ │ │ - service {'autofs': │ │ │ │ - enable => false, │ │ │ │ - ensure => 'stopped', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -17709,14 +17673,50 @@ │ │ │ │ - NIST-800-53-MP-7 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_autofs_disabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: medium │ │ │ │ +RReebboooott:: true │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ +kind: MachineConfig │ │ │ │ +spec: │ │ │ │ + config: │ │ │ │ + ignition: │ │ │ │ + version: 3.1.0 │ │ │ │ + systemd: │ │ │ │ + units: │ │ │ │ + - name: autofs.service │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ + - name: autofs.socket │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include disable_autofs │ │ │ │ + │ │ │ │ +class disable_autofs { │ │ │ │ + service {'autofs': │ │ │ │ + enable => false, │ │ │ │ + ensure => 'stopped', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +masked = ["autofs"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if ( dpkg-query --show --showformat='${db:Status-Status}\n' 'autofs' 2>/dev/null | grep - │ │ │ │ @@ -22360,50 +22360,14 @@ │ │ │ │ $ sudo systemctl mask --now apport.service │ │ │ │ The Apport service modifies the kernel fs.suid_dumpable configuration at runtime which │ │ │ │ Rationale: prevents other hardening from being persistent. Disabling the service prevents this │ │ │ │ behavior. │ │ │ │ Severity:  unknown │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_apport_disabled │ │ │ │ References: _c_i_s 1.5.3 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -masked = ["apport"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: medium │ │ │ │ -RReebboooott:: true │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ -kind: MachineConfig │ │ │ │ -spec: │ │ │ │ - config: │ │ │ │ - ignition: │ │ │ │ - version: 3.1.0 │ │ │ │ - systemd: │ │ │ │ - units: │ │ │ │ - - name: apport.service │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ - - name: apport.socket │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include disable_apport │ │ │ │ - │ │ │ │ -class disable_apport { │ │ │ │ - service {'apport': │ │ │ │ - enable => false, │ │ │ │ - ensure => 'stopped', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -22475,14 +22439,50 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - service_apport_disabled │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: medium │ │ │ │ +RReebboooott:: true │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ +kind: MachineConfig │ │ │ │ +spec: │ │ │ │ + config: │ │ │ │ + ignition: │ │ │ │ + version: 3.1.0 │ │ │ │ + systemd: │ │ │ │ + units: │ │ │ │ + - name: apport.service │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ + - name: apport.socket │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include disable_apport │ │ │ │ + │ │ │ │ +class disable_apport { │ │ │ │ + service {'apport': │ │ │ │ + enable => false, │ │ │ │ + ensure => 'stopped', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +masked = ["apport"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status}\n' 'apport' 2>/dev/null | grep - │ │ │ │ @@ -22535,26 +22535,14 @@ │ │ │ │ SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_avahi-daemon │ │ │ │ - │ │ │ │ -class remove_avahi-daemon { │ │ │ │ - package { 'avahi-daemon': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure avahi-daemon is removed │ │ │ │ package: │ │ │ │ @@ -22566,14 +22554,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_avahi_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_avahi-daemon │ │ │ │ + │ │ │ │ +class remove_avahi-daemon { │ │ │ │ + package { 'avahi-daemon': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove avahi-daemon │ │ │ │ @@ -22602,50 +22602,14 @@ │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.2 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -masked = ["avahi-daemon"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: medium │ │ │ │ -RReebboooott:: true │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ -kind: MachineConfig │ │ │ │ -spec: │ │ │ │ - config: │ │ │ │ - ignition: │ │ │ │ - version: 3.1.0 │ │ │ │ - systemd: │ │ │ │ - units: │ │ │ │ - - name: avahi-daemon.service │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ - - name: avahi-daemon.socket │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include disable_avahi-daemon │ │ │ │ - │ │ │ │ -class disable_avahi-daemon { │ │ │ │ - service {'avahi-daemon': │ │ │ │ - enable => false, │ │ │ │ - ensure => 'stopped', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -22746,14 +22710,50 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_avahi-daemon_disabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: medium │ │ │ │ +RReebboooott:: true │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ +kind: MachineConfig │ │ │ │ +spec: │ │ │ │ + config: │ │ │ │ + ignition: │ │ │ │ + version: 3.1.0 │ │ │ │ + systemd: │ │ │ │ + units: │ │ │ │ + - name: avahi-daemon.service │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ + - name: avahi-daemon.socket │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include disable_avahi-daemon │ │ │ │ + │ │ │ │ +class disable_avahi-daemon { │ │ │ │ + service {'avahi-daemon': │ │ │ │ + enable => false, │ │ │ │ + ensure => 'stopped', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +masked = ["avahi-daemon"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if ( dpkg-query --show --showformat='${db:Status-Status}\n' 'avahi-daemon' 2>/dev/null | grep - │ │ │ │ @@ -23410,31 +23410,14 @@ │ │ │ │ SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 5.1.1 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["cron"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_cron │ │ │ │ - │ │ │ │ -class enable_cron { │ │ │ │ - service {'cron': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -23468,14 +23451,31 @@ │ │ │ │ - NIST-800-53-CM-6(a) │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_cron_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_cron │ │ │ │ + │ │ │ │ +class enable_cron { │ │ │ │ + service {'cron': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["cron"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -24997,26 +24997,14 @@ │ │ │ │ The support for Yellowpages should not be installed unless it is required. │ │ │ │ NIS is the historical SUN service for central account management, more and more replaced │ │ │ │ Rationale: by LDAP. NIS does not support efficiently security constraints, ACL, etc. and should not │ │ │ │ be used. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_nis_removed │ │ │ │ References: _c_i_s 2.2.14 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_nis │ │ │ │ - │ │ │ │ -class remove_nis { │ │ │ │ - package { 'nis': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure nis is removed │ │ │ │ package: │ │ │ │ @@ -25025,14 +25013,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_nis_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_nis │ │ │ │ + │ │ │ │ +class remove_nis { │ │ │ │ + package { 'nis': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove nis │ │ │ │ @@ -25074,26 +25074,14 @@ │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.4 │ │ │ │ _a_n_s_s_i R62 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_isc-dhcp-server │ │ │ │ - │ │ │ │ -class remove_isc-dhcp-server { │ │ │ │ - package { 'isc-dhcp-server': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure isc-dhcp-server is removed │ │ │ │ package: │ │ │ │ @@ -25107,14 +25095,26 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_dhcp_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_isc-dhcp-server │ │ │ │ + │ │ │ │ +class remove_isc-dhcp-server { │ │ │ │ + package { 'isc-dhcp-server': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove isc-dhcp-server │ │ │ │ @@ -25150,26 +25150,14 @@ │ │ │ │ SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.7 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_bind9 │ │ │ │ - │ │ │ │ -class remove_bind9 { │ │ │ │ - package { 'bind9': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure bind9 is removed │ │ │ │ package: │ │ │ │ @@ -25181,14 +25169,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_bind_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_bind9 │ │ │ │ + │ │ │ │ +class remove_bind9 { │ │ │ │ + package { 'bind9': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove bind9 │ │ │ │ @@ -25227,26 +25227,14 @@ │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a), IA-5(1)(c), IA-5(1).1(v), CM-7, CM-7.1(ii) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _o_s_-_s_r_g SRG-OS-000074-GPOS-00042, SRG-OS-000095-GPOS-00049, SRG-OS-000480-GPOS- │ │ │ │ 00227 │ │ │ │ _c_i_s 2.2.8 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_vsftpd │ │ │ │ - │ │ │ │ -class remove_vsftpd { │ │ │ │ - package { 'vsftpd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure vsftpd is removed │ │ │ │ package: │ │ │ │ @@ -25262,14 +25250,26 @@ │ │ │ │ - NIST-800-53-IA-5(1).1(v) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_vsftpd_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_vsftpd │ │ │ │ + │ │ │ │ +class remove_vsftpd { │ │ │ │ + package { 'vsftpd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove vsftpd │ │ │ │ @@ -25308,26 +25308,14 @@ │ │ │ │ References: SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.9 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_apache2 │ │ │ │ - │ │ │ │ -class remove_apache2 { │ │ │ │ - package { 'apache2': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure apache2 is removed │ │ │ │ package: │ │ │ │ @@ -25339,14 +25327,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_httpd_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_apache2 │ │ │ │ + │ │ │ │ +class remove_apache2 { │ │ │ │ + package { 'apache2': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove apache2 │ │ │ │ @@ -25374,26 +25374,14 @@ │ │ │ │ References: SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.9 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_nginx │ │ │ │ - │ │ │ │ -class remove_nginx { │ │ │ │ - package { 'nginx': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure nginx is removed │ │ │ │ package: │ │ │ │ @@ -25405,14 +25393,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_nginx_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_nginx │ │ │ │ + │ │ │ │ +class remove_nginx { │ │ │ │ + package { 'nginx': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove nginx │ │ │ │ @@ -25432,26 +25432,14 @@ │ │ │ │ The cyrus-imapd package can be removed with the following command: │ │ │ │ $ apt-get remove cyrus-imapd │ │ │ │ Rationale: If there is no need to make the cyrus-imapd software available, removing it provides a │ │ │ │ safeguard against its activation. │ │ │ │ Severity:  unknown │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_cyrus-imapd_removed │ │ │ │ References: _c_i_s 2.2.10 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_cyrus-imapd │ │ │ │ - │ │ │ │ -class remove_cyrus-imapd { │ │ │ │ - package { 'cyrus-imapd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure cyrus-imapd is removed │ │ │ │ package: │ │ │ │ @@ -25460,14 +25448,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_cyrus-imapd_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_cyrus-imapd │ │ │ │ + │ │ │ │ +class remove_cyrus-imapd { │ │ │ │ + package { 'cyrus-imapd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove cyrus-imapd │ │ │ │ @@ -25484,26 +25484,14 @@ │ │ │ │ The dovecot-core package can be removed with the following command: │ │ │ │ $ apt-get remove dovecot-core │ │ │ │ Rationale: If there is no need to make the Dovecot software available, removing it provides a │ │ │ │ safeguard against its activation. │ │ │ │ Severity:  unknown │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_dovecot_removed │ │ │ │ References: _c_i_s 2.2.10 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_dovecot-core │ │ │ │ - │ │ │ │ -class remove_dovecot-core { │ │ │ │ - package { 'dovecot-core': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure dovecot-core is removed │ │ │ │ package: │ │ │ │ @@ -25512,14 +25500,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_dovecot_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_dovecot-core │ │ │ │ + │ │ │ │ +class remove_dovecot-core { │ │ │ │ + package { 'dovecot-core': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove dovecot-core │ │ │ │ @@ -25549,26 +25549,14 @@ │ │ │ │ command: │ │ │ │ $ apt-get remove lapd-utils │ │ │ │ Rationale: If the system does not need to act as an LDAP client, it is recommended that the software │ │ │ │ is removed to reduce the potential attack surface. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_openldap-clients_removed │ │ │ │ References: _c_i_s 2.3.5 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_ldap-utils │ │ │ │ - │ │ │ │ -class remove_ldap-utils { │ │ │ │ - package { 'ldap-utils': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure ldap-utils is removed │ │ │ │ package: │ │ │ │ @@ -25577,14 +25565,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_openldap-clients_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_ldap-utils │ │ │ │ + │ │ │ │ +class remove_ldap-utils { │ │ │ │ + package { 'ldap-utils': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove ldap-utils │ │ │ │ @@ -25615,26 +25615,14 @@ │ │ │ │ SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.5 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_slapd │ │ │ │ - │ │ │ │ -class remove_slapd { │ │ │ │ - package { 'slapd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure slapd is removed │ │ │ │ package: │ │ │ │ @@ -25646,14 +25634,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_openldap-servers_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_slapd │ │ │ │ + │ │ │ │ +class remove_slapd { │ │ │ │ + package { 'slapd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove slapd │ │ │ │ @@ -25771,26 +25771,14 @@ │ │ │ │ then this service should be disabled. The rpcbind package can be removed with the following command: │ │ │ │ $ apt-get remove rpcbind │ │ │ │ Rationale: If the system does not require rpc based services, it is recommended that rpcbind be │ │ │ │ disabled to reduce the attack surface. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_rpcbind_removed │ │ │ │ References: _c_i_s 2.3.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_rpcbind │ │ │ │ - │ │ │ │ -class remove_rpcbind { │ │ │ │ - package { 'rpcbind': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -25811,14 +25799,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_rpcbind_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_rpcbind │ │ │ │ + │ │ │ │ +class remove_rpcbind { │ │ │ │ + package { 'rpcbind': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -25839,26 +25839,14 @@ │ │ │ │ The nfs-kernel-server package can be removed with the following command: │ │ │ │ $ apt-get remove nfs-kernel-server │ │ │ │ Rationale: If the system does not export NFS shares or act as an NFS client, it is recommended that │ │ │ │ these services be removed to reduce the remote attack surface. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_nfs-kernel-server_removed │ │ │ │ References: _c_i_s 2.2.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_nfs-kernel-server │ │ │ │ - │ │ │ │ -class remove_nfs-kernel-server { │ │ │ │ - package { 'nfs-kernel-server': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure nfs-kernel-server is removed │ │ │ │ package: │ │ │ │ @@ -25867,14 +25855,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_nfs-kernel-server_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_nfs-kernel-server │ │ │ │ + │ │ │ │ +class remove_nfs-kernel-server { │ │ │ │ + package { 'nfs-kernel-server': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove nfs-kernel-server │ │ │ │ @@ -25940,31 +25940,14 @@ │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_0_9 4.3.3.3.9, 4.3.3.5.8, 4.3.4.4.7, 4.4.2.1, 4.4.2.2, 4.4.2.4 │ │ │ │ References: _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ _c_i_s 2.1.1.1 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "systemd-timesyncd" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_systemd-timesyncd │ │ │ │ - │ │ │ │ -class install_systemd-timesyncd { │ │ │ │ - package { 'systemd-timesyncd': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -25989,14 +25972,31 @@ │ │ │ │ - PCI-DSS-Req-10.4 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_timesyncd_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_systemd-timesyncd │ │ │ │ + │ │ │ │ +class install_systemd-timesyncd { │ │ │ │ + package { 'systemd-timesyncd': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "systemd-timesyncd" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -26017,31 +26017,14 @@ │ │ │ │ synchronization is working properly. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_chronyd_enabled │ │ │ │ _d_i_s_a CCI-004923 │ │ │ │ References: _i_s_m 0988, 1405 │ │ │ │ _o_s_-_s_r_g SRG-OS-000355-GPOS-00143 │ │ │ │ _c_i_s 2.1.2.3 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["chrony"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_chrony │ │ │ │ - │ │ │ │ -class enable_chrony { │ │ │ │ - service {'chrony': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -26075,14 +26058,31 @@ │ │ │ │ tags: │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_chronyd_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_chrony │ │ │ │ + │ │ │ │ +class enable_chrony { │ │ │ │ + service {'chrony': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["chrony"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -26119,31 +26119,14 @@ │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ References: _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a), AU-8(1)(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ _c_i_s 2.1.4.4 │ │ │ │ _p_c_i_d_s_s_4 10.6.1, 10.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["ntp"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_ntp │ │ │ │ - │ │ │ │ -class enable_ntp { │ │ │ │ - service {'ntp': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -26187,14 +26170,31 @@ │ │ │ │ - PCI-DSSv4-10.6.1 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - service_ntp_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_ntp │ │ │ │ + │ │ │ │ +class enable_ntp { │ │ │ │ + service {'ntp': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["ntp"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -26230,31 +26230,14 @@ │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ References: _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a), AU-8(1)(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ _c_i_s 2.1.3.2 │ │ │ │ _p_c_i_d_s_s_4 10.6.1, 10.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["systemd-timesyncd"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_systemd-timesyncd │ │ │ │ - │ │ │ │ -class enable_systemd-timesyncd { │ │ │ │ - service {'systemd-timesyncd': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -26299,14 +26282,31 @@ │ │ │ │ - PCI-DSSv4-10.6.1 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - service_timesyncd_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_systemd-timesyncd │ │ │ │ + │ │ │ │ +class enable_systemd-timesyncd { │ │ │ │ + service {'systemd-timesyncd': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["systemd-timesyncd"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -26479,26 +26479,14 @@ │ │ │ │ _c_u_i 3.1.13 │ │ │ │ _h_i_p_a_a 164.308(a)(4)(i), 164.308(b)(1), 164.308(b)(3), 164.310(b), 164.312(e)(1), │ │ │ │ 164.312(e)(2)(ii) │ │ │ │ References: _i_s_o_2_7_0_0_1_-_2_0_1_3 A.8.2.3, A.13.1.1, A.13.2.1, A.13.2.3, A.14.1.2, A.14.1.3 │ │ │ │ _c_i_s 2.3.2 │ │ │ │ _a_n_s_s_i R62 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_rsh-client │ │ │ │ - │ │ │ │ -class remove_rsh-client { │ │ │ │ - package { 'rsh-client': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure rsh-client is removed │ │ │ │ package: │ │ │ │ @@ -26510,14 +26498,26 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_rsh_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_rsh-client │ │ │ │ + │ │ │ │ +class remove_rsh-client { │ │ │ │ + package { 'rsh-client': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove rsh-client │ │ │ │ @@ -26584,26 +26584,14 @@ │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_talk_removed │ │ │ │ _h_i_p_a_a 164.308(a)(4)(i), 164.308(b)(1), 164.308(b)(3), 164.310(b), 164.312(e)(1), │ │ │ │ 164.312(e)(2)(ii) │ │ │ │ References: _c_i_s 2.3.3 │ │ │ │ _a_n_s_s_i R62 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_talk │ │ │ │ - │ │ │ │ -class remove_talk { │ │ │ │ - package { 'talk': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure talk is removed │ │ │ │ package: │ │ │ │ @@ -26614,14 +26602,26 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_talk_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_talk │ │ │ │ + │ │ │ │ +class remove_talk { │ │ │ │ + package { 'talk': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove talk │ │ │ │ @@ -26645,26 +26645,14 @@ │ │ │ │ _c_u_i 3.1.13 │ │ │ │ _h_i_p_a_a 164.308(a)(4)(i), 164.308(b)(1), 164.308(b)(3), 164.310(b), 164.312(e)(1), │ │ │ │ 164.312(e)(2)(ii) │ │ │ │ References: _i_s_o_2_7_0_0_1_-_2_0_1_3 A.8.2.3, A.13.1.1, A.13.2.1, A.13.2.3, A.14.1.2, A.14.1.3 │ │ │ │ _c_i_s 2.3.4 │ │ │ │ _a_n_s_s_i R62 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_telnet │ │ │ │ - │ │ │ │ -class remove_telnet { │ │ │ │ - package { 'telnet': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure telnet is removed │ │ │ │ package: │ │ │ │ @@ -26676,14 +26664,26 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_telnet_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_telnet │ │ │ │ + │ │ │ │ +class remove_telnet { │ │ │ │ + package { 'telnet': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove telnet │ │ │ │ @@ -26698,26 +26698,14 @@ │ │ │ │ package can be removed with the following command: │ │ │ │ $ apt-get remove rsync │ │ │ │ Rationale: The rsyncd service presents a security risk as it uses unencrypted protocols for │ │ │ │ communication. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_rsync_removed │ │ │ │ References: _c_i_s 2.2.16 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_rsync │ │ │ │ - │ │ │ │ -class remove_rsync { │ │ │ │ - package { 'rsync': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure rsync is removed │ │ │ │ package: │ │ │ │ @@ -26726,14 +26714,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_rsync_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_rsync │ │ │ │ + │ │ │ │ +class remove_rsync { │ │ │ │ + package { 'rsync': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove rsync │ │ │ │ @@ -26766,26 +26766,14 @@ │ │ │ │ References: SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.3 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_cups │ │ │ │ - │ │ │ │ -class remove_cups { │ │ │ │ - package { 'cups': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure cups is removed │ │ │ │ package: │ │ │ │ @@ -26797,14 +26785,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_cups_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_cups │ │ │ │ + │ │ │ │ +class remove_cups { │ │ │ │ + package { 'cups': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove cups │ │ │ │ @@ -26829,50 +26829,14 @@ │ │ │ │ References: SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.3 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -masked = ["cups"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: medium │ │ │ │ -RReebboooott:: true │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ -kind: MachineConfig │ │ │ │ -spec: │ │ │ │ - config: │ │ │ │ - ignition: │ │ │ │ - version: 3.1.0 │ │ │ │ - systemd: │ │ │ │ - units: │ │ │ │ - - name: cups.service │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ - - name: cups.socket │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include disable_cups │ │ │ │ - │ │ │ │ -class disable_cups { │ │ │ │ - service {'cups': │ │ │ │ - enable => false, │ │ │ │ - ensure => 'stopped', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -26959,14 +26923,50 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - service_cups_disabled │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: medium │ │ │ │ +RReebboooott:: true │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ +kind: MachineConfig │ │ │ │ +spec: │ │ │ │ + config: │ │ │ │ + ignition: │ │ │ │ + version: 3.1.0 │ │ │ │ + systemd: │ │ │ │ + units: │ │ │ │ + - name: cups.service │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ + - name: cups.socket │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include disable_cups │ │ │ │ + │ │ │ │ +class disable_cups { │ │ │ │ + service {'cups': │ │ │ │ + enable => false, │ │ │ │ + ensure => 'stopped', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +masked = ["cups"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -27006,26 +27006,14 @@ │ │ │ │ The squid package can be removed with the following command: │ │ │ │ $ apt-get remove squid │ │ │ │ Rationale: If there is no need to make the proxy server software available, removing it provides a │ │ │ │ safeguard against its activation. │ │ │ │ Severity:  unknown │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_squid_removed │ │ │ │ References: _c_i_s 2.2.12 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_squid │ │ │ │ - │ │ │ │ -class remove_squid { │ │ │ │ - package { 'squid': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure squid is removed │ │ │ │ package: │ │ │ │ @@ -27034,14 +27022,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_squid_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_squid │ │ │ │ + │ │ │ │ +class remove_squid { │ │ │ │ + package { 'squid': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove squid │ │ │ │ @@ -27066,26 +27066,14 @@ │ │ │ │ The samba package can be removed with the following command: │ │ │ │ $ apt-get remove samba │ │ │ │ Rationale: If there is no need to make the Samba software available, removing it provides a │ │ │ │ safeguard against its activation. │ │ │ │ Severity:  unknown │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_samba_removed │ │ │ │ References: _c_i_s 2.2.11 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_samba │ │ │ │ - │ │ │ │ -class remove_samba { │ │ │ │ - package { 'samba': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure samba is removed │ │ │ │ package: │ │ │ │ @@ -27094,14 +27082,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_samba_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_samba │ │ │ │ + │ │ │ │ +class remove_samba { │ │ │ │ + package { 'samba': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove samba │ │ │ │ @@ -27126,26 +27126,14 @@ │ │ │ │ $ apt-get remove snmp │ │ │ │ Rationale: If there is no need to run SNMP server software, removing the package provides a │ │ │ │ safeguard against its activation. │ │ │ │ Severity:  unknown │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_net-snmp_removed │ │ │ │ References: _c_i_s 2.2.13 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_snmp │ │ │ │ - │ │ │ │ -class remove_snmp { │ │ │ │ - package { 'snmp': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure snmp is removed │ │ │ │ package: │ │ │ │ @@ -27156,14 +27144,26 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_net-snmp_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_snmp │ │ │ │ + │ │ │ │ +class remove_snmp { │ │ │ │ + package { 'snmp': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove snmp │ │ │ │ @@ -30182,23 +30182,14 @@ │ │ │ │ _n_i_s_t AC-17(a), CM-6(a), AC-6(1) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-4, PR.DS-5 │ │ │ │ _p_c_i_d_s_s Req-2.2.4 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00227 │ │ │ │ _c_i_s 5.2.2 │ │ │ │ _a_n_s_s_i R50 │ │ │ │ _p_c_i_d_s_s_4 2.2.6, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -include ssh_private_key_perms │ │ │ │ - │ │ │ │ -class ssh_private_key_perms { │ │ │ │ - exec { 'sshd_priv_key': │ │ │ │ - command => "chmod 0640 /etc/ssh/*_key", │ │ │ │ - path => '/bin:/usr/bin' │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: configure │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -30262,14 +30253,23 @@ │ │ │ │ - PCI-DSSv4-2.2.6 │ │ │ │ - configure_strategy │ │ │ │ - file_permissions_sshd_private_key │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +include ssh_private_key_perms │ │ │ │ + │ │ │ │ +class ssh_private_key_perms { │ │ │ │ + exec { 'sshd_priv_key': │ │ │ │ + command => "chmod 0640 /etc/ssh/*_key", │ │ │ │ + path => '/bin:/usr/bin' │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ ' 'linux-base' 2>/dev/null | grep -q ^installed; then │ │ │ │ │ │ │ │ for keyfile in /etc/ssh/*_key; do │ │ │ │ test -f "$keyfile" || continue │ │ │ │ @@ -30310,23 +30310,14 @@ │ │ │ │ _n_i_s_t AC-17(a), CM-6(a), AC-6(1) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-4, PR.DS-5 │ │ │ │ _p_c_i_d_s_s Req-2.2.4 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00227 │ │ │ │ _c_i_s 5.2.3 │ │ │ │ _a_n_s_s_i R50 │ │ │ │ _p_c_i_d_s_s_4 2.2.6, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -include ssh_public_key_perms │ │ │ │ - │ │ │ │ -class ssh_public_key_perms { │ │ │ │ - exec { 'sshd_pub_key': │ │ │ │ - command => "chmod 0644 /etc/ssh/*.pub", │ │ │ │ - path => '/bin:/usr/bin' │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: configure │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -30390,14 +30381,23 @@ │ │ │ │ - PCI-DSSv4-2.2.6 │ │ │ │ - configure_strategy │ │ │ │ - file_permissions_sshd_pub_key │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +include ssh_public_key_perms │ │ │ │ + │ │ │ │ +class ssh_public_key_perms { │ │ │ │ + exec { 'sshd_pub_key': │ │ │ │ + command => "chmod 0644 /etc/ssh/*.pub", │ │ │ │ + path => '/bin:/usr/bin' │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: configure │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -30441,26 +30441,14 @@ │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 1.13, SR 2.6, SR 3.1, SR 3.5, SR 3.8, SR 4.1, SR 4.3, SR 5.1, SR 5.2, │ │ │ │ References: SR 5.3, SR 7.1, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.11.2.6, A.13.1.1, A.13.2.1, A.14.1.3, A.6.2.1, A.6.2.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-3, PR.PT-4 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00227 │ │ │ │ _c_i_s 2.2.1 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_xserver-xorg │ │ │ │ - │ │ │ │ -class remove_xserver-xorg { │ │ │ │ - package { 'xserver-xorg': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure xserver-xorg is removed │ │ │ │ package: │ │ │ │ @@ -30472,14 +30460,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_xorg-x11-server-common_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_xserver-xorg │ │ │ │ + │ │ │ │ +class remove_xserver-xorg { │ │ │ │ + package { 'xserver-xorg': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove xserver-xorg │ │ ├── ./usr/share/doc/ssg-debderived/ssg-ubuntu2204-guide-cis_level1_workstation.html │ │ │ @@ -15112,137 +15112,137 @@ │ │ │ 0003b070: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 0003b080: 646d 3239 3235 2220 7461 6269 6e64 6578 dm2925" tabindex │ │ │ 0003b090: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ 0003b0a0: 6e22 2061 7269 612d 6578 7061 6e64 6564 n" aria-expanded │ │ │ 0003b0b0: 3d22 6661 6c73 6522 2074 6974 6c65 3d22 ="false" title=" │ │ │ 0003b0c0: 4163 7469 7661 7465 2074 6f20 7265 7665 Activate to reve │ │ │ 0003b0d0: 616c 2220 6872 6566 3d22 2321 223e 5265 al" href="#!">Re │ │ │ -0003b0e0: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil │ │ │ -0003b0f0: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip │ │ │ -0003b100: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -0003b110: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -0003b120: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -0003b130: 7365 2220 6964 3d22 6964 6d32 3932 3522 se" id="idm2925" │ │ │ -0003b140: 3e3c 7072 653e 3c63 6f64 653e 0a5b 5b70 >
.[[p
│ │ │ -0003b150: 6163 6b61 6765 735d 5d0a 6e61 6d65 203d  ackages]].name =
│ │ │ -0003b160: 2022 6169 6465 220a 7665 7273 696f 6e20   "aide".version 
│ │ │ -0003b170: 3d20 222a 220a 3c2f 636f 6465 3e3c 2f70  = "*".

Remediat │ │ │ -0003b230: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ -0003b240: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -0003b280: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -0003b2f0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -0003b310: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -0003b340: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -0003b360: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -0003b2d0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -0003b2e0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -0003b320: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -0003b330: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ -0003b380: 696e 7374 616c 6c5f 6169 6465 0a0a 636c install_aide..cl │ │ │ -0003b390: 6173 7320 696e 7374 616c 6c5f 6169 6465 ass install_aide │ │ │ -0003b3a0: 207b 0a20 2070 6163 6b61 6765 207b 2027 {. package { ' │ │ │ -0003b3b0: 6169 6465 273a 0a20 2020 2065 6e73 7572 aide':. ensur │ │ │ -0003b3c0: 6520 3d26 6774 3b20 2769 6e73 7461 6c6c e => 'install │ │ │ -0003b3d0: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Rem │ │ │ -0003b490: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ -0003b4a0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -0003b4b0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
│ │ │ -0003b540: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
- 
│ │ │ -0003b5e0: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ -0003b5f0: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ -0003b600: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ -0003b610: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ -0003b620: 6f0a 2020 7461 6773 3a0a 2020 2d20 434a  o.  tags:.  - CJ
│ │ │ -0003b630: 4953 2d35 2e31 302e 312e 330a 2020 2d20  IS-5.10.1.3.  - 
│ │ │ -0003b640: 4449 5341 2d53 5449 472d 5542 5455 2d32  DISA-STIG-UBTU-2
│ │ │ -0003b650: 322d 3635 3130 3130 0a20 202d 204e 4953  2-651010.  - NIS
│ │ │ -0003b660: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ -0003b670: 0a20 202d 2050 4349 2d44 5353 2d52 6571  .  - PCI-DSS-Req
│ │ │ -0003b680: 2d31 312e 350a 2020 2d20 5043 492d 4453  -11.5.  - PCI-DS
│ │ │ -0003b690: 5376 342d 3131 2e35 2e32 0a20 202d 2065  Sv4-11.5.2.  - e
│ │ │ -0003b6a0: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ -0003b6b0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -0003b6c0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -0003b6d0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ -0003b6e0: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -0003b6f0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -0003b700: 2d20 7061 636b 6167 655f 6169 6465 5f69  - package_aide_i
│ │ │ -0003b710: 6e73 7461 6c6c 6564 0a0a 2d20 6e61 6d65  nstalled..- name
│ │ │ -0003b720: 3a20 456e 7375 7265 2061 6964 6520 6973  : Ensure aide is
│ │ │ -0003b730: 2069 6e73 7461 6c6c 6564 0a20 2070 6163   installed.  pac
│ │ │ -0003b740: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20  kage:.    name: 
│ │ │ -0003b750: 6169 6465 0a20 2020 2073 7461 7465 3a20  aide.    state: 
│ │ │ -0003b760: 7072 6573 656e 740a 2020 7768 656e 3a20  present.  when: 
│ │ │ -0003b770: 2722 6c69 6e75 782d 6261 7365 2220 696e  '"linux-base" in
│ │ │ -0003b780: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ -0003b790: 6163 6b61 6765 7327 0a20 2074 6167 733a  ackages'.  tags:
│ │ │ -0003b7a0: 0a20 202d 2043 4a49 532d 352e 3130 2e31  .  - CJIS-5.10.1
│ │ │ -0003b7b0: 2e33 0a20 202d 2044 4953 412d 5354 4947  .3.  - DISA-STIG
│ │ │ -0003b7c0: 2d55 4254 552d 3232 2d36 3531 3031 300a  -UBTU-22-651010.
│ │ │ -0003b7d0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -0003b7e0: 434d 2d36 2861 290a 2020 2d20 5043 492d  CM-6(a).  - PCI-
│ │ │ -0003b7f0: 4453 532d 5265 712d 3131 2e35 0a20 202d  DSS-Req-11.5.  -
│ │ │ -0003b800: 2050 4349 2d44 5353 7634 2d31 312e 352e   PCI-DSSv4-11.5.
│ │ │ -0003b810: 320a 2020 2d20 656e 6162 6c65 5f73 7472  2.  - enable_str
│ │ │ -0003b820: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ -0003b830: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -0003b840: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -0003b850: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ -0003b860: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -0003b870: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -0003b880: 5f61 6964 655f 696e 7374 616c 6c65 640a  _aide_installed.
│ │ │ +0003b0e0: 6d65 6469 6174 696f 6e20 416e 7369 626c  mediation Ansibl
│ │ │ +0003b0f0: 6520 736e 6970 7065 7420 e287 b23c 2f61  e snippet ...
│ │ │ -0003b530: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -0003b560: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -0003b570: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -0003b5b0: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ -0003b5c0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
< │ │ │ +0003b1d0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +0003b1e0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
-
│ │ │ +0003b230: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ +0003b240: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ +0003b250: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ +0003b260: 0a20 2020 206d 616e 6167 6572 3a20 6175  .    manager: au
│ │ │ +0003b270: 746f 0a20 2074 6167 733a 0a20 202d 2043  to.  tags:.  - C
│ │ │ +0003b280: 4a49 532d 352e 3130 2e31 2e33 0a20 202d  JIS-5.10.1.3.  -
│ │ │ +0003b290: 2044 4953 412d 5354 4947 2d55 4254 552d   DISA-STIG-UBTU-
│ │ │ +0003b2a0: 3232 2d36 3531 3031 300a 2020 2d20 4e49  22-651010.  - NI
│ │ │ +0003b2b0: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +0003b2c0: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ +0003b2d0: 712d 3131 2e35 0a20 202d 2050 4349 2d44  q-11.5.  - PCI-D
│ │ │ +0003b2e0: 5353 7634 2d31 312e 352e 320a 2020 2d20  SSv4-11.5.2.  - 
│ │ │ +0003b2f0: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ +0003b300: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +0003b310: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +0003b320: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ +0003b330: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +0003b340: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +0003b350: 202d 2070 6163 6b61 6765 5f61 6964 655f   - package_aide_
│ │ │ +0003b360: 696e 7374 616c 6c65 640a 0a2d 206e 616d  installed..- nam
│ │ │ +0003b370: 653a 2045 6e73 7572 6520 6169 6465 2069  e: Ensure aide i
│ │ │ +0003b380: 7320 696e 7374 616c 6c65 640a 2020 7061  s installed.  pa
│ │ │ +0003b390: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ +0003b3a0: 2061 6964 650a 2020 2020 7374 6174 653a   aide.    state:
│ │ │ +0003b3b0: 2070 7265 7365 6e74 0a20 2077 6865 6e3a   present.  when:
│ │ │ +0003b3c0: 2027 226c 696e 7578 2d62 6173 6522 2069   '"linux-base" i
│ │ │ +0003b3d0: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +0003b3e0: 7061 636b 6167 6573 270a 2020 7461 6773  packages'.  tags
│ │ │ +0003b3f0: 3a0a 2020 2d20 434a 4953 2d35 2e31 302e  :.  - CJIS-5.10.
│ │ │ +0003b400: 312e 330a 2020 2d20 4449 5341 2d53 5449  1.3.  - DISA-STI
│ │ │ +0003b410: 472d 5542 5455 2d32 322d 3635 3130 3130  G-UBTU-22-651010
│ │ │ +0003b420: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +0003b430: 2d43 4d2d 3628 6129 0a20 202d 2050 4349  -CM-6(a).  - PCI
│ │ │ +0003b440: 2d44 5353 2d52 6571 2d31 312e 350a 2020  -DSS-Req-11.5.  
│ │ │ +0003b450: 2d20 5043 492d 4453 5376 342d 3131 2e35  - PCI-DSSv4-11.5
│ │ │ +0003b460: 2e32 0a20 202d 2065 6e61 626c 655f 7374  .2.  - enable_st
│ │ │ +0003b470: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +0003b480: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +0003b490: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +0003b4a0: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ +0003b4b0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +0003b4c0: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ +0003b4d0: 655f 6169 6465 5f69 6e73 7461 6c6c 6564  e_aide_installed
│ │ │ +0003b4e0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation P │ │ │ +0003b5a0: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ +0003b5b0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
low< │ │ │ +0003b680: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr> │ │ │ +0003b6d0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:low
Disrup │ │ │ +0003b1b0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +0003b1c0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +0003b200: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +0003b210: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexity: │ │ │ +0003b640: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ +0003b660: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ +0003b6b0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +0003b6c0: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
include insta
│ │ │ +0003b6f0: 6c6c 5f61 6964 650a 0a63 6c61 7373 2069  ll_aide..class i
│ │ │ +0003b700: 6e73 7461 6c6c 5f61 6964 6520 7b0a 2020  nstall_aide {.  
│ │ │ +0003b710: 7061 636b 6167 6520 7b20 2761 6964 6527  package { 'aide'
│ │ │ +0003b720: 3a0a 2020 2020 656e 7375 7265 203d 2667  :.    ensure =&g
│ │ │ +0003b730: 743b 2027 696e 7374 616c 6c65 6427 2c0a  t; 'installed',.
│ │ │ +0003b740: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remediat │ │ │ +0003b800: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue │ │ │ +0003b810: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet .. │ │ │ +0003b820: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
│ │ │ +0003b860: 3c63 6f64 653e 0a5b 5b70 6163 6b61 6765  .[[package
│ │ │ +0003b870: 735d 5d0a 6e61 6d65 203d 2022 6169 6465  s]].name = "aide
│ │ │ +0003b880: 220a 7665 7273 696f 6e20 3d20 222a 220a  ".version = "*".
│ │ │  0003b890: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation │ │ │ -000437b0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -000437c0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
Complexity │ │ │ -00043850: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -00043870: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -00043880: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -00043890: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -000438a0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -000438c0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ -000438f0: 636f 6465 3e69 6e63 6c75 6465 2072 656d  code>include rem
│ │ │ -00043900: 6f76 655f 7072 656c 696e 6b0a 0a63 6c61  ove_prelink..cla
│ │ │ -00043910: 7373 2072 656d 6f76 655f 7072 656c 696e  ss remove_prelin
│ │ │ -00043920: 6b20 7b0a 2020 7061 636b 6167 6520 7b20  k {.  package { 
│ │ │ -00043930: 2770 7265 6c69 6e6b 273a 0a20 2020 2065  'prelink':.    e
│ │ │ -00043940: 6e73 7572 6520 3d26 6774 3b20 2770 7572  nsure => 'pur
│ │ │ -00043950: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ged',.  }.}.
< │ │ │ -00043970: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -00043980: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -00043990: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -000439a0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -000439b0: 646d 3238 3236 2220 7461 6269 6e64 6578 dm2826" tabindex │ │ │ -000439c0: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ -000439d0: 6e22 2061 7269 612d 6578 7061 6e64 6564 n" aria-expanded │ │ │ -000439e0: 3d22 6661 6c73 6522 2074 6974 6c65 3d22 ="false" title=" │ │ │ -000439f0: 4163 7469 7661 7465 2074 6f20 7265 7665 Activate to reve │ │ │ -00043a00: 616c 2220 6872 6566 3d22 2321 223e 5265 al" href="#!">Re │ │ │ -00043a10: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -00043a20: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
│ │ │ -00043ad0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -00043b20: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -00043b50: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:medium
Dis │ │ │ -00043ae0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -00043b30: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -00043b40: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
- name: Check
│ │ │ -00043b70: 2049 6620 5072 656c 696e 6b65 6420 4973   If Prelinked Is
│ │ │ -00043b80: 2049 6e73 7461 6c6c 6564 0a20 2061 6e73   Installed.  ans
│ │ │ -00043b90: 6962 6c65 2e62 7569 6c74 696e 2e73 7461  ible.builtin.sta
│ │ │ -00043ba0: 743a 0a20 2020 2070 6174 683a 202f 7573  t:.    path: /us
│ │ │ -00043bb0: 722f 7362 696e 2f70 7265 6c69 6e6b 0a20  r/sbin/prelink. 
│ │ │ -00043bc0: 2020 2067 6574 5f63 6865 636b 7375 6d3a     get_checksum:
│ │ │ -00043bd0: 2066 616c 7365 0a20 2072 6567 6973 7465   false.  registe
│ │ │ -00043be0: 723a 2070 7265 6c69 6e6b 0a20 2074 6167  r: prelink.  tag
│ │ │ -00043bf0: 733a 0a20 202d 2064 6973 6162 6c65 5f73  s:.  - disable_s
│ │ │ -00043c00: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ -00043c10: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ -00043c20: 6564 6975 6d5f 636f 6d70 6c65 7869 7479  edium_complexity
│ │ │ -00043c30: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ -00043c40: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -00043c50: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ -00043c60: 636b 6167 655f 7072 656c 696e 6b5f 7265  ckage_prelink_re
│ │ │ -00043c70: 6d6f 7665 640a 0a2d 206e 616d 653a 2052  moved..- name: R
│ │ │ -00043c80: 6573 746f 7265 2050 7265 6c69 6e6b 6564  estore Prelinked
│ │ │ -00043c90: 2042 696e 6172 6965 730a 2020 616e 7369   Binaries.  ansi
│ │ │ -00043ca0: 626c 652e 6275 696c 7469 6e2e 636f 6d6d  ble.builtin.comm
│ │ │ -00043cb0: 616e 643a 0a20 2020 2063 6d64 3a20 7072  and:.    cmd: pr
│ │ │ -00043cc0: 656c 696e 6b20 2d75 610a 2020 7768 656e  elink -ua.  when
│ │ │ -00043cd0: 3a20 7072 656c 696e 6b2e 7374 6174 2e65  : prelink.stat.e
│ │ │ -00043ce0: 7869 7374 730a 2020 7461 6773 3a0a 2020  xists.  tags:.  
│ │ │ -00043cf0: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ -00043d00: 6779 0a20 202d 206c 6f77 5f64 6973 7275  gy.  - low_disru
│ │ │ -00043d10: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -00043d20: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -00043d30: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ -00043d40: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -00043d50: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -00043d60: 5f70 7265 6c69 6e6b 5f72 656d 6f76 6564  _prelink_removed
│ │ │ -00043d70: 0a0a 2d20 6e61 6d65 3a20 456e 7375 7265  ..- name: Ensure
│ │ │ -00043d80: 2070 7265 6c69 6e6b 2069 7320 5265 6d6f   prelink is Remo
│ │ │ -00043d90: 7665 640a 2020 616e 7369 626c 652e 6275  ved.  ansible.bu
│ │ │ -00043da0: 696c 7469 6e2e 7061 636b 6167 653a 0a20  iltin.package:. 
│ │ │ -00043db0: 2020 206e 616d 653a 2070 7265 6c69 6e6b     name: prelink
│ │ │ -00043dc0: 0a20 2020 2073 7461 7465 3a20 6162 7365  .    state: abse
│ │ │ -00043dd0: 6e74 0a20 2074 6167 733a 0a20 202d 2064  nt.  tags:.  - d
│ │ │ -00043de0: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ -00043df0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -00043e00: 6f6e 0a20 202d 206d 6564 6975 6d5f 636f  on.  - medium_co
│ │ │ -00043e10: 6d70 6c65 7869 7479 0a20 202d 206d 6564  mplexity.  - med
│ │ │ -00043e20: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ -00043e30: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -00043e40: 640a 2020 2d20 7061 636b 6167 655f 7072  d.  - package_pr
│ │ │ -00043e50: 656c 696e 6b5f 7265 6d6f 7665 640a 3c2f  elink_removed.
< │ │ │ +00043840: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +00043850: 793a 3c2f 7468 3e3c 7464 3e6d 6564 6975 y:mediu │ │ │ +00043860: 6d3c 2f74 643e 3c2f 7472 3e3c 7472 3e3c m< │ │ │ +00043870: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:low< │ │ │ +00043890: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>Rebo │ │ │ +000438a0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +000438b0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e< │ │ │ +000438c0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable

- name: │ │ │ +00043900: 2043 6865 636b 2049 6620 5072 656c 696e Check If Prelin │ │ │ +00043910: 6b65 6420 4973 2049 6e73 7461 6c6c 6564 ked Is Installed │ │ │ +00043920: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74 . ansible.built │ │ │ +00043930: 696e 2e73 7461 743a 0a20 2020 2070 6174 in.stat:. pat │ │ │ +00043940: 683a 202f 7573 722f 7362 696e 2f70 7265 h: /usr/sbin/pre │ │ │ +00043950: 6c69 6e6b 0a20 2020 2067 6574 5f63 6865 link. get_che │ │ │ +00043960: 636b 7375 6d3a 2066 616c 7365 0a20 2072 cksum: false. r │ │ │ +00043970: 6567 6973 7465 723a 2070 7265 6c69 6e6b egister: prelink │ │ │ +00043980: 0a20 2074 6167 733a 0a20 202d 2064 6973 . tags:. - dis │ │ │ +00043990: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy. │ │ │ +000439a0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption │ │ │ +000439b0: 0a20 202d 206d 6564 6975 6d5f 636f 6d70 . - medium_comp │ │ │ +000439c0: 6c65 7869 7479 0a20 202d 206d 6564 6975 lexity. - mediu │ │ │ +000439d0: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n │ │ │ +000439e0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed. │ │ │ +000439f0: 2020 2d20 7061 636b 6167 655f 7072 656c - package_prel │ │ │ +00043a00: 696e 6b5f 7265 6d6f 7665 640a 0a2d 206e ink_removed..- n │ │ │ +00043a10: 616d 653a 2052 6573 746f 7265 2050 7265 ame: Restore Pre │ │ │ +00043a20: 6c69 6e6b 6564 2042 696e 6172 6965 730a linked Binaries. │ │ │ +00043a30: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti │ │ │ +00043a40: 6e2e 636f 6d6d 616e 643a 0a20 2020 2063 n.command:. c │ │ │ +00043a50: 6d64 3a20 7072 656c 696e 6b20 2d75 610a md: prelink -ua. │ │ │ +00043a60: 2020 7768 656e 3a20 7072 656c 696e 6b2e when: prelink. │ │ │ +00043a70: 7374 6174 2e65 7869 7374 730a 2020 7461 stat.exists. ta │ │ │ +00043a80: 6773 3a0a 2020 2d20 6469 7361 626c 655f gs:. - disable_ │ │ │ +00043a90: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low │ │ │ +00043aa0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. - │ │ │ +00043ab0: 6d65 6469 756d 5f63 6f6d 706c 6578 6974 medium_complexit │ │ │ +00043ac0: 790a 2020 2d20 6d65 6469 756d 5f73 6576 y. - medium_sev │ │ │ +00043ad0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562 erity. - no_reb │ │ │ +00043ae0: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p │ │ │ +00043af0: 6163 6b61 6765 5f70 7265 6c69 6e6b 5f72 ackage_prelink_r │ │ │ +00043b00: 656d 6f76 6564 0a0a 2d20 6e61 6d65 3a20 emoved..- name: │ │ │ +00043b10: 456e 7375 7265 2070 7265 6c69 6e6b 2069 Ensure prelink i │ │ │ +00043b20: 7320 5265 6d6f 7665 640a 2020 616e 7369 s Removed. ansi │ │ │ +00043b30: 626c 652e 6275 696c 7469 6e2e 7061 636b ble.builtin.pack │ │ │ +00043b40: 6167 653a 0a20 2020 206e 616d 653a 2070 age:. name: p │ │ │ +00043b50: 7265 6c69 6e6b 0a20 2020 2073 7461 7465 relink. state │ │ │ +00043b60: 3a20 6162 7365 6e74 0a20 2074 6167 733a : absent. tags: │ │ │ +00043b70: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str │ │ │ +00043b80: 6174 6567 790a 2020 2d20 6c6f 775f 6469 ategy. - low_di │ │ │ +00043b90: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med │ │ │ +00043ba0: 6975 6d5f 636f 6d70 6c65 7869 7479 0a20 ium_complexity. │ │ │ +00043bb0: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi │ │ │ +00043bc0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot │ │ │ +00043bd0: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack │ │ │ +00043be0: 6167 655f 7072 656c 696e 6b5f 7265 6d6f age_prelink_remo │ │ │ +00043bf0: 7665 640a 3c2f 636f 6465 3e3c 2f70 7265 ved.

Remediatio │ │ │ +00043cb0: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ +00043cc0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
│ │ │ +00043d40: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +00043d50: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +00043d60: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +00043da0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +00043db0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +00043dd0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +00043de0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include r
│ │ │ +00043e00: 656d 6f76 655f 7072 656c 696e 6b0a 0a63  emove_prelink..c
│ │ │ +00043e10: 6c61 7373 2072 656d 6f76 655f 7072 656c  lass remove_prel
│ │ │ +00043e20: 696e 6b20 7b0a 2020 7061 636b 6167 6520  ink {.  package 
│ │ │ +00043e30: 7b20 2770 7265 6c69 6e6b 273a 0a20 2020  { 'prelink':.   
│ │ │ +00043e40: 2065 6e73 7572 6520 3d26 6774 3b20 2770   ensure => 'p
│ │ │ +00043e50: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f  urged',.  }.}.
Remed │ │ │ -00051d00: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B │ │ │ -00051d10: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet │ │ │ -00051d20: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...

.[[pack │ │ │ -00051d70: 6167 6573 5d5d 0a6e 616d 6520 3d20 2273 ages]].name = "s │ │ │ -00051d80: 7564 6f22 0a76 6572 7369 6f6e 203d 2022 udo".version = " │ │ │ -00051d90: 2a22 0a3c 2f63 6f64 653e 3c2f 7072 653e *". │ │ │ -00051da0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22

Remediation │ │ │ -00051e50: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ -00051e60: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
< │ │ │ -00051ee0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -00051ef0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ -00051f10: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ -00051f20: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ -00051f40: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ -00051f60: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:enable
<
│ │ │ -00051f90: 636f 6465 3e69 6e63 6c75 6465 2069 6e73  code>include ins
│ │ │ -00051fa0: 7461 6c6c 5f73 7564 6f0a 0a63 6c61 7373  tall_sudo..class
│ │ │ -00051fb0: 2069 6e73 7461 6c6c 5f73 7564 6f20 7b0a   install_sudo {.
│ │ │ -00051fc0: 2020 7061 636b 6167 6520 7b20 2773 7564    package { 'sud
│ │ │ -00051fd0: 6f27 3a0a 2020 2020 656e 7375 7265 203d  o':.    ensure =
│ │ │ -00051fe0: 2667 743b 2027 696e 7374 616c 6c65 6427  > 'installed'
│ │ │ -00051ff0: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ -00052000: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remedi │ │ │ -000520b0: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn │ │ │ -000520c0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Com │ │ │ -00052150: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -00052180: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -000521a0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -000521b0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -000521d0: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ -000521f0: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ -00052200: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ -00052210: 636b 6167 6520 6661 6374 730a 2020 7061  ckage facts.  pa
│ │ │ -00052220: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ -00052230: 206d 616e 6167 6572 3a20 6175 746f 0a20   manager: auto. 
│ │ │ -00052240: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ -00052250: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ -00052260: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ -00052270: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ -00052280: 2e32 2e36 0a20 202d 2065 6e61 626c 655f  .2.6.  - enable_
│ │ │ -00052290: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -000522a0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -000522b0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -000522c0: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ -000522d0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -000522e0: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ -000522f0: 6167 655f 7375 646f 5f69 6e73 7461 6c6c  age_sudo_install
│ │ │ -00052300: 6564 0a0a 2d20 6e61 6d65 3a20 456e 7375  ed..- name: Ensu
│ │ │ -00052310: 7265 2073 7564 6f20 6973 2069 6e73 7461  re sudo is insta
│ │ │ -00052320: 6c6c 6564 0a20 2070 6163 6b61 6765 3a0a  lled.  package:.
│ │ │ -00052330: 2020 2020 6e61 6d65 3a20 7375 646f 0a20      name: sudo. 
│ │ │ -00052340: 2020 2073 7461 7465 3a20 7072 6573 656e     state: presen
│ │ │ -00052350: 740a 2020 7768 656e 3a20 2722 6c69 6e75  t.  when: '"linu
│ │ │ -00052360: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ -00052370: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -00052380: 7327 0a20 2074 6167 733a 0a20 202d 204e  s'.  tags:.  - N
│ │ │ -00052390: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -000523a0: 6129 0a20 202d 2050 4349 2d44 5353 7634  a).  - PCI-DSSv4
│ │ │ -000523b0: 2d32 2e32 0a20 202d 2050 4349 2d44 5353  -2.2.  - PCI-DSS
│ │ │ -000523c0: 7634 2d32 2e32 2e36 0a20 202d 2065 6e61  v4-2.2.6.  - ena
│ │ │ -000523d0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -000523e0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -000523f0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -00052400: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -00052410: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -00052420: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -00052430: 7061 636b 6167 655f 7375 646f 5f69 6e73  package_sudo_ins
│ │ │ -00052440: 7461 6c6c 6564 0a3c 2f63 6f64 653e 3c2f  talled.
low< │ │ │ +00051dc0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +00051e10: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ +00051da0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +00051dd0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +00051df0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +00051e00: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +00051e20: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ +00051e30: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +00051e50: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ +00051e60: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ +00051e70: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ +00051e80: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ +00051e90: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ +00051ea0: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ +00051eb0: 2020 2d20 5043 492d 4453 5376 342d 322e    - PCI-DSSv4-2.
│ │ │ +00051ec0: 320a 2020 2d20 5043 492d 4453 5376 342d  2.  - PCI-DSSv4-
│ │ │ +00051ed0: 322e 322e 360a 2020 2d20 656e 6162 6c65  2.2.6.  - enable
│ │ │ +00051ee0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ +00051ef0: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ +00051f00: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ +00051f10: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ +00051f20: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ +00051f30: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ +00051f40: 6b61 6765 5f73 7564 6f5f 696e 7374 616c  kage_sudo_instal
│ │ │ +00051f50: 6c65 640a 0a2d 206e 616d 653a 2045 6e73  led..- name: Ens
│ │ │ +00051f60: 7572 6520 7375 646f 2069 7320 696e 7374  ure sudo is inst
│ │ │ +00051f70: 616c 6c65 640a 2020 7061 636b 6167 653a  alled.  package:
│ │ │ +00051f80: 0a20 2020 206e 616d 653a 2073 7564 6f0a  .    name: sudo.
│ │ │ +00051f90: 2020 2020 7374 6174 653a 2070 7265 7365      state: prese
│ │ │ +00051fa0: 6e74 0a20 2077 6865 6e3a 2027 226c 696e  nt.  when: '"lin
│ │ │ +00051fb0: 7578 2d62 6173 6522 2069 6e20 616e 7369  ux-base" in ansi
│ │ │ +00051fc0: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ +00051fd0: 6573 270a 2020 7461 6773 3a0a 2020 2d20  es'.  tags:.  - 
│ │ │ +00051fe0: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ +00051ff0: 2861 290a 2020 2d20 5043 492d 4453 5376  (a).  - PCI-DSSv
│ │ │ +00052000: 342d 322e 320a 2020 2d20 5043 492d 4453  4-2.2.  - PCI-DS
│ │ │ +00052010: 5376 342d 322e 322e 360a 2020 2d20 656e  Sv4-2.2.6.  - en
│ │ │ +00052020: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +00052030: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +00052040: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +00052050: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ +00052060: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +00052070: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +00052080: 2070 6163 6b61 6765 5f73 7564 6f5f 696e   package_sudo_in
│ │ │ +00052090: 7374 616c 6c65 640a 3c2f 636f 6465 3e3c  stalled.<
│ │ │ +000520a0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remedi │ │ │ +00052150: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ +00052160: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +00052170: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Comp │ │ │ +000521f0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +00052200: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +00052220: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +00052240: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +00052250: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ +00052290: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ +000522a0: 6520 696e 7374 616c 6c5f 7375 646f 0a0a e install_sudo.. │ │ │ +000522b0: 636c 6173 7320 696e 7374 616c 6c5f 7375 class install_su │ │ │ +000522c0: 646f 207b 0a20 2070 6163 6b61 6765 207b do {. package { │ │ │ +000522d0: 2027 7375 646f 273a 0a20 2020 2065 6e73 'sudo':. ens │ │ │ +000522e0: 7572 6520 3d26 6774 3b20 2769 6e73 7461 ure => 'insta │ │ │ +000522f0: 6c6c 6564 272c 0a20 207d 0a7d 0a3c 2f63 lled',. }.}.
│ │ │ +00052310: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 R │ │ │ +000523b0: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui │ │ │ +000523c0: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni │ │ │ +000523d0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +000523e0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
.[[
│ │ │ +00052420: 7061 636b 6167 6573 5d5d 0a6e 616d 6520  packages]].name 
│ │ │ +00052430: 3d20 2273 7564 6f22 0a76 6572 7369 6f6e  = "sudo".version
│ │ │ +00052440: 203d 2022 2a22 0a3c 2f63 6f64 653e 3c2f   = "*".
Remediation OS │ │ │ -0008bcf0: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint │ │ │ -0008bd00: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -0008bd10: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>

│ │ │ -0008bd50: 0a5b 5b70 6163 6b61 6765 735d 5d0a 6e61  .[[packages]].na
│ │ │ -0008bd60: 6d65 203d 2022 6c69 6270 616d 2d70 7771  me = "libpam-pwq
│ │ │ -0008bd70: 7561 6c69 7479 220a 7665 7273 696f 6e20  uality".version 
│ │ │ -0008bd80: 3d20 222a 220a 3c2f 636f 6465 3e3c 2f70  = "*".

Remediat │ │ │ -0008be40: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ -0008be50: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -0008be90: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -0008bf00: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -0008bf20: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -0008bf50: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -0008bf70: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -0008bee0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -0008bef0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -0008bf30: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -0008bf40: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ -0008bf90: 696e 7374 616c 6c5f 6c69 6270 616d 2d70 install_libpam-p │ │ │ -0008bfa0: 7771 7561 6c69 7479 0a0a 636c 6173 7320 wquality..class │ │ │ -0008bfb0: 696e 7374 616c 6c5f 6c69 6270 616d 2d70 install_libpam-p │ │ │ -0008bfc0: 7771 7561 6c69 7479 207b 0a20 2070 6163 wquality {. pac │ │ │ -0008bfd0: 6b61 6765 207b 2027 6c69 6270 616d 2d70 kage { 'libpam-p │ │ │ -0008bfe0: 7771 7561 6c69 7479 273a 0a20 2020 2065 wquality':. e │ │ │ -0008bff0: 6e73 7572 6520 3d26 6774 3b20 2769 6e73 nsure => 'ins │ │ │ -0008c000: 7461 6c6c 6564 272c 0a20 207d 0a7d 0a3c talled',. }.}.< │ │ │ -0008c010: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>Remediation Ans │ │ │ -0008c0d0: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -0008c0e0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ -0008c160: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -0008c180: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -0008c1d0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ -0008c200: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Gather
│ │ │ -0008c220: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ -0008c230: 7473 0a20 2070 6163 6b61 6765 5f66 6163  ts.  package_fac
│ │ │ -0008c240: 7473 3a0a 2020 2020 6d61 6e61 6765 723a  ts:.    manager:
│ │ │ -0008c250: 2061 7574 6f0a 2020 7461 6773 3a0a 2020   auto.  tags:.  
│ │ │ -0008c260: 2d20 4449 5341 2d53 5449 472d 5542 5455  - DISA-STIG-UBTU
│ │ │ -0008c270: 2d32 322d 3231 3530 3130 0a20 202d 2065  -22-215010.  - e
│ │ │ -0008c280: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ -0008c290: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -0008c2a0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -0008c2b0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ -0008c2c0: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -0008c2d0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -0008c2e0: 2d20 7061 636b 6167 655f 7061 6d5f 7077  - package_pam_pw
│ │ │ -0008c2f0: 7175 616c 6974 795f 696e 7374 616c 6c65  quality_installe
│ │ │ -0008c300: 640a 0a2d 206e 616d 653a 2045 6e73 7572  d..- name: Ensur
│ │ │ -0008c310: 6520 6c69 6270 616d 2d70 7771 7561 6c69  e libpam-pwquali
│ │ │ -0008c320: 7479 2069 7320 696e 7374 616c 6c65 640a  ty is installed.
│ │ │ -0008c330: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ -0008c340: 616d 653a 206c 6962 7061 6d2d 7077 7175  ame: libpam-pwqu
│ │ │ -0008c350: 616c 6974 790a 2020 2020 7374 6174 653a  ality.    state:
│ │ │ -0008c360: 2070 7265 7365 6e74 0a20 2077 6865 6e3a   present.  when:
│ │ │ -0008c370: 2027 226c 6962 7061 6d2d 7275 6e74 696d   '"libpam-runtim
│ │ │ -0008c380: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ -0008c390: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ -0008c3a0: 7461 6773 3a0a 2020 2d20 4449 5341 2d53  tags:.  - DISA-S
│ │ │ -0008c3b0: 5449 472d 5542 5455 2d32 322d 3231 3530  TIG-UBTU-22-2150
│ │ │ -0008c3c0: 3130 0a20 202d 2065 6e61 626c 655f 7374  10.  - enable_st
│ │ │ -0008c3d0: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ -0008c3e0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ -0008c3f0: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ -0008c400: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ -0008c410: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ -0008c420: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ -0008c430: 655f 7061 6d5f 7077 7175 616c 6974 795f  e_pam_pwquality_
│ │ │ -0008c440: 696e 7374 616c 6c65 640a 3c2f 636f 6465  installed.Remediation An
│ │ │ +0008bcf0: 7369 626c 6520 736e 6970 7065 7420 e287  sible snippet ..
│ │ │ +0008bd00: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c  .
low< │ │ │ +0008bdd0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr> │ │ │ +0008be20: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -0008c170: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -0008c190: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -0008c1e0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ -0008c1f0: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
Complexity: │ │ │ +0008bd90: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ +0008bdb0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ +0008be00: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +0008be10: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
- name: Gathe
│ │ │ +0008be40: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ +0008be50: 6374 730a 2020 7061 636b 6167 655f 6661  cts.  package_fa
│ │ │ +0008be60: 6374 733a 0a20 2020 206d 616e 6167 6572  cts:.    manager
│ │ │ +0008be70: 3a20 6175 746f 0a20 2074 6167 733a 0a20  : auto.  tags:. 
│ │ │ +0008be80: 202d 2044 4953 412d 5354 4947 2d55 4254   - DISA-STIG-UBT
│ │ │ +0008be90: 552d 3232 2d32 3135 3031 300a 2020 2d20  U-22-215010.  - 
│ │ │ +0008bea0: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ +0008beb0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +0008bec0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +0008bed0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ +0008bee0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +0008bef0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +0008bf00: 202d 2070 6163 6b61 6765 5f70 616d 5f70   - package_pam_p
│ │ │ +0008bf10: 7771 7561 6c69 7479 5f69 6e73 7461 6c6c  wquality_install
│ │ │ +0008bf20: 6564 0a0a 2d20 6e61 6d65 3a20 456e 7375  ed..- name: Ensu
│ │ │ +0008bf30: 7265 206c 6962 7061 6d2d 7077 7175 616c  re libpam-pwqual
│ │ │ +0008bf40: 6974 7920 6973 2069 6e73 7461 6c6c 6564  ity is installed
│ │ │ +0008bf50: 0a20 2070 6163 6b61 6765 3a0a 2020 2020  .  package:.    
│ │ │ +0008bf60: 6e61 6d65 3a20 6c69 6270 616d 2d70 7771  name: libpam-pwq
│ │ │ +0008bf70: 7561 6c69 7479 0a20 2020 2073 7461 7465  uality.    state
│ │ │ +0008bf80: 3a20 7072 6573 656e 740a 2020 7768 656e  : present.  when
│ │ │ +0008bf90: 3a20 2722 6c69 6270 616d 2d72 756e 7469  : '"libpam-runti
│ │ │ +0008bfa0: 6d65 2220 696e 2061 6e73 6962 6c65 5f66  me" in ansible_f
│ │ │ +0008bfb0: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ +0008bfc0: 2074 6167 733a 0a20 202d 2044 4953 412d   tags:.  - DISA-
│ │ │ +0008bfd0: 5354 4947 2d55 4254 552d 3232 2d32 3135  STIG-UBTU-22-215
│ │ │ +0008bfe0: 3031 300a 2020 2d20 656e 6162 6c65 5f73  010.  - enable_s
│ │ │ +0008bff0: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ +0008c000: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ +0008c010: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ +0008c020: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ +0008c030: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ +0008c040: 6e65 6564 6564 0a20 202d 2070 6163 6b61  needed.  - packa
│ │ │ +0008c050: 6765 5f70 616d 5f70 7771 7561 6c69 7479  ge_pam_pwquality
│ │ │ +0008c060: 5f69 6e73 7461 6c6c 6564 0a3c 2f63 6f64  _installed.
Rem │ │ │ +0008c120: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ +0008c130: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +0008c140: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
< │ │ │ +0008c1d0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +0008c1e0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +0008c230: 3c74 723e 3c74 683e 5374 7261 7465 6779
inc
│ │ │ +0008c270: 6c75 6465 2069 6e73 7461 6c6c 5f6c 6962  lude install_lib
│ │ │ +0008c280: 7061 6d2d 7077 7175 616c 6974 790a 0a63  pam-pwquality..c
│ │ │ +0008c290: 6c61 7373 2069 6e73 7461 6c6c 5f6c 6962  lass install_lib
│ │ │ +0008c2a0: 7061 6d2d 7077 7175 616c 6974 7920 7b0a  pam-pwquality {.
│ │ │ +0008c2b0: 2020 7061 636b 6167 6520 7b20 276c 6962    package { 'lib
│ │ │ +0008c2c0: 7061 6d2d 7077 7175 616c 6974 7927 3a0a  pam-pwquality':.
│ │ │ +0008c2d0: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +0008c2e0: 2027 696e 7374 616c 6c65 6427 2c0a 2020   'installed',.  
│ │ │ +0008c2f0: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediatio │ │ │ +0008c3b0: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr │ │ │ +0008c3c0: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...< │ │ │ +0008c3d0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
.[[packages]
│ │ │ +0008c420: 5d0a 6e61 6d65 203d 2022 6c69 6270 616d  ].name = "libpam
│ │ │ +0008c430: 2d70 7771 7561 6c69 7479 220a 7665 7273  -pwquality".vers
│ │ │ +0008c440: 696f 6e20 3d20 222a 220a 3c2f 636f 6465  ion = "*".
Rem │ │ │ -000bc950: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild │ │ │ -000bc960: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp │ │ │ -000bc970: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -000bc9b0: 3c70 7265 3e3c 636f 6465 3e0a 5b5b 7061
.[[pa
│ │ │ -000bc9c0: 636b 6167 6573 5d5d 0a6e 616d 6520 3d20  ckages]].name = 
│ │ │ -000bc9d0: 2261 7070 6172 6d6f 7222 0a76 6572 7369  "apparmor".versi
│ │ │ -000bc9e0: 6f6e 203d 2022 2a22 0a3c 2f63 6f64 653e  on = "*".
│ │ │ -000bc9f0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Remed │ │ │ -000bcaa0: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ -000bcab0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
C │ │ │ +0008c1c0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +0008c1f0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +0008c200: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +0008c240: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ +0008c250: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Com │ │ │ -000bcb40: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -000bcb70: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -000bcb90: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -000bcba0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -000bcbc0: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ -000bcbe0: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -000bcbf0: 6465 2069 6e73 7461 6c6c 5f61 7070 6172  de install_appar
│ │ │ -000bcc00: 6d6f 720a 0a63 6c61 7373 2069 6e73 7461  mor..class insta
│ │ │ -000bcc10: 6c6c 5f61 7070 6172 6d6f 7220 7b0a 2020  ll_apparmor {.  
│ │ │ -000bcc20: 7061 636b 6167 6520 7b20 2761 7070 6172  package { 'appar
│ │ │ -000bcc30: 6d6f 7227 3a0a 2020 2020 656e 7375 7265  mor':.    ensure
│ │ │ -000bcc40: 203d 2667 743b 2027 696e 7374 616c 6c65   => 'installe
│ │ │ -000bcc50: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Reme │ │ │ -000bcd10: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible │ │ │ -000bcd20: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -000bcd30: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
< │ │ │ -000bcdc0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -000bcdd0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -000bce20: 3c74 723e 3c74 683e 5374 7261 7465 6779
- n
│ │ │ -000bce60: 616d 653a 2045 6e73 7572 6520 6170 7061  ame: Ensure appa
│ │ │ -000bce70: 726d 6f72 2069 7320 696e 7374 616c 6c65  rmor is installe
│ │ │ -000bce80: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ -000bce90: 206e 616d 653a 2061 7070 6172 6d6f 720a   name: apparmor.
│ │ │ -000bcea0: 2020 2020 7374 6174 653a 2070 7265 7365      state: prese
│ │ │ -000bceb0: 6e74 0a20 2077 6865 6e3a 2061 6e73 6962  nt.  when: ansib
│ │ │ -000bcec0: 6c65 5f76 6972 7475 616c 697a 6174 696f  le_virtualizatio
│ │ │ -000bced0: 6e5f 7479 7065 206e 6f74 2069 6e20 5b22  n_type not in ["
│ │ │ -000bcee0: 646f 636b 6572 222c 2022 6c78 6322 2c20  docker", "lxc", 
│ │ │ -000bcef0: 226f 7065 6e76 7a22 2c20 2270 6f64 6d61  "openvz", "podma
│ │ │ -000bcf00: 6e22 2c20 2263 6f6e 7461 696e 6572 225d  n", "container"]
│ │ │ -000bcf10: 0a20 2074 6167 733a 0a20 202d 2044 4953  .  tags:.  - DIS
│ │ │ -000bcf20: 412d 5354 4947 2d55 4254 552d 3232 2d34  A-STIG-UBTU-22-4
│ │ │ -000bcf30: 3331 3031 300a 2020 2d20 656e 6162 6c65  31010.  - enable
│ │ │ -000bcf40: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ -000bcf50: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -000bcf60: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -000bcf70: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ -000bcf80: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ -000bcf90: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ -000bcfa0: 6b61 6765 5f61 7070 6172 6d6f 725f 696e  kage_apparmor_in
│ │ │ -000bcfb0: 7374 616c 6c65 640a 3c2f 636f 6465 3e3c  stalled.<
│ │ │ +000bc950: 6564 6961 7469 6f6e 2041 6e73 6962 6c65  ediation Ansible
│ │ │ +000bc960: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e   snippet ...
│ │ │ +000bc970: 3c62 723e 3c64 6976 2063 6c61 7373 3d22  
C │ │ │ -000bcdb0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -000bcde0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -000bcdf0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -000bce30: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ -000bce40: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
│ │ │ +000bca00: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
- 
│ │ │ +000bcaa0: 6e61 6d65 3a20 456e 7375 7265 2061 7070  name: Ensure app
│ │ │ +000bcab0: 6172 6d6f 7220 6973 2069 6e73 7461 6c6c  armor is install
│ │ │ +000bcac0: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ +000bcad0: 2020 6e61 6d65 3a20 6170 7061 726d 6f72    name: apparmor
│ │ │ +000bcae0: 0a20 2020 2073 7461 7465 3a20 7072 6573  .    state: pres
│ │ │ +000bcaf0: 656e 740a 2020 7768 656e 3a20 616e 7369  ent.  when: ansi
│ │ │ +000bcb00: 626c 655f 7669 7274 7561 6c69 7a61 7469  ble_virtualizati
│ │ │ +000bcb10: 6f6e 5f74 7970 6520 6e6f 7420 696e 205b  on_type not in [
│ │ │ +000bcb20: 2264 6f63 6b65 7222 2c20 226c 7863 222c  "docker", "lxc",
│ │ │ +000bcb30: 2022 6f70 656e 767a 222c 2022 706f 646d   "openvz", "podm
│ │ │ +000bcb40: 616e 222c 2022 636f 6e74 6169 6e65 7222  an", "container"
│ │ │ +000bcb50: 5d0a 2020 7461 6773 3a0a 2020 2d20 4449  ].  tags:.  - DI
│ │ │ +000bcb60: 5341 2d53 5449 472d 5542 5455 2d32 322d  SA-STIG-UBTU-22-
│ │ │ +000bcb70: 3433 3130 3130 0a20 202d 2065 6e61 626c  431010.  - enabl
│ │ │ +000bcb80: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ +000bcb90: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +000bcba0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +000bcbb0: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ +000bcbc0: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +000bcbd0: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ +000bcbe0: 636b 6167 655f 6170 7061 726d 6f72 5f69  ckage_apparmor_i
│ │ │ +000bcbf0: 6e73 7461 6c6c 6564 0a3c 2f63 6f64 653e  nstalled.
│ │ │ +000bcc00: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Remed │ │ │ +000bccb0: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ +000bccc0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
│ │ │ +000bc9f0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +000bca20: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +000bca30: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +000bca70: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ +000bca80: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Com │ │ │ +000bcd50: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +000bcd80: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +000bcda0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +000bcdb0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +000bcdd0: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ +000bcdf0: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +000bce00: 6465 2069 6e73 7461 6c6c 5f61 7070 6172  de install_appar
│ │ │ +000bce10: 6d6f 720a 0a63 6c61 7373 2069 6e73 7461  mor..class insta
│ │ │ +000bce20: 6c6c 5f61 7070 6172 6d6f 7220 7b0a 2020  ll_apparmor {.  
│ │ │ +000bce30: 7061 636b 6167 6520 7b20 2761 7070 6172  package { 'appar
│ │ │ +000bce40: 6d6f 7227 3a0a 2020 2020 656e 7375 7265  mor':.    ensure
│ │ │ +000bce50: 203d 2667 743b 2027 696e 7374 616c 6c65   => 'installe
│ │ │ +000bce60: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Reme │ │ │ +000bcf20: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild │ │ │ +000bcf30: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe │ │ │ +000bcf40: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
< │ │ │ +000bcf80: 7072 653e 3c63 6f64 653e 0a5b 5b70 6163 pre>.[[pac │ │ │ +000bcf90: 6b61 6765 735d 5d0a 6e61 6d65 203d 2022 kages]].name = " │ │ │ +000bcfa0: 6170 7061 726d 6f72 220a 7665 7273 696f apparmor".versio │ │ │ +000bcfb0: 6e20 3d20 222a 220a 3c2f 636f 6465 3e3c n = "*".< │ │ │ 000bcfc0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remedia │ │ │ -000c7d50: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu │ │ │ -000c7d60: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet . │ │ │ -000c7d70: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
.[[packa │ │ │ -000c7dc0: 6765 735d 5d0a 6e61 6d65 203d 2022 7379 ges]].name = "sy │ │ │ -000c7dd0: 7374 656d 642d 6a6f 7572 6e61 6c2d 7265 stemd-journal-re │ │ │ -000c7de0: 6d6f 7465 220a 7665 7273 696f 6e20 3d20 mote".version = │ │ │ -000c7df0: 222a 220a 3c2f 636f 6465 3e3c 2f70 7265 "*".
Remediati │ │ │ -000c7eb0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -000c7ec0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -000c7f00: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -000c7f70: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -000c7f90: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -000c7fc0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -000c7fe0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -000c7f50: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -000c7f60: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -000c7fa0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -000c7fb0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ -000c8000: 696e 7374 616c 6c5f 7379 7374 656d 642d install_systemd- │ │ │ -000c8010: 6a6f 7572 6e61 6c2d 7265 6d6f 7465 0a0a journal-remote.. │ │ │ -000c8020: 636c 6173 7320 696e 7374 616c 6c5f 7379 class install_sy │ │ │ -000c8030: 7374 656d 642d 6a6f 7572 6e61 6c2d 7265 stemd-journal-re │ │ │ -000c8040: 6d6f 7465 207b 0a20 2070 6163 6b61 6765 mote {. package │ │ │ -000c8050: 207b 2027 7379 7374 656d 642d 6a6f 7572 { 'systemd-jour │ │ │ -000c8060: 6e61 6c2d 7265 6d6f 7465 273a 0a20 2020 nal-remote':. │ │ │ -000c8070: 2065 6e73 7572 6520 3d26 6774 3b20 2769 ensure => 'i │ │ │ -000c8080: 6e73 7461 6c6c 6564 272c 0a20 207d 0a7d nstalled',. }.} │ │ │ -000c8090: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .Remediation │ │ │ -000c8150: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -000c8160: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -000c81e0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -000c81f0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -000c8200: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -000c8240: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -000c8250: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -000c8270: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ -000c8290: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761  - name: Ga
│ │ │ -000c82a0: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ -000c82b0: 2066 6163 7473 0a20 2070 6163 6b61 6765   facts.  package
│ │ │ -000c82c0: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61  _facts:.    mana
│ │ │ -000c82d0: 6765 723a 2061 7574 6f0a 2020 7461 6773  ger: auto.  tags
│ │ │ -000c82e0: 3a0a 2020 2d20 656e 6162 6c65 5f73 7472  :.  - enable_str
│ │ │ -000c82f0: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ -000c8300: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -000c8310: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -000c8320: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ -000c8330: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -000c8340: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -000c8350: 5f73 7973 7465 6d64 2d6a 6f75 726e 616c  _systemd-journal
│ │ │ -000c8360: 2d72 656d 6f74 655f 696e 7374 616c 6c65  -remote_installe
│ │ │ -000c8370: 640a 0a2d 206e 616d 653a 2045 6e73 7572  d..- name: Ensur
│ │ │ -000c8380: 6520 7379 7374 656d 642d 6a6f 7572 6e61  e systemd-journa
│ │ │ -000c8390: 6c2d 7265 6d6f 7465 2069 7320 696e 7374  l-remote is inst
│ │ │ -000c83a0: 616c 6c65 640a 2020 7061 636b 6167 653a  alled.  package:
│ │ │ -000c83b0: 0a20 2020 206e 616d 653a 2073 7973 7465  .    name: syste
│ │ │ -000c83c0: 6d64 2d6a 6f75 726e 616c 2d72 656d 6f74  md-journal-remot
│ │ │ -000c83d0: 650a 2020 2020 7374 6174 653a 2070 7265  e.    state: pre
│ │ │ -000c83e0: 7365 6e74 0a20 2077 6865 6e3a 2027 226c  sent.  when: '"l
│ │ │ -000c83f0: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ -000c8400: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ -000c8410: 6167 6573 270a 2020 7461 6773 3a0a 2020  ages'.  tags:.  
│ │ │ -000c8420: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ -000c8430: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -000c8440: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -000c8450: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ -000c8460: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ -000c8470: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -000c8480: 0a20 202d 2070 6163 6b61 6765 5f73 7973  .  - package_sys
│ │ │ -000c8490: 7465 6d64 2d6a 6f75 726e 616c 2d72 656d  temd-journal-rem
│ │ │ -000c84a0: 6f74 655f 696e 7374 616c 6c65 640a 3c2f  ote_installed.
│ │ │ +000c7d70: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +000c7df0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +000c7e20: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +000c7e40: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +000c7e50: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +000c7e70: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ +000c7e90: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ +000c7ea0: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ +000c7eb0: 636b 6167 6520 6661 6374 730a 2020 7061  ckage facts.  pa
│ │ │ +000c7ec0: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ +000c7ed0: 206d 616e 6167 6572 3a20 6175 746f 0a20   manager: auto. 
│ │ │ +000c7ee0: 2074 6167 733a 0a20 202d 2065 6e61 626c   tags:.  - enabl
│ │ │ +000c7ef0: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ +000c7f00: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +000c7f10: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +000c7f20: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ +000c7f30: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +000c7f40: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ +000c7f50: 636b 6167 655f 7379 7374 656d 642d 6a6f  ckage_systemd-jo
│ │ │ +000c7f60: 7572 6e61 6c2d 7265 6d6f 7465 5f69 6e73  urnal-remote_ins
│ │ │ +000c7f70: 7461 6c6c 6564 0a0a 2d20 6e61 6d65 3a20  talled..- name: 
│ │ │ +000c7f80: 456e 7375 7265 2073 7973 7465 6d64 2d6a  Ensure systemd-j
│ │ │ +000c7f90: 6f75 726e 616c 2d72 656d 6f74 6520 6973  ournal-remote is
│ │ │ +000c7fa0: 2069 6e73 7461 6c6c 6564 0a20 2070 6163   installed.  pac
│ │ │ +000c7fb0: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20  kage:.    name: 
│ │ │ +000c7fc0: 7379 7374 656d 642d 6a6f 7572 6e61 6c2d  systemd-journal-
│ │ │ +000c7fd0: 7265 6d6f 7465 0a20 2020 2073 7461 7465  remote.    state
│ │ │ +000c7fe0: 3a20 7072 6573 656e 740a 2020 7768 656e  : present.  when
│ │ │ +000c7ff0: 3a20 2722 6c69 6e75 782d 6261 7365 2220  : '"linux-base" 
│ │ │ +000c8000: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +000c8010: 2e70 6163 6b61 6765 7327 0a20 2074 6167  .packages'.  tag
│ │ │ +000c8020: 733a 0a20 202d 2065 6e61 626c 655f 7374  s:.  - enable_st
│ │ │ +000c8030: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +000c8040: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +000c8050: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +000c8060: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ +000c8070: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +000c8080: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ +000c8090: 655f 7379 7374 656d 642d 6a6f 7572 6e61  e_systemd-journa
│ │ │ +000c80a0: 6c2d 7265 6d6f 7465 5f69 6e73 7461 6c6c  l-remote_install
│ │ │ +000c80b0: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e  ed.
│ │ │ +000c80c0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ +000c8170: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ +000c8180: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +000c81c0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +000c81d0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +000c81e0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +000c81f0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +000c8200: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +000c8210: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +000c8220: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +000c8260: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +000c8270: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +000c8290: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ +000c82a0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include i
│ │ │ +000c82c0: 6e73 7461 6c6c 5f73 7973 7465 6d64 2d6a  nstall_systemd-j
│ │ │ +000c82d0: 6f75 726e 616c 2d72 656d 6f74 650a 0a63  ournal-remote..c
│ │ │ +000c82e0: 6c61 7373 2069 6e73 7461 6c6c 5f73 7973  lass install_sys
│ │ │ +000c82f0: 7465 6d64 2d6a 6f75 726e 616c 2d72 656d  temd-journal-rem
│ │ │ +000c8300: 6f74 6520 7b0a 2020 7061 636b 6167 6520  ote {.  package 
│ │ │ +000c8310: 7b20 2773 7973 7465 6d64 2d6a 6f75 726e  { 'systemd-journ
│ │ │ +000c8320: 616c 2d72 656d 6f74 6527 3a0a 2020 2020  al-remote':.    
│ │ │ +000c8330: 656e 7375 7265 203d 2667 743b 2027 696e  ensure => 'in
│ │ │ +000c8340: 7374 616c 6c65 6427 2c0a 2020 7d0a 7d0a  stalled',.  }.}.
│ │ │ +000c8350: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation O │ │ │ +000c8410: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint │ │ │ +000c8420: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +000c8430: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.[[packages]].
│ │ │ +000c8480: 6e61 6d65 203d 2022 7379 7374 656d 642d  name = "systemd-
│ │ │ +000c8490: 6a6f 7572 6e61 6c2d 7265 6d6f 7465 220a  journal-remote".
│ │ │ +000c84a0: 7665 7273 696f 6e20 3d20 222a 220a 3c2f  version = "*".
Remediation │ │ │ -000c9260: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ -000c9270: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
.[customizat
│ │ │ -000c92d0: 696f 6e73 2e73 6572 7669 6365 735d 0a65  ions.services].e
│ │ │ -000c92e0: 6e61 626c 6564 203d 205b 2273 7973 7465  nabled = ["syste
│ │ │ -000c92f0: 6d64 2d6a 6f75 726e 616c 6422 5d0a 3c2f  md-journald"].
Remediation Pup │ │ │ -000c93c0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ -000c93d0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -000c9450: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -000c9470: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -000c94c0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ -000c94f0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include enable
│ │ │ -000c9510: 5f73 7973 7465 6d64 2d6a 6f75 726e 616c  _systemd-journal
│ │ │ -000c9520: 640a 0a63 6c61 7373 2065 6e61 626c 655f  d..class enable_
│ │ │ -000c9530: 7379 7374 656d 642d 6a6f 7572 6e61 6c64  systemd-journald
│ │ │ -000c9540: 207b 0a20 2073 6572 7669 6365 207b 2773   {.  service {'s
│ │ │ -000c9550: 7973 7465 6d64 2d6a 6f75 726e 616c 6427  ystemd-journald'
│ │ │ -000c9560: 3a0a 2020 2020 656e 6162 6c65 203d 2667  :.    enable =&g
│ │ │ -000c9570: 743b 2074 7275 652c 0a20 2020 2065 6e73  t; true,.    ens
│ │ │ -000c9580: 7572 6520 3d26 6774 3b20 2772 756e 6e69  ure => 'runni
│ │ │ -000c9590: 6e67 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ng',.  }.}.
Re │ │ │ -000c9650: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -000c9660: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
Complexity:< │ │ │ -000c9460: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -000c9480: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -000c94d0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ -000c94e0: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
Complexity: │ │ │ -000c9740: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -000c9750: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ -000c97a0: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ -000c97b0: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ -000c97c0: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ -000c97d0: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ -000c97e0: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ -000c97f0: 4e49 5354 2d38 3030 2d35 332d 5343 2d32  NIST-800-53-SC-2
│ │ │ -000c9800: 340a 2020 2d20 656e 6162 6c65 5f73 7472  4.  - enable_str
│ │ │ -000c9810: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ -000c9820: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -000c9830: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -000c9840: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ -000c9850: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -000c9860: 6564 6564 0a20 202d 2073 6572 7669 6365  eded.  - service
│ │ │ -000c9870: 5f73 7973 7465 6d64 2d6a 6f75 726e 616c  _systemd-journal
│ │ │ -000c9880: 645f 656e 6162 6c65 640a 0a2d 206e 616d  d_enabled..- nam
│ │ │ -000c9890: 653a 2045 6e61 626c 6520 7379 7374 656d  e: Enable system
│ │ │ -000c98a0: 642d 6a6f 7572 6e61 6c64 2053 6572 7669  d-journald Servi
│ │ │ -000c98b0: 6365 202d 2045 6e61 626c 6520 7365 7276  ce - Enable serv
│ │ │ -000c98c0: 6963 6520 7379 7374 656d 642d 6a6f 7572  ice systemd-jour
│ │ │ -000c98d0: 6e61 6c64 0a20 2062 6c6f 636b 3a0a 0a20  nald.  block:.. 
│ │ │ -000c98e0: 202d 206e 616d 653a 2047 6174 6865 7220   - name: Gather 
│ │ │ -000c98f0: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ -000c9900: 730a 2020 2020 7061 636b 6167 655f 6661  s.    package_fa
│ │ │ -000c9910: 6374 733a 0a20 2020 2020 206d 616e 6167  cts:.      manag
│ │ │ -000c9920: 6572 3a20 6175 746f 0a0a 2020 2d20 6e61  er: auto..  - na
│ │ │ -000c9930: 6d65 3a20 456e 6162 6c65 2073 7973 7465  me: Enable syste
│ │ │ -000c9940: 6d64 2d6a 6f75 726e 616c 6420 5365 7276  md-journald Serv
│ │ │ -000c9950: 6963 6520 2d20 456e 6162 6c65 2053 6572  ice - Enable Ser
│ │ │ -000c9960: 7669 6365 2073 7973 7465 6d64 2d6a 6f75  vice systemd-jou
│ │ │ -000c9970: 726e 616c 640a 2020 2020 616e 7369 626c  rnald.    ansibl
│ │ │ -000c9980: 652e 6275 696c 7469 6e2e 7379 7374 656d  e.builtin.system
│ │ │ -000c9990: 643a 0a20 2020 2020 206e 616d 653a 2073  d:.      name: s
│ │ │ -000c99a0: 7973 7465 6d64 2d6a 6f75 726e 616c 640a  ystemd-journald.
│ │ │ -000c99b0: 2020 2020 2020 656e 6162 6c65 643a 2074        enabled: t
│ │ │ -000c99c0: 7275 650a 2020 2020 2020 7374 6174 653a  rue.      state:
│ │ │ -000c99d0: 2073 7461 7274 6564 0a20 2020 2020 206d   started.      m
│ │ │ -000c99e0: 6173 6b65 643a 2066 616c 7365 0a20 2020  asked: false.   
│ │ │ -000c99f0: 2077 6865 6e3a 0a20 2020 202d 2027 2273   when:.    - '"s
│ │ │ -000c9a00: 7973 7465 6d64 2220 696e 2061 6e73 6962  ystemd" in ansib
│ │ │ -000c9a10: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -000c9a20: 7327 0a20 2077 6865 6e3a 2027 226c 696e  s'.  when: '"lin
│ │ │ -000c9a30: 7578 2d62 6173 6522 2069 6e20 616e 7369  ux-base" in ansi
│ │ │ -000c9a40: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -000c9a50: 6573 270a 2020 7461 6773 3a0a 2020 2d20  es'.  tags:.  - 
│ │ │ -000c9a60: 4e49 5354 2d38 3030 2d35 332d 5343 2d32  NIST-800-53-SC-2
│ │ │ -000c9a70: 340a 2020 2d20 656e 6162 6c65 5f73 7472  4.  - enable_str
│ │ │ -000c9a80: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ -000c9a90: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -000c9aa0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -000c9ab0: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ -000c9ac0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -000c9ad0: 6564 6564 0a20 202d 2073 6572 7669 6365  eded.  - service
│ │ │ -000c9ae0: 5f73 7973 7465 6d64 2d6a 6f75 726e 616c  _systemd-journal
│ │ │ -000c9af0: 645f 656e 6162 6c65 640a 3c2f 636f 6465  d_enabled.
< │ │ │ +000c92b0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +000c92c0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +000c92d0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +000c92e0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +000c92f0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ +000c9380: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c < │ │ │ +000c9390: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
low
Disru │ │ │ -000c9720: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -000c9730: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -000c9770: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ -000c9780: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complex │ │ │ +000c9300: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +000c9310: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ +000c9350: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +000c9360: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
enable
- name: G
│ │ │ +000c93b0: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ +000c93c0: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ +000c93d0: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ +000c93e0: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ +000c93f0: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +000c9400: 3533 2d53 432d 3234 0a20 202d 2065 6e61  53-SC-24.  - ena
│ │ │ +000c9410: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +000c9420: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +000c9430: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +000c9440: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ +000c9450: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +000c9460: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +000c9470: 7365 7276 6963 655f 7379 7374 656d 642d  service_systemd-
│ │ │ +000c9480: 6a6f 7572 6e61 6c64 5f65 6e61 626c 6564  journald_enabled
│ │ │ +000c9490: 0a0a 2d20 6e61 6d65 3a20 456e 6162 6c65  ..- name: Enable
│ │ │ +000c94a0: 2073 7973 7465 6d64 2d6a 6f75 726e 616c   systemd-journal
│ │ │ +000c94b0: 6420 5365 7276 6963 6520 2d20 456e 6162  d Service - Enab
│ │ │ +000c94c0: 6c65 2073 6572 7669 6365 2073 7973 7465  le service syste
│ │ │ +000c94d0: 6d64 2d6a 6f75 726e 616c 640a 2020 626c  md-journald.  bl
│ │ │ +000c94e0: 6f63 6b3a 0a0a 2020 2d20 6e61 6d65 3a20  ock:..  - name: 
│ │ │ +000c94f0: 4761 7468 6572 2074 6865 2070 6163 6b61  Gather the packa
│ │ │ +000c9500: 6765 2066 6163 7473 0a20 2020 2070 6163  ge facts.    pac
│ │ │ +000c9510: 6b61 6765 5f66 6163 7473 3a0a 2020 2020  kage_facts:.    
│ │ │ +000c9520: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ +000c9530: 0a20 202d 206e 616d 653a 2045 6e61 626c  .  - name: Enabl
│ │ │ +000c9540: 6520 7379 7374 656d 642d 6a6f 7572 6e61  e systemd-journa
│ │ │ +000c9550: 6c64 2053 6572 7669 6365 202d 2045 6e61  ld Service - Ena
│ │ │ +000c9560: 626c 6520 5365 7276 6963 6520 7379 7374  ble Service syst
│ │ │ +000c9570: 656d 642d 6a6f 7572 6e61 6c64 0a20 2020  emd-journald.   
│ │ │ +000c9580: 2061 6e73 6962 6c65 2e62 7569 6c74 696e   ansible.builtin
│ │ │ +000c9590: 2e73 7973 7465 6d64 3a0a 2020 2020 2020  .systemd:.      
│ │ │ +000c95a0: 6e61 6d65 3a20 7379 7374 656d 642d 6a6f  name: systemd-jo
│ │ │ +000c95b0: 7572 6e61 6c64 0a20 2020 2020 2065 6e61  urnald.      ena
│ │ │ +000c95c0: 626c 6564 3a20 7472 7565 0a20 2020 2020  bled: true.     
│ │ │ +000c95d0: 2073 7461 7465 3a20 7374 6172 7465 640a   state: started.
│ │ │ +000c95e0: 2020 2020 2020 6d61 736b 6564 3a20 6661        masked: fa
│ │ │ +000c95f0: 6c73 650a 2020 2020 7768 656e 3a0a 2020  lse.    when:.  
│ │ │ +000c9600: 2020 2d20 2722 7379 7374 656d 6422 2069    - '"systemd" i
│ │ │ +000c9610: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +000c9620: 7061 636b 6167 6573 270a 2020 7768 656e  packages'.  when
│ │ │ +000c9630: 3a20 2722 6c69 6e75 782d 6261 7365 2220  : '"linux-base" 
│ │ │ +000c9640: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +000c9650: 2e70 6163 6b61 6765 7327 0a20 2074 6167  .packages'.  tag
│ │ │ +000c9660: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +000c9670: 3533 2d53 432d 3234 0a20 202d 2065 6e61  53-SC-24.  - ena
│ │ │ +000c9680: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +000c9690: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +000c96a0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +000c96b0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ +000c96c0: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +000c96d0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +000c96e0: 7365 7276 6963 655f 7379 7374 656d 642d  service_systemd-
│ │ │ +000c96f0: 6a6f 7572 6e61 6c64 5f65 6e61 626c 6564  journald_enabled
│ │ │ +000c9700: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +000c97c0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +000c97d0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ +000c9850: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +000c9860: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +000c9880: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +000c9890: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +000c98b0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +000c98d0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:enable
<
│ │ │ +000c9900: 636f 6465 3e69 6e63 6c75 6465 2065 6e61  code>include ena
│ │ │ +000c9910: 626c 655f 7379 7374 656d 642d 6a6f 7572  ble_systemd-jour
│ │ │ +000c9920: 6e61 6c64 0a0a 636c 6173 7320 656e 6162  nald..class enab
│ │ │ +000c9930: 6c65 5f73 7973 7465 6d64 2d6a 6f75 726e  le_systemd-journ
│ │ │ +000c9940: 616c 6420 7b0a 2020 7365 7276 6963 6520  ald {.  service 
│ │ │ +000c9950: 7b27 7379 7374 656d 642d 6a6f 7572 6e61  {'systemd-journa
│ │ │ +000c9960: 6c64 273a 0a20 2020 2065 6e61 626c 6520  ld':.    enable 
│ │ │ +000c9970: 3d26 6774 3b20 7472 7565 2c0a 2020 2020  => true,.    
│ │ │ +000c9980: 656e 7375 7265 203d 2667 743b 2027 7275  ensure => 'ru
│ │ │ +000c9990: 6e6e 696e 6727 2c0a 2020 7d0a 7d0a 3c2f  nning',.  }.}.
Remediation OSB │ │ │ +000c9a60: 7569 6c64 2042 6c75 6570 7269 6e74 2073 uild Blueprint s │ │ │ +000c9a70: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...

│ │ │ +000c9ac0: 0a5b 6375 7374 6f6d 697a 6174 696f 6e73  .[customizations
│ │ │ +000c9ad0: 2e73 6572 7669 6365 735d 0a65 6e61 626c  .services].enabl
│ │ │ +000c9ae0: 6564 203d 205b 2273 7973 7465 6d64 2d6a  ed = ["systemd-j
│ │ │ +000c9af0: 6f75 726e 616c 6422 5d0a 3c2f 636f 6465  ournald"].
Remediation O │ │ │ -000d4bd0: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint │ │ │ -000d4be0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -000d4bf0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.[[packages]].
│ │ │ -000d4c40: 6e61 6d65 203d 2022 7273 7973 6c6f 6722  name = "rsyslog"
│ │ │ -000d4c50: 0a76 6572 7369 6f6e 203d 2022 2a22 0a3c  .version = "*".<
│ │ │ -000d4c60: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ -000d4d20: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ -000d4d30: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ -000d4dc0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -000d4de0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ -000d4e00: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ -000d4e30: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -000d4e40: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ -000d4e50: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include insta
│ │ │ -000d4e70: 6c6c 5f72 7379 736c 6f67 0a0a 636c 6173  ll_rsyslog..clas
│ │ │ -000d4e80: 7320 696e 7374 616c 6c5f 7273 7973 6c6f  s install_rsyslo
│ │ │ -000d4e90: 6720 7b0a 2020 7061 636b 6167 6520 7b20  g {.  package { 
│ │ │ -000d4ea0: 2772 7379 736c 6f67 273a 0a20 2020 2065  'rsyslog':.    e
│ │ │ -000d4eb0: 6e73 7572 6520 3d26 6774 3b20 2769 6e73  nsure => 'ins
│ │ │ -000d4ec0: 7461 6c6c 6564 272c 0a20 207d 0a7d 0a3c  talled',.  }.}.<
│ │ │ -000d4ed0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation An │ │ │ -000d4f90: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -000d4fa0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ -000d5030: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -000d5050: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -000d5060: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -000d5070: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -000d5080: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -000d50a0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
- name: Gath
│ │ │ -000d50e0: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ -000d50f0: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ -000d5100: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ -000d5110: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ -000d5120: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -000d5130: 434d 2d36 2861 290a 2020 2d20 656e 6162  CM-6(a).  - enab
│ │ │ -000d5140: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -000d5150: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -000d5160: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -000d5170: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ -000d5180: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -000d5190: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ -000d51a0: 6163 6b61 6765 5f72 7379 736c 6f67 5f69  ackage_rsyslog_i
│ │ │ -000d51b0: 6e73 7461 6c6c 6564 0a0a 2d20 6e61 6d65  nstalled..- name
│ │ │ -000d51c0: 3a20 456e 7375 7265 2072 7379 736c 6f67  : Ensure rsyslog
│ │ │ -000d51d0: 2069 7320 696e 7374 616c 6c65 640a 2020   is installed.  
│ │ │ -000d51e0: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ -000d51f0: 653a 2072 7379 736c 6f67 0a20 2020 2073  e: rsyslog.    s
│ │ │ -000d5200: 7461 7465 3a20 7072 6573 656e 740a 2020  tate: present.  
│ │ │ -000d5210: 7768 656e 3a20 2722 6c69 6e75 782d 6261  when: '"linux-ba
│ │ │ -000d5220: 7365 2220 696e 2061 6e73 6962 6c65 5f66  se" in ansible_f
│ │ │ -000d5230: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ -000d5240: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ -000d5250: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ -000d5260: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ -000d5270: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ -000d5280: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -000d5290: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ -000d52a0: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ -000d52b0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -000d52c0: 640a 2020 2d20 7061 636b 6167 655f 7273  d.  - package_rs
│ │ │ -000d52d0: 7973 6c6f 675f 696e 7374 616c 6c65 640a  yslog_installed.
│ │ │ +000d4bc0: 2122 3e52 656d 6564 6961 7469 6f6e 2041  !">Remediation A
│ │ │ +000d4bd0: 6e73 6962 6c65 2073 6e69 7070 6574 20e2  nsible snippet .
│ │ │ +000d4be0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063  ..
< │ │ │ +000d4c60: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +000d4c70: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +000d4c90: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +000d4ca0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +000d4cc0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +000d4ce0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:enable
<
│ │ │ +000d4d10: 636f 6465 3e2d 206e 616d 653a 2047 6174  code>- name: Gat
│ │ │ +000d4d20: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ +000d4d30: 6661 6374 730a 2020 7061 636b 6167 655f  facts.  package_
│ │ │ +000d4d40: 6661 6374 733a 0a20 2020 206d 616e 6167  facts:.    manag
│ │ │ +000d4d50: 6572 3a20 6175 746f 0a20 2074 6167 733a  er: auto.  tags:
│ │ │ +000d4d60: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +000d4d70: 2d43 4d2d 3628 6129 0a20 202d 2065 6e61  -CM-6(a).  - ena
│ │ │ +000d4d80: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +000d4d90: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +000d4da0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +000d4db0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ +000d4dc0: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +000d4dd0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +000d4de0: 7061 636b 6167 655f 7273 7973 6c6f 675f  package_rsyslog_
│ │ │ +000d4df0: 696e 7374 616c 6c65 640a 0a2d 206e 616d  installed..- nam
│ │ │ +000d4e00: 653a 2045 6e73 7572 6520 7273 7973 6c6f  e: Ensure rsyslo
│ │ │ +000d4e10: 6720 6973 2069 6e73 7461 6c6c 6564 0a20  g is installed. 
│ │ │ +000d4e20: 2070 6163 6b61 6765 3a0a 2020 2020 6e61   package:.    na
│ │ │ +000d4e30: 6d65 3a20 7273 7973 6c6f 670a 2020 2020  me: rsyslog.    
│ │ │ +000d4e40: 7374 6174 653a 2070 7265 7365 6e74 0a20  state: present. 
│ │ │ +000d4e50: 2077 6865 6e3a 2027 226c 696e 7578 2d62   when: '"linux-b
│ │ │ +000d4e60: 6173 6522 2069 6e20 616e 7369 626c 655f  ase" in ansible_
│ │ │ +000d4e70: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ +000d4e80: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ +000d4e90: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ +000d4ea0: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ +000d4eb0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +000d4ec0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +000d4ed0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ +000d4ee0: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ +000d4ef0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +000d4f00: 6564 0a20 202d 2070 6163 6b61 6765 5f72  ed.  - package_r
│ │ │ +000d4f10: 7379 736c 6f67 5f69 6e73 7461 6c6c 6564  syslog_installed
│ │ │ +000d4f20: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +000d4fe0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +000d4ff0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ +000d5070: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +000d5080: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +000d50a0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +000d50b0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +000d50d0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +000d50f0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:enable
<
│ │ │ +000d5120: 636f 6465 3e69 6e63 6c75 6465 2069 6e73  code>include ins
│ │ │ +000d5130: 7461 6c6c 5f72 7379 736c 6f67 0a0a 636c  tall_rsyslog..cl
│ │ │ +000d5140: 6173 7320 696e 7374 616c 6c5f 7273 7973  ass install_rsys
│ │ │ +000d5150: 6c6f 6720 7b0a 2020 7061 636b 6167 6520  log {.  package 
│ │ │ +000d5160: 7b20 2772 7379 736c 6f67 273a 0a20 2020  { 'rsyslog':.   
│ │ │ +000d5170: 2065 6e73 7572 6520 3d26 6774 3b20 2769   ensure => 'i
│ │ │ +000d5180: 6e73 7461 6c6c 6564 272c 0a20 207d 0a7d  nstalled',.  }.}
│ │ │ +000d5190: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +000d5250: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin │ │ │ +000d5260: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
.[[packages]]
│ │ │ +000d52c0: 0a6e 616d 6520 3d20 2272 7379 736c 6f67  .name = "rsyslog
│ │ │ +000d52d0: 220a 7665 7273 696f 6e20 3d20 222a 220a  ".version = "*".
│ │ │  000d52e0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remedi │ │ │ -000d6650: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl │ │ │ -000d6660: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet │ │ │ -000d6670: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...

.[custo │ │ │ -000d66c0: 6d69 7a61 7469 6f6e 732e 7365 7276 6963 mizations.servic │ │ │ -000d66d0: 6573 5d0a 656e 6162 6c65 6420 3d20 5b22 es].enabled = [" │ │ │ -000d66e0: 7273 7973 6c6f 6722 5d0a 3c2f 636f 6465 rsyslog"].

Rem │ │ │ -000d67a0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ -000d67b0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -000d67c0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ -000d6850: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
in
│ │ │ -000d68f0: 636c 7564 6520 656e 6162 6c65 5f72 7379  clude enable_rsy
│ │ │ -000d6900: 736c 6f67 0a0a 636c 6173 7320 656e 6162  slog..class enab
│ │ │ -000d6910: 6c65 5f72 7379 736c 6f67 207b 0a20 2073  le_rsyslog {.  s
│ │ │ -000d6920: 6572 7669 6365 207b 2772 7379 736c 6f67  ervice {'rsyslog
│ │ │ -000d6930: 273a 0a20 2020 2065 6e61 626c 6520 3d26  ':.    enable =&
│ │ │ -000d6940: 6774 3b20 7472 7565 2c0a 2020 2020 656e  gt; true,.    en
│ │ │ -000d6950: 7375 7265 203d 2667 743b 2027 7275 6e6e  sure => 'runn
│ │ │ -000d6960: 696e 6727 2c0a 2020 7d0a 7d0a 3c2f 636f  ing',.  }.}.
< │ │ │ -000d6980: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -000d6990: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -000d69a0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -000d69b0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -000d69c0: 646d 3131 3434 3722 2074 6162 696e 6465 dm11447" tabinde │ │ │ -000d69d0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -000d69e0: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -000d69f0: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -000d6a00: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -000d6a10: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -000d6a20: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ -000d6a30: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
│ │ │ -000d6840: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -000d6870: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -000d6880: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -000d68c0: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ -000d68d0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
< │ │ │ -000d6ac0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -000d6ae0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -000d6b30: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
- name: Gather 
│ │ │ -000d6b80: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ -000d6b90: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ -000d6ba0: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ -000d6bb0: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ -000d6bc0: 2044 4953 412d 5354 4947 2d55 4254 552d   DISA-STIG-UBTU-
│ │ │ -000d6bd0: 3232 2d36 3532 3031 300a 2020 2d20 4e49  22-652010.  - NI
│ │ │ -000d6be0: 5354 2d38 3030 2d35 332d 4155 2d34 2831  ST-800-53-AU-4(1
│ │ │ -000d6bf0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -000d6c00: 332d 434d 2d36 2861 290a 2020 2d20 656e  3-CM-6(a).  - en
│ │ │ -000d6c10: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -000d6c20: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -000d6c30: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -000d6c40: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ -000d6c50: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ -000d6c60: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -000d6c70: 2073 6572 7669 6365 5f72 7379 736c 6f67   service_rsyslog
│ │ │ -000d6c80: 5f65 6e61 626c 6564 0a0a 2d20 6e61 6d65  _enabled..- name
│ │ │ -000d6c90: 3a20 456e 6162 6c65 2072 7379 736c 6f67  : Enable rsyslog
│ │ │ -000d6ca0: 2053 6572 7669 6365 202d 2045 6e61 626c   Service - Enabl
│ │ │ -000d6cb0: 6520 7365 7276 6963 6520 7273 7973 6c6f  e service rsyslo
│ │ │ -000d6cc0: 670a 2020 626c 6f63 6b3a 0a0a 2020 2d20  g.  block:..  - 
│ │ │ -000d6cd0: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ -000d6ce0: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ -000d6cf0: 2020 2070 6163 6b61 6765 5f66 6163 7473     package_facts
│ │ │ -000d6d00: 3a0a 2020 2020 2020 6d61 6e61 6765 723a  :.      manager:
│ │ │ -000d6d10: 2061 7574 6f0a 0a20 202d 206e 616d 653a   auto..  - name:
│ │ │ -000d6d20: 2045 6e61 626c 6520 7273 7973 6c6f 6720   Enable rsyslog 
│ │ │ -000d6d30: 5365 7276 6963 6520 2d20 456e 6162 6c65  Service - Enable
│ │ │ -000d6d40: 2053 6572 7669 6365 2072 7379 736c 6f67   Service rsyslog
│ │ │ -000d6d50: 0a20 2020 2061 6e73 6962 6c65 2e62 7569  .    ansible.bui
│ │ │ -000d6d60: 6c74 696e 2e73 7973 7465 6d64 3a0a 2020  ltin.systemd:.  
│ │ │ -000d6d70: 2020 2020 6e61 6d65 3a20 7273 7973 6c6f      name: rsyslo
│ │ │ -000d6d80: 670a 2020 2020 2020 656e 6162 6c65 643a  g.      enabled:
│ │ │ -000d6d90: 2074 7275 650a 2020 2020 2020 7374 6174   true.      stat
│ │ │ -000d6da0: 653a 2073 7461 7274 6564 0a20 2020 2020  e: started.     
│ │ │ -000d6db0: 206d 6173 6b65 643a 2066 616c 7365 0a20   masked: false. 
│ │ │ -000d6dc0: 2020 2077 6865 6e3a 0a20 2020 202d 2027     when:.    - '
│ │ │ -000d6dd0: 2272 7379 736c 6f67 2220 696e 2061 6e73  "rsyslog" in ans
│ │ │ -000d6de0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -000d6df0: 6765 7327 0a20 2077 6865 6e3a 2027 226c  ges'.  when: '"l
│ │ │ -000d6e00: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ -000d6e10: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ -000d6e20: 6167 6573 270a 2020 7461 6773 3a0a 2020  ages'.  tags:.  
│ │ │ -000d6e30: 2d20 4449 5341 2d53 5449 472d 5542 5455  - DISA-STIG-UBTU
│ │ │ -000d6e40: 2d32 322d 3635 3230 3130 0a20 202d 204e  -22-652010.  - N
│ │ │ -000d6e50: 4953 542d 3830 302d 3533 2d41 552d 3428  IST-800-53-AU-4(
│ │ │ -000d6e60: 3129 0a20 202d 204e 4953 542d 3830 302d  1).  - NIST-800-
│ │ │ -000d6e70: 3533 2d43 4d2d 3628 6129 0a20 202d 2065  53-CM-6(a).  - e
│ │ │ -000d6e80: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ -000d6e90: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -000d6ea0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -000d6eb0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ -000d6ec0: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -000d6ed0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -000d6ee0: 2d20 7365 7276 6963 655f 7273 7973 6c6f  - service_rsyslo
│ │ │ -000d6ef0: 675f 656e 6162 6c65 640a 3c2f 636f 6465  g_enabled.
low
Disr │ │ │ -000d6af0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -000d6b00: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -000d6b40: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ -000d6b50: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
low< │ │ │ +000d6710: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +000d6760: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ +000d66f0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +000d6720: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +000d6740: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +000d6750: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +000d6770: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ +000d6780: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +000d67a0: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ +000d67b0: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ +000d67c0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ +000d67d0: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ +000d67e0: 2020 7461 6773 3a0a 2020 2d20 4449 5341    tags:.  - DISA
│ │ │ +000d67f0: 2d53 5449 472d 5542 5455 2d32 322d 3635  -STIG-UBTU-22-65
│ │ │ +000d6800: 3230 3130 0a20 202d 204e 4953 542d 3830  2010.  - NIST-80
│ │ │ +000d6810: 302d 3533 2d41 552d 3428 3129 0a20 202d  0-53-AU-4(1).  -
│ │ │ +000d6820: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +000d6830: 3628 6129 0a20 202d 2065 6e61 626c 655f  6(a).  - enable_
│ │ │ +000d6840: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ +000d6850: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +000d6860: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +000d6870: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ +000d6880: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ +000d6890: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ +000d68a0: 6963 655f 7273 7973 6c6f 675f 656e 6162  ice_rsyslog_enab
│ │ │ +000d68b0: 6c65 640a 0a2d 206e 616d 653a 2045 6e61  led..- name: Ena
│ │ │ +000d68c0: 626c 6520 7273 7973 6c6f 6720 5365 7276  ble rsyslog Serv
│ │ │ +000d68d0: 6963 6520 2d20 456e 6162 6c65 2073 6572  ice - Enable ser
│ │ │ +000d68e0: 7669 6365 2072 7379 736c 6f67 0a20 2062  vice rsyslog.  b
│ │ │ +000d68f0: 6c6f 636b 3a0a 0a20 202d 206e 616d 653a  lock:..  - name:
│ │ │ +000d6900: 2047 6174 6865 7220 7468 6520 7061 636b   Gather the pack
│ │ │ +000d6910: 6167 6520 6661 6374 730a 2020 2020 7061  age facts.    pa
│ │ │ +000d6920: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ +000d6930: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ +000d6940: 0a0a 2020 2d20 6e61 6d65 3a20 456e 6162  ..  - name: Enab
│ │ │ +000d6950: 6c65 2072 7379 736c 6f67 2053 6572 7669  le rsyslog Servi
│ │ │ +000d6960: 6365 202d 2045 6e61 626c 6520 5365 7276  ce - Enable Serv
│ │ │ +000d6970: 6963 6520 7273 7973 6c6f 670a 2020 2020  ice rsyslog.    
│ │ │ +000d6980: 616e 7369 626c 652e 6275 696c 7469 6e2e  ansible.builtin.
│ │ │ +000d6990: 7379 7374 656d 643a 0a20 2020 2020 206e  systemd:.      n
│ │ │ +000d69a0: 616d 653a 2072 7379 736c 6f67 0a20 2020  ame: rsyslog.   
│ │ │ +000d69b0: 2020 2065 6e61 626c 6564 3a20 7472 7565     enabled: true
│ │ │ +000d69c0: 0a20 2020 2020 2073 7461 7465 3a20 7374  .      state: st
│ │ │ +000d69d0: 6172 7465 640a 2020 2020 2020 6d61 736b  arted.      mask
│ │ │ +000d69e0: 6564 3a20 6661 6c73 650a 2020 2020 7768  ed: false.    wh
│ │ │ +000d69f0: 656e 3a0a 2020 2020 2d20 2722 7273 7973  en:.    - '"rsys
│ │ │ +000d6a00: 6c6f 6722 2069 6e20 616e 7369 626c 655f  log" in ansible_
│ │ │ +000d6a10: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ +000d6a20: 2020 7768 656e 3a20 2722 6c69 6e75 782d    when: '"linux-
│ │ │ +000d6a30: 6261 7365 2220 696e 2061 6e73 6962 6c65  base" in ansible
│ │ │ +000d6a40: 5f66 6163 7473 2e70 6163 6b61 6765 7327  _facts.packages'
│ │ │ +000d6a50: 0a20 2074 6167 733a 0a20 202d 2044 4953  .  tags:.  - DIS
│ │ │ +000d6a60: 412d 5354 4947 2d55 4254 552d 3232 2d36  A-STIG-UBTU-22-6
│ │ │ +000d6a70: 3532 3031 300a 2020 2d20 4e49 5354 2d38  52010.  - NIST-8
│ │ │ +000d6a80: 3030 2d35 332d 4155 2d34 2831 290a 2020  00-53-AU-4(1).  
│ │ │ +000d6a90: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +000d6aa0: 2d36 2861 290a 2020 2d20 656e 6162 6c65  -6(a).  - enable
│ │ │ +000d6ab0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ +000d6ac0: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ +000d6ad0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ +000d6ae0: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ +000d6af0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ +000d6b00: 745f 6e65 6564 6564 0a20 202d 2073 6572  t_needed.  - ser
│ │ │ +000d6b10: 7669 6365 5f72 7379 736c 6f67 5f65 6e61  vice_rsyslog_ena
│ │ │ +000d6b20: 626c 6564 0a3c 2f63 6f64 653e 3c2f 7072  bled.
Remediat │ │ │ +000d6be0: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ +000d6bf0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +000d6ca0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +000d6cc0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +000d6cf0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +000d6c80: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +000d6c90: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +000d6cb0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +000d6cd0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +000d6ce0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

include │ │ │ +000d6d30: 2065 6e61 626c 655f 7273 7973 6c6f 670a enable_rsyslog. │ │ │ +000d6d40: 0a63 6c61 7373 2065 6e61 626c 655f 7273 .class enable_rs │ │ │ +000d6d50: 7973 6c6f 6720 7b0a 2020 7365 7276 6963 yslog {. servic │ │ │ +000d6d60: 6520 7b27 7273 7973 6c6f 6727 3a0a 2020 e {'rsyslog':. │ │ │ +000d6d70: 2020 656e 6162 6c65 203d 2667 743b 2074 enable => t │ │ │ +000d6d80: 7275 652c 0a20 2020 2065 6e73 7572 6520 rue,. ensure │ │ │ +000d6d90: 3d26 6774 3b20 2772 756e 6e69 6e67 272c => 'running', │ │ │ +000d6da0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.

Remedi │ │ │ +000d6e60: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl │ │ │ +000d6e70: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet │ │ │ +000d6e80: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...

.[custo │ │ │ +000d6ed0: 6d69 7a61 7469 6f6e 732e 7365 7276 6963 mizations.servic │ │ │ +000d6ee0: 6573 5d0a 656e 6162 6c65 6420 3d20 5b22 es].enabled = [" │ │ │ +000d6ef0: 7273 7973 6c6f 6722 5d0a 3c2f 636f 6465 rsyslog"].

Remediation OSB │ │ │ -000e1980: 7569 6c64 2042 6c75 6570 7269 6e74 2073 uild Blueprint s │ │ │ -000e1990: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...

│ │ │ -000e19e0: 0a5b 5b70 6163 6b61 6765 735d 5d0a 6e61  .[[packages]].na
│ │ │ -000e19f0: 6d65 203d 2022 6970 7461 626c 6573 220a  me = "iptables".
│ │ │ -000e1a00: 7665 7273 696f 6e20 3d20 222a 220a 3c2f  version = "*".
Remediation Pup │ │ │ -000e1ad0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ -000e1ae0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -000e1b60: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -000e1b80: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -000e1bd0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ -000e1c00: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include instal
│ │ │ -000e1c20: 6c5f 6970 7461 626c 6573 0a0a 636c 6173  l_iptables..clas
│ │ │ -000e1c30: 7320 696e 7374 616c 6c5f 6970 7461 626c  s install_iptabl
│ │ │ -000e1c40: 6573 207b 0a20 2070 6163 6b61 6765 207b  es {.  package {
│ │ │ -000e1c50: 2027 6970 7461 626c 6573 273a 0a20 2020   'iptables':.   
│ │ │ -000e1c60: 2065 6e73 7572 6520 3d26 6774 3b20 2769   ensure => 'i
│ │ │ -000e1c70: 6e73 7461 6c6c 6564 272c 0a20 207d 0a7d  nstalled',.  }.}
│ │ │ -000e1c80: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -000e1d40: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -000e1d50: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -000e1dd0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ -000e1e60: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
Complexity:< │ │ │ -000e1b70: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -000e1b90: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -000e1be0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ -000e1bf0: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
Complexi │ │ │ -000e1de0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -000e1df0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ -000e1e30: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -000e1e40: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
│ │ │ -000e1e80: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761  - name: Ga
│ │ │ -000e1e90: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ -000e1ea0: 2066 6163 7473 0a20 2070 6163 6b61 6765   facts.  package
│ │ │ -000e1eb0: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61  _facts:.    mana
│ │ │ -000e1ec0: 6765 723a 2061 7574 6f0a 2020 7461 6773  ger: auto.  tags
│ │ │ -000e1ed0: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ -000e1ee0: 332d 434d 2d36 2861 290a 2020 2d20 5043  3-CM-6(a).  - PC
│ │ │ -000e1ef0: 492d 4453 532d 5265 712d 312e 342e 310a  I-DSS-Req-1.4.1.
│ │ │ -000e1f00: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -000e1f10: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -000e1f20: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -000e1f30: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -000e1f40: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -000e1f50: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -000e1f60: 6564 0a20 202d 2070 6163 6b61 6765 5f69  ed.  - package_i
│ │ │ -000e1f70: 7074 6162 6c65 735f 696e 7374 616c 6c65  ptables_installe
│ │ │ -000e1f80: 640a 0a2d 206e 616d 653a 2045 6e73 7572  d..- name: Ensur
│ │ │ -000e1f90: 6520 6970 7461 626c 6573 2069 7320 696e  e iptables is in
│ │ │ -000e1fa0: 7374 616c 6c65 640a 2020 7061 636b 6167  stalled.  packag
│ │ │ -000e1fb0: 653a 0a20 2020 206e 616d 653a 2069 7074  e:.    name: ipt
│ │ │ -000e1fc0: 6162 6c65 730a 2020 2020 7374 6174 653a  ables.    state:
│ │ │ -000e1fd0: 2070 7265 7365 6e74 0a20 2077 6865 6e3a   present.  when:
│ │ │ -000e1fe0: 2028 2022 6c69 6e75 782d 6261 7365 2220   ( "linux-base" 
│ │ │ -000e1ff0: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -000e2000: 2e70 6163 6b61 6765 7320 290a 2020 7461  .packages ).  ta
│ │ │ -000e2010: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030  gs:.  - NIST-800
│ │ │ -000e2020: 2d35 332d 434d 2d36 2861 290a 2020 2d20  -53-CM-6(a).  - 
│ │ │ -000e2030: 5043 492d 4453 532d 5265 712d 312e 342e  PCI-DSS-Req-1.4.
│ │ │ -000e2040: 310a 2020 2d20 656e 6162 6c65 5f73 7472  1.  - enable_str
│ │ │ -000e2050: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ -000e2060: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -000e2070: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -000e2080: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ -000e2090: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -000e20a0: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -000e20b0: 5f69 7074 6162 6c65 735f 696e 7374 616c  _iptables_instal
│ │ │ -000e20c0: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265  led.
Remediation Ans │ │ │ +000e1980: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ +000e1990: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ +000e1a20: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +000e1a40: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +000e1a60: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +000e1a90: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +000e1aa0: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ +000e1ab0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ +000e1ad0: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ +000e1ae0: 6374 730a 2020 7061 636b 6167 655f 6661  cts.  package_fa
│ │ │ +000e1af0: 6374 733a 0a20 2020 206d 616e 6167 6572  cts:.    manager
│ │ │ +000e1b00: 3a20 6175 746f 0a20 2074 6167 733a 0a20  : auto.  tags:. 
│ │ │ +000e1b10: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +000e1b20: 4d2d 3628 6129 0a20 202d 2050 4349 2d44  M-6(a).  - PCI-D
│ │ │ +000e1b30: 5353 2d52 6571 2d31 2e34 2e31 0a20 202d  SS-Req-1.4.1.  -
│ │ │ +000e1b40: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ +000e1b50: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +000e1b60: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +000e1b70: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +000e1b80: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +000e1b90: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +000e1ba0: 2020 2d20 7061 636b 6167 655f 6970 7461    - package_ipta
│ │ │ +000e1bb0: 626c 6573 5f69 6e73 7461 6c6c 6564 0a0a  bles_installed..
│ │ │ +000e1bc0: 2d20 6e61 6d65 3a20 456e 7375 7265 2069  - name: Ensure i
│ │ │ +000e1bd0: 7074 6162 6c65 7320 6973 2069 6e73 7461  ptables is insta
│ │ │ +000e1be0: 6c6c 6564 0a20 2070 6163 6b61 6765 3a0a  lled.  package:.
│ │ │ +000e1bf0: 2020 2020 6e61 6d65 3a20 6970 7461 626c      name: iptabl
│ │ │ +000e1c00: 6573 0a20 2020 2073 7461 7465 3a20 7072  es.    state: pr
│ │ │ +000e1c10: 6573 656e 740a 2020 7768 656e 3a20 2820  esent.  when: ( 
│ │ │ +000e1c20: 226c 696e 7578 2d62 6173 6522 2069 6e20  "linux-base" in 
│ │ │ +000e1c30: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ +000e1c40: 636b 6167 6573 2029 0a20 2074 6167 733a  ckages ).  tags:
│ │ │ +000e1c50: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +000e1c60: 2d43 4d2d 3628 6129 0a20 202d 2050 4349  -CM-6(a).  - PCI
│ │ │ +000e1c70: 2d44 5353 2d52 6571 2d31 2e34 2e31 0a20  -DSS-Req-1.4.1. 
│ │ │ +000e1c80: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ +000e1c90: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +000e1ca0: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +000e1cb0: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +000e1cc0: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +000e1cd0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +000e1ce0: 640a 2020 2d20 7061 636b 6167 655f 6970  d.  - package_ip
│ │ │ +000e1cf0: 7461 626c 6573 5f69 6e73 7461 6c6c 6564  tables_installed
│ │ │ +000e1d00: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +000e1dc0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +000e1dd0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ +000e1e50: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +000e1e60: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +000e1e80: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +000e1e90: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +000e1eb0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +000e1ed0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:enable
<
│ │ │ +000e1f00: 636f 6465 3e69 6e63 6c75 6465 2069 6e73  code>include ins
│ │ │ +000e1f10: 7461 6c6c 5f69 7074 6162 6c65 730a 0a63  tall_iptables..c
│ │ │ +000e1f20: 6c61 7373 2069 6e73 7461 6c6c 5f69 7074  lass install_ipt
│ │ │ +000e1f30: 6162 6c65 7320 7b0a 2020 7061 636b 6167  ables {.  packag
│ │ │ +000e1f40: 6520 7b20 2769 7074 6162 6c65 7327 3a0a  e { 'iptables':.
│ │ │ +000e1f50: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +000e1f60: 2027 696e 7374 616c 6c65 6427 2c0a 2020   'installed',.  
│ │ │ +000e1f70: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ +000e2030: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep │ │ │ +000e2040: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ... │ │ │ +000e2050: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ +000e2090: 3c63 6f64 653e 0a5b 5b70 6163 6b61 6765  .[[package
│ │ │ +000e20a0: 735d 5d0a 6e61 6d65 203d 2022 6970 7461  s]].name = "ipta
│ │ │ +000e20b0: 626c 6573 220a 7665 7273 696f 6e20 3d20  bles".version = 
│ │ │ +000e20c0: 222a 220a 3c2f 636f 6465 3e3c 2f70 7265  "*".
Remed │ │ │ -000e2c50: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ -000e2c60: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -000e2d10: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -000e2d60: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ -000e2da0: 6c75 6465 2072 656d 6f76 655f 6970 7461  lude remove_ipta
│ │ │ -000e2db0: 626c 6573 2d70 6572 7369 7374 656e 740a  bles-persistent.
│ │ │ -000e2dc0: 0a63 6c61 7373 2072 656d 6f76 655f 6970  .class remove_ip
│ │ │ -000e2dd0: 7461 626c 6573 2d70 6572 7369 7374 656e  tables-persisten
│ │ │ -000e2de0: 7420 7b0a 2020 7061 636b 6167 6520 7b20  t {.  package { 
│ │ │ -000e2df0: 2769 7074 6162 6c65 732d 7065 7273 6973  'iptables-persis
│ │ │ -000e2e00: 7465 6e74 273a 0a20 2020 2065 6e73 7572  tent':.    ensur
│ │ │ -000e2e10: 6520 3d26 6774 3b20 2770 7572 6765 6427  e => 'purged'
│ │ │ -000e2e20: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ -000e2e30: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remed
│ │ │ -000e2ee0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073  iation Ansible s
│ │ │ -000e2ef0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62  nippet ...
Co │ │ │ -000e2cf0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -000e2d20: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -000e2d40: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -000e2d50: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -000e2d70: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -000e2d80: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
< │ │ │ -000e2f90: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -000e2fa0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -000e2ff0: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ -000e3030: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ -000e3040: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ -000e3050: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ -000e3060: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ -000e3070: 6f0a 2020 7461 6773 3a0a 2020 2d20 6469  o.  tags:.  - di
│ │ │ -000e3080: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ -000e3090: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -000e30a0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -000e30b0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ -000e30c0: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -000e30d0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -000e30e0: 2d20 7061 636b 6167 655f 6970 7461 626c  - package_iptabl
│ │ │ -000e30f0: 6573 2d70 6572 7369 7374 656e 745f 7265  es-persistent_re
│ │ │ -000e3100: 6d6f 7665 640a 0a2d 206e 616d 653a 2045  moved..- name: E
│ │ │ -000e3110: 6e73 7572 6520 6970 7461 626c 6573 2d70  nsure iptables-p
│ │ │ -000e3120: 6572 7369 7374 656e 7420 6973 2072 656d  ersistent is rem
│ │ │ -000e3130: 6f76 6564 0a20 2070 6163 6b61 6765 3a0a  oved.  package:.
│ │ │ -000e3140: 2020 2020 6e61 6d65 3a20 6970 7461 626c      name: iptabl
│ │ │ -000e3150: 6573 2d70 6572 7369 7374 656e 740a 2020  es-persistent.  
│ │ │ -000e3160: 2020 7374 6174 653a 2061 6273 656e 740a    state: absent.
│ │ │ -000e3170: 2020 7768 656e 3a20 2722 7566 7722 2069    when: '"ufw" i
│ │ │ -000e3180: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ -000e3190: 7061 636b 6167 6573 270a 2020 7461 6773  packages'.  tags
│ │ │ -000e31a0: 3a0a 2020 2d20 6469 7361 626c 655f 7374  :.  - disable_st
│ │ │ -000e31b0: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ -000e31c0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ -000e31d0: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ -000e31e0: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ -000e31f0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ -000e3200: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ -000e3210: 655f 6970 7461 626c 6573 2d70 6572 7369  e_iptables-persi
│ │ │ -000e3220: 7374 656e 745f 7265 6d6f 7665 640a 3c2f  stent_removed.
C │ │ │ -000e2f80: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -000e2fb0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -000e2fc0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -000e3000: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -000e3010: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
< │ │ │ +000e2d00: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +000e2d10: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +000e2d60: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ +000e2da0: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ +000e2db0: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ +000e2dc0: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ +000e2dd0: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ +000e2de0: 6f0a 2020 7461 6773 3a0a 2020 2d20 6469  o.  tags:.  - di
│ │ │ +000e2df0: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ +000e2e00: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +000e2e10: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +000e2e20: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +000e2e30: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +000e2e40: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +000e2e50: 2d20 7061 636b 6167 655f 6970 7461 626c  - package_iptabl
│ │ │ +000e2e60: 6573 2d70 6572 7369 7374 656e 745f 7265  es-persistent_re
│ │ │ +000e2e70: 6d6f 7665 640a 0a2d 206e 616d 653a 2045  moved..- name: E
│ │ │ +000e2e80: 6e73 7572 6520 6970 7461 626c 6573 2d70  nsure iptables-p
│ │ │ +000e2e90: 6572 7369 7374 656e 7420 6973 2072 656d  ersistent is rem
│ │ │ +000e2ea0: 6f76 6564 0a20 2070 6163 6b61 6765 3a0a  oved.  package:.
│ │ │ +000e2eb0: 2020 2020 6e61 6d65 3a20 6970 7461 626c      name: iptabl
│ │ │ +000e2ec0: 6573 2d70 6572 7369 7374 656e 740a 2020  es-persistent.  
│ │ │ +000e2ed0: 2020 7374 6174 653a 2061 6273 656e 740a    state: absent.
│ │ │ +000e2ee0: 2020 7768 656e 3a20 2722 7566 7722 2069    when: '"ufw" i
│ │ │ +000e2ef0: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +000e2f00: 7061 636b 6167 6573 270a 2020 7461 6773  packages'.  tags
│ │ │ +000e2f10: 3a0a 2020 2d20 6469 7361 626c 655f 7374  :.  - disable_st
│ │ │ +000e2f20: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +000e2f30: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +000e2f40: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +000e2f50: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ +000e2f60: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +000e2f70: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ +000e2f80: 655f 6970 7461 626c 6573 2d70 6572 7369  e_iptables-persi
│ │ │ +000e2f90: 7374 656e 745f 7265 6d6f 7665 640a 3c2f  stent_removed.
Remediation Pup │ │ │ +000e3060: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ +000e3070: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
C │ │ │ +000e2cf0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +000e2d20: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +000e2d30: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +000e2d70: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ +000e2d80: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
│ │ │ +000e30f0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +000e3110: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +000e3160: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ +000e3190: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ +000e3100: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +000e3120: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +000e3170: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ +000e3180: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ +000e31b0: 655f 6970 7461 626c 6573 2d70 6572 7369  e_iptables-persi
│ │ │ +000e31c0: 7374 656e 740a 0a63 6c61 7373 2072 656d  stent..class rem
│ │ │ +000e31d0: 6f76 655f 6970 7461 626c 6573 2d70 6572  ove_iptables-per
│ │ │ +000e31e0: 7369 7374 656e 7420 7b0a 2020 7061 636b  sistent {.  pack
│ │ │ +000e31f0: 6167 6520 7b20 2769 7074 6162 6c65 732d  age { 'iptables-
│ │ │ +000e3200: 7065 7273 6973 7465 6e74 273a 0a20 2020  persistent':.   
│ │ │ +000e3210: 2065 6e73 7572 6520 3d26 6774 3b20 2770   ensure => 'p
│ │ │ +000e3220: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f  urged',.  }.}.
Re │ │ │ -001241f0: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil │ │ │ -00124200: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip │ │ │ -00124210: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -00124220: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -00124230: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -00124240: 7365 2220 6964 3d22 6964 6d31 3637 3930 se" id="idm16790 │ │ │ -00124250: 223e 3c70 7265 3e3c 636f 6465 3e0a 5b5b ">
.[[
│ │ │ -00124260: 7061 636b 6167 6573 5d5d 0a6e 616d 6520  packages]].name 
│ │ │ -00124270: 3d20 226e 6674 6162 6c65 7322 0a76 6572  = "nftables".ver
│ │ │ -00124280: 7369 6f6e 203d 2022 2a22 0a3c 2f63 6f64  sion = "*".
Re │ │ │ -00124340: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -00124350: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -00124360: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -00124430: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -00124440: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
i
│ │ │ -00124490: 6e63 6c75 6465 2069 6e73 7461 6c6c 5f6e  nclude install_n
│ │ │ -001244a0: 6674 6162 6c65 730a 0a63 6c61 7373 2069  ftables..class i
│ │ │ -001244b0: 6e73 7461 6c6c 5f6e 6674 6162 6c65 7320  nstall_nftables 
│ │ │ -001244c0: 7b0a 2020 7061 636b 6167 6520 7b20 276e  {.  package { 'n
│ │ │ -001244d0: 6674 6162 6c65 7327 3a0a 2020 2020 656e  ftables':.    en
│ │ │ -001244e0: 7375 7265 203d 2667 743b 2027 696e 7374  sure => 'inst
│ │ │ -001244f0: 616c 6c65 6427 2c0a 2020 7d0a 7d0a 3c2f  alled',.  }.}.
Remediation Ans │ │ │ -001245c0: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -001245d0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low< │ │ │ -001246a0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr> │ │ │ -001246f0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:low
Disrup │ │ │ -00124410: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -00124420: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -00124460: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ -00124470: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexity: │ │ │ -00124660: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ -00124680: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ -001246d0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -001246e0: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
- name: Gathe
│ │ │ -00124710: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ -00124720: 6374 730a 2020 7061 636b 6167 655f 6661  cts.  package_fa
│ │ │ -00124730: 6374 733a 0a20 2020 206d 616e 6167 6572  cts:.    manager
│ │ │ -00124740: 3a20 6175 746f 0a20 2074 6167 733a 0a20  : auto.  tags:. 
│ │ │ -00124750: 202d 2050 4349 2d44 5353 7634 2d31 2e32   - PCI-DSSv4-1.2
│ │ │ -00124760: 0a20 202d 2050 4349 2d44 5353 7634 2d31  .  - PCI-DSSv4-1
│ │ │ -00124770: 2e32 2e31 0a20 202d 2065 6e61 626c 655f  .2.1.  - enable_
│ │ │ -00124780: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -00124790: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -001247a0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -001247b0: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ -001247c0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -001247d0: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ -001247e0: 6167 655f 6e66 7461 626c 6573 5f69 6e73  age_nftables_ins
│ │ │ -001247f0: 7461 6c6c 6564 0a0a 2d20 6e61 6d65 3a20  talled..- name: 
│ │ │ -00124800: 456e 7375 7265 206e 6674 6162 6c65 7320  Ensure nftables 
│ │ │ -00124810: 6973 2069 6e73 7461 6c6c 6564 0a20 2070  is installed.  p
│ │ │ -00124820: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65  ackage:.    name
│ │ │ -00124830: 3a20 6e66 7461 626c 6573 0a20 2020 2073  : nftables.    s
│ │ │ -00124840: 7461 7465 3a20 7072 6573 656e 740a 2020  tate: present.  
│ │ │ -00124850: 7768 656e 3a20 2820 226c 696e 7578 2d62  when: ( "linux-b
│ │ │ -00124860: 6173 6522 2069 6e20 616e 7369 626c 655f  ase" in ansible_
│ │ │ -00124870: 6661 6374 732e 7061 636b 6167 6573 2029  facts.packages )
│ │ │ -00124880: 0a20 2074 6167 733a 0a20 202d 2050 4349  .  tags:.  - PCI
│ │ │ -00124890: 2d44 5353 7634 2d31 2e32 0a20 202d 2050  -DSSv4-1.2.  - P
│ │ │ -001248a0: 4349 2d44 5353 7634 2d31 2e32 2e31 0a20  CI-DSSv4-1.2.1. 
│ │ │ -001248b0: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ -001248c0: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ -001248d0: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -001248e0: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ -001248f0: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ -00124900: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -00124910: 640a 2020 2d20 7061 636b 6167 655f 6e66  d.  - package_nf
│ │ │ -00124920: 7461 626c 6573 5f69 6e73 7461 6c6c 6564  tables_installed
│ │ │ +001241f0: 6d65 6469 6174 696f 6e20 416e 7369 626c  mediation Ansibl
│ │ │ +00124200: 6520 736e 6970 7065 7420 e287 b23c 2f61  e snippet ...
Complexity: │ │ │ +001242e0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +001242f0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ +00124340: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ +00124350: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ +00124360: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ +00124370: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ +00124380: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ +00124390: 5043 492d 4453 5376 342d 312e 320a 2020  PCI-DSSv4-1.2.  
│ │ │ +001243a0: 2d20 5043 492d 4453 5376 342d 312e 322e  - PCI-DSSv4-1.2.
│ │ │ +001243b0: 310a 2020 2d20 656e 6162 6c65 5f73 7472  1.  - enable_str
│ │ │ +001243c0: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ +001243d0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +001243e0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +001243f0: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ +00124400: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ +00124410: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ +00124420: 5f6e 6674 6162 6c65 735f 696e 7374 616c  _nftables_instal
│ │ │ +00124430: 6c65 640a 0a2d 206e 616d 653a 2045 6e73  led..- name: Ens
│ │ │ +00124440: 7572 6520 6e66 7461 626c 6573 2069 7320  ure nftables is 
│ │ │ +00124450: 696e 7374 616c 6c65 640a 2020 7061 636b  installed.  pack
│ │ │ +00124460: 6167 653a 0a20 2020 206e 616d 653a 206e  age:.    name: n
│ │ │ +00124470: 6674 6162 6c65 730a 2020 2020 7374 6174  ftables.    stat
│ │ │ +00124480: 653a 2070 7265 7365 6e74 0a20 2077 6865  e: present.  whe
│ │ │ +00124490: 6e3a 2028 2022 6c69 6e75 782d 6261 7365  n: ( "linux-base
│ │ │ +001244a0: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ +001244b0: 7473 2e70 6163 6b61 6765 7320 290a 2020  ts.packages ).  
│ │ │ +001244c0: 7461 6773 3a0a 2020 2d20 5043 492d 4453  tags:.  - PCI-DS
│ │ │ +001244d0: 5376 342d 312e 320a 2020 2d20 5043 492d  Sv4-1.2.  - PCI-
│ │ │ +001244e0: 4453 5376 342d 312e 322e 310a 2020 2d20  DSSv4-1.2.1.  - 
│ │ │ +001244f0: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ +00124500: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +00124510: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +00124520: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ +00124530: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +00124540: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +00124550: 202d 2070 6163 6b61 6765 5f6e 6674 6162   - package_nftab
│ │ │ +00124560: 6c65 735f 696e 7374 616c 6c65 640a 3c2f  les_installed.
Remediation Pup │ │ │ +00124630: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ +00124640: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
low
Disru │ │ │ +001242c0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +001242d0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +00124310: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ +00124320: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +001246c0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +001246e0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +00124730: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ +00124760: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include instal
│ │ │ +00124780: 6c5f 6e66 7461 626c 6573 0a0a 636c 6173  l_nftables..clas
│ │ │ +00124790: 7320 696e 7374 616c 6c5f 6e66 7461 626c  s install_nftabl
│ │ │ +001247a0: 6573 207b 0a20 2070 6163 6b61 6765 207b  es {.  package {
│ │ │ +001247b0: 2027 6e66 7461 626c 6573 273a 0a20 2020   'nftables':.   
│ │ │ +001247c0: 2065 6e73 7572 6520 3d26 6774 3b20 2769   ensure => 'i
│ │ │ +001247d0: 6e73 7461 6c6c 6564 272c 0a20 207d 0a7d  nstalled',.  }.}
│ │ │ +001247e0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +001248a0: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin │ │ │ +001248b0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
.[[packages]]
│ │ │ +00124910: 0a6e 616d 6520 3d20 226e 6674 6162 6c65  .name = "nftable
│ │ │ +00124920: 7322 0a76 6572 7369 6f6e 203d 2022 2a22  s".version = "*"
│ │ │  00124930: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remedia │ │ │ -00125530: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu │ │ │ -00125540: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet . │ │ │ -00125550: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
.[custom │ │ │ -001255a0: 697a 6174 696f 6e73 2e73 6572 7669 6365 izations.service │ │ │ -001255b0: 735d 0a65 6e61 626c 6564 203d 205b 226e s].enabled = ["n │ │ │ -001255c0: 6674 6162 6c65 7322 5d0a 3c2f 636f 6465 ftables"].
Rem │ │ │ -00125680: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ -00125690: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -001256a0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
Complexity:< │ │ │ +001246d0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +001246f0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +00124740: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ +00124750: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
│ │ │ -00125730: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
in
│ │ │ -001257d0: 636c 7564 6520 656e 6162 6c65 5f6e 6674  clude enable_nft
│ │ │ -001257e0: 6162 6c65 730a 0a63 6c61 7373 2065 6e61  ables..class ena
│ │ │ -001257f0: 626c 655f 6e66 7461 626c 6573 207b 0a20  ble_nftables {. 
│ │ │ -00125800: 2073 6572 7669 6365 207b 276e 6674 6162   service {'nftab
│ │ │ -00125810: 6c65 7327 3a0a 2020 2020 656e 6162 6c65  les':.    enable
│ │ │ -00125820: 203d 2667 743b 2074 7275 652c 0a20 2020   => true,.   
│ │ │ -00125830: 2065 6e73 7572 6520 3d26 6774 3b20 2772   ensure => 'r
│ │ │ -00125840: 756e 6e69 6e67 272c 0a20 207d 0a7d 0a3c  unning',.  }.}.<
│ │ │ -00125850: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation An │ │ │ -00125910: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -00125920: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ -001259e0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001259f0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
│ │ │ -00125720: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -00125750: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -00125760: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -001257a0: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ -001257b0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexity │ │ │ -001259b0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ -001259d0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ -00125a00: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ -00125a20: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
- name: Gath
│ │ │ -00125a60: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ -00125a70: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ -00125a80: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ -00125a90: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ -00125aa0: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -00125ab0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -00125ac0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -00125ad0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -00125ae0: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -00125af0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -00125b00: 6564 0a20 202d 2073 6572 7669 6365 5f6e  ed.  - service_n
│ │ │ -00125b10: 6674 6162 6c65 735f 656e 6162 6c65 640a  ftables_enabled.
│ │ │ -00125b20: 0a2d 206e 616d 653a 2056 6572 6966 7920  .- name: Verify 
│ │ │ -00125b30: 6e66 7461 626c 6573 2053 6572 7669 6365  nftables Service
│ │ │ -00125b40: 2069 7320 456e 6162 6c65 6420 2d20 456e   is Enabled - En
│ │ │ -00125b50: 6162 6c65 2073 6572 7669 6365 206e 6674  able service nft
│ │ │ -00125b60: 6162 6c65 730a 2020 626c 6f63 6b3a 0a0a  ables.  block:..
│ │ │ -00125b70: 2020 2d20 6e61 6d65 3a20 4761 7468 6572    - name: Gather
│ │ │ -00125b80: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ -00125b90: 7473 0a20 2020 2070 6163 6b61 6765 5f66  ts.    package_f
│ │ │ -00125ba0: 6163 7473 3a0a 2020 2020 2020 6d61 6e61  acts:.      mana
│ │ │ -00125bb0: 6765 723a 2061 7574 6f0a 0a20 202d 206e  ger: auto..  - n
│ │ │ -00125bc0: 616d 653a 2056 6572 6966 7920 6e66 7461  ame: Verify nfta
│ │ │ -00125bd0: 626c 6573 2053 6572 7669 6365 2069 7320  bles Service is 
│ │ │ -00125be0: 456e 6162 6c65 6420 2d20 456e 6162 6c65  Enabled - Enable
│ │ │ -00125bf0: 2053 6572 7669 6365 206e 6674 6162 6c65   Service nftable
│ │ │ -00125c00: 730a 2020 2020 616e 7369 626c 652e 6275  s.    ansible.bu
│ │ │ -00125c10: 696c 7469 6e2e 7379 7374 656d 643a 0a20  iltin.systemd:. 
│ │ │ -00125c20: 2020 2020 206e 616d 653a 206e 6674 6162       name: nftab
│ │ │ -00125c30: 6c65 730a 2020 2020 2020 656e 6162 6c65  les.      enable
│ │ │ -00125c40: 643a 2074 7275 650a 2020 2020 2020 7374  d: true.      st
│ │ │ -00125c50: 6174 653a 2073 7461 7274 6564 0a20 2020  ate: started.   
│ │ │ -00125c60: 2020 206d 6173 6b65 643a 2066 616c 7365     masked: false
│ │ │ -00125c70: 0a20 2020 2077 6865 6e3a 0a20 2020 202d  .    when:.    -
│ │ │ -00125c80: 2027 226e 6674 6162 6c65 7322 2069 6e20   '"nftables" in 
│ │ │ -00125c90: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -00125ca0: 636b 6167 6573 270a 2020 7768 656e 3a20  ckages'.  when: 
│ │ │ -00125cb0: 2820 226e 6674 6162 6c65 7322 2069 6e20  ( "nftables" in 
│ │ │ -00125cc0: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -00125cd0: 636b 6167 6573 2061 6e64 2022 6c69 6e75  ckages and "linu
│ │ │ -00125ce0: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ -00125cf0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -00125d00: 730a 2020 2020 290a 2020 7461 6773 3a0a  s.    ).  tags:.
│ │ │ -00125d10: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -00125d20: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -00125d30: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -00125d40: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -00125d50: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -00125d60: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -00125d70: 6564 0a20 202d 2073 6572 7669 6365 5f6e  ed.  - service_n
│ │ │ -00125d80: 6674 6162 6c65 735f 656e 6162 6c65 640a  ftables_enabled.
│ │ │ +00125530: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69  tion Ansible sni
│ │ │ +00125540: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e  ppet ...
│ │ │ +00125550: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +001255d0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +00125600: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +00125620: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +00125630: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +00125650: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ +00125670: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ +00125680: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ +00125690: 636b 6167 6520 6661 6374 730a 2020 7061  ckage facts.  pa
│ │ │ +001256a0: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ +001256b0: 206d 616e 6167 6572 3a20 6175 746f 0a20   manager: auto. 
│ │ │ +001256c0: 2074 6167 733a 0a20 202d 2065 6e61 626c   tags:.  - enabl
│ │ │ +001256d0: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ +001256e0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +001256f0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +00125700: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ +00125710: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +00125720: 6f74 5f6e 6565 6465 640a 2020 2d20 7365  ot_needed.  - se
│ │ │ +00125730: 7276 6963 655f 6e66 7461 626c 6573 5f65  rvice_nftables_e
│ │ │ +00125740: 6e61 626c 6564 0a0a 2d20 6e61 6d65 3a20  nabled..- name: 
│ │ │ +00125750: 5665 7269 6679 206e 6674 6162 6c65 7320  Verify nftables 
│ │ │ +00125760: 5365 7276 6963 6520 6973 2045 6e61 626c  Service is Enabl
│ │ │ +00125770: 6564 202d 2045 6e61 626c 6520 7365 7276  ed - Enable serv
│ │ │ +00125780: 6963 6520 6e66 7461 626c 6573 0a20 2062  ice nftables.  b
│ │ │ +00125790: 6c6f 636b 3a0a 0a20 202d 206e 616d 653a  lock:..  - name:
│ │ │ +001257a0: 2047 6174 6865 7220 7468 6520 7061 636b   Gather the pack
│ │ │ +001257b0: 6167 6520 6661 6374 730a 2020 2020 7061  age facts.    pa
│ │ │ +001257c0: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ +001257d0: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ +001257e0: 0a0a 2020 2d20 6e61 6d65 3a20 5665 7269  ..  - name: Veri
│ │ │ +001257f0: 6679 206e 6674 6162 6c65 7320 5365 7276  fy nftables Serv
│ │ │ +00125800: 6963 6520 6973 2045 6e61 626c 6564 202d  ice is Enabled -
│ │ │ +00125810: 2045 6e61 626c 6520 5365 7276 6963 6520   Enable Service 
│ │ │ +00125820: 6e66 7461 626c 6573 0a20 2020 2061 6e73  nftables.    ans
│ │ │ +00125830: 6962 6c65 2e62 7569 6c74 696e 2e73 7973  ible.builtin.sys
│ │ │ +00125840: 7465 6d64 3a0a 2020 2020 2020 6e61 6d65  temd:.      name
│ │ │ +00125850: 3a20 6e66 7461 626c 6573 0a20 2020 2020  : nftables.     
│ │ │ +00125860: 2065 6e61 626c 6564 3a20 7472 7565 0a20   enabled: true. 
│ │ │ +00125870: 2020 2020 2073 7461 7465 3a20 7374 6172       state: star
│ │ │ +00125880: 7465 640a 2020 2020 2020 6d61 736b 6564  ted.      masked
│ │ │ +00125890: 3a20 6661 6c73 650a 2020 2020 7768 656e  : false.    when
│ │ │ +001258a0: 3a0a 2020 2020 2d20 2722 6e66 7461 626c  :.    - '"nftabl
│ │ │ +001258b0: 6573 2220 696e 2061 6e73 6962 6c65 5f66  es" in ansible_f
│ │ │ +001258c0: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ +001258d0: 2077 6865 6e3a 2028 2022 6e66 7461 626c   when: ( "nftabl
│ │ │ +001258e0: 6573 2220 696e 2061 6e73 6962 6c65 5f66  es" in ansible_f
│ │ │ +001258f0: 6163 7473 2e70 6163 6b61 6765 7320 616e  acts.packages an
│ │ │ +00125900: 6420 226c 696e 7578 2d62 6173 6522 2069  d "linux-base" i
│ │ │ +00125910: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +00125920: 7061 636b 6167 6573 0a20 2020 2029 0a20  packages.    ). 
│ │ │ +00125930: 2074 6167 733a 0a20 202d 2065 6e61 626c   tags:.  - enabl
│ │ │ +00125940: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ +00125950: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +00125960: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +00125970: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ +00125980: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +00125990: 6f74 5f6e 6565 6465 640a 2020 2d20 7365  ot_needed.  - se
│ │ │ +001259a0: 7276 6963 655f 6e66 7461 626c 6573 5f65  rvice_nftables_e
│ │ │ +001259b0: 6e61 626c 6564 0a3c 2f63 6f64 653e 3c2f  nabled.
Remedi │ │ │ +00125a70: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ +00125a80: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +00125a90: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +00125b10: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +00125b40: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +00125b60: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +00125b70: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +00125b90: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ +00125bb0: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +00125bc0: 6465 2065 6e61 626c 655f 6e66 7461 626c  de enable_nftabl
│ │ │ +00125bd0: 6573 0a0a 636c 6173 7320 656e 6162 6c65  es..class enable
│ │ │ +00125be0: 5f6e 6674 6162 6c65 7320 7b0a 2020 7365  _nftables {.  se
│ │ │ +00125bf0: 7276 6963 6520 7b27 6e66 7461 626c 6573  rvice {'nftables
│ │ │ +00125c00: 273a 0a20 2020 2065 6e61 626c 6520 3d26  ':.    enable =&
│ │ │ +00125c10: 6774 3b20 7472 7565 2c0a 2020 2020 656e  gt; true,.    en
│ │ │ +00125c20: 7375 7265 203d 2667 743b 2027 7275 6e6e  sure => 'runn
│ │ │ +00125c30: 696e 6727 2c0a 2020 7d0a 7d0a 3c2f 636f  ing',.  }.}.
< │ │ │ +00125c50: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +00125c60: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +00125c70: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +00125c80: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +00125c90: 646d 3136 3832 3522 2074 6162 696e 6465 dm16825" tabinde │ │ │ +00125ca0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +00125cb0: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +00125cc0: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +00125cd0: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +00125ce0: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +00125cf0: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui │ │ │ +00125d00: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni │ │ │ +00125d10: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +00125d20: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
.[
│ │ │ +00125d60: 6375 7374 6f6d 697a 6174 696f 6e73 2e73  customizations.s
│ │ │ +00125d70: 6572 7669 6365 735d 0a65 6e61 626c 6564  ervices].enabled
│ │ │ +00125d80: 203d 205b 226e 6674 6162 6c65 7322 5d0a   = ["nftables"].
│ │ │  00125d90: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediati │ │ │ -0012e800: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -0012e810: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -0012e850: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -0012e8c0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -0012e8e0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -0012e910: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -0012e8a0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -0012e8b0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -0012e8f0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -0012e900: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ -0012e950: 2072 656d 6f76 655f 7566 770a 0a63 6c61 remove_ufw..cla │ │ │ -0012e960: 7373 2072 656d 6f76 655f 7566 7720 7b0a ss remove_ufw {. │ │ │ -0012e970: 2020 7061 636b 6167 6520 7b20 2775 6677 package { 'ufw │ │ │ -0012e980: 273a 0a20 2020 2065 6e73 7572 6520 3d26 ':. ensure =& │ │ │ -0012e990: 6774 3b20 2770 7572 6765 6427 2c0a 2020 gt; 'purged',. │ │ │ -0012e9a0: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}.

Remediati │ │ │ -0012ea60: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -0012ea70: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -0012eb20: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -0012eb40: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -0012eb70: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -0012eb00: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -0012eb10: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -0012eb30: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -0012eb50: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -0012eb60: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -0012eba0: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -0012ebb0: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ -0012ebc0: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac │ │ │ -0012ebd0: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ -0012ebe0: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto. │ │ │ -0012ebf0: 7461 6773 3a0a 2020 2d20 6469 7361 626c tags:. - disabl │ │ │ -0012ec00: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l │ │ │ -0012ec10: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity. │ │ │ -0012ec20: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption │ │ │ -0012ec30: 0a20 202d 206d 6564 6975 6d5f 7365 7665 . - medium_seve │ │ │ -0012ec40: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo │ │ │ -0012ec50: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa │ │ │ -0012ec60: 636b 6167 655f 7566 775f 7265 6d6f 7665 ckage_ufw_remove │ │ │ -0012ec70: 640a 0a2d 206e 616d 653a 2045 6e73 7572 d..- name: Ensur │ │ │ -0012ec80: 6520 7566 7720 6973 2072 656d 6f76 6564 e ufw is removed │ │ │ -0012ec90: 0a20 2070 6163 6b61 6765 3a0a 2020 2020 . package:. │ │ │ -0012eca0: 6e61 6d65 3a20 7566 770a 2020 2020 7374 name: ufw. st │ │ │ -0012ecb0: 6174 653a 2061 6273 656e 740a 2020 7768 ate: absent. wh │ │ │ -0012ecc0: 656e 3a20 2722 6c69 6e75 782d 6261 7365 en: '"linux-base │ │ │ -0012ecd0: 2220 696e 2061 6e73 6962 6c65 5f66 6163 " in ansible_fac │ │ │ -0012ece0: 7473 2e70 6163 6b61 6765 7327 0a20 2074 ts.packages'. t │ │ │ -0012ecf0: 6167 733a 0a20 202d 2064 6973 6162 6c65 ags:. - disable │ │ │ -0012ed00: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo │ │ │ -0012ed10: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. - │ │ │ -0012ed20: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption. │ │ │ -0012ed30: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever │ │ │ -0012ed40: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo │ │ │ -0012ed50: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac │ │ │ -0012ed60: 6b61 6765 5f75 6677 5f72 656d 6f76 6564 kage_ufw_removed │ │ │ +0012e800: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ +0012e810: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +0012e8c0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +0012e8e0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +0012e910: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +0012e8a0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +0012e8b0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +0012e8d0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +0012e8f0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +0012e900: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +0012e940: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +0012e950: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ +0012e960: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac │ │ │ +0012e970: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ +0012e980: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto. │ │ │ +0012e990: 7461 6773 3a0a 2020 2d20 6469 7361 626c tags:. - disabl │ │ │ +0012e9a0: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l │ │ │ +0012e9b0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity. │ │ │ +0012e9c0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption │ │ │ +0012e9d0: 0a20 202d 206d 6564 6975 6d5f 7365 7665 . - medium_seve │ │ │ +0012e9e0: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo │ │ │ +0012e9f0: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa │ │ │ +0012ea00: 636b 6167 655f 7566 775f 7265 6d6f 7665 ckage_ufw_remove │ │ │ +0012ea10: 640a 0a2d 206e 616d 653a 2045 6e73 7572 d..- name: Ensur │ │ │ +0012ea20: 6520 7566 7720 6973 2072 656d 6f76 6564 e ufw is removed │ │ │ +0012ea30: 0a20 2070 6163 6b61 6765 3a0a 2020 2020 . package:. │ │ │ +0012ea40: 6e61 6d65 3a20 7566 770a 2020 2020 7374 name: ufw. st │ │ │ +0012ea50: 6174 653a 2061 6273 656e 740a 2020 7768 ate: absent. wh │ │ │ +0012ea60: 656e 3a20 2722 6c69 6e75 782d 6261 7365 en: '"linux-base │ │ │ +0012ea70: 2220 696e 2061 6e73 6962 6c65 5f66 6163 " in ansible_fac │ │ │ +0012ea80: 7473 2e70 6163 6b61 6765 7327 0a20 2074 ts.packages'. t │ │ │ +0012ea90: 6167 733a 0a20 202d 2064 6973 6162 6c65 ags:. - disable │ │ │ +0012eaa0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo │ │ │ +0012eab0: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. - │ │ │ +0012eac0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption. │ │ │ +0012ead0: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever │ │ │ +0012eae0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo │ │ │ +0012eaf0: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac │ │ │ +0012eb00: 6b61 6765 5f75 6677 5f72 656d 6f76 6564 kage_ufw_removed │ │ │ +0012eb10: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
Remediation │ │ │ +0012ebd0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +0012ebe0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ +0012ec60: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +0012ec70: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +0012ec90: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +0012eca0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +0012ecc0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +0012ece0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ +0012ed10: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ +0012ed20: 6d6f 7665 5f75 6677 0a0a 636c 6173 7320  move_ufw..class 
│ │ │ +0012ed30: 7265 6d6f 7665 5f75 6677 207b 0a20 2070  remove_ufw {.  p
│ │ │ +0012ed40: 6163 6b61 6765 207b 2027 7566 7727 3a0a  ackage { 'ufw':.
│ │ │ +0012ed50: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +0012ed60: 2027 7075 7267 6564 272c 0a20 207d 0a7d   'purged',.  }.}
│ │ │  0012ed70: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediati │ │ │ -0012fb30: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep │ │ │ -0012fb40: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ... │ │ │ -0012fb50: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ -0012fb90: 3c63 6f64 653e 0a5b 6375 7374 6f6d 697a  .[customiz
│ │ │ -0012fba0: 6174 696f 6e73 2e73 6572 7669 6365 735d  ations.services]
│ │ │ -0012fbb0: 0a65 6e61 626c 6564 203d 205b 2275 6677  .enabled = ["ufw
│ │ │ -0012fbc0: 225d 0a3c 2f63 6f64 653e 3c2f 7072 653e  "].
│ │ │ -0012fbd0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ -0012fc80: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ -0012fc90: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -0012fcd0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -0012fce0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -0012fcf0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -0012fd00: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -0012fd10: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -0012fd20: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -0012fd30: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -0012fd70: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -0012fd80: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -0012fda0: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ -0012fdb0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include e
│ │ │ -0012fdd0: 6e61 626c 655f 7566 770a 0a63 6c61 7373  nable_ufw..class
│ │ │ -0012fde0: 2065 6e61 626c 655f 7566 7720 7b0a 2020   enable_ufw {.  
│ │ │ -0012fdf0: 7365 7276 6963 6520 7b27 7566 7727 3a0a  service {'ufw':.
│ │ │ -0012fe00: 2020 2020 656e 6162 6c65 203d 2667 743b      enable =>
│ │ │ -0012fe10: 2074 7275 652c 0a20 2020 2065 6e73 7572   true,.    ensur
│ │ │ -0012fe20: 6520 3d26 6774 3b20 2772 756e 6e69 6e67  e => 'running
│ │ │ -0012fe30: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │ -0012fe40: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ -0012fef0: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible │ │ │ -0012ff00: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -0012ff10: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ -0012ffa0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
- 
│ │ │ -00130040: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ -00130050: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ -00130060: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ -00130070: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ -00130080: 6f0a 2020 7461 6773 3a0a 2020 2d20 4449  o.  tags:.  - DI
│ │ │ -00130090: 5341 2d53 5449 472d 5542 5455 2d32 322d  SA-STIG-UBTU-22-
│ │ │ -001300a0: 3235 3130 3230 0a20 202d 2065 6e61 626c  251020.  - enabl
│ │ │ -001300b0: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ -001300c0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ -001300d0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -001300e0: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ -001300f0: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -00130100: 6f74 5f6e 6565 6465 640a 2020 2d20 7365  ot_needed.  - se
│ │ │ -00130110: 7276 6963 655f 7566 775f 656e 6162 6c65  rvice_ufw_enable
│ │ │ -00130120: 640a 0a2d 206e 616d 653a 2056 6572 6966  d..- name: Verif
│ │ │ -00130130: 7920 7566 7720 456e 6162 6c65 6420 2d20  y ufw Enabled - 
│ │ │ -00130140: 456e 6162 6c65 2073 6572 7669 6365 2075  Enable service u
│ │ │ -00130150: 6677 0a20 2062 6c6f 636b 3a0a 0a20 202d  fw.  block:..  -
│ │ │ -00130160: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ -00130170: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ -00130180: 2020 2020 7061 636b 6167 655f 6661 6374      package_fact
│ │ │ -00130190: 733a 0a20 2020 2020 206d 616e 6167 6572  s:.      manager
│ │ │ -001301a0: 3a20 6175 746f 0a0a 2020 2d20 6e61 6d65  : auto..  - name
│ │ │ -001301b0: 3a20 5665 7269 6679 2075 6677 2045 6e61  : Verify ufw Ena
│ │ │ -001301c0: 626c 6564 202d 2045 6e61 626c 6520 5365  bled - Enable Se
│ │ │ -001301d0: 7276 6963 6520 7566 770a 2020 2020 616e  rvice ufw.    an
│ │ │ -001301e0: 7369 626c 652e 6275 696c 7469 6e2e 7379  sible.builtin.sy
│ │ │ -001301f0: 7374 656d 643a 0a20 2020 2020 206e 616d  stemd:.      nam
│ │ │ -00130200: 653a 2075 6677 0a20 2020 2020 2065 6e61  e: ufw.      ena
│ │ │ -00130210: 626c 6564 3a20 7472 7565 0a20 2020 2020  bled: true.     
│ │ │ -00130220: 2073 7461 7465 3a20 7374 6172 7465 640a   state: started.
│ │ │ -00130230: 2020 2020 2020 6d61 736b 6564 3a20 6661        masked: fa
│ │ │ -00130240: 6c73 650a 2020 2020 7768 656e 3a0a 2020  lse.    when:.  
│ │ │ -00130250: 2020 2d20 2722 7566 7722 2069 6e20 616e    - '"ufw" in an
│ │ │ -00130260: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ -00130270: 6167 6573 270a 2020 7768 656e 3a0a 2020  ages'.  when:.  
│ │ │ -00130280: 2d20 2722 6c69 6e75 782d 6261 7365 2220  - '"linux-base" 
│ │ │ -00130290: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -001302a0: 2e70 6163 6b61 6765 7327 0a20 202d 2028  .packages'.  - (
│ │ │ -001302b0: 2022 7566 7722 2069 6e20 616e 7369 626c   "ufw" in ansibl
│ │ │ -001302c0: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ -001302d0: 2061 6e64 2022 6c69 6e75 782d 6261 7365   and "linux-base
│ │ │ -001302e0: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ -001302f0: 7473 2e70 6163 6b61 6765 7320 290a 2020  ts.packages ).  
│ │ │ -00130300: 7461 6773 3a0a 2020 2d20 4449 5341 2d53  tags:.  - DISA-S
│ │ │ -00130310: 5449 472d 5542 5455 2d32 322d 3235 3130  TIG-UBTU-22-2510
│ │ │ -00130320: 3230 0a20 202d 2065 6e61 626c 655f 7374  20.  - enable_st
│ │ │ -00130330: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ -00130340: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ -00130350: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ -00130360: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ -00130370: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ -00130380: 6565 6465 640a 2020 2d20 7365 7276 6963  eeded.  - servic
│ │ │ -00130390: 655f 7566 775f 656e 6162 6c65 640a 3c2f  e_ufw_enabled.
│ │ │ -0012ff90: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -0012ffc0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -0012ffd0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -00130010: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ -00130020: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
│ │ │ +0012fbf0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +0012fc10: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +0012fc40: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +0012fbd0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +0012fbe0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +0012fc00: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +0012fc20: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +0012fc30: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

- name: │ │ │ +0012fc80: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack │ │ │ +0012fc90: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack │ │ │ +0012fca0: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m │ │ │ +0012fcb0: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t │ │ │ +0012fcc0: 6167 733a 0a20 202d 2044 4953 412d 5354 ags:. - DISA-ST │ │ │ +0012fcd0: 4947 2d55 4254 552d 3232 2d32 3531 3032 IG-UBTU-22-25102 │ │ │ +0012fce0: 300a 2020 2d20 656e 6162 6c65 5f73 7472 0. - enable_str │ │ │ +0012fcf0: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co │ │ │ +0012fd00: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low │ │ │ +0012fd10: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. - │ │ │ +0012fd20: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity. │ │ │ +0012fd30: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ +0012fd40: 6564 6564 0a20 202d 2073 6572 7669 6365 eded. - service │ │ │ +0012fd50: 5f75 6677 5f65 6e61 626c 6564 0a0a 2d20 _ufw_enabled..- │ │ │ +0012fd60: 6e61 6d65 3a20 5665 7269 6679 2075 6677 name: Verify ufw │ │ │ +0012fd70: 2045 6e61 626c 6564 202d 2045 6e61 626c Enabled - Enabl │ │ │ +0012fd80: 6520 7365 7276 6963 6520 7566 770a 2020 e service ufw. │ │ │ +0012fd90: 626c 6f63 6b3a 0a0a 2020 2d20 6e61 6d65 block:.. - name │ │ │ +0012fda0: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ +0012fdb0: 6b61 6765 2066 6163 7473 0a20 2020 2070 kage facts. p │ │ │ +0012fdc0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020 ackage_facts:. │ │ │ +0012fdd0: 2020 2020 6d61 6e61 6765 723a 2061 7574 manager: aut │ │ │ +0012fde0: 6f0a 0a20 202d 206e 616d 653a 2056 6572 o.. - name: Ver │ │ │ +0012fdf0: 6966 7920 7566 7720 456e 6162 6c65 6420 ify ufw Enabled │ │ │ +0012fe00: 2d20 456e 6162 6c65 2053 6572 7669 6365 - Enable Service │ │ │ +0012fe10: 2075 6677 0a20 2020 2061 6e73 6962 6c65 ufw. ansible │ │ │ +0012fe20: 2e62 7569 6c74 696e 2e73 7973 7465 6d64 .builtin.systemd │ │ │ +0012fe30: 3a0a 2020 2020 2020 6e61 6d65 3a20 7566 :. name: uf │ │ │ +0012fe40: 770a 2020 2020 2020 656e 6162 6c65 643a w. enabled: │ │ │ +0012fe50: 2074 7275 650a 2020 2020 2020 7374 6174 true. stat │ │ │ +0012fe60: 653a 2073 7461 7274 6564 0a20 2020 2020 e: started. │ │ │ +0012fe70: 206d 6173 6b65 643a 2066 616c 7365 0a20 masked: false. │ │ │ +0012fe80: 2020 2077 6865 6e3a 0a20 2020 202d 2027 when:. - ' │ │ │ +0012fe90: 2275 6677 2220 696e 2061 6e73 6962 6c65 "ufw" in ansible │ │ │ +0012fea0: 5f66 6163 7473 2e70 6163 6b61 6765 7327 _facts.packages' │ │ │ +0012feb0: 0a20 2077 6865 6e3a 0a20 202d 2027 226c . when:. - '"l │ │ │ +0012fec0: 696e 7578 2d62 6173 6522 2069 6e20 616e inux-base" in an │ │ │ +0012fed0: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack │ │ │ +0012fee0: 6167 6573 270a 2020 2d20 2820 2275 6677 ages'. - ( "ufw │ │ │ +0012fef0: 2220 696e 2061 6e73 6962 6c65 5f66 6163 " in ansible_fac │ │ │ +0012ff00: 7473 2e70 6163 6b61 6765 7320 616e 6420 ts.packages and │ │ │ +0012ff10: 226c 696e 7578 2d62 6173 6522 2069 6e20 "linux-base" in │ │ │ +0012ff20: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa │ │ │ +0012ff30: 636b 6167 6573 2029 0a20 2074 6167 733a ckages ). tags: │ │ │ +0012ff40: 0a20 202d 2044 4953 412d 5354 4947 2d55 . - DISA-STIG-U │ │ │ +0012ff50: 4254 552d 3232 2d32 3531 3032 300a 2020 BTU-22-251020. │ │ │ +0012ff60: 2d20 656e 6162 6c65 5f73 7472 6174 6567 - enable_strateg │ │ │ +0012ff70: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple │ │ │ +0012ff80: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis │ │ │ +0012ff90: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi │ │ │ +0012ffa0: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. - │ │ │ +0012ffb0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed │ │ │ +0012ffc0: 0a20 202d 2073 6572 7669 6365 5f75 6677 . - service_ufw │ │ │ +0012ffd0: 5f65 6e61 626c 6564 0a3c 2f63 6f64 653e _enabled. │ │ │ +0012ffe0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063

Reme │ │ │ +00130090: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ +001300a0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ +00130140: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +00130150: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +001301a0: 3c74 723e 3c74 683e 5374 7261 7465 6779
inc
│ │ │ +001301e0: 6c75 6465 2065 6e61 626c 655f 7566 770a  lude enable_ufw.
│ │ │ +001301f0: 0a63 6c61 7373 2065 6e61 626c 655f 7566  .class enable_uf
│ │ │ +00130200: 7720 7b0a 2020 7365 7276 6963 6520 7b27  w {.  service {'
│ │ │ +00130210: 7566 7727 3a0a 2020 2020 656e 6162 6c65  ufw':.    enable
│ │ │ +00130220: 203d 2667 743b 2074 7275 652c 0a20 2020   => true,.   
│ │ │ +00130230: 2065 6e73 7572 6520 3d26 6774 3b20 2772   ensure => 'r
│ │ │ +00130240: 756e 6e69 6e67 272c 0a20 207d 0a7d 0a3c  unning',.  }.}.<
│ │ │ +00130250: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation OS │ │ │ +00130310: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint │ │ │ +00130320: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +00130330: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
.[customization
│ │ │ +00130380: 732e 7365 7276 6963 6573 5d0a 656e 6162  s.services].enab
│ │ │ +00130390: 6c65 6420 3d20 5b22 7566 7722 5d0a 3c2f  led = ["ufw"].
Remediatio │ │ │ -00191660: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr │ │ │ -00191670: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...< │ │ │ -00191680: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
<
│ │ │ -001916c0: 636f 6465 3e0a 5b63 7573 746f 6d69 7a61  code>.[customiza
│ │ │ -001916d0: 7469 6f6e 732e 7365 7276 6963 6573 5d0a  tions.services].
│ │ │ -001916e0: 6d61 736b 6564 203d 205b 2261 7070 6f72  masked = ["appor
│ │ │ -001916f0: 7422 5d0a 3c2f 636f 6465 3e3c 2f70 7265  t"].
Remediati │ │ │ -001917b0: 6f6e 204b 7562 6572 6e65 7465 7320 736e on Kubernetes sn │ │ │ -001917c0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
C │ │ │ +00130130: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +00130160: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +00130170: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +001301b0: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ +001301c0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
low< │ │ │ -00191870: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -001918a0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -001918b0: 7464 3e74 7275 653c 2f74 643e 3c2f 7472 td>true
a
│ │ │ -00191900: 7069 5665 7273 696f 6e3a 206d 6163 6869  piVersion: machi
│ │ │ -00191910: 6e65 636f 6e66 6967 7572 6174 696f 6e2e  neconfiguration.
│ │ │ -00191920: 6f70 656e 7368 6966 742e 696f 2f76 310a  openshift.io/v1.
│ │ │ -00191930: 6b69 6e64 3a20 4d61 6368 696e 6543 6f6e  kind: MachineCon
│ │ │ -00191940: 6669 670a 7370 6563 3a0a 2020 636f 6e66  fig.spec:.  conf
│ │ │ -00191950: 6967 3a0a 2020 2020 6967 6e69 7469 6f6e  ig:.    ignition
│ │ │ -00191960: 3a0a 2020 2020 2020 7665 7273 696f 6e3a  :.      version:
│ │ │ -00191970: 2033 2e31 2e30 0a20 2020 2073 7973 7465   3.1.0.    syste
│ │ │ -00191980: 6d64 3a0a 2020 2020 2020 756e 6974 733a  md:.      units:
│ │ │ -00191990: 0a20 2020 2020 202d 206e 616d 653a 2061  .      - name: a
│ │ │ -001919a0: 7070 6f72 742e 7365 7276 6963 650a 2020  pport.service.  
│ │ │ -001919b0: 2020 2020 2020 656e 6162 6c65 643a 2066        enabled: f
│ │ │ -001919c0: 616c 7365 0a20 2020 2020 2020 206d 6173  alse.        mas
│ │ │ -001919d0: 6b3a 2074 7275 650a 2020 2020 2020 2d20  k: true.      - 
│ │ │ -001919e0: 6e61 6d65 3a20 6170 706f 7274 2e73 6f63  name: apport.soc
│ │ │ -001919f0: 6b65 740a 2020 2020 2020 2020 656e 6162  ket.        enab
│ │ │ -00191a00: 6c65 643a 2066 616c 7365 0a20 2020 2020  led: false.     
│ │ │ -00191a10: 2020 206d 6173 6b3a 2074 7275 650a 3c2f     mask: true.
Remediation Pup │ │ │ -00191ae0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ -00191af0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Co │ │ │ -00191850: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -00191880: 6e3a 3c2f 7468 3e3c 7464 3e6d 6564 6975 n:mediu │ │ │ -00191890: 6d3c 2f74 643e 3c2f 7472 3e3c 7472 3e3c m
Strateg │ │ │ -001918d0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ -001918e0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
│ │ │ -00191b70: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -00191b90: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -00191be0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ -00191c10: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include disabl
│ │ │ -00191c30: 655f 6170 706f 7274 0a0a 636c 6173 7320  e_apport..class 
│ │ │ -00191c40: 6469 7361 626c 655f 6170 706f 7274 207b  disable_apport {
│ │ │ -00191c50: 0a20 2073 6572 7669 6365 207b 2761 7070  .  service {'app
│ │ │ -00191c60: 6f72 7427 3a0a 2020 2020 656e 6162 6c65  ort':.    enable
│ │ │ -00191c70: 203d 2667 743b 2066 616c 7365 2c0a 2020   => false,.  
│ │ │ -00191c80: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ -00191c90: 7374 6f70 7065 6427 2c0a 2020 7d0a 7d0a  stopped',.  }.}.
│ │ │ -00191ca0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation A │ │ │ -00191d60: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet . │ │ │ -00191d70: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -00191df0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ -00191e30: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 disable
Complexity:< │ │ │ -00191b80: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -00191ba0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -00191bf0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ -00191c00: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
Complexit │ │ │ -00191e00: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ -00191e20: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ -00191e50: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -00191e70: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
│ │ │ -00191ea0: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761  - name: Ga
│ │ │ -00191eb0: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ -00191ec0: 2066 6163 7473 0a20 2070 6163 6b61 6765   facts.  package
│ │ │ -00191ed0: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61  _facts:.    mana
│ │ │ -00191ee0: 6765 723a 2061 7574 6f0a 2020 7461 6773  ger: auto.  tags
│ │ │ -00191ef0: 3a0a 2020 2d20 6469 7361 626c 655f 7374  :.  - disable_st
│ │ │ -00191f00: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ -00191f10: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ -00191f20: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ -00191f30: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -00191f40: 640a 2020 2d20 7365 7276 6963 655f 6170  d.  - service_ap
│ │ │ -00191f50: 706f 7274 5f64 6973 6162 6c65 640a 2020  port_disabled.  
│ │ │ -00191f60: 2d20 756e 6b6e 6f77 6e5f 7365 7665 7269  - unknown_severi
│ │ │ -00191f70: 7479 0a0a 2d20 6e61 6d65 3a20 4469 7361  ty..- name: Disa
│ │ │ -00191f80: 626c 6520 4170 706f 7274 2053 6572 7669  ble Apport Servi
│ │ │ -00191f90: 6365 202d 2043 6f6c 6c65 6374 2073 7973  ce - Collect sys
│ │ │ -00191fa0: 7465 6d64 2053 6572 7669 6365 7320 5072  temd Services Pr
│ │ │ -00191fb0: 6573 656e 7420 696e 2074 6865 2053 7973  esent in the Sys
│ │ │ -00191fc0: 7465 6d0a 2020 616e 7369 626c 652e 6275  tem.  ansible.bu
│ │ │ -00191fd0: 696c 7469 6e2e 636f 6d6d 616e 643a 2073  iltin.command: s
│ │ │ -00191fe0: 7973 7465 6d63 746c 202d 7120 6c69 7374  ystemctl -q list
│ │ │ -00191ff0: 2d75 6e69 742d 6669 6c65 7320 2d2d 7479  -unit-files --ty
│ │ │ -00192000: 7065 2073 6572 7669 6365 0a20 2072 6567  pe service.  reg
│ │ │ -00192010: 6973 7465 723a 2073 6572 7669 6365 5f65  ister: service_e
│ │ │ -00192020: 7869 7374 730a 2020 6368 616e 6765 645f  xists.  changed_
│ │ │ -00192030: 7768 656e 3a20 6661 6c73 650a 2020 6661  when: false.  fa
│ │ │ -00192040: 696c 6564 5f77 6865 6e3a 2073 6572 7669  iled_when: servi
│ │ │ -00192050: 6365 5f65 7869 7374 732e 7263 206e 6f74  ce_exists.rc not
│ │ │ -00192060: 2069 6e20 5b30 2c20 315d 0a20 2063 6865   in [0, 1].  che
│ │ │ -00192070: 636b 5f6d 6f64 653a 2066 616c 7365 0a20  ck_mode: false. 
│ │ │ -00192080: 2077 6865 6e3a 2027 2261 7070 6f72 7422   when: '"apport"
│ │ │ -00192090: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ -001920a0: 732e 7061 636b 6167 6573 270a 2020 7461  s.packages'.  ta
│ │ │ -001920b0: 6773 3a0a 2020 2d20 6469 7361 626c 655f  gs:.  - disable_
│ │ │ -001920c0: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -001920d0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -001920e0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -001920f0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -00192100: 6465 640a 2020 2d20 7365 7276 6963 655f  ded.  - service_
│ │ │ -00192110: 6170 706f 7274 5f64 6973 6162 6c65 640a  apport_disabled.
│ │ │ -00192120: 2020 2d20 756e 6b6e 6f77 6e5f 7365 7665    - unknown_seve
│ │ │ -00192130: 7269 7479 0a0a 2d20 6e61 6d65 3a20 4469  rity..- name: Di
│ │ │ -00192140: 7361 626c 6520 4170 706f 7274 2053 6572  sable Apport Ser
│ │ │ -00192150: 7669 6365 202d 2045 6e73 7572 6520 6170  vice - Ensure ap
│ │ │ -00192160: 706f 7274 2e73 6572 7669 6365 2069 7320  port.service is 
│ │ │ -00192170: 4d61 736b 6564 0a20 2061 6e73 6962 6c65  Masked.  ansible
│ │ │ -00192180: 2e62 7569 6c74 696e 2e73 7973 7465 6d64  .builtin.systemd
│ │ │ -00192190: 3a0a 2020 2020 6e61 6d65 3a20 6170 706f  :.    name: appo
│ │ │ -001921a0: 7274 2e73 6572 7669 6365 0a20 2020 2073  rt.service.    s
│ │ │ -001921b0: 7461 7465 3a20 7374 6f70 7065 640a 2020  tate: stopped.  
│ │ │ -001921c0: 2020 656e 6162 6c65 643a 2066 616c 7365    enabled: false
│ │ │ -001921d0: 0a20 2020 206d 6173 6b65 643a 2074 7275  .    masked: tru
│ │ │ -001921e0: 650a 2020 7768 656e 3a0a 2020 2d20 2722  e.  when:.  - '"
│ │ │ -001921f0: 6170 706f 7274 2220 696e 2061 6e73 6962  apport" in ansib
│ │ │ -00192200: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -00192210: 7327 0a20 202d 2073 6572 7669 6365 5f65  s'.  - service_e
│ │ │ -00192220: 7869 7374 732e 7374 646f 7574 5f6c 696e  xists.stdout_lin
│ │ │ -00192230: 6573 2069 7320 7365 6172 6368 2822 6170  es is search("ap
│ │ │ -00192240: 706f 7274 2e73 6572 7669 6365 222c 206d  port.service", m
│ │ │ -00192250: 756c 7469 6c69 6e65 3d54 7275 6529 0a20  ultiline=True). 
│ │ │ -00192260: 2074 6167 733a 0a20 202d 2064 6973 6162   tags:.  - disab
│ │ │ -00192270: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -00192280: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -00192290: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -001922a0: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f  n.  - no_reboot_
│ │ │ -001922b0: 6e65 6564 6564 0a20 202d 2073 6572 7669  needed.  - servi
│ │ │ -001922c0: 6365 5f61 7070 6f72 745f 6469 7361 626c  ce_apport_disabl
│ │ │ -001922d0: 6564 0a20 202d 2075 6e6b 6e6f 776e 5f73  ed.  - unknown_s
│ │ │ -001922e0: 6576 6572 6974 790a 0a2d 206e 616d 653a  everity..- name:
│ │ │ -001922f0: 2055 6e69 7420 536f 636b 6574 2045 7869   Unit Socket Exi
│ │ │ -00192300: 7374 7320 2d20 6170 706f 7274 2e73 6f63  sts - apport.soc
│ │ │ -00192310: 6b65 740a 2020 616e 7369 626c 652e 6275  ket.  ansible.bu
│ │ │ -00192320: 696c 7469 6e2e 636f 6d6d 616e 643a 2073  iltin.command: s
│ │ │ -00192330: 7973 7465 6d63 746c 202d 7120 6c69 7374  ystemctl -q list
│ │ │ -00192340: 2d75 6e69 742d 6669 6c65 7320 6170 706f  -unit-files appo
│ │ │ -00192350: 7274 2e73 6f63 6b65 740a 2020 7265 6769  rt.socket.  regi
│ │ │ -00192360: 7374 6572 3a20 736f 636b 6574 5f66 696c  ster: socket_fil
│ │ │ -00192370: 655f 6578 6973 7473 0a20 2063 6861 6e67  e_exists.  chang
│ │ │ -00192380: 6564 5f77 6865 6e3a 2066 616c 7365 0a20  ed_when: false. 
│ │ │ -00192390: 2066 6169 6c65 645f 7768 656e 3a20 736f   failed_when: so
│ │ │ -001923a0: 636b 6574 5f66 696c 655f 6578 6973 7473  cket_file_exists
│ │ │ -001923b0: 2e72 6320 6e6f 7420 696e 205b 302c 2031  .rc not in [0, 1
│ │ │ -001923c0: 5d0a 2020 6368 6563 6b5f 6d6f 6465 3a20  ].  check_mode: 
│ │ │ -001923d0: 6661 6c73 650a 2020 7768 656e 3a20 2722  false.  when: '"
│ │ │ -001923e0: 6170 706f 7274 2220 696e 2061 6e73 6962  apport" in ansib
│ │ │ -001923f0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -00192400: 7327 0a20 2074 6167 733a 0a20 202d 2064  s'.  tags:.  - d
│ │ │ -00192410: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ -00192420: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -00192430: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -00192440: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562  ption.  - no_reb
│ │ │ -00192450: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ -00192460: 6572 7669 6365 5f61 7070 6f72 745f 6469  ervice_apport_di
│ │ │ -00192470: 7361 626c 6564 0a20 202d 2075 6e6b 6e6f  sabled.  - unkno
│ │ │ -00192480: 776e 5f73 6576 6572 6974 790a 0a2d 206e  wn_severity..- n
│ │ │ -00192490: 616d 653a 2044 6973 6162 6c65 2041 7070  ame: Disable App
│ │ │ -001924a0: 6f72 7420 5365 7276 6963 6520 2d20 4469  ort Service - Di
│ │ │ -001924b0: 7361 626c 6520 536f 636b 6574 2061 7070  sable Socket app
│ │ │ -001924c0: 6f72 740a 2020 616e 7369 626c 652e 6275  ort.  ansible.bu
│ │ │ -001924d0: 696c 7469 6e2e 7379 7374 656d 643a 0a20  iltin.systemd:. 
│ │ │ -001924e0: 2020 206e 616d 653a 2061 7070 6f72 742e     name: apport.
│ │ │ -001924f0: 736f 636b 6574 0a20 2020 2065 6e61 626c  socket.    enabl
│ │ │ -00192500: 6564 3a20 6661 6c73 650a 2020 2020 7374  ed: false.    st
│ │ │ -00192510: 6174 653a 2073 746f 7070 6564 0a20 2020  ate: stopped.   
│ │ │ -00192520: 206d 6173 6b65 643a 2074 7275 650a 2020   masked: true.  
│ │ │ -00192530: 7768 656e 3a0a 2020 2d20 2722 6170 706f  when:.  - '"appo
│ │ │ -00192540: 7274 2220 696e 2061 6e73 6962 6c65 5f66  rt" in ansible_f
│ │ │ -00192550: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ -00192560: 202d 2073 6f63 6b65 745f 6669 6c65 5f65   - socket_file_e
│ │ │ -00192570: 7869 7374 732e 7374 646f 7574 5f6c 696e  xists.stdout_lin
│ │ │ -00192580: 6573 2069 7320 7365 6172 6368 2822 6170  es is search("ap
│ │ │ -00192590: 706f 7274 2e73 6f63 6b65 7422 2c20 6d75  port.socket", mu
│ │ │ -001925a0: 6c74 696c 696e 653d 5472 7565 290a 2020  ltiline=True).  
│ │ │ -001925b0: 7461 6773 3a0a 2020 2d20 6469 7361 626c  tags:.  - disabl
│ │ │ -001925c0: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ -001925d0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ -001925e0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -001925f0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ -00192600: 6565 6465 640a 2020 2d20 7365 7276 6963  eeded.  - servic
│ │ │ -00192610: 655f 6170 706f 7274 5f64 6973 6162 6c65  e_apport_disable
│ │ │ -00192620: 640a 2020 2d20 756e 6b6e 6f77 6e5f 7365  d.  - unknown_se
│ │ │ -00192630: 7665 7269 7479 0a3c 2f63 6f64 653e 3c2f  verity.
│ │ │ +001916b0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ +00191720: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +00191740: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +00191770: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ +00191700: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +00191710: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +00191750: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +00191760: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

- name: │ │ │ +001917b0: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack │ │ │ +001917c0: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack │ │ │ +001917d0: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m │ │ │ +001917e0: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t │ │ │ +001917f0: 6167 733a 0a20 202d 2064 6973 6162 6c65 ags:. - disable │ │ │ +00191800: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo │ │ │ +00191810: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. - │ │ │ +00191820: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption. │ │ │ +00191830: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ +00191840: 6564 6564 0a20 202d 2073 6572 7669 6365 eded. - service │ │ │ +00191850: 5f61 7070 6f72 745f 6469 7361 626c 6564 _apport_disabled │ │ │ +00191860: 0a20 202d 2075 6e6b 6e6f 776e 5f73 6576 . - unknown_sev │ │ │ +00191870: 6572 6974 790a 0a2d 206e 616d 653a 2044 erity..- name: D │ │ │ +00191880: 6973 6162 6c65 2041 7070 6f72 7420 5365 isable Apport Se │ │ │ +00191890: 7276 6963 6520 2d20 436f 6c6c 6563 7420 rvice - Collect │ │ │ +001918a0: 7379 7374 656d 6420 5365 7276 6963 6573 systemd Services │ │ │ +001918b0: 2050 7265 7365 6e74 2069 6e20 7468 6520 Present in the │ │ │ +001918c0: 5379 7374 656d 0a20 2061 6e73 6962 6c65 System. ansible │ │ │ +001918d0: 2e62 7569 6c74 696e 2e63 6f6d 6d61 6e64 .builtin.command │ │ │ +001918e0: 3a20 7379 7374 656d 6374 6c20 2d71 206c : systemctl -q l │ │ │ +001918f0: 6973 742d 756e 6974 2d66 696c 6573 202d ist-unit-files - │ │ │ +00191900: 2d74 7970 6520 7365 7276 6963 650a 2020 -type service. │ │ │ +00191910: 7265 6769 7374 6572 3a20 7365 7276 6963 register: servic │ │ │ +00191920: 655f 6578 6973 7473 0a20 2063 6861 6e67 e_exists. chang │ │ │ +00191930: 6564 5f77 6865 6e3a 2066 616c 7365 0a20 ed_when: false. │ │ │ +00191940: 2066 6169 6c65 645f 7768 656e 3a20 7365 failed_when: se │ │ │ +00191950: 7276 6963 655f 6578 6973 7473 2e72 6320 rvice_exists.rc │ │ │ +00191960: 6e6f 7420 696e 205b 302c 2031 5d0a 2020 not in [0, 1]. │ │ │ +00191970: 6368 6563 6b5f 6d6f 6465 3a20 6661 6c73 check_mode: fals │ │ │ +00191980: 650a 2020 7768 656e 3a20 2722 6170 706f e. when: '"appo │ │ │ +00191990: 7274 2220 696e 2061 6e73 6962 6c65 5f66 rt" in ansible_f │ │ │ +001919a0: 6163 7473 2e70 6163 6b61 6765 7327 0a20 acts.packages'. │ │ │ +001919b0: 2074 6167 733a 0a20 202d 2064 6973 6162 tags:. - disab │ │ │ +001919c0: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. - │ │ │ +001919d0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity. │ │ │ +001919e0: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio │ │ │ +001919f0: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f n. - no_reboot_ │ │ │ +00191a00: 6e65 6564 6564 0a20 202d 2073 6572 7669 needed. - servi │ │ │ +00191a10: 6365 5f61 7070 6f72 745f 6469 7361 626c ce_apport_disabl │ │ │ +00191a20: 6564 0a20 202d 2075 6e6b 6e6f 776e 5f73 ed. - unknown_s │ │ │ +00191a30: 6576 6572 6974 790a 0a2d 206e 616d 653a everity..- name: │ │ │ +00191a40: 2044 6973 6162 6c65 2041 7070 6f72 7420 Disable Apport │ │ │ +00191a50: 5365 7276 6963 6520 2d20 456e 7375 7265 Service - Ensure │ │ │ +00191a60: 2061 7070 6f72 742e 7365 7276 6963 6520 apport.service │ │ │ +00191a70: 6973 204d 6173 6b65 640a 2020 616e 7369 is Masked. ansi │ │ │ +00191a80: 626c 652e 6275 696c 7469 6e2e 7379 7374 ble.builtin.syst │ │ │ +00191a90: 656d 643a 0a20 2020 206e 616d 653a 2061 emd:. name: a │ │ │ +00191aa0: 7070 6f72 742e 7365 7276 6963 650a 2020 pport.service. │ │ │ +00191ab0: 2020 7374 6174 653a 2073 746f 7070 6564 state: stopped │ │ │ +00191ac0: 0a20 2020 2065 6e61 626c 6564 3a20 6661 . enabled: fa │ │ │ +00191ad0: 6c73 650a 2020 2020 6d61 736b 6564 3a20 lse. masked: │ │ │ +00191ae0: 7472 7565 0a20 2077 6865 6e3a 0a20 202d true. when:. - │ │ │ +00191af0: 2027 2261 7070 6f72 7422 2069 6e20 616e '"apport" in an │ │ │ +00191b00: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack │ │ │ +00191b10: 6167 6573 270a 2020 2d20 7365 7276 6963 ages'. - servic │ │ │ +00191b20: 655f 6578 6973 7473 2e73 7464 6f75 745f e_exists.stdout_ │ │ │ +00191b30: 6c69 6e65 7320 6973 2073 6561 7263 6828 lines is search( │ │ │ +00191b40: 2261 7070 6f72 742e 7365 7276 6963 6522 "apport.service" │ │ │ +00191b50: 2c20 6d75 6c74 696c 696e 653d 5472 7565 , multiline=True │ │ │ +00191b60: 290a 2020 7461 6773 3a0a 2020 2d20 6469 ). tags:. - di │ │ │ +00191b70: 7361 626c 655f 7374 7261 7465 6779 0a20 sable_strategy. │ │ │ +00191b80: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit │ │ │ +00191b90: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup │ │ │ +00191ba0: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f tion. - no_rebo │ │ │ +00191bb0: 6f74 5f6e 6565 6465 640a 2020 2d20 7365 ot_needed. - se │ │ │ +00191bc0: 7276 6963 655f 6170 706f 7274 5f64 6973 rvice_apport_dis │ │ │ +00191bd0: 6162 6c65 640a 2020 2d20 756e 6b6e 6f77 abled. - unknow │ │ │ +00191be0: 6e5f 7365 7665 7269 7479 0a0a 2d20 6e61 n_severity..- na │ │ │ +00191bf0: 6d65 3a20 556e 6974 2053 6f63 6b65 7420 me: Unit Socket │ │ │ +00191c00: 4578 6973 7473 202d 2061 7070 6f72 742e Exists - apport. │ │ │ +00191c10: 736f 636b 6574 0a20 2061 6e73 6962 6c65 socket. ansible │ │ │ +00191c20: 2e62 7569 6c74 696e 2e63 6f6d 6d61 6e64 .builtin.command │ │ │ +00191c30: 3a20 7379 7374 656d 6374 6c20 2d71 206c : systemctl -q l │ │ │ +00191c40: 6973 742d 756e 6974 2d66 696c 6573 2061 ist-unit-files a │ │ │ +00191c50: 7070 6f72 742e 736f 636b 6574 0a20 2072 pport.socket. r │ │ │ +00191c60: 6567 6973 7465 723a 2073 6f63 6b65 745f egister: socket_ │ │ │ +00191c70: 6669 6c65 5f65 7869 7374 730a 2020 6368 file_exists. ch │ │ │ +00191c80: 616e 6765 645f 7768 656e 3a20 6661 6c73 anged_when: fals │ │ │ +00191c90: 650a 2020 6661 696c 6564 5f77 6865 6e3a e. failed_when: │ │ │ +00191ca0: 2073 6f63 6b65 745f 6669 6c65 5f65 7869 socket_file_exi │ │ │ +00191cb0: 7374 732e 7263 206e 6f74 2069 6e20 5b30 sts.rc not in [0 │ │ │ +00191cc0: 2c20 315d 0a20 2063 6865 636b 5f6d 6f64 , 1]. check_mod │ │ │ +00191cd0: 653a 2066 616c 7365 0a20 2077 6865 6e3a e: false. when: │ │ │ +00191ce0: 2027 2261 7070 6f72 7422 2069 6e20 616e '"apport" in an │ │ │ +00191cf0: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack │ │ │ +00191d00: 6167 6573 270a 2020 7461 6773 3a0a 2020 ages'. tags:. │ │ │ +00191d10: 2d20 6469 7361 626c 655f 7374 7261 7465 - disable_strate │ │ │ +00191d20: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl │ │ │ +00191d30: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di │ │ │ +00191d40: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f sruption. - no_ │ │ │ +00191d50: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed. │ │ │ +00191d60: 2d20 7365 7276 6963 655f 6170 706f 7274 - service_apport │ │ │ +00191d70: 5f64 6973 6162 6c65 640a 2020 2d20 756e _disabled. - un │ │ │ +00191d80: 6b6e 6f77 6e5f 7365 7665 7269 7479 0a0a known_severity.. │ │ │ +00191d90: 2d20 6e61 6d65 3a20 4469 7361 626c 6520 - name: Disable │ │ │ +00191da0: 4170 706f 7274 2053 6572 7669 6365 202d Apport Service - │ │ │ +00191db0: 2044 6973 6162 6c65 2053 6f63 6b65 7420 Disable Socket │ │ │ +00191dc0: 6170 706f 7274 0a20 2061 6e73 6962 6c65 apport. ansible │ │ │ +00191dd0: 2e62 7569 6c74 696e 2e73 7973 7465 6d64 .builtin.systemd │ │ │ +00191de0: 3a0a 2020 2020 6e61 6d65 3a20 6170 706f :. name: appo │ │ │ +00191df0: 7274 2e73 6f63 6b65 740a 2020 2020 656e rt.socket. en │ │ │ +00191e00: 6162 6c65 643a 2066 616c 7365 0a20 2020 abled: false. │ │ │ +00191e10: 2073 7461 7465 3a20 7374 6f70 7065 640a state: stopped. │ │ │ +00191e20: 2020 2020 6d61 736b 6564 3a20 7472 7565 masked: true │ │ │ +00191e30: 0a20 2077 6865 6e3a 0a20 202d 2027 2261 . when:. - '"a │ │ │ +00191e40: 7070 6f72 7422 2069 6e20 616e 7369 626c pport" in ansibl │ │ │ +00191e50: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages │ │ │ +00191e60: 270a 2020 2d20 736f 636b 6574 5f66 696c '. - socket_fil │ │ │ +00191e70: 655f 6578 6973 7473 2e73 7464 6f75 745f e_exists.stdout_ │ │ │ +00191e80: 6c69 6e65 7320 6973 2073 6561 7263 6828 lines is search( │ │ │ +00191e90: 2261 7070 6f72 742e 736f 636b 6574 222c "apport.socket", │ │ │ +00191ea0: 206d 756c 7469 6c69 6e65 3d54 7275 6529 multiline=True) │ │ │ +00191eb0: 0a20 2074 6167 733a 0a20 202d 2064 6973 . tags:. - dis │ │ │ +00191ec0: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy. │ │ │ +00191ed0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity │ │ │ +00191ee0: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt │ │ │ +00191ef0: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f ion. - no_reboo │ │ │ +00191f00: 745f 6e65 6564 6564 0a20 202d 2073 6572 t_needed. - ser │ │ │ +00191f10: 7669 6365 5f61 7070 6f72 745f 6469 7361 vice_apport_disa │ │ │ +00191f20: 626c 6564 0a20 202d 2075 6e6b 6e6f 776e bled. - unknown │ │ │ +00191f30: 5f73 6576 6572 6974 790a 3c2f 636f 6465 _severity.

Rem │ │ │ +00191ff0: 6564 6961 7469 6f6e 204b 7562 6572 6e65 ediation Kuberne │ │ │ +00192000: 7465 7320 736e 6970 7065 7420 e287 b23c tes snippet ...< │ │ │ +00192010: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ +00192090: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +001920b0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973
Complexity:< │ │ │ +001920a0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +001920c0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:medium
Reboot: │ │ │ +001920f0: 3c2f 7468 3e3c 7464 3e74 7275 653c 2f74 true
S │ │ │ +00192110: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ +00192140: 636f 6465 3e61 7069 5665 7273 696f 6e3a  code>apiVersion:
│ │ │ +00192150: 206d 6163 6869 6e65 636f 6e66 6967 7572   machineconfigur
│ │ │ +00192160: 6174 696f 6e2e 6f70 656e 7368 6966 742e  ation.openshift.
│ │ │ +00192170: 696f 2f76 310a 6b69 6e64 3a20 4d61 6368  io/v1.kind: Mach
│ │ │ +00192180: 696e 6543 6f6e 6669 670a 7370 6563 3a0a  ineConfig.spec:.
│ │ │ +00192190: 2020 636f 6e66 6967 3a0a 2020 2020 6967    config:.    ig
│ │ │ +001921a0: 6e69 7469 6f6e 3a0a 2020 2020 2020 7665  nition:.      ve
│ │ │ +001921b0: 7273 696f 6e3a 2033 2e31 2e30 0a20 2020  rsion: 3.1.0.   
│ │ │ +001921c0: 2073 7973 7465 6d64 3a0a 2020 2020 2020   systemd:.      
│ │ │ +001921d0: 756e 6974 733a 0a20 2020 2020 202d 206e  units:.      - n
│ │ │ +001921e0: 616d 653a 2061 7070 6f72 742e 7365 7276  ame: apport.serv
│ │ │ +001921f0: 6963 650a 2020 2020 2020 2020 656e 6162  ice.        enab
│ │ │ +00192200: 6c65 643a 2066 616c 7365 0a20 2020 2020  led: false.     
│ │ │ +00192210: 2020 206d 6173 6b3a 2074 7275 650a 2020     mask: true.  
│ │ │ +00192220: 2020 2020 2d20 6e61 6d65 3a20 6170 706f      - name: appo
│ │ │ +00192230: 7274 2e73 6f63 6b65 740a 2020 2020 2020  rt.socket.      
│ │ │ +00192240: 2020 656e 6162 6c65 643a 2066 616c 7365    enabled: false
│ │ │ +00192250: 0a20 2020 2020 2020 206d 6173 6b3a 2074  .        mask: t
│ │ │ +00192260: 7275 650a 3c2f 636f 6465 3e3c 2f70 7265  rue.
Remediati │ │ │ +00192320: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ +00192330: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +00192370: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ +001923e0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +00192400: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +00192430: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ +00192450: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ +001923c0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +001923d0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +00192410: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +00192420: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ +00192470: 6469 7361 626c 655f 6170 706f 7274 0a0a disable_apport.. │ │ │ +00192480: 636c 6173 7320 6469 7361 626c 655f 6170 class disable_ap │ │ │ +00192490: 706f 7274 207b 0a20 2073 6572 7669 6365 port {. service │ │ │ +001924a0: 207b 2761 7070 6f72 7427 3a0a 2020 2020 {'apport':. │ │ │ +001924b0: 656e 6162 6c65 203d 2667 743b 2066 616c enable => fal │ │ │ +001924c0: 7365 2c0a 2020 2020 656e 7375 7265 203d se,. ensure = │ │ │ +001924d0: 2667 743b 2027 7374 6f70 7065 6427 2c0a > 'stopped',. │ │ │ +001924e0: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.

Remedia │ │ │ +001925a0: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu │ │ │ +001925b0: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet . │ │ │ +001925c0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
.[custom │ │ │ +00192610: 697a 6174 696f 6e73 2e73 6572 7669 6365 izations.service │ │ │ +00192620: 735d 0a6d 6173 6b65 6420 3d20 5b22 6170 s].masked = ["ap │ │ │ +00192630: 706f 7274 225d 0a3c 2f63 6f64 653e 3c2f port"].
R │ │ │ -00194280: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ -00194290: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity: │ │ │ -00194370: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -00194380: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ -001943e0: 6176 6168 692d 6461 656d 6f6e 0a0a 636c  avahi-daemon..cl
│ │ │ -001943f0: 6173 7320 7265 6d6f 7665 5f61 7661 6869  ass remove_avahi
│ │ │ -00194400: 2d64 6165 6d6f 6e20 7b0a 2020 7061 636b  -daemon {.  pack
│ │ │ -00194410: 6167 6520 7b20 2761 7661 6869 2d64 6165  age { 'avahi-dae
│ │ │ -00194420: 6d6f 6e27 3a0a 2020 2020 656e 7375 7265  mon':.    ensure
│ │ │ -00194430: 203d 2667 743b 2027 7075 7267 6564 272c   => 'purged',
│ │ │ -00194440: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.Remedi
│ │ │ -00194500: 6174 696f 6e20 416e 7369 626c 6520 736e  ation Ansible sn
│ │ │ -00194510: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
low
Disru │ │ │ -00194350: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -00194360: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -001943a0: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ -001943b0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
low< │ │ │ -001945c0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -00194610: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ -00194650: 616d 653a 2045 6e73 7572 6520 6176 6168  ame: Ensure avah
│ │ │ -00194660: 692d 6461 656d 6f6e 2069 7320 7265 6d6f  i-daemon is remo
│ │ │ -00194670: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ -00194680: 2020 206e 616d 653a 2061 7661 6869 2d64     name: avahi-d
│ │ │ -00194690: 6165 6d6f 6e0a 2020 2020 7374 6174 653a  aemon.    state:
│ │ │ -001946a0: 2061 6273 656e 740a 2020 7461 6773 3a0a   absent.  tags:.
│ │ │ -001946b0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -001946c0: 434d 2d36 2861 290a 2020 2d20 4e49 5354  CM-6(a).  - NIST
│ │ │ -001946d0: 2d38 3030 2d35 332d 434d 2d37 2861 290a  -800-53-CM-7(a).
│ │ │ -001946e0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -001946f0: 434d 2d37 2862 290a 2020 2d20 6469 7361  CM-7(b).  - disa
│ │ │ -00194700: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -00194710: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -00194720: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -00194730: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -00194740: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -00194750: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -00194760: 7061 636b 6167 655f 6176 6168 695f 7265  package_avahi_re
│ │ │ -00194770: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70  moved.


Co │ │ │ -001945a0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -001945d0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -001945f0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -00194600: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -00194620: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -00194630: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
< │ │ │ +00194320: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +00194340: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +00194390: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +001943c0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Ensure
│ │ │ +001943e0: 2061 7661 6869 2d64 6165 6d6f 6e20 6973   avahi-daemon is
│ │ │ +001943f0: 2072 656d 6f76 6564 0a20 2070 6163 6b61   removed.  packa
│ │ │ +00194400: 6765 3a0a 2020 2020 6e61 6d65 3a20 6176  ge:.    name: av
│ │ │ +00194410: 6168 692d 6461 656d 6f6e 0a20 2020 2073  ahi-daemon.    s
│ │ │ +00194420: 7461 7465 3a20 6162 7365 6e74 0a20 2074  tate: absent.  t
│ │ │ +00194430: 6167 733a 0a20 202d 204e 4953 542d 3830  ags:.  - NIST-80
│ │ │ +00194440: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ +00194450: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +00194460: 3728 6129 0a20 202d 204e 4953 542d 3830  7(a).  - NIST-80
│ │ │ +00194470: 302d 3533 2d43 4d2d 3728 6229 0a20 202d  0-53-CM-7(b).  -
│ │ │ +00194480: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ +00194490: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +001944a0: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +001944b0: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ +001944c0: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ +001944d0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +001944e0: 0a20 202d 2070 6163 6b61 6765 5f61 7661  .  - package_ava
│ │ │ +001944f0: 6869 5f72 656d 6f76 6564 0a3c 2f63 6f64  hi_removed.
Re │ │ │ +001945b0: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ +001945c0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +001945d0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
low
Disr │ │ │ +00194350: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +00194360: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +001943a0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +001943b0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
< │ │ │ +001946a0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +001946b0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +00194700: 696e 636c 7564 6520 7265 6d6f 7665 5f61  include remove_a
│ │ │ +00194710: 7661 6869 2d64 6165 6d6f 6e0a 0a63 6c61  vahi-daemon..cla
│ │ │ +00194720: 7373 2072 656d 6f76 655f 6176 6168 692d  ss remove_avahi-
│ │ │ +00194730: 6461 656d 6f6e 207b 0a20 2070 6163 6b61  daemon {.  packa
│ │ │ +00194740: 6765 207b 2027 6176 6168 692d 6461 656d  ge { 'avahi-daem
│ │ │ +00194750: 6f6e 273a 0a20 2020 2065 6e73 7572 6520  on':.    ensure 
│ │ │ +00194760: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ +00194770: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Reme │ │ │ -00195960: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild │ │ │ -00195970: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe │ │ │ -00195980: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -001959c0: 3c70 7265 3e3c 636f 6465 3e0a 5b63 7573
.[cus
│ │ │ -001959d0: 746f 6d69 7a61 7469 6f6e 732e 7365 7276  tomizations.serv
│ │ │ -001959e0: 6963 6573 5d0a 6d61 736b 6564 203d 205b  ices].masked = [
│ │ │ -001959f0: 2261 7661 6869 2d64 6165 6d6f 6e22 5d0a  "avahi-daemon"].
│ │ │ -00195a00: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation K │ │ │ -00195ac0: 7562 6572 6e65 7465 7320 736e 6970 7065 ubernetes snippe │ │ │ -00195ad0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -00195b10: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
Complexity:low
Disrup │ │ │ +00194680: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +00194690: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +001946d0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +001946e0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
< │ │ │ -00195b80: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
Comple │ │ │ -00195b60: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -00195b70: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
medium
R │ │ │ -00195bb0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e74 eboot:t │ │ │ -00195bc0: 7275 653c 2f74 643e 3c2f 7472 3e3c 7472 rue
Strategy:disable
│ │ │ -00195c00: 3c70 7265 3e3c 636f 6465 3e61 7069 5665
apiVe
│ │ │ -00195c10: 7273 696f 6e3a 206d 6163 6869 6e65 636f  rsion: machineco
│ │ │ -00195c20: 6e66 6967 7572 6174 696f 6e2e 6f70 656e  nfiguration.open
│ │ │ -00195c30: 7368 6966 742e 696f 2f76 310a 6b69 6e64  shift.io/v1.kind
│ │ │ -00195c40: 3a20 4d61 6368 696e 6543 6f6e 6669 670a  : MachineConfig.
│ │ │ -00195c50: 7370 6563 3a0a 2020 636f 6e66 6967 3a0a  spec:.  config:.
│ │ │ -00195c60: 2020 2020 6967 6e69 7469 6f6e 3a0a 2020      ignition:.  
│ │ │ -00195c70: 2020 2020 7665 7273 696f 6e3a 2033 2e31      version: 3.1
│ │ │ -00195c80: 2e30 0a20 2020 2073 7973 7465 6d64 3a0a  .0.    systemd:.
│ │ │ -00195c90: 2020 2020 2020 756e 6974 733a 0a20 2020        units:.   
│ │ │ -00195ca0: 2020 202d 206e 616d 653a 2061 7661 6869     - name: avahi
│ │ │ -00195cb0: 2d64 6165 6d6f 6e2e 7365 7276 6963 650a  -daemon.service.
│ │ │ -00195cc0: 2020 2020 2020 2020 656e 6162 6c65 643a          enabled:
│ │ │ -00195cd0: 2066 616c 7365 0a20 2020 2020 2020 206d   false.        m
│ │ │ -00195ce0: 6173 6b3a 2074 7275 650a 2020 2020 2020  ask: true.      
│ │ │ -00195cf0: 2d20 6e61 6d65 3a20 6176 6168 692d 6461  - name: avahi-da
│ │ │ -00195d00: 656d 6f6e 2e73 6f63 6b65 740a 2020 2020  emon.socket.    
│ │ │ -00195d10: 2020 2020 656e 6162 6c65 643a 2066 616c      enabled: fal
│ │ │ -00195d20: 7365 0a20 2020 2020 2020 206d 6173 6b3a  se.        mask:
│ │ │ -00195d30: 2074 7275 650a 3c2f 636f 6465 3e3c 2f70   true.

Remedia │ │ │ -00195df0: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ -00195e00: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -00195e10: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -00195e20: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -00195e30: 7365 2220 6964 3d22 6964 6d32 3234 3336 se" id="idm22436 │ │ │ -00195e40: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ -00195e90: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -00195ea0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -00195ec0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -00195ee0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -00195ef0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ -00195f30: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ -00195f40: 6520 6469 7361 626c 655f 6176 6168 692d e disable_avahi- │ │ │ -00195f50: 6461 656d 6f6e 0a0a 636c 6173 7320 6469 daemon..class di │ │ │ -00195f60: 7361 626c 655f 6176 6168 692d 6461 656d sable_avahi-daem │ │ │ -00195f70: 6f6e 207b 0a20 2073 6572 7669 6365 207b on {. service { │ │ │ -00195f80: 2761 7661 6869 2d64 6165 6d6f 6e27 3a0a 'avahi-daemon':. │ │ │ -00195f90: 2020 2020 656e 6162 6c65 203d 2667 743b enable => │ │ │ -00195fa0: 2066 616c 7365 2c0a 2020 2020 656e 7375 false,. ensu │ │ │ -00195fb0: 7265 203d 2667 743b 2027 7374 6f70 7065 re => 'stoppe │ │ │ -00195fc0: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 d',. }.}.
Rem │ │ │ -00196080: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ -00196090: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -001960a0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -00196170: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -00196180: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -001961d0: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ -001961e0: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ -001961f0: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ -00196200: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ -00196210: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ -00196220: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ -00196230: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ -00196240: 2d35 332d 434d 2d37 2861 290a 2020 2d20  -53-CM-7(a).  - 
│ │ │ -00196250: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ -00196260: 2862 290a 2020 2d20 5043 492d 4453 5376  (b).  - PCI-DSSv
│ │ │ -00196270: 342d 322e 320a 2020 2d20 5043 492d 4453  4-2.2.  - PCI-DS
│ │ │ -00196280: 5376 342d 322e 322e 340a 2020 2d20 6469  Sv4-2.2.4.  - di
│ │ │ -00196290: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ -001962a0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -001962b0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -001962c0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ -001962d0: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -001962e0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -001962f0: 2d20 7365 7276 6963 655f 6176 6168 692d  - service_avahi-
│ │ │ -00196300: 6461 656d 6f6e 5f64 6973 6162 6c65 640a  daemon_disabled.
│ │ │ -00196310: 0a2d 206e 616d 653a 2044 6973 6162 6c65  .- name: Disable
│ │ │ -00196320: 2041 7661 6869 2053 6572 7665 7220 536f   Avahi Server So
│ │ │ -00196330: 6674 7761 7265 202d 2043 6f6c 6c65 6374  ftware - Collect
│ │ │ -00196340: 2073 7973 7465 6d64 2053 6572 7669 6365   systemd Service
│ │ │ -00196350: 7320 5072 6573 656e 7420 696e 2074 6865  s Present in the
│ │ │ -00196360: 2053 7973 7465 6d0a 2020 616e 7369 626c   System.  ansibl
│ │ │ -00196370: 652e 6275 696c 7469 6e2e 636f 6d6d 616e  e.builtin.comman
│ │ │ -00196380: 643a 2073 7973 7465 6d63 746c 202d 7120  d: systemctl -q 
│ │ │ -00196390: 6c69 7374 2d75 6e69 742d 6669 6c65 7320  list-unit-files 
│ │ │ -001963a0: 2d2d 7479 7065 2073 6572 7669 6365 0a20  --type service. 
│ │ │ -001963b0: 2072 6567 6973 7465 723a 2073 6572 7669   register: servi
│ │ │ -001963c0: 6365 5f65 7869 7374 730a 2020 6368 616e  ce_exists.  chan
│ │ │ -001963d0: 6765 645f 7768 656e 3a20 6661 6c73 650a  ged_when: false.
│ │ │ -001963e0: 2020 6661 696c 6564 5f77 6865 6e3a 2073    failed_when: s
│ │ │ -001963f0: 6572 7669 6365 5f65 7869 7374 732e 7263  ervice_exists.rc
│ │ │ -00196400: 206e 6f74 2069 6e20 5b30 2c20 315d 0a20   not in [0, 1]. 
│ │ │ -00196410: 2063 6865 636b 5f6d 6f64 653a 2066 616c   check_mode: fal
│ │ │ -00196420: 7365 0a20 2077 6865 6e3a 2028 2022 6176  se.  when: ( "av
│ │ │ -00196430: 6168 692d 6461 656d 6f6e 2220 696e 2061  ahi-daemon" in a
│ │ │ -00196440: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ -00196450: 6b61 6765 7320 616e 6420 226c 696e 7578  kages and "linux
│ │ │ -00196460: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ -00196470: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ -00196480: 0a20 2020 2029 0a20 2074 6167 733a 0a20  .    ).  tags:. 
│ │ │ -00196490: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -001964a0: 4d2d 3628 6129 0a20 202d 204e 4953 542d  M-6(a).  - NIST-
│ │ │ -001964b0: 3830 302d 3533 2d43 4d2d 3728 6129 0a20  800-53-CM-7(a). 
│ │ │ -001964c0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -001964d0: 4d2d 3728 6229 0a20 202d 2050 4349 2d44  M-7(b).  - PCI-D
│ │ │ -001964e0: 5353 7634 2d32 2e32 0a20 202d 2050 4349  SSv4-2.2.  - PCI
│ │ │ -001964f0: 2d44 5353 7634 2d32 2e32 2e34 0a20 202d  -DSSv4-2.2.4.  -
│ │ │ -00196500: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ -00196510: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -00196520: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -00196530: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ -00196540: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ -00196550: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -00196560: 0a20 202d 2073 6572 7669 6365 5f61 7661  .  - service_ava
│ │ │ -00196570: 6869 2d64 6165 6d6f 6e5f 6469 7361 626c  hi-daemon_disabl
│ │ │ -00196580: 6564 0a0a 2d20 6e61 6d65 3a20 4469 7361  ed..- name: Disa
│ │ │ -00196590: 626c 6520 4176 6168 6920 5365 7276 6572  ble Avahi Server
│ │ │ -001965a0: 2053 6f66 7477 6172 6520 2d20 456e 7375   Software - Ensu
│ │ │ -001965b0: 7265 2061 7661 6869 2d64 6165 6d6f 6e2e  re avahi-daemon.
│ │ │ -001965c0: 7365 7276 6963 6520 6973 204d 6173 6b65  service is Maske
│ │ │ -001965d0: 640a 2020 616e 7369 626c 652e 6275 696c  d.  ansible.buil
│ │ │ -001965e0: 7469 6e2e 7379 7374 656d 643a 0a20 2020  tin.systemd:.   
│ │ │ -001965f0: 206e 616d 653a 2061 7661 6869 2d64 6165   name: avahi-dae
│ │ │ -00196600: 6d6f 6e2e 7365 7276 6963 650a 2020 2020  mon.service.    
│ │ │ -00196610: 7374 6174 653a 2073 746f 7070 6564 0a20  state: stopped. 
│ │ │ -00196620: 2020 2065 6e61 626c 6564 3a20 6661 6c73     enabled: fals
│ │ │ -00196630: 650a 2020 2020 6d61 736b 6564 3a20 7472  e.    masked: tr
│ │ │ -00196640: 7565 0a20 2077 6865 6e3a 0a20 202d 2028  ue.  when:.  - (
│ │ │ -00196650: 2022 6176 6168 692d 6461 656d 6f6e 2220   "avahi-daemon" 
│ │ │ -00196660: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -00196670: 2e70 6163 6b61 6765 7320 616e 6420 226c  .packages and "l
│ │ │ -00196680: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ -00196690: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ -001966a0: 6167 6573 0a20 2020 2029 0a20 202d 2073  ages.    ).  - s
│ │ │ -001966b0: 6572 7669 6365 5f65 7869 7374 732e 7374  ervice_exists.st
│ │ │ -001966c0: 646f 7574 5f6c 696e 6573 2069 7320 7365  dout_lines is se
│ │ │ -001966d0: 6172 6368 2822 6176 6168 692d 6461 656d  arch("avahi-daem
│ │ │ -001966e0: 6f6e 2e73 6572 7669 6365 222c 206d 756c  on.service", mul
│ │ │ -001966f0: 7469 6c69 6e65 3d54 7275 6529 0a20 2074  tiline=True).  t
│ │ │ -00196700: 6167 733a 0a20 202d 204e 4953 542d 3830  ags:.  - NIST-80
│ │ │ -00196710: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ -00196720: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -00196730: 3728 6129 0a20 202d 204e 4953 542d 3830  7(a).  - NIST-80
│ │ │ -00196740: 302d 3533 2d43 4d2d 3728 6229 0a20 202d  0-53-CM-7(b).  -
│ │ │ -00196750: 2050 4349 2d44 5353 7634 2d32 2e32 0a20   PCI-DSSv4-2.2. 
│ │ │ -00196760: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ -00196770: 2e34 0a20 202d 2064 6973 6162 6c65 5f73  .4.  - disable_s
│ │ │ -00196780: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ -00196790: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -001967a0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -001967b0: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ -001967c0: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ -001967d0: 6e65 6564 6564 0a20 202d 2073 6572 7669  needed.  - servi
│ │ │ -001967e0: 6365 5f61 7661 6869 2d64 6165 6d6f 6e5f  ce_avahi-daemon_
│ │ │ -001967f0: 6469 7361 626c 6564 0a0a 2d20 6e61 6d65  disabled..- name
│ │ │ -00196800: 3a20 556e 6974 2053 6f63 6b65 7420 4578  : Unit Socket Ex
│ │ │ -00196810: 6973 7473 202d 2061 7661 6869 2d64 6165  ists - avahi-dae
│ │ │ -00196820: 6d6f 6e2e 736f 636b 6574 0a20 2061 6e73  mon.socket.  ans
│ │ │ -00196830: 6962 6c65 2e62 7569 6c74 696e 2e63 6f6d  ible.builtin.com
│ │ │ -00196840: 6d61 6e64 3a20 7379 7374 656d 6374 6c20  mand: systemctl 
│ │ │ -00196850: 2d71 206c 6973 742d 756e 6974 2d66 696c  -q list-unit-fil
│ │ │ -00196860: 6573 2061 7661 6869 2d64 6165 6d6f 6e2e  es avahi-daemon.
│ │ │ -00196870: 736f 636b 6574 0a20 2072 6567 6973 7465  socket.  registe
│ │ │ -00196880: 723a 2073 6f63 6b65 745f 6669 6c65 5f65  r: socket_file_e
│ │ │ -00196890: 7869 7374 730a 2020 6368 616e 6765 645f  xists.  changed_
│ │ │ -001968a0: 7768 656e 3a20 6661 6c73 650a 2020 6661  when: false.  fa
│ │ │ -001968b0: 696c 6564 5f77 6865 6e3a 2073 6f63 6b65  iled_when: socke
│ │ │ -001968c0: 745f 6669 6c65 5f65 7869 7374 732e 7263  t_file_exists.rc
│ │ │ -001968d0: 206e 6f74 2069 6e20 5b30 2c20 315d 0a20   not in [0, 1]. 
│ │ │ -001968e0: 2063 6865 636b 5f6d 6f64 653a 2066 616c   check_mode: fal
│ │ │ -001968f0: 7365 0a20 2077 6865 6e3a 2028 2022 6176  se.  when: ( "av
│ │ │ -00196900: 6168 692d 6461 656d 6f6e 2220 696e 2061  ahi-daemon" in a
│ │ │ -00196910: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ -00196920: 6b61 6765 7320 616e 6420 226c 696e 7578  kages and "linux
│ │ │ -00196930: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ -00196940: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ -00196950: 0a20 2020 2029 0a20 2074 6167 733a 0a20  .    ).  tags:. 
│ │ │ -00196960: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -00196970: 4d2d 3628 6129 0a20 202d 204e 4953 542d  M-6(a).  - NIST-
│ │ │ -00196980: 3830 302d 3533 2d43 4d2d 3728 6129 0a20  800-53-CM-7(a). 
│ │ │ -00196990: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -001969a0: 4d2d 3728 6229 0a20 202d 2050 4349 2d44  M-7(b).  - PCI-D
│ │ │ -001969b0: 5353 7634 2d32 2e32 0a20 202d 2050 4349  SSv4-2.2.  - PCI
│ │ │ -001969c0: 2d44 5353 7634 2d32 2e32 2e34 0a20 202d  -DSSv4-2.2.4.  -
│ │ │ -001969d0: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ -001969e0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -001969f0: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -00196a00: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ -00196a10: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ -00196a20: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -00196a30: 0a20 202d 2073 6572 7669 6365 5f61 7661  .  - service_ava
│ │ │ -00196a40: 6869 2d64 6165 6d6f 6e5f 6469 7361 626c  hi-daemon_disabl
│ │ │ -00196a50: 6564 0a0a 2d20 6e61 6d65 3a20 4469 7361  ed..- name: Disa
│ │ │ -00196a60: 626c 6520 4176 6168 6920 5365 7276 6572  ble Avahi Server
│ │ │ -00196a70: 2053 6f66 7477 6172 6520 2d20 4469 7361   Software - Disa
│ │ │ -00196a80: 626c 6520 536f 636b 6574 2061 7661 6869  ble Socket avahi
│ │ │ -00196a90: 2d64 6165 6d6f 6e0a 2020 616e 7369 626c  -daemon.  ansibl
│ │ │ -00196aa0: 652e 6275 696c 7469 6e2e 7379 7374 656d  e.builtin.system
│ │ │ -00196ab0: 643a 0a20 2020 206e 616d 653a 2061 7661  d:.    name: ava
│ │ │ -00196ac0: 6869 2d64 6165 6d6f 6e2e 736f 636b 6574  hi-daemon.socket
│ │ │ -00196ad0: 0a20 2020 2065 6e61 626c 6564 3a20 6661  .    enabled: fa
│ │ │ -00196ae0: 6c73 650a 2020 2020 7374 6174 653a 2073  lse.    state: s
│ │ │ -00196af0: 746f 7070 6564 0a20 2020 206d 6173 6b65  topped.    maske
│ │ │ -00196b00: 643a 2074 7275 650a 2020 7768 656e 3a0a  d: true.  when:.
│ │ │ -00196b10: 2020 2d20 2820 2261 7661 6869 2d64 6165    - ( "avahi-dae
│ │ │ -00196b20: 6d6f 6e22 2069 6e20 616e 7369 626c 655f  mon" in ansible_
│ │ │ -00196b30: 6661 6374 732e 7061 636b 6167 6573 2061  facts.packages a
│ │ │ -00196b40: 6e64 2022 6c69 6e75 782d 6261 7365 2220  nd "linux-base" 
│ │ │ -00196b50: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -00196b60: 2e70 6163 6b61 6765 730a 2020 2020 290a  .packages.    ).
│ │ │ -00196b70: 2020 2d20 736f 636b 6574 5f66 696c 655f    - socket_file_
│ │ │ -00196b80: 6578 6973 7473 2e73 7464 6f75 745f 6c69  exists.stdout_li
│ │ │ -00196b90: 6e65 7320 6973 2073 6561 7263 6828 2261  nes is search("a
│ │ │ -00196ba0: 7661 6869 2d64 6165 6d6f 6e2e 736f 636b  vahi-daemon.sock
│ │ │ -00196bb0: 6574 222c 206d 756c 7469 6c69 6e65 3d54  et", multiline=T
│ │ │ -00196bc0: 7275 6529 0a20 2074 6167 733a 0a20 202d  rue).  tags:.  -
│ │ │ -00196bd0: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -00196be0: 3628 6129 0a20 202d 204e 4953 542d 3830  6(a).  - NIST-80
│ │ │ -00196bf0: 302d 3533 2d43 4d2d 3728 6129 0a20 202d  0-53-CM-7(a).  -
│ │ │ -00196c00: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -00196c10: 3728 6229 0a20 202d 2050 4349 2d44 5353  7(b).  - PCI-DSS
│ │ │ -00196c20: 7634 2d32 2e32 0a20 202d 2050 4349 2d44  v4-2.2.  - PCI-D
│ │ │ -00196c30: 5353 7634 2d32 2e32 2e34 0a20 202d 2064  SSv4-2.2.4.  - d
│ │ │ -00196c40: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ -00196c50: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -00196c60: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -00196c70: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -00196c80: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -00196c90: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -00196ca0: 202d 2073 6572 7669 6365 5f61 7661 6869   - service_avahi
│ │ │ -00196cb0: 2d64 6165 6d6f 6e5f 6469 7361 626c 6564  -daemon_disabled
│ │ │ +00195960: 6469 6174 696f 6e20 416e 7369 626c 6520  diation Ansible 
│ │ │ +00195970: 736e 6970 7065 7420 e287 b23c 2f61 3e3c  snippet ...<
│ │ │ +00195980: 6272 3e3c 6469 7620 636c 6173 733d 2270  br>
Complexity:low
Disrup │ │ │ -00196150: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -00196160: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -001961a0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -001961b0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +00195a10: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
-
│ │ │ +00195ab0: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ +00195ac0: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ +00195ad0: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ +00195ae0: 0a20 2020 206d 616e 6167 6572 3a20 6175  .    manager: au
│ │ │ +00195af0: 746f 0a20 2074 6167 733a 0a20 202d 204e  to.  tags:.  - N
│ │ │ +00195b00: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ +00195b10: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ +00195b20: 3533 2d43 4d2d 3728 6129 0a20 202d 204e  53-CM-7(a).  - N
│ │ │ +00195b30: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ +00195b40: 6229 0a20 202d 2050 4349 2d44 5353 7634  b).  - PCI-DSSv4
│ │ │ +00195b50: 2d32 2e32 0a20 202d 2050 4349 2d44 5353  -2.2.  - PCI-DSS
│ │ │ +00195b60: 7634 2d32 2e32 2e34 0a20 202d 2064 6973  v4-2.2.4.  - dis
│ │ │ +00195b70: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +00195b80: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +00195b90: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +00195ba0: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ +00195bb0: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +00195bc0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +00195bd0: 2073 6572 7669 6365 5f61 7661 6869 2d64   service_avahi-d
│ │ │ +00195be0: 6165 6d6f 6e5f 6469 7361 626c 6564 0a0a  aemon_disabled..
│ │ │ +00195bf0: 2d20 6e61 6d65 3a20 4469 7361 626c 6520  - name: Disable 
│ │ │ +00195c00: 4176 6168 6920 5365 7276 6572 2053 6f66  Avahi Server Sof
│ │ │ +00195c10: 7477 6172 6520 2d20 436f 6c6c 6563 7420  tware - Collect 
│ │ │ +00195c20: 7379 7374 656d 6420 5365 7276 6963 6573  systemd Services
│ │ │ +00195c30: 2050 7265 7365 6e74 2069 6e20 7468 6520   Present in the 
│ │ │ +00195c40: 5379 7374 656d 0a20 2061 6e73 6962 6c65  System.  ansible
│ │ │ +00195c50: 2e62 7569 6c74 696e 2e63 6f6d 6d61 6e64  .builtin.command
│ │ │ +00195c60: 3a20 7379 7374 656d 6374 6c20 2d71 206c  : systemctl -q l
│ │ │ +00195c70: 6973 742d 756e 6974 2d66 696c 6573 202d  ist-unit-files -
│ │ │ +00195c80: 2d74 7970 6520 7365 7276 6963 650a 2020  -type service.  
│ │ │ +00195c90: 7265 6769 7374 6572 3a20 7365 7276 6963  register: servic
│ │ │ +00195ca0: 655f 6578 6973 7473 0a20 2063 6861 6e67  e_exists.  chang
│ │ │ +00195cb0: 6564 5f77 6865 6e3a 2066 616c 7365 0a20  ed_when: false. 
│ │ │ +00195cc0: 2066 6169 6c65 645f 7768 656e 3a20 7365   failed_when: se
│ │ │ +00195cd0: 7276 6963 655f 6578 6973 7473 2e72 6320  rvice_exists.rc 
│ │ │ +00195ce0: 6e6f 7420 696e 205b 302c 2031 5d0a 2020  not in [0, 1].  
│ │ │ +00195cf0: 6368 6563 6b5f 6d6f 6465 3a20 6661 6c73  check_mode: fals
│ │ │ +00195d00: 650a 2020 7768 656e 3a20 2820 2261 7661  e.  when: ( "ava
│ │ │ +00195d10: 6869 2d64 6165 6d6f 6e22 2069 6e20 616e  hi-daemon" in an
│ │ │ +00195d20: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +00195d30: 6167 6573 2061 6e64 2022 6c69 6e75 782d  ages and "linux-
│ │ │ +00195d40: 6261 7365 2220 696e 2061 6e73 6962 6c65  base" in ansible
│ │ │ +00195d50: 5f66 6163 7473 2e70 6163 6b61 6765 730a  _facts.packages.
│ │ │ +00195d60: 2020 2020 290a 2020 7461 6773 3a0a 2020      ).  tags:.  
│ │ │ +00195d70: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +00195d80: 2d36 2861 290a 2020 2d20 4e49 5354 2d38  -6(a).  - NIST-8
│ │ │ +00195d90: 3030 2d35 332d 434d 2d37 2861 290a 2020  00-53-CM-7(a).  
│ │ │ +00195da0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +00195db0: 2d37 2862 290a 2020 2d20 5043 492d 4453  -7(b).  - PCI-DS
│ │ │ +00195dc0: 5376 342d 322e 320a 2020 2d20 5043 492d  Sv4-2.2.  - PCI-
│ │ │ +00195dd0: 4453 5376 342d 322e 322e 340a 2020 2d20  DSSv4-2.2.4.  - 
│ │ │ +00195de0: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ +00195df0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +00195e00: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +00195e10: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +00195e20: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +00195e30: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +00195e40: 2020 2d20 7365 7276 6963 655f 6176 6168    - service_avah
│ │ │ +00195e50: 692d 6461 656d 6f6e 5f64 6973 6162 6c65  i-daemon_disable
│ │ │ +00195e60: 640a 0a2d 206e 616d 653a 2044 6973 6162  d..- name: Disab
│ │ │ +00195e70: 6c65 2041 7661 6869 2053 6572 7665 7220  le Avahi Server 
│ │ │ +00195e80: 536f 6674 7761 7265 202d 2045 6e73 7572  Software - Ensur
│ │ │ +00195e90: 6520 6176 6168 692d 6461 656d 6f6e 2e73  e avahi-daemon.s
│ │ │ +00195ea0: 6572 7669 6365 2069 7320 4d61 736b 6564  ervice is Masked
│ │ │ +00195eb0: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74  .  ansible.built
│ │ │ +00195ec0: 696e 2e73 7973 7465 6d64 3a0a 2020 2020  in.systemd:.    
│ │ │ +00195ed0: 6e61 6d65 3a20 6176 6168 692d 6461 656d  name: avahi-daem
│ │ │ +00195ee0: 6f6e 2e73 6572 7669 6365 0a20 2020 2073  on.service.    s
│ │ │ +00195ef0: 7461 7465 3a20 7374 6f70 7065 640a 2020  tate: stopped.  
│ │ │ +00195f00: 2020 656e 6162 6c65 643a 2066 616c 7365    enabled: false
│ │ │ +00195f10: 0a20 2020 206d 6173 6b65 643a 2074 7275  .    masked: tru
│ │ │ +00195f20: 650a 2020 7768 656e 3a0a 2020 2d20 2820  e.  when:.  - ( 
│ │ │ +00195f30: 2261 7661 6869 2d64 6165 6d6f 6e22 2069  "avahi-daemon" i
│ │ │ +00195f40: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +00195f50: 7061 636b 6167 6573 2061 6e64 2022 6c69  packages and "li
│ │ │ +00195f60: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ +00195f70: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ +00195f80: 6765 730a 2020 2020 290a 2020 2d20 7365  ges.    ).  - se
│ │ │ +00195f90: 7276 6963 655f 6578 6973 7473 2e73 7464  rvice_exists.std
│ │ │ +00195fa0: 6f75 745f 6c69 6e65 7320 6973 2073 6561  out_lines is sea
│ │ │ +00195fb0: 7263 6828 2261 7661 6869 2d64 6165 6d6f  rch("avahi-daemo
│ │ │ +00195fc0: 6e2e 7365 7276 6963 6522 2c20 6d75 6c74  n.service", mult
│ │ │ +00195fd0: 696c 696e 653d 5472 7565 290a 2020 7461  iline=True).  ta
│ │ │ +00195fe0: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030  gs:.  - NIST-800
│ │ │ +00195ff0: 2d35 332d 434d 2d36 2861 290a 2020 2d20  -53-CM-6(a).  - 
│ │ │ +00196000: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ +00196010: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ +00196020: 2d35 332d 434d 2d37 2862 290a 2020 2d20  -53-CM-7(b).  - 
│ │ │ +00196030: 5043 492d 4453 5376 342d 322e 320a 2020  PCI-DSSv4-2.2.  
│ │ │ +00196040: 2d20 5043 492d 4453 5376 342d 322e 322e  - PCI-DSSv4-2.2.
│ │ │ +00196050: 340a 2020 2d20 6469 7361 626c 655f 7374  4.  - disable_st
│ │ │ +00196060: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +00196070: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +00196080: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +00196090: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ +001960a0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +001960b0: 6565 6465 640a 2020 2d20 7365 7276 6963  eeded.  - servic
│ │ │ +001960c0: 655f 6176 6168 692d 6461 656d 6f6e 5f64  e_avahi-daemon_d
│ │ │ +001960d0: 6973 6162 6c65 640a 0a2d 206e 616d 653a  isabled..- name:
│ │ │ +001960e0: 2055 6e69 7420 536f 636b 6574 2045 7869   Unit Socket Exi
│ │ │ +001960f0: 7374 7320 2d20 6176 6168 692d 6461 656d  sts - avahi-daem
│ │ │ +00196100: 6f6e 2e73 6f63 6b65 740a 2020 616e 7369  on.socket.  ansi
│ │ │ +00196110: 626c 652e 6275 696c 7469 6e2e 636f 6d6d  ble.builtin.comm
│ │ │ +00196120: 616e 643a 2073 7973 7465 6d63 746c 202d  and: systemctl -
│ │ │ +00196130: 7120 6c69 7374 2d75 6e69 742d 6669 6c65  q list-unit-file
│ │ │ +00196140: 7320 6176 6168 692d 6461 656d 6f6e 2e73  s avahi-daemon.s
│ │ │ +00196150: 6f63 6b65 740a 2020 7265 6769 7374 6572  ocket.  register
│ │ │ +00196160: 3a20 736f 636b 6574 5f66 696c 655f 6578  : socket_file_ex
│ │ │ +00196170: 6973 7473 0a20 2063 6861 6e67 6564 5f77  ists.  changed_w
│ │ │ +00196180: 6865 6e3a 2066 616c 7365 0a20 2066 6169  hen: false.  fai
│ │ │ +00196190: 6c65 645f 7768 656e 3a20 736f 636b 6574  led_when: socket
│ │ │ +001961a0: 5f66 696c 655f 6578 6973 7473 2e72 6320  _file_exists.rc 
│ │ │ +001961b0: 6e6f 7420 696e 205b 302c 2031 5d0a 2020  not in [0, 1].  
│ │ │ +001961c0: 6368 6563 6b5f 6d6f 6465 3a20 6661 6c73  check_mode: fals
│ │ │ +001961d0: 650a 2020 7768 656e 3a20 2820 2261 7661  e.  when: ( "ava
│ │ │ +001961e0: 6869 2d64 6165 6d6f 6e22 2069 6e20 616e  hi-daemon" in an
│ │ │ +001961f0: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +00196200: 6167 6573 2061 6e64 2022 6c69 6e75 782d  ages and "linux-
│ │ │ +00196210: 6261 7365 2220 696e 2061 6e73 6962 6c65  base" in ansible
│ │ │ +00196220: 5f66 6163 7473 2e70 6163 6b61 6765 730a  _facts.packages.
│ │ │ +00196230: 2020 2020 290a 2020 7461 6773 3a0a 2020      ).  tags:.  
│ │ │ +00196240: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +00196250: 2d36 2861 290a 2020 2d20 4e49 5354 2d38  -6(a).  - NIST-8
│ │ │ +00196260: 3030 2d35 332d 434d 2d37 2861 290a 2020  00-53-CM-7(a).  
│ │ │ +00196270: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +00196280: 2d37 2862 290a 2020 2d20 5043 492d 4453  -7(b).  - PCI-DS
│ │ │ +00196290: 5376 342d 322e 320a 2020 2d20 5043 492d  Sv4-2.2.  - PCI-
│ │ │ +001962a0: 4453 5376 342d 322e 322e 340a 2020 2d20  DSSv4-2.2.4.  - 
│ │ │ +001962b0: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ +001962c0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +001962d0: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +001962e0: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +001962f0: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +00196300: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +00196310: 2020 2d20 7365 7276 6963 655f 6176 6168    - service_avah
│ │ │ +00196320: 692d 6461 656d 6f6e 5f64 6973 6162 6c65  i-daemon_disable
│ │ │ +00196330: 640a 0a2d 206e 616d 653a 2044 6973 6162  d..- name: Disab
│ │ │ +00196340: 6c65 2041 7661 6869 2053 6572 7665 7220  le Avahi Server 
│ │ │ +00196350: 536f 6674 7761 7265 202d 2044 6973 6162  Software - Disab
│ │ │ +00196360: 6c65 2053 6f63 6b65 7420 6176 6168 692d  le Socket avahi-
│ │ │ +00196370: 6461 656d 6f6e 0a20 2061 6e73 6962 6c65  daemon.  ansible
│ │ │ +00196380: 2e62 7569 6c74 696e 2e73 7973 7465 6d64  .builtin.systemd
│ │ │ +00196390: 3a0a 2020 2020 6e61 6d65 3a20 6176 6168  :.    name: avah
│ │ │ +001963a0: 692d 6461 656d 6f6e 2e73 6f63 6b65 740a  i-daemon.socket.
│ │ │ +001963b0: 2020 2020 656e 6162 6c65 643a 2066 616c      enabled: fal
│ │ │ +001963c0: 7365 0a20 2020 2073 7461 7465 3a20 7374  se.    state: st
│ │ │ +001963d0: 6f70 7065 640a 2020 2020 6d61 736b 6564  opped.    masked
│ │ │ +001963e0: 3a20 7472 7565 0a20 2077 6865 6e3a 0a20  : true.  when:. 
│ │ │ +001963f0: 202d 2028 2022 6176 6168 692d 6461 656d   - ( "avahi-daem
│ │ │ +00196400: 6f6e 2220 696e 2061 6e73 6962 6c65 5f66  on" in ansible_f
│ │ │ +00196410: 6163 7473 2e70 6163 6b61 6765 7320 616e  acts.packages an
│ │ │ +00196420: 6420 226c 696e 7578 2d62 6173 6522 2069  d "linux-base" i
│ │ │ +00196430: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +00196440: 7061 636b 6167 6573 0a20 2020 2029 0a20  packages.    ). 
│ │ │ +00196450: 202d 2073 6f63 6b65 745f 6669 6c65 5f65   - socket_file_e
│ │ │ +00196460: 7869 7374 732e 7374 646f 7574 5f6c 696e  xists.stdout_lin
│ │ │ +00196470: 6573 2069 7320 7365 6172 6368 2822 6176  es is search("av
│ │ │ +00196480: 6168 692d 6461 656d 6f6e 2e73 6f63 6b65  ahi-daemon.socke
│ │ │ +00196490: 7422 2c20 6d75 6c74 696c 696e 653d 5472  t", multiline=Tr
│ │ │ +001964a0: 7565 290a 2020 7461 6773 3a0a 2020 2d20  ue).  tags:.  - 
│ │ │ +001964b0: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ +001964c0: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ +001964d0: 2d35 332d 434d 2d37 2861 290a 2020 2d20  -53-CM-7(a).  - 
│ │ │ +001964e0: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ +001964f0: 2862 290a 2020 2d20 5043 492d 4453 5376  (b).  - PCI-DSSv
│ │ │ +00196500: 342d 322e 320a 2020 2d20 5043 492d 4453  4-2.2.  - PCI-DS
│ │ │ +00196510: 5376 342d 322e 322e 340a 2020 2d20 6469  Sv4-2.2.4.  - di
│ │ │ +00196520: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ +00196530: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +00196540: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +00196550: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +00196560: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +00196570: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +00196580: 2d20 7365 7276 6963 655f 6176 6168 692d  - service_avahi-
│ │ │ +00196590: 6461 656d 6f6e 5f64 6973 6162 6c65 640a  daemon_disabled.
│ │ │ +001965a0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation K │ │ │ +00196660: 7562 6572 6e65 7465 7320 736e 6970 7065 ubernetes snippe │ │ │ +00196670: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +001966b0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
│ │ │ +00195a00: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +00195a30: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +00195a40: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +00195a80: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +00195a90: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ +00196720: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
Comple │ │ │ +00196700: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +00196710: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
medium
R │ │ │ +00196750: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e74 eboot:t │ │ │ +00196760: 7275 653c 2f74 643e 3c2f 7472 3e3c 7472 rue
Strategy:disable
│ │ │ +001967a0: 3c70 7265 3e3c 636f 6465 3e61 7069 5665
apiVe
│ │ │ +001967b0: 7273 696f 6e3a 206d 6163 6869 6e65 636f  rsion: machineco
│ │ │ +001967c0: 6e66 6967 7572 6174 696f 6e2e 6f70 656e  nfiguration.open
│ │ │ +001967d0: 7368 6966 742e 696f 2f76 310a 6b69 6e64  shift.io/v1.kind
│ │ │ +001967e0: 3a20 4d61 6368 696e 6543 6f6e 6669 670a  : MachineConfig.
│ │ │ +001967f0: 7370 6563 3a0a 2020 636f 6e66 6967 3a0a  spec:.  config:.
│ │ │ +00196800: 2020 2020 6967 6e69 7469 6f6e 3a0a 2020      ignition:.  
│ │ │ +00196810: 2020 2020 7665 7273 696f 6e3a 2033 2e31      version: 3.1
│ │ │ +00196820: 2e30 0a20 2020 2073 7973 7465 6d64 3a0a  .0.    systemd:.
│ │ │ +00196830: 2020 2020 2020 756e 6974 733a 0a20 2020        units:.   
│ │ │ +00196840: 2020 202d 206e 616d 653a 2061 7661 6869     - name: avahi
│ │ │ +00196850: 2d64 6165 6d6f 6e2e 7365 7276 6963 650a  -daemon.service.
│ │ │ +00196860: 2020 2020 2020 2020 656e 6162 6c65 643a          enabled:
│ │ │ +00196870: 2066 616c 7365 0a20 2020 2020 2020 206d   false.        m
│ │ │ +00196880: 6173 6b3a 2074 7275 650a 2020 2020 2020  ask: true.      
│ │ │ +00196890: 2d20 6e61 6d65 3a20 6176 6168 692d 6461  - name: avahi-da
│ │ │ +001968a0: 656d 6f6e 2e73 6f63 6b65 740a 2020 2020  emon.socket.    
│ │ │ +001968b0: 2020 2020 656e 6162 6c65 643a 2066 616c      enabled: fal
│ │ │ +001968c0: 7365 0a20 2020 2020 2020 206d 6173 6b3a  se.        mask:
│ │ │ +001968d0: 2074 7275 650a 3c2f 636f 6465 3e3c 2f70   true.

Remedia │ │ │ +00196990: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ +001969a0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +001969b0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001969c0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001969d0: 7365 2220 6964 3d22 6964 6d32 3234 3336 se" id="idm22436 │ │ │ +001969e0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ +00196a30: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +00196a40: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +00196a60: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +00196a80: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +00196a90: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ +00196ad0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ +00196ae0: 6520 6469 7361 626c 655f 6176 6168 692d e disable_avahi- │ │ │ +00196af0: 6461 656d 6f6e 0a0a 636c 6173 7320 6469 daemon..class di │ │ │ +00196b00: 7361 626c 655f 6176 6168 692d 6461 656d sable_avahi-daem │ │ │ +00196b10: 6f6e 207b 0a20 2073 6572 7669 6365 207b on {. service { │ │ │ +00196b20: 2761 7661 6869 2d64 6165 6d6f 6e27 3a0a 'avahi-daemon':. │ │ │ +00196b30: 2020 2020 656e 6162 6c65 203d 2667 743b enable => │ │ │ +00196b40: 2066 616c 7365 2c0a 2020 2020 656e 7375 false,. ensu │ │ │ +00196b50: 7265 203d 2667 743b 2027 7374 6f70 7065 re => 'stoppe │ │ │ +00196b60: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 d',. }.}.
Rem │ │ │ +00196c20: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild │ │ │ +00196c30: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp │ │ │ +00196c40: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[cu
│ │ │ +00196c90: 7374 6f6d 697a 6174 696f 6e73 2e73 6572  stomizations.ser
│ │ │ +00196ca0: 7669 6365 735d 0a6d 6173 6b65 6420 3d20  vices].masked = 
│ │ │ +00196cb0: 5b22 6176 6168 692d 6461 656d 6f6e 225d  ["avahi-daemon"]
│ │ │  00196cc0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remedia │ │ │ -001a2190: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu │ │ │ -001a21a0: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet . │ │ │ -001a21b0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
.[custom │ │ │ -001a2200: 697a 6174 696f 6e73 2e73 6572 7669 6365 izations.service │ │ │ -001a2210: 735d 0a65 6e61 626c 6564 203d 205b 2263 s].enabled = ["c │ │ │ -001a2220: 726f 6e22 5d0a 3c2f 636f 6465 3e3c 2f70 ron"].

Remedia │ │ │ -001a22e0: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ -001a22f0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -001a2300: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -001a2310: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -001a2320: 7365 2220 6964 3d22 6964 6d32 3237 3339 se" id="idm22739 │ │ │ -001a2330: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ -001a2380: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -001a2390: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -001a23b0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -001a23d0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -001a23e0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ -001a2420: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ -001a2430: 6520 656e 6162 6c65 5f63 726f 6e0a 0a63 e enable_cron..c │ │ │ -001a2440: 6c61 7373 2065 6e61 626c 655f 6372 6f6e lass enable_cron │ │ │ -001a2450: 207b 0a20 2073 6572 7669 6365 207b 2763 {. service {'c │ │ │ -001a2460: 726f 6e27 3a0a 2020 2020 656e 6162 6c65 ron':. enable │ │ │ -001a2470: 203d 2667 743b 2074 7275 652c 0a20 2020 => true,. │ │ │ -001a2480: 2065 6e73 7572 6520 3d26 6774 3b20 2772 ensure => 'r │ │ │ -001a2490: 756e 6e69 6e67 272c 0a20 207d 0a7d 0a3c unning',. }.}.< │ │ │ -001a24a0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>Remediation An │ │ │ -001a2560: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -001a2570: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ -001a2600: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -001a2620: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -001a2630: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001a2640: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -001a2650: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -001a2670: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
- name: Gath
│ │ │ -001a26b0: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ -001a26c0: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ -001a26d0: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ -001a26e0: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ -001a26f0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -001a2700: 434d 2d36 2861 290a 2020 2d20 656e 6162  CM-6(a).  - enab
│ │ │ -001a2710: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -001a2720: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -001a2730: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -001a2740: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ -001a2750: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -001a2760: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ -001a2770: 6572 7669 6365 5f63 726f 6e5f 656e 6162  ervice_cron_enab
│ │ │ -001a2780: 6c65 640a 0a2d 206e 616d 653a 2045 6e61  led..- name: Ena
│ │ │ -001a2790: 626c 6520 6372 6f6e 2053 6572 7669 6365  ble cron Service
│ │ │ -001a27a0: 202d 2045 6e61 626c 6520 7365 7276 6963   - Enable servic
│ │ │ -001a27b0: 6520 6372 6f6e 0a20 2062 6c6f 636b 3a0a  e cron.  block:.
│ │ │ -001a27c0: 0a20 202d 206e 616d 653a 2047 6174 6865  .  - name: Gathe
│ │ │ -001a27d0: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ -001a27e0: 6374 730a 2020 2020 7061 636b 6167 655f  cts.    package_
│ │ │ -001a27f0: 6661 6374 733a 0a20 2020 2020 206d 616e  facts:.      man
│ │ │ -001a2800: 6167 6572 3a20 6175 746f 0a0a 2020 2d20  ager: auto..  - 
│ │ │ -001a2810: 6e61 6d65 3a20 456e 6162 6c65 2063 726f  name: Enable cro
│ │ │ -001a2820: 6e20 5365 7276 6963 6520 2d20 456e 6162  n Service - Enab
│ │ │ -001a2830: 6c65 2053 6572 7669 6365 2063 726f 6e0a  le Service cron.
│ │ │ -001a2840: 2020 2020 616e 7369 626c 652e 6275 696c      ansible.buil
│ │ │ -001a2850: 7469 6e2e 7379 7374 656d 643a 0a20 2020  tin.systemd:.   
│ │ │ -001a2860: 2020 206e 616d 653a 2063 726f 6e0a 2020     name: cron.  
│ │ │ -001a2870: 2020 2020 656e 6162 6c65 643a 2074 7275      enabled: tru
│ │ │ -001a2880: 650a 2020 2020 2020 7374 6174 653a 2073  e.      state: s
│ │ │ -001a2890: 7461 7274 6564 0a20 2020 2020 206d 6173  tarted.      mas
│ │ │ -001a28a0: 6b65 643a 2066 616c 7365 0a20 2020 2077  ked: false.    w
│ │ │ -001a28b0: 6865 6e3a 0a20 2020 202d 2027 2263 726f  hen:.    - '"cro
│ │ │ -001a28c0: 6e22 2069 6e20 616e 7369 626c 655f 6661  n" in ansible_fa
│ │ │ -001a28d0: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ -001a28e0: 7768 656e 3a20 2722 6c69 6e75 782d 6261  when: '"linux-ba
│ │ │ -001a28f0: 7365 2220 696e 2061 6e73 6962 6c65 5f66  se" in ansible_f
│ │ │ -001a2900: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ -001a2910: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ -001a2920: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ -001a2930: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ -001a2940: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ -001a2950: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -001a2960: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ -001a2970: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ -001a2980: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -001a2990: 640a 2020 2d20 7365 7276 6963 655f 6372  d.  - service_cr
│ │ │ -001a29a0: 6f6e 5f65 6e61 626c 6564 0a3c 2f63 6f64  on_enabled.
│ │ │ +001a21b0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +001a2230: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +001a2260: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +001a2280: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +001a2290: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +001a22b0: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ +001a22d0: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ +001a22e0: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ +001a22f0: 636b 6167 6520 6661 6374 730a 2020 7061  ckage facts.  pa
│ │ │ +001a2300: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ +001a2310: 206d 616e 6167 6572 3a20 6175 746f 0a20   manager: auto. 
│ │ │ +001a2320: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ +001a2330: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ +001a2340: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ +001a2350: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +001a2360: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +001a2370: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +001a2380: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +001a2390: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +001a23a0: 640a 2020 2d20 7365 7276 6963 655f 6372  d.  - service_cr
│ │ │ +001a23b0: 6f6e 5f65 6e61 626c 6564 0a0a 2d20 6e61  on_enabled..- na
│ │ │ +001a23c0: 6d65 3a20 456e 6162 6c65 2063 726f 6e20  me: Enable cron 
│ │ │ +001a23d0: 5365 7276 6963 6520 2d20 456e 6162 6c65  Service - Enable
│ │ │ +001a23e0: 2073 6572 7669 6365 2063 726f 6e0a 2020   service cron.  
│ │ │ +001a23f0: 626c 6f63 6b3a 0a0a 2020 2d20 6e61 6d65  block:..  - name
│ │ │ +001a2400: 3a20 4761 7468 6572 2074 6865 2070 6163  : Gather the pac
│ │ │ +001a2410: 6b61 6765 2066 6163 7473 0a20 2020 2070  kage facts.    p
│ │ │ +001a2420: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ +001a2430: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ +001a2440: 6f0a 0a20 202d 206e 616d 653a 2045 6e61  o..  - name: Ena
│ │ │ +001a2450: 626c 6520 6372 6f6e 2053 6572 7669 6365  ble cron Service
│ │ │ +001a2460: 202d 2045 6e61 626c 6520 5365 7276 6963   - Enable Servic
│ │ │ +001a2470: 6520 6372 6f6e 0a20 2020 2061 6e73 6962  e cron.    ansib
│ │ │ +001a2480: 6c65 2e62 7569 6c74 696e 2e73 7973 7465  le.builtin.syste
│ │ │ +001a2490: 6d64 3a0a 2020 2020 2020 6e61 6d65 3a20  md:.      name: 
│ │ │ +001a24a0: 6372 6f6e 0a20 2020 2020 2065 6e61 626c  cron.      enabl
│ │ │ +001a24b0: 6564 3a20 7472 7565 0a20 2020 2020 2073  ed: true.      s
│ │ │ +001a24c0: 7461 7465 3a20 7374 6172 7465 640a 2020  tate: started.  
│ │ │ +001a24d0: 2020 2020 6d61 736b 6564 3a20 6661 6c73      masked: fals
│ │ │ +001a24e0: 650a 2020 2020 7768 656e 3a0a 2020 2020  e.    when:.    
│ │ │ +001a24f0: 2d20 2722 6372 6f6e 2220 696e 2061 6e73  - '"cron" in ans
│ │ │ +001a2500: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ +001a2510: 6765 7327 0a20 2077 6865 6e3a 2027 226c  ges'.  when: '"l
│ │ │ +001a2520: 696e 7578 2d62 6173 6522 2069 6e20 616e  inux-base" in an
│ │ │ +001a2530: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +001a2540: 6167 6573 270a 2020 7461 6773 3a0a 2020  ages'.  tags:.  
│ │ │ +001a2550: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +001a2560: 2d36 2861 290a 2020 2d20 656e 6162 6c65  -6(a).  - enable
│ │ │ +001a2570: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ +001a2580: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ +001a2590: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ +001a25a0: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ +001a25b0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ +001a25c0: 745f 6e65 6564 6564 0a20 202d 2073 6572  t_needed.  - ser
│ │ │ +001a25d0: 7669 6365 5f63 726f 6e5f 656e 6162 6c65  vice_cron_enable
│ │ │ +001a25e0: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +001a25f0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +001a26a0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +001a26b0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +001a2730: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +001a2740: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +001a2750: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +001a2790: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +001a27a0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +001a27c0: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ +001a27e0: 3c63 6f64 653e 696e 636c 7564 6520 656e  include en
│ │ │ +001a27f0: 6162 6c65 5f63 726f 6e0a 0a63 6c61 7373  able_cron..class
│ │ │ +001a2800: 2065 6e61 626c 655f 6372 6f6e 207b 0a20   enable_cron {. 
│ │ │ +001a2810: 2073 6572 7669 6365 207b 2763 726f 6e27   service {'cron'
│ │ │ +001a2820: 3a0a 2020 2020 656e 6162 6c65 203d 2667  :.    enable =&g
│ │ │ +001a2830: 743b 2074 7275 652c 0a20 2020 2065 6e73  t; true,.    ens
│ │ │ +001a2840: 7572 6520 3d26 6774 3b20 2772 756e 6e69  ure => 'runni
│ │ │ +001a2850: 6e67 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ng',.  }.}.
Re │ │ │ +001a2910: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil │ │ │ +001a2920: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip │ │ │ +001a2930: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +001a2940: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001a2950: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001a2960: 7365 2220 6964 3d22 6964 6d32 3237 3430 se" id="idm22740 │ │ │ +001a2970: 223e 3c70 7265 3e3c 636f 6465 3e0a 5b63 ">
.[c
│ │ │ +001a2980: 7573 746f 6d69 7a61 7469 6f6e 732e 7365  ustomizations.se
│ │ │ +001a2990: 7276 6963 6573 5d0a 656e 6162 6c65 6420  rvices].enabled 
│ │ │ +001a29a0: 3d20 5b22 6372 6f6e 225d 0a3c 2f63 6f64  = ["cron"].
Reme │ │ │ -001bd140: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -001bd150: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -001bd1f0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001bd200: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -001bd250: 3c74 723e 3c74 683e 5374 7261 7465 6779
in
│ │ │ -001bd290: 636c 7564 6520 7265 6d6f 7665 5f6e 6973  clude remove_nis
│ │ │ -001bd2a0: 0a0a 636c 6173 7320 7265 6d6f 7665 5f6e  ..class remove_n
│ │ │ -001bd2b0: 6973 207b 0a20 2070 6163 6b61 6765 207b  is {.  package {
│ │ │ -001bd2c0: 2027 6e69 7327 3a0a 2020 2020 656e 7375   'nis':.    ensu
│ │ │ -001bd2d0: 7265 203d 2667 743b 2027 7075 7267 6564  re => 'purged
│ │ │ -001bd2e0: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │ -001bd2f0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ -001bd3a0: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible │ │ │ -001bd3b0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -001bd3c0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
C │ │ │ -001bd1e0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -001bd210: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -001bd220: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -001bd260: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -001bd270: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
│ │ │ -001bd450: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
-
│ │ │ -001bd4f0: 206e 616d 653a 2045 6e73 7572 6520 6e69   name: Ensure ni
│ │ │ -001bd500: 7320 6973 2072 656d 6f76 6564 0a20 2070  s is removed.  p
│ │ │ -001bd510: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65  ackage:.    name
│ │ │ -001bd520: 3a20 6e69 730a 2020 2020 7374 6174 653a  : nis.    state:
│ │ │ -001bd530: 2061 6273 656e 740a 2020 7461 6773 3a0a   absent.  tags:.
│ │ │ -001bd540: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ -001bd550: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ -001bd560: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -001bd570: 6469 7372 7570 7469 6f6e 0a20 202d 206c  disruption.  - l
│ │ │ -001bd580: 6f77 5f73 6576 6572 6974 790a 2020 2d20  ow_severity.  - 
│ │ │ -001bd590: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -001bd5a0: 0a20 202d 2070 6163 6b61 6765 5f6e 6973  .  - package_nis
│ │ │ -001bd5b0: 5f72 656d 6f76 6564 0a3c 2f63 6f64 653e  _removed.
│ │ │ +001bd140: 6469 6174 696f 6e20 416e 7369 626c 6520  diation Ansible 
│ │ │ +001bd150: 736e 6970 7065 7420 e287 b23c 2f61 3e3c  snippet ...<
│ │ │ +001bd160: 6272 3e3c 6469 7620 636c 6173 733d 2270  br>
│ │ │ -001bd440: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -001bd470: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -001bd480: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -001bd4c0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ -001bd4d0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
│ │ │ +001bd1f0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
-
│ │ │ +001bd290: 206e 616d 653a 2045 6e73 7572 6520 6e69   name: Ensure ni
│ │ │ +001bd2a0: 7320 6973 2072 656d 6f76 6564 0a20 2070  s is removed.  p
│ │ │ +001bd2b0: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65  ackage:.    name
│ │ │ +001bd2c0: 3a20 6e69 730a 2020 2020 7374 6174 653a  : nis.    state:
│ │ │ +001bd2d0: 2061 6273 656e 740a 2020 7461 6773 3a0a   absent.  tags:.
│ │ │ +001bd2e0: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ +001bd2f0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +001bd300: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +001bd310: 6469 7372 7570 7469 6f6e 0a20 202d 206c  disruption.  - l
│ │ │ +001bd320: 6f77 5f73 6576 6572 6974 790a 2020 2d20  ow_severity.  - 
│ │ │ +001bd330: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +001bd340: 0a20 202d 2070 6163 6b61 6765 5f6e 6973  .  - package_nis
│ │ │ +001bd350: 5f72 656d 6f76 6564 0a3c 2f63 6f64 653e  _removed.
│ │ │ +001bd360: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ +001bd410: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ +001bd420: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
│ │ │ +001bd1e0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +001bd210: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +001bd220: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +001bd260: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +001bd270: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ +001bd4c0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001bd4d0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +001bd520: 3c74 723e 3c74 683e 5374 7261 7465 6779
in
│ │ │ +001bd560: 636c 7564 6520 7265 6d6f 7665 5f6e 6973  clude remove_nis
│ │ │ +001bd570: 0a0a 636c 6173 7320 7265 6d6f 7665 5f6e  ..class remove_n
│ │ │ +001bd580: 6973 207b 0a20 2070 6163 6b61 6765 207b  is {.  package {
│ │ │ +001bd590: 2027 6e69 7327 3a0a 2020 2020 656e 7375   'nis':.    ensu
│ │ │ +001bd5a0: 7265 203d 2667 743b 2027 7075 7267 6564  re => 'purged
│ │ │ +001bd5b0: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │  001bd5c0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Remediation Pup │ │ │ -001bf110: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ -001bf120: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
C │ │ │ +001bd4b0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +001bd4e0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +001bd4f0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +001bd530: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ +001bd540: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
│ │ │ -001bf1a0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -001bf1c0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -001bf210: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -001bf240: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -001bf1b0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -001bf1d0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -001bf220: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -001bf230: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ -001bf260: 655f 6973 632d 6468 6370 2d73 6572 7665  e_isc-dhcp-serve
│ │ │ -001bf270: 720a 0a63 6c61 7373 2072 656d 6f76 655f  r..class remove_
│ │ │ -001bf280: 6973 632d 6468 6370 2d73 6572 7665 7220  isc-dhcp-server 
│ │ │ -001bf290: 7b0a 2020 7061 636b 6167 6520 7b20 2769  {.  package { 'i
│ │ │ -001bf2a0: 7363 2d64 6863 702d 7365 7276 6572 273a  sc-dhcp-server':
│ │ │ -001bf2b0: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ -001bf2c0: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a  ; 'purged',.  }.
│ │ │ -001bf2d0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ -001bf2e0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -001bf390: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ -001bf3a0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -001bf3e0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -001bf3f0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -001bf400: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -001bf410: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -001bf420: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -001bf430: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -001bf440: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -001bf480: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -001bf490: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -001bf4b0: 3c74 643e 6469 7361 626c 653c 2f74 643e disable │ │ │ -001bf4c0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 - name: │ │ │ -001bf4e0: 456e 7375 7265 2069 7363 2d64 6863 702d Ensure isc-dhcp- │ │ │ -001bf4f0: 7365 7276 6572 2069 7320 7265 6d6f 7665 server is remove │ │ │ -001bf500: 640a 2020 7061 636b 6167 653a 0a20 2020 d. package:. │ │ │ -001bf510: 206e 616d 653a 2069 7363 2d64 6863 702d name: isc-dhcp- │ │ │ -001bf520: 7365 7276 6572 0a20 2020 2073 7461 7465 server. state │ │ │ -001bf530: 3a20 6162 7365 6e74 0a20 2074 6167 733a : absent. tags: │ │ │ -001bf540: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53 │ │ │ -001bf550: 2d43 4d2d 3628 6129 0a20 202d 204e 4953 -CM-6(a). - NIS │ │ │ -001bf560: 542d 3830 302d 3533 2d43 4d2d 3728 6129 T-800-53-CM-7(a) │ │ │ -001bf570: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53 │ │ │ -001bf580: 2d43 4d2d 3728 6229 0a20 202d 2050 4349 -CM-7(b). - PCI │ │ │ -001bf590: 2d44 5353 7634 2d32 2e32 0a20 202d 2050 -DSSv4-2.2. - P │ │ │ -001bf5a0: 4349 2d44 5353 7634 2d32 2e32 2e34 0a20 CI-DSSv4-2.2.4. │ │ │ -001bf5b0: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat │ │ │ -001bf5c0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp │ │ │ -001bf5d0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d │ │ │ -001bf5e0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me │ │ │ -001bf5f0: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity. │ │ │ -001bf600: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need │ │ │ -001bf610: 6564 0a20 202d 2070 6163 6b61 6765 5f64 ed. - package_d │ │ │ -001bf620: 6863 705f 7265 6d6f 7665 640a 3c2f 636f hcp_removed.Remediation Ans │ │ │ +001bf110: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ +001bf120: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ +001bf1b0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +001bf1d0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +001bf1f0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +001bf220: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +001bf230: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Ensu
│ │ │ +001bf260: 7265 2069 7363 2d64 6863 702d 7365 7276  re isc-dhcp-serv
│ │ │ +001bf270: 6572 2069 7320 7265 6d6f 7665 640a 2020  er is removed.  
│ │ │ +001bf280: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ +001bf290: 653a 2069 7363 2d64 6863 702d 7365 7276  e: isc-dhcp-serv
│ │ │ +001bf2a0: 6572 0a20 2020 2073 7461 7465 3a20 6162  er.    state: ab
│ │ │ +001bf2b0: 7365 6e74 0a20 2074 6167 733a 0a20 202d  sent.  tags:.  -
│ │ │ +001bf2c0: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +001bf2d0: 3628 6129 0a20 202d 204e 4953 542d 3830  6(a).  - NIST-80
│ │ │ +001bf2e0: 302d 3533 2d43 4d2d 3728 6129 0a20 202d  0-53-CM-7(a).  -
│ │ │ +001bf2f0: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +001bf300: 3728 6229 0a20 202d 2050 4349 2d44 5353  7(b).  - PCI-DSS
│ │ │ +001bf310: 7634 2d32 2e32 0a20 202d 2050 4349 2d44  v4-2.2.  - PCI-D
│ │ │ +001bf320: 5353 7634 2d32 2e32 2e34 0a20 202d 2064  SSv4-2.2.4.  - d
│ │ │ +001bf330: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ +001bf340: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +001bf350: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +001bf360: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ +001bf370: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +001bf380: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +001bf390: 202d 2070 6163 6b61 6765 5f64 6863 705f   - package_dhcp_
│ │ │ +001bf3a0: 7265 6d6f 7665 640a 3c2f 636f 6465 3e3c  removed.<
│ │ │ +001bf3b0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remed │ │ │ +001bf460: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ +001bf470: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ +001bf520: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +001bf570: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ +001bf5b0: 6c75 6465 2072 656d 6f76 655f 6973 632d  lude remove_isc-
│ │ │ +001bf5c0: 6468 6370 2d73 6572 7665 720a 0a63 6c61  dhcp-server..cla
│ │ │ +001bf5d0: 7373 2072 656d 6f76 655f 6973 632d 6468  ss remove_isc-dh
│ │ │ +001bf5e0: 6370 2d73 6572 7665 7220 7b0a 2020 7061  cp-server {.  pa
│ │ │ +001bf5f0: 636b 6167 6520 7b20 2769 7363 2d64 6863  ckage { 'isc-dhc
│ │ │ +001bf600: 702d 7365 7276 6572 273a 0a20 2020 2065  p-server':.    e
│ │ │ +001bf610: 6e73 7572 6520 3d26 6774 3b20 2770 7572  nsure => 'pur
│ │ │ +001bf620: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ged',.  }.}.
< │ │ │ 001bf640: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ 001bf650: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ 001bf660: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ 001bf670: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 001bf680: 646d 3234 3537 3022 2074 6162 696e 6465 dm24570" tabinde │ │ │ 001bf690: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ @@ -114928,91 +114928,91 @@ │ │ │ 001c0ef0: 6461 7461 2d74 6172 6765 743d 2223 6964 data-target="#id │ │ │ 001c0f00: 6d32 3436 3538 2220 7461 6269 6e64 6578 m24658" tabindex │ │ │ 001c0f10: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ 001c0f20: 6e22 2061 7269 612d 6578 7061 6e64 6564 n" aria-expanded │ │ │ 001c0f30: 3d22 6661 6c73 6522 2074 6974 6c65 3d22 ="false" title=" │ │ │ 001c0f40: 4163 7469 7661 7465 2074 6f20 7265 7665 Activate to reve │ │ │ 001c0f50: 616c 2220 6872 6566 3d22 2321 223e 5265 al" href="#!">Re │ │ │ -001c0f60: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -001c0f70: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -001c0f80: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co │ │ │ +001bf500: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +001bf530: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +001bf550: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +001bf560: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +001bf580: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +001bf590: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
< │ │ │ -001c1050: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -001c1060: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -001c10b0: 696e 636c 7564 6520 7265 6d6f 7665 5f62  include remove_b
│ │ │ -001c10c0: 696e 6439 0a0a 636c 6173 7320 7265 6d6f  ind9..class remo
│ │ │ -001c10d0: 7665 5f62 696e 6439 207b 0a20 2070 6163  ve_bind9 {.  pac
│ │ │ -001c10e0: 6b61 6765 207b 2027 6269 6e64 3927 3a0a  kage { 'bind9':.
│ │ │ -001c10f0: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -001c1100: 2027 7075 7267 6564 272c 0a20 207d 0a7d   'purged',.  }.}
│ │ │ -001c1110: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -001c11d0: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -001c11e0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001c1260: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ -001c12f0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -001c1300: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
Complexity:low
Disrup │ │ │ -001c1030: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -001c1040: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -001c1080: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -001c1090: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexi │ │ │ -001c1270: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -001c1280: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ -001c12c0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -001c12d0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
- name: E
│ │ │ -001c1320: 6e73 7572 6520 6269 6e64 3920 6973 2072  nsure bind9 is r
│ │ │ -001c1330: 656d 6f76 6564 0a20 2070 6163 6b61 6765  emoved.  package
│ │ │ -001c1340: 3a0a 2020 2020 6e61 6d65 3a20 6269 6e64  :.    name: bind
│ │ │ -001c1350: 390a 2020 2020 7374 6174 653a 2061 6273  9.    state: abs
│ │ │ -001c1360: 656e 740a 2020 7461 6773 3a0a 2020 2d20  ent.  tags:.  - 
│ │ │ -001c1370: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ -001c1380: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ -001c1390: 2d35 332d 434d 2d37 2861 290a 2020 2d20  -53-CM-7(a).  - 
│ │ │ -001c13a0: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ -001c13b0: 2862 290a 2020 2d20 6469 7361 626c 655f  (b).  - disable_
│ │ │ -001c13c0: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -001c13d0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -001c13e0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -001c13f0: 202d 206c 6f77 5f73 6576 6572 6974 790a   - low_severity.
│ │ │ -001c1400: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -001c1410: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -001c1420: 5f62 696e 645f 7265 6d6f 7665 640a 3c2f  _bind_removed.
Complexity: │ │ │ +001c1050: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +001c1060: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
- name: Ensure 
│ │ │ +001c10c0: 6269 6e64 3920 6973 2072 656d 6f76 6564  bind9 is removed
│ │ │ +001c10d0: 0a20 2070 6163 6b61 6765 3a0a 2020 2020  .  package:.    
│ │ │ +001c10e0: 6e61 6d65 3a20 6269 6e64 390a 2020 2020  name: bind9.    
│ │ │ +001c10f0: 7374 6174 653a 2061 6273 656e 740a 2020  state: absent.  
│ │ │ +001c1100: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ +001c1110: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ +001c1120: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +001c1130: 2d37 2861 290a 2020 2d20 4e49 5354 2d38  -7(a).  - NIST-8
│ │ │ +001c1140: 3030 2d35 332d 434d 2d37 2862 290a 2020  00-53-CM-7(b).  
│ │ │ +001c1150: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ +001c1160: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +001c1170: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +001c1180: 7372 7570 7469 6f6e 0a20 202d 206c 6f77  sruption.  - low
│ │ │ +001c1190: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +001c11a0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +001c11b0: 202d 2070 6163 6b61 6765 5f62 696e 645f   - package_bind_
│ │ │ +001c11c0: 7265 6d6f 7665 640a 3c2f 636f 6465 3e3c  removed.<
│ │ │ +001c11d0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remed
│ │ │ +001c1280: 6961 7469 6f6e 2050 7570 7065 7420 736e  iation Puppet sn
│ │ │ +001c1290: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
low
Disru │ │ │ +001c1030: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +001c1040: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +001c1080: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +001c1090: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
low< │ │ │ +001c1340: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +001c1390: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ +001c13d0: 6c75 6465 2072 656d 6f76 655f 6269 6e64  lude remove_bind
│ │ │ +001c13e0: 390a 0a63 6c61 7373 2072 656d 6f76 655f  9..class remove_
│ │ │ +001c13f0: 6269 6e64 3920 7b0a 2020 7061 636b 6167  bind9 {.  packag
│ │ │ +001c1400: 6520 7b20 2762 696e 6439 273a 0a20 2020  e { 'bind9':.   
│ │ │ +001c1410: 2065 6e73 7572 6520 3d26 6774 3b20 2770   ensure => 'p
│ │ │ +001c1420: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f  urged',.  }.}.
Remediation Pu │ │ │ -001c2e70: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ -001c2e80: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low< │ │ │ -001c2f50: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>
Co │ │ │ +001c1320: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +001c1350: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +001c1370: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +001c1380: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +001c13a0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +001c13b0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complexity: │ │ │ -001c2f10: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ -001c2f30: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ -001c2f80: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -001c2f90: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
include remo
│ │ │ -001c2fc0: 7665 5f76 7366 7470 640a 0a63 6c61 7373  ve_vsftpd..class
│ │ │ -001c2fd0: 2072 656d 6f76 655f 7673 6674 7064 207b   remove_vsftpd {
│ │ │ -001c2fe0: 0a20 2070 6163 6b61 6765 207b 2027 7673  .  package { 'vs
│ │ │ -001c2ff0: 6674 7064 273a 0a20 2020 2065 6e73 7572  ftpd':.    ensur
│ │ │ -001c3000: 6520 3d26 6774 3b20 2770 7572 6765 6427  e => 'purged'
│ │ │ -001c3010: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ -001c3020: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remed │ │ │ -001c30d0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s │ │ │ -001c30e0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -001c3180: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001c3190: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -001c31e0: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ -001c3220: 6e61 6d65 3a20 456e 7375 7265 2076 7366  name: Ensure vsf
│ │ │ -001c3230: 7470 6420 6973 2072 656d 6f76 6564 0a20  tpd is removed. 
│ │ │ -001c3240: 2070 6163 6b61 6765 3a0a 2020 2020 6e61   package:.    na
│ │ │ -001c3250: 6d65 3a20 7673 6674 7064 0a20 2020 2073  me: vsftpd.    s
│ │ │ -001c3260: 7461 7465 3a20 6162 7365 6e74 0a20 2074  tate: absent.  t
│ │ │ -001c3270: 6167 733a 0a20 202d 204e 4953 542d 3830  ags:.  - NIST-80
│ │ │ -001c3280: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ -001c3290: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -001c32a0: 370a 2020 2d20 4e49 5354 2d38 3030 2d35  7.  - NIST-800-5
│ │ │ -001c32b0: 332d 434d 2d37 2861 290a 2020 2d20 4e49  3-CM-7(a).  - NI
│ │ │ -001c32c0: 5354 2d38 3030 2d35 332d 434d 2d37 2862  ST-800-53-CM-7(b
│ │ │ -001c32d0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -001c32e0: 332d 434d 2d37 2e31 2869 6929 0a20 202d  3-CM-7.1(ii).  -
│ │ │ -001c32f0: 204e 4953 542d 3830 302d 3533 2d49 412d   NIST-800-53-IA-
│ │ │ -001c3300: 3528 3129 2863 290a 2020 2d20 4e49 5354  5(1)(c).  - NIST
│ │ │ -001c3310: 2d38 3030 2d35 332d 4941 2d35 2831 292e  -800-53-IA-5(1).
│ │ │ -001c3320: 3128 7629 0a20 202d 2064 6973 6162 6c65  1(v).  - disable
│ │ │ -001c3330: 5f73 7472 6174 6567 790a 2020 2d20 6869  _strategy.  - hi
│ │ │ -001c3340: 6768 5f73 6576 6572 6974 790a 2020 2d20  gh_severity.  - 
│ │ │ -001c3350: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -001c3360: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -001c3370: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f  n.  - no_reboot_
│ │ │ -001c3380: 6e65 6564 6564 0a20 202d 2070 6163 6b61  needed.  - packa
│ │ │ -001c3390: 6765 5f76 7366 7470 645f 7265 6d6f 7665  ge_vsftpd_remove
│ │ │ -001c33a0: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +001c2e60: 223e 5265 6d65 6469 6174 696f 6e20 416e ">Remediation An │ │ │ +001c2e70: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ +001c2e80: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ +001c2f40: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001c2f50: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
C │ │ │ -001c3170: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -001c31a0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -001c31b0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -001c31f0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -001c3200: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexity │ │ │ +001c2f10: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ +001c2f30: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ +001c2f60: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ +001c2f80: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ +001c2fb0: 636f 6465 3e2d 206e 616d 653a 2045 6e73  code>- name: Ens
│ │ │ +001c2fc0: 7572 6520 7673 6674 7064 2069 7320 7265  ure vsftpd is re
│ │ │ +001c2fd0: 6d6f 7665 640a 2020 7061 636b 6167 653a  moved.  package:
│ │ │ +001c2fe0: 0a20 2020 206e 616d 653a 2076 7366 7470  .    name: vsftp
│ │ │ +001c2ff0: 640a 2020 2020 7374 6174 653a 2061 6273  d.    state: abs
│ │ │ +001c3000: 656e 740a 2020 7461 6773 3a0a 2020 2d20  ent.  tags:.  - 
│ │ │ +001c3010: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ +001c3020: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ +001c3030: 2d35 332d 434d 2d37 0a20 202d 204e 4953  -53-CM-7.  - NIS
│ │ │ +001c3040: 542d 3830 302d 3533 2d43 4d2d 3728 6129  T-800-53-CM-7(a)
│ │ │ +001c3050: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +001c3060: 2d43 4d2d 3728 6229 0a20 202d 204e 4953  -CM-7(b).  - NIS
│ │ │ +001c3070: 542d 3830 302d 3533 2d43 4d2d 372e 3128  T-800-53-CM-7.1(
│ │ │ +001c3080: 6969 290a 2020 2d20 4e49 5354 2d38 3030  ii).  - NIST-800
│ │ │ +001c3090: 2d35 332d 4941 2d35 2831 2928 6329 0a20  -53-IA-5(1)(c). 
│ │ │ +001c30a0: 202d 204e 4953 542d 3830 302d 3533 2d49   - NIST-800-53-I
│ │ │ +001c30b0: 412d 3528 3129 2e31 2876 290a 2020 2d20  A-5(1).1(v).  - 
│ │ │ +001c30c0: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ +001c30d0: 0a20 202d 2068 6967 685f 7365 7665 7269  .  - high_severi
│ │ │ +001c30e0: 7479 0a20 202d 206c 6f77 5f63 6f6d 706c  ty.  - low_compl
│ │ │ +001c30f0: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +001c3100: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f  sruption.  - no_
│ │ │ +001c3110: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +001c3120: 2d20 7061 636b 6167 655f 7673 6674 7064  - package_vsftpd
│ │ │ +001c3130: 5f72 656d 6f76 6564 0a3c 2f63 6f64 653e  _removed.
│ │ │ +001c3140: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ +001c31f0: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ +001c3200: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ +001c32a0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001c32b0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +001c3300: 3c74 723e 3c74 683e 5374 7261 7465 6779
in
│ │ │ +001c3340: 636c 7564 6520 7265 6d6f 7665 5f76 7366  clude remove_vsf
│ │ │ +001c3350: 7470 640a 0a63 6c61 7373 2072 656d 6f76  tpd..class remov
│ │ │ +001c3360: 655f 7673 6674 7064 207b 0a20 2070 6163  e_vsftpd {.  pac
│ │ │ +001c3370: 6b61 6765 207b 2027 7673 6674 7064 273a  kage { 'vsftpd':
│ │ │ +001c3380: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ +001c3390: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a  ; 'purged',.  }.
│ │ │ +001c33a0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ 001c33b0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation Pu │ │ │ -001c4ce0: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ -001c4cf0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low< │ │ │ -001c4dc0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>
C │ │ │ +001c3290: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +001c32c0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +001c32d0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +001c3310: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ +001c3320: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexity: │ │ │ -001c4d80: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ -001c4da0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ -001c4df0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -001c4e00: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
include remo
│ │ │ -001c4e30: 7665 5f61 7061 6368 6532 0a0a 636c 6173  ve_apache2..clas
│ │ │ -001c4e40: 7320 7265 6d6f 7665 5f61 7061 6368 6532  s remove_apache2
│ │ │ -001c4e50: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ -001c4e60: 6170 6163 6865 3227 3a0a 2020 2020 656e  apache2':.    en
│ │ │ -001c4e70: 7375 7265 203d 2667 743b 2027 7075 7267  sure => 'purg
│ │ │ -001c4e80: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ed',.  }.}.
Re │ │ │ -001c4f40: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -001c4f50: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
Complexity: │ │ │ -001c5030: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -001c5040: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
- name: Ensure 
│ │ │ -001c50a0: 6170 6163 6865 3220 6973 2072 656d 6f76  apache2 is remov
│ │ │ -001c50b0: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ -001c50c0: 2020 6e61 6d65 3a20 6170 6163 6865 320a    name: apache2.
│ │ │ -001c50d0: 2020 2020 7374 6174 653a 2061 6273 656e      state: absen
│ │ │ -001c50e0: 740a 2020 7461 6773 3a0a 2020 2d20 4e49  t.  tags:.  - NI
│ │ │ -001c50f0: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ -001c5100: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -001c5110: 332d 434d 2d37 2861 290a 2020 2d20 4e49  3-CM-7(a).  - NI
│ │ │ -001c5120: 5354 2d38 3030 2d35 332d 434d 2d37 2862  ST-800-53-CM-7(b
│ │ │ -001c5130: 290a 2020 2d20 6469 7361 626c 655f 7374  ).  - disable_st
│ │ │ -001c5140: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ -001c5150: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ -001c5160: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ -001c5170: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -001c5180: 640a 2020 2d20 7061 636b 6167 655f 6874  d.  - package_ht
│ │ │ -001c5190: 7470 645f 7265 6d6f 7665 640a 2020 2d20  tpd_removed.  - 
│ │ │ -001c51a0: 756e 6b6e 6f77 6e5f 7365 7665 7269 7479  unknown_severity
│ │ │ +001c4cd0: 223e 5265 6d65 6469 6174 696f 6e20 416e  ">Remediation An
│ │ │ +001c4ce0: 7369 626c 6520 736e 6970 7065 7420 e287  sible snippet ..
│ │ │ +001c4cf0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c  .
< │ │ │ +001c4db0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001c4dc0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
low
Disru │ │ │ -001c5010: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -001c5020: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -001c5060: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ -001c5070: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complexity │ │ │ +001c4d80: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ +001c4da0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ +001c4dd0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ +001c4df0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ +001c4e20: 636f 6465 3e2d 206e 616d 653a 2045 6e73  code>- name: Ens
│ │ │ +001c4e30: 7572 6520 6170 6163 6865 3220 6973 2072  ure apache2 is r
│ │ │ +001c4e40: 656d 6f76 6564 0a20 2070 6163 6b61 6765  emoved.  package
│ │ │ +001c4e50: 3a0a 2020 2020 6e61 6d65 3a20 6170 6163  :.    name: apac
│ │ │ +001c4e60: 6865 320a 2020 2020 7374 6174 653a 2061  he2.    state: a
│ │ │ +001c4e70: 6273 656e 740a 2020 7461 6773 3a0a 2020  bsent.  tags:.  
│ │ │ +001c4e80: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +001c4e90: 2d36 2861 290a 2020 2d20 4e49 5354 2d38  -6(a).  - NIST-8
│ │ │ +001c4ea0: 3030 2d35 332d 434d 2d37 2861 290a 2020  00-53-CM-7(a).  
│ │ │ +001c4eb0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +001c4ec0: 2d37 2862 290a 2020 2d20 6469 7361 626c  -7(b).  - disabl
│ │ │ +001c4ed0: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ +001c4ee0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +001c4ef0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +001c4f00: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +001c4f10: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ +001c4f20: 655f 6874 7470 645f 7265 6d6f 7665 640a  e_httpd_removed.
│ │ │ +001c4f30: 2020 2d20 756e 6b6e 6f77 6e5f 7365 7665    - unknown_seve
│ │ │ +001c4f40: 7269 7479 0a3c 2f63 6f64 653e 3c2f 7072  rity.
Remediat │ │ │ +001c5000: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ +001c5010: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +001c50c0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +001c50e0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +001c5110: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +001c50a0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +001c50b0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +001c50d0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +001c50f0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +001c5100: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +001c5140: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ +001c5150: 6520 7265 6d6f 7665 5f61 7061 6368 6532 e remove_apache2 │ │ │ +001c5160: 0a0a 636c 6173 7320 7265 6d6f 7665 5f61 ..class remove_a │ │ │ +001c5170: 7061 6368 6532 207b 0a20 2070 6163 6b61 pache2 {. packa │ │ │ +001c5180: 6765 207b 2027 6170 6163 6865 3227 3a0a ge { 'apache2':. │ │ │ +001c5190: 2020 2020 656e 7375 7265 203d 2667 743b ensure => │ │ │ +001c51a0: 2027 7075 7267 6564 272c 0a20 207d 0a7d 'purged',. }.} │ │ │ 001c51b0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
Reme │ │ │ -001c6560: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -001c6570: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -001c6610: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001c6620: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -001c6670: 3c74 723e 3c74 683e 5374 7261 7465 6779
in
│ │ │ -001c66b0: 636c 7564 6520 7265 6d6f 7665 5f6e 6769  clude remove_ngi
│ │ │ -001c66c0: 6e78 0a0a 636c 6173 7320 7265 6d6f 7665  nx..class remove
│ │ │ -001c66d0: 5f6e 6769 6e78 207b 0a20 2070 6163 6b61  _nginx {.  packa
│ │ │ -001c66e0: 6765 207b 2027 6e67 696e 7827 3a0a 2020  ge { 'nginx':.  
│ │ │ -001c66f0: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ -001c6700: 7075 7267 6564 272c 0a20 207d 0a7d 0a3c  purged',.  }.}.<
│ │ │ -001c6710: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation An │ │ │ -001c67d0: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -001c67e0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ -001c68a0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001c68b0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
C │ │ │ -001c6600: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -001c6630: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -001c6640: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -001c6680: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -001c6690: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexity │ │ │ -001c6870: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ -001c6890: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ -001c68c0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ -001c68e0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ -001c6910: 636f 6465 3e2d 206e 616d 653a 2045 6e73  code>- name: Ens
│ │ │ -001c6920: 7572 6520 6e67 696e 7820 6973 2072 656d  ure nginx is rem
│ │ │ -001c6930: 6f76 6564 0a20 2070 6163 6b61 6765 3a0a  oved.  package:.
│ │ │ -001c6940: 2020 2020 6e61 6d65 3a20 6e67 696e 780a      name: nginx.
│ │ │ -001c6950: 2020 2020 7374 6174 653a 2061 6273 656e      state: absen
│ │ │ -001c6960: 740a 2020 7461 6773 3a0a 2020 2d20 4e49  t.  tags:.  - NI
│ │ │ -001c6970: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ -001c6980: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -001c6990: 332d 434d 2d37 2861 290a 2020 2d20 4e49  3-CM-7(a).  - NI
│ │ │ -001c69a0: 5354 2d38 3030 2d35 332d 434d 2d37 2862  ST-800-53-CM-7(b
│ │ │ -001c69b0: 290a 2020 2d20 6469 7361 626c 655f 7374  ).  - disable_st
│ │ │ -001c69c0: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ -001c69d0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ -001c69e0: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ -001c69f0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -001c6a00: 640a 2020 2d20 7061 636b 6167 655f 6e67  d.  - package_ng
│ │ │ -001c6a10: 696e 785f 7265 6d6f 7665 640a 2020 2d20  inx_removed.  - 
│ │ │ -001c6a20: 756e 6b6e 6f77 6e5f 7365 7665 7269 7479  unknown_severity
│ │ │ +001c6560: 6469 6174 696f 6e20 416e 7369 626c 6520  diation Ansible 
│ │ │ +001c6570: 736e 6970 7065 7420 e287 b23c 2f61 3e3c  snippet ...<
│ │ │ +001c6580: 6272 3e3c 6469 7620 636c 6173 733d 2270  br>
│ │ │ +001c6610: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
-
│ │ │ +001c66b0: 206e 616d 653a 2045 6e73 7572 6520 6e67   name: Ensure ng
│ │ │ +001c66c0: 696e 7820 6973 2072 656d 6f76 6564 0a20  inx is removed. 
│ │ │ +001c66d0: 2070 6163 6b61 6765 3a0a 2020 2020 6e61   package:.    na
│ │ │ +001c66e0: 6d65 3a20 6e67 696e 780a 2020 2020 7374  me: nginx.    st
│ │ │ +001c66f0: 6174 653a 2061 6273 656e 740a 2020 7461  ate: absent.  ta
│ │ │ +001c6700: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030  gs:.  - NIST-800
│ │ │ +001c6710: 2d35 332d 434d 2d36 2861 290a 2020 2d20  -53-CM-6(a).  - 
│ │ │ +001c6720: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ +001c6730: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ +001c6740: 2d35 332d 434d 2d37 2862 290a 2020 2d20  -53-CM-7(b).  - 
│ │ │ +001c6750: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ +001c6760: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +001c6770: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +001c6780: 7570 7469 6f6e 0a20 202d 206e 6f5f 7265  uption.  - no_re
│ │ │ +001c6790: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +001c67a0: 7061 636b 6167 655f 6e67 696e 785f 7265  package_nginx_re
│ │ │ +001c67b0: 6d6f 7665 640a 2020 2d20 756e 6b6e 6f77  moved.  - unknow
│ │ │ +001c67c0: 6e5f 7365 7665 7269 7479 0a3c 2f63 6f64  n_severity.
Re │ │ │ +001c6880: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ +001c6890: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +001c68a0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
│ │ │ +001c6600: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +001c6630: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +001c6640: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +001c6680: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +001c6690: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ +001c6970: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +001c6980: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +001c69d0: 696e 636c 7564 6520 7265 6d6f 7665 5f6e  include remove_n
│ │ │ +001c69e0: 6769 6e78 0a0a 636c 6173 7320 7265 6d6f  ginx..class remo
│ │ │ +001c69f0: 7665 5f6e 6769 6e78 207b 0a20 2070 6163  ve_nginx {.  pac
│ │ │ +001c6a00: 6b61 6765 207b 2027 6e67 696e 7827 3a0a  kage { 'nginx':.
│ │ │ +001c6a10: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +001c6a20: 2027 7075 7267 6564 272c 0a20 207d 0a7d   'purged',.  }.}
│ │ │  001c6a30: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Reme │ │ │ -001c7ce0: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -001c7cf0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
Complexity:low
Disrup │ │ │ +001c6950: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +001c6960: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +001c69a0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +001c69b0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
< │ │ │ -001c7d90: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001c7da0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -001c7df0: 3c74 723e 3c74 683e 5374 7261 7465 6779
in
│ │ │ -001c7e30: 636c 7564 6520 7265 6d6f 7665 5f63 7972  clude remove_cyr
│ │ │ -001c7e40: 7573 2d69 6d61 7064 0a0a 636c 6173 7320  us-imapd..class 
│ │ │ -001c7e50: 7265 6d6f 7665 5f63 7972 7573 2d69 6d61  remove_cyrus-ima
│ │ │ -001c7e60: 7064 207b 0a20 2070 6163 6b61 6765 207b  pd {.  package {
│ │ │ -001c7e70: 2027 6379 7275 732d 696d 6170 6427 3a0a   'cyrus-imapd':.
│ │ │ -001c7e80: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -001c7e90: 2027 7075 7267 6564 272c 0a20 207d 0a7d   'purged',.  }.}
│ │ │ -001c7ea0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -001c7f60: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -001c7f70: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001c7ff0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ -001c8080: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -001c8090: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
C │ │ │ -001c7d80: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -001c7db0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -001c7dc0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -001c7e00: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -001c7e10: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexi │ │ │ -001c8000: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -001c8010: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ -001c8050: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -001c8060: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
- name: E
│ │ │ -001c80b0: 6e73 7572 6520 6379 7275 732d 696d 6170  nsure cyrus-imap
│ │ │ -001c80c0: 6420 6973 2072 656d 6f76 6564 0a20 2070  d is removed.  p
│ │ │ -001c80d0: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65  ackage:.    name
│ │ │ -001c80e0: 3a20 6379 7275 732d 696d 6170 640a 2020  : cyrus-imapd.  
│ │ │ -001c80f0: 2020 7374 6174 653a 2061 6273 656e 740a    state: absent.
│ │ │ -001c8100: 2020 7461 6773 3a0a 2020 2d20 6469 7361    tags:.  - disa
│ │ │ -001c8110: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -001c8120: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -001c8130: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -001c8140: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74  on.  - no_reboot
│ │ │ -001c8150: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ -001c8160: 6167 655f 6379 7275 732d 696d 6170 645f  age_cyrus-imapd_
│ │ │ -001c8170: 7265 6d6f 7665 640a 2020 2d20 756e 6b6e  removed.  - unkn
│ │ │ -001c8180: 6f77 6e5f 7365 7665 7269 7479 0a3c 2f63  own_severity.<
│ │ │ +001c7d00: 6272 3e3c 6469 7620 636c 6173 733d 2270  br>
│ │ │ +001c7d90: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
-
│ │ │ +001c7e30: 206e 616d 653a 2045 6e73 7572 6520 6379   name: Ensure cy
│ │ │ +001c7e40: 7275 732d 696d 6170 6420 6973 2072 656d  rus-imapd is rem
│ │ │ +001c7e50: 6f76 6564 0a20 2070 6163 6b61 6765 3a0a  oved.  package:.
│ │ │ +001c7e60: 2020 2020 6e61 6d65 3a20 6379 7275 732d      name: cyrus-
│ │ │ +001c7e70: 696d 6170 640a 2020 2020 7374 6174 653a  imapd.    state:
│ │ │ +001c7e80: 2061 6273 656e 740a 2020 7461 6773 3a0a   absent.  tags:.
│ │ │ +001c7e90: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ +001c7ea0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +001c7eb0: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +001c7ec0: 6469 7372 7570 7469 6f6e 0a20 202d 206e  disruption.  - n
│ │ │ +001c7ed0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +001c7ee0: 2020 2d20 7061 636b 6167 655f 6379 7275    - package_cyru
│ │ │ +001c7ef0: 732d 696d 6170 645f 7265 6d6f 7665 640a  s-imapd_removed.
│ │ │ +001c7f00: 2020 2d20 756e 6b6e 6f77 6e5f 7365 7665    - unknown_seve
│ │ │ +001c7f10: 7269 7479 0a3c 2f63 6f64 653e 3c2f 7072  rity.Remediat
│ │ │ +001c7fd0: 696f 6e20 5075 7070 6574 2073 6e69 7070  ion Puppet snipp
│ │ │ +001c7fe0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64  et ...
│ │ │ +001c7d80: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +001c7db0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +001c7dc0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +001c7e00: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +001c7e10: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
│ │ │ +001c8090: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +001c80b0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +001c80e0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +001c8070: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +001c8080: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +001c80a0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +001c80c0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +001c80d0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +001c8110: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ +001c8120: 6520 7265 6d6f 7665 5f63 7972 7573 2d69 e remove_cyrus-i │ │ │ +001c8130: 6d61 7064 0a0a 636c 6173 7320 7265 6d6f mapd..class remo │ │ │ +001c8140: 7665 5f63 7972 7573 2d69 6d61 7064 207b ve_cyrus-imapd { │ │ │ +001c8150: 0a20 2070 6163 6b61 6765 207b 2027 6379 . package { 'cy │ │ │ +001c8160: 7275 732d 696d 6170 6427 3a0a 2020 2020 rus-imapd':. │ │ │ +001c8170: 656e 7375 7265 203d 2667 743b 2027 7075 ensure => 'pu │ │ │ +001c8180: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63 rged',. }.}.
│ │ │ 001c81a0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ -001c9040: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ -001c9050: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
< │ │ │ -001c90e0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -001c9100: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -001c9150: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ -001c9180: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include remove
│ │ │ -001c91a0: 5f64 6f76 6563 6f74 2d63 6f72 650a 0a63  _dovecot-core..c
│ │ │ -001c91b0: 6c61 7373 2072 656d 6f76 655f 646f 7665  lass remove_dove
│ │ │ -001c91c0: 636f 742d 636f 7265 207b 0a20 2070 6163  cot-core {.  pac
│ │ │ -001c91d0: 6b61 6765 207b 2027 646f 7665 636f 742d  kage { 'dovecot-
│ │ │ -001c91e0: 636f 7265 273a 0a20 2020 2065 6e73 7572  core':.    ensur
│ │ │ -001c91f0: 6520 3d26 6774 3b20 2770 7572 6765 6427  e => 'purged'
│ │ │ -001c9200: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ -001c9210: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remed
│ │ │ -001c92c0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073  iation Ansible s
│ │ │ -001c92d0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62  nippet ...
low
Disr │ │ │ -001c9110: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -001c9120: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -001c9160: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ -001c9170: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
< │ │ │ -001c9370: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001c9380: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -001c93d0: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ -001c9410: 6e61 6d65 3a20 456e 7375 7265 2064 6f76  name: Ensure dov
│ │ │ -001c9420: 6563 6f74 2d63 6f72 6520 6973 2072 656d  ecot-core is rem
│ │ │ -001c9430: 6f76 6564 0a20 2070 6163 6b61 6765 3a0a  oved.  package:.
│ │ │ -001c9440: 2020 2020 6e61 6d65 3a20 646f 7665 636f      name: doveco
│ │ │ -001c9450: 742d 636f 7265 0a20 2020 2073 7461 7465  t-core.    state
│ │ │ -001c9460: 3a20 6162 7365 6e74 0a20 2074 6167 733a  : absent.  tags:
│ │ │ -001c9470: 0a20 202d 2064 6973 6162 6c65 5f73 7472  .  - disable_str
│ │ │ -001c9480: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ -001c9490: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -001c94a0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -001c94b0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -001c94c0: 0a20 202d 2070 6163 6b61 6765 5f64 6f76  .  - package_dov
│ │ │ -001c94d0: 6563 6f74 5f72 656d 6f76 6564 0a20 202d  ecot_removed.  -
│ │ │ -001c94e0: 2075 6e6b 6e6f 776e 5f73 6576 6572 6974   unknown_severit
│ │ │ -001c94f0: 790a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  y.
< │ │ │ +001c9040: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi │ │ │ +001c9050: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...< │ │ │ +001c9060: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
C │ │ │ -001c9360: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -001c9390: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -001c93a0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -001c93e0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -001c93f0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
│ │ │ +001c90e0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +001c9100: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +001c9150: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ +001c9180: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ +001c90f0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +001c9110: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +001c9160: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ +001c9170: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
- name: Ensur
│ │ │ +001c91a0: 6520 646f 7665 636f 742d 636f 7265 2069  e dovecot-core i
│ │ │ +001c91b0: 7320 7265 6d6f 7665 640a 2020 7061 636b  s removed.  pack
│ │ │ +001c91c0: 6167 653a 0a20 2020 206e 616d 653a 2064  age:.    name: d
│ │ │ +001c91d0: 6f76 6563 6f74 2d63 6f72 650a 2020 2020  ovecot-core.    
│ │ │ +001c91e0: 7374 6174 653a 2061 6273 656e 740a 2020  state: absent.  
│ │ │ +001c91f0: 7461 6773 3a0a 2020 2d20 6469 7361 626c  tags:.  - disabl
│ │ │ +001c9200: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ +001c9210: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +001c9220: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +001c9230: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +001c9240: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ +001c9250: 655f 646f 7665 636f 745f 7265 6d6f 7665  e_dovecot_remove
│ │ │ +001c9260: 640a 2020 2d20 756e 6b6e 6f77 6e5f 7365  d.  - unknown_se
│ │ │ +001c9270: 7665 7269 7479 0a3c 2f63 6f64 653e 3c2f  verity.
Remedi │ │ │ +001c9330: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ +001c9340: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +001c9350: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +001c93d0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +001c9400: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +001c9420: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +001c9430: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +001c9450: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +001c9460: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +001c9480: 7564 6520 7265 6d6f 7665 5f64 6f76 6563  ude remove_dovec
│ │ │ +001c9490: 6f74 2d63 6f72 650a 0a63 6c61 7373 2072  ot-core..class r
│ │ │ +001c94a0: 656d 6f76 655f 646f 7665 636f 742d 636f  emove_dovecot-co
│ │ │ +001c94b0: 7265 207b 0a20 2070 6163 6b61 6765 207b  re {.  package {
│ │ │ +001c94c0: 2027 646f 7665 636f 742d 636f 7265 273a   'dovecot-core':
│ │ │ +001c94d0: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ +001c94e0: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a  ; 'purged',.  }.
│ │ │ +001c94f0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ 001c9500: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div> │ │ │ -001cab70: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ -001cab80: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
< │ │ │ -001cac10: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -001cac30: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -001cac80: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ -001cacb0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include remove
│ │ │ -001cacd0: 5f6c 6461 702d 7574 696c 730a 0a63 6c61  _ldap-utils..cla
│ │ │ -001cace0: 7373 2072 656d 6f76 655f 6c64 6170 2d75  ss remove_ldap-u
│ │ │ -001cacf0: 7469 6c73 207b 0a20 2070 6163 6b61 6765  tils {.  package
│ │ │ -001cad00: 207b 2027 6c64 6170 2d75 7469 6c73 273a   { 'ldap-utils':
│ │ │ -001cad10: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ -001cad20: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a  ; 'purged',.  }.
│ │ │ -001cad30: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ -001cad40: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -001cadf0: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ -001cae00: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -001cae40: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -001cae50: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -001cae60: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -001cae70: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -001cae80: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ -001caf10: 3c74 643e 6469 7361 626c 653c 2f74 643e │ │ │ -001caf20: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
low
Disr │ │ │ -001cac40: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -001cac50: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -001cac90: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ -001caca0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
Complex │ │ │ -001cae90: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -001caea0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ -001caee0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -001caef0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
disable
- name: │ │ │ -001caf40: 456e 7375 7265 206c 6461 702d 7574 696c Ensure ldap-util │ │ │ -001caf50: 7320 6973 2072 656d 6f76 6564 0a20 2070 s is removed. p │ │ │ -001caf60: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65 ackage:. name │ │ │ -001caf70: 3a20 6c64 6170 2d75 7469 6c73 0a20 2020 : ldap-utils. │ │ │ -001caf80: 2073 7461 7465 3a20 6162 7365 6e74 0a20 state: absent. │ │ │ -001caf90: 2074 6167 733a 0a20 202d 2064 6973 6162 tags:. - disab │ │ │ -001cafa0: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. - │ │ │ -001cafb0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity. │ │ │ -001cafc0: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio │ │ │ -001cafd0: 6e0a 2020 2d20 6c6f 775f 7365 7665 7269 n. - low_severi │ │ │ -001cafe0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot │ │ │ -001caff0: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack │ │ │ -001cb000: 6167 655f 6f70 656e 6c64 6170 2d63 6c69 age_openldap-cli │ │ │ -001cb010: 656e 7473 5f72 656d 6f76 6564 0a3c 2f63 ents_removed.
│ │ │ +001cac10: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +001cac30: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +001cac80: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ +001cacb0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ +001cac20: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +001cac40: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +001cac90: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ +001caca0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
- name: Ensur
│ │ │ +001cacd0: 6520 6c64 6170 2d75 7469 6c73 2069 7320  e ldap-utils is 
│ │ │ +001cace0: 7265 6d6f 7665 640a 2020 7061 636b 6167  removed.  packag
│ │ │ +001cacf0: 653a 0a20 2020 206e 616d 653a 206c 6461  e:.    name: lda
│ │ │ +001cad00: 702d 7574 696c 730a 2020 2020 7374 6174  p-utils.    stat
│ │ │ +001cad10: 653a 2061 6273 656e 740a 2020 7461 6773  e: absent.  tags
│ │ │ +001cad20: 3a0a 2020 2d20 6469 7361 626c 655f 7374  :.  - disable_st
│ │ │ +001cad30: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +001cad40: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +001cad50: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +001cad60: 206c 6f77 5f73 6576 6572 6974 790a 2020   low_severity.  
│ │ │ +001cad70: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +001cad80: 6564 0a20 202d 2070 6163 6b61 6765 5f6f  ed.  - package_o
│ │ │ +001cad90: 7065 6e6c 6461 702d 636c 6965 6e74 735f  penldap-clients_
│ │ │ +001cada0: 7265 6d6f 7665 640a 3c2f 636f 6465 3e3c  removed.<
│ │ │ +001cadb0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remed │ │ │ +001cae60: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ +001cae70: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ +001caf20: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +001caf70: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ +001cafb0: 6c75 6465 2072 656d 6f76 655f 6c64 6170  lude remove_ldap
│ │ │ +001cafc0: 2d75 7469 6c73 0a0a 636c 6173 7320 7265  -utils..class re
│ │ │ +001cafd0: 6d6f 7665 5f6c 6461 702d 7574 696c 7320  move_ldap-utils 
│ │ │ +001cafe0: 7b0a 2020 7061 636b 6167 6520 7b20 276c  {.  package { 'l
│ │ │ +001caff0: 6461 702d 7574 696c 7327 3a0a 2020 2020  dap-utils':.    
│ │ │ +001cb000: 656e 7375 7265 203d 2667 743b 2027 7075  ensure => 'pu
│ │ │ +001cb010: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63  rged',.  }.}.
│ │ │ 001cb030: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Remediation Pu │ │ │ -001cc580: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ -001cc590: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low< │ │ │ -001cc660: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>
Co │ │ │ +001caf00: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +001caf30: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +001caf50: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +001caf60: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +001caf80: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +001caf90: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complexity: │ │ │ -001cc620: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ -001cc640: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ -001cc690: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -001cc6a0: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
include remo
│ │ │ -001cc6d0: 7665 5f73 6c61 7064 0a0a 636c 6173 7320  ve_slapd..class 
│ │ │ -001cc6e0: 7265 6d6f 7665 5f73 6c61 7064 207b 0a20  remove_slapd {. 
│ │ │ -001cc6f0: 2070 6163 6b61 6765 207b 2027 736c 6170   package { 'slap
│ │ │ -001cc700: 6427 3a0a 2020 2020 656e 7375 7265 203d  d':.    ensure =
│ │ │ -001cc710: 2667 743b 2027 7075 7267 6564 272c 0a20  > 'purged',. 
│ │ │ -001cc720: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.
Remediat │ │ │ -001cc7e0: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip │ │ │ -001cc7f0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -001cc800: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -001cc810: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -001cc820: 7365 2220 6964 3d22 6964 6d32 3531 3231 se" id="idm25121 │ │ │ -001cc830: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ -001cc880: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -001cc890: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -001cc8b0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -001cc8d0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -001cc8e0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ -001cc920: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ -001cc930: 653a 2045 6e73 7572 6520 736c 6170 6420  e: Ensure slapd 
│ │ │ -001cc940: 6973 2072 656d 6f76 6564 0a20 2070 6163  is removed.  pac
│ │ │ -001cc950: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20  kage:.    name: 
│ │ │ -001cc960: 736c 6170 640a 2020 2020 7374 6174 653a  slapd.    state:
│ │ │ -001cc970: 2061 6273 656e 740a 2020 7461 6773 3a0a   absent.  tags:.
│ │ │ -001cc980: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -001cc990: 434d 2d36 2861 290a 2020 2d20 4e49 5354  CM-6(a).  - NIST
│ │ │ -001cc9a0: 2d38 3030 2d35 332d 434d 2d37 2861 290a  -800-53-CM-7(a).
│ │ │ -001cc9b0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -001cc9c0: 434d 2d37 2862 290a 2020 2d20 6469 7361  CM-7(b).  - disa
│ │ │ -001cc9d0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -001cc9e0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -001cc9f0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -001cca00: 6f6e 0a20 202d 206c 6f77 5f73 6576 6572  on.  - low_sever
│ │ │ -001cca10: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ -001cca20: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ -001cca30: 6b61 6765 5f6f 7065 6e6c 6461 702d 7365  kage_openldap-se
│ │ │ -001cca40: 7276 6572 735f 7265 6d6f 7665 640a 3c2f  rvers_removed.Remediation An
│ │ │ +001cc580: 7369 626c 6520 736e 6970 7065 7420 e287  sible snippet ..
│ │ │ +001cc590: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c  .
Complexity │ │ │ +001cc620: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +001cc640: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +001cc650: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001cc660: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +001cc670: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +001cc690: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ +001cc6c0: 636f 6465 3e2d 206e 616d 653a 2045 6e73  code>- name: Ens
│ │ │ +001cc6d0: 7572 6520 736c 6170 6420 6973 2072 656d  ure slapd is rem
│ │ │ +001cc6e0: 6f76 6564 0a20 2070 6163 6b61 6765 3a0a  oved.  package:.
│ │ │ +001cc6f0: 2020 2020 6e61 6d65 3a20 736c 6170 640a      name: slapd.
│ │ │ +001cc700: 2020 2020 7374 6174 653a 2061 6273 656e      state: absen
│ │ │ +001cc710: 740a 2020 7461 6773 3a0a 2020 2d20 4e49  t.  tags:.  - NI
│ │ │ +001cc720: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +001cc730: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +001cc740: 332d 434d 2d37 2861 290a 2020 2d20 4e49  3-CM-7(a).  - NI
│ │ │ +001cc750: 5354 2d38 3030 2d35 332d 434d 2d37 2862  ST-800-53-CM-7(b
│ │ │ +001cc760: 290a 2020 2d20 6469 7361 626c 655f 7374  ).  - disable_st
│ │ │ +001cc770: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +001cc780: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +001cc790: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +001cc7a0: 206c 6f77 5f73 6576 6572 6974 790a 2020   low_severity.  
│ │ │ +001cc7b0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +001cc7c0: 6564 0a20 202d 2070 6163 6b61 6765 5f6f  ed.  - package_o
│ │ │ +001cc7d0: 7065 6e6c 6461 702d 7365 7276 6572 735f  penldap-servers_
│ │ │ +001cc7e0: 7265 6d6f 7665 640a 3c2f 636f 6465 3e3c  removed.<
│ │ │ +001cc7f0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remed │ │ │ +001cc8a0: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ +001cc8b0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ +001cc960: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +001cc9b0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ +001cc9f0: 6c75 6465 2072 656d 6f76 655f 736c 6170  lude remove_slap
│ │ │ +001cca00: 640a 0a63 6c61 7373 2072 656d 6f76 655f  d..class remove_
│ │ │ +001cca10: 736c 6170 6420 7b0a 2020 7061 636b 6167  slapd {.  packag
│ │ │ +001cca20: 6520 7b20 2773 6c61 7064 273a 0a20 2020  e { 'slapd':.   
│ │ │ +001cca30: 2065 6e73 7572 6520 3d26 6774 3b20 2770   ensure => 'p
│ │ │ +001cca40: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f  urged',.  }.}.
Remed │ │ │ -001d0e60: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ -001d0e70: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Co │ │ │ +001cc940: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +001cc970: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +001cc990: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +001cc9a0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +001cc9c0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +001cc9d0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
low< │ │ │ -001d0f20: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -001d0f70: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ -001d0fb0: 6c75 6465 2072 656d 6f76 655f 7270 6362  lude remove_rpcb
│ │ │ -001d0fc0: 696e 640a 0a63 6c61 7373 2072 656d 6f76  ind..class remov
│ │ │ -001d0fd0: 655f 7270 6362 696e 6420 7b0a 2020 7061  e_rpcbind {.  pa
│ │ │ -001d0fe0: 636b 6167 6520 7b20 2772 7063 6269 6e64  ckage { 'rpcbind
│ │ │ -001d0ff0: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ -001d1000: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ -001d1010: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ -001d10d0: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -001d10e0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
Co │ │ │ -001d0f00: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -001d0f30: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -001d0f50: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -001d0f60: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -001d0f80: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -001d0f90: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
│ │ │ -001d1190: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -001d11b0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -001d11e0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -001d1170: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -001d1180: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -001d11a0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -001d11c0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -001d11d0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -001d1210: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -001d1220: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ -001d1230: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac │ │ │ -001d1240: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ -001d1250: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto. │ │ │ -001d1260: 7461 6773 3a0a 2020 2d20 6469 7361 626c tags:. - disabl │ │ │ -001d1270: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l │ │ │ -001d1280: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity. │ │ │ -001d1290: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption │ │ │ -001d12a0: 0a20 202d 206c 6f77 5f73 6576 6572 6974 . - low_severit │ │ │ -001d12b0: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_ │ │ │ -001d12c0: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa │ │ │ -001d12d0: 6765 5f72 7063 6269 6e64 5f72 656d 6f76 ge_rpcbind_remov │ │ │ -001d12e0: 6564 0a0a 2d20 6e61 6d65 3a20 456e 7375 ed..- name: Ensu │ │ │ -001d12f0: 7265 2072 7063 6269 6e64 2069 7320 7265 re rpcbind is re │ │ │ -001d1300: 6d6f 7665 640a 2020 7061 636b 6167 653a moved. package: │ │ │ -001d1310: 0a20 2020 206e 616d 653a 2072 7063 6269 . name: rpcbi │ │ │ -001d1320: 6e64 0a20 2020 2073 7461 7465 3a20 6162 nd. state: ab │ │ │ -001d1330: 7365 6e74 0a20 2077 6865 6e3a 2027 226c sent. when: '"l │ │ │ -001d1340: 696e 7578 2d62 6173 6522 2069 6e20 616e inux-base" in an │ │ │ -001d1350: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack │ │ │ -001d1360: 6167 6573 270a 2020 7461 6773 3a0a 2020 ages'. tags:. │ │ │ -001d1370: 2d20 6469 7361 626c 655f 7374 7261 7465 - disable_strate │ │ │ -001d1380: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl │ │ │ -001d1390: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di │ │ │ -001d13a0: 7372 7570 7469 6f6e 0a20 202d 206c 6f77 sruption. - low │ │ │ -001d13b0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no │ │ │ -001d13c0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed. │ │ │ -001d13d0: 202d 2070 6163 6b61 6765 5f72 7063 6269 - package_rpcbi │ │ │ -001d13e0: 6e64 5f72 656d 6f76 6564 0a3c 2f63 6f64 nd_removed.
< │ │ │ +001d0f10: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001d0f20: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +001d0f70: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ +001d0fb0: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ +001d0fc0: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ +001d0fd0: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ +001d0fe0: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ +001d0ff0: 6f0a 2020 7461 6773 3a0a 2020 2d20 6469  o.  tags:.  - di
│ │ │ +001d1000: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ +001d1010: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +001d1020: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +001d1030: 7469 6f6e 0a20 202d 206c 6f77 5f73 6576  tion.  - low_sev
│ │ │ +001d1040: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +001d1050: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ +001d1060: 6163 6b61 6765 5f72 7063 6269 6e64 5f72  ackage_rpcbind_r
│ │ │ +001d1070: 656d 6f76 6564 0a0a 2d20 6e61 6d65 3a20  emoved..- name: 
│ │ │ +001d1080: 456e 7375 7265 2072 7063 6269 6e64 2069  Ensure rpcbind i
│ │ │ +001d1090: 7320 7265 6d6f 7665 640a 2020 7061 636b  s removed.  pack
│ │ │ +001d10a0: 6167 653a 0a20 2020 206e 616d 653a 2072  age:.    name: r
│ │ │ +001d10b0: 7063 6269 6e64 0a20 2020 2073 7461 7465  pcbind.    state
│ │ │ +001d10c0: 3a20 6162 7365 6e74 0a20 2077 6865 6e3a  : absent.  when:
│ │ │ +001d10d0: 2027 226c 696e 7578 2d62 6173 6522 2069   '"linux-base" i
│ │ │ +001d10e0: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +001d10f0: 7061 636b 6167 6573 270a 2020 7461 6773  packages'.  tags
│ │ │ +001d1100: 3a0a 2020 2d20 6469 7361 626c 655f 7374  :.  - disable_st
│ │ │ +001d1110: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +001d1120: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +001d1130: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +001d1140: 206c 6f77 5f73 6576 6572 6974 790a 2020   low_severity.  
│ │ │ +001d1150: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +001d1160: 6564 0a20 202d 2070 6163 6b61 6765 5f72  ed.  - package_r
│ │ │ +001d1170: 7063 6269 6e64 5f72 656d 6f76 6564 0a3c  pcbind_removed.<
│ │ │ +001d1180: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ +001d1240: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ +001d1250: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low< │ │ │ +001d1320: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>
C │ │ │ +001d0f00: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +001d0f30: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +001d0f40: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +001d0f80: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ +001d0f90: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexity: │ │ │ +001d12e0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ +001d1300: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ +001d1350: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +001d1360: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
include remo
│ │ │ +001d1390: 7665 5f72 7063 6269 6e64 0a0a 636c 6173  ve_rpcbind..clas
│ │ │ +001d13a0: 7320 7265 6d6f 7665 5f72 7063 6269 6e64  s remove_rpcbind
│ │ │ +001d13b0: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ +001d13c0: 7270 6362 696e 6427 3a0a 2020 2020 656e  rpcbind':.    en
│ │ │ +001d13d0: 7375 7265 203d 2667 743b 2027 7075 7267  sure => 'purg
│ │ │ +001d13e0: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ed',.  }.}.
Remediation P │ │ │ -001d2050: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ -001d2060: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ -001d20f0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -001d2110: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -001d2120: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001d2130: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -001d2140: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -001d2160: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ -001d2190: 636f 6465 3e69 6e63 6c75 6465 2072 656d  code>include rem
│ │ │ -001d21a0: 6f76 655f 6e66 732d 6b65 726e 656c 2d73  ove_nfs-kernel-s
│ │ │ -001d21b0: 6572 7665 720a 0a63 6c61 7373 2072 656d  erver..class rem
│ │ │ -001d21c0: 6f76 655f 6e66 732d 6b65 726e 656c 2d73  ove_nfs-kernel-s
│ │ │ -001d21d0: 6572 7665 7220 7b0a 2020 7061 636b 6167  erver {.  packag
│ │ │ -001d21e0: 6520 7b20 276e 6673 2d6b 6572 6e65 6c2d  e { 'nfs-kernel-
│ │ │ -001d21f0: 7365 7276 6572 273a 0a20 2020 2065 6e73  server':.    ens
│ │ │ -001d2200: 7572 6520 3d26 6774 3b20 2770 7572 6765  ure => 'purge
│ │ │ -001d2210: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Rem │ │ │ -001d22d0: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ -001d22e0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -001d22f0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -001d23c0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -001d23d0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -001d2420: 2d20 6e61 6d65 3a20 456e 7375 7265 206e  - name: Ensure n
│ │ │ -001d2430: 6673 2d6b 6572 6e65 6c2d 7365 7276 6572  fs-kernel-server
│ │ │ -001d2440: 2069 7320 7265 6d6f 7665 640a 2020 7061   is removed.  pa
│ │ │ -001d2450: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ -001d2460: 206e 6673 2d6b 6572 6e65 6c2d 7365 7276   nfs-kernel-serv
│ │ │ -001d2470: 6572 0a20 2020 2073 7461 7465 3a20 6162  er.    state: ab
│ │ │ -001d2480: 7365 6e74 0a20 2074 6167 733a 0a20 202d  sent.  tags:.  -
│ │ │ -001d2490: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ -001d24a0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -001d24b0: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -001d24c0: 7275 7074 696f 6e0a 2020 2d20 6c6f 775f  ruption.  - low_
│ │ │ -001d24d0: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -001d24e0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -001d24f0: 2d20 7061 636b 6167 655f 6e66 732d 6b65  - package_nfs-ke
│ │ │ -001d2500: 726e 656c 2d73 6572 7665 725f 7265 6d6f  rnel-server_remo
│ │ │ -001d2510: 7665 640a 3c2f 636f 6465 3e3c 2f70 7265  ved.
Remediation A │ │ │ +001d2050: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet . │ │ │ +001d2060: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ +001d20e0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ +001d2120: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 disable
Complexity:low
Disrup │ │ │ -001d23a0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -001d23b0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -001d23f0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -001d2400: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexit │ │ │ +001d20f0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ +001d2110: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ +001d2140: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +001d2160: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
│ │ │ +001d2190: 3c63 6f64 653e 2d20 6e61 6d65 3a20 456e  - name: En
│ │ │ +001d21a0: 7375 7265 206e 6673 2d6b 6572 6e65 6c2d  sure nfs-kernel-
│ │ │ +001d21b0: 7365 7276 6572 2069 7320 7265 6d6f 7665  server is remove
│ │ │ +001d21c0: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ +001d21d0: 206e 616d 653a 206e 6673 2d6b 6572 6e65   name: nfs-kerne
│ │ │ +001d21e0: 6c2d 7365 7276 6572 0a20 2020 2073 7461  l-server.    sta
│ │ │ +001d21f0: 7465 3a20 6162 7365 6e74 0a20 2074 6167  te: absent.  tag
│ │ │ +001d2200: 733a 0a20 202d 2064 6973 6162 6c65 5f73  s:.  - disable_s
│ │ │ +001d2210: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ +001d2220: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ +001d2230: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ +001d2240: 2d20 6c6f 775f 7365 7665 7269 7479 0a20  - low_severity. 
│ │ │ +001d2250: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +001d2260: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ +001d2270: 6e66 732d 6b65 726e 656c 2d73 6572 7665  nfs-kernel-serve
│ │ │ +001d2280: 725f 7265 6d6f 7665 640a 3c2f 636f 6465  r_removed.
Rem │ │ │ +001d2340: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ +001d2350: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +001d2360: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ +001d23f0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
i
│ │ │ +001d2490: 6e63 6c75 6465 2072 656d 6f76 655f 6e66  nclude remove_nf
│ │ │ +001d24a0: 732d 6b65 726e 656c 2d73 6572 7665 720a  s-kernel-server.
│ │ │ +001d24b0: 0a63 6c61 7373 2072 656d 6f76 655f 6e66  .class remove_nf
│ │ │ +001d24c0: 732d 6b65 726e 656c 2d73 6572 7665 7220  s-kernel-server 
│ │ │ +001d24d0: 7b0a 2020 7061 636b 6167 6520 7b20 276e  {.  package { 'n
│ │ │ +001d24e0: 6673 2d6b 6572 6e65 6c2d 7365 7276 6572  fs-kernel-server
│ │ │ +001d24f0: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ +001d2500: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ +001d2510: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Reme │ │ │ -001d4570: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild │ │ │ -001d4580: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe │ │ │ -001d4590: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -001d45d0: 3c70 7265 3e3c 636f 6465 3e0a 5b5b 7061
.[[pa
│ │ │ -001d45e0: 636b 6167 6573 5d5d 0a6e 616d 6520 3d20  ckages]].name = 
│ │ │ -001d45f0: 2273 7973 7465 6d64 2d74 696d 6573 796e  "systemd-timesyn
│ │ │ -001d4600: 6364 220a 7665 7273 696f 6e20 3d20 222a  cd".version = "*
│ │ │ -001d4610: 220a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  ".
< │ │ │ -001d4620: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -001d46d0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ -001d46e0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001d4760: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ -001d47f0: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ +001d23e0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +001d2410: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +001d2420: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +001d2460: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +001d2470: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexi │ │ │ -001d4770: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -001d4780: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ -001d47c0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -001d47d0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
│ │ │ -001d4810: 3c63 6f64 653e 696e 636c 7564 6520 696e  include in
│ │ │ -001d4820: 7374 616c 6c5f 7379 7374 656d 642d 7469  stall_systemd-ti
│ │ │ -001d4830: 6d65 7379 6e63 640a 0a63 6c61 7373 2069  mesyncd..class i
│ │ │ -001d4840: 6e73 7461 6c6c 5f73 7973 7465 6d64 2d74  nstall_systemd-t
│ │ │ -001d4850: 696d 6573 796e 6364 207b 0a20 2070 6163  imesyncd {.  pac
│ │ │ -001d4860: 6b61 6765 207b 2027 7379 7374 656d 642d  kage { 'systemd-
│ │ │ -001d4870: 7469 6d65 7379 6e63 6427 3a0a 2020 2020  timesyncd':.    
│ │ │ -001d4880: 656e 7375 7265 203d 2667 743b 2027 696e  ensure => 'in
│ │ │ -001d4890: 7374 616c 6c65 6427 2c0a 2020 7d0a 7d0a  stalled',.  }.}.
│ │ │ -001d48a0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation A │ │ │ -001d4960: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet . │ │ │ -001d4970: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -001d49f0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -001d4a00: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ -001d4a20: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ -001d4a30: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ -001d4a50: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ -001d4a70: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:enable
<
│ │ │ -001d4aa0: 636f 6465 3e2d 206e 616d 653a 2047 6174  code>- name: Gat
│ │ │ -001d4ab0: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ -001d4ac0: 6661 6374 730a 2020 7061 636b 6167 655f  facts.  package_
│ │ │ -001d4ad0: 6661 6374 733a 0a20 2020 206d 616e 6167  facts:.    manag
│ │ │ -001d4ae0: 6572 3a20 6175 746f 0a20 2074 6167 733a  er: auto.  tags:
│ │ │ -001d4af0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -001d4b00: 2d43 4d2d 3628 6129 0a20 202d 2050 4349  -CM-6(a).  - PCI
│ │ │ -001d4b10: 2d44 5353 2d52 6571 2d31 302e 340a 2020  -DSS-Req-10.4.  
│ │ │ -001d4b20: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ -001d4b30: 790a 2020 2d20 6869 6768 5f73 6576 6572  y.  - high_sever
│ │ │ -001d4b40: 6974 790a 2020 2d20 6c6f 775f 636f 6d70  ity.  - low_comp
│ │ │ -001d4b50: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -001d4b60: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f  isruption.  - no
│ │ │ -001d4b70: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -001d4b80: 202d 2070 6163 6b61 6765 5f74 696d 6573   - package_times
│ │ │ -001d4b90: 796e 6364 5f69 6e73 7461 6c6c 6564 0a0a  yncd_installed..
│ │ │ -001d4ba0: 2d20 6e61 6d65 3a20 456e 7375 7265 2073  - name: Ensure s
│ │ │ -001d4bb0: 7973 7465 6d64 2d74 696d 6573 796e 6364  ystemd-timesyncd
│ │ │ -001d4bc0: 2069 7320 696e 7374 616c 6c65 640a 2020   is installed.  
│ │ │ -001d4bd0: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ -001d4be0: 653a 2073 7973 7465 6d64 2d74 696d 6573  e: systemd-times
│ │ │ -001d4bf0: 796e 6364 0a20 2020 2073 7461 7465 3a20  yncd.    state: 
│ │ │ -001d4c00: 7072 6573 656e 740a 2020 7768 656e 3a20  present.  when: 
│ │ │ -001d4c10: 2722 6c69 6e75 782d 6261 7365 2220 696e  '"linux-base" in
│ │ │ -001d4c20: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ -001d4c30: 6163 6b61 6765 7327 0a20 2074 6167 733a  ackages'.  tags:
│ │ │ -001d4c40: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -001d4c50: 2d43 4d2d 3628 6129 0a20 202d 2050 4349  -CM-6(a).  - PCI
│ │ │ -001d4c60: 2d44 5353 2d52 6571 2d31 302e 340a 2020  -DSS-Req-10.4.  
│ │ │ -001d4c70: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ -001d4c80: 790a 2020 2d20 6869 6768 5f73 6576 6572  y.  - high_sever
│ │ │ -001d4c90: 6974 790a 2020 2d20 6c6f 775f 636f 6d70  ity.  - low_comp
│ │ │ -001d4ca0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -001d4cb0: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f  isruption.  - no
│ │ │ -001d4cc0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -001d4cd0: 202d 2070 6163 6b61 6765 5f74 696d 6573   - package_times
│ │ │ -001d4ce0: 796e 6364 5f69 6e73 7461 6c6c 6564 0a3c  yncd_installed.<
│ │ │ +001d4570: 6469 6174 696f 6e20 416e 7369 626c 6520  diation Ansible 
│ │ │ +001d4580: 736e 6970 7065 7420 e287 b23c 2f61 3e3c  snippet ...<
│ │ │ +001d4590: 6272 3e3c 6469 7620 636c 6173 733d 2270  br>
│ │ │ +001d4620: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
- 
│ │ │ +001d46c0: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ +001d46d0: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ +001d46e0: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ +001d46f0: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ +001d4700: 6f0a 2020 7461 6773 3a0a 2020 2d20 4e49  o.  tags:.  - NI
│ │ │ +001d4710: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +001d4720: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ +001d4730: 712d 3130 2e34 0a20 202d 2065 6e61 626c  q-10.4.  - enabl
│ │ │ +001d4740: 655f 7374 7261 7465 6779 0a20 202d 2068  e_strategy.  - h
│ │ │ +001d4750: 6967 685f 7365 7665 7269 7479 0a20 202d  igh_severity.  -
│ │ │ +001d4760: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +001d4770: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +001d4780: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74  on.  - no_reboot
│ │ │ +001d4790: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ +001d47a0: 6167 655f 7469 6d65 7379 6e63 645f 696e  age_timesyncd_in
│ │ │ +001d47b0: 7374 616c 6c65 640a 0a2d 206e 616d 653a  stalled..- name:
│ │ │ +001d47c0: 2045 6e73 7572 6520 7379 7374 656d 642d   Ensure systemd-
│ │ │ +001d47d0: 7469 6d65 7379 6e63 6420 6973 2069 6e73  timesyncd is ins
│ │ │ +001d47e0: 7461 6c6c 6564 0a20 2070 6163 6b61 6765  talled.  package
│ │ │ +001d47f0: 3a0a 2020 2020 6e61 6d65 3a20 7379 7374  :.    name: syst
│ │ │ +001d4800: 656d 642d 7469 6d65 7379 6e63 640a 2020  emd-timesyncd.  
│ │ │ +001d4810: 2020 7374 6174 653a 2070 7265 7365 6e74    state: present
│ │ │ +001d4820: 0a20 2077 6865 6e3a 2027 226c 696e 7578  .  when: '"linux
│ │ │ +001d4830: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ +001d4840: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +001d4850: 270a 2020 7461 6773 3a0a 2020 2d20 4e49  '.  tags:.  - NI
│ │ │ +001d4860: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +001d4870: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ +001d4880: 712d 3130 2e34 0a20 202d 2065 6e61 626c  q-10.4.  - enabl
│ │ │ +001d4890: 655f 7374 7261 7465 6779 0a20 202d 2068  e_strategy.  - h
│ │ │ +001d48a0: 6967 685f 7365 7665 7269 7479 0a20 202d  igh_severity.  -
│ │ │ +001d48b0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +001d48c0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +001d48d0: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74  on.  - no_reboot
│ │ │ +001d48e0: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ +001d48f0: 6167 655f 7469 6d65 7379 6e63 645f 696e  age_timesyncd_in
│ │ │ +001d4900: 7374 616c 6c65 640a 3c2f 636f 6465 3e3c  stalled.<
│ │ │ +001d4910: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remed
│ │ │ +001d49c0: 6961 7469 6f6e 2050 7570 7065 7420 736e  iation Puppet sn
│ │ │ +001d49d0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
│ │ │ +001d4610: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +001d4640: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +001d4650: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +001d4690: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ +001d46a0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
low< │ │ │ +001d4a80: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +001d4ad0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ +001d4a60: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +001d4a90: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +001d4ab0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +001d4ac0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +001d4ae0: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ +001d4af0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +001d4b10: 7564 6520 696e 7374 616c 6c5f 7379 7374  ude install_syst
│ │ │ +001d4b20: 656d 642d 7469 6d65 7379 6e63 640a 0a63  emd-timesyncd..c
│ │ │ +001d4b30: 6c61 7373 2069 6e73 7461 6c6c 5f73 7973  lass install_sys
│ │ │ +001d4b40: 7465 6d64 2d74 696d 6573 796e 6364 207b  temd-timesyncd {
│ │ │ +001d4b50: 0a20 2070 6163 6b61 6765 207b 2027 7379  .  package { 'sy
│ │ │ +001d4b60: 7374 656d 642d 7469 6d65 7379 6e63 6427  stemd-timesyncd'
│ │ │ +001d4b70: 3a0a 2020 2020 656e 7375 7265 203d 2667  :.    ensure =&g
│ │ │ +001d4b80: 743b 2027 696e 7374 616c 6c65 6427 2c0a  t; 'installed',.
│ │ │ +001d4b90: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ +001d4c50: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu │ │ │ +001d4c60: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet . │ │ │ +001d4c70: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
.[[packa │ │ │ +001d4cc0: 6765 735d 5d0a 6e61 6d65 203d 2022 7379 ges]].name = "sy │ │ │ +001d4cd0: 7374 656d 642d 7469 6d65 7379 6e63 6422 stemd-timesyncd" │ │ │ +001d4ce0: 0a76 6572 7369 6f6e 203d 2022 2a22 0a3c .version = "*".< │ │ │ 001d4cf0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
│ │ │ -001d5b00: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu │ │ │ -001d5b10: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn │ │ │ -001d5b20: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.
│ │ │ -001d5b70: 5b63 7573 746f 6d69 7a61 7469 6f6e 732e  [customizations.
│ │ │ -001d5b80: 7365 7276 6963 6573 5d0a 656e 6162 6c65  services].enable
│ │ │ -001d5b90: 6420 3d20 5b22 6368 726f 6e79 225d 0a3c  d = ["chrony"].<
│ │ │ -001d5ba0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ -001d5c60: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ -001d5c70: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ -001d5d00: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -001d5d20: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ -001d5d40: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ -001d5d70: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -001d5d80: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ -001d5d90: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include enabl
│ │ │ -001d5db0: 655f 6368 726f 6e79 0a0a 636c 6173 7320  e_chrony..class 
│ │ │ -001d5dc0: 656e 6162 6c65 5f63 6872 6f6e 7920 7b0a  enable_chrony {.
│ │ │ -001d5dd0: 2020 7365 7276 6963 6520 7b27 6368 726f    service {'chro
│ │ │ -001d5de0: 6e79 273a 0a20 2020 2065 6e61 626c 6520  ny':.    enable 
│ │ │ -001d5df0: 3d26 6774 3b20 7472 7565 2c0a 2020 2020  => true,.    
│ │ │ -001d5e00: 656e 7375 7265 203d 2667 743b 2027 7275  ensure => 'ru
│ │ │ -001d5e10: 6e6e 696e 6727 2c0a 2020 7d0a 7d0a 3c2f  nning',.  }.}.
Remediation Ans │ │ │ -001d5ee0: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -001d5ef0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ -001d5f80: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -001d5fa0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ -001d5fc0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ -001d5ff0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -001d6000: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ -001d6010: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ -001d6030: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ -001d6040: 6374 730a 2020 7061 636b 6167 655f 6661  cts.  package_fa
│ │ │ -001d6050: 6374 733a 0a20 2020 206d 616e 6167 6572  cts:.    manager
│ │ │ -001d6060: 3a20 6175 746f 0a20 2074 6167 733a 0a20  : auto.  tags:. 
│ │ │ -001d6070: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ -001d6080: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ -001d6090: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -001d60a0: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ -001d60b0: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ -001d60c0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -001d60d0: 640a 2020 2d20 7365 7276 6963 655f 6368  d.  - service_ch
│ │ │ -001d60e0: 726f 6e79 645f 656e 6162 6c65 640a 0a2d  ronyd_enabled..-
│ │ │ -001d60f0: 206e 616d 653a 2054 6865 2043 6872 6f6e   name: The Chron
│ │ │ -001d6100: 7964 2073 6572 7669 6365 2069 7320 656e  yd service is en
│ │ │ -001d6110: 6162 6c65 6420 2d20 456e 6162 6c65 2073  abled - Enable s
│ │ │ -001d6120: 6572 7669 6365 2063 6872 6f6e 790a 2020  ervice chrony.  
│ │ │ -001d6130: 626c 6f63 6b3a 0a0a 2020 2d20 6e61 6d65  block:..  - name
│ │ │ -001d6140: 3a20 4761 7468 6572 2074 6865 2070 6163  : Gather the pac
│ │ │ -001d6150: 6b61 6765 2066 6163 7473 0a20 2020 2070  kage facts.    p
│ │ │ -001d6160: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ -001d6170: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ -001d6180: 6f0a 0a20 202d 206e 616d 653a 2054 6865  o..  - name: The
│ │ │ -001d6190: 2043 6872 6f6e 7964 2073 6572 7669 6365   Chronyd service
│ │ │ -001d61a0: 2069 7320 656e 6162 6c65 6420 2d20 456e   is enabled - En
│ │ │ -001d61b0: 6162 6c65 2053 6572 7669 6365 2063 6872  able Service chr
│ │ │ -001d61c0: 6f6e 790a 2020 2020 616e 7369 626c 652e  ony.    ansible.
│ │ │ -001d61d0: 6275 696c 7469 6e2e 7379 7374 656d 643a  builtin.systemd:
│ │ │ -001d61e0: 0a20 2020 2020 206e 616d 653a 2063 6872  .      name: chr
│ │ │ -001d61f0: 6f6e 790a 2020 2020 2020 656e 6162 6c65  ony.      enable
│ │ │ -001d6200: 643a 2074 7275 650a 2020 2020 2020 7374  d: true.      st
│ │ │ -001d6210: 6174 653a 2073 7461 7274 6564 0a20 2020  ate: started.   
│ │ │ -001d6220: 2020 206d 6173 6b65 643a 2066 616c 7365     masked: false
│ │ │ -001d6230: 0a20 2020 2077 6865 6e3a 0a20 2020 202d  .    when:.    -
│ │ │ -001d6240: 2027 2263 6872 6f6e 7922 2069 6e20 616e   '"chrony" in an
│ │ │ -001d6250: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ -001d6260: 6167 6573 270a 2020 7768 656e 3a0a 2020  ages'.  when:.  
│ │ │ -001d6270: 2d20 2722 6c69 6e75 782d 6261 7365 2220  - '"linux-base" 
│ │ │ -001d6280: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -001d6290: 2e70 6163 6b61 6765 7327 0a20 202d 2027  .packages'.  - '
│ │ │ -001d62a0: 2263 6872 6f6e 7922 2069 6e20 616e 7369  "chrony" in ansi
│ │ │ -001d62b0: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -001d62c0: 6573 270a 2020 7461 6773 3a0a 2020 2d20  es'.  tags:.  - 
│ │ │ -001d62d0: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ -001d62e0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -001d62f0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -001d6300: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -001d6310: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -001d6320: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -001d6330: 202d 2073 6572 7669 6365 5f63 6872 6f6e   - service_chron
│ │ │ -001d6340: 7964 5f65 6e61 626c 6564 0a3c 2f63 6f64  yd_enabled.
│ │ │ +001d5ba0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +001d5bc0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +001d5c10: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ +001d5c40: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Gather
│ │ │ +001d5c60: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ +001d5c70: 7473 0a20 2070 6163 6b61 6765 5f66 6163  ts.  package_fac
│ │ │ +001d5c80: 7473 3a0a 2020 2020 6d61 6e61 6765 723a  ts:.    manager:
│ │ │ +001d5c90: 2061 7574 6f0a 2020 7461 6773 3a0a 2020   auto.  tags:.  
│ │ │ +001d5ca0: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ +001d5cb0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +001d5cc0: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +001d5cd0: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ +001d5ce0: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ +001d5cf0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +001d5d00: 0a20 202d 2073 6572 7669 6365 5f63 6872  .  - service_chr
│ │ │ +001d5d10: 6f6e 7964 5f65 6e61 626c 6564 0a0a 2d20  onyd_enabled..- 
│ │ │ +001d5d20: 6e61 6d65 3a20 5468 6520 4368 726f 6e79  name: The Chrony
│ │ │ +001d5d30: 6420 7365 7276 6963 6520 6973 2065 6e61  d service is ena
│ │ │ +001d5d40: 626c 6564 202d 2045 6e61 626c 6520 7365  bled - Enable se
│ │ │ +001d5d50: 7276 6963 6520 6368 726f 6e79 0a20 2062  rvice chrony.  b
│ │ │ +001d5d60: 6c6f 636b 3a0a 0a20 202d 206e 616d 653a  lock:..  - name:
│ │ │ +001d5d70: 2047 6174 6865 7220 7468 6520 7061 636b   Gather the pack
│ │ │ +001d5d80: 6167 6520 6661 6374 730a 2020 2020 7061  age facts.    pa
│ │ │ +001d5d90: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ +001d5da0: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ +001d5db0: 0a0a 2020 2d20 6e61 6d65 3a20 5468 6520  ..  - name: The 
│ │ │ +001d5dc0: 4368 726f 6e79 6420 7365 7276 6963 6520  Chronyd service 
│ │ │ +001d5dd0: 6973 2065 6e61 626c 6564 202d 2045 6e61  is enabled - Ena
│ │ │ +001d5de0: 626c 6520 5365 7276 6963 6520 6368 726f  ble Service chro
│ │ │ +001d5df0: 6e79 0a20 2020 2061 6e73 6962 6c65 2e62  ny.    ansible.b
│ │ │ +001d5e00: 7569 6c74 696e 2e73 7973 7465 6d64 3a0a  uiltin.systemd:.
│ │ │ +001d5e10: 2020 2020 2020 6e61 6d65 3a20 6368 726f        name: chro
│ │ │ +001d5e20: 6e79 0a20 2020 2020 2065 6e61 626c 6564  ny.      enabled
│ │ │ +001d5e30: 3a20 7472 7565 0a20 2020 2020 2073 7461  : true.      sta
│ │ │ +001d5e40: 7465 3a20 7374 6172 7465 640a 2020 2020  te: started.    
│ │ │ +001d5e50: 2020 6d61 736b 6564 3a20 6661 6c73 650a    masked: false.
│ │ │ +001d5e60: 2020 2020 7768 656e 3a0a 2020 2020 2d20      when:.    - 
│ │ │ +001d5e70: 2722 6368 726f 6e79 2220 696e 2061 6e73  '"chrony" in ans
│ │ │ +001d5e80: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ +001d5e90: 6765 7327 0a20 2077 6865 6e3a 0a20 202d  ges'.  when:.  -
│ │ │ +001d5ea0: 2027 226c 696e 7578 2d62 6173 6522 2069   '"linux-base" i
│ │ │ +001d5eb0: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +001d5ec0: 7061 636b 6167 6573 270a 2020 2d20 2722  packages'.  - '"
│ │ │ +001d5ed0: 6368 726f 6e79 2220 696e 2061 6e73 6962  chrony" in ansib
│ │ │ +001d5ee0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +001d5ef0: 7327 0a20 2074 6167 733a 0a20 202d 2065  s'.  tags:.  - e
│ │ │ +001d5f00: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ +001d5f10: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +001d5f20: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +001d5f30: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +001d5f40: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +001d5f50: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +001d5f60: 2d20 7365 7276 6963 655f 6368 726f 6e79  - service_chrony
│ │ │ +001d5f70: 645f 656e 6162 6c65 640a 3c2f 636f 6465  d_enabled.
Rem │ │ │ +001d6030: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ +001d6040: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +001d6050: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
Complexity:< │ │ │ +001d5bb0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +001d5bd0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +001d5c20: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ +001d5c30: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
│ │ │ +001d60e0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
in
│ │ │ +001d6180: 636c 7564 6520 656e 6162 6c65 5f63 6872  clude enable_chr
│ │ │ +001d6190: 6f6e 790a 0a63 6c61 7373 2065 6e61 626c  ony..class enabl
│ │ │ +001d61a0: 655f 6368 726f 6e79 207b 0a20 2073 6572  e_chrony {.  ser
│ │ │ +001d61b0: 7669 6365 207b 2763 6872 6f6e 7927 3a0a  vice {'chrony':.
│ │ │ +001d61c0: 2020 2020 656e 6162 6c65 203d 2667 743b      enable =>
│ │ │ +001d61d0: 2074 7275 652c 0a20 2020 2065 6e73 7572   true,.    ensur
│ │ │ +001d61e0: 6520 3d26 6774 3b20 2772 756e 6e69 6e67  e => 'running
│ │ │ +001d61f0: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │ +001d6200: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ +001d62b0: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild │ │ │ +001d62c0: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe │ │ │ +001d62d0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +001d6310: 3c70 7265 3e3c 636f 6465 3e0a 5b63 7573
.[cus
│ │ │ +001d6320: 746f 6d69 7a61 7469 6f6e 732e 7365 7276  tomizations.serv
│ │ │ +001d6330: 6963 6573 5d0a 656e 6162 6c65 6420 3d20  ices].enabled = 
│ │ │ +001d6340: 5b22 6368 726f 6e79 225d 0a3c 2f63 6f64  ["chrony"].
Rem │ │ │ -001d76c0: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild │ │ │ -001d76d0: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp │ │ │ -001d76e0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[cu
│ │ │ -001d7730: 7374 6f6d 697a 6174 696f 6e73 2e73 6572  stomizations.ser
│ │ │ -001d7740: 7669 6365 735d 0a65 6e61 626c 6564 203d  vices].enabled =
│ │ │ -001d7750: 205b 226e 7470 225d 0a3c 2f63 6f64 653e   ["ntp"].
│ │ │ -001d7760: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ -001d7810: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -001d7820: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
│ │ │ +001d60d0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +001d6100: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +001d6110: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +001d6150: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ +001d6160: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
< │ │ │ -001d78c0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001d78d0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -001d7920: 3c74 723e 3c74 683e 5374 7261 7465 6779
inc
│ │ │ -001d7960: 6c75 6465 2065 6e61 626c 655f 6e74 700a  lude enable_ntp.
│ │ │ -001d7970: 0a63 6c61 7373 2065 6e61 626c 655f 6e74  .class enable_nt
│ │ │ -001d7980: 7020 7b0a 2020 7365 7276 6963 6520 7b27  p {.  service {'
│ │ │ -001d7990: 6e74 7027 3a0a 2020 2020 656e 6162 6c65  ntp':.    enable
│ │ │ -001d79a0: 203d 2667 743b 2074 7275 652c 0a20 2020   => true,.   
│ │ │ -001d79b0: 2065 6e73 7572 6520 3d26 6774 3b20 2772   ensure => 'r
│ │ │ -001d79c0: 756e 6e69 6e67 272c 0a20 207d 0a7d 0a3c  unning',.  }.}.<
│ │ │ -001d79d0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation An │ │ │ -001d7a90: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -001d7aa0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ -001d7b60: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001d7b70: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
C │ │ │ -001d78b0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -001d78e0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -001d78f0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -001d7930: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ -001d7940: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complexity │ │ │ -001d7b30: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ -001d7b50: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ -001d7b80: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ -001d7ba0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
- name: Gath
│ │ │ -001d7be0: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ -001d7bf0: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ -001d7c00: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ -001d7c10: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ -001d7c20: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -001d7c30: 4155 2d38 2831 2928 6129 0a20 202d 204e  AU-8(1)(a).  - N
│ │ │ -001d7c40: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -001d7c50: 6129 0a20 202d 2050 4349 2d44 5353 2d52  a).  - PCI-DSS-R
│ │ │ -001d7c60: 6571 2d31 302e 340a 2020 2d20 5043 492d  eq-10.4.  - PCI-
│ │ │ -001d7c70: 4453 5376 342d 3130 2e36 0a20 202d 2050  DSSv4-10.6.  - P
│ │ │ -001d7c80: 4349 2d44 5353 7634 2d31 302e 362e 310a  CI-DSSv4-10.6.1.
│ │ │ -001d7c90: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -001d7ca0: 6567 790a 2020 2d20 6869 6768 5f73 6576  egy.  - high_sev
│ │ │ -001d7cb0: 6572 6974 790a 2020 2d20 6c6f 775f 636f  erity.  - low_co
│ │ │ -001d7cc0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -001d7cd0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -001d7ce0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -001d7cf0: 0a20 202d 2073 6572 7669 6365 5f6e 7470  .  - service_ntp
│ │ │ -001d7d00: 5f65 6e61 626c 6564 0a0a 2d20 6e61 6d65  _enabled..- name
│ │ │ -001d7d10: 3a20 456e 6162 6c65 2074 6865 204e 5450  : Enable the NTP
│ │ │ -001d7d20: 2044 6165 6d6f 6e20 2d20 456e 6162 6c65   Daemon - Enable
│ │ │ -001d7d30: 2073 6572 7669 6365 206e 7470 0a20 2062   service ntp.  b
│ │ │ -001d7d40: 6c6f 636b 3a0a 0a20 202d 206e 616d 653a  lock:..  - name:
│ │ │ -001d7d50: 2047 6174 6865 7220 7468 6520 7061 636b   Gather the pack
│ │ │ -001d7d60: 6167 6520 6661 6374 730a 2020 2020 7061  age facts.    pa
│ │ │ -001d7d70: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ -001d7d80: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ -001d7d90: 0a0a 2020 2d20 6e61 6d65 3a20 456e 6162  ..  - name: Enab
│ │ │ -001d7da0: 6c65 2074 6865 204e 5450 2044 6165 6d6f  le the NTP Daemo
│ │ │ -001d7db0: 6e20 2d20 456e 6162 6c65 2053 6572 7669  n - Enable Servi
│ │ │ -001d7dc0: 6365 206e 7470 0a20 2020 2061 6e73 6962  ce ntp.    ansib
│ │ │ -001d7dd0: 6c65 2e62 7569 6c74 696e 2e73 7973 7465  le.builtin.syste
│ │ │ -001d7de0: 6d64 3a0a 2020 2020 2020 6e61 6d65 3a20  md:.      name: 
│ │ │ -001d7df0: 6e74 700a 2020 2020 2020 656e 6162 6c65  ntp.      enable
│ │ │ -001d7e00: 643a 2074 7275 650a 2020 2020 2020 7374  d: true.      st
│ │ │ -001d7e10: 6174 653a 2073 7461 7274 6564 0a20 2020  ate: started.   
│ │ │ -001d7e20: 2020 206d 6173 6b65 643a 2066 616c 7365     masked: false
│ │ │ -001d7e30: 0a20 2020 2077 6865 6e3a 0a20 2020 202d  .    when:.    -
│ │ │ -001d7e40: 2027 226e 7470 2220 696e 2061 6e73 6962   '"ntp" in ansib
│ │ │ -001d7e50: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -001d7e60: 7327 0a20 2077 6865 6e3a 0a20 202d 2027  s'.  when:.  - '
│ │ │ -001d7e70: 226c 696e 7578 2d62 6173 6522 2069 6e20  "linux-base" in 
│ │ │ -001d7e80: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -001d7e90: 636b 6167 6573 270a 2020 2d20 2722 6e74  ckages'.  - '"nt
│ │ │ -001d7ea0: 7022 2069 6e20 616e 7369 626c 655f 6661  p" in ansible_fa
│ │ │ -001d7eb0: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ -001d7ec0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ -001d7ed0: 3030 2d35 332d 4155 2d38 2831 2928 6129  00-53-AU-8(1)(a)
│ │ │ -001d7ee0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -001d7ef0: 2d43 4d2d 3628 6129 0a20 202d 2050 4349  -CM-6(a).  - PCI
│ │ │ -001d7f00: 2d44 5353 2d52 6571 2d31 302e 340a 2020  -DSS-Req-10.4.  
│ │ │ -001d7f10: 2d20 5043 492d 4453 5376 342d 3130 2e36  - PCI-DSSv4-10.6
│ │ │ -001d7f20: 0a20 202d 2050 4349 2d44 5353 7634 2d31  .  - PCI-DSSv4-1
│ │ │ -001d7f30: 302e 362e 310a 2020 2d20 656e 6162 6c65  0.6.1.  - enable
│ │ │ -001d7f40: 5f73 7472 6174 6567 790a 2020 2d20 6869  _strategy.  - hi
│ │ │ -001d7f50: 6768 5f73 6576 6572 6974 790a 2020 2d20  gh_severity.  - 
│ │ │ -001d7f60: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -001d7f70: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -001d7f80: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f  n.  - no_reboot_
│ │ │ -001d7f90: 6e65 6564 6564 0a20 202d 2073 6572 7669  needed.  - servi
│ │ │ -001d7fa0: 6365 5f6e 7470 5f65 6e61 626c 6564 0a3c  ce_ntp_enabled.<
│ │ │ +001d76c0: 6564 6961 7469 6f6e 2041 6e73 6962 6c65  ediation Ansible
│ │ │ +001d76d0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e   snippet ...
│ │ │ +001d76e0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22  
< │ │ │ +001d77b0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +001d77c0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
-
│ │ │ +001d7810: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ +001d7820: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ +001d7830: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ +001d7840: 0a20 2020 206d 616e 6167 6572 3a20 6175  .    manager: au
│ │ │ +001d7850: 746f 0a20 2074 6167 733a 0a20 202d 204e  to.  tags:.  - N
│ │ │ +001d7860: 4953 542d 3830 302d 3533 2d41 552d 3828  IST-800-53-AU-8(
│ │ │ +001d7870: 3129 2861 290a 2020 2d20 4e49 5354 2d38  1)(a).  - NIST-8
│ │ │ +001d7880: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ +001d7890: 2d20 5043 492d 4453 532d 5265 712d 3130  - PCI-DSS-Req-10
│ │ │ +001d78a0: 2e34 0a20 202d 2050 4349 2d44 5353 7634  .4.  - PCI-DSSv4
│ │ │ +001d78b0: 2d31 302e 360a 2020 2d20 5043 492d 4453  -10.6.  - PCI-DS
│ │ │ +001d78c0: 5376 342d 3130 2e36 2e31 0a20 202d 2065  Sv4-10.6.1.  - e
│ │ │ +001d78d0: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ +001d78e0: 202d 2068 6967 685f 7365 7665 7269 7479   - high_severity
│ │ │ +001d78f0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +001d7900: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +001d7910: 7570 7469 6f6e 0a20 202d 206e 6f5f 7265  uption.  - no_re
│ │ │ +001d7920: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +001d7930: 7365 7276 6963 655f 6e74 705f 656e 6162  service_ntp_enab
│ │ │ +001d7940: 6c65 640a 0a2d 206e 616d 653a 2045 6e61  led..- name: Ena
│ │ │ +001d7950: 626c 6520 7468 6520 4e54 5020 4461 656d  ble the NTP Daem
│ │ │ +001d7960: 6f6e 202d 2045 6e61 626c 6520 7365 7276  on - Enable serv
│ │ │ +001d7970: 6963 6520 6e74 700a 2020 626c 6f63 6b3a  ice ntp.  block:
│ │ │ +001d7980: 0a0a 2020 2d20 6e61 6d65 3a20 4761 7468  ..  - name: Gath
│ │ │ +001d7990: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ +001d79a0: 6163 7473 0a20 2020 2070 6163 6b61 6765  acts.    package
│ │ │ +001d79b0: 5f66 6163 7473 3a0a 2020 2020 2020 6d61  _facts:.      ma
│ │ │ +001d79c0: 6e61 6765 723a 2061 7574 6f0a 0a20 202d  nager: auto..  -
│ │ │ +001d79d0: 206e 616d 653a 2045 6e61 626c 6520 7468   name: Enable th
│ │ │ +001d79e0: 6520 4e54 5020 4461 656d 6f6e 202d 2045  e NTP Daemon - E
│ │ │ +001d79f0: 6e61 626c 6520 5365 7276 6963 6520 6e74  nable Service nt
│ │ │ +001d7a00: 700a 2020 2020 616e 7369 626c 652e 6275  p.    ansible.bu
│ │ │ +001d7a10: 696c 7469 6e2e 7379 7374 656d 643a 0a20  iltin.systemd:. 
│ │ │ +001d7a20: 2020 2020 206e 616d 653a 206e 7470 0a20       name: ntp. 
│ │ │ +001d7a30: 2020 2020 2065 6e61 626c 6564 3a20 7472       enabled: tr
│ │ │ +001d7a40: 7565 0a20 2020 2020 2073 7461 7465 3a20  ue.      state: 
│ │ │ +001d7a50: 7374 6172 7465 640a 2020 2020 2020 6d61  started.      ma
│ │ │ +001d7a60: 736b 6564 3a20 6661 6c73 650a 2020 2020  sked: false.    
│ │ │ +001d7a70: 7768 656e 3a0a 2020 2020 2d20 2722 6e74  when:.    - '"nt
│ │ │ +001d7a80: 7022 2069 6e20 616e 7369 626c 655f 6661  p" in ansible_fa
│ │ │ +001d7a90: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ +001d7aa0: 7768 656e 3a0a 2020 2d20 2722 6c69 6e75  when:.  - '"linu
│ │ │ +001d7ab0: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ +001d7ac0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +001d7ad0: 7327 0a20 202d 2027 226e 7470 2220 696e  s'.  - '"ntp" in
│ │ │ +001d7ae0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ +001d7af0: 6163 6b61 6765 7327 0a20 2074 6167 733a  ackages'.  tags:
│ │ │ +001d7b00: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +001d7b10: 2d41 552d 3828 3129 2861 290a 2020 2d20  -AU-8(1)(a).  - 
│ │ │ +001d7b20: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ +001d7b30: 2861 290a 2020 2d20 5043 492d 4453 532d  (a).  - PCI-DSS-
│ │ │ +001d7b40: 5265 712d 3130 2e34 0a20 202d 2050 4349  Req-10.4.  - PCI
│ │ │ +001d7b50: 2d44 5353 7634 2d31 302e 360a 2020 2d20  -DSSv4-10.6.  - 
│ │ │ +001d7b60: 5043 492d 4453 5376 342d 3130 2e36 2e31  PCI-DSSv4-10.6.1
│ │ │ +001d7b70: 0a20 202d 2065 6e61 626c 655f 7374 7261  .  - enable_stra
│ │ │ +001d7b80: 7465 6779 0a20 202d 2068 6967 685f 7365  tegy.  - high_se
│ │ │ +001d7b90: 7665 7269 7479 0a20 202d 206c 6f77 5f63  verity.  - low_c
│ │ │ +001d7ba0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +001d7bb0: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +001d7bc0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +001d7bd0: 640a 2020 2d20 7365 7276 6963 655f 6e74  d.  - service_nt
│ │ │ +001d7be0: 705f 656e 6162 6c65 640a 3c2f 636f 6465  p_enabled.
Rem │ │ │ +001d7ca0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ +001d7cb0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +001d7cc0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
Complexity:low
Disrup │ │ │ +001d7790: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +001d77a0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +001d77e0: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +001d77f0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
│ │ │ +001d7d50: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
in
│ │ │ +001d7df0: 636c 7564 6520 656e 6162 6c65 5f6e 7470  clude enable_ntp
│ │ │ +001d7e00: 0a0a 636c 6173 7320 656e 6162 6c65 5f6e  ..class enable_n
│ │ │ +001d7e10: 7470 207b 0a20 2073 6572 7669 6365 207b  tp {.  service {
│ │ │ +001d7e20: 276e 7470 273a 0a20 2020 2065 6e61 626c  'ntp':.    enabl
│ │ │ +001d7e30: 6520 3d26 6774 3b20 7472 7565 2c0a 2020  e => true,.  
│ │ │ +001d7e40: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ +001d7e50: 7275 6e6e 696e 6727 2c0a 2020 7d0a 7d0a  running',.  }.}.
│ │ │ +001d7e60: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation O │ │ │ +001d7f20: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint │ │ │ +001d7f30: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +001d7f40: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.[customizatio
│ │ │ +001d7f90: 6e73 2e73 6572 7669 6365 735d 0a65 6e61  ns.services].ena
│ │ │ +001d7fa0: 626c 6564 203d 205b 226e 7470 225d 0a3c  bled = ["ntp"].<
│ │ │  001d7fb0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remed │ │ │ -001d9300: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B │ │ │ -001d9310: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet │ │ │ -001d9320: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -001d9360: 7072 653e 3c63 6f64 653e 0a5b 6375 7374 pre>.[cust │ │ │ -001d9370: 6f6d 697a 6174 696f 6e73 2e73 6572 7669 omizations.servi │ │ │ -001d9380: 6365 735d 0a65 6e61 626c 6564 203d 205b ces].enabled = [ │ │ │ -001d9390: 2273 7973 7465 6d64 2d74 696d 6573 796e "systemd-timesyn │ │ │ -001d93a0: 6364 225d 0a3c 2f63 6f64 653e 3c2f 7072 cd"].
Remediat │ │ │ -001d9460: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ -001d9470: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +001d7d40: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +001d7d70: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +001d7d80: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +001d7dc0: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ +001d7dd0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
│ │ │ -001d9520: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -001d9540: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -001d9570: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -001d9500: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -001d9510: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -001d9530: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -001d9550: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -001d9560: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

include │ │ │ -001d95b0: 2065 6e61 626c 655f 7379 7374 656d 642d enable_systemd- │ │ │ -001d95c0: 7469 6d65 7379 6e63 640a 0a63 6c61 7373 timesyncd..class │ │ │ -001d95d0: 2065 6e61 626c 655f 7379 7374 656d 642d enable_systemd- │ │ │ -001d95e0: 7469 6d65 7379 6e63 6420 7b0a 2020 7365 timesyncd {. se │ │ │ -001d95f0: 7276 6963 6520 7b27 7379 7374 656d 642d rvice {'systemd- │ │ │ -001d9600: 7469 6d65 7379 6e63 6427 3a0a 2020 2020 timesyncd':. │ │ │ -001d9610: 656e 6162 6c65 203d 2667 743b 2074 7275 enable => tru │ │ │ -001d9620: 652c 0a20 2020 2065 6e73 7572 6520 3d26 e,. ensure =& │ │ │ -001d9630: 6774 3b20 2772 756e 6e69 6e67 272c 0a20 gt; 'running',. │ │ │ -001d9640: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.

Remediat │ │ │ -001d9700: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip │ │ │ -001d9710: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -001d9720: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -001d9730: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -001d9740: 7365 2220 6964 3d22 6964 6d32 3537 3137 se" id="idm25717 │ │ │ -001d9750: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ -001d97a0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -001d97b0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -001d97d0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -001d97f0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -001d9800: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ -001d9840: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -001d9850: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ -001d9860: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac │ │ │ -001d9870: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ -001d9880: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto. │ │ │ -001d9890: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8 │ │ │ -001d98a0: 3030 2d35 332d 4155 2d38 2831 2928 6129 00-53-AU-8(1)(a) │ │ │ -001d98b0: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53 │ │ │ -001d98c0: 2d43 4d2d 3628 6129 0a20 202d 2050 4349 -CM-6(a). - PCI │ │ │ -001d98d0: 2d44 5353 2d52 6571 2d31 302e 340a 2020 -DSS-Req-10.4. │ │ │ -001d98e0: 2d20 5043 492d 4453 5376 342d 3130 2e36 - PCI-DSSv4-10.6 │ │ │ -001d98f0: 0a20 202d 2050 4349 2d44 5353 7634 2d31 . - PCI-DSSv4-1 │ │ │ -001d9900: 302e 362e 310a 2020 2d20 656e 6162 6c65 0.6.1. - enable │ │ │ -001d9910: 5f73 7472 6174 6567 790a 2020 2d20 6869 _strategy. - hi │ │ │ -001d9920: 6768 5f73 6576 6572 6974 790a 2020 2d20 gh_severity. - │ │ │ -001d9930: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity. │ │ │ -001d9940: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio │ │ │ -001d9950: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f n. - no_reboot_ │ │ │ -001d9960: 6e65 6564 6564 0a20 202d 2073 6572 7669 needed. - servi │ │ │ -001d9970: 6365 5f74 696d 6573 796e 6364 5f65 6e61 ce_timesyncd_ena │ │ │ -001d9980: 626c 6564 0a0a 2d20 6e61 6d65 3a20 456e bled..- name: En │ │ │ -001d9990: 6162 6c65 2073 7973 7465 6d64 5f74 696d able systemd_tim │ │ │ -001d99a0: 6573 796e 6364 2053 6572 7669 6365 202d esyncd Service - │ │ │ -001d99b0: 2045 6e61 626c 6520 7365 7276 6963 6520 Enable service │ │ │ -001d99c0: 7379 7374 656d 642d 7469 6d65 7379 6e63 systemd-timesync │ │ │ -001d99d0: 640a 2020 626c 6f63 6b3a 0a0a 2020 2d20 d. block:.. - │ │ │ -001d99e0: 6e61 6d65 3a20 4761 7468 6572 2074 6865 name: Gather the │ │ │ -001d99f0: 2070 6163 6b61 6765 2066 6163 7473 0a20 package facts. │ │ │ -001d9a00: 2020 2070 6163 6b61 6765 5f66 6163 7473 package_facts │ │ │ -001d9a10: 3a0a 2020 2020 2020 6d61 6e61 6765 723a :. manager: │ │ │ -001d9a20: 2061 7574 6f0a 0a20 202d 206e 616d 653a auto.. - name: │ │ │ -001d9a30: 2045 6e61 626c 6520 7379 7374 656d 645f Enable systemd_ │ │ │ -001d9a40: 7469 6d65 7379 6e63 6420 5365 7276 6963 timesyncd Servic │ │ │ -001d9a50: 6520 2d20 456e 6162 6c65 2053 6572 7669 e - Enable Servi │ │ │ -001d9a60: 6365 2073 7973 7465 6d64 2d74 696d 6573 ce systemd-times │ │ │ -001d9a70: 796e 6364 0a20 2020 2061 6e73 6962 6c65 yncd. ansible │ │ │ -001d9a80: 2e62 7569 6c74 696e 2e73 7973 7465 6d64 .builtin.systemd │ │ │ -001d9a90: 3a0a 2020 2020 2020 6e61 6d65 3a20 7379 :. name: sy │ │ │ -001d9aa0: 7374 656d 642d 7469 6d65 7379 6e63 640a stemd-timesyncd. │ │ │ -001d9ab0: 2020 2020 2020 656e 6162 6c65 643a 2074 enabled: t │ │ │ -001d9ac0: 7275 650a 2020 2020 2020 7374 6174 653a rue. state: │ │ │ -001d9ad0: 2073 7461 7274 6564 0a20 2020 2020 206d started. m │ │ │ -001d9ae0: 6173 6b65 643a 2066 616c 7365 0a20 2020 asked: false. │ │ │ -001d9af0: 2077 6865 6e3a 0a20 2020 202d 2027 2273 when:. - '"s │ │ │ -001d9b00: 7973 7465 6d64 2220 696e 2061 6e73 6962 ystemd" in ansib │ │ │ -001d9b10: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package │ │ │ -001d9b20: 7327 0a20 2077 6865 6e3a 0a20 202d 2027 s'. when:. - ' │ │ │ -001d9b30: 226c 696e 7578 2d62 6173 6522 2069 6e20 "linux-base" in │ │ │ -001d9b40: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa │ │ │ -001d9b50: 636b 6167 6573 270a 2020 2d20 2820 6e6f ckages'. - ( no │ │ │ -001d9b60: 7420 2820 2263 6872 6f6e 7922 2069 6e20 t ( "chrony" in │ │ │ -001d9b70: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa │ │ │ -001d9b80: 636b 6167 6573 2029 2061 6e64 206e 6f74 ckages ) and not │ │ │ -001d9b90: 2028 2022 6e74 7022 2069 6e20 616e 7369 ( "ntp" in ansi │ │ │ -001d9ba0: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag │ │ │ -001d9bb0: 6573 0a20 2020 2029 2029 0a20 2074 6167 es. ) ). tag │ │ │ -001d9bc0: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800- │ │ │ -001d9bd0: 3533 2d41 552d 3828 3129 2861 290a 2020 53-AU-8(1)(a). │ │ │ -001d9be0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM │ │ │ -001d9bf0: 2d36 2861 290a 2020 2d20 5043 492d 4453 -6(a). - PCI-DS │ │ │ -001d9c00: 532d 5265 712d 3130 2e34 0a20 202d 2050 S-Req-10.4. - P │ │ │ -001d9c10: 4349 2d44 5353 7634 2d31 302e 360a 2020 CI-DSSv4-10.6. │ │ │ -001d9c20: 2d20 5043 492d 4453 5376 342d 3130 2e36 - PCI-DSSv4-10.6 │ │ │ -001d9c30: 2e31 0a20 202d 2065 6e61 626c 655f 7374 .1. - enable_st │ │ │ -001d9c40: 7261 7465 6779 0a20 202d 2068 6967 685f rategy. - high_ │ │ │ -001d9c50: 7365 7665 7269 7479 0a20 202d 206c 6f77 severity. - low │ │ │ -001d9c60: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. - │ │ │ -001d9c70: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption. │ │ │ -001d9c80: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee │ │ │ -001d9c90: 6465 640a 2020 2d20 7365 7276 6963 655f ded. - service_ │ │ │ -001d9ca0: 7469 6d65 7379 6e63 645f 656e 6162 6c65 timesyncd_enable │ │ │ -001d9cb0: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c d.
< │ │ │ +001d9300: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s │ │ │ +001d9310: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ +001d93b0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001d93c0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +001d9410: 3c74 723e 3c74 683e 5374 7261 7465 6779
- n
│ │ │ +001d9450: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ +001d9460: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ +001d9470: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ +001d9480: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ +001d9490: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ +001d94a0: 542d 3830 302d 3533 2d41 552d 3828 3129  T-800-53-AU-8(1)
│ │ │ +001d94b0: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ +001d94c0: 2d35 332d 434d 2d36 2861 290a 2020 2d20  -53-CM-6(a).  - 
│ │ │ +001d94d0: 5043 492d 4453 532d 5265 712d 3130 2e34  PCI-DSS-Req-10.4
│ │ │ +001d94e0: 0a20 202d 2050 4349 2d44 5353 7634 2d31  .  - PCI-DSSv4-1
│ │ │ +001d94f0: 302e 360a 2020 2d20 5043 492d 4453 5376  0.6.  - PCI-DSSv
│ │ │ +001d9500: 342d 3130 2e36 2e31 0a20 202d 2065 6e61  4-10.6.1.  - ena
│ │ │ +001d9510: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +001d9520: 2068 6967 685f 7365 7665 7269 7479 0a20   high_severity. 
│ │ │ +001d9530: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +001d9540: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +001d9550: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f  tion.  - no_rebo
│ │ │ +001d9560: 6f74 5f6e 6565 6465 640a 2020 2d20 7365  ot_needed.  - se
│ │ │ +001d9570: 7276 6963 655f 7469 6d65 7379 6e63 645f  rvice_timesyncd_
│ │ │ +001d9580: 656e 6162 6c65 640a 0a2d 206e 616d 653a  enabled..- name:
│ │ │ +001d9590: 2045 6e61 626c 6520 7379 7374 656d 645f   Enable systemd_
│ │ │ +001d95a0: 7469 6d65 7379 6e63 6420 5365 7276 6963  timesyncd Servic
│ │ │ +001d95b0: 6520 2d20 456e 6162 6c65 2073 6572 7669  e - Enable servi
│ │ │ +001d95c0: 6365 2073 7973 7465 6d64 2d74 696d 6573  ce systemd-times
│ │ │ +001d95d0: 796e 6364 0a20 2062 6c6f 636b 3a0a 0a20  yncd.  block:.. 
│ │ │ +001d95e0: 202d 206e 616d 653a 2047 6174 6865 7220   - name: Gather 
│ │ │ +001d95f0: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ +001d9600: 730a 2020 2020 7061 636b 6167 655f 6661  s.    package_fa
│ │ │ +001d9610: 6374 733a 0a20 2020 2020 206d 616e 6167  cts:.      manag
│ │ │ +001d9620: 6572 3a20 6175 746f 0a0a 2020 2d20 6e61  er: auto..  - na
│ │ │ +001d9630: 6d65 3a20 456e 6162 6c65 2073 7973 7465  me: Enable syste
│ │ │ +001d9640: 6d64 5f74 696d 6573 796e 6364 2053 6572  md_timesyncd Ser
│ │ │ +001d9650: 7669 6365 202d 2045 6e61 626c 6520 5365  vice - Enable Se
│ │ │ +001d9660: 7276 6963 6520 7379 7374 656d 642d 7469  rvice systemd-ti
│ │ │ +001d9670: 6d65 7379 6e63 640a 2020 2020 616e 7369  mesyncd.    ansi
│ │ │ +001d9680: 626c 652e 6275 696c 7469 6e2e 7379 7374  ble.builtin.syst
│ │ │ +001d9690: 656d 643a 0a20 2020 2020 206e 616d 653a  emd:.      name:
│ │ │ +001d96a0: 2073 7973 7465 6d64 2d74 696d 6573 796e   systemd-timesyn
│ │ │ +001d96b0: 6364 0a20 2020 2020 2065 6e61 626c 6564  cd.      enabled
│ │ │ +001d96c0: 3a20 7472 7565 0a20 2020 2020 2073 7461  : true.      sta
│ │ │ +001d96d0: 7465 3a20 7374 6172 7465 640a 2020 2020  te: started.    
│ │ │ +001d96e0: 2020 6d61 736b 6564 3a20 6661 6c73 650a    masked: false.
│ │ │ +001d96f0: 2020 2020 7768 656e 3a0a 2020 2020 2d20      when:.    - 
│ │ │ +001d9700: 2722 7379 7374 656d 6422 2069 6e20 616e  '"systemd" in an
│ │ │ +001d9710: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ +001d9720: 6167 6573 270a 2020 7768 656e 3a0a 2020  ages'.  when:.  
│ │ │ +001d9730: 2d20 2722 6c69 6e75 782d 6261 7365 2220  - '"linux-base" 
│ │ │ +001d9740: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +001d9750: 2e70 6163 6b61 6765 7327 0a20 202d 2028  .packages'.  - (
│ │ │ +001d9760: 206e 6f74 2028 2022 6368 726f 6e79 2220   not ( "chrony" 
│ │ │ +001d9770: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +001d9780: 2e70 6163 6b61 6765 7320 2920 616e 6420  .packages ) and 
│ │ │ +001d9790: 6e6f 7420 2820 226e 7470 2220 696e 2061  not ( "ntp" in a
│ │ │ +001d97a0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +001d97b0: 6b61 6765 730a 2020 2020 2920 290a 2020  kages.    ) ).  
│ │ │ +001d97c0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ +001d97d0: 3030 2d35 332d 4155 2d38 2831 2928 6129  00-53-AU-8(1)(a)
│ │ │ +001d97e0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +001d97f0: 2d43 4d2d 3628 6129 0a20 202d 2050 4349  -CM-6(a).  - PCI
│ │ │ +001d9800: 2d44 5353 2d52 6571 2d31 302e 340a 2020  -DSS-Req-10.4.  
│ │ │ +001d9810: 2d20 5043 492d 4453 5376 342d 3130 2e36  - PCI-DSSv4-10.6
│ │ │ +001d9820: 0a20 202d 2050 4349 2d44 5353 7634 2d31  .  - PCI-DSSv4-1
│ │ │ +001d9830: 302e 362e 310a 2020 2d20 656e 6162 6c65  0.6.1.  - enable
│ │ │ +001d9840: 5f73 7472 6174 6567 790a 2020 2d20 6869  _strategy.  - hi
│ │ │ +001d9850: 6768 5f73 6576 6572 6974 790a 2020 2d20  gh_severity.  - 
│ │ │ +001d9860: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +001d9870: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +001d9880: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f  n.  - no_reboot_
│ │ │ +001d9890: 6e65 6564 6564 0a20 202d 2073 6572 7669  needed.  - servi
│ │ │ +001d98a0: 6365 5f74 696d 6573 796e 6364 5f65 6e61  ce_timesyncd_ena
│ │ │ +001d98b0: 626c 6564 0a3c 2f63 6f64 653e 3c2f 7072  bled.Remediat
│ │ │ +001d9970: 696f 6e20 5075 7070 6574 2073 6e69 7070  ion Puppet snipp
│ │ │ +001d9980: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64  et ...
C │ │ │ +001d93a0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +001d93d0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +001d93e0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +001d9420: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ +001d9430: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
│ │ │ +001d9a30: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +001d9a50: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +001d9a80: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +001d9a10: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +001d9a20: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +001d9a40: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +001d9a60: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +001d9a70: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

include │ │ │ +001d9ac0: 2065 6e61 626c 655f 7379 7374 656d 642d enable_systemd- │ │ │ +001d9ad0: 7469 6d65 7379 6e63 640a 0a63 6c61 7373 timesyncd..class │ │ │ +001d9ae0: 2065 6e61 626c 655f 7379 7374 656d 642d enable_systemd- │ │ │ +001d9af0: 7469 6d65 7379 6e63 6420 7b0a 2020 7365 timesyncd {. se │ │ │ +001d9b00: 7276 6963 6520 7b27 7379 7374 656d 642d rvice {'systemd- │ │ │ +001d9b10: 7469 6d65 7379 6e63 6427 3a0a 2020 2020 timesyncd':. │ │ │ +001d9b20: 656e 6162 6c65 203d 2667 743b 2074 7275 enable => tru │ │ │ +001d9b30: 652c 0a20 2020 2065 6e73 7572 6520 3d26 e,. ensure =& │ │ │ +001d9b40: 6774 3b20 2772 756e 6e69 6e67 272c 0a20 gt; 'running',. │ │ │ +001d9b50: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.

Remediat │ │ │ +001d9c10: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue │ │ │ +001d9c20: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet .. │ │ │ +001d9c30: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
.[customi
│ │ │ +001d9c80: 7a61 7469 6f6e 732e 7365 7276 6963 6573  zations.services
│ │ │ +001d9c90: 5d0a 656e 6162 6c65 6420 3d20 5b22 7379  ].enabled = ["sy
│ │ │ +001d9ca0: 7374 656d 642d 7469 6d65 7379 6e63 6422  stemd-timesyncd"
│ │ │ +001d9cb0: 5d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  ].
< │ │ │ 001d9cc0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remedia │ │ │ -001de450: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ -001de460: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -001de470: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -001de480: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -001de490: 7365 2220 6964 3d22 6964 6d32 3631 3936 se" id="idm26196 │ │ │ -001de4a0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ -001de4f0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -001de500: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -001de520: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -001de540: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -001de550: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ -001de590: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -001de5a0: 6465 2072 656d 6f76 655f 7273 682d 636c  de remove_rsh-cl
│ │ │ -001de5b0: 6965 6e74 0a0a 636c 6173 7320 7265 6d6f  ient..class remo
│ │ │ -001de5c0: 7665 5f72 7368 2d63 6c69 656e 7420 7b0a  ve_rsh-client {.
│ │ │ -001de5d0: 2020 7061 636b 6167 6520 7b20 2772 7368    package { 'rsh
│ │ │ -001de5e0: 2d63 6c69 656e 7427 3a0a 2020 2020 656e  -client':.    en
│ │ │ -001de5f0: 7375 7265 203d 2667 743b 2027 7075 7267  sure => 'purg
│ │ │ -001de600: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ed',.  }.}.
Re │ │ │ -001de6c0: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -001de6d0: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
Complexity: │ │ │ -001de7b0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -001de7c0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
- name: Ensure 
│ │ │ -001de820: 7273 682d 636c 6965 6e74 2069 7320 7265  rsh-client is re
│ │ │ -001de830: 6d6f 7665 640a 2020 7061 636b 6167 653a  moved.  package:
│ │ │ -001de840: 0a20 2020 206e 616d 653a 2072 7368 2d63  .    name: rsh-c
│ │ │ -001de850: 6c69 656e 740a 2020 2020 7374 6174 653a  lient.    state:
│ │ │ -001de860: 2061 6273 656e 740a 2020 7461 6773 3a0a   absent.  tags:.
│ │ │ -001de870: 2020 2d20 4e49 5354 2d38 3030 2d31 3731    - NIST-800-171
│ │ │ -001de880: 2d33 2e31 2e31 330a 2020 2d20 5043 492d  -3.1.13.  - PCI-
│ │ │ -001de890: 4453 5376 342d 322e 320a 2020 2d20 5043  DSSv4-2.2.  - PC
│ │ │ -001de8a0: 492d 4453 5376 342d 322e 322e 340a 2020  I-DSSv4-2.2.4.  
│ │ │ -001de8b0: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ -001de8c0: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ -001de8d0: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -001de8e0: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f  sruption.  - no_
│ │ │ -001de8f0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -001de900: 2d20 7061 636b 6167 655f 7273 685f 7265  - package_rsh_re
│ │ │ -001de910: 6d6f 7665 640a 2020 2d20 756e 6b6e 6f77  moved.  - unknow
│ │ │ -001de920: 6e5f 7365 7665 7269 7479 0a3c 2f63 6f64  n_severity.
│ │ │ +001de470: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
low
Disru │ │ │ -001de790: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -001de7a0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -001de7e0: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ -001de7f0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Com │ │ │ +001de4f0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +001de520: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +001de540: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +001de550: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +001de570: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +001de580: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +001de5a0: 6d65 3a20 456e 7375 7265 2072 7368 2d63  me: Ensure rsh-c
│ │ │ +001de5b0: 6c69 656e 7420 6973 2072 656d 6f76 6564  lient is removed
│ │ │ +001de5c0: 0a20 2070 6163 6b61 6765 3a0a 2020 2020  .  package:.    
│ │ │ +001de5d0: 6e61 6d65 3a20 7273 682d 636c 6965 6e74  name: rsh-client
│ │ │ +001de5e0: 0a20 2020 2073 7461 7465 3a20 6162 7365  .    state: abse
│ │ │ +001de5f0: 6e74 0a20 2074 6167 733a 0a20 202d 204e  nt.  tags:.  - N
│ │ │ +001de600: 4953 542d 3830 302d 3137 312d 332e 312e  IST-800-171-3.1.
│ │ │ +001de610: 3133 0a20 202d 2050 4349 2d44 5353 7634  13.  - PCI-DSSv4
│ │ │ +001de620: 2d32 2e32 0a20 202d 2050 4349 2d44 5353  -2.2.  - PCI-DSS
│ │ │ +001de630: 7634 2d32 2e32 2e34 0a20 202d 2064 6973  v4-2.2.4.  - dis
│ │ │ +001de640: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +001de650: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +001de660: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +001de670: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f  ion.  - no_reboo
│ │ │ +001de680: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ +001de690: 6b61 6765 5f72 7368 5f72 656d 6f76 6564  kage_rsh_removed
│ │ │ +001de6a0: 0a20 202d 2075 6e6b 6e6f 776e 5f73 6576  .  - unknown_sev
│ │ │ +001de6b0: 6572 6974 790a 3c2f 636f 6465 3e3c 2f70  erity.

Remedia │ │ │ +001de770: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ +001de780: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +001de790: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001de7a0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001de7b0: 7365 2220 6964 3d22 6964 6d32 3631 3937 se" id="idm26197 │ │ │ +001de7c0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ +001de810: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +001de820: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +001de840: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +001de860: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +001de870: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +001de8b0: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +001de8c0: 6465 2072 656d 6f76 655f 7273 682d 636c  de remove_rsh-cl
│ │ │ +001de8d0: 6965 6e74 0a0a 636c 6173 7320 7265 6d6f  ient..class remo
│ │ │ +001de8e0: 7665 5f72 7368 2d63 6c69 656e 7420 7b0a  ve_rsh-client {.
│ │ │ +001de8f0: 2020 7061 636b 6167 6520 7b20 2772 7368    package { 'rsh
│ │ │ +001de900: 2d63 6c69 656e 7427 3a0a 2020 2020 656e  -client':.    en
│ │ │ +001de910: 7375 7265 203d 2667 743b 2027 7075 7267  sure => 'purg
│ │ │ +001de920: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ed',.  }.}.
Remediatio │ │ │ -001e0d60: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ -001e0d70: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -001e0db0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -001e0dc0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -001e0dd0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -001e0de0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -001e0df0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -001e0e00: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -001e0e10: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -001e0e50: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -001e0e60: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -001e0e80: 3c74 643e 6469 7361 626c 653c 2f74 643e disable │ │ │ -001e0e90: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 include │ │ │ -001e0eb0: 7265 6d6f 7665 5f74 616c 6b0a 0a63 6c61 remove_talk..cla │ │ │ -001e0ec0: 7373 2072 656d 6f76 655f 7461 6c6b 207b ss remove_talk { │ │ │ -001e0ed0: 0a20 2070 6163 6b61 6765 207b 2027 7461 . package { 'ta │ │ │ -001e0ee0: 6c6b 273a 0a20 2020 2065 6e73 7572 6520 lk':. ensure │ │ │ -001e0ef0: 3d26 6774 3b20 2770 7572 6765 6427 2c0a => 'purged',. │ │ │ -001e0f00: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.

Remedia │ │ │ -001e0fc0: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ -001e0fd0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001e0fe0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -001e1060: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -001e1090: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -001e10b0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -001e10c0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -001e10e0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -001e10f0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -001e1110: 6d65 3a20 456e 7375 7265 2074 616c 6b20  me: Ensure talk 
│ │ │ -001e1120: 6973 2072 656d 6f76 6564 0a20 2070 6163  is removed.  pac
│ │ │ -001e1130: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20  kage:.    name: 
│ │ │ -001e1140: 7461 6c6b 0a20 2020 2073 7461 7465 3a20  talk.    state: 
│ │ │ -001e1150: 6162 7365 6e74 0a20 2074 6167 733a 0a20  absent.  tags:. 
│ │ │ -001e1160: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ -001e1170: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ -001e1180: 2e32 2e34 0a20 202d 2064 6973 6162 6c65  .2.4.  - disable
│ │ │ -001e1190: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ -001e11a0: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -001e11b0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -001e11c0: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ -001e11d0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ -001e11e0: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ -001e11f0: 6b61 6765 5f74 616c 6b5f 7265 6d6f 7665  kage_talk_remove
│ │ │ -001e1200: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +001e0d60: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ +001e0d70: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +001e0db0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ +001e0e20: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +001e0e40: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +001e0e70: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ +001e0e00: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +001e0e10: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +001e0e50: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +001e0e60: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

- name: │ │ │ +001e0eb0: 2045 6e73 7572 6520 7461 6c6b 2069 7320 Ensure talk is │ │ │ +001e0ec0: 7265 6d6f 7665 640a 2020 7061 636b 6167 removed. packag │ │ │ +001e0ed0: 653a 0a20 2020 206e 616d 653a 2074 616c e:. name: tal │ │ │ +001e0ee0: 6b0a 2020 2020 7374 6174 653a 2061 6273 k. state: abs │ │ │ +001e0ef0: 656e 740a 2020 7461 6773 3a0a 2020 2d20 ent. tags:. - │ │ │ +001e0f00: 5043 492d 4453 5376 342d 322e 320a 2020 PCI-DSSv4-2.2. │ │ │ +001e0f10: 2d20 5043 492d 4453 5376 342d 322e 322e - PCI-DSSv4-2.2. │ │ │ +001e0f20: 340a 2020 2d20 6469 7361 626c 655f 7374 4. - disable_st │ │ │ +001e0f30: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c │ │ │ +001e0f40: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo │ │ │ +001e0f50: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. - │ │ │ +001e0f60: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity │ │ │ +001e0f70: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n │ │ │ +001e0f80: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag │ │ │ +001e0f90: 655f 7461 6c6b 5f72 656d 6f76 6564 0a3c e_talk_removed.< │ │ │ +001e0fa0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>

Remediation Pu │ │ │ +001e1060: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ +001e1070: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ +001e1100: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ +001e1120: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ +001e1140: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ +001e1170: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +001e1180: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
include remo
│ │ │ +001e11b0: 7665 5f74 616c 6b0a 0a63 6c61 7373 2072  ve_talk..class r
│ │ │ +001e11c0: 656d 6f76 655f 7461 6c6b 207b 0a20 2070  emove_talk {.  p
│ │ │ +001e11d0: 6163 6b61 6765 207b 2027 7461 6c6b 273a  ackage { 'talk':
│ │ │ +001e11e0: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ +001e11f0: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a  ; 'purged',.  }.
│ │ │ +001e1200: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ 001e1210: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediati │ │ │ -001e2480: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -001e2490: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -001e24d0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -001e2540: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -001e2560: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -001e2590: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -001e2520: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -001e2530: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -001e2570: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -001e2580: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ -001e25d0: 2072 656d 6f76 655f 7465 6c6e 6574 0a0a remove_telnet.. │ │ │ -001e25e0: 636c 6173 7320 7265 6d6f 7665 5f74 656c class remove_tel │ │ │ -001e25f0: 6e65 7420 7b0a 2020 7061 636b 6167 6520 net {. package │ │ │ -001e2600: 7b20 2774 656c 6e65 7427 3a0a 2020 2020 { 'telnet':. │ │ │ -001e2610: 656e 7375 7265 203d 2667 743b 2027 7075 ensure => 'pu │ │ │ -001e2620: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63 rged',. }.}.

│ │ │ -001e2640: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ -001e26e0: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi │ │ │ -001e26f0: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...< │ │ │ -001e2700: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -001e2780: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -001e27a0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -001e27f0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -001e2820: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -001e2790: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -001e27b0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -001e2800: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -001e2810: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
- name: Ensur
│ │ │ -001e2840: 6520 7465 6c6e 6574 2069 7320 7265 6d6f  e telnet is remo
│ │ │ -001e2850: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ -001e2860: 2020 206e 616d 653a 2074 656c 6e65 740a     name: telnet.
│ │ │ -001e2870: 2020 2020 7374 6174 653a 2061 6273 656e      state: absen
│ │ │ -001e2880: 740a 2020 7461 6773 3a0a 2020 2d20 4e49  t.  tags:.  - NI
│ │ │ -001e2890: 5354 2d38 3030 2d31 3731 2d33 2e31 2e31  ST-800-171-3.1.1
│ │ │ -001e28a0: 330a 2020 2d20 5043 492d 4453 5376 342d  3.  - PCI-DSSv4-
│ │ │ -001e28b0: 322e 320a 2020 2d20 5043 492d 4453 5376  2.2.  - PCI-DSSv
│ │ │ -001e28c0: 342d 322e 322e 340a 2020 2d20 6469 7361  4-2.2.4.  - disa
│ │ │ -001e28d0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -001e28e0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -001e28f0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -001e2900: 6f6e 0a20 202d 206c 6f77 5f73 6576 6572  on.  - low_sever
│ │ │ -001e2910: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ -001e2920: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ -001e2930: 6b61 6765 5f74 656c 6e65 745f 7265 6d6f  kage_telnet_remo
│ │ │ -001e2940: 7665 640a 3c2f 636f 6465 3e3c 2f70 7265  ved.

│ │ │ +001e2540: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +001e2560: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +001e2590: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +001e2520: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +001e2530: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +001e2550: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +001e2570: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +001e2580: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +001e25c0: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +001e25d0: 3a20 456e 7375 7265 2074 656c 6e65 7420 : Ensure telnet │ │ │ +001e25e0: 6973 2072 656d 6f76 6564 0a20 2070 6163 is removed. pac │ │ │ +001e25f0: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20 kage:. name: │ │ │ +001e2600: 7465 6c6e 6574 0a20 2020 2073 7461 7465 telnet. state │ │ │ +001e2610: 3a20 6162 7365 6e74 0a20 2074 6167 733a : absent. tags: │ │ │ +001e2620: 0a20 202d 204e 4953 542d 3830 302d 3137 . - NIST-800-17 │ │ │ +001e2630: 312d 332e 312e 3133 0a20 202d 2050 4349 1-3.1.13. - PCI │ │ │ +001e2640: 2d44 5353 7634 2d32 2e32 0a20 202d 2050 -DSSv4-2.2. - P │ │ │ +001e2650: 4349 2d44 5353 7634 2d32 2e32 2e34 0a20 CI-DSSv4-2.2.4. │ │ │ +001e2660: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat │ │ │ +001e2670: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp │ │ │ +001e2680: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d │ │ │ +001e2690: 6973 7275 7074 696f 6e0a 2020 2d20 6c6f isruption. - lo │ │ │ +001e26a0: 775f 7365 7665 7269 7479 0a20 202d 206e w_severity. - n │ │ │ +001e26b0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed. │ │ │ +001e26c0: 2020 2d20 7061 636b 6167 655f 7465 6c6e - package_teln │ │ │ +001e26d0: 6574 5f72 656d 6f76 6564 0a3c 2f63 6f64 et_removed.
Re │ │ │ +001e2790: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ +001e27a0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +001e27b0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ +001e2880: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +001e2890: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +001e28e0: 696e 636c 7564 6520 7265 6d6f 7665 5f74  include remove_t
│ │ │ +001e28f0: 656c 6e65 740a 0a63 6c61 7373 2072 656d  elnet..class rem
│ │ │ +001e2900: 6f76 655f 7465 6c6e 6574 207b 0a20 2070  ove_telnet {.  p
│ │ │ +001e2910: 6163 6b61 6765 207b 2027 7465 6c6e 6574  ackage { 'telnet
│ │ │ +001e2920: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ +001e2930: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ +001e2940: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediation │ │ │ -001e3470: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ -001e3480: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001e3500: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ -001e3590: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -001e35a0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
Complexity:low
Disrup │ │ │ +001e2860: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +001e2870: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +001e28b0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +001e28c0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexi │ │ │ -001e3510: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -001e3520: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ -001e3560: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -001e3570: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
include r
│ │ │ -001e35c0: 656d 6f76 655f 7273 796e 630a 0a63 6c61  emove_rsync..cla
│ │ │ -001e35d0: 7373 2072 656d 6f76 655f 7273 796e 6320  ss remove_rsync 
│ │ │ -001e35e0: 7b0a 2020 7061 636b 6167 6520 7b20 2772  {.  package { 'r
│ │ │ -001e35f0: 7379 6e63 273a 0a20 2020 2065 6e73 7572  sync':.    ensur
│ │ │ -001e3600: 6520 3d26 6774 3b20 2770 7572 6765 6427  e => 'purged'
│ │ │ -001e3610: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ -001e3620: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remed │ │ │ -001e36d0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s │ │ │ -001e36e0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -001e3780: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001e3790: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -001e37e0: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ -001e3820: 6e61 6d65 3a20 456e 7375 7265 2072 7379  name: Ensure rsy
│ │ │ -001e3830: 6e63 2069 7320 7265 6d6f 7665 640a 2020  nc is removed.  
│ │ │ -001e3840: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ -001e3850: 653a 2072 7379 6e63 0a20 2020 2073 7461  e: rsync.    sta
│ │ │ -001e3860: 7465 3a20 6162 7365 6e74 0a20 2074 6167  te: absent.  tag
│ │ │ -001e3870: 733a 0a20 202d 2064 6973 6162 6c65 5f73  s:.  - disable_s
│ │ │ -001e3880: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ -001e3890: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -001e38a0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -001e38b0: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ -001e38c0: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ -001e38d0: 6e65 6564 6564 0a20 202d 2070 6163 6b61  needed.  - packa
│ │ │ -001e38e0: 6765 5f72 7379 6e63 5f72 656d 6f76 6564  ge_rsync_removed
│ │ │ +001e3470: 2041 6e73 6962 6c65 2073 6e69 7070 6574   Ansible snippet
│ │ │ +001e3480: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976   ...
< │ │ │ +001e34c0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +001e34d0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +001e34e0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +001e34f0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +001e3500: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ +001e3590: 3c74 643e 6469 7361 626c 653c 2f74 643e │ │ │ +001e35a0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
C │ │ │ -001e3770: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -001e37a0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -001e37b0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -001e37f0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -001e3800: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complex │ │ │ +001e3510: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +001e3520: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ +001e3560: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +001e3570: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
disable
- name: │ │ │ +001e35c0: 456e 7375 7265 2072 7379 6e63 2069 7320 Ensure rsync is │ │ │ +001e35d0: 7265 6d6f 7665 640a 2020 7061 636b 6167 removed. packag │ │ │ +001e35e0: 653a 0a20 2020 206e 616d 653a 2072 7379 e:. name: rsy │ │ │ +001e35f0: 6e63 0a20 2020 2073 7461 7465 3a20 6162 nc. state: ab │ │ │ +001e3600: 7365 6e74 0a20 2074 6167 733a 0a20 202d sent. tags:. - │ │ │ +001e3610: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg │ │ │ +001e3620: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple │ │ │ +001e3630: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis │ │ │ +001e3640: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi │ │ │ +001e3650: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. - │ │ │ +001e3660: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed │ │ │ +001e3670: 0a20 202d 2070 6163 6b61 6765 5f72 7379 . - package_rsy │ │ │ +001e3680: 6e63 5f72 656d 6f76 6564 0a3c 2f63 6f64 nc_removed.
Re │ │ │ +001e3740: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ +001e3750: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +001e3760: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ +001e3830: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +001e3840: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +001e3890: 696e 636c 7564 6520 7265 6d6f 7665 5f72  include remove_r
│ │ │ +001e38a0: 7379 6e63 0a0a 636c 6173 7320 7265 6d6f  sync..class remo
│ │ │ +001e38b0: 7665 5f72 7379 6e63 207b 0a20 2070 6163  ve_rsync {.  pac
│ │ │ +001e38c0: 6b61 6765 207b 2027 7273 796e 6327 3a0a  kage { 'rsync':.
│ │ │ +001e38d0: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +001e38e0: 2027 7075 7267 6564 272c 0a20 207d 0a7d   'purged',.  }.}
│ │ │  001e38f0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation P │ │ │ -001e4c30: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ -001e4c40: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ -001e4d00: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001e4d10: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
Complexity:low
Disrup │ │ │ +001e3810: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +001e3820: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +001e3860: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +001e3870: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity │ │ │ -001e4cd0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ -001e4cf0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ -001e4d20: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ -001e4d40: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ -001e4d70: 636f 6465 3e69 6e63 6c75 6465 2072 656d  code>include rem
│ │ │ -001e4d80: 6f76 655f 7371 7569 640a 0a63 6c61 7373  ove_squid..class
│ │ │ -001e4d90: 2072 656d 6f76 655f 7371 7569 6420 7b0a   remove_squid {.
│ │ │ -001e4da0: 2020 7061 636b 6167 6520 7b20 2773 7175    package { 'squ
│ │ │ -001e4db0: 6964 273a 0a20 2020 2065 6e73 7572 6520  id':.    ensure 
│ │ │ -001e4dc0: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ -001e4dd0: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ -001e4e90: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ -001e4ea0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001e4eb0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -001e4f30: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -001e4f60: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -001e4f80: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -001e4f90: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -001e4fb0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -001e4fc0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -001e4fe0: 6d65 3a20 456e 7375 7265 2073 7175 6964  me: Ensure squid
│ │ │ -001e4ff0: 2069 7320 7265 6d6f 7665 640a 2020 7061   is removed.  pa
│ │ │ -001e5000: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ -001e5010: 2073 7175 6964 0a20 2020 2073 7461 7465   squid.    state
│ │ │ -001e5020: 3a20 6162 7365 6e74 0a20 2074 6167 733a  : absent.  tags:
│ │ │ -001e5030: 0a20 202d 2064 6973 6162 6c65 5f73 7472  .  - disable_str
│ │ │ -001e5040: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ -001e5050: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -001e5060: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -001e5070: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -001e5080: 0a20 202d 2070 6163 6b61 6765 5f73 7175  .  - package_squ
│ │ │ -001e5090: 6964 5f72 656d 6f76 6564 0a20 202d 2075  id_removed.  - u
│ │ │ -001e50a0: 6e6b 6e6f 776e 5f73 6576 6572 6974 790a  nknown_severity.
│ │ │ +001e4c20: 2122 3e52 656d 6564 6961 7469 6f6e 2041  !">Remediation A
│ │ │ +001e4c30: 6e73 6962 6c65 2073 6e69 7070 6574 20e2  nsible snippet .
│ │ │ +001e4c40: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063  ..
< │ │ │ +001e4cc0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +001e4cd0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +001e4cf0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +001e4d00: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +001e4d20: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +001e4d40: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ +001e4d70: 3c63 6f64 653e 2d20 6e61 6d65 3a20 456e  - name: En
│ │ │ +001e4d80: 7375 7265 2073 7175 6964 2069 7320 7265  sure squid is re
│ │ │ +001e4d90: 6d6f 7665 640a 2020 7061 636b 6167 653a  moved.  package:
│ │ │ +001e4da0: 0a20 2020 206e 616d 653a 2073 7175 6964  .    name: squid
│ │ │ +001e4db0: 0a20 2020 2073 7461 7465 3a20 6162 7365  .    state: abse
│ │ │ +001e4dc0: 6e74 0a20 2074 6167 733a 0a20 202d 2064  nt.  tags:.  - d
│ │ │ +001e4dd0: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ +001e4de0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +001e4df0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +001e4e00: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562  ption.  - no_reb
│ │ │ +001e4e10: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ +001e4e20: 6163 6b61 6765 5f73 7175 6964 5f72 656d  ackage_squid_rem
│ │ │ +001e4e30: 6f76 6564 0a20 202d 2075 6e6b 6e6f 776e  oved.  - unknown
│ │ │ +001e4e40: 5f73 6576 6572 6974 790a 3c2f 636f 6465  _severity.
Rem │ │ │ +001e4f00: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ +001e4f10: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +001e4f20: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ +001e4fb0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
i
│ │ │ +001e5050: 6e63 6c75 6465 2072 656d 6f76 655f 7371  nclude remove_sq
│ │ │ +001e5060: 7569 640a 0a63 6c61 7373 2072 656d 6f76  uid..class remov
│ │ │ +001e5070: 655f 7371 7569 6420 7b0a 2020 7061 636b  e_squid {.  pack
│ │ │ +001e5080: 6167 6520 7b20 2773 7175 6964 273a 0a20  age { 'squid':. 
│ │ │ +001e5090: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ +001e50a0: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a  'purged',.  }.}.
│ │ │  001e50b0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediati │ │ │ -001e6500: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -001e6510: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -001e6550: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
│ │ │ +001e4fa0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +001e4fd0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +001e4fe0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +001e5020: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +001e5030: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ -001e65c0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -001e65e0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -001e6610: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -001e65a0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -001e65b0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -001e65f0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -001e6600: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ -001e6650: 2072 656d 6f76 655f 7361 6d62 610a 0a63 remove_samba..c │ │ │ -001e6660: 6c61 7373 2072 656d 6f76 655f 7361 6d62 lass remove_samb │ │ │ -001e6670: 6120 7b0a 2020 7061 636b 6167 6520 7b20 a {. package { │ │ │ -001e6680: 2773 616d 6261 273a 0a20 2020 2065 6e73 'samba':. ens │ │ │ -001e6690: 7572 6520 3d26 6774 3b20 2770 7572 6765 ure => 'purge │ │ │ -001e66a0: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 d',. }.}.

Rem │ │ │ -001e6760: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ -001e6770: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -001e6780: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -001e6850: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -001e6860: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -001e68b0: 2d20 6e61 6d65 3a20 456e 7375 7265 2073  - name: Ensure s
│ │ │ -001e68c0: 616d 6261 2069 7320 7265 6d6f 7665 640a  amba is removed.
│ │ │ -001e68d0: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ -001e68e0: 616d 653a 2073 616d 6261 0a20 2020 2073  ame: samba.    s
│ │ │ -001e68f0: 7461 7465 3a20 6162 7365 6e74 0a20 2074  tate: absent.  t
│ │ │ -001e6900: 6167 733a 0a20 202d 2064 6973 6162 6c65  ags:.  - disable
│ │ │ -001e6910: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ -001e6920: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -001e6930: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -001e6940: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -001e6950: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -001e6960: 5f73 616d 6261 5f72 656d 6f76 6564 0a20  _samba_removed. 
│ │ │ -001e6970: 202d 2075 6e6b 6e6f 776e 5f73 6576 6572   - unknown_sever
│ │ │ -001e6980: 6974 790a 3c2f 636f 6465 3e3c 2f70 7265  ity.

Complexity:low
Disrup │ │ │ -001e6830: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -001e6840: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -001e6880: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -001e6890: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +001e65c0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +001e65e0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +001e6610: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +001e65a0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +001e65b0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +001e65d0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +001e65f0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +001e6600: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +001e6640: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +001e6650: 3a20 456e 7375 7265 2073 616d 6261 2069 : Ensure samba i │ │ │ +001e6660: 7320 7265 6d6f 7665 640a 2020 7061 636b s removed. pack │ │ │ +001e6670: 6167 653a 0a20 2020 206e 616d 653a 2073 age:. name: s │ │ │ +001e6680: 616d 6261 0a20 2020 2073 7461 7465 3a20 amba. state: │ │ │ +001e6690: 6162 7365 6e74 0a20 2074 6167 733a 0a20 absent. tags:. │ │ │ +001e66a0: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat │ │ │ +001e66b0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp │ │ │ +001e66c0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d │ │ │ +001e66d0: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f isruption. - no │ │ │ +001e66e0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed. │ │ │ +001e66f0: 202d 2070 6163 6b61 6765 5f73 616d 6261 - package_samba │ │ │ +001e6700: 5f72 656d 6f76 6564 0a20 202d 2075 6e6b _removed. - unk │ │ │ +001e6710: 6e6f 776e 5f73 6576 6572 6974 790a 3c2f nown_severity.
Remediation Pup │ │ │ +001e67e0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ +001e67f0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ +001e6870: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +001e6890: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +001e68e0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ +001e6910: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ +001e6880: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +001e68a0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +001e68f0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ +001e6900: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ +001e6930: 655f 7361 6d62 610a 0a63 6c61 7373 2072  e_samba..class r
│ │ │ +001e6940: 656d 6f76 655f 7361 6d62 6120 7b0a 2020  emove_samba {.  
│ │ │ +001e6950: 7061 636b 6167 6520 7b20 2773 616d 6261  package { 'samba
│ │ │ +001e6960: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ +001e6970: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ +001e6980: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
│ │ │ -001e7da0: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ -001e7db0: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
< │ │ │ -001e7e40: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -001e7e60: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -001e7eb0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ -001e7ee0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include remove
│ │ │ -001e7f00: 5f73 6e6d 700a 0a63 6c61 7373 2072 656d  _snmp..class rem
│ │ │ -001e7f10: 6f76 655f 736e 6d70 207b 0a20 2070 6163  ove_snmp {.  pac
│ │ │ -001e7f20: 6b61 6765 207b 2027 736e 6d70 273a 0a20  kage { 'snmp':. 
│ │ │ -001e7f30: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ -001e7f40: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a  'purged',.  }.}.
│ │ │ -001e7f50: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation A │ │ │ -001e8010: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet . │ │ │ -001e8020: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -001e80a0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ -001e80e0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 disable
low
Disr │ │ │ -001e7e70: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -001e7e80: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -001e7ec0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ -001e7ed0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
Complexit │ │ │ -001e80b0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ -001e80d0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ -001e8100: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -001e8120: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
│ │ │ -001e8150: 3c63 6f64 653e 2d20 6e61 6d65 3a20 456e  - name: En
│ │ │ -001e8160: 7375 7265 2073 6e6d 7020 6973 2072 656d  sure snmp is rem
│ │ │ -001e8170: 6f76 6564 0a20 2070 6163 6b61 6765 3a0a  oved.  package:.
│ │ │ -001e8180: 2020 2020 6e61 6d65 3a20 736e 6d70 0a20      name: snmp. 
│ │ │ -001e8190: 2020 2073 7461 7465 3a20 6162 7365 6e74     state: absent
│ │ │ -001e81a0: 0a20 2074 6167 733a 0a20 202d 2050 4349  .  tags:.  - PCI
│ │ │ -001e81b0: 2d44 5353 7634 2d32 2e32 0a20 202d 2050  -DSSv4-2.2.  - P
│ │ │ -001e81c0: 4349 2d44 5353 7634 2d32 2e32 2e34 0a20  CI-DSSv4-2.2.4. 
│ │ │ -001e81d0: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ -001e81e0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -001e81f0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -001e8200: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f  isruption.  - no
│ │ │ -001e8210: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ -001e8220: 202d 2070 6163 6b61 6765 5f6e 6574 2d73   - package_net-s
│ │ │ -001e8230: 6e6d 705f 7265 6d6f 7665 640a 2020 2d20  nmp_removed.  - 
│ │ │ -001e8240: 756e 6b6e 6f77 6e5f 7365 7665 7269 7479  unknown_severity
│ │ │ +001e7da0: 5265 6d65 6469 6174 696f 6e20 416e 7369  Remediation Ansi
│ │ │ +001e7db0: 626c 6520 736e 6970 7065 7420 e287 b23c  ble snippet ...<
│ │ │ +001e7dc0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173  /a>
│ │ │ +001e7e40: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +001e7e60: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +001e7eb0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ +001e7ee0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ +001e7e50: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +001e7e70: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +001e7ec0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ +001e7ed0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
- name: Ensur
│ │ │ +001e7f00: 6520 736e 6d70 2069 7320 7265 6d6f 7665  e snmp is remove
│ │ │ +001e7f10: 640a 2020 7061 636b 6167 653a 0a20 2020  d.  package:.   
│ │ │ +001e7f20: 206e 616d 653a 2073 6e6d 700a 2020 2020   name: snmp.    
│ │ │ +001e7f30: 7374 6174 653a 2061 6273 656e 740a 2020  state: absent.  
│ │ │ +001e7f40: 7461 6773 3a0a 2020 2d20 5043 492d 4453  tags:.  - PCI-DS
│ │ │ +001e7f50: 5376 342d 322e 320a 2020 2d20 5043 492d  Sv4-2.2.  - PCI-
│ │ │ +001e7f60: 4453 5376 342d 322e 322e 340a 2020 2d20  DSSv4-2.2.4.  - 
│ │ │ +001e7f70: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ +001e7f80: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +001e7f90: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +001e7fa0: 7570 7469 6f6e 0a20 202d 206e 6f5f 7265  uption.  - no_re
│ │ │ +001e7fb0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +001e7fc0: 7061 636b 6167 655f 6e65 742d 736e 6d70  package_net-snmp
│ │ │ +001e7fd0: 5f72 656d 6f76 6564 0a20 202d 2075 6e6b  _removed.  - unk
│ │ │ +001e7fe0: 6e6f 776e 5f73 6576 6572 6974 790a 3c2f  nown_severity.
Remediation Pup │ │ │ +001e80b0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ +001e80c0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ +001e8140: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +001e8160: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +001e81b0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ +001e81e0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ +001e8150: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +001e8170: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +001e81c0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ +001e81d0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ +001e8200: 655f 736e 6d70 0a0a 636c 6173 7320 7265  e_snmp..class re
│ │ │ +001e8210: 6d6f 7665 5f73 6e6d 7020 7b0a 2020 7061  move_snmp {.  pa
│ │ │ +001e8220: 636b 6167 6520 7b20 2773 6e6d 7027 3a0a  ckage { 'snmp':.
│ │ │ +001e8230: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +001e8240: 2027 7075 7267 6564 272c 0a20 207d 0a7d   'purged',.  }.}
│ │ │  001e8250: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remedia │ │ │ -00216e70: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ -00216e80: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -00216e90: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -00216ea0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -00216eb0: 7365 2220 6964 3d22 6964 6d32 3732 3231 se" id="idm27221 │ │ │ -00216ec0: 223e 3c70 7265 3e3c 636f 6465 3e69 6e63 ">
inc
│ │ │ -00216ed0: 6c75 6465 2073 7368 5f70 7269 7661 7465  lude ssh_private
│ │ │ -00216ee0: 5f6b 6579 5f70 6572 6d73 0a0a 636c 6173  _key_perms..clas
│ │ │ -00216ef0: 7320 7373 685f 7072 6976 6174 655f 6b65  s ssh_private_ke
│ │ │ -00216f00: 795f 7065 726d 7320 7b0a 2020 6578 6563  y_perms {.  exec
│ │ │ -00216f10: 207b 2027 7373 6864 5f70 7269 765f 6b65   { 'sshd_priv_ke
│ │ │ -00216f20: 7927 3a0a 2020 2020 636f 6d6d 616e 6420  y':.    command 
│ │ │ -00216f30: 3d26 6774 3b20 2263 686d 6f64 2030 3634  => "chmod 064
│ │ │ -00216f40: 3020 2f65 7463 2f73 7368 2f2a 5f6b 6579  0 /etc/ssh/*_key
│ │ │ -00216f50: 222c 0a20 2020 2070 6174 6820 2020 203d  ",.    path    =
│ │ │ -00216f60: 2667 743b 2027 2f62 696e 3a2f 7573 722f  > '/bin:/usr/
│ │ │ -00216f70: 6269 6e27 0a20 207d 0a7d 0a3c 2f63 6f64  bin'.  }.}.
Re │ │ │ -00217030: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -00217040: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
Complexity: │ │ │ -00217120: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -00217130: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f │ │ │ -00217170: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
low
Disru │ │ │ -00217100: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -00217110: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -00217150: 6567 793a 3c2f 7468 3e3c 7464 3e63 6f6e egy:con │ │ │ -00217160: 6669 6775 7265 3c2f 7464 3e3c 2f74 723e figure
- name: Gathe
│ │ │ -00217190: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ -002171a0: 6374 730a 2020 7061 636b 6167 655f 6661  cts.  package_fa
│ │ │ -002171b0: 6374 733a 0a20 2020 206d 616e 6167 6572  cts:.    manager
│ │ │ -002171c0: 3a20 6175 746f 0a20 2074 6167 733a 0a20  : auto.  tags:. 
│ │ │ -002171d0: 202d 204e 4953 542d 3830 302d 3137 312d   - NIST-800-171-
│ │ │ -002171e0: 332e 312e 3133 0a20 202d 204e 4953 542d  3.1.13.  - NIST-
│ │ │ -002171f0: 3830 302d 3137 312d 332e 3133 2e31 300a  800-171-3.13.10.
│ │ │ -00217200: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -00217210: 4143 2d31 3728 6129 0a20 202d 204e 4953  AC-17(a).  - NIS
│ │ │ -00217220: 542d 3830 302d 3533 2d41 432d 3628 3129  T-800-53-AC-6(1)
│ │ │ -00217230: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -00217240: 2d43 4d2d 3628 6129 0a20 202d 2050 4349  -CM-6(a).  - PCI
│ │ │ -00217250: 2d44 5353 2d52 6571 2d32 2e32 2e34 0a20  -DSS-Req-2.2.4. 
│ │ │ -00217260: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ -00217270: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ -00217280: 2e32 2e36 0a20 202d 2063 6f6e 6669 6775  .2.6.  - configu
│ │ │ -00217290: 7265 5f73 7472 6174 6567 790a 2020 2d20  re_strategy.  - 
│ │ │ -002172a0: 6669 6c65 5f70 6572 6d69 7373 696f 6e73  file_permissions
│ │ │ -002172b0: 5f73 7368 645f 7072 6976 6174 655f 6b65  _sshd_private_ke
│ │ │ -002172c0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -002172d0: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -002172e0: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ -002172f0: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ -00217300: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -00217310: 0a0a 2d20 6e61 6d65 3a20 4669 6e64 2072  ..- name: Find r
│ │ │ -00217320: 6f6f 743a 726f 6f74 2d6f 776e 6564 206b  oot:root-owned k
│ │ │ -00217330: 6579 730a 2020 616e 7369 626c 652e 6275  eys.  ansible.bu
│ │ │ -00217340: 696c 7469 6e2e 636f 6d6d 616e 643a 2066  iltin.command: f
│ │ │ -00217350: 696e 6420 2d48 202f 6574 632f 7373 682f  ind -H /etc/ssh/
│ │ │ -00217360: 202d 6d61 7864 6570 7468 2031 202d 7573   -maxdepth 1 -us
│ │ │ -00217370: 6572 2072 6f6f 7420 2d72 6567 6578 2022  er root -regex "
│ │ │ -00217380: 2e2a 5f6b 6579 2422 0a20 2020 202d 7479  .*_key$".    -ty
│ │ │ -00217390: 7065 2066 202d 6772 6f75 7020 726f 6f74  pe f -group root
│ │ │ -002173a0: 202d 7065 726d 202f 752b 7873 2c67 2b78   -perm /u+xs,g+x
│ │ │ -002173b0: 7772 732c 6f2b 7877 7274 0a20 2072 6567  wrs,o+xwrt.  reg
│ │ │ -002173c0: 6973 7465 723a 2072 6f6f 745f 6f77 6e65  ister: root_owne
│ │ │ -002173d0: 645f 6b65 7973 0a20 2063 6861 6e67 6564  d_keys.  changed
│ │ │ -002173e0: 5f77 6865 6e3a 2066 616c 7365 0a20 2066  _when: false.  f
│ │ │ -002173f0: 6169 6c65 645f 7768 656e 3a20 6661 6c73  ailed_when: fals
│ │ │ -00217400: 650a 2020 6368 6563 6b5f 6d6f 6465 3a20  e.  check_mode: 
│ │ │ -00217410: 6661 6c73 650a 2020 7768 656e 3a20 2722  false.  when: '"
│ │ │ -00217420: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ -00217430: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ -00217440: 6b61 6765 7327 0a20 2074 6167 733a 0a20  kages'.  tags:. 
│ │ │ -00217450: 202d 204e 4953 542d 3830 302d 3137 312d   - NIST-800-171-
│ │ │ -00217460: 332e 312e 3133 0a20 202d 204e 4953 542d  3.1.13.  - NIST-
│ │ │ -00217470: 3830 302d 3137 312d 332e 3133 2e31 300a  800-171-3.13.10.
│ │ │ -00217480: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -00217490: 4143 2d31 3728 6129 0a20 202d 204e 4953  AC-17(a).  - NIS
│ │ │ -002174a0: 542d 3830 302d 3533 2d41 432d 3628 3129  T-800-53-AC-6(1)
│ │ │ -002174b0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -002174c0: 2d43 4d2d 3628 6129 0a20 202d 2050 4349  -CM-6(a).  - PCI
│ │ │ -002174d0: 2d44 5353 2d52 6571 2d32 2e32 2e34 0a20  -DSS-Req-2.2.4. 
│ │ │ -002174e0: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ -002174f0: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ -00217500: 2e32 2e36 0a20 202d 2063 6f6e 6669 6775  .2.6.  - configu
│ │ │ -00217510: 7265 5f73 7472 6174 6567 790a 2020 2d20  re_strategy.  - 
│ │ │ -00217520: 6669 6c65 5f70 6572 6d69 7373 696f 6e73  file_permissions
│ │ │ -00217530: 5f73 7368 645f 7072 6976 6174 655f 6b65  _sshd_private_ke
│ │ │ -00217540: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -00217550: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -00217560: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ -00217570: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ -00217580: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -00217590: 0a0a 2d20 6e61 6d65 3a20 5365 7420 7065  ..- name: Set pe
│ │ │ -002175a0: 726d 6973 7369 6f6e 7320 666f 7220 726f  rmissions for ro
│ │ │ -002175b0: 6f74 3a72 6f6f 742d 6f77 6e65 6420 6b65  ot:root-owned ke
│ │ │ -002175c0: 7973 0a20 2061 6e73 6962 6c65 2e62 7569  ys.  ansible.bui
│ │ │ -002175d0: 6c74 696e 2e66 696c 653a 0a20 2020 2070  ltin.file:.    p
│ │ │ -002175e0: 6174 683a 2027 7b7b 2069 7465 6d20 7d7d  ath: '{{ item }}
│ │ │ -002175f0: 270a 2020 2020 6d6f 6465 3a20 752d 7873  '.    mode: u-xs
│ │ │ -00217600: 2c67 2d78 7772 732c 6f2d 7877 7274 0a20  ,g-xwrs,o-xwrt. 
│ │ │ -00217610: 2020 2073 7461 7465 3a20 6669 6c65 0a20     state: file. 
│ │ │ -00217620: 2077 6974 685f 6974 656d 733a 0a20 202d   with_items:.  -
│ │ │ -00217630: 2027 7b7b 2072 6f6f 745f 6f77 6e65 645f   '{{ root_owned_
│ │ │ -00217640: 6b65 7973 2e73 7464 6f75 745f 6c69 6e65  keys.stdout_line
│ │ │ -00217650: 7320 7d7d 270a 2020 7768 656e 3a20 2722  s }}'.  when: '"
│ │ │ -00217660: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ -00217670: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ -00217680: 6b61 6765 7327 0a20 2074 6167 733a 0a20  kages'.  tags:. 
│ │ │ -00217690: 202d 204e 4953 542d 3830 302d 3137 312d   - NIST-800-171-
│ │ │ -002176a0: 332e 312e 3133 0a20 202d 204e 4953 542d  3.1.13.  - NIST-
│ │ │ -002176b0: 3830 302d 3137 312d 332e 3133 2e31 300a  800-171-3.13.10.
│ │ │ -002176c0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -002176d0: 4143 2d31 3728 6129 0a20 202d 204e 4953  AC-17(a).  - NIS
│ │ │ -002176e0: 542d 3830 302d 3533 2d41 432d 3628 3129  T-800-53-AC-6(1)
│ │ │ -002176f0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -00217700: 2d43 4d2d 3628 6129 0a20 202d 2050 4349  -CM-6(a).  - PCI
│ │ │ -00217710: 2d44 5353 2d52 6571 2d32 2e32 2e34 0a20  -DSS-Req-2.2.4. 
│ │ │ -00217720: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ -00217730: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ -00217740: 2e32 2e36 0a20 202d 2063 6f6e 6669 6775  .2.6.  - configu
│ │ │ -00217750: 7265 5f73 7472 6174 6567 790a 2020 2d20  re_strategy.  - 
│ │ │ -00217760: 6669 6c65 5f70 6572 6d69 7373 696f 6e73  file_permissions
│ │ │ -00217770: 5f73 7368 645f 7072 6976 6174 655f 6b65  _sshd_private_ke
│ │ │ -00217780: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -00217790: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -002177a0: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ -002177b0: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ -002177c0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +00216e70: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69  tion Ansible sni
│ │ │ +00216e80: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e  ppet ...
│ │ │ +00216e90: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
- 
│ │ │ +00216fc0: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ +00216fd0: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ +00216fe0: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ +00216ff0: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ +00217000: 6f0a 2020 7461 6773 3a0a 2020 2d20 4e49  o.  tags:.  - NI
│ │ │ +00217010: 5354 2d38 3030 2d31 3731 2d33 2e31 2e31  ST-800-171-3.1.1
│ │ │ +00217020: 330a 2020 2d20 4e49 5354 2d38 3030 2d31  3.  - NIST-800-1
│ │ │ +00217030: 3731 2d33 2e31 332e 3130 0a20 202d 204e  71-3.13.10.  - N
│ │ │ +00217040: 4953 542d 3830 302d 3533 2d41 432d 3137  IST-800-53-AC-17
│ │ │ +00217050: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ +00217060: 2d35 332d 4143 2d36 2831 290a 2020 2d20  -53-AC-6(1).  - 
│ │ │ +00217070: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ +00217080: 2861 290a 2020 2d20 5043 492d 4453 532d  (a).  - PCI-DSS-
│ │ │ +00217090: 5265 712d 322e 322e 340a 2020 2d20 5043  Req-2.2.4.  - PC
│ │ │ +002170a0: 492d 4453 5376 342d 322e 320a 2020 2d20  I-DSSv4-2.2.  - 
│ │ │ +002170b0: 5043 492d 4453 5376 342d 322e 322e 360a  PCI-DSSv4-2.2.6.
│ │ │ +002170c0: 2020 2d20 636f 6e66 6967 7572 655f 7374    - configure_st
│ │ │ +002170d0: 7261 7465 6779 0a20 202d 2066 696c 655f  rategy.  - file_
│ │ │ +002170e0: 7065 726d 6973 7369 6f6e 735f 7373 6864  permissions_sshd
│ │ │ +002170f0: 5f70 7269 7661 7465 5f6b 6579 0a20 202d  _private_key.  -
│ │ │ +00217100: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +00217110: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +00217120: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ +00217130: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +00217140: 626f 6f74 5f6e 6565 6465 640a 0a2d 206e  boot_needed..- n
│ │ │ +00217150: 616d 653a 2046 696e 6420 726f 6f74 3a72  ame: Find root:r
│ │ │ +00217160: 6f6f 742d 6f77 6e65 6420 6b65 7973 0a20  oot-owned keys. 
│ │ │ +00217170: 2061 6e73 6962 6c65 2e62 7569 6c74 696e   ansible.builtin
│ │ │ +00217180: 2e63 6f6d 6d61 6e64 3a20 6669 6e64 202d  .command: find -
│ │ │ +00217190: 4820 2f65 7463 2f73 7368 2f20 2d6d 6178  H /etc/ssh/ -max
│ │ │ +002171a0: 6465 7074 6820 3120 2d75 7365 7220 726f  depth 1 -user ro
│ │ │ +002171b0: 6f74 202d 7265 6765 7820 222e 2a5f 6b65  ot -regex ".*_ke
│ │ │ +002171c0: 7924 220a 2020 2020 2d74 7970 6520 6620  y$".    -type f 
│ │ │ +002171d0: 2d67 726f 7570 2072 6f6f 7420 2d70 6572  -group root -per
│ │ │ +002171e0: 6d20 2f75 2b78 732c 672b 7877 7273 2c6f  m /u+xs,g+xwrs,o
│ │ │ +002171f0: 2b78 7772 740a 2020 7265 6769 7374 6572  +xwrt.  register
│ │ │ +00217200: 3a20 726f 6f74 5f6f 776e 6564 5f6b 6579  : root_owned_key
│ │ │ +00217210: 730a 2020 6368 616e 6765 645f 7768 656e  s.  changed_when
│ │ │ +00217220: 3a20 6661 6c73 650a 2020 6661 696c 6564  : false.  failed
│ │ │ +00217230: 5f77 6865 6e3a 2066 616c 7365 0a20 2063  _when: false.  c
│ │ │ +00217240: 6865 636b 5f6d 6f64 653a 2066 616c 7365  heck_mode: false
│ │ │ +00217250: 0a20 2077 6865 6e3a 2027 226c 696e 7578  .  when: '"linux
│ │ │ +00217260: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ +00217270: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +00217280: 270a 2020 7461 6773 3a0a 2020 2d20 4e49  '.  tags:.  - NI
│ │ │ +00217290: 5354 2d38 3030 2d31 3731 2d33 2e31 2e31  ST-800-171-3.1.1
│ │ │ +002172a0: 330a 2020 2d20 4e49 5354 2d38 3030 2d31  3.  - NIST-800-1
│ │ │ +002172b0: 3731 2d33 2e31 332e 3130 0a20 202d 204e  71-3.13.10.  - N
│ │ │ +002172c0: 4953 542d 3830 302d 3533 2d41 432d 3137  IST-800-53-AC-17
│ │ │ +002172d0: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ +002172e0: 2d35 332d 4143 2d36 2831 290a 2020 2d20  -53-AC-6(1).  - 
│ │ │ +002172f0: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ +00217300: 2861 290a 2020 2d20 5043 492d 4453 532d  (a).  - PCI-DSS-
│ │ │ +00217310: 5265 712d 322e 322e 340a 2020 2d20 5043  Req-2.2.4.  - PC
│ │ │ +00217320: 492d 4453 5376 342d 322e 320a 2020 2d20  I-DSSv4-2.2.  - 
│ │ │ +00217330: 5043 492d 4453 5376 342d 322e 322e 360a  PCI-DSSv4-2.2.6.
│ │ │ +00217340: 2020 2d20 636f 6e66 6967 7572 655f 7374    - configure_st
│ │ │ +00217350: 7261 7465 6779 0a20 202d 2066 696c 655f  rategy.  - file_
│ │ │ +00217360: 7065 726d 6973 7369 6f6e 735f 7373 6864  permissions_sshd
│ │ │ +00217370: 5f70 7269 7661 7465 5f6b 6579 0a20 202d  _private_key.  -
│ │ │ +00217380: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +00217390: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +002173a0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ +002173b0: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +002173c0: 626f 6f74 5f6e 6565 6465 640a 0a2d 206e  boot_needed..- n
│ │ │ +002173d0: 616d 653a 2053 6574 2070 6572 6d69 7373  ame: Set permiss
│ │ │ +002173e0: 696f 6e73 2066 6f72 2072 6f6f 743a 726f  ions for root:ro
│ │ │ +002173f0: 6f74 2d6f 776e 6564 206b 6579 730a 2020  ot-owned keys.  
│ │ │ +00217400: 616e 7369 626c 652e 6275 696c 7469 6e2e  ansible.builtin.
│ │ │ +00217410: 6669 6c65 3a0a 2020 2020 7061 7468 3a20  file:.    path: 
│ │ │ +00217420: 277b 7b20 6974 656d 207d 7d27 0a20 2020  '{{ item }}'.   
│ │ │ +00217430: 206d 6f64 653a 2075 2d78 732c 672d 7877   mode: u-xs,g-xw
│ │ │ +00217440: 7273 2c6f 2d78 7772 740a 2020 2020 7374  rs,o-xwrt.    st
│ │ │ +00217450: 6174 653a 2066 696c 650a 2020 7769 7468  ate: file.  with
│ │ │ +00217460: 5f69 7465 6d73 3a0a 2020 2d20 277b 7b20  _items:.  - '{{ 
│ │ │ +00217470: 726f 6f74 5f6f 776e 6564 5f6b 6579 732e  root_owned_keys.
│ │ │ +00217480: 7374 646f 7574 5f6c 696e 6573 207d 7d27  stdout_lines }}'
│ │ │ +00217490: 0a20 2077 6865 6e3a 2027 226c 696e 7578  .  when: '"linux
│ │ │ +002174a0: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ +002174b0: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ +002174c0: 270a 2020 7461 6773 3a0a 2020 2d20 4e49  '.  tags:.  - NI
│ │ │ +002174d0: 5354 2d38 3030 2d31 3731 2d33 2e31 2e31  ST-800-171-3.1.1
│ │ │ +002174e0: 330a 2020 2d20 4e49 5354 2d38 3030 2d31  3.  - NIST-800-1
│ │ │ +002174f0: 3731 2d33 2e31 332e 3130 0a20 202d 204e  71-3.13.10.  - N
│ │ │ +00217500: 4953 542d 3830 302d 3533 2d41 432d 3137  IST-800-53-AC-17
│ │ │ +00217510: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ +00217520: 2d35 332d 4143 2d36 2831 290a 2020 2d20  -53-AC-6(1).  - 
│ │ │ +00217530: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ +00217540: 2861 290a 2020 2d20 5043 492d 4453 532d  (a).  - PCI-DSS-
│ │ │ +00217550: 5265 712d 322e 322e 340a 2020 2d20 5043  Req-2.2.4.  - PC
│ │ │ +00217560: 492d 4453 5376 342d 322e 320a 2020 2d20  I-DSSv4-2.2.  - 
│ │ │ +00217570: 5043 492d 4453 5376 342d 322e 322e 360a  PCI-DSSv4-2.2.6.
│ │ │ +00217580: 2020 2d20 636f 6e66 6967 7572 655f 7374    - configure_st
│ │ │ +00217590: 7261 7465 6779 0a20 202d 2066 696c 655f  rategy.  - file_
│ │ │ +002175a0: 7065 726d 6973 7369 6f6e 735f 7373 6864  permissions_sshd
│ │ │ +002175b0: 5f70 7269 7661 7465 5f6b 6579 0a20 202d  _private_key.  -
│ │ │ +002175c0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +002175d0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +002175e0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ +002175f0: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +00217600: 626f 6f74 5f6e 6565 6465 640a 3c2f 636f  boot_needed.
< │ │ │ +00217620: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +00217630: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +00217640: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +00217650: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +00217660: 646d 3237 3232 3222 2074 6162 696e 6465 dm27222" tabinde │ │ │ +00217670: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +00217680: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +00217690: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +002176a0: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +002176b0: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +002176c0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +002176d0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
include ssh_p
│ │ │ +00217730: 7269 7661 7465 5f6b 6579 5f70 6572 6d73  rivate_key_perms
│ │ │ +00217740: 0a0a 636c 6173 7320 7373 685f 7072 6976  ..class ssh_priv
│ │ │ +00217750: 6174 655f 6b65 795f 7065 726d 7320 7b0a  ate_key_perms {.
│ │ │ +00217760: 2020 6578 6563 207b 2027 7373 6864 5f70    exec { 'sshd_p
│ │ │ +00217770: 7269 765f 6b65 7927 3a0a 2020 2020 636f  riv_key':.    co
│ │ │ +00217780: 6d6d 616e 6420 3d26 6774 3b20 2263 686d  mmand => "chm
│ │ │ +00217790: 6f64 2030 3634 3020 2f65 7463 2f73 7368  od 0640 /etc/ssh
│ │ │ +002177a0: 2f2a 5f6b 6579 222c 0a20 2020 2070 6174  /*_key",.    pat
│ │ │ +002177b0: 6820 2020 203d 2667 743b 2027 2f62 696e  h    => '/bin
│ │ │ +002177c0: 3a2f 7573 722f 6269 6e27 0a20 207d 0a7d  :/usr/bin'.  }.}
│ │ │  002177d0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Re │ │ │ -00218ca0: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -00218cb0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -00218cc0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
include ssh_pu
│ │ │ -00218d10: 626c 6963 5f6b 6579 5f70 6572 6d73 0a0a  blic_key_perms..
│ │ │ -00218d20: 636c 6173 7320 7373 685f 7075 626c 6963  class ssh_public
│ │ │ -00218d30: 5f6b 6579 5f70 6572 6d73 207b 0a20 2065  _key_perms {.  e
│ │ │ -00218d40: 7865 6320 7b20 2773 7368 645f 7075 625f  xec { 'sshd_pub_
│ │ │ -00218d50: 6b65 7927 3a0a 2020 2020 636f 6d6d 616e  key':.    comman
│ │ │ -00218d60: 6420 3d26 6774 3b20 2263 686d 6f64 2030  d => "chmod 0
│ │ │ -00218d70: 3634 3420 2f65 7463 2f73 7368 2f2a 2e70  644 /etc/ssh/*.p
│ │ │ -00218d80: 7562 222c 0a20 2020 2070 6174 6820 2020  ub",.    path   
│ │ │ -00218d90: 203d 2667 743b 2027 2f62 696e 3a2f 7573   => '/bin:/us
│ │ │ -00218da0: 722f 6269 6e27 0a20 207d 0a7d 0a3c 2f63  r/bin'.  }.}.
│ │ │ -00218dc0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ -00218e60: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi │ │ │ -00218e70: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...< │ │ │ -00218e80: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Com │ │ │ +00216f10: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +00216f40: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +00216f60: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +00216f70: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +00216f90: 2f74 683e 3c74 643e 636f 6e66 6967 7572 /th>configur │ │ │ +00216fa0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
│ │ │ -00218f00: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -00218f20: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -00218f70: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472
Complexity:< │ │ │ -00218f10: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -00218f30: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -00218f80: 6174 6567 793a 3c2f 7468 3e3c 7464 3e63 ategy:c │ │ │ -00218f90: 6f6e 6669 6775 7265 3c2f 7464 3e3c 2f74 onfigure
<
│ │ │ -00218fb0: 636f 6465 3e2d 206e 616d 653a 2047 6174  code>- name: Gat
│ │ │ -00218fc0: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ -00218fd0: 6661 6374 730a 2020 7061 636b 6167 655f  facts.  package_
│ │ │ -00218fe0: 6661 6374 733a 0a20 2020 206d 616e 6167  facts:.    manag
│ │ │ -00218ff0: 6572 3a20 6175 746f 0a20 2074 6167 733a  er: auto.  tags:
│ │ │ -00219000: 0a20 202d 204e 4953 542d 3830 302d 3137  .  - NIST-800-17
│ │ │ -00219010: 312d 332e 312e 3133 0a20 202d 204e 4953  1-3.1.13.  - NIS
│ │ │ -00219020: 542d 3830 302d 3137 312d 332e 3133 2e31  T-800-171-3.13.1
│ │ │ -00219030: 300a 2020 2d20 4e49 5354 2d38 3030 2d35  0.  - NIST-800-5
│ │ │ -00219040: 332d 4143 2d31 3728 6129 0a20 202d 204e  3-AC-17(a).  - N
│ │ │ -00219050: 4953 542d 3830 302d 3533 2d41 432d 3628  IST-800-53-AC-6(
│ │ │ -00219060: 3129 0a20 202d 204e 4953 542d 3830 302d  1).  - NIST-800-
│ │ │ -00219070: 3533 2d43 4d2d 3628 6129 0a20 202d 2050  53-CM-6(a).  - P
│ │ │ -00219080: 4349 2d44 5353 2d52 6571 2d32 2e32 2e34  CI-DSS-Req-2.2.4
│ │ │ -00219090: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ -002190a0: 2e32 0a20 202d 2050 4349 2d44 5353 7634  .2.  - PCI-DSSv4
│ │ │ -002190b0: 2d32 2e32 2e36 0a20 202d 2063 6f6e 6669  -2.2.6.  - confi
│ │ │ -002190c0: 6775 7265 5f73 7472 6174 6567 790a 2020  gure_strategy.  
│ │ │ -002190d0: 2d20 6669 6c65 5f70 6572 6d69 7373 696f  - file_permissio
│ │ │ -002190e0: 6e73 5f73 7368 645f 7075 625f 6b65 790a  ns_sshd_pub_key.
│ │ │ -002190f0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -00219100: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -00219110: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -00219120: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ -00219130: 5f72 6562 6f6f 745f 6e65 6564 6564 0a0a  _reboot_needed..
│ │ │ -00219140: 2d20 6e61 6d65 3a20 4669 6e64 202f 6574  - name: Find /et
│ │ │ -00219150: 632f 7373 682f 2066 696c 6528 7329 0a20  c/ssh/ file(s). 
│ │ │ -00219160: 2063 6f6d 6d61 6e64 3a20 6669 6e64 202d   command: find -
│ │ │ -00219170: 4820 2f65 7463 2f73 7368 2f20 2d6d 6178  H /etc/ssh/ -max
│ │ │ -00219180: 6465 7074 6820 3120 2d70 6572 6d20 2f75  depth 1 -perm /u
│ │ │ -00219190: 2b78 732c 672b 7877 732c 6f2b 7877 7420  +xs,g+xws,o+xwt 
│ │ │ -002191a0: 202d 7479 7065 2066 202d 7265 6765 7874   -type f -regext
│ │ │ -002191b0: 7970 650a 2020 2020 706f 7369 782d 6578  ype.    posix-ex
│ │ │ -002191c0: 7465 6e64 6564 202d 7265 6765 7820 225e  tended -regex "^
│ │ │ -002191d0: 2e2a 5c2e 7075 6224 220a 2020 7265 6769  .*\.pub$".  regi
│ │ │ -002191e0: 7374 6572 3a20 6669 6c65 735f 666f 756e  ster: files_foun
│ │ │ -002191f0: 640a 2020 6368 616e 6765 645f 7768 656e  d.  changed_when
│ │ │ -00219200: 3a20 6661 6c73 650a 2020 6661 696c 6564  : false.  failed
│ │ │ -00219210: 5f77 6865 6e3a 2066 616c 7365 0a20 2063  _when: false.  c
│ │ │ -00219220: 6865 636b 5f6d 6f64 653a 2066 616c 7365  heck_mode: false
│ │ │ -00219230: 0a20 2077 6865 6e3a 2027 226c 696e 7578  .  when: '"linux
│ │ │ -00219240: 2d62 6173 6522 2069 6e20 616e 7369 626c  -base" in ansibl
│ │ │ -00219250: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ -00219260: 270a 2020 7461 6773 3a0a 2020 2d20 4e49  '.  tags:.  - NI
│ │ │ -00219270: 5354 2d38 3030 2d31 3731 2d33 2e31 2e31  ST-800-171-3.1.1
│ │ │ -00219280: 330a 2020 2d20 4e49 5354 2d38 3030 2d31  3.  - NIST-800-1
│ │ │ -00219290: 3731 2d33 2e31 332e 3130 0a20 202d 204e  71-3.13.10.  - N
│ │ │ -002192a0: 4953 542d 3830 302d 3533 2d41 432d 3137  IST-800-53-AC-17
│ │ │ -002192b0: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ -002192c0: 2d35 332d 4143 2d36 2831 290a 2020 2d20  -53-AC-6(1).  - 
│ │ │ -002192d0: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ -002192e0: 2861 290a 2020 2d20 5043 492d 4453 532d  (a).  - PCI-DSS-
│ │ │ -002192f0: 5265 712d 322e 322e 340a 2020 2d20 5043  Req-2.2.4.  - PC
│ │ │ -00219300: 492d 4453 5376 342d 322e 320a 2020 2d20  I-DSSv4-2.2.  - 
│ │ │ -00219310: 5043 492d 4453 5376 342d 322e 322e 360a  PCI-DSSv4-2.2.6.
│ │ │ -00219320: 2020 2d20 636f 6e66 6967 7572 655f 7374    - configure_st
│ │ │ -00219330: 7261 7465 6779 0a20 202d 2066 696c 655f  rategy.  - file_
│ │ │ -00219340: 7065 726d 6973 7369 6f6e 735f 7373 6864  permissions_sshd
│ │ │ -00219350: 5f70 7562 5f6b 6579 0a20 202d 206c 6f77  _pub_key.  - low
│ │ │ -00219360: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -00219370: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -00219380: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ -00219390: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ -002193a0: 5f6e 6565 6465 640a 0a2d 206e 616d 653a  _needed..- name:
│ │ │ -002193b0: 2053 6574 2070 6572 6d69 7373 696f 6e73   Set permissions
│ │ │ -002193c0: 2066 6f72 202f 6574 632f 7373 682f 2066   for /etc/ssh/ f
│ │ │ -002193d0: 696c 6528 7329 0a20 2066 696c 653a 0a20  ile(s).  file:. 
│ │ │ -002193e0: 2020 2070 6174 683a 2027 7b7b 2069 7465     path: '{{ ite
│ │ │ -002193f0: 6d20 7d7d 270a 2020 2020 6d6f 6465 3a20  m }}'.    mode: 
│ │ │ -00219400: 752d 7873 2c67 2d78 7773 2c6f 2d78 7774  u-xs,g-xws,o-xwt
│ │ │ -00219410: 0a20 2020 2073 7461 7465 3a20 6669 6c65  .    state: file
│ │ │ -00219420: 0a20 2077 6974 685f 6974 656d 733a 0a20  .  with_items:. 
│ │ │ -00219430: 202d 2027 7b7b 2066 696c 6573 5f66 6f75   - '{{ files_fou
│ │ │ -00219440: 6e64 2e73 7464 6f75 745f 6c69 6e65 7320  nd.stdout_lines 
│ │ │ -00219450: 7d7d 270a 2020 7768 656e 3a20 2722 6c69  }}'.  when: '"li
│ │ │ -00219460: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ -00219470: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -00219480: 6765 7327 0a20 2074 6167 733a 0a20 202d  ges'.  tags:.  -
│ │ │ -00219490: 204e 4953 542d 3830 302d 3137 312d 332e   NIST-800-171-3.
│ │ │ -002194a0: 312e 3133 0a20 202d 204e 4953 542d 3830  1.13.  - NIST-80
│ │ │ -002194b0: 302d 3137 312d 332e 3133 2e31 300a 2020  0-171-3.13.10.  
│ │ │ -002194c0: 2d20 4e49 5354 2d38 3030 2d35 332d 4143  - NIST-800-53-AC
│ │ │ -002194d0: 2d31 3728 6129 0a20 202d 204e 4953 542d  -17(a).  - NIST-
│ │ │ -002194e0: 3830 302d 3533 2d41 432d 3628 3129 0a20  800-53-AC-6(1). 
│ │ │ -002194f0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -00219500: 4d2d 3628 6129 0a20 202d 2050 4349 2d44  M-6(a).  - PCI-D
│ │ │ -00219510: 5353 2d52 6571 2d32 2e32 2e34 0a20 202d  SS-Req-2.2.4.  -
│ │ │ -00219520: 2050 4349 2d44 5353 7634 2d32 2e32 0a20   PCI-DSSv4-2.2. 
│ │ │ -00219530: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ -00219540: 2e36 0a20 202d 2063 6f6e 6669 6775 7265  .6.  - configure
│ │ │ -00219550: 5f73 7472 6174 6567 790a 2020 2d20 6669  _strategy.  - fi
│ │ │ -00219560: 6c65 5f70 6572 6d69 7373 696f 6e73 5f73  le_permissions_s
│ │ │ -00219570: 7368 645f 7075 625f 6b65 790a 2020 2d20  shd_pub_key.  - 
│ │ │ -00219580: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -00219590: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -002195a0: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ -002195b0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -002195c0: 6f6f 745f 6e65 6564 6564 0a3c 2f63 6f64  oot_needed.
Complexity: │ │ │ +00218d90: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +00218da0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f │ │ │ +00218de0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
low
Disru │ │ │ +00218d70: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +00218d80: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +00218dc0: 6567 793a 3c2f 7468 3e3c 7464 3e63 6f6e egy:con │ │ │ +00218dd0: 6669 6775 7265 3c2f 7464 3e3c 2f74 723e figure
- name: Gathe
│ │ │ +00218e00: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ +00218e10: 6374 730a 2020 7061 636b 6167 655f 6661  cts.  package_fa
│ │ │ +00218e20: 6374 733a 0a20 2020 206d 616e 6167 6572  cts:.    manager
│ │ │ +00218e30: 3a20 6175 746f 0a20 2074 6167 733a 0a20  : auto.  tags:. 
│ │ │ +00218e40: 202d 204e 4953 542d 3830 302d 3137 312d   - NIST-800-171-
│ │ │ +00218e50: 332e 312e 3133 0a20 202d 204e 4953 542d  3.1.13.  - NIST-
│ │ │ +00218e60: 3830 302d 3137 312d 332e 3133 2e31 300a  800-171-3.13.10.
│ │ │ +00218e70: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +00218e80: 4143 2d31 3728 6129 0a20 202d 204e 4953  AC-17(a).  - NIS
│ │ │ +00218e90: 542d 3830 302d 3533 2d41 432d 3628 3129  T-800-53-AC-6(1)
│ │ │ +00218ea0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +00218eb0: 2d43 4d2d 3628 6129 0a20 202d 2050 4349  -CM-6(a).  - PCI
│ │ │ +00218ec0: 2d44 5353 2d52 6571 2d32 2e32 2e34 0a20  -DSS-Req-2.2.4. 
│ │ │ +00218ed0: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ +00218ee0: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ +00218ef0: 2e32 2e36 0a20 202d 2063 6f6e 6669 6775  .2.6.  - configu
│ │ │ +00218f00: 7265 5f73 7472 6174 6567 790a 2020 2d20  re_strategy.  - 
│ │ │ +00218f10: 6669 6c65 5f70 6572 6d69 7373 696f 6e73  file_permissions
│ │ │ +00218f20: 5f73 7368 645f 7075 625f 6b65 790a 2020  _sshd_pub_key.  
│ │ │ +00218f30: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +00218f40: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +00218f50: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ +00218f60: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +00218f70: 6562 6f6f 745f 6e65 6564 6564 0a0a 2d20  eboot_needed..- 
│ │ │ +00218f80: 6e61 6d65 3a20 4669 6e64 202f 6574 632f  name: Find /etc/
│ │ │ +00218f90: 7373 682f 2066 696c 6528 7329 0a20 2063  ssh/ file(s).  c
│ │ │ +00218fa0: 6f6d 6d61 6e64 3a20 6669 6e64 202d 4820  ommand: find -H 
│ │ │ +00218fb0: 2f65 7463 2f73 7368 2f20 2d6d 6178 6465  /etc/ssh/ -maxde
│ │ │ +00218fc0: 7074 6820 3120 2d70 6572 6d20 2f75 2b78  pth 1 -perm /u+x
│ │ │ +00218fd0: 732c 672b 7877 732c 6f2b 7877 7420 202d  s,g+xws,o+xwt  -
│ │ │ +00218fe0: 7479 7065 2066 202d 7265 6765 7874 7970  type f -regextyp
│ │ │ +00218ff0: 650a 2020 2020 706f 7369 782d 6578 7465  e.    posix-exte
│ │ │ +00219000: 6e64 6564 202d 7265 6765 7820 225e 2e2a  nded -regex "^.*
│ │ │ +00219010: 5c2e 7075 6224 220a 2020 7265 6769 7374  \.pub$".  regist
│ │ │ +00219020: 6572 3a20 6669 6c65 735f 666f 756e 640a  er: files_found.
│ │ │ +00219030: 2020 6368 616e 6765 645f 7768 656e 3a20    changed_when: 
│ │ │ +00219040: 6661 6c73 650a 2020 6661 696c 6564 5f77  false.  failed_w
│ │ │ +00219050: 6865 6e3a 2066 616c 7365 0a20 2063 6865  hen: false.  che
│ │ │ +00219060: 636b 5f6d 6f64 653a 2066 616c 7365 0a20  ck_mode: false. 
│ │ │ +00219070: 2077 6865 6e3a 2027 226c 696e 7578 2d62   when: '"linux-b
│ │ │ +00219080: 6173 6522 2069 6e20 616e 7369 626c 655f  ase" in ansible_
│ │ │ +00219090: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ +002190a0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ +002190b0: 2d38 3030 2d31 3731 2d33 2e31 2e31 330a  -800-171-3.1.13.
│ │ │ +002190c0: 2020 2d20 4e49 5354 2d38 3030 2d31 3731    - NIST-800-171
│ │ │ +002190d0: 2d33 2e31 332e 3130 0a20 202d 204e 4953  -3.13.10.  - NIS
│ │ │ +002190e0: 542d 3830 302d 3533 2d41 432d 3137 2861  T-800-53-AC-17(a
│ │ │ +002190f0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +00219100: 332d 4143 2d36 2831 290a 2020 2d20 4e49  3-AC-6(1).  - NI
│ │ │ +00219110: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +00219120: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ +00219130: 712d 322e 322e 340a 2020 2d20 5043 492d  q-2.2.4.  - PCI-
│ │ │ +00219140: 4453 5376 342d 322e 320a 2020 2d20 5043  DSSv4-2.2.  - PC
│ │ │ +00219150: 492d 4453 5376 342d 322e 322e 360a 2020  I-DSSv4-2.2.6.  
│ │ │ +00219160: 2d20 636f 6e66 6967 7572 655f 7374 7261  - configure_stra
│ │ │ +00219170: 7465 6779 0a20 202d 2066 696c 655f 7065  tegy.  - file_pe
│ │ │ +00219180: 726d 6973 7369 6f6e 735f 7373 6864 5f70  rmissions_sshd_p
│ │ │ +00219190: 7562 5f6b 6579 0a20 202d 206c 6f77 5f63  ub_key.  - low_c
│ │ │ +002191a0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +002191b0: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +002191c0: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ +002191d0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +002191e0: 6565 6465 640a 0a2d 206e 616d 653a 2053  eeded..- name: S
│ │ │ +002191f0: 6574 2070 6572 6d69 7373 696f 6e73 2066  et permissions f
│ │ │ +00219200: 6f72 202f 6574 632f 7373 682f 2066 696c  or /etc/ssh/ fil
│ │ │ +00219210: 6528 7329 0a20 2066 696c 653a 0a20 2020  e(s).  file:.   
│ │ │ +00219220: 2070 6174 683a 2027 7b7b 2069 7465 6d20   path: '{{ item 
│ │ │ +00219230: 7d7d 270a 2020 2020 6d6f 6465 3a20 752d  }}'.    mode: u-
│ │ │ +00219240: 7873 2c67 2d78 7773 2c6f 2d78 7774 0a20  xs,g-xws,o-xwt. 
│ │ │ +00219250: 2020 2073 7461 7465 3a20 6669 6c65 0a20     state: file. 
│ │ │ +00219260: 2077 6974 685f 6974 656d 733a 0a20 202d   with_items:.  -
│ │ │ +00219270: 2027 7b7b 2066 696c 6573 5f66 6f75 6e64   '{{ files_found
│ │ │ +00219280: 2e73 7464 6f75 745f 6c69 6e65 7320 7d7d  .stdout_lines }}
│ │ │ +00219290: 270a 2020 7768 656e 3a20 2722 6c69 6e75  '.  when: '"linu
│ │ │ +002192a0: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ +002192b0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +002192c0: 7327 0a20 2074 6167 733a 0a20 202d 204e  s'.  tags:.  - N
│ │ │ +002192d0: 4953 542d 3830 302d 3137 312d 332e 312e  IST-800-171-3.1.
│ │ │ +002192e0: 3133 0a20 202d 204e 4953 542d 3830 302d  13.  - NIST-800-
│ │ │ +002192f0: 3137 312d 332e 3133 2e31 300a 2020 2d20  171-3.13.10.  - 
│ │ │ +00219300: 4e49 5354 2d38 3030 2d35 332d 4143 2d31  NIST-800-53-AC-1
│ │ │ +00219310: 3728 6129 0a20 202d 204e 4953 542d 3830  7(a).  - NIST-80
│ │ │ +00219320: 302d 3533 2d41 432d 3628 3129 0a20 202d  0-53-AC-6(1).  -
│ │ │ +00219330: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +00219340: 3628 6129 0a20 202d 2050 4349 2d44 5353  6(a).  - PCI-DSS
│ │ │ +00219350: 2d52 6571 2d32 2e32 2e34 0a20 202d 2050  -Req-2.2.4.  - P
│ │ │ +00219360: 4349 2d44 5353 7634 2d32 2e32 0a20 202d  CI-DSSv4-2.2.  -
│ │ │ +00219370: 2050 4349 2d44 5353 7634 2d32 2e32 2e36   PCI-DSSv4-2.2.6
│ │ │ +00219380: 0a20 202d 2063 6f6e 6669 6775 7265 5f73  .  - configure_s
│ │ │ +00219390: 7472 6174 6567 790a 2020 2d20 6669 6c65  trategy.  - file
│ │ │ +002193a0: 5f70 6572 6d69 7373 696f 6e73 5f73 7368  _permissions_ssh
│ │ │ +002193b0: 645f 7075 625f 6b65 790a 2020 2d20 6c6f  d_pub_key.  - lo
│ │ │ +002193c0: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ +002193d0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ +002193e0: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ +002193f0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ +00219400: 745f 6e65 6564 6564 0a3c 2f63 6f64 653e  t_needed.
│ │ │ +00219410: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ +002194c0: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ +002194d0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...

│ │ │ +00219520: 696e 636c 7564 6520 7373 685f 7075 626c  include ssh_publ
│ │ │ +00219530: 6963 5f6b 6579 5f70 6572 6d73 0a0a 636c  ic_key_perms..cl
│ │ │ +00219540: 6173 7320 7373 685f 7075 626c 6963 5f6b  ass ssh_public_k
│ │ │ +00219550: 6579 5f70 6572 6d73 207b 0a20 2065 7865  ey_perms {.  exe
│ │ │ +00219560: 6320 7b20 2773 7368 645f 7075 625f 6b65  c { 'sshd_pub_ke
│ │ │ +00219570: 7927 3a0a 2020 2020 636f 6d6d 616e 6420  y':.    command 
│ │ │ +00219580: 3d26 6774 3b20 2263 686d 6f64 2030 3634  => "chmod 064
│ │ │ +00219590: 3420 2f65 7463 2f73 7368 2f2a 2e70 7562  4 /etc/ssh/*.pub
│ │ │ +002195a0: 222c 0a20 2020 2070 6174 6820 2020 203d  ",.    path    =
│ │ │ +002195b0: 2667 743b 2027 2f62 696e 3a2f 7573 722f  > '/bin:/usr/
│ │ │ +002195c0: 6269 6e27 0a20 207d 0a7d 0a3c 2f63 6f64  bin'.  }.}.
'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -178,14 +161,31 @@ │ │ │ │ - PCI-DSSv4-11.5.2 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_aide_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_aide │ │ │ │ + │ │ │ │ +class install_aide { │ │ │ │ + package { 'aide': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "aide" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -830,26 +830,14 @@ │ │ │ │ $ apt-get remove prelink │ │ │ │ The use of the prelink package can interfere with the operation of AIDE since it │ │ │ │ Rationale: binaries. Prelinking can also increase damage caused by vulnerability in a common library │ │ │ │ like libc. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_prelink_removed │ │ │ │ References: _c_i_s 1.5.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_prelink │ │ │ │ - │ │ │ │ -class remove_prelink { │ │ │ │ - package { 'prelink': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: medium │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Check If Prelinked Is Installed │ │ │ │ ansible.builtin.stat: │ │ │ │ @@ -883,14 +871,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_disruption │ │ │ │ - medium_complexity │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_prelink_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_prelink │ │ │ │ + │ │ │ │ +class remove_prelink { │ │ │ │ + package { 'prelink': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: medium │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ if [[ -f /usr/sbin/prelink ]]; │ │ │ │ @@ -1611,31 +1611,14 @@ │ │ │ │ _i_s_m 1382, 1384, 1386 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ References: _o_s_p_p FMT_MOF_EXT.1 │ │ │ │ _o_s_-_s_r_g SRG-OS-000324-GPOS-00125 │ │ │ │ _c_i_s 5.3.1 │ │ │ │ _a_n_s_s_i R33 │ │ │ │ _p_c_i_d_s_s_4 2.2.6, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "sudo" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_sudo │ │ │ │ - │ │ │ │ -class install_sudo { │ │ │ │ - package { 'sudo': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -1662,14 +1645,31 @@ │ │ │ │ - PCI-DSSv4-2.2.6 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_sudo_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_sudo │ │ │ │ + │ │ │ │ +class install_sudo { │ │ │ │ + package { 'sudo': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "sudo" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -5155,31 +5155,14 @@ │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_pam_pwquality_installed │ │ │ │ _d_i_s_a CCI-000366 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00225 │ │ │ │ References: _s_t_i_g_i_d UBTU-22-215010 │ │ │ │ _c_i_s 5.4.1 │ │ │ │ _s_t_i_g_r_e_f SV-260478r991587_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "libpam-pwquality" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_libpam-pwquality │ │ │ │ - │ │ │ │ -class install_libpam-pwquality { │ │ │ │ - package { 'libpam-pwquality': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -5202,14 +5185,31 @@ │ │ │ │ - DISA-STIG-UBTU-22-215010 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_pam_pwquality_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_libpam-pwquality │ │ │ │ + │ │ │ │ +class install_libpam-pwquality { │ │ │ │ + package { 'libpam-pwquality': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "libpam-pwquality" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status}\n' 'libpam-runtime' 2>/dev/null | grep - │ │ │ │ @@ -7455,31 +7455,14 @@ │ │ │ │ _d_i_s_a CCI-001764, CCI-001774, CCI-002165, CCI-002235 │ │ │ │ _o_s_-_s_r_g SRG-OS-000368-GPOS-00154, SRG-OS-000312-GPOS-00122, SRG-OS-000312-GPOS-00123, │ │ │ │ SRG-OS-000312-GPOS-00124, SRG-OS-000324-GPOS-00125, SRG-OS-000370-GPOS-00155 │ │ │ │ References: _s_t_i_g_i_d UBTU-22-431010 │ │ │ │ _c_i_s 1.6.1.1 │ │ │ │ _a_n_s_s_i R45 │ │ │ │ _s_t_i_g_r_e_f SV-260556r958702_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "apparmor" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_apparmor │ │ │ │ - │ │ │ │ -class install_apparmor { │ │ │ │ - package { 'apparmor': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Ensure apparmor is installed │ │ │ │ package: │ │ │ │ @@ -7490,14 +7473,31 @@ │ │ │ │ - DISA-STIG-UBTU-22-431010 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_apparmor_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_apparmor │ │ │ │ + │ │ │ │ +class install_apparmor { │ │ │ │ + package { 'apparmor': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "apparmor" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if [ ! -f /.dockerenv ] && [ ! -f /run/.containerenv ]; then │ │ │ │ @@ -7984,31 +7984,14 @@ │ │ │ │ Storing log data on a remote host protects log integrity from local attacks. If an │ │ │ │ Rationale: attacker gains root access on the local system, they could tamper with or remove log data │ │ │ │ that is stored on the local system. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_systemd-journal-remote_installed │ │ │ │ References: _o_s_-_s_r_g SRG-OS-000479-GPOS-00224 │ │ │ │ _c_i_s 4.2.1.1.1 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "systemd-journal-remote" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_systemd-journal-remote │ │ │ │ - │ │ │ │ -class install_systemd-journal-remote { │ │ │ │ - package { 'systemd-journal-remote': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -8029,14 +8012,31 @@ │ │ │ │ tags: │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_systemd-journal-remote_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_systemd-journal-remote │ │ │ │ + │ │ │ │ +class install_systemd-journal-remote { │ │ │ │ + package { 'systemd-journal-remote': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "systemd-journal-remote" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -8056,31 +8056,14 @@ │ │ │ │ least disruption to system processes. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_systemd-journald_enabled │ │ │ │ _d_i_s_a CCI-001665 │ │ │ │ References: _n_i_s_t SC-24 │ │ │ │ _o_s_-_s_r_g SRG-OS-000269-GPOS-00103 │ │ │ │ _c_i_s 4.2.1.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["systemd-journald"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_systemd-journald │ │ │ │ - │ │ │ │ -class enable_systemd-journald { │ │ │ │ - service {'systemd-journald': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -8114,14 +8097,31 @@ │ │ │ │ - NIST-800-53-SC-24 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_systemd-journald_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_systemd-journald │ │ │ │ + │ │ │ │ +class enable_systemd-journald { │ │ │ │ + service {'systemd-journald': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["systemd-journald"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -8841,31 +8841,14 @@ │ │ │ │ References: _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _o_s_-_s_r_g SRG-OS-000479-GPOS-00224, SRG-OS-000051-GPOS-00024, SRG-OS-000480-GPOS- │ │ │ │ 00227 │ │ │ │ _c_i_s 4.2.2.1 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "rsyslog" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_rsyslog │ │ │ │ - │ │ │ │ -class install_rsyslog { │ │ │ │ - package { 'rsyslog': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -8888,14 +8871,31 @@ │ │ │ │ - NIST-800-53-CM-6(a) │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_rsyslog_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_rsyslog │ │ │ │ + │ │ │ │ +class install_rsyslog { │ │ │ │ + package { 'rsyslog': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "rsyslog" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -8926,31 +8926,14 @@ │ │ │ │ A.15.2.1, A.15.2.2, A.17.2.1 │ │ │ │ _n_i_s_t CM-6(a), AU-4(1) │ │ │ │ _n_i_s_t_-_c_s_f DE.CM-1, DE.CM-3, DE.CM-7, ID.SC-4, PR.DS-4, PR.PT-1 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00227 │ │ │ │ _s_t_i_g_i_d UBTU-22-652010 │ │ │ │ _c_i_s 4.2.2.2 │ │ │ │ _s_t_i_g_r_e_f SV-260588r991562_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["rsyslog"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_rsyslog │ │ │ │ - │ │ │ │ -class enable_rsyslog { │ │ │ │ - service {'rsyslog': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -8988,14 +8971,31 @@ │ │ │ │ - NIST-800-53-CM-6(a) │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_rsyslog_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_rsyslog │ │ │ │ + │ │ │ │ +class enable_rsyslog { │ │ │ │ + service {'rsyslog': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["rsyslog"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -9526,31 +9526,14 @@ │ │ │ │ operators to set up firewalls and IP masquerading, etc. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_iptables_installed │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ References: _p_c_i_d_s_s Req-1.4.1 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00227 │ │ │ │ _c_i_s 3.5.3.1.1 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "iptables" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_iptables │ │ │ │ - │ │ │ │ -class install_iptables { │ │ │ │ - package { 'iptables': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -9575,14 +9558,31 @@ │ │ │ │ - PCI-DSS-Req-1.4.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_iptables_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_iptables │ │ │ │ + │ │ │ │ +class install_iptables { │ │ │ │ + package { 'iptables': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "iptables" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if ( dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -9597,26 +9597,14 @@ │ │ │ │ The iptables-persistent package can be removed with the following command: │ │ │ │ $ apt-get remove iptables-persistent │ │ │ │ Rationale: Running both ufw and the services included in the iptables-persistent package may lead to │ │ │ │ conflict. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_iptables-persistent_removed │ │ │ │ References: _c_i_s 3.5.1.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_iptables-persistent │ │ │ │ - │ │ │ │ -class remove_iptables-persistent { │ │ │ │ - package { 'iptables-persistent': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -9637,14 +9625,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_iptables-persistent_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_iptables-persistent │ │ │ │ + │ │ │ │ +class remove_iptables-persistent { │ │ │ │ + package { 'iptables-persistent': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status}\n' 'ufw' 2>/dev/null | grep -q '^installed'; │ │ │ │ @@ -14440,31 +14440,14 @@ │ │ │ │ nftables is a subsystem of the Linux kernel that can protect against threats originating │ │ │ │ Rationale: from within a corporate network to include malicious mobile code and poorly configured │ │ │ │ software on a host. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_nftables_installed │ │ │ │ References: _c_i_s 3.5.2.1 │ │ │ │ _p_c_i_d_s_s_4 1.2.1, 1.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "nftables" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_nftables │ │ │ │ - │ │ │ │ -class install_nftables { │ │ │ │ - package { 'nftables': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -14489,14 +14472,31 @@ │ │ │ │ - PCI-DSSv4-1.2.1 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_nftables_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_nftables │ │ │ │ + │ │ │ │ +class install_nftables { │ │ │ │ + package { 'nftables': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "nftables" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if ( dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -14512,31 +14512,14 @@ │ │ │ │ nftables service The nftables service can be enabled with the following command: │ │ │ │ $ sudo systemctl enable nftables.service │ │ │ │ Rationale: The nftables service restores the nftables rules from the rules files referenced in the / │ │ │ │ etc/sysconfig/nftables.conf file during boot or the starting of the nftables service │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_nftables_enabled │ │ │ │ References: _c_i_s 3.5.2.9 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["nftables"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_nftables │ │ │ │ - │ │ │ │ -class enable_nftables { │ │ │ │ - service {'nftables': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -14569,14 +14552,31 @@ │ │ │ │ tags: │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_nftables_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_nftables │ │ │ │ + │ │ │ │ +class enable_nftables { │ │ │ │ + service {'nftables': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["nftables"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if ( dpkg-query --show --showformat='${db:Status-Status}\n' 'nftables' 2>/dev/null | grep - │ │ │ │ @@ -15101,26 +15101,14 @@ │ │ │ │ ****** RRuullee? ?  RReemmoovvee uuffww PPaacckkaaggee ? ? _[[_rr_ee_ff_]] ****** │ │ │ │ The ufw package can be removed with the following command: │ │ │ │ $ apt-get remove ufw │ │ │ │ Rationale: Running iptables.persistent with ufw enabled may lead to conflict and unexpected results. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_ufw_removed │ │ │ │ References: _c_i_s 3.5.3.1.3 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_ufw │ │ │ │ - │ │ │ │ -class remove_ufw { │ │ │ │ - package { 'ufw': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -15141,14 +15129,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_ufw_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_ufw │ │ │ │ + │ │ │ │ +class remove_ufw { │ │ │ │ + package { 'ufw': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -15172,31 +15172,14 @@ │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_ufw_enabled │ │ │ │ _d_i_s_a CCI-002314 │ │ │ │ _o_s_-_s_r_g SRG-OS-000297-GPOS-00115 │ │ │ │ References: _s_t_i_g_i_d UBTU-22-251020 │ │ │ │ _c_i_s 3.5.1.3 │ │ │ │ _s_t_i_g_r_e_f SV-260516r991593_rule │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["ufw"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_ufw │ │ │ │ - │ │ │ │ -class enable_ufw { │ │ │ │ - service {'ufw': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -15232,14 +15215,31 @@ │ │ │ │ - DISA-STIG-UBTU-22-251020 │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_ufw_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_ufw │ │ │ │ + │ │ │ │ +class enable_ufw { │ │ │ │ + service {'ufw': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["ufw"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -21593,50 +21593,14 @@ │ │ │ │ $ sudo systemctl mask --now apport.service │ │ │ │ The Apport service modifies the kernel fs.suid_dumpable configuration at runtime which │ │ │ │ Rationale: prevents other hardening from being persistent. Disabling the service prevents this │ │ │ │ behavior. │ │ │ │ Severity:  unknown │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_apport_disabled │ │ │ │ References: _c_i_s 1.5.3 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -masked = ["apport"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: medium │ │ │ │ -RReebboooott:: true │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ -kind: MachineConfig │ │ │ │ -spec: │ │ │ │ - config: │ │ │ │ - ignition: │ │ │ │ - version: 3.1.0 │ │ │ │ - systemd: │ │ │ │ - units: │ │ │ │ - - name: apport.service │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ - - name: apport.socket │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include disable_apport │ │ │ │ - │ │ │ │ -class disable_apport { │ │ │ │ - service {'apport': │ │ │ │ - enable => false, │ │ │ │ - ensure => 'stopped', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -21708,14 +21672,50 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - service_apport_disabled │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: medium │ │ │ │ +RReebboooott:: true │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ +kind: MachineConfig │ │ │ │ +spec: │ │ │ │ + config: │ │ │ │ + ignition: │ │ │ │ + version: 3.1.0 │ │ │ │ + systemd: │ │ │ │ + units: │ │ │ │ + - name: apport.service │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ + - name: apport.socket │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include disable_apport │ │ │ │ + │ │ │ │ +class disable_apport { │ │ │ │ + service {'apport': │ │ │ │ + enable => false, │ │ │ │ + ensure => 'stopped', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +masked = ["apport"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status}\n' 'apport' 2>/dev/null | grep - │ │ │ │ @@ -21768,26 +21768,14 @@ │ │ │ │ SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_avahi-daemon │ │ │ │ - │ │ │ │ -class remove_avahi-daemon { │ │ │ │ - package { 'avahi-daemon': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure avahi-daemon is removed │ │ │ │ package: │ │ │ │ @@ -21799,14 +21787,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_avahi_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_avahi-daemon │ │ │ │ + │ │ │ │ +class remove_avahi-daemon { │ │ │ │ + package { 'avahi-daemon': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove avahi-daemon │ │ │ │ @@ -21835,50 +21835,14 @@ │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.2 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -masked = ["avahi-daemon"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: medium │ │ │ │ -RReebboooott:: true │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ -kind: MachineConfig │ │ │ │ -spec: │ │ │ │ - config: │ │ │ │ - ignition: │ │ │ │ - version: 3.1.0 │ │ │ │ - systemd: │ │ │ │ - units: │ │ │ │ - - name: avahi-daemon.service │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ - - name: avahi-daemon.socket │ │ │ │ - enabled: false │ │ │ │ - mask: true │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include disable_avahi-daemon │ │ │ │ - │ │ │ │ -class disable_avahi-daemon { │ │ │ │ - service {'avahi-daemon': │ │ │ │ - enable => false, │ │ │ │ - ensure => 'stopped', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -21979,14 +21943,50 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_avahi-daemon_disabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _K_u_b_e_r_n_e_t_e_s_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: medium │ │ │ │ +RReebboooott:: true │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +apiVersion: machineconfiguration.openshift.io/v1 │ │ │ │ +kind: MachineConfig │ │ │ │ +spec: │ │ │ │ + config: │ │ │ │ + ignition: │ │ │ │ + version: 3.1.0 │ │ │ │ + systemd: │ │ │ │ + units: │ │ │ │ + - name: avahi-daemon.service │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ + - name: avahi-daemon.socket │ │ │ │ + enabled: false │ │ │ │ + mask: true │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include disable_avahi-daemon │ │ │ │ + │ │ │ │ +class disable_avahi-daemon { │ │ │ │ + service {'avahi-daemon': │ │ │ │ + enable => false, │ │ │ │ + ensure => 'stopped', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +masked = ["avahi-daemon"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if ( dpkg-query --show --showformat='${db:Status-Status}\n' 'avahi-daemon' 2>/dev/null | grep - │ │ │ │ @@ -22643,31 +22643,14 @@ │ │ │ │ SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 5.1.1 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["cron"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_cron │ │ │ │ - │ │ │ │ -class enable_cron { │ │ │ │ - service {'cron': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -22701,14 +22684,31 @@ │ │ │ │ - NIST-800-53-CM-6(a) │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_cron_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_cron │ │ │ │ + │ │ │ │ +class enable_cron { │ │ │ │ + service {'cron': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["cron"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -24230,26 +24230,14 @@ │ │ │ │ The support for Yellowpages should not be installed unless it is required. │ │ │ │ NIS is the historical SUN service for central account management, more and more replaced │ │ │ │ Rationale: by LDAP. NIS does not support efficiently security constraints, ACL, etc. and should not │ │ │ │ be used. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_nis_removed │ │ │ │ References: _c_i_s 2.2.14 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_nis │ │ │ │ - │ │ │ │ -class remove_nis { │ │ │ │ - package { 'nis': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure nis is removed │ │ │ │ package: │ │ │ │ @@ -24258,14 +24246,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_nis_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_nis │ │ │ │ + │ │ │ │ +class remove_nis { │ │ │ │ + package { 'nis': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove nis │ │ │ │ @@ -24307,26 +24307,14 @@ │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.4 │ │ │ │ _a_n_s_s_i R62 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_isc-dhcp-server │ │ │ │ - │ │ │ │ -class remove_isc-dhcp-server { │ │ │ │ - package { 'isc-dhcp-server': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure isc-dhcp-server is removed │ │ │ │ package: │ │ │ │ @@ -24340,14 +24328,26 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_dhcp_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_isc-dhcp-server │ │ │ │ + │ │ │ │ +class remove_isc-dhcp-server { │ │ │ │ + package { 'isc-dhcp-server': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove isc-dhcp-server │ │ │ │ @@ -24383,26 +24383,14 @@ │ │ │ │ SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.7 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_bind9 │ │ │ │ - │ │ │ │ -class remove_bind9 { │ │ │ │ - package { 'bind9': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure bind9 is removed │ │ │ │ package: │ │ │ │ @@ -24414,14 +24402,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_bind_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_bind9 │ │ │ │ + │ │ │ │ +class remove_bind9 { │ │ │ │ + package { 'bind9': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove bind9 │ │ │ │ @@ -24460,26 +24460,14 @@ │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a), IA-5(1)(c), IA-5(1).1(v), CM-7, CM-7.1(ii) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _o_s_-_s_r_g SRG-OS-000074-GPOS-00042, SRG-OS-000095-GPOS-00049, SRG-OS-000480-GPOS- │ │ │ │ 00227 │ │ │ │ _c_i_s 2.2.8 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_vsftpd │ │ │ │ - │ │ │ │ -class remove_vsftpd { │ │ │ │ - package { 'vsftpd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure vsftpd is removed │ │ │ │ package: │ │ │ │ @@ -24495,14 +24483,26 @@ │ │ │ │ - NIST-800-53-IA-5(1).1(v) │ │ │ │ - disable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_vsftpd_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_vsftpd │ │ │ │ + │ │ │ │ +class remove_vsftpd { │ │ │ │ + package { 'vsftpd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove vsftpd │ │ │ │ @@ -24541,26 +24541,14 @@ │ │ │ │ References: SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.9 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_apache2 │ │ │ │ - │ │ │ │ -class remove_apache2 { │ │ │ │ - package { 'apache2': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure apache2 is removed │ │ │ │ package: │ │ │ │ @@ -24572,14 +24560,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_httpd_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_apache2 │ │ │ │ + │ │ │ │ +class remove_apache2 { │ │ │ │ + package { 'apache2': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove apache2 │ │ │ │ @@ -24607,26 +24607,14 @@ │ │ │ │ References: SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.9 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_nginx │ │ │ │ - │ │ │ │ -class remove_nginx { │ │ │ │ - package { 'nginx': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure nginx is removed │ │ │ │ package: │ │ │ │ @@ -24638,14 +24626,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_nginx_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_nginx │ │ │ │ + │ │ │ │ +class remove_nginx { │ │ │ │ + package { 'nginx': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove nginx │ │ │ │ @@ -24665,26 +24665,14 @@ │ │ │ │ The cyrus-imapd package can be removed with the following command: │ │ │ │ $ apt-get remove cyrus-imapd │ │ │ │ Rationale: If there is no need to make the cyrus-imapd software available, removing it provides a │ │ │ │ safeguard against its activation. │ │ │ │ Severity:  unknown │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_cyrus-imapd_removed │ │ │ │ References: _c_i_s 2.2.10 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_cyrus-imapd │ │ │ │ - │ │ │ │ -class remove_cyrus-imapd { │ │ │ │ - package { 'cyrus-imapd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure cyrus-imapd is removed │ │ │ │ package: │ │ │ │ @@ -24693,14 +24681,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_cyrus-imapd_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_cyrus-imapd │ │ │ │ + │ │ │ │ +class remove_cyrus-imapd { │ │ │ │ + package { 'cyrus-imapd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove cyrus-imapd │ │ │ │ @@ -24717,26 +24717,14 @@ │ │ │ │ The dovecot-core package can be removed with the following command: │ │ │ │ $ apt-get remove dovecot-core │ │ │ │ Rationale: If there is no need to make the Dovecot software available, removing it provides a │ │ │ │ safeguard against its activation. │ │ │ │ Severity:  unknown │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_dovecot_removed │ │ │ │ References: _c_i_s 2.2.10 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_dovecot-core │ │ │ │ - │ │ │ │ -class remove_dovecot-core { │ │ │ │ - package { 'dovecot-core': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure dovecot-core is removed │ │ │ │ package: │ │ │ │ @@ -24745,14 +24733,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_dovecot_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_dovecot-core │ │ │ │ + │ │ │ │ +class remove_dovecot-core { │ │ │ │ + package { 'dovecot-core': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove dovecot-core │ │ │ │ @@ -24782,26 +24782,14 @@ │ │ │ │ command: │ │ │ │ $ apt-get remove lapd-utils │ │ │ │ Rationale: If the system does not need to act as an LDAP client, it is recommended that the software │ │ │ │ is removed to reduce the potential attack surface. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_openldap-clients_removed │ │ │ │ References: _c_i_s 2.3.5 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_ldap-utils │ │ │ │ - │ │ │ │ -class remove_ldap-utils { │ │ │ │ - package { 'ldap-utils': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure ldap-utils is removed │ │ │ │ package: │ │ │ │ @@ -24810,14 +24798,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_openldap-clients_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_ldap-utils │ │ │ │ + │ │ │ │ +class remove_ldap-utils { │ │ │ │ + package { 'ldap-utils': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove ldap-utils │ │ │ │ @@ -24848,26 +24848,14 @@ │ │ │ │ SR 1.1, SR 1.10, SR 1.11, SR 1.12, SR 1.13, SR 1.2, SR 1.3, SR 1.4, SR │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 1.5, SR 1.6, SR 1.7, SR 1.8, SR 1.9, SR 2.1, SR 2.2, SR 2.3, SR 2.4, SR │ │ │ │ 2.5, SR 2.6, SR 2.7, SR 7.6 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.1.2, A.12.5.1, A.12.6.2, A.14.2.2, A.14.2.3, A.14.2.4, A.9.1.2 │ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.IP-1, PR.PT-3 │ │ │ │ _c_i_s 2.2.5 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_slapd │ │ │ │ - │ │ │ │ -class remove_slapd { │ │ │ │ - package { 'slapd': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure slapd is removed │ │ │ │ package: │ │ │ │ @@ -24879,14 +24867,26 @@ │ │ │ │ - NIST-800-53-CM-7(b) │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_openldap-servers_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_slapd │ │ │ │ + │ │ │ │ +class remove_slapd { │ │ │ │ + package { 'slapd': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove slapd │ │ │ │ @@ -25004,26 +25004,14 @@ │ │ │ │ then this service should be disabled. The rpcbind package can be removed with the following command: │ │ │ │ $ apt-get remove rpcbind │ │ │ │ Rationale: If the system does not require rpc based services, it is recommended that rpcbind be │ │ │ │ disabled to reduce the attack surface. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_rpcbind_removed │ │ │ │ References: _c_i_s 2.3.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_rpcbind │ │ │ │ - │ │ │ │ -class remove_rpcbind { │ │ │ │ - package { 'rpcbind': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -25044,14 +25032,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_rpcbind_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_rpcbind │ │ │ │ + │ │ │ │ +class remove_rpcbind { │ │ │ │ + package { 'rpcbind': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -25072,26 +25072,14 @@ │ │ │ │ The nfs-kernel-server package can be removed with the following command: │ │ │ │ $ apt-get remove nfs-kernel-server │ │ │ │ Rationale: If the system does not export NFS shares or act as an NFS client, it is recommended that │ │ │ │ these services be removed to reduce the remote attack surface. │ │ │ │ Severity:  low │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_nfs-kernel-server_removed │ │ │ │ References: _c_i_s 2.2.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_nfs-kernel-server │ │ │ │ - │ │ │ │ -class remove_nfs-kernel-server { │ │ │ │ - package { 'nfs-kernel-server': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure nfs-kernel-server is removed │ │ │ │ package: │ │ │ │ @@ -25100,14 +25088,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_nfs-kernel-server_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_nfs-kernel-server │ │ │ │ + │ │ │ │ +class remove_nfs-kernel-server { │ │ │ │ + package { 'nfs-kernel-server': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove nfs-kernel-server │ │ │ │ @@ -25173,31 +25173,14 @@ │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_0_9 4.3.3.3.9, 4.3.3.5.8, 4.3.4.4.7, 4.4.2.1, 4.4.2.2, 4.4.2.4 │ │ │ │ References: _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ _c_i_s 2.1.1.1 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[[packages]] │ │ │ │ -name = "systemd-timesyncd" │ │ │ │ -version = "*" │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include install_systemd-timesyncd │ │ │ │ - │ │ │ │ -class install_systemd-timesyncd { │ │ │ │ - package { 'systemd-timesyncd': │ │ │ │ - ensure => 'installed', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -25222,14 +25205,31 @@ │ │ │ │ - PCI-DSS-Req-10.4 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_timesyncd_installed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include install_systemd-timesyncd │ │ │ │ + │ │ │ │ +class install_systemd-timesyncd { │ │ │ │ + package { 'systemd-timesyncd': │ │ │ │ + ensure => 'installed', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[[packages]] │ │ │ │ +name = "systemd-timesyncd" │ │ │ │ +version = "*" │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -25250,31 +25250,14 @@ │ │ │ │ synchronization is working properly. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_chronyd_enabled │ │ │ │ _d_i_s_a CCI-004923 │ │ │ │ References: _i_s_m 0988, 1405 │ │ │ │ _o_s_-_s_r_g SRG-OS-000355-GPOS-00143 │ │ │ │ _c_i_s 2.1.2.3 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["chrony"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_chrony │ │ │ │ - │ │ │ │ -class enable_chrony { │ │ │ │ - service {'chrony': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -25308,14 +25291,31 @@ │ │ │ │ tags: │ │ │ │ - enable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - service_chronyd_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_chrony │ │ │ │ + │ │ │ │ +class enable_chrony { │ │ │ │ + service {'chrony': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["chrony"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -25352,31 +25352,14 @@ │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ References: _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a), AU-8(1)(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ _c_i_s 2.1.4.4 │ │ │ │ _p_c_i_d_s_s_4 10.6.1, 10.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["ntp"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_ntp │ │ │ │ - │ │ │ │ -class enable_ntp { │ │ │ │ - service {'ntp': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -25420,14 +25403,31 @@ │ │ │ │ - PCI-DSSv4-10.6.1 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - service_ntp_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_ntp │ │ │ │ + │ │ │ │ +class enable_ntp { │ │ │ │ + service {'ntp': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["ntp"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -25463,31 +25463,14 @@ │ │ │ │ _i_s_a_-_6_2_4_4_3_-_2_0_1_3 SR 2.10, SR 2.11, SR 2.12, SR 2.8, SR 2.9 │ │ │ │ References: _i_s_o_2_7_0_0_1_-_2_0_1_3 A.12.4.1, A.12.4.2, A.12.4.3, A.12.4.4, A.12.7.1 │ │ │ │ _n_i_s_t CM-6(a), AU-8(1)(a) │ │ │ │ _n_i_s_t_-_c_s_f PR.PT-1 │ │ │ │ _p_c_i_d_s_s Req-10.4 │ │ │ │ _c_i_s 2.1.3.2 │ │ │ │ _p_c_i_d_s_s_4 10.6.1, 10.6 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ - │ │ │ │ -[customizations.services] │ │ │ │ -enabled = ["systemd-timesyncd"] │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: enable │ │ │ │ -include enable_systemd-timesyncd │ │ │ │ - │ │ │ │ -class enable_systemd-timesyncd { │ │ │ │ - service {'systemd-timesyncd': │ │ │ │ - enable => true, │ │ │ │ - ensure => 'running', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -25532,14 +25515,31 @@ │ │ │ │ - PCI-DSSv4-10.6.1 │ │ │ │ - enable_strategy │ │ │ │ - high_severity │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - service_timesyncd_enabled │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: enable │ │ │ │ +include enable_systemd-timesyncd │ │ │ │ + │ │ │ │ +class enable_systemd-timesyncd { │ │ │ │ + service {'systemd-timesyncd': │ │ │ │ + enable => true, │ │ │ │ + ensure => 'running', │ │ │ │ + } │ │ │ │ +} │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _O_S_B_u_i_l_d_ _B_l_u_e_p_r_i_n_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ + │ │ │ │ +[customizations.services] │ │ │ │ +enabled = ["systemd-timesyncd"] │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: enable │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ @@ -25712,26 +25712,14 @@ │ │ │ │ _c_u_i 3.1.13 │ │ │ │ _h_i_p_a_a 164.308(a)(4)(i), 164.308(b)(1), 164.308(b)(3), 164.310(b), 164.312(e)(1), │ │ │ │ 164.312(e)(2)(ii) │ │ │ │ References: _i_s_o_2_7_0_0_1_-_2_0_1_3 A.8.2.3, A.13.1.1, A.13.2.1, A.13.2.3, A.14.1.2, A.14.1.3 │ │ │ │ _c_i_s 2.3.2 │ │ │ │ _a_n_s_s_i R62 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_rsh-client │ │ │ │ - │ │ │ │ -class remove_rsh-client { │ │ │ │ - package { 'rsh-client': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure rsh-client is removed │ │ │ │ package: │ │ │ │ @@ -25743,14 +25731,26 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_rsh_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_rsh-client │ │ │ │ + │ │ │ │ +class remove_rsh-client { │ │ │ │ + package { 'rsh-client': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove rsh-client │ │ │ │ @@ -25817,26 +25817,14 @@ │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_talk_removed │ │ │ │ _h_i_p_a_a 164.308(a)(4)(i), 164.308(b)(1), 164.308(b)(3), 164.310(b), 164.312(e)(1), │ │ │ │ 164.312(e)(2)(ii) │ │ │ │ References: _c_i_s 2.3.3 │ │ │ │ _a_n_s_s_i R62 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_talk │ │ │ │ - │ │ │ │ -class remove_talk { │ │ │ │ - package { 'talk': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure talk is removed │ │ │ │ package: │ │ │ │ @@ -25847,14 +25835,26 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_talk_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_talk │ │ │ │ + │ │ │ │ +class remove_talk { │ │ │ │ + package { 'talk': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove talk │ │ │ │ @@ -25878,26 +25878,14 @@ │ │ │ │ _c_u_i 3.1.13 │ │ │ │ _h_i_p_a_a 164.308(a)(4)(i), 164.308(b)(1), 164.308(b)(3), 164.310(b), 164.312(e)(1), │ │ │ │ 164.312(e)(2)(ii) │ │ │ │ References: _i_s_o_2_7_0_0_1_-_2_0_1_3 A.8.2.3, A.13.1.1, A.13.2.1, A.13.2.3, A.14.1.2, A.14.1.3 │ │ │ │ _c_i_s 2.3.4 │ │ │ │ _a_n_s_s_i R62 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_telnet │ │ │ │ - │ │ │ │ -class remove_telnet { │ │ │ │ - package { 'telnet': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure telnet is removed │ │ │ │ package: │ │ │ │ @@ -25909,14 +25897,26 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - low_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_telnet_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_telnet │ │ │ │ + │ │ │ │ +class remove_telnet { │ │ │ │ + package { 'telnet': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove telnet │ │ │ │ @@ -25931,26 +25931,14 @@ │ │ │ │ package can be removed with the following command: │ │ │ │ $ apt-get remove rsync │ │ │ │ Rationale: The rsyncd service presents a security risk as it uses unencrypted protocols for │ │ │ │ communication. │ │ │ │ Severity:  medium │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_rsync_removed │ │ │ │ References: _c_i_s 2.2.16 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_rsync │ │ │ │ - │ │ │ │ -class remove_rsync { │ │ │ │ - package { 'rsync': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure rsync is removed │ │ │ │ package: │ │ │ │ @@ -25959,14 +25947,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ - package_rsync_removed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_rsync │ │ │ │ + │ │ │ │ +class remove_rsync { │ │ │ │ + package { 'rsync': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove rsync │ │ │ │ @@ -25989,26 +25989,14 @@ │ │ │ │ The squid package can be removed with the following command: │ │ │ │ $ apt-get remove squid │ │ │ │ Rationale: If there is no need to make the proxy server software available, removing it provides a │ │ │ │ safeguard against its activation. │ │ │ │ Severity:  unknown │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_squid_removed │ │ │ │ References: _c_i_s 2.2.12 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_squid │ │ │ │ - │ │ │ │ -class remove_squid { │ │ │ │ - package { 'squid': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure squid is removed │ │ │ │ package: │ │ │ │ @@ -26017,14 +26005,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_squid_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_squid │ │ │ │ + │ │ │ │ +class remove_squid { │ │ │ │ + package { 'squid': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove squid │ │ │ │ @@ -26049,26 +26049,14 @@ │ │ │ │ The samba package can be removed with the following command: │ │ │ │ $ apt-get remove samba │ │ │ │ Rationale: If there is no need to make the Samba software available, removing it provides a │ │ │ │ safeguard against its activation. │ │ │ │ Severity:  unknown │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_samba_removed │ │ │ │ References: _c_i_s 2.2.11 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_samba │ │ │ │ - │ │ │ │ -class remove_samba { │ │ │ │ - package { 'samba': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure samba is removed │ │ │ │ package: │ │ │ │ @@ -26077,14 +26065,26 @@ │ │ │ │ tags: │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_samba_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_samba │ │ │ │ + │ │ │ │ +class remove_samba { │ │ │ │ + package { 'samba': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove samba │ │ │ │ @@ -26109,26 +26109,14 @@ │ │ │ │ $ apt-get remove snmp │ │ │ │ Rationale: If there is no need to run SNMP server software, removing the package provides a │ │ │ │ safeguard against its activation. │ │ │ │ Severity:  unknown │ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_net-snmp_removed │ │ │ │ References: _c_i_s 2.2.13 │ │ │ │ _p_c_i_d_s_s_4 2.2.4, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -CCoommpplleexxiittyy:: low │ │ │ │ -DDiissrruuppttiioonn:: low │ │ │ │ -RReebboooott:: false │ │ │ │ -SSttrraatteeggyy:: disable │ │ │ │ -include remove_snmp │ │ │ │ - │ │ │ │ -class remove_snmp { │ │ │ │ - package { 'snmp': │ │ │ │ - ensure => 'purged', │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ - name: Ensure snmp is removed │ │ │ │ package: │ │ │ │ @@ -26139,14 +26127,26 @@ │ │ │ │ - PCI-DSSv4-2.2.4 │ │ │ │ - disable_strategy │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - no_reboot_needed │ │ │ │ - package_net-snmp_removed │ │ │ │ - unknown_severity │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +CCoommpplleexxiittyy:: low │ │ │ │ +DDiissrruuppttiioonn:: low │ │ │ │ +RReebboooott:: false │ │ │ │ +SSttrraatteeggyy:: disable │ │ │ │ +include remove_snmp │ │ │ │ + │ │ │ │ +class remove_snmp { │ │ │ │ + package { 'snmp': │ │ │ │ + ensure => 'purged', │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: disable │ │ │ │ │ │ │ │ # CAUTION: This remediation script will remove snmp │ │ │ │ @@ -29319,23 +29319,14 @@ │ │ │ │ _n_i_s_t AC-17(a), CM-6(a), AC-6(1) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-4, PR.DS-5 │ │ │ │ _p_c_i_d_s_s Req-2.2.4 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00227 │ │ │ │ _c_i_s 5.2.2 │ │ │ │ _a_n_s_s_i R50 │ │ │ │ _p_c_i_d_s_s_4 2.2.6, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -include ssh_private_key_perms │ │ │ │ - │ │ │ │ -class ssh_private_key_perms { │ │ │ │ - exec { 'sshd_priv_key': │ │ │ │ - command => "chmod 0640 /etc/ssh/*_key", │ │ │ │ - path => '/bin:/usr/bin' │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: configure │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -29399,14 +29390,23 @@ │ │ │ │ - PCI-DSSv4-2.2.6 │ │ │ │ - configure_strategy │ │ │ │ - file_permissions_sshd_private_key │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +include ssh_private_key_perms │ │ │ │ + │ │ │ │ +class ssh_private_key_perms { │ │ │ │ + exec { 'sshd_priv_key': │ │ │ │ + command => "chmod 0640 /etc/ssh/*_key", │ │ │ │ + path => '/bin:/usr/bin' │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ │ │ ' 'linux-base' 2>/dev/null | grep -q ^installed; then │ │ │ │ │ │ │ │ for keyfile in /etc/ssh/*_key; do │ │ │ │ test -f "$keyfile" || continue │ │ │ │ @@ -29447,23 +29447,14 @@ │ │ │ │ _n_i_s_t AC-17(a), CM-6(a), AC-6(1) │ │ │ │ _n_i_s_t_-_c_s_f PR.AC-4, PR.DS-5 │ │ │ │ _p_c_i_d_s_s Req-2.2.4 │ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00227 │ │ │ │ _c_i_s 5.2.3 │ │ │ │ _a_n_s_s_i R50 │ │ │ │ _p_c_i_d_s_s_4 2.2.6, 2.2 │ │ │ │ -_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ -include ssh_public_key_perms │ │ │ │ - │ │ │ │ -class ssh_public_key_perms { │ │ │ │ - exec { 'sshd_pub_key': │ │ │ │ - command => "chmod 0644 /etc/ssh/*.pub", │ │ │ │ - path => '/bin:/usr/bin' │ │ │ │ - } │ │ │ │ -} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _A_n_s_i_b_l_e_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: configure │ │ │ │ - name: Gather the package facts │ │ │ │ package_facts: │ │ │ │ @@ -29527,14 +29518,23 @@ │ │ │ │ - PCI-DSSv4-2.2.6 │ │ │ │ - configure_strategy │ │ │ │ - file_permissions_sshd_pub_key │ │ │ │ - low_complexity │ │ │ │ - low_disruption │ │ │ │ - medium_severity │ │ │ │ - no_reboot_needed │ │ │ │ +_R_e_m_e_d_i_a_t_i_o_n_ _P_u_p_p_e_t_ _s_n_i_p_p_e_t_ _⇲ │ │ │ │ +include ssh_public_key_perms │ │ │ │ + │ │ │ │ +class ssh_public_key_perms { │ │ │ │ + exec { 'sshd_pub_key': │ │ │ │ + command => "chmod 0644 /etc/ssh/*.pub", │ │ │ │ + path => '/bin:/usr/bin' │ │ │ │ + } │ │ │ │ +} │ │ │ │ _R_e_m_e_d_i_a_t_i_o_n_ _S_h_e_l_l_ _s_c_r_i_p_t_ _⇲ │ │ │ │ CCoommpplleexxiittyy:: low │ │ │ │ DDiissrruuppttiioonn:: low │ │ │ │ RReebboooott:: false │ │ │ │ SSttrraatteeggyy:: configure │ │ │ │ # Remediation is applicable only in certain platforms │ │ │ │ if dpkg-query --show --showformat='${db:Status-Status} │ │ ├── ./usr/share/doc/ssg-debderived/ssg-ubuntu2204-guide-cis_level2_server.html │ │ │ @@ -15129,137 +15129,137 @@ │ │ │ 0003b180: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ 0003b190: 646d 3239 3235 2220 7461 6269 6e64 6578 dm2925" tabindex │ │ │ 0003b1a0: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ 0003b1b0: 6e22 2061 7269 612d 6578 7061 6e64 6564 n" aria-expanded │ │ │ 0003b1c0: 3d22 6661 6c73 6522 2074 6974 6c65 3d22 ="false" title=" │ │ │ 0003b1d0: 4163 7469 7661 7465 2074 6f20 7265 7665 Activate to reve │ │ │ 0003b1e0: 616c 2220 6872 6566 3d22 2321 223e 5265 al" href="#!">Re │ │ │ -0003b1f0: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil │ │ │ -0003b200: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip │ │ │ -0003b210: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -0003b220: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -0003b230: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -0003b240: 7365 2220 6964 3d22 6964 6d32 3932 3522 se" id="idm2925" │ │ │ -0003b250: 3e3c 7072 653e 3c63 6f64 653e 0a5b 5b70 >
.[[p
│ │ │ -0003b260: 6163 6b61 6765 735d 5d0a 6e61 6d65 203d  ackages]].name =
│ │ │ -0003b270: 2022 6169 6465 220a 7665 7273 696f 6e20   "aide".version 
│ │ │ -0003b280: 3d20 222a 220a 3c2f 636f 6465 3e3c 2f70  = "*".

Remediat │ │ │ -0003b340: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ -0003b350: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -0003b390: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -0003b400: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -0003b420: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -0003b450: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -0003b470: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -0003b3e0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -0003b3f0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -0003b430: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -0003b440: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ -0003b490: 696e 7374 616c 6c5f 6169 6465 0a0a 636c install_aide..cl │ │ │ -0003b4a0: 6173 7320 696e 7374 616c 6c5f 6169 6465 ass install_aide │ │ │ -0003b4b0: 207b 0a20 2070 6163 6b61 6765 207b 2027 {. package { ' │ │ │ -0003b4c0: 6169 6465 273a 0a20 2020 2065 6e73 7572 aide':. ensur │ │ │ -0003b4d0: 6520 3d26 6774 3b20 2769 6e73 7461 6c6c e => 'install │ │ │ -0003b4e0: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Rem │ │ │ -0003b5a0: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ -0003b5b0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -0003b5c0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
│ │ │ -0003b650: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
- 
│ │ │ -0003b6f0: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ -0003b700: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ -0003b710: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ -0003b720: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ -0003b730: 6f0a 2020 7461 6773 3a0a 2020 2d20 434a  o.  tags:.  - CJ
│ │ │ -0003b740: 4953 2d35 2e31 302e 312e 330a 2020 2d20  IS-5.10.1.3.  - 
│ │ │ -0003b750: 4449 5341 2d53 5449 472d 5542 5455 2d32  DISA-STIG-UBTU-2
│ │ │ -0003b760: 322d 3635 3130 3130 0a20 202d 204e 4953  2-651010.  - NIS
│ │ │ -0003b770: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ -0003b780: 0a20 202d 2050 4349 2d44 5353 2d52 6571  .  - PCI-DSS-Req
│ │ │ -0003b790: 2d31 312e 350a 2020 2d20 5043 492d 4453  -11.5.  - PCI-DS
│ │ │ -0003b7a0: 5376 342d 3131 2e35 2e32 0a20 202d 2065  Sv4-11.5.2.  - e
│ │ │ -0003b7b0: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ -0003b7c0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -0003b7d0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -0003b7e0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ -0003b7f0: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -0003b800: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -0003b810: 2d20 7061 636b 6167 655f 6169 6465 5f69  - package_aide_i
│ │ │ -0003b820: 6e73 7461 6c6c 6564 0a0a 2d20 6e61 6d65  nstalled..- name
│ │ │ -0003b830: 3a20 456e 7375 7265 2061 6964 6520 6973  : Ensure aide is
│ │ │ -0003b840: 2069 6e73 7461 6c6c 6564 0a20 2070 6163   installed.  pac
│ │ │ -0003b850: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20  kage:.    name: 
│ │ │ -0003b860: 6169 6465 0a20 2020 2073 7461 7465 3a20  aide.    state: 
│ │ │ -0003b870: 7072 6573 656e 740a 2020 7768 656e 3a20  present.  when: 
│ │ │ -0003b880: 2722 6c69 6e75 782d 6261 7365 2220 696e  '"linux-base" in
│ │ │ -0003b890: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ -0003b8a0: 6163 6b61 6765 7327 0a20 2074 6167 733a  ackages'.  tags:
│ │ │ -0003b8b0: 0a20 202d 2043 4a49 532d 352e 3130 2e31  .  - CJIS-5.10.1
│ │ │ -0003b8c0: 2e33 0a20 202d 2044 4953 412d 5354 4947  .3.  - DISA-STIG
│ │ │ -0003b8d0: 2d55 4254 552d 3232 2d36 3531 3031 300a  -UBTU-22-651010.
│ │ │ -0003b8e0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -0003b8f0: 434d 2d36 2861 290a 2020 2d20 5043 492d  CM-6(a).  - PCI-
│ │ │ -0003b900: 4453 532d 5265 712d 3131 2e35 0a20 202d  DSS-Req-11.5.  -
│ │ │ -0003b910: 2050 4349 2d44 5353 7634 2d31 312e 352e   PCI-DSSv4-11.5.
│ │ │ -0003b920: 320a 2020 2d20 656e 6162 6c65 5f73 7472  2.  - enable_str
│ │ │ -0003b930: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ -0003b940: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -0003b950: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -0003b960: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ -0003b970: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -0003b980: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -0003b990: 5f61 6964 655f 696e 7374 616c 6c65 640a  _aide_installed.
│ │ │ +0003b1f0: 6d65 6469 6174 696f 6e20 416e 7369 626c  mediation Ansibl
│ │ │ +0003b200: 6520 736e 6970 7065 7420 e287 b23c 2f61  e snippet ...
│ │ │ -0003b640: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -0003b670: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -0003b680: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -0003b6c0: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ -0003b6d0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
< │ │ │ +0003b2e0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +0003b2f0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
-
│ │ │ +0003b340: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ +0003b350: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ +0003b360: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ +0003b370: 0a20 2020 206d 616e 6167 6572 3a20 6175  .    manager: au
│ │ │ +0003b380: 746f 0a20 2074 6167 733a 0a20 202d 2043  to.  tags:.  - C
│ │ │ +0003b390: 4a49 532d 352e 3130 2e31 2e33 0a20 202d  JIS-5.10.1.3.  -
│ │ │ +0003b3a0: 2044 4953 412d 5354 4947 2d55 4254 552d   DISA-STIG-UBTU-
│ │ │ +0003b3b0: 3232 2d36 3531 3031 300a 2020 2d20 4e49  22-651010.  - NI
│ │ │ +0003b3c0: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +0003b3d0: 290a 2020 2d20 5043 492d 4453 532d 5265  ).  - PCI-DSS-Re
│ │ │ +0003b3e0: 712d 3131 2e35 0a20 202d 2050 4349 2d44  q-11.5.  - PCI-D
│ │ │ +0003b3f0: 5353 7634 2d31 312e 352e 320a 2020 2d20  SSv4-11.5.2.  - 
│ │ │ +0003b400: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ +0003b410: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +0003b420: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +0003b430: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ +0003b440: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +0003b450: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +0003b460: 202d 2070 6163 6b61 6765 5f61 6964 655f   - package_aide_
│ │ │ +0003b470: 696e 7374 616c 6c65 640a 0a2d 206e 616d  installed..- nam
│ │ │ +0003b480: 653a 2045 6e73 7572 6520 6169 6465 2069  e: Ensure aide i
│ │ │ +0003b490: 7320 696e 7374 616c 6c65 640a 2020 7061  s installed.  pa
│ │ │ +0003b4a0: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ +0003b4b0: 2061 6964 650a 2020 2020 7374 6174 653a   aide.    state:
│ │ │ +0003b4c0: 2070 7265 7365 6e74 0a20 2077 6865 6e3a   present.  when:
│ │ │ +0003b4d0: 2027 226c 696e 7578 2d62 6173 6522 2069   '"linux-base" i
│ │ │ +0003b4e0: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +0003b4f0: 7061 636b 6167 6573 270a 2020 7461 6773  packages'.  tags
│ │ │ +0003b500: 3a0a 2020 2d20 434a 4953 2d35 2e31 302e  :.  - CJIS-5.10.
│ │ │ +0003b510: 312e 330a 2020 2d20 4449 5341 2d53 5449  1.3.  - DISA-STI
│ │ │ +0003b520: 472d 5542 5455 2d32 322d 3635 3130 3130  G-UBTU-22-651010
│ │ │ +0003b530: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +0003b540: 2d43 4d2d 3628 6129 0a20 202d 2050 4349  -CM-6(a).  - PCI
│ │ │ +0003b550: 2d44 5353 2d52 6571 2d31 312e 350a 2020  -DSS-Req-11.5.  
│ │ │ +0003b560: 2d20 5043 492d 4453 5376 342d 3131 2e35  - PCI-DSSv4-11.5
│ │ │ +0003b570: 2e32 0a20 202d 2065 6e61 626c 655f 7374  .2.  - enable_st
│ │ │ +0003b580: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +0003b590: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +0003b5a0: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +0003b5b0: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ +0003b5c0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +0003b5d0: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ +0003b5e0: 655f 6169 6465 5f69 6e73 7461 6c6c 6564  e_aide_installed
│ │ │ +0003b5f0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation P │ │ │ +0003b6b0: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ +0003b6c0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
low< │ │ │ +0003b790: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr> │ │ │ +0003b7e0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:low
Disrup │ │ │ +0003b2c0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +0003b2d0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +0003b310: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +0003b320: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexity: │ │ │ +0003b750: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ +0003b770: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ +0003b7c0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +0003b7d0: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
include insta
│ │ │ +0003b800: 6c6c 5f61 6964 650a 0a63 6c61 7373 2069  ll_aide..class i
│ │ │ +0003b810: 6e73 7461 6c6c 5f61 6964 6520 7b0a 2020  nstall_aide {.  
│ │ │ +0003b820: 7061 636b 6167 6520 7b20 2761 6964 6527  package { 'aide'
│ │ │ +0003b830: 3a0a 2020 2020 656e 7375 7265 203d 2667  :.    ensure =&g
│ │ │ +0003b840: 743b 2027 696e 7374 616c 6c65 6427 2c0a  t; 'installed',.
│ │ │ +0003b850: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remediat │ │ │ +0003b910: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue │ │ │ +0003b920: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet .. │ │ │ +0003b930: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
│ │ │ +0003b970: 3c63 6f64 653e 0a5b 5b70 6163 6b61 6765  .[[package
│ │ │ +0003b980: 735d 5d0a 6e61 6d65 203d 2022 6169 6465  s]].name = "aide
│ │ │ +0003b990: 220a 7665 7273 696f 6e20 3d20 222a 220a  ".version = "*".
│ │ │  0003b9a0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation │ │ │ -000438c0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -000438d0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
Complexity │ │ │ -00043960: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -00043980: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -00043990: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -000439a0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -000439b0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -000439d0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ -00043a00: 636f 6465 3e69 6e63 6c75 6465 2072 656d  code>include rem
│ │ │ -00043a10: 6f76 655f 7072 656c 696e 6b0a 0a63 6c61  ove_prelink..cla
│ │ │ -00043a20: 7373 2072 656d 6f76 655f 7072 656c 696e  ss remove_prelin
│ │ │ -00043a30: 6b20 7b0a 2020 7061 636b 6167 6520 7b20  k {.  package { 
│ │ │ -00043a40: 2770 7265 6c69 6e6b 273a 0a20 2020 2065  'prelink':.    e
│ │ │ -00043a50: 6e73 7572 6520 3d26 6774 3b20 2770 7572  nsure => 'pur
│ │ │ -00043a60: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ged',.  }.}.
< │ │ │ -00043a80: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -00043a90: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -00043aa0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -00043ab0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -00043ac0: 646d 3238 3236 2220 7461 6269 6e64 6578 dm2826" tabindex │ │ │ -00043ad0: 3d22 3022 2072 6f6c 653d 2262 7574 746f ="0" role="butto │ │ │ -00043ae0: 6e22 2061 7269 612d 6578 7061 6e64 6564 n" aria-expanded │ │ │ -00043af0: 3d22 6661 6c73 6522 2074 6974 6c65 3d22 ="false" title=" │ │ │ -00043b00: 4163 7469 7661 7465 2074 6f20 7265 7665 Activate to reve │ │ │ -00043b10: 616c 2220 6872 6566 3d22 2321 223e 5265 al" href="#!">Re │ │ │ -00043b20: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -00043b30: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
│ │ │ -00043be0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -00043c30: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -00043c60: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:medium
Dis │ │ │ -00043bf0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -00043c40: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -00043c50: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
- name: Check
│ │ │ -00043c80: 2049 6620 5072 656c 696e 6b65 6420 4973   If Prelinked Is
│ │ │ -00043c90: 2049 6e73 7461 6c6c 6564 0a20 2061 6e73   Installed.  ans
│ │ │ -00043ca0: 6962 6c65 2e62 7569 6c74 696e 2e73 7461  ible.builtin.sta
│ │ │ -00043cb0: 743a 0a20 2020 2070 6174 683a 202f 7573  t:.    path: /us
│ │ │ -00043cc0: 722f 7362 696e 2f70 7265 6c69 6e6b 0a20  r/sbin/prelink. 
│ │ │ -00043cd0: 2020 2067 6574 5f63 6865 636b 7375 6d3a     get_checksum:
│ │ │ -00043ce0: 2066 616c 7365 0a20 2072 6567 6973 7465   false.  registe
│ │ │ -00043cf0: 723a 2070 7265 6c69 6e6b 0a20 2074 6167  r: prelink.  tag
│ │ │ -00043d00: 733a 0a20 202d 2064 6973 6162 6c65 5f73  s:.  - disable_s
│ │ │ -00043d10: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ -00043d20: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ -00043d30: 6564 6975 6d5f 636f 6d70 6c65 7869 7479  edium_complexity
│ │ │ -00043d40: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ -00043d50: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -00043d60: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ -00043d70: 636b 6167 655f 7072 656c 696e 6b5f 7265  ckage_prelink_re
│ │ │ -00043d80: 6d6f 7665 640a 0a2d 206e 616d 653a 2052  moved..- name: R
│ │ │ -00043d90: 6573 746f 7265 2050 7265 6c69 6e6b 6564  estore Prelinked
│ │ │ -00043da0: 2042 696e 6172 6965 730a 2020 616e 7369   Binaries.  ansi
│ │ │ -00043db0: 626c 652e 6275 696c 7469 6e2e 636f 6d6d  ble.builtin.comm
│ │ │ -00043dc0: 616e 643a 0a20 2020 2063 6d64 3a20 7072  and:.    cmd: pr
│ │ │ -00043dd0: 656c 696e 6b20 2d75 610a 2020 7768 656e  elink -ua.  when
│ │ │ -00043de0: 3a20 7072 656c 696e 6b2e 7374 6174 2e65  : prelink.stat.e
│ │ │ -00043df0: 7869 7374 730a 2020 7461 6773 3a0a 2020  xists.  tags:.  
│ │ │ -00043e00: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ -00043e10: 6779 0a20 202d 206c 6f77 5f64 6973 7275  gy.  - low_disru
│ │ │ -00043e20: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ -00043e30: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -00043e40: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ -00043e50: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -00043e60: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -00043e70: 5f70 7265 6c69 6e6b 5f72 656d 6f76 6564  _prelink_removed
│ │ │ -00043e80: 0a0a 2d20 6e61 6d65 3a20 456e 7375 7265  ..- name: Ensure
│ │ │ -00043e90: 2070 7265 6c69 6e6b 2069 7320 5265 6d6f   prelink is Remo
│ │ │ -00043ea0: 7665 640a 2020 616e 7369 626c 652e 6275  ved.  ansible.bu
│ │ │ -00043eb0: 696c 7469 6e2e 7061 636b 6167 653a 0a20  iltin.package:. 
│ │ │ -00043ec0: 2020 206e 616d 653a 2070 7265 6c69 6e6b     name: prelink
│ │ │ -00043ed0: 0a20 2020 2073 7461 7465 3a20 6162 7365  .    state: abse
│ │ │ -00043ee0: 6e74 0a20 2074 6167 733a 0a20 202d 2064  nt.  tags:.  - d
│ │ │ -00043ef0: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ -00043f00: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -00043f10: 6f6e 0a20 202d 206d 6564 6975 6d5f 636f  on.  - medium_co
│ │ │ -00043f20: 6d70 6c65 7869 7479 0a20 202d 206d 6564  mplexity.  - med
│ │ │ -00043f30: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ -00043f40: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -00043f50: 640a 2020 2d20 7061 636b 6167 655f 7072  d.  - package_pr
│ │ │ -00043f60: 656c 696e 6b5f 7265 6d6f 7665 640a 3c2f  elink_removed.
< │ │ │ +00043950: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +00043960: 793a 3c2f 7468 3e3c 7464 3e6d 6564 6975 y:mediu │ │ │ +00043970: 6d3c 2f74 643e 3c2f 7472 3e3c 7472 3e3c m< │ │ │ +00043980: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:low< │ │ │ +000439a0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>Rebo │ │ │ +000439b0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +000439c0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e< │ │ │ +000439d0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable

- name: │ │ │ +00043a10: 2043 6865 636b 2049 6620 5072 656c 696e Check If Prelin │ │ │ +00043a20: 6b65 6420 4973 2049 6e73 7461 6c6c 6564 ked Is Installed │ │ │ +00043a30: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74 . ansible.built │ │ │ +00043a40: 696e 2e73 7461 743a 0a20 2020 2070 6174 in.stat:. pat │ │ │ +00043a50: 683a 202f 7573 722f 7362 696e 2f70 7265 h: /usr/sbin/pre │ │ │ +00043a60: 6c69 6e6b 0a20 2020 2067 6574 5f63 6865 link. get_che │ │ │ +00043a70: 636b 7375 6d3a 2066 616c 7365 0a20 2072 cksum: false. r │ │ │ +00043a80: 6567 6973 7465 723a 2070 7265 6c69 6e6b egister: prelink │ │ │ +00043a90: 0a20 2074 6167 733a 0a20 202d 2064 6973 . tags:. - dis │ │ │ +00043aa0: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy. │ │ │ +00043ab0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption │ │ │ +00043ac0: 0a20 202d 206d 6564 6975 6d5f 636f 6d70 . - medium_comp │ │ │ +00043ad0: 6c65 7869 7479 0a20 202d 206d 6564 6975 lexity. - mediu │ │ │ +00043ae0: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n │ │ │ +00043af0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed. │ │ │ +00043b00: 2020 2d20 7061 636b 6167 655f 7072 656c - package_prel │ │ │ +00043b10: 696e 6b5f 7265 6d6f 7665 640a 0a2d 206e ink_removed..- n │ │ │ +00043b20: 616d 653a 2052 6573 746f 7265 2050 7265 ame: Restore Pre │ │ │ +00043b30: 6c69 6e6b 6564 2042 696e 6172 6965 730a linked Binaries. │ │ │ +00043b40: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti │ │ │ +00043b50: 6e2e 636f 6d6d 616e 643a 0a20 2020 2063 n.command:. c │ │ │ +00043b60: 6d64 3a20 7072 656c 696e 6b20 2d75 610a md: prelink -ua. │ │ │ +00043b70: 2020 7768 656e 3a20 7072 656c 696e 6b2e when: prelink. │ │ │ +00043b80: 7374 6174 2e65 7869 7374 730a 2020 7461 stat.exists. ta │ │ │ +00043b90: 6773 3a0a 2020 2d20 6469 7361 626c 655f gs:. - disable_ │ │ │ +00043ba0: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low │ │ │ +00043bb0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. - │ │ │ +00043bc0: 6d65 6469 756d 5f63 6f6d 706c 6578 6974 medium_complexit │ │ │ +00043bd0: 790a 2020 2d20 6d65 6469 756d 5f73 6576 y. - medium_sev │ │ │ +00043be0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562 erity. - no_reb │ │ │ +00043bf0: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p │ │ │ +00043c00: 6163 6b61 6765 5f70 7265 6c69 6e6b 5f72 ackage_prelink_r │ │ │ +00043c10: 656d 6f76 6564 0a0a 2d20 6e61 6d65 3a20 emoved..- name: │ │ │ +00043c20: 456e 7375 7265 2070 7265 6c69 6e6b 2069 Ensure prelink i │ │ │ +00043c30: 7320 5265 6d6f 7665 640a 2020 616e 7369 s Removed. ansi │ │ │ +00043c40: 626c 652e 6275 696c 7469 6e2e 7061 636b ble.builtin.pack │ │ │ +00043c50: 6167 653a 0a20 2020 206e 616d 653a 2070 age:. name: p │ │ │ +00043c60: 7265 6c69 6e6b 0a20 2020 2073 7461 7465 relink. state │ │ │ +00043c70: 3a20 6162 7365 6e74 0a20 2074 6167 733a : absent. tags: │ │ │ +00043c80: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str │ │ │ +00043c90: 6174 6567 790a 2020 2d20 6c6f 775f 6469 ategy. - low_di │ │ │ +00043ca0: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med │ │ │ +00043cb0: 6975 6d5f 636f 6d70 6c65 7869 7479 0a20 ium_complexity. │ │ │ +00043cc0: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi │ │ │ +00043cd0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot │ │ │ +00043ce0: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack │ │ │ +00043cf0: 6167 655f 7072 656c 696e 6b5f 7265 6d6f age_prelink_remo │ │ │ +00043d00: 7665 640a 3c2f 636f 6465 3e3c 2f70 7265 ved.

Remediatio │ │ │ +00043dc0: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ +00043dd0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
│ │ │ +00043e50: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +00043e60: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +00043e70: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +00043eb0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +00043ec0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +00043ee0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +00043ef0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include r
│ │ │ +00043f10: 656d 6f76 655f 7072 656c 696e 6b0a 0a63  emove_prelink..c
│ │ │ +00043f20: 6c61 7373 2072 656d 6f76 655f 7072 656c  lass remove_prel
│ │ │ +00043f30: 696e 6b20 7b0a 2020 7061 636b 6167 6520  ink {.  package 
│ │ │ +00043f40: 7b20 2770 7265 6c69 6e6b 273a 0a20 2020  { 'prelink':.   
│ │ │ +00043f50: 2065 6e73 7572 6520 3d26 6774 3b20 2770   ensure => 'p
│ │ │ +00043f60: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f  urged',.  }.}.
Reme │ │ │ -00058cb0: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ -00058cc0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
low< │ │ │ -00058d70: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -00058dc0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ -00058e00: 6c75 6465 2072 656d 6f76 655f 6764 6d33  lude remove_gdm3
│ │ │ -00058e10: 0a0a 636c 6173 7320 7265 6d6f 7665 5f67  ..class remove_g
│ │ │ -00058e20: 646d 3320 7b0a 2020 7061 636b 6167 6520  dm3 {.  package 
│ │ │ -00058e30: 7b20 2767 646d 3327 3a0a 2020 2020 656e  { 'gdm3':.    en
│ │ │ -00058e40: 7375 7265 203d 2667 743b 2027 7075 7267  sure => 'purg
│ │ │ -00058e50: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ed',.  }.}.
Rem │ │ │ -00058f10: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ -00058f20: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -00058f30: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co │ │ │ -00058d50: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -00058d80: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -00058da0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -00058db0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -00058dd0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -00058de0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
│ │ │ -00058fc0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
-
│ │ │ -00059060: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ -00059070: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ -00059080: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ -00059090: 0a20 2020 206d 616e 6167 6572 3a20 6175  .    manager: au
│ │ │ -000590a0: 746f 0a20 2074 6167 733a 0a20 202d 204e  to.  tags:.  - N
│ │ │ -000590b0: 4953 542d 3830 302d 3533 2d43 4d2d 3628  IST-800-53-CM-6(
│ │ │ -000590c0: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ -000590d0: 3533 2d43 4d2d 3728 6129 0a20 202d 204e  53-CM-7(a).  - N
│ │ │ -000590e0: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ -000590f0: 6229 0a20 202d 2064 6973 6162 6c65 5f73  b).  - disable_s
│ │ │ -00059100: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ -00059110: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -00059120: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -00059130: 2d20 6d65 6469 756d 5f73 6576 6572 6974  - medium_severit
│ │ │ -00059140: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f  y.  - no_reboot_
│ │ │ -00059150: 6e65 6564 6564 0a20 202d 2070 6163 6b61  needed.  - packa
│ │ │ -00059160: 6765 5f67 646d 5f72 656d 6f76 6564 0a0a  ge_gdm_removed..
│ │ │ -00059170: 2d20 6e61 6d65 3a20 456e 7375 7265 2067  - name: Ensure g
│ │ │ -00059180: 646d 3320 6973 2072 656d 6f76 6564 0a20  dm3 is removed. 
│ │ │ -00059190: 2070 6163 6b61 6765 3a0a 2020 2020 6e61   package:.    na
│ │ │ -000591a0: 6d65 3a20 6764 6d33 0a20 2020 2073 7461  me: gdm3.    sta
│ │ │ -000591b0: 7465 3a20 6162 7365 6e74 0a20 2077 6865  te: absent.  whe
│ │ │ -000591c0: 6e3a 2027 2267 646d 3322 2069 6e20 616e  n: '"gdm3" in an
│ │ │ -000591d0: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ -000591e0: 6167 6573 270a 2020 7461 6773 3a0a 2020  ages'.  tags:.  
│ │ │ -000591f0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -00059200: 2d36 2861 290a 2020 2d20 4e49 5354 2d38  -6(a).  - NIST-8
│ │ │ -00059210: 3030 2d35 332d 434d 2d37 2861 290a 2020  00-53-CM-7(a).  
│ │ │ -00059220: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -00059230: 2d37 2862 290a 2020 2d20 6469 7361 626c  -7(b).  - disabl
│ │ │ -00059240: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ -00059250: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ -00059260: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -00059270: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ -00059280: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -00059290: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ -000592a0: 636b 6167 655f 6764 6d5f 7265 6d6f 7665  ckage_gdm_remove
│ │ │ -000592b0: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +00058cb0: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible │ │ │ +00058cc0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +00058cd0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ -00058fb0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -00058fe0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -00058ff0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -00059030: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ -00059040: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ +00058d60: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +00058d70: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +00058dc0: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ +00058e00: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ +00058e10: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ +00058e20: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ +00058e30: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ +00058e40: 6f0a 2020 7461 6773 3a0a 2020 2d20 4e49  o.  tags:.  - NI
│ │ │ +00058e50: 5354 2d38 3030 2d35 332d 434d 2d36 2861  ST-800-53-CM-6(a
│ │ │ +00058e60: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +00058e70: 332d 434d 2d37 2861 290a 2020 2d20 4e49  3-CM-7(a).  - NI
│ │ │ +00058e80: 5354 2d38 3030 2d35 332d 434d 2d37 2862  ST-800-53-CM-7(b
│ │ │ +00058e90: 290a 2020 2d20 6469 7361 626c 655f 7374  ).  - disable_st
│ │ │ +00058ea0: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +00058eb0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +00058ec0: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +00058ed0: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ +00058ee0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +00058ef0: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ +00058f00: 655f 6764 6d5f 7265 6d6f 7665 640a 0a2d  e_gdm_removed..-
│ │ │ +00058f10: 206e 616d 653a 2045 6e73 7572 6520 6764   name: Ensure gd
│ │ │ +00058f20: 6d33 2069 7320 7265 6d6f 7665 640a 2020  m3 is removed.  
│ │ │ +00058f30: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ +00058f40: 653a 2067 646d 330a 2020 2020 7374 6174  e: gdm3.    stat
│ │ │ +00058f50: 653a 2061 6273 656e 740a 2020 7768 656e  e: absent.  when
│ │ │ +00058f60: 3a20 2722 6764 6d33 2220 696e 2061 6e73  : '"gdm3" in ans
│ │ │ +00058f70: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ +00058f80: 6765 7327 0a20 2074 6167 733a 0a20 202d  ges'.  tags:.  -
│ │ │ +00058f90: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +00058fa0: 3628 6129 0a20 202d 204e 4953 542d 3830  6(a).  - NIST-80
│ │ │ +00058fb0: 302d 3533 2d43 4d2d 3728 6129 0a20 202d  0-53-CM-7(a).  -
│ │ │ +00058fc0: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +00058fd0: 3728 6229 0a20 202d 2064 6973 6162 6c65  7(b).  - disable
│ │ │ +00058fe0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ +00058ff0: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ +00059000: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ +00059010: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ +00059020: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ +00059030: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ +00059040: 6b61 6765 5f67 646d 5f72 656d 6f76 6564  kage_gdm_removed
│ │ │ +00059050: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation P │ │ │ +00059110: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ +00059120: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
low< │ │ │ +000591f0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>
C │ │ │ +00058d50: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +00058d80: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +00058d90: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +00058dd0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ +00058de0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexity: │ │ │ +000591b0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ +000591d0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ +00059220: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +00059230: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
include remo
│ │ │ +00059260: 7665 5f67 646d 330a 0a63 6c61 7373 2072  ve_gdm3..class r
│ │ │ +00059270: 656d 6f76 655f 6764 6d33 207b 0a20 2070  emove_gdm3 {.  p
│ │ │ +00059280: 6163 6b61 6765 207b 2027 6764 6d33 273a  ackage { 'gdm3':
│ │ │ +00059290: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ +000592a0: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a  ; 'purged',.  }.
│ │ │ +000592b0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ 000592c0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediat │ │ │ -0005b880: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue │ │ │ -0005b890: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet .. │ │ │ -0005b8a0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
│ │ │ -0005b8e0: 3c63 6f64 653e 0a5b 5b70 6163 6b61 6765  .[[package
│ │ │ -0005b8f0: 735d 5d0a 6e61 6d65 203d 2022 7375 646f  s]].name = "sudo
│ │ │ -0005b900: 220a 7665 7273 696f 6e20 3d20 222a 220a  ".version = "*".
│ │ │ -0005b910: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation Pu │ │ │ -0005b9d0: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ -0005b9e0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ -0005ba60: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -0005ba80: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -0005bad0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ -0005bb00: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include instal
│ │ │ -0005bb20: 6c5f 7375 646f 0a0a 636c 6173 7320 696e  l_sudo..class in
│ │ │ -0005bb30: 7374 616c 6c5f 7375 646f 207b 0a20 2070  stall_sudo {.  p
│ │ │ -0005bb40: 6163 6b61 6765 207b 2027 7375 646f 273a  ackage { 'sudo':
│ │ │ -0005bb50: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ -0005bb60: 3b20 2769 6e73 7461 6c6c 6564 272c 0a20  ; 'installed',. 
│ │ │ -0005bb70: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.Remediati
│ │ │ -0005bc30: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070  on Ansible snipp
│ │ │ -0005bc40: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64  et ...
│ │ │ -0005bc80: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
Complexity:< │ │ │ -0005ba70: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -0005ba90: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -0005bae0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ -0005baf0: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
< │ │ │ -0005bcf0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -0005bd10: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -0005bd40: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -0005bd60: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -0005bcd0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -0005bce0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -0005bd20: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -0005bd30: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
- name: │ │ │ -0005bd80: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ -0005bd90: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ -0005bda0: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ -0005bdb0: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ -0005bdc0: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800 │ │ │ -0005bdd0: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). - │ │ │ -0005bde0: 5043 492d 4453 5376 342d 322e 320a 2020 PCI-DSSv4-2.2. │ │ │ -0005bdf0: 2d20 5043 492d 4453 5376 342d 322e 322e - PCI-DSSv4-2.2. │ │ │ -0005be00: 360a 2020 2d20 656e 6162 6c65 5f73 7472 6. - enable_str │ │ │ -0005be10: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co │ │ │ -0005be20: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low │ │ │ -0005be30: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. - │ │ │ -0005be40: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity. │ │ │ -0005be50: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ -0005be60: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package │ │ │ -0005be70: 5f73 7564 6f5f 696e 7374 616c 6c65 640a _sudo_installed. │ │ │ -0005be80: 0a2d 206e 616d 653a 2045 6e73 7572 6520 .- name: Ensure │ │ │ -0005be90: 7375 646f 2069 7320 696e 7374 616c 6c65 sudo is installe │ │ │ -0005bea0: 640a 2020 7061 636b 6167 653a 0a20 2020 d. package:. │ │ │ -0005beb0: 206e 616d 653a 2073 7564 6f0a 2020 2020 name: sudo. │ │ │ -0005bec0: 7374 6174 653a 2070 7265 7365 6e74 0a20 state: present. │ │ │ -0005bed0: 2077 6865 6e3a 2027 226c 696e 7578 2d62 when: '"linux-b │ │ │ -0005bee0: 6173 6522 2069 6e20 616e 7369 626c 655f ase" in ansible_ │ │ │ -0005bef0: 6661 6374 732e 7061 636b 6167 6573 270a facts.packages'. │ │ │ -0005bf00: 2020 7461 6773 3a0a 2020 2d20 4e49 5354 tags:. - NIST │ │ │ -0005bf10: 2d38 3030 2d35 332d 434d 2d36 2861 290a -800-53-CM-6(a). │ │ │ -0005bf20: 2020 2d20 5043 492d 4453 5376 342d 322e - PCI-DSSv4-2. │ │ │ -0005bf30: 320a 2020 2d20 5043 492d 4453 5376 342d 2. - PCI-DSSv4- │ │ │ -0005bf40: 322e 322e 360a 2020 2d20 656e 6162 6c65 2.2.6. - enable │ │ │ -0005bf50: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo │ │ │ -0005bf60: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. - │ │ │ -0005bf70: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption. │ │ │ -0005bf80: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever │ │ │ -0005bf90: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo │ │ │ -0005bfa0: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac │ │ │ -0005bfb0: 6b61 6765 5f73 7564 6f5f 696e 7374 616c kage_sudo_instal │ │ │ -0005bfc0: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265 led.

< │ │ │ +0005b8a0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +0005b8b0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +0005b8c0: 7365 2220 6964 3d22 6964 6d34 3434 3922 se" id="idm4449" │ │ │ +0005b8d0: 3e3c 7461 626c 6520 636c 6173 733d 2274 > │ │ │ +0005b940: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +0005b960: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +0005b990: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +0005b920: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +0005b930: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +0005b950: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +0005b970: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +0005b980: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

- name: │ │ │ +0005b9d0: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack │ │ │ +0005b9e0: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack │ │ │ +0005b9f0: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m │ │ │ +0005ba00: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t │ │ │ +0005ba10: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80 │ │ │ +0005ba20: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). - │ │ │ +0005ba30: 2050 4349 2d44 5353 7634 2d32 2e32 0a20 PCI-DSSv4-2.2. │ │ │ +0005ba40: 202d 2050 4349 2d44 5353 7634 2d32 2e32 - PCI-DSSv4-2.2 │ │ │ +0005ba50: 2e36 0a20 202d 2065 6e61 626c 655f 7374 .6. - enable_st │ │ │ +0005ba60: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c │ │ │ +0005ba70: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo │ │ │ +0005ba80: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. - │ │ │ +0005ba90: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity │ │ │ +0005baa0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n │ │ │ +0005bab0: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag │ │ │ +0005bac0: 655f 7375 646f 5f69 6e73 7461 6c6c 6564 e_sudo_installed │ │ │ +0005bad0: 0a0a 2d20 6e61 6d65 3a20 456e 7375 7265 ..- name: Ensure │ │ │ +0005bae0: 2073 7564 6f20 6973 2069 6e73 7461 6c6c sudo is install │ │ │ +0005baf0: 6564 0a20 2070 6163 6b61 6765 3a0a 2020 ed. package:. │ │ │ +0005bb00: 2020 6e61 6d65 3a20 7375 646f 0a20 2020 name: sudo. │ │ │ +0005bb10: 2073 7461 7465 3a20 7072 6573 656e 740a state: present. │ │ │ +0005bb20: 2020 7768 656e 3a20 2722 6c69 6e75 782d when: '"linux- │ │ │ +0005bb30: 6261 7365 2220 696e 2061 6e73 6962 6c65 base" in ansible │ │ │ +0005bb40: 5f66 6163 7473 2e70 6163 6b61 6765 7327 _facts.packages' │ │ │ +0005bb50: 0a20 2074 6167 733a 0a20 202d 204e 4953 . tags:. - NIS │ │ │ +0005bb60: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a) │ │ │ +0005bb70: 0a20 202d 2050 4349 2d44 5353 7634 2d32 . - PCI-DSSv4-2 │ │ │ +0005bb80: 2e32 0a20 202d 2050 4349 2d44 5353 7634 .2. - PCI-DSSv4 │ │ │ +0005bb90: 2d32 2e32 2e36 0a20 202d 2065 6e61 626c -2.2.6. - enabl │ │ │ +0005bba0: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l │ │ │ +0005bbb0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity. │ │ │ +0005bbc0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption │ │ │ +0005bbd0: 0a20 202d 206d 6564 6975 6d5f 7365 7665 . - medium_seve │ │ │ +0005bbe0: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo │ │ │ +0005bbf0: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa │ │ │ +0005bc00: 636b 6167 655f 7375 646f 5f69 6e73 7461 ckage_sudo_insta │ │ │ +0005bc10: 6c6c 6564 0a3c 2f63 6f64 653e 3c2f 7072 lled.

Remediati │ │ │ +0005bcd0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ +0005bce0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
< │ │ │ +0005bd20: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +0005bd30: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +0005bd40: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +0005bd50: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +0005bd60: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +0005bd70: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +0005bd80: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +0005bdc0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +0005bdd0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +0005bdf0: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ +0005be00: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include i
│ │ │ +0005be20: 6e73 7461 6c6c 5f73 7564 6f0a 0a63 6c61  nstall_sudo..cla
│ │ │ +0005be30: 7373 2069 6e73 7461 6c6c 5f73 7564 6f20  ss install_sudo 
│ │ │ +0005be40: 7b0a 2020 7061 636b 6167 6520 7b20 2773  {.  package { 's
│ │ │ +0005be50: 7564 6f27 3a0a 2020 2020 656e 7375 7265  udo':.    ensure
│ │ │ +0005be60: 203d 2667 743b 2027 696e 7374 616c 6c65   => 'installe
│ │ │ +0005be70: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Reme │ │ │ +0005bf30: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild │ │ │ +0005bf40: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe │ │ │ +0005bf50: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
< │ │ │ +0005bf90: 7072 653e 3c63 6f64 653e 0a5b 5b70 6163 pre>.[[pac │ │ │ +0005bfa0: 6b61 6765 735d 5d0a 6e61 6d65 203d 2022 kages]].name = " │ │ │ +0005bfb0: 7375 646f 220a 7665 7273 696f 6e20 3d20 sudo".version = │ │ │ +0005bfc0: 222a 220a 3c2f 636f 6465 3e3c 2f70 7265 "*".
Remediati │ │ │ -00097750: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep │ │ │ -00097760: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ... │ │ │ -00097770: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
<
│ │ │ -000977b0: 636f 6465 3e0a 5b5b 7061 636b 6167 6573  code>.[[packages
│ │ │ -000977c0: 5d5d 0a6e 616d 6520 3d20 226c 6962 7061  ]].name = "libpa
│ │ │ -000977d0: 6d2d 7077 7175 616c 6974 7922 0a76 6572  m-pwquality".ver
│ │ │ -000977e0: 7369 6f6e 203d 2022 2a22 0a3c 2f63 6f64  sion = "*".
Rem │ │ │ -000978a0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ -000978b0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -000978c0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
< │ │ │ -00097950: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -00097960: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -000979b0: 3c74 723e 3c74 683e 5374 7261 7465 6779
inc
│ │ │ -000979f0: 6c75 6465 2069 6e73 7461 6c6c 5f6c 6962  lude install_lib
│ │ │ -00097a00: 7061 6d2d 7077 7175 616c 6974 790a 0a63  pam-pwquality..c
│ │ │ -00097a10: 6c61 7373 2069 6e73 7461 6c6c 5f6c 6962  lass install_lib
│ │ │ -00097a20: 7061 6d2d 7077 7175 616c 6974 7920 7b0a  pam-pwquality {.
│ │ │ -00097a30: 2020 7061 636b 6167 6520 7b20 276c 6962    package { 'lib
│ │ │ -00097a40: 7061 6d2d 7077 7175 616c 6974 7927 3a0a  pam-pwquality':.
│ │ │ -00097a50: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -00097a60: 2027 696e 7374 616c 6c65 6427 2c0a 2020   'installed',.  
│ │ │ -00097a70: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediatio │ │ │ -00097b30: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ -00097b40: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
< │ │ │ -00097b80: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -00097b90: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -00097ba0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -00097bb0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -00097bc0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Disruption:Strategy: │ │ │ -00097c50: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c < │ │ │ -00097c60: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
C │ │ │ -00097940: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -00097970: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -00097980: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -000979c0: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ -000979d0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complex │ │ │ -00097bd0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -00097be0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ -00097c20: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -00097c30: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
enable
- name: G
│ │ │ -00097c80: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ -00097c90: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ -00097ca0: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ -00097cb0: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ -00097cc0: 733a 0a20 202d 2044 4953 412d 5354 4947  s:.  - DISA-STIG
│ │ │ -00097cd0: 2d55 4254 552d 3232 2d32 3135 3031 300a  -UBTU-22-215010.
│ │ │ -00097ce0: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -00097cf0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -00097d00: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -00097d10: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -00097d20: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -00097d30: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -00097d40: 6564 0a20 202d 2070 6163 6b61 6765 5f70  ed.  - package_p
│ │ │ -00097d50: 616d 5f70 7771 7561 6c69 7479 5f69 6e73  am_pwquality_ins
│ │ │ -00097d60: 7461 6c6c 6564 0a0a 2d20 6e61 6d65 3a20  talled..- name: 
│ │ │ -00097d70: 456e 7375 7265 206c 6962 7061 6d2d 7077  Ensure libpam-pw
│ │ │ -00097d80: 7175 616c 6974 7920 6973 2069 6e73 7461  quality is insta
│ │ │ -00097d90: 6c6c 6564 0a20 2070 6163 6b61 6765 3a0a  lled.  package:.
│ │ │ -00097da0: 2020 2020 6e61 6d65 3a20 6c69 6270 616d      name: libpam
│ │ │ -00097db0: 2d70 7771 7561 6c69 7479 0a20 2020 2073  -pwquality.    s
│ │ │ -00097dc0: 7461 7465 3a20 7072 6573 656e 740a 2020  tate: present.  
│ │ │ -00097dd0: 7768 656e 3a20 2722 6c69 6270 616d 2d72  when: '"libpam-r
│ │ │ -00097de0: 756e 7469 6d65 2220 696e 2061 6e73 6962  untime" in ansib
│ │ │ -00097df0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ -00097e00: 7327 0a20 2074 6167 733a 0a20 202d 2044  s'.  tags:.  - D
│ │ │ -00097e10: 4953 412d 5354 4947 2d55 4254 552d 3232  ISA-STIG-UBTU-22
│ │ │ -00097e20: 2d32 3135 3031 300a 2020 2d20 656e 6162  -215010.  - enab
│ │ │ -00097e30: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -00097e40: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -00097e50: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -00097e60: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ -00097e70: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -00097e80: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ -00097e90: 6163 6b61 6765 5f70 616d 5f70 7771 7561  ackage_pam_pwqua
│ │ │ -00097ea0: 6c69 7479 5f69 6e73 7461 6c6c 6564 0a3c  lity_installed.<
│ │ │ +00097750: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070  on Ansible snipp
│ │ │ +00097760: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64  et ...
│ │ │ +000977a0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ +00097810: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +00097830: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +00097860: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ +00097880: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ +000977f0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +00097800: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +00097840: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +00097850: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
- name: │ │ │ +000978a0: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ +000978b0: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ +000978c0: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ +000978d0: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ +000978e0: 6773 3a0a 2020 2d20 4449 5341 2d53 5449 gs:. - DISA-STI │ │ │ +000978f0: 472d 5542 5455 2d32 322d 3231 3530 3130 G-UBTU-22-215010 │ │ │ +00097900: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra │ │ │ +00097910: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com │ │ │ +00097920: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_ │ │ │ +00097930: 6469 7372 7570 7469 6f6e 0a20 202d 206d disruption. - m │ │ │ +00097940: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity. │ │ │ +00097950: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee │ │ │ +00097960: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_ │ │ │ +00097970: 7061 6d5f 7077 7175 616c 6974 795f 696e pam_pwquality_in │ │ │ +00097980: 7374 616c 6c65 640a 0a2d 206e 616d 653a stalled..- name: │ │ │ +00097990: 2045 6e73 7572 6520 6c69 6270 616d 2d70 Ensure libpam-p │ │ │ +000979a0: 7771 7561 6c69 7479 2069 7320 696e 7374 wquality is inst │ │ │ +000979b0: 616c 6c65 640a 2020 7061 636b 6167 653a alled. package: │ │ │ +000979c0: 0a20 2020 206e 616d 653a 206c 6962 7061 . name: libpa │ │ │ +000979d0: 6d2d 7077 7175 616c 6974 790a 2020 2020 m-pwquality. │ │ │ +000979e0: 7374 6174 653a 2070 7265 7365 6e74 0a20 state: present. │ │ │ +000979f0: 2077 6865 6e3a 2027 226c 6962 7061 6d2d when: '"libpam- │ │ │ +00097a00: 7275 6e74 696d 6522 2069 6e20 616e 7369 runtime" in ansi │ │ │ +00097a10: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag │ │ │ +00097a20: 6573 270a 2020 7461 6773 3a0a 2020 2d20 es'. tags:. - │ │ │ +00097a30: 4449 5341 2d53 5449 472d 5542 5455 2d32 DISA-STIG-UBTU-2 │ │ │ +00097a40: 322d 3231 3530 3130 0a20 202d 2065 6e61 2-215010. - ena │ │ │ +00097a50: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. - │ │ │ +00097a60: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity. │ │ │ +00097a70: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti │ │ │ +00097a80: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365 on. - medium_se │ │ │ +00097a90: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re │ │ │ +00097aa0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. - │ │ │ +00097ab0: 7061 636b 6167 655f 7061 6d5f 7077 7175 package_pam_pwqu │ │ │ +00097ac0: 616c 6974 795f 696e 7374 616c 6c65 640a ality_installed. │ │ │ +00097ad0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
Remediation Pu │ │ │ +00097b90: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ +00097ba0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ +00097c20: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +00097c40: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +00097c90: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ +00097cc0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include instal
│ │ │ +00097ce0: 6c5f 6c69 6270 616d 2d70 7771 7561 6c69  l_libpam-pwquali
│ │ │ +00097cf0: 7479 0a0a 636c 6173 7320 696e 7374 616c  ty..class instal
│ │ │ +00097d00: 6c5f 6c69 6270 616d 2d70 7771 7561 6c69  l_libpam-pwquali
│ │ │ +00097d10: 7479 207b 0a20 2070 6163 6b61 6765 207b  ty {.  package {
│ │ │ +00097d20: 2027 6c69 6270 616d 2d70 7771 7561 6c69   'libpam-pwquali
│ │ │ +00097d30: 7479 273a 0a20 2020 2065 6e73 7572 6520  ty':.    ensure 
│ │ │ +00097d40: 3d26 6774 3b20 2769 6e73 7461 6c6c 6564  => 'installed
│ │ │ +00097d50: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │ +00097d60: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Remed │ │ │ +00097e10: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B │ │ │ +00097e20: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet │ │ │ +00097e30: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...

.[[pack │ │ │ +00097e80: 6167 6573 5d5d 0a6e 616d 6520 3d20 226c ages]].name = "l │ │ │ +00097e90: 6962 7061 6d2d 7077 7175 616c 6974 7922 ibpam-pwquality" │ │ │ +00097ea0: 0a76 6572 7369 6f6e 203d 2022 2a22 0a3c .version = "*".< │ │ │ 00097eb0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>Remediation OS │ │ │ -000c83c0: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint │ │ │ -000c83d0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -000c83e0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>


│ │ │ -000c8420: 0a5b 5b70 6163 6b61 6765 735d 5d0a 6e61  .[[packages]].na
│ │ │ -000c8430: 6d65 203d 2022 6170 7061 726d 6f72 220a  me = "apparmor".
│ │ │ -000c8440: 7665 7273 696f 6e20 3d20 222a 220a 3c2f  version = "*".
│ │ │ -000c8500: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ -000c8510: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
Complexity:< │ │ │ +00097c30: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +00097c50: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +00097ca0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ +00097cb0: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
Complexity: │ │ │ -000c85f0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -000c8600: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ -000c8650: 696e 636c 7564 6520 696e 7374 616c 6c5f  include install_
│ │ │ -000c8660: 6170 7061 726d 6f72 0a0a 636c 6173 7320  apparmor..class 
│ │ │ -000c8670: 696e 7374 616c 6c5f 6170 7061 726d 6f72  install_apparmor
│ │ │ -000c8680: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ -000c8690: 6170 7061 726d 6f72 273a 0a20 2020 2065  apparmor':.    e
│ │ │ -000c86a0: 6e73 7572 6520 3d26 6774 3b20 2769 6e73  nsure => 'ins
│ │ │ -000c86b0: 7461 6c6c 6564 272c 0a20 207d 0a7d 0a3c  talled',.  }.}.<
│ │ │ -000c86c0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Ans │ │ │ -000c8780: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -000c8790: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low
Disru │ │ │ -000c85d0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -000c85e0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -000c8620: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ -000c8630: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -000c8810: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -000c8830: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -000c8880: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ -000c88b0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Ensure
│ │ │ -000c88d0: 2061 7070 6172 6d6f 7220 6973 2069 6e73   apparmor is ins
│ │ │ -000c88e0: 7461 6c6c 6564 0a20 2070 6163 6b61 6765  talled.  package
│ │ │ -000c88f0: 3a0a 2020 2020 6e61 6d65 3a20 6170 7061  :.    name: appa
│ │ │ -000c8900: 726d 6f72 0a20 2020 2073 7461 7465 3a20  rmor.    state: 
│ │ │ -000c8910: 7072 6573 656e 740a 2020 7768 656e 3a20  present.  when: 
│ │ │ -000c8920: 616e 7369 626c 655f 7669 7274 7561 6c69  ansible_virtuali
│ │ │ -000c8930: 7a61 7469 6f6e 5f74 7970 6520 6e6f 7420  zation_type not 
│ │ │ -000c8940: 696e 205b 2264 6f63 6b65 7222 2c20 226c  in ["docker", "l
│ │ │ -000c8950: 7863 222c 2022 6f70 656e 767a 222c 2022  xc", "openvz", "
│ │ │ -000c8960: 706f 646d 616e 222c 2022 636f 6e74 6169  podman", "contai
│ │ │ -000c8970: 6e65 7222 5d0a 2020 7461 6773 3a0a 2020  ner"].  tags:.  
│ │ │ -000c8980: 2d20 4449 5341 2d53 5449 472d 5542 5455  - DISA-STIG-UBTU
│ │ │ -000c8990: 2d32 322d 3433 3130 3130 0a20 202d 2065  -22-431010.  - e
│ │ │ -000c89a0: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ -000c89b0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -000c89c0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -000c89d0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ -000c89e0: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -000c89f0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -000c8a00: 2d20 7061 636b 6167 655f 6170 7061 726d  - package_apparm
│ │ │ -000c8a10: 6f72 5f69 6e73 7461 6c6c 6564 0a3c 2f63  or_installed.Remediation An
│ │ │ +000c83c0: 7369 626c 6520 736e 6970 7065 7420 e287  sible snippet ..
│ │ │ +000c83d0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c  .
low< │ │ │ +000c84a0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr> │ │ │ +000c84f0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -000c8820: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -000c8840: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -000c8890: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ -000c88a0: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
Complexity: │ │ │ +000c8460: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ +000c8480: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ +000c84d0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +000c84e0: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
- name: Ensur
│ │ │ +000c8510: 6520 6170 7061 726d 6f72 2069 7320 696e  e apparmor is in
│ │ │ +000c8520: 7374 616c 6c65 640a 2020 7061 636b 6167  stalled.  packag
│ │ │ +000c8530: 653a 0a20 2020 206e 616d 653a 2061 7070  e:.    name: app
│ │ │ +000c8540: 6172 6d6f 720a 2020 2020 7374 6174 653a  armor.    state:
│ │ │ +000c8550: 2070 7265 7365 6e74 0a20 2077 6865 6e3a   present.  when:
│ │ │ +000c8560: 2061 6e73 6962 6c65 5f76 6972 7475 616c   ansible_virtual
│ │ │ +000c8570: 697a 6174 696f 6e5f 7479 7065 206e 6f74  ization_type not
│ │ │ +000c8580: 2069 6e20 5b22 646f 636b 6572 222c 2022   in ["docker", "
│ │ │ +000c8590: 6c78 6322 2c20 226f 7065 6e76 7a22 2c20  lxc", "openvz", 
│ │ │ +000c85a0: 2270 6f64 6d61 6e22 2c20 2263 6f6e 7461  "podman", "conta
│ │ │ +000c85b0: 696e 6572 225d 0a20 2074 6167 733a 0a20  iner"].  tags:. 
│ │ │ +000c85c0: 202d 2044 4953 412d 5354 4947 2d55 4254   - DISA-STIG-UBT
│ │ │ +000c85d0: 552d 3232 2d34 3331 3031 300a 2020 2d20  U-22-431010.  - 
│ │ │ +000c85e0: 656e 6162 6c65 5f73 7472 6174 6567 790a  enable_strategy.
│ │ │ +000c85f0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +000c8600: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +000c8610: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ +000c8620: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +000c8630: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +000c8640: 202d 2070 6163 6b61 6765 5f61 7070 6172   - package_appar
│ │ │ +000c8650: 6d6f 725f 696e 7374 616c 6c65 640a 3c2f  mor_installed.
│ │ │ +000c8710: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ +000c8720: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
Complexity: │ │ │ +000c8800: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +000c8810: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ +000c8860: 696e 636c 7564 6520 696e 7374 616c 6c5f  include install_
│ │ │ +000c8870: 6170 7061 726d 6f72 0a0a 636c 6173 7320  apparmor..class 
│ │ │ +000c8880: 696e 7374 616c 6c5f 6170 7061 726d 6f72  install_apparmor
│ │ │ +000c8890: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ +000c88a0: 6170 7061 726d 6f72 273a 0a20 2020 2065  apparmor':.    e
│ │ │ +000c88b0: 6e73 7572 6520 3d26 6774 3b20 2769 6e73  nsure => 'ins
│ │ │ +000c88c0: 7461 6c6c 6564 272c 0a20 207d 0a7d 0a3c  talled',.  }.}.<
│ │ │ +000c88d0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation OSB │ │ │ +000c8990: 7569 6c64 2042 6c75 6570 7269 6e74 2073 uild Blueprint s │ │ │ +000c89a0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
.
│ │ │ +000c89f0: 5b5b 7061 636b 6167 6573 5d5d 0a6e 616d  [[packages]].nam
│ │ │ +000c8a00: 6520 3d20 2261 7070 6172 6d6f 7222 0a76  e = "apparmor".v
│ │ │ +000c8a10: 6572 7369 6f6e 203d 2022 2a22 0a3c 2f63  ersion = "*".
│ │ │ 000c8a30: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem │ │ │ -000d47c0: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild │ │ │ -000d47d0: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp │ │ │ -000d47e0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[[p
│ │ │ -000d4830: 6163 6b61 6765 735d 5d0a 6e61 6d65 203d  ackages]].name =
│ │ │ -000d4840: 2022 7379 7374 656d 642d 6a6f 7572 6e61   "systemd-journa
│ │ │ -000d4850: 6c2d 7265 6d6f 7465 220a 7665 7273 696f  l-remote".versio
│ │ │ -000d4860: 6e20 3d20 222a 220a 3c2f 636f 6465 3e3c  n = "*".<
│ │ │ -000d4870: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remed
│ │ │ -000d4920: 6961 7469 6f6e 2050 7570 7065 7420 736e  iation Puppet sn
│ │ │ -000d4930: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
low
Disru │ │ │ +000c87e0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +000c87f0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +000c8830: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ +000c8840: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
low< │ │ │ -000d49e0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -000d4a30: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ -000d49c0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -000d49f0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -000d4a10: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -000d4a20: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -000d4a40: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ -000d4a50: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -000d4a70: 7564 6520 696e 7374 616c 6c5f 7379 7374  ude install_syst
│ │ │ -000d4a80: 656d 642d 6a6f 7572 6e61 6c2d 7265 6d6f  emd-journal-remo
│ │ │ -000d4a90: 7465 0a0a 636c 6173 7320 696e 7374 616c  te..class instal
│ │ │ -000d4aa0: 6c5f 7379 7374 656d 642d 6a6f 7572 6e61  l_systemd-journa
│ │ │ -000d4ab0: 6c2d 7265 6d6f 7465 207b 0a20 2070 6163  l-remote {.  pac
│ │ │ -000d4ac0: 6b61 6765 207b 2027 7379 7374 656d 642d  kage { 'systemd-
│ │ │ -000d4ad0: 6a6f 7572 6e61 6c2d 7265 6d6f 7465 273a  journal-remote':
│ │ │ -000d4ae0: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ -000d4af0: 3b20 2769 6e73 7461 6c6c 6564 272c 0a20  ; 'installed',. 
│ │ │ -000d4b00: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.
Remediat │ │ │ -000d4bc0: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip │ │ │ -000d4bd0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -000d4be0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -000d4bf0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -000d4c00: 7365 2220 6964 3d22 6964 6d31 3137 3737 se" id="idm11777 │ │ │ -000d4c10: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ -000d4c60: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -000d4c70: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -000d4c90: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -000d4cb0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -000d4cc0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ -000d4d00: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -000d4d10: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ -000d4d20: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac │ │ │ -000d4d30: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ -000d4d40: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto. │ │ │ -000d4d50: 7461 6773 3a0a 2020 2d20 656e 6162 6c65 tags:. - enable │ │ │ -000d4d60: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo │ │ │ -000d4d70: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. - │ │ │ -000d4d80: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption. │ │ │ -000d4d90: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever │ │ │ -000d4da0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo │ │ │ -000d4db0: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac │ │ │ -000d4dc0: 6b61 6765 5f73 7973 7465 6d64 2d6a 6f75 kage_systemd-jou │ │ │ -000d4dd0: 726e 616c 2d72 656d 6f74 655f 696e 7374 rnal-remote_inst │ │ │ -000d4de0: 616c 6c65 640a 0a2d 206e 616d 653a 2045 alled..- name: E │ │ │ -000d4df0: 6e73 7572 6520 7379 7374 656d 642d 6a6f nsure systemd-jo │ │ │ -000d4e00: 7572 6e61 6c2d 7265 6d6f 7465 2069 7320 urnal-remote is │ │ │ -000d4e10: 696e 7374 616c 6c65 640a 2020 7061 636b installed. pack │ │ │ -000d4e20: 6167 653a 0a20 2020 206e 616d 653a 2073 age:. name: s │ │ │ -000d4e30: 7973 7465 6d64 2d6a 6f75 726e 616c 2d72 ystemd-journal-r │ │ │ -000d4e40: 656d 6f74 650a 2020 2020 7374 6174 653a emote. state: │ │ │ -000d4e50: 2070 7265 7365 6e74 0a20 2077 6865 6e3a present. when: │ │ │ -000d4e60: 2027 226c 696e 7578 2d62 6173 6522 2069 '"linux-base" i │ │ │ -000d4e70: 6e20 616e 7369 626c 655f 6661 6374 732e n ansible_facts. │ │ │ -000d4e80: 7061 636b 6167 6573 270a 2020 7461 6773 packages'. tags │ │ │ -000d4e90: 3a0a 2020 2d20 656e 6162 6c65 5f73 7472 :. - enable_str │ │ │ -000d4ea0: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co │ │ │ -000d4eb0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low │ │ │ -000d4ec0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. - │ │ │ -000d4ed0: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity. │ │ │ -000d4ee0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ -000d4ef0: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package │ │ │ -000d4f00: 5f73 7973 7465 6d64 2d6a 6f75 726e 616c _systemd-journal │ │ │ -000d4f10: 2d72 656d 6f74 655f 696e 7374 616c 6c65 -remote_installe │ │ │ -000d4f20: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c d.< │ │ │ +000d47c0: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ +000d47d0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +000d47e0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ +000d48b0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +000d48c0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
-
│ │ │ +000d4910: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ +000d4920: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ +000d4930: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ +000d4940: 0a20 2020 206d 616e 6167 6572 3a20 6175  .    manager: au
│ │ │ +000d4950: 746f 0a20 2074 6167 733a 0a20 202d 2065  to.  tags:.  - e
│ │ │ +000d4960: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ +000d4970: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +000d4980: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +000d4990: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +000d49a0: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +000d49b0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +000d49c0: 2d20 7061 636b 6167 655f 7379 7374 656d  - package_system
│ │ │ +000d49d0: 642d 6a6f 7572 6e61 6c2d 7265 6d6f 7465  d-journal-remote
│ │ │ +000d49e0: 5f69 6e73 7461 6c6c 6564 0a0a 2d20 6e61  _installed..- na
│ │ │ +000d49f0: 6d65 3a20 456e 7375 7265 2073 7973 7465  me: Ensure syste
│ │ │ +000d4a00: 6d64 2d6a 6f75 726e 616c 2d72 656d 6f74  md-journal-remot
│ │ │ +000d4a10: 6520 6973 2069 6e73 7461 6c6c 6564 0a20  e is installed. 
│ │ │ +000d4a20: 2070 6163 6b61 6765 3a0a 2020 2020 6e61   package:.    na
│ │ │ +000d4a30: 6d65 3a20 7379 7374 656d 642d 6a6f 7572  me: systemd-jour
│ │ │ +000d4a40: 6e61 6c2d 7265 6d6f 7465 0a20 2020 2073  nal-remote.    s
│ │ │ +000d4a50: 7461 7465 3a20 7072 6573 656e 740a 2020  tate: present.  
│ │ │ +000d4a60: 7768 656e 3a20 2722 6c69 6e75 782d 6261  when: '"linux-ba
│ │ │ +000d4a70: 7365 2220 696e 2061 6e73 6962 6c65 5f66  se" in ansible_f
│ │ │ +000d4a80: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ +000d4a90: 2074 6167 733a 0a20 202d 2065 6e61 626c   tags:.  - enabl
│ │ │ +000d4aa0: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ +000d4ab0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +000d4ac0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +000d4ad0: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ +000d4ae0: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +000d4af0: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ +000d4b00: 636b 6167 655f 7379 7374 656d 642d 6a6f  ckage_systemd-jo
│ │ │ +000d4b10: 7572 6e61 6c2d 7265 6d6f 7465 5f69 6e73  urnal-remote_ins
│ │ │ +000d4b20: 7461 6c6c 6564 0a3c 2f63 6f64 653e 3c2f  talled.Remedi
│ │ │ +000d4be0: 6174 696f 6e20 5075 7070 6574 2073 6e69  ation Puppet sni
│ │ │ +000d4bf0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e  ppet ...
│ │ │ +000d4c00: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Complexity:low
Disrup │ │ │ +000d4890: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +000d48a0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +000d48e0: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +000d48f0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Com │ │ │ +000d4c80: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +000d4cb0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +000d4cd0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +000d4ce0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +000d4d00: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ +000d4d20: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +000d4d30: 6465 2069 6e73 7461 6c6c 5f73 7973 7465  de install_syste
│ │ │ +000d4d40: 6d64 2d6a 6f75 726e 616c 2d72 656d 6f74  md-journal-remot
│ │ │ +000d4d50: 650a 0a63 6c61 7373 2069 6e73 7461 6c6c  e..class install
│ │ │ +000d4d60: 5f73 7973 7465 6d64 2d6a 6f75 726e 616c  _systemd-journal
│ │ │ +000d4d70: 2d72 656d 6f74 6520 7b0a 2020 7061 636b  -remote {.  pack
│ │ │ +000d4d80: 6167 6520 7b20 2773 7973 7465 6d64 2d6a  age { 'systemd-j
│ │ │ +000d4d90: 6f75 726e 616c 2d72 656d 6f74 6527 3a0a  ournal-remote':.
│ │ │ +000d4da0: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +000d4db0: 2027 696e 7374 616c 6c65 6427 2c0a 2020   'installed',.  
│ │ │ +000d4dc0: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ +000d4e80: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep │ │ │ +000d4e90: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ... │ │ │ +000d4ea0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ +000d4ee0: 3c63 6f64 653e 0a5b 5b70 6163 6b61 6765  .[[package
│ │ │ +000d4ef0: 735d 5d0a 6e61 6d65 203d 2022 7379 7374  s]].name = "syst
│ │ │ +000d4f00: 656d 642d 6a6f 7572 6e61 6c2d 7265 6d6f  emd-journal-remo
│ │ │ +000d4f10: 7465 220a 7665 7273 696f 6e20 3d20 222a  te".version = "*
│ │ │ +000d4f20: 220a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  ".
< │ │ │ 000d4f30: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remedia │ │ │ -000d5cd0: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu │ │ │ -000d5ce0: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet . │ │ │ -000d5cf0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
.[custom │ │ │ -000d5d40: 697a 6174 696f 6e73 2e73 6572 7669 6365 izations.service │ │ │ -000d5d50: 735d 0a65 6e61 626c 6564 203d 205b 2273 s].enabled = ["s │ │ │ -000d5d60: 7973 7465 6d64 2d6a 6f75 726e 616c 6422 ystemd-journald" │ │ │ -000d5d70: 5d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c ].< │ │ │ -000d5d80: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -000d5e30: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ -000d5e40: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -000d5ec0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -000d5ed0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -000d5ee0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -000d5f20: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -000d5f30: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -000d5f50: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ -000d5f70: 3c63 6f64 653e 696e 636c 7564 6520 656e  include en
│ │ │ -000d5f80: 6162 6c65 5f73 7973 7465 6d64 2d6a 6f75  able_systemd-jou
│ │ │ -000d5f90: 726e 616c 640a 0a63 6c61 7373 2065 6e61  rnald..class ena
│ │ │ -000d5fa0: 626c 655f 7379 7374 656d 642d 6a6f 7572  ble_systemd-jour
│ │ │ -000d5fb0: 6e61 6c64 207b 0a20 2073 6572 7669 6365  nald {.  service
│ │ │ -000d5fc0: 207b 2773 7973 7465 6d64 2d6a 6f75 726e   {'systemd-journ
│ │ │ -000d5fd0: 616c 6427 3a0a 2020 2020 656e 6162 6c65  ald':.    enable
│ │ │ -000d5fe0: 203d 2667 743b 2074 7275 652c 0a20 2020   => true,.   
│ │ │ -000d5ff0: 2065 6e73 7572 6520 3d26 6774 3b20 2772   ensure => 'r
│ │ │ -000d6000: 756e 6e69 6e67 272c 0a20 207d 0a7d 0a3c  unning',.  }.}.<
│ │ │ -000d6010: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation An │ │ │ -000d60d0: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -000d60e0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ -000d6170: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -000d6190: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -000d61a0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -000d61b0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -000d61c0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -000d61e0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
- name: Gath
│ │ │ -000d6220: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ -000d6230: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ -000d6240: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ -000d6250: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ -000d6260: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -000d6270: 5343 2d32 340a 2020 2d20 656e 6162 6c65  SC-24.  - enable
│ │ │ -000d6280: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ -000d6290: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -000d62a0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -000d62b0: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ -000d62c0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ -000d62d0: 745f 6e65 6564 6564 0a20 202d 2073 6572  t_needed.  - ser
│ │ │ -000d62e0: 7669 6365 5f73 7973 7465 6d64 2d6a 6f75  vice_systemd-jou
│ │ │ -000d62f0: 726e 616c 645f 656e 6162 6c65 640a 0a2d  rnald_enabled..-
│ │ │ -000d6300: 206e 616d 653a 2045 6e61 626c 6520 7379   name: Enable sy
│ │ │ -000d6310: 7374 656d 642d 6a6f 7572 6e61 6c64 2053  stemd-journald S
│ │ │ -000d6320: 6572 7669 6365 202d 2045 6e61 626c 6520  ervice - Enable 
│ │ │ -000d6330: 7365 7276 6963 6520 7379 7374 656d 642d  service systemd-
│ │ │ -000d6340: 6a6f 7572 6e61 6c64 0a20 2062 6c6f 636b  journald.  block
│ │ │ -000d6350: 3a0a 0a20 202d 206e 616d 653a 2047 6174  :..  - name: Gat
│ │ │ -000d6360: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ -000d6370: 6661 6374 730a 2020 2020 7061 636b 6167  facts.    packag
│ │ │ -000d6380: 655f 6661 6374 733a 0a20 2020 2020 206d  e_facts:.      m
│ │ │ -000d6390: 616e 6167 6572 3a20 6175 746f 0a0a 2020  anager: auto..  
│ │ │ -000d63a0: 2d20 6e61 6d65 3a20 456e 6162 6c65 2073  - name: Enable s
│ │ │ -000d63b0: 7973 7465 6d64 2d6a 6f75 726e 616c 6420  ystemd-journald 
│ │ │ -000d63c0: 5365 7276 6963 6520 2d20 456e 6162 6c65  Service - Enable
│ │ │ -000d63d0: 2053 6572 7669 6365 2073 7973 7465 6d64   Service systemd
│ │ │ -000d63e0: 2d6a 6f75 726e 616c 640a 2020 2020 616e  -journald.    an
│ │ │ -000d63f0: 7369 626c 652e 6275 696c 7469 6e2e 7379  sible.builtin.sy
│ │ │ -000d6400: 7374 656d 643a 0a20 2020 2020 206e 616d  stemd:.      nam
│ │ │ -000d6410: 653a 2073 7973 7465 6d64 2d6a 6f75 726e  e: systemd-journ
│ │ │ -000d6420: 616c 640a 2020 2020 2020 656e 6162 6c65  ald.      enable
│ │ │ -000d6430: 643a 2074 7275 650a 2020 2020 2020 7374  d: true.      st
│ │ │ -000d6440: 6174 653a 2073 7461 7274 6564 0a20 2020  ate: started.   
│ │ │ -000d6450: 2020 206d 6173 6b65 643a 2066 616c 7365     masked: false
│ │ │ -000d6460: 0a20 2020 2077 6865 6e3a 0a20 2020 202d  .    when:.    -
│ │ │ -000d6470: 2027 2273 7973 7465 6d64 2220 696e 2061   '"systemd" in a
│ │ │ -000d6480: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ -000d6490: 6b61 6765 7327 0a20 2077 6865 6e3a 2027  kages'.  when: '
│ │ │ -000d64a0: 226c 696e 7578 2d62 6173 6522 2069 6e20  "linux-base" in 
│ │ │ -000d64b0: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -000d64c0: 636b 6167 6573 270a 2020 7461 6773 3a0a  ckages'.  tags:.
│ │ │ -000d64d0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -000d64e0: 5343 2d32 340a 2020 2d20 656e 6162 6c65  SC-24.  - enable
│ │ │ -000d64f0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ -000d6500: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -000d6510: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -000d6520: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ -000d6530: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ -000d6540: 745f 6e65 6564 6564 0a20 202d 2073 6572  t_needed.  - ser
│ │ │ -000d6550: 7669 6365 5f73 7973 7465 6d64 2d6a 6f75  vice_systemd-jou
│ │ │ -000d6560: 726e 616c 645f 656e 6162 6c65 640a 3c2f  rnald_enabled.
│ │ │ +000d5cf0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +000d5d70: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +000d5da0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +000d5dc0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +000d5dd0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +000d5df0: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ +000d5e10: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ +000d5e20: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ +000d5e30: 636b 6167 6520 6661 6374 730a 2020 7061  ckage facts.  pa
│ │ │ +000d5e40: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ +000d5e50: 206d 616e 6167 6572 3a20 6175 746f 0a20   manager: auto. 
│ │ │ +000d5e60: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ +000d5e70: 3830 302d 3533 2d53 432d 3234 0a20 202d  800-53-SC-24.  -
│ │ │ +000d5e80: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ +000d5e90: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +000d5ea0: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +000d5eb0: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +000d5ec0: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +000d5ed0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +000d5ee0: 2020 2d20 7365 7276 6963 655f 7379 7374    - service_syst
│ │ │ +000d5ef0: 656d 642d 6a6f 7572 6e61 6c64 5f65 6e61  emd-journald_ena
│ │ │ +000d5f00: 626c 6564 0a0a 2d20 6e61 6d65 3a20 456e  bled..- name: En
│ │ │ +000d5f10: 6162 6c65 2073 7973 7465 6d64 2d6a 6f75  able systemd-jou
│ │ │ +000d5f20: 726e 616c 6420 5365 7276 6963 6520 2d20  rnald Service - 
│ │ │ +000d5f30: 456e 6162 6c65 2073 6572 7669 6365 2073  Enable service s
│ │ │ +000d5f40: 7973 7465 6d64 2d6a 6f75 726e 616c 640a  ystemd-journald.
│ │ │ +000d5f50: 2020 626c 6f63 6b3a 0a0a 2020 2d20 6e61    block:..  - na
│ │ │ +000d5f60: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ +000d5f70: 6163 6b61 6765 2066 6163 7473 0a20 2020  ackage facts.   
│ │ │ +000d5f80: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ +000d5f90: 2020 2020 2020 6d61 6e61 6765 723a 2061        manager: a
│ │ │ +000d5fa0: 7574 6f0a 0a20 202d 206e 616d 653a 2045  uto..  - name: E
│ │ │ +000d5fb0: 6e61 626c 6520 7379 7374 656d 642d 6a6f  nable systemd-jo
│ │ │ +000d5fc0: 7572 6e61 6c64 2053 6572 7669 6365 202d  urnald Service -
│ │ │ +000d5fd0: 2045 6e61 626c 6520 5365 7276 6963 6520   Enable Service 
│ │ │ +000d5fe0: 7379 7374 656d 642d 6a6f 7572 6e61 6c64  systemd-journald
│ │ │ +000d5ff0: 0a20 2020 2061 6e73 6962 6c65 2e62 7569  .    ansible.bui
│ │ │ +000d6000: 6c74 696e 2e73 7973 7465 6d64 3a0a 2020  ltin.systemd:.  
│ │ │ +000d6010: 2020 2020 6e61 6d65 3a20 7379 7374 656d      name: system
│ │ │ +000d6020: 642d 6a6f 7572 6e61 6c64 0a20 2020 2020  d-journald.     
│ │ │ +000d6030: 2065 6e61 626c 6564 3a20 7472 7565 0a20   enabled: true. 
│ │ │ +000d6040: 2020 2020 2073 7461 7465 3a20 7374 6172       state: star
│ │ │ +000d6050: 7465 640a 2020 2020 2020 6d61 736b 6564  ted.      masked
│ │ │ +000d6060: 3a20 6661 6c73 650a 2020 2020 7768 656e  : false.    when
│ │ │ +000d6070: 3a0a 2020 2020 2d20 2722 7379 7374 656d  :.    - '"system
│ │ │ +000d6080: 6422 2069 6e20 616e 7369 626c 655f 6661  d" in ansible_fa
│ │ │ +000d6090: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ +000d60a0: 7768 656e 3a20 2722 6c69 6e75 782d 6261  when: '"linux-ba
│ │ │ +000d60b0: 7365 2220 696e 2061 6e73 6962 6c65 5f66  se" in ansible_f
│ │ │ +000d60c0: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ +000d60d0: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ +000d60e0: 3830 302d 3533 2d53 432d 3234 0a20 202d  800-53-SC-24.  -
│ │ │ +000d60f0: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ +000d6100: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +000d6110: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +000d6120: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +000d6130: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +000d6140: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +000d6150: 2020 2d20 7365 7276 6963 655f 7379 7374    - service_syst
│ │ │ +000d6160: 656d 642d 6a6f 7572 6e61 6c64 5f65 6e61  emd-journald_ena
│ │ │ +000d6170: 626c 6564 0a3c 2f63 6f64 653e 3c2f 7072  bled.
Remediat │ │ │ +000d6230: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ +000d6240: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +000d62f0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +000d6310: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +000d6340: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +000d62d0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +000d62e0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +000d6300: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +000d6320: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +000d6330: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

include │ │ │ +000d6380: 2065 6e61 626c 655f 7379 7374 656d 642d enable_systemd- │ │ │ +000d6390: 6a6f 7572 6e61 6c64 0a0a 636c 6173 7320 journald..class │ │ │ +000d63a0: 656e 6162 6c65 5f73 7973 7465 6d64 2d6a enable_systemd-j │ │ │ +000d63b0: 6f75 726e 616c 6420 7b0a 2020 7365 7276 ournald {. serv │ │ │ +000d63c0: 6963 6520 7b27 7379 7374 656d 642d 6a6f ice {'systemd-jo │ │ │ +000d63d0: 7572 6e61 6c64 273a 0a20 2020 2065 6e61 urnald':. ena │ │ │ +000d63e0: 626c 6520 3d26 6774 3b20 7472 7565 2c0a ble => true,. │ │ │ +000d63f0: 2020 2020 656e 7375 7265 203d 2667 743b ensure => │ │ │ +000d6400: 2027 7275 6e6e 696e 6727 2c0a 2020 7d0a 'running',. }. │ │ │ +000d6410: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.

< │ │ │ +000d6420: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +000d64d0: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ +000d64e0: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
.[customizat
│ │ │ +000d6540: 696f 6e73 2e73 6572 7669 6365 735d 0a65  ions.services].e
│ │ │ +000d6550: 6e61 626c 6564 203d 205b 2273 7973 7465  nabled = ["syste
│ │ │ +000d6560: 6d64 2d6a 6f75 726e 616c 6422 5d0a 3c2f  md-journald"].
Remediati │ │ │ -000e1640: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep │ │ │ -000e1650: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ... │ │ │ -000e1660: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ -000e16a0: 3c63 6f64 653e 0a5b 5b70 6163 6b61 6765  .[[package
│ │ │ -000e16b0: 735d 5d0a 6e61 6d65 203d 2022 7273 7973  s]].name = "rsys
│ │ │ -000e16c0: 6c6f 6722 0a76 6572 7369 6f6e 203d 2022  log".version = "
│ │ │ -000e16d0: 2a22 0a3c 2f63 6f64 653e 3c2f 7072 653e  *".
│ │ │ -000e16e0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ -000e1790: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ -000e17a0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -000e17e0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -000e17f0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -000e1800: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -000e1810: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -000e1820: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -000e1830: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -000e1840: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -000e1880: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -000e1890: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -000e18b0: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ -000e18c0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include i
│ │ │ -000e18e0: 6e73 7461 6c6c 5f72 7379 736c 6f67 0a0a  nstall_rsyslog..
│ │ │ -000e18f0: 636c 6173 7320 696e 7374 616c 6c5f 7273  class install_rs
│ │ │ -000e1900: 7973 6c6f 6720 7b0a 2020 7061 636b 6167  yslog {.  packag
│ │ │ -000e1910: 6520 7b20 2772 7379 736c 6f67 273a 0a20  e { 'rsyslog':. 
│ │ │ -000e1920: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ -000e1930: 2769 6e73 7461 6c6c 6564 272c 0a20 207d  'installed',.  }
│ │ │ -000e1940: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ -000e1950: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ -000e1a00: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ -000e1a10: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -000e1a50: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -000e1ac0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -000e1ae0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -000e1b10: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -000e1b30: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -000e1aa0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -000e1ab0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -000e1af0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -000e1b00: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
- name: │ │ │ -000e1b50: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ -000e1b60: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ -000e1b70: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ -000e1b80: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ -000e1b90: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800 │ │ │ -000e1ba0: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). - │ │ │ -000e1bb0: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy. │ │ │ -000e1bc0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi │ │ │ -000e1bd0: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru │ │ │ -000e1be0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium │ │ │ -000e1bf0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no │ │ │ -000e1c00: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed. │ │ │ -000e1c10: 202d 2070 6163 6b61 6765 5f72 7379 736c - package_rsysl │ │ │ -000e1c20: 6f67 5f69 6e73 7461 6c6c 6564 0a0a 2d20 og_installed..- │ │ │ -000e1c30: 6e61 6d65 3a20 456e 7375 7265 2072 7379 name: Ensure rsy │ │ │ -000e1c40: 736c 6f67 2069 7320 696e 7374 616c 6c65 slog is installe │ │ │ -000e1c50: 640a 2020 7061 636b 6167 653a 0a20 2020 d. package:. │ │ │ -000e1c60: 206e 616d 653a 2072 7379 736c 6f67 0a20 name: rsyslog. │ │ │ -000e1c70: 2020 2073 7461 7465 3a20 7072 6573 656e state: presen │ │ │ -000e1c80: 740a 2020 7768 656e 3a20 2722 6c69 6e75 t. when: '"linu │ │ │ -000e1c90: 782d 6261 7365 2220 696e 2061 6e73 6962 x-base" in ansib │ │ │ -000e1ca0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package │ │ │ -000e1cb0: 7327 0a20 2074 6167 733a 0a20 202d 204e s'. tags:. - N │ │ │ -000e1cc0: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6( │ │ │ -000e1cd0: 6129 0a20 202d 2065 6e61 626c 655f 7374 a). - enable_st │ │ │ -000e1ce0: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c │ │ │ -000e1cf0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo │ │ │ -000e1d00: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. - │ │ │ -000e1d10: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity │ │ │ -000e1d20: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n │ │ │ -000e1d30: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag │ │ │ -000e1d40: 655f 7273 7973 6c6f 675f 696e 7374 616c e_rsyslog_instal │ │ │ -000e1d50: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265 led.
│ │ │ +000e1700: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +000e1720: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +000e1750: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +000e16e0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +000e16f0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +000e1710: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +000e1730: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +000e1740: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

- name: │ │ │ +000e1790: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack │ │ │ +000e17a0: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack │ │ │ +000e17b0: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m │ │ │ +000e17c0: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t │ │ │ +000e17d0: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80 │ │ │ +000e17e0: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). - │ │ │ +000e17f0: 2065 6e61 626c 655f 7374 7261 7465 6779 enable_strategy │ │ │ +000e1800: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex │ │ │ +000e1810: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr │ │ │ +000e1820: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu │ │ │ +000e1830: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n │ │ │ +000e1840: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed. │ │ │ +000e1850: 2020 2d20 7061 636b 6167 655f 7273 7973 - package_rsys │ │ │ +000e1860: 6c6f 675f 696e 7374 616c 6c65 640a 0a2d log_installed..- │ │ │ +000e1870: 206e 616d 653a 2045 6e73 7572 6520 7273 name: Ensure rs │ │ │ +000e1880: 7973 6c6f 6720 6973 2069 6e73 7461 6c6c yslog is install │ │ │ +000e1890: 6564 0a20 2070 6163 6b61 6765 3a0a 2020 ed. package:. │ │ │ +000e18a0: 2020 6e61 6d65 3a20 7273 7973 6c6f 670a name: rsyslog. │ │ │ +000e18b0: 2020 2020 7374 6174 653a 2070 7265 7365 state: prese │ │ │ +000e18c0: 6e74 0a20 2077 6865 6e3a 2027 226c 696e nt. when: '"lin │ │ │ +000e18d0: 7578 2d62 6173 6522 2069 6e20 616e 7369 ux-base" in ansi │ │ │ +000e18e0: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag │ │ │ +000e18f0: 6573 270a 2020 7461 6773 3a0a 2020 2d20 es'. tags:. - │ │ │ +000e1900: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6 │ │ │ +000e1910: 2861 290a 2020 2d20 656e 6162 6c65 5f73 (a). - enable_s │ │ │ +000e1920: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_ │ │ │ +000e1930: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l │ │ │ +000e1940: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption. │ │ │ +000e1950: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit │ │ │ +000e1960: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_ │ │ │ +000e1970: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa │ │ │ +000e1980: 6765 5f72 7379 736c 6f67 5f69 6e73 7461 ge_rsyslog_insta │ │ │ +000e1990: 6c6c 6564 0a3c 2f63 6f64 653e 3c2f 7072 lled.

Remediat │ │ │ +000e1a50: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ +000e1a60: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +000e1b10: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +000e1b30: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +000e1b60: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +000e1af0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +000e1b00: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +000e1b20: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +000e1b40: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +000e1b50: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

include │ │ │ +000e1ba0: 2069 6e73 7461 6c6c 5f72 7379 736c 6f67 install_rsyslog │ │ │ +000e1bb0: 0a0a 636c 6173 7320 696e 7374 616c 6c5f ..class install_ │ │ │ +000e1bc0: 7273 7973 6c6f 6720 7b0a 2020 7061 636b rsyslog {. pack │ │ │ +000e1bd0: 6167 6520 7b20 2772 7379 736c 6f67 273a age { 'rsyslog': │ │ │ +000e1be0: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure => │ │ │ +000e1bf0: 3b20 2769 6e73 7461 6c6c 6564 272c 0a20 ; 'installed',. │ │ │ +000e1c00: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.

Remediat │ │ │ +000e1cc0: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue │ │ │ +000e1cd0: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet .. │ │ │ +000e1ce0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
.[[packag
│ │ │ +000e1d30: 6573 5d5d 0a6e 616d 6520 3d20 2272 7379  es]].name = "rsy
│ │ │ +000e1d40: 736c 6f67 220a 7665 7273 696f 6e20 3d20  slog".version = 
│ │ │ +000e1d50: 222a 220a 3c2f 636f 6465 3e3c 2f70 7265  "*".
Re │ │ │ -000e30c0: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil │ │ │ -000e30d0: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip │ │ │ -000e30e0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -000e30f0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -000e3100: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -000e3110: 7365 2220 6964 3d22 6964 6d31 3134 3435 se" id="idm11445 │ │ │ -000e3120: 223e 3c70 7265 3e3c 636f 6465 3e0a 5b63 ">
.[c
│ │ │ -000e3130: 7573 746f 6d69 7a61 7469 6f6e 732e 7365  ustomizations.se
│ │ │ -000e3140: 7276 6963 6573 5d0a 656e 6162 6c65 6420  rvices].enabled 
│ │ │ -000e3150: 3d20 5b22 7273 7973 6c6f 6722 5d0a 3c2f  = ["rsyslog"].
Remediation Pup │ │ │ -000e3220: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ -000e3230: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -000e32b0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -000e32d0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -000e3320: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ -000e3350: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include enable
│ │ │ -000e3370: 5f72 7379 736c 6f67 0a0a 636c 6173 7320  _rsyslog..class 
│ │ │ -000e3380: 656e 6162 6c65 5f72 7379 736c 6f67 207b  enable_rsyslog {
│ │ │ -000e3390: 0a20 2073 6572 7669 6365 207b 2772 7379  .  service {'rsy
│ │ │ -000e33a0: 736c 6f67 273a 0a20 2020 2065 6e61 626c  slog':.    enabl
│ │ │ -000e33b0: 6520 3d26 6774 3b20 7472 7565 2c0a 2020  e => true,.  
│ │ │ -000e33c0: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ -000e33d0: 7275 6e6e 696e 6727 2c0a 2020 7d0a 7d0a  running',.  }.}.
│ │ │ -000e33e0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation A │ │ │ -000e34a0: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet . │ │ │ -000e34b0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -000e3530: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ -000e3570: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 enable
Complexity:< │ │ │ -000e32c0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -000e32e0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -000e3330: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ -000e3340: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
Complexit │ │ │ -000e3540: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ -000e3560: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ -000e3590: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -000e35b0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
<
│ │ │ -000e35e0: 636f 6465 3e2d 206e 616d 653a 2047 6174  code>- name: Gat
│ │ │ -000e35f0: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ -000e3600: 6661 6374 730a 2020 7061 636b 6167 655f  facts.  package_
│ │ │ -000e3610: 6661 6374 733a 0a20 2020 206d 616e 6167  facts:.    manag
│ │ │ -000e3620: 6572 3a20 6175 746f 0a20 2074 6167 733a  er: auto.  tags:
│ │ │ -000e3630: 0a20 202d 2044 4953 412d 5354 4947 2d55  .  - DISA-STIG-U
│ │ │ -000e3640: 4254 552d 3232 2d36 3532 3031 300a 2020  BTU-22-652010.  
│ │ │ -000e3650: 2d20 4e49 5354 2d38 3030 2d35 332d 4155  - NIST-800-53-AU
│ │ │ -000e3660: 2d34 2831 290a 2020 2d20 4e49 5354 2d38  -4(1).  - NIST-8
│ │ │ -000e3670: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ -000e3680: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ -000e3690: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -000e36a0: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -000e36b0: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ -000e36c0: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ -000e36d0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -000e36e0: 0a20 202d 2073 6572 7669 6365 5f72 7379  .  - service_rsy
│ │ │ -000e36f0: 736c 6f67 5f65 6e61 626c 6564 0a0a 2d20  slog_enabled..- 
│ │ │ -000e3700: 6e61 6d65 3a20 456e 6162 6c65 2072 7379  name: Enable rsy
│ │ │ -000e3710: 736c 6f67 2053 6572 7669 6365 202d 2045  slog Service - E
│ │ │ -000e3720: 6e61 626c 6520 7365 7276 6963 6520 7273  nable service rs
│ │ │ -000e3730: 7973 6c6f 670a 2020 626c 6f63 6b3a 0a0a  yslog.  block:..
│ │ │ -000e3740: 2020 2d20 6e61 6d65 3a20 4761 7468 6572    - name: Gather
│ │ │ -000e3750: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ -000e3760: 7473 0a20 2020 2070 6163 6b61 6765 5f66  ts.    package_f
│ │ │ -000e3770: 6163 7473 3a0a 2020 2020 2020 6d61 6e61  acts:.      mana
│ │ │ -000e3780: 6765 723a 2061 7574 6f0a 0a20 202d 206e  ger: auto..  - n
│ │ │ -000e3790: 616d 653a 2045 6e61 626c 6520 7273 7973  ame: Enable rsys
│ │ │ -000e37a0: 6c6f 6720 5365 7276 6963 6520 2d20 456e  log Service - En
│ │ │ -000e37b0: 6162 6c65 2053 6572 7669 6365 2072 7379  able Service rsy
│ │ │ -000e37c0: 736c 6f67 0a20 2020 2061 6e73 6962 6c65  slog.    ansible
│ │ │ -000e37d0: 2e62 7569 6c74 696e 2e73 7973 7465 6d64  .builtin.systemd
│ │ │ -000e37e0: 3a0a 2020 2020 2020 6e61 6d65 3a20 7273  :.      name: rs
│ │ │ -000e37f0: 7973 6c6f 670a 2020 2020 2020 656e 6162  yslog.      enab
│ │ │ -000e3800: 6c65 643a 2074 7275 650a 2020 2020 2020  led: true.      
│ │ │ -000e3810: 7374 6174 653a 2073 7461 7274 6564 0a20  state: started. 
│ │ │ -000e3820: 2020 2020 206d 6173 6b65 643a 2066 616c       masked: fal
│ │ │ -000e3830: 7365 0a20 2020 2077 6865 6e3a 0a20 2020  se.    when:.   
│ │ │ -000e3840: 202d 2027 2272 7379 736c 6f67 2220 696e   - '"rsyslog" in
│ │ │ -000e3850: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ -000e3860: 6163 6b61 6765 7327 0a20 2077 6865 6e3a  ackages'.  when:
│ │ │ -000e3870: 2027 226c 696e 7578 2d62 6173 6522 2069   '"linux-base" i
│ │ │ -000e3880: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ -000e3890: 7061 636b 6167 6573 270a 2020 7461 6773  packages'.  tags
│ │ │ -000e38a0: 3a0a 2020 2d20 4449 5341 2d53 5449 472d  :.  - DISA-STIG-
│ │ │ -000e38b0: 5542 5455 2d32 322d 3635 3230 3130 0a20  UBTU-22-652010. 
│ │ │ -000e38c0: 202d 204e 4953 542d 3830 302d 3533 2d41   - NIST-800-53-A
│ │ │ -000e38d0: 552d 3428 3129 0a20 202d 204e 4953 542d  U-4(1).  - NIST-
│ │ │ -000e38e0: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ -000e38f0: 202d 2065 6e61 626c 655f 7374 7261 7465   - enable_strate
│ │ │ -000e3900: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ -000e3910: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -000e3920: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ -000e3930: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ -000e3940: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -000e3950: 640a 2020 2d20 7365 7276 6963 655f 7273  d.  - service_rs
│ │ │ -000e3960: 7973 6c6f 675f 656e 6162 6c65 640a 3c2f  yslog_enabled.
Complexity: │ │ │ +000e31b0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +000e31c0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ +000e3210: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ +000e3220: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ +000e3230: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ +000e3240: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ +000e3250: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ +000e3260: 4449 5341 2d53 5449 472d 5542 5455 2d32  DISA-STIG-UBTU-2
│ │ │ +000e3270: 322d 3635 3230 3130 0a20 202d 204e 4953  2-652010.  - NIS
│ │ │ +000e3280: 542d 3830 302d 3533 2d41 552d 3428 3129  T-800-53-AU-4(1)
│ │ │ +000e3290: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +000e32a0: 2d43 4d2d 3628 6129 0a20 202d 2065 6e61  -CM-6(a).  - ena
│ │ │ +000e32b0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +000e32c0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +000e32d0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +000e32e0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ +000e32f0: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ +000e3300: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +000e3310: 7365 7276 6963 655f 7273 7973 6c6f 675f  service_rsyslog_
│ │ │ +000e3320: 656e 6162 6c65 640a 0a2d 206e 616d 653a  enabled..- name:
│ │ │ +000e3330: 2045 6e61 626c 6520 7273 7973 6c6f 6720   Enable rsyslog 
│ │ │ +000e3340: 5365 7276 6963 6520 2d20 456e 6162 6c65  Service - Enable
│ │ │ +000e3350: 2073 6572 7669 6365 2072 7379 736c 6f67   service rsyslog
│ │ │ +000e3360: 0a20 2062 6c6f 636b 3a0a 0a20 202d 206e  .  block:..  - n
│ │ │ +000e3370: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ +000e3380: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ +000e3390: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ +000e33a0: 0a20 2020 2020 206d 616e 6167 6572 3a20  .      manager: 
│ │ │ +000e33b0: 6175 746f 0a0a 2020 2d20 6e61 6d65 3a20  auto..  - name: 
│ │ │ +000e33c0: 456e 6162 6c65 2072 7379 736c 6f67 2053  Enable rsyslog S
│ │ │ +000e33d0: 6572 7669 6365 202d 2045 6e61 626c 6520  ervice - Enable 
│ │ │ +000e33e0: 5365 7276 6963 6520 7273 7973 6c6f 670a  Service rsyslog.
│ │ │ +000e33f0: 2020 2020 616e 7369 626c 652e 6275 696c      ansible.buil
│ │ │ +000e3400: 7469 6e2e 7379 7374 656d 643a 0a20 2020  tin.systemd:.   
│ │ │ +000e3410: 2020 206e 616d 653a 2072 7379 736c 6f67     name: rsyslog
│ │ │ +000e3420: 0a20 2020 2020 2065 6e61 626c 6564 3a20  .      enabled: 
│ │ │ +000e3430: 7472 7565 0a20 2020 2020 2073 7461 7465  true.      state
│ │ │ +000e3440: 3a20 7374 6172 7465 640a 2020 2020 2020  : started.      
│ │ │ +000e3450: 6d61 736b 6564 3a20 6661 6c73 650a 2020  masked: false.  
│ │ │ +000e3460: 2020 7768 656e 3a0a 2020 2020 2d20 2722    when:.    - '"
│ │ │ +000e3470: 7273 7973 6c6f 6722 2069 6e20 616e 7369  rsyslog" in ansi
│ │ │ +000e3480: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ +000e3490: 6573 270a 2020 7768 656e 3a20 2722 6c69  es'.  when: '"li
│ │ │ +000e34a0: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ +000e34b0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ +000e34c0: 6765 7327 0a20 2074 6167 733a 0a20 202d  ges'.  tags:.  -
│ │ │ +000e34d0: 2044 4953 412d 5354 4947 2d55 4254 552d   DISA-STIG-UBTU-
│ │ │ +000e34e0: 3232 2d36 3532 3031 300a 2020 2d20 4e49  22-652010.  - NI
│ │ │ +000e34f0: 5354 2d38 3030 2d35 332d 4155 2d34 2831  ST-800-53-AU-4(1
│ │ │ +000e3500: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ +000e3510: 332d 434d 2d36 2861 290a 2020 2d20 656e  3-CM-6(a).  - en
│ │ │ +000e3520: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +000e3530: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +000e3540: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +000e3550: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ +000e3560: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +000e3570: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +000e3580: 2073 6572 7669 6365 5f72 7379 736c 6f67   service_rsyslog
│ │ │ +000e3590: 5f65 6e61 626c 6564 0a3c 2f63 6f64 653e  _enabled.
│ │ │ +000e35a0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ +000e3650: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ +000e3660: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
low
Disru │ │ │ +000e3190: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +000e31a0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +000e31e0: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ +000e31f0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
< │ │ │ +000e3700: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +000e3710: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +000e3760: 3c74 723e 3c74 683e 5374 7261 7465 6779
inc
│ │ │ +000e37a0: 6c75 6465 2065 6e61 626c 655f 7273 7973  lude enable_rsys
│ │ │ +000e37b0: 6c6f 670a 0a63 6c61 7373 2065 6e61 626c  log..class enabl
│ │ │ +000e37c0: 655f 7273 7973 6c6f 6720 7b0a 2020 7365  e_rsyslog {.  se
│ │ │ +000e37d0: 7276 6963 6520 7b27 7273 7973 6c6f 6727  rvice {'rsyslog'
│ │ │ +000e37e0: 3a0a 2020 2020 656e 6162 6c65 203d 2667  :.    enable =&g
│ │ │ +000e37f0: 743b 2074 7275 652c 0a20 2020 2065 6e73  t; true,.    ens
│ │ │ +000e3800: 7572 6520 3d26 6774 3b20 2772 756e 6e69  ure => 'runni
│ │ │ +000e3810: 6e67 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ng',.  }.}.
Re │ │ │ +000e38d0: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil │ │ │ +000e38e0: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip │ │ │ +000e38f0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +000e3900: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +000e3910: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +000e3920: 7365 2220 6964 3d22 6964 6d31 3134 3437 se" id="idm11447 │ │ │ +000e3930: 223e 3c70 7265 3e3c 636f 6465 3e0a 5b63 ">
.[c
│ │ │ +000e3940: 7573 746f 6d69 7a61 7469 6f6e 732e 7365  ustomizations.se
│ │ │ +000e3950: 7276 6963 6573 5d0a 656e 6162 6c65 6420  rvices].enabled 
│ │ │ +000e3960: 3d20 5b22 7273 7973 6c6f 6722 5d0a 3c2f  = ["rsyslog"].
Remediation │ │ │ -000ee3f0: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ -000ee400: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
< │ │ │ -000ee660: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
C │ │ │ +000e36f0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +000e3720: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +000e3730: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +000e3770: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ +000e3780: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complexi │ │ │ -000ee5e0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -000ee5f0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ -000ee630: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -000ee640: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
│ │ │ -000ee680: 3c63 6f64 653e 696e 636c 7564 6520 696e  include in
│ │ │ -000ee690: 7374 616c 6c5f 6970 7461 626c 6573 0a0a  stall_iptables..
│ │ │ -000ee6a0: 636c 6173 7320 696e 7374 616c 6c5f 6970  class install_ip
│ │ │ -000ee6b0: 7461 626c 6573 207b 0a20 2070 6163 6b61  tables {.  packa
│ │ │ -000ee6c0: 6765 207b 2027 6970 7461 626c 6573 273a  ge { 'iptables':
│ │ │ -000ee6d0: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ -000ee6e0: 3b20 2769 6e73 7461 6c6c 6564 272c 0a20  ; 'installed',. 
│ │ │ -000ee6f0: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.
Remediat │ │ │ -000ee7b0: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip │ │ │ -000ee7c0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -000ee7d0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -000ee7e0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -000ee7f0: 7365 2220 6964 3d22 6964 6d31 3235 3732 se" id="idm12572 │ │ │ -000ee800: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ -000ee850: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -000ee860: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -000ee880: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -000ee8a0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -000ee8b0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ -000ee8f0: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -000ee900: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ -000ee910: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac │ │ │ -000ee920: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ -000ee930: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto. │ │ │ -000ee940: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8 │ │ │ -000ee950: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a). │ │ │ -000ee960: 2d20 5043 492d 4453 532d 5265 712d 312e - PCI-DSS-Req-1. │ │ │ -000ee970: 342e 310a 2020 2d20 656e 6162 6c65 5f73 4.1. - enable_s │ │ │ -000ee980: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_ │ │ │ -000ee990: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l │ │ │ -000ee9a0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption. │ │ │ -000ee9b0: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit │ │ │ -000ee9c0: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_ │ │ │ -000ee9d0: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa │ │ │ -000ee9e0: 6765 5f69 7074 6162 6c65 735f 696e 7374 ge_iptables_inst │ │ │ -000ee9f0: 616c 6c65 640a 0a2d 206e 616d 653a 2045 alled..- name: E │ │ │ -000eea00: 6e73 7572 6520 6970 7461 626c 6573 2069 nsure iptables i │ │ │ -000eea10: 7320 696e 7374 616c 6c65 640a 2020 7061 s installed. pa │ │ │ -000eea20: 636b 6167 653a 0a20 2020 206e 616d 653a ckage:. name: │ │ │ -000eea30: 2069 7074 6162 6c65 730a 2020 2020 7374 iptables. st │ │ │ -000eea40: 6174 653a 2070 7265 7365 6e74 0a20 2077 ate: present. w │ │ │ -000eea50: 6865 6e3a 2028 2022 6c69 6e75 782d 6261 hen: ( "linux-ba │ │ │ -000eea60: 7365 2220 696e 2061 6e73 6962 6c65 5f66 se" in ansible_f │ │ │ -000eea70: 6163 7473 2e70 6163 6b61 6765 7320 290a acts.packages ). │ │ │ -000eea80: 2020 7461 6773 3a0a 2020 2d20 4e49 5354 tags:. - NIST │ │ │ -000eea90: 2d38 3030 2d35 332d 434d 2d36 2861 290a -800-53-CM-6(a). │ │ │ -000eeaa0: 2020 2d20 5043 492d 4453 532d 5265 712d - PCI-DSS-Req- │ │ │ -000eeab0: 312e 342e 310a 2020 2d20 656e 6162 6c65 1.4.1. - enable │ │ │ -000eeac0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo │ │ │ -000eead0: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. - │ │ │ -000eeae0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption. │ │ │ -000eeaf0: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever │ │ │ -000eeb00: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo │ │ │ -000eeb10: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac │ │ │ -000eeb20: 6b61 6765 5f69 7074 6162 6c65 735f 696e kage_iptables_in │ │ │ -000eeb30: 7374 616c 6c65 640a 3c2f 636f 6465 3e3c stalled.< │ │ │ +000ee3f0: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ +000ee400: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +000ee440: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +000ee450: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +000ee460: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +000ee470: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +000ee480: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +000ee490: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +000ee4a0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +000ee4e0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +000ee4f0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +000ee510: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ +000ee520: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ +000ee540: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ +000ee550: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ +000ee560: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ +000ee570: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ +000ee580: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +000ee590: 3533 2d43 4d2d 3628 6129 0a20 202d 2050  53-CM-6(a).  - P
│ │ │ +000ee5a0: 4349 2d44 5353 2d52 6571 2d31 2e34 2e31  CI-DSS-Req-1.4.1
│ │ │ +000ee5b0: 0a20 202d 2065 6e61 626c 655f 7374 7261  .  - enable_stra
│ │ │ +000ee5c0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +000ee5d0: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +000ee5e0: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ +000ee5f0: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ +000ee600: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +000ee610: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ +000ee620: 6970 7461 626c 6573 5f69 6e73 7461 6c6c  iptables_install
│ │ │ +000ee630: 6564 0a0a 2d20 6e61 6d65 3a20 456e 7375  ed..- name: Ensu
│ │ │ +000ee640: 7265 2069 7074 6162 6c65 7320 6973 2069  re iptables is i
│ │ │ +000ee650: 6e73 7461 6c6c 6564 0a20 2070 6163 6b61  nstalled.  packa
│ │ │ +000ee660: 6765 3a0a 2020 2020 6e61 6d65 3a20 6970  ge:.    name: ip
│ │ │ +000ee670: 7461 626c 6573 0a20 2020 2073 7461 7465  tables.    state
│ │ │ +000ee680: 3a20 7072 6573 656e 740a 2020 7768 656e  : present.  when
│ │ │ +000ee690: 3a20 2820 226c 696e 7578 2d62 6173 6522  : ( "linux-base"
│ │ │ +000ee6a0: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ +000ee6b0: 732e 7061 636b 6167 6573 2029 0a20 2074  s.packages ).  t
│ │ │ +000ee6c0: 6167 733a 0a20 202d 204e 4953 542d 3830  ags:.  - NIST-80
│ │ │ +000ee6d0: 302d 3533 2d43 4d2d 3628 6129 0a20 202d  0-53-CM-6(a).  -
│ │ │ +000ee6e0: 2050 4349 2d44 5353 2d52 6571 2d31 2e34   PCI-DSS-Req-1.4
│ │ │ +000ee6f0: 2e31 0a20 202d 2065 6e61 626c 655f 7374  .1.  - enable_st
│ │ │ +000ee700: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +000ee710: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +000ee720: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +000ee730: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ +000ee740: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ +000ee750: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ +000ee760: 655f 6970 7461 626c 6573 5f69 6e73 7461  e_iptables_insta
│ │ │ +000ee770: 6c6c 6564 0a3c 2f63 6f64 653e 3c2f 7072  lled.
Remediat │ │ │ +000ee830: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ +000ee840: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +000ee8f0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +000ee910: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +000ee940: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +000ee8d0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +000ee8e0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +000ee900: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +000ee920: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +000ee930: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:enable

include │ │ │ +000ee980: 2069 6e73 7461 6c6c 5f69 7074 6162 6c65 install_iptable │ │ │ +000ee990: 730a 0a63 6c61 7373 2069 6e73 7461 6c6c s..class install │ │ │ +000ee9a0: 5f69 7074 6162 6c65 7320 7b0a 2020 7061 _iptables {. pa │ │ │ +000ee9b0: 636b 6167 6520 7b20 2769 7074 6162 6c65 ckage { 'iptable │ │ │ +000ee9c0: 7327 3a0a 2020 2020 656e 7375 7265 203d s':. ensure = │ │ │ +000ee9d0: 2667 743b 2027 696e 7374 616c 6c65 6427 > 'installed' │ │ │ +000ee9e0: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.< │ │ │ +000ee9f0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>

Remed │ │ │ +000eeaa0: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B │ │ │ +000eeab0: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet │ │ │ +000eeac0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +000eeb00: 7072 653e 3c63 6f64 653e 0a5b 5b70 6163 pre>.[[pac │ │ │ +000eeb10: 6b61 6765 735d 5d0a 6e61 6d65 203d 2022 kages]].name = " │ │ │ +000eeb20: 6970 7461 626c 6573 220a 7665 7273 696f iptables".versio │ │ │ +000eeb30: 6e20 3d20 222a 220a 3c2f 636f 6465 3e3c n = "*".< │ │ │ 000eeb40: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
R │ │ │ -000ef6c0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ -000ef6d0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity: │ │ │ -000ef7b0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -000ef7c0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ -000ef820: 6970 7461 626c 6573 2d70 6572 7369 7374  iptables-persist
│ │ │ -000ef830: 656e 740a 0a63 6c61 7373 2072 656d 6f76  ent..class remov
│ │ │ -000ef840: 655f 6970 7461 626c 6573 2d70 6572 7369  e_iptables-persi
│ │ │ -000ef850: 7374 656e 7420 7b0a 2020 7061 636b 6167  stent {.  packag
│ │ │ -000ef860: 6520 7b20 2769 7074 6162 6c65 732d 7065  e { 'iptables-pe
│ │ │ -000ef870: 7273 6973 7465 6e74 273a 0a20 2020 2065  rsistent':.    e
│ │ │ -000ef880: 6e73 7572 6520 3d26 6774 3b20 2770 7572  nsure => 'pur
│ │ │ -000ef890: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ged',.  }.}.
< │ │ │ -000ef8b0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -000ef8c0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -000ef8d0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -000ef8e0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -000ef8f0: 646d 3132 3538 3922 2074 6162 696e 6465 dm12589" tabinde │ │ │ -000ef900: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -000ef910: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -000ef920: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -000ef930: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -000ef940: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -000ef950: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ -000ef960: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
low
Disru │ │ │ -000ef790: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -000ef7a0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -000ef7e0: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ -000ef7f0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
< │ │ │ -000ef9f0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -000efa10: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -000efa60: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ -000efa90: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Gather
│ │ │ -000efab0: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ -000efac0: 7473 0a20 2070 6163 6b61 6765 5f66 6163  ts.  package_fac
│ │ │ -000efad0: 7473 3a0a 2020 2020 6d61 6e61 6765 723a  ts:.    manager:
│ │ │ -000efae0: 2061 7574 6f0a 2020 7461 6773 3a0a 2020   auto.  tags:.  
│ │ │ -000efaf0: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ -000efb00: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ -000efb10: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ -000efb20: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ -000efb30: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ -000efb40: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ -000efb50: 640a 2020 2d20 7061 636b 6167 655f 6970  d.  - package_ip
│ │ │ -000efb60: 7461 626c 6573 2d70 6572 7369 7374 656e  tables-persisten
│ │ │ -000efb70: 745f 7265 6d6f 7665 640a 0a2d 206e 616d  t_removed..- nam
│ │ │ -000efb80: 653a 2045 6e73 7572 6520 6970 7461 626c  e: Ensure iptabl
│ │ │ -000efb90: 6573 2d70 6572 7369 7374 656e 7420 6973  es-persistent is
│ │ │ -000efba0: 2072 656d 6f76 6564 0a20 2070 6163 6b61   removed.  packa
│ │ │ -000efbb0: 6765 3a0a 2020 2020 6e61 6d65 3a20 6970  ge:.    name: ip
│ │ │ -000efbc0: 7461 626c 6573 2d70 6572 7369 7374 656e  tables-persisten
│ │ │ -000efbd0: 740a 2020 2020 7374 6174 653a 2061 6273  t.    state: abs
│ │ │ -000efbe0: 656e 740a 2020 7768 656e 3a20 2722 7566  ent.  when: '"uf
│ │ │ -000efbf0: 7722 2069 6e20 616e 7369 626c 655f 6661  w" in ansible_fa
│ │ │ -000efc00: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ -000efc10: 7461 6773 3a0a 2020 2d20 6469 7361 626c  tags:.  - disabl
│ │ │ -000efc20: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ -000efc30: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ -000efc40: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -000efc50: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ -000efc60: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -000efc70: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ -000efc80: 636b 6167 655f 6970 7461 626c 6573 2d70  ckage_iptables-p
│ │ │ -000efc90: 6572 7369 7374 656e 745f 7265 6d6f 7665  ersistent_remove
│ │ │ -000efca0: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +000ef6c0: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ +000ef6d0: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
low
Disr │ │ │ -000efa20: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -000efa30: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -000efa70: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ -000efa80: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
< │ │ │ +000ef760: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +000ef780: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +000ef7d0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +000ef800: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Gather
│ │ │ +000ef820: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ +000ef830: 7473 0a20 2070 6163 6b61 6765 5f66 6163  ts.  package_fac
│ │ │ +000ef840: 7473 3a0a 2020 2020 6d61 6e61 6765 723a  ts:.    manager:
│ │ │ +000ef850: 2061 7574 6f0a 2020 7461 6773 3a0a 2020   auto.  tags:.  
│ │ │ +000ef860: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ +000ef870: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +000ef880: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +000ef890: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +000ef8a0: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +000ef8b0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +000ef8c0: 640a 2020 2d20 7061 636b 6167 655f 6970  d.  - package_ip
│ │ │ +000ef8d0: 7461 626c 6573 2d70 6572 7369 7374 656e  tables-persisten
│ │ │ +000ef8e0: 745f 7265 6d6f 7665 640a 0a2d 206e 616d  t_removed..- nam
│ │ │ +000ef8f0: 653a 2045 6e73 7572 6520 6970 7461 626c  e: Ensure iptabl
│ │ │ +000ef900: 6573 2d70 6572 7369 7374 656e 7420 6973  es-persistent is
│ │ │ +000ef910: 2072 656d 6f76 6564 0a20 2070 6163 6b61   removed.  packa
│ │ │ +000ef920: 6765 3a0a 2020 2020 6e61 6d65 3a20 6970  ge:.    name: ip
│ │ │ +000ef930: 7461 626c 6573 2d70 6572 7369 7374 656e  tables-persisten
│ │ │ +000ef940: 740a 2020 2020 7374 6174 653a 2061 6273  t.    state: abs
│ │ │ +000ef950: 656e 740a 2020 7768 656e 3a20 2722 7566  ent.  when: '"uf
│ │ │ +000ef960: 7722 2069 6e20 616e 7369 626c 655f 6661  w" in ansible_fa
│ │ │ +000ef970: 6374 732e 7061 636b 6167 6573 270a 2020  cts.packages'.  
│ │ │ +000ef980: 7461 6773 3a0a 2020 2d20 6469 7361 626c  tags:.  - disabl
│ │ │ +000ef990: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ +000ef9a0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ +000ef9b0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ +000ef9c0: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ +000ef9d0: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ +000ef9e0: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ +000ef9f0: 636b 6167 655f 6970 7461 626c 6573 2d70  ckage_iptables-p
│ │ │ +000efa00: 6572 7369 7374 656e 745f 7265 6d6f 7665  ersistent_remove
│ │ │ +000efa10: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +000efa20: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +000efad0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +000efae0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +000efb60: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ +000efbf0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +000efc00: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
low
Disr │ │ │ +000ef790: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +000ef7a0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +000ef7e0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +000ef7f0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
Complexi │ │ │ +000efb70: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +000efb80: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ +000efbc0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +000efbd0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
include r
│ │ │ +000efc20: 656d 6f76 655f 6970 7461 626c 6573 2d70  emove_iptables-p
│ │ │ +000efc30: 6572 7369 7374 656e 740a 0a63 6c61 7373  ersistent..class
│ │ │ +000efc40: 2072 656d 6f76 655f 6970 7461 626c 6573   remove_iptables
│ │ │ +000efc50: 2d70 6572 7369 7374 656e 7420 7b0a 2020  -persistent {.  
│ │ │ +000efc60: 7061 636b 6167 6520 7b20 2769 7074 6162  package { 'iptab
│ │ │ +000efc70: 6c65 732d 7065 7273 6973 7465 6e74 273a  les-persistent':
│ │ │ +000efc80: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ +000efc90: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a  ; 'purged',.  }.
│ │ │ +000efca0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ 000efcb0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation OS │ │ │ -00130c70: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint │ │ │ -00130c80: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -00130c90: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
.[[packages]].n
│ │ │ -00130ce0: 616d 6520 3d20 226e 6674 6162 6c65 7322  ame = "nftables"
│ │ │ -00130cf0: 0a76 6572 7369 6f6e 203d 2022 2a22 0a3c  .version = "*".<
│ │ │ -00130d00: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ -00130dc0: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ -00130dd0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ -00130e60: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -00130e80: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ -00130ea0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ -00130ed0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -00130ee0: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable │ │ │ -00130ef0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include insta
│ │ │ -00130f10: 6c6c 5f6e 6674 6162 6c65 730a 0a63 6c61  ll_nftables..cla
│ │ │ -00130f20: 7373 2069 6e73 7461 6c6c 5f6e 6674 6162  ss install_nftab
│ │ │ -00130f30: 6c65 7320 7b0a 2020 7061 636b 6167 6520  les {.  package 
│ │ │ -00130f40: 7b20 276e 6674 6162 6c65 7327 3a0a 2020  { 'nftables':.  
│ │ │ -00130f50: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ -00130f60: 696e 7374 616c 6c65 6427 2c0a 2020 7d0a  installed',.  }.
│ │ │ -00130f70: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ -00130f80: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -00131030: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ -00131040: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -00131080: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -00131090: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -001310a0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -001310b0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -001310c0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -001310d0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -001310e0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -00131120: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -00131130: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -00131150: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ -00131160: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ -00131180: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ -00131190: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ -001311a0: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ -001311b0: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ -001311c0: 733a 0a20 202d 2050 4349 2d44 5353 7634  s:.  - PCI-DSSv4
│ │ │ -001311d0: 2d31 2e32 0a20 202d 2050 4349 2d44 5353  -1.2.  - PCI-DSS
│ │ │ -001311e0: 7634 2d31 2e32 2e31 0a20 202d 2065 6e61  v4-1.2.1.  - ena
│ │ │ -001311f0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -00131200: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -00131210: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -00131220: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365  on.  - medium_se
│ │ │ -00131230: 7665 7269 7479 0a20 202d 206e 6f5f 7265  verity.  - no_re
│ │ │ -00131240: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ -00131250: 7061 636b 6167 655f 6e66 7461 626c 6573  package_nftables
│ │ │ -00131260: 5f69 6e73 7461 6c6c 6564 0a0a 2d20 6e61  _installed..- na
│ │ │ -00131270: 6d65 3a20 456e 7375 7265 206e 6674 6162  me: Ensure nftab
│ │ │ -00131280: 6c65 7320 6973 2069 6e73 7461 6c6c 6564  les is installed
│ │ │ -00131290: 0a20 2070 6163 6b61 6765 3a0a 2020 2020  .  package:.    
│ │ │ -001312a0: 6e61 6d65 3a20 6e66 7461 626c 6573 0a20  name: nftables. 
│ │ │ -001312b0: 2020 2073 7461 7465 3a20 7072 6573 656e     state: presen
│ │ │ -001312c0: 740a 2020 7768 656e 3a20 2820 226c 696e  t.  when: ( "lin
│ │ │ -001312d0: 7578 2d62 6173 6522 2069 6e20 616e 7369  ux-base" in ansi
│ │ │ -001312e0: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -001312f0: 6573 2029 0a20 2074 6167 733a 0a20 202d  es ).  tags:.  -
│ │ │ -00131300: 2050 4349 2d44 5353 7634 2d31 2e32 0a20   PCI-DSSv4-1.2. 
│ │ │ -00131310: 202d 2050 4349 2d44 5353 7634 2d31 2e32   - PCI-DSSv4-1.2
│ │ │ -00131320: 2e31 0a20 202d 2065 6e61 626c 655f 7374  .1.  - enable_st
│ │ │ -00131330: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ -00131340: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ -00131350: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ -00131360: 206d 6564 6975 6d5f 7365 7665 7269 7479   medium_severity
│ │ │ -00131370: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ -00131380: 6565 6465 640a 2020 2d20 7061 636b 6167  eeded.  - packag
│ │ │ -00131390: 655f 6e66 7461 626c 6573 5f69 6e73 7461  e_nftables_insta
│ │ │ -001313a0: 6c6c 6564 0a3c 2f63 6f64 653e 3c2f 7072  lled.Remediation An
│ │ │ +00130c70: 7369 626c 6520 736e 6970 7065 7420 e287  sible snippet ..
│ │ │ +00130c80: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c  .
Complexity │ │ │ +00130d10: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +00130d30: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +00130d40: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +00130d50: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +00130d60: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +00130d80: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
- name: Gath
│ │ │ +00130dc0: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ +00130dd0: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ +00130de0: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ +00130df0: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ +00130e00: 2020 2d20 5043 492d 4453 5376 342d 312e    - PCI-DSSv4-1.
│ │ │ +00130e10: 320a 2020 2d20 5043 492d 4453 5376 342d  2.  - PCI-DSSv4-
│ │ │ +00130e20: 312e 322e 310a 2020 2d20 656e 6162 6c65  1.2.1.  - enable
│ │ │ +00130e30: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ +00130e40: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ +00130e50: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ +00130e60: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ +00130e70: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ +00130e80: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ +00130e90: 6b61 6765 5f6e 6674 6162 6c65 735f 696e  kage_nftables_in
│ │ │ +00130ea0: 7374 616c 6c65 640a 0a2d 206e 616d 653a  stalled..- name:
│ │ │ +00130eb0: 2045 6e73 7572 6520 6e66 7461 626c 6573   Ensure nftables
│ │ │ +00130ec0: 2069 7320 696e 7374 616c 6c65 640a 2020   is installed.  
│ │ │ +00130ed0: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ +00130ee0: 653a 206e 6674 6162 6c65 730a 2020 2020  e: nftables.    
│ │ │ +00130ef0: 7374 6174 653a 2070 7265 7365 6e74 0a20  state: present. 
│ │ │ +00130f00: 2077 6865 6e3a 2028 2022 6c69 6e75 782d   when: ( "linux-
│ │ │ +00130f10: 6261 7365 2220 696e 2061 6e73 6962 6c65  base" in ansible
│ │ │ +00130f20: 5f66 6163 7473 2e70 6163 6b61 6765 7320  _facts.packages 
│ │ │ +00130f30: 290a 2020 7461 6773 3a0a 2020 2d20 5043  ).  tags:.  - PC
│ │ │ +00130f40: 492d 4453 5376 342d 312e 320a 2020 2d20  I-DSSv4-1.2.  - 
│ │ │ +00130f50: 5043 492d 4453 5376 342d 312e 322e 310a  PCI-DSSv4-1.2.1.
│ │ │ +00130f60: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ +00130f70: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +00130f80: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +00130f90: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ +00130fa0: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ +00130fb0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +00130fc0: 6564 0a20 202d 2070 6163 6b61 6765 5f6e  ed.  - package_n
│ │ │ +00130fd0: 6674 6162 6c65 735f 696e 7374 616c 6c65  ftables_installe
│ │ │ +00130fe0: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +00130ff0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +001310a0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +001310b0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +00131130: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +00131140: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +00131150: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +00131190: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +001311a0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +001311c0: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ +001311e0: 3c63 6f64 653e 696e 636c 7564 6520 696e  include in
│ │ │ +001311f0: 7374 616c 6c5f 6e66 7461 626c 6573 0a0a  stall_nftables..
│ │ │ +00131200: 636c 6173 7320 696e 7374 616c 6c5f 6e66  class install_nf
│ │ │ +00131210: 7461 626c 6573 207b 0a20 2070 6163 6b61  tables {.  packa
│ │ │ +00131220: 6765 207b 2027 6e66 7461 626c 6573 273a  ge { 'nftables':
│ │ │ +00131230: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ +00131240: 3b20 2769 6e73 7461 6c6c 6564 272c 0a20  ; 'installed',. 
│ │ │ +00131250: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.
Remediat │ │ │ +00131310: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue │ │ │ +00131320: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet .. │ │ │ +00131330: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
.[[packag
│ │ │ +00131380: 6573 5d5d 0a6e 616d 6520 3d20 226e 6674  es]].name = "nft
│ │ │ +00131390: 6162 6c65 7322 0a76 6572 7369 6f6e 203d  ables".version =
│ │ │ +001313a0: 2022 2a22 0a3c 2f63 6f64 653e 3c2f 7072   "*".
Rem │ │ │ -00131fa0: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild │ │ │ -00131fb0: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp │ │ │ -00131fc0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[cu
│ │ │ -00132010: 7374 6f6d 697a 6174 696f 6e73 2e73 6572  stomizations.ser
│ │ │ -00132020: 7669 6365 735d 0a65 6e61 626c 6564 203d  vices].enabled =
│ │ │ -00132030: 205b 226e 6674 6162 6c65 7322 5d0a 3c2f   ["nftables"].
Remediation Pup │ │ │ -00132100: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ -00132110: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -00132190: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -001321b0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -00132200: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ -00132230: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include enable
│ │ │ -00132250: 5f6e 6674 6162 6c65 730a 0a63 6c61 7373  _nftables..class
│ │ │ -00132260: 2065 6e61 626c 655f 6e66 7461 626c 6573   enable_nftables
│ │ │ -00132270: 207b 0a20 2073 6572 7669 6365 207b 276e   {.  service {'n
│ │ │ -00132280: 6674 6162 6c65 7327 3a0a 2020 2020 656e  ftables':.    en
│ │ │ -00132290: 6162 6c65 203d 2667 743b 2074 7275 652c  able => true,
│ │ │ -001322a0: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ -001322b0: 3b20 2772 756e 6e69 6e67 272c 0a20 207d  ; 'running',.  }
│ │ │ -001322c0: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ -001322d0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediatio │ │ │ -00132380: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ -00132390: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -001323d0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
Complexity:< │ │ │ -001321a0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -001321c0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -00132210: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ -00132220: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
< │ │ │ -00132440: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -00132460: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -00132490: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -001324b0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -00132420: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -00132430: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -00132470: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -00132480: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
- name: │ │ │ -001324d0: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ -001324e0: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ -001324f0: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ -00132500: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ -00132510: 6773 3a0a 2020 2d20 656e 6162 6c65 5f73 gs:. - enable_s │ │ │ -00132520: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_ │ │ │ -00132530: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l │ │ │ -00132540: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption. │ │ │ -00132550: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit │ │ │ -00132560: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_ │ │ │ -00132570: 6e65 6564 6564 0a20 202d 2073 6572 7669 needed. - servi │ │ │ -00132580: 6365 5f6e 6674 6162 6c65 735f 656e 6162 ce_nftables_enab │ │ │ -00132590: 6c65 640a 0a2d 206e 616d 653a 2056 6572 led..- name: Ver │ │ │ -001325a0: 6966 7920 6e66 7461 626c 6573 2053 6572 ify nftables Ser │ │ │ -001325b0: 7669 6365 2069 7320 456e 6162 6c65 6420 vice is Enabled │ │ │ -001325c0: 2d20 456e 6162 6c65 2073 6572 7669 6365 - Enable service │ │ │ -001325d0: 206e 6674 6162 6c65 730a 2020 626c 6f63 nftables. bloc │ │ │ -001325e0: 6b3a 0a0a 2020 2d20 6e61 6d65 3a20 4761 k:.. - name: Ga │ │ │ -001325f0: 7468 6572 2074 6865 2070 6163 6b61 6765 ther the package │ │ │ -00132600: 2066 6163 7473 0a20 2020 2070 6163 6b61 facts. packa │ │ │ -00132610: 6765 5f66 6163 7473 3a0a 2020 2020 2020 ge_facts:. │ │ │ -00132620: 6d61 6e61 6765 723a 2061 7574 6f0a 0a20 manager: auto.. │ │ │ -00132630: 202d 206e 616d 653a 2056 6572 6966 7920 - name: Verify │ │ │ -00132640: 6e66 7461 626c 6573 2053 6572 7669 6365 nftables Service │ │ │ -00132650: 2069 7320 456e 6162 6c65 6420 2d20 456e is Enabled - En │ │ │ -00132660: 6162 6c65 2053 6572 7669 6365 206e 6674 able Service nft │ │ │ -00132670: 6162 6c65 730a 2020 2020 616e 7369 626c ables. ansibl │ │ │ -00132680: 652e 6275 696c 7469 6e2e 7379 7374 656d e.builtin.system │ │ │ -00132690: 643a 0a20 2020 2020 206e 616d 653a 206e d:. name: n │ │ │ -001326a0: 6674 6162 6c65 730a 2020 2020 2020 656e ftables. en │ │ │ -001326b0: 6162 6c65 643a 2074 7275 650a 2020 2020 abled: true. │ │ │ -001326c0: 2020 7374 6174 653a 2073 7461 7274 6564 state: started │ │ │ -001326d0: 0a20 2020 2020 206d 6173 6b65 643a 2066 . masked: f │ │ │ -001326e0: 616c 7365 0a20 2020 2077 6865 6e3a 0a20 alse. when:. │ │ │ -001326f0: 2020 202d 2027 226e 6674 6162 6c65 7322 - '"nftables" │ │ │ -00132700: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact │ │ │ -00132710: 732e 7061 636b 6167 6573 270a 2020 7768 s.packages'. wh │ │ │ -00132720: 656e 3a20 2820 226e 6674 6162 6c65 7322 en: ( "nftables" │ │ │ -00132730: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact │ │ │ -00132740: 732e 7061 636b 6167 6573 2061 6e64 2022 s.packages and " │ │ │ -00132750: 6c69 6e75 782d 6261 7365 2220 696e 2061 linux-base" in a │ │ │ -00132760: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac │ │ │ -00132770: 6b61 6765 730a 2020 2020 290a 2020 7461 kages. ). ta │ │ │ -00132780: 6773 3a0a 2020 2d20 656e 6162 6c65 5f73 gs:. - enable_s │ │ │ -00132790: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_ │ │ │ -001327a0: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l │ │ │ -001327b0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption. │ │ │ -001327c0: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit │ │ │ -001327d0: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_ │ │ │ -001327e0: 6e65 6564 6564 0a20 202d 2073 6572 7669 needed. - servi │ │ │ -001327f0: 6365 5f6e 6674 6162 6c65 735f 656e 6162 ce_nftables_enab │ │ │ -00132800: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265 led.
│ │ │ +00131fc0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ +00132090: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +001320a0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
-
│ │ │ +001320f0: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ +00132100: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ +00132110: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ +00132120: 0a20 2020 206d 616e 6167 6572 3a20 6175  .    manager: au
│ │ │ +00132130: 746f 0a20 2074 6167 733a 0a20 202d 2065  to.  tags:.  - e
│ │ │ +00132140: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ +00132150: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +00132160: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +00132170: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +00132180: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +00132190: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +001321a0: 2d20 7365 7276 6963 655f 6e66 7461 626c  - service_nftabl
│ │ │ +001321b0: 6573 5f65 6e61 626c 6564 0a0a 2d20 6e61  es_enabled..- na
│ │ │ +001321c0: 6d65 3a20 5665 7269 6679 206e 6674 6162  me: Verify nftab
│ │ │ +001321d0: 6c65 7320 5365 7276 6963 6520 6973 2045  les Service is E
│ │ │ +001321e0: 6e61 626c 6564 202d 2045 6e61 626c 6520  nabled - Enable 
│ │ │ +001321f0: 7365 7276 6963 6520 6e66 7461 626c 6573  service nftables
│ │ │ +00132200: 0a20 2062 6c6f 636b 3a0a 0a20 202d 206e  .  block:..  - n
│ │ │ +00132210: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ +00132220: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ +00132230: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ +00132240: 0a20 2020 2020 206d 616e 6167 6572 3a20  .      manager: 
│ │ │ +00132250: 6175 746f 0a0a 2020 2d20 6e61 6d65 3a20  auto..  - name: 
│ │ │ +00132260: 5665 7269 6679 206e 6674 6162 6c65 7320  Verify nftables 
│ │ │ +00132270: 5365 7276 6963 6520 6973 2045 6e61 626c  Service is Enabl
│ │ │ +00132280: 6564 202d 2045 6e61 626c 6520 5365 7276  ed - Enable Serv
│ │ │ +00132290: 6963 6520 6e66 7461 626c 6573 0a20 2020  ice nftables.   
│ │ │ +001322a0: 2061 6e73 6962 6c65 2e62 7569 6c74 696e   ansible.builtin
│ │ │ +001322b0: 2e73 7973 7465 6d64 3a0a 2020 2020 2020  .systemd:.      
│ │ │ +001322c0: 6e61 6d65 3a20 6e66 7461 626c 6573 0a20  name: nftables. 
│ │ │ +001322d0: 2020 2020 2065 6e61 626c 6564 3a20 7472       enabled: tr
│ │ │ +001322e0: 7565 0a20 2020 2020 2073 7461 7465 3a20  ue.      state: 
│ │ │ +001322f0: 7374 6172 7465 640a 2020 2020 2020 6d61  started.      ma
│ │ │ +00132300: 736b 6564 3a20 6661 6c73 650a 2020 2020  sked: false.    
│ │ │ +00132310: 7768 656e 3a0a 2020 2020 2d20 2722 6e66  when:.    - '"nf
│ │ │ +00132320: 7461 626c 6573 2220 696e 2061 6e73 6962  tables" in ansib
│ │ │ +00132330: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +00132340: 7327 0a20 2077 6865 6e3a 2028 2022 6e66  s'.  when: ( "nf
│ │ │ +00132350: 7461 626c 6573 2220 696e 2061 6e73 6962  tables" in ansib
│ │ │ +00132360: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +00132370: 7320 616e 6420 226c 696e 7578 2d62 6173  s and "linux-bas
│ │ │ +00132380: 6522 2069 6e20 616e 7369 626c 655f 6661  e" in ansible_fa
│ │ │ +00132390: 6374 732e 7061 636b 6167 6573 0a20 2020  cts.packages.   
│ │ │ +001323a0: 2029 0a20 2074 6167 733a 0a20 202d 2065   ).  tags:.  - e
│ │ │ +001323b0: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ +001323c0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +001323d0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +001323e0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +001323f0: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +00132400: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +00132410: 2d20 7365 7276 6963 655f 6e66 7461 626c  - service_nftabl
│ │ │ +00132420: 6573 5f65 6e61 626c 6564 0a3c 2f63 6f64  es_enabled.
Re │ │ │ +001324e0: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ +001324f0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +00132500: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Complexity:low
Disrup │ │ │ +00132070: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +00132080: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +001320c0: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +001320d0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ +001325d0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +001325e0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
i
│ │ │ +00132630: 6e63 6c75 6465 2065 6e61 626c 655f 6e66  nclude enable_nf
│ │ │ +00132640: 7461 626c 6573 0a0a 636c 6173 7320 656e  tables..class en
│ │ │ +00132650: 6162 6c65 5f6e 6674 6162 6c65 7320 7b0a  able_nftables {.
│ │ │ +00132660: 2020 7365 7276 6963 6520 7b27 6e66 7461    service {'nfta
│ │ │ +00132670: 626c 6573 273a 0a20 2020 2065 6e61 626c  bles':.    enabl
│ │ │ +00132680: 6520 3d26 6774 3b20 7472 7565 2c0a 2020  e => true,.  
│ │ │ +00132690: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ +001326a0: 7275 6e6e 696e 6727 2c0a 2020 7d0a 7d0a  running',.  }.}.
│ │ │ +001326b0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation O │ │ │ +00132770: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint │ │ │ +00132780: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +00132790: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.[customizatio
│ │ │ +001327e0: 6e73 2e73 6572 7669 6365 735d 0a65 6e61  ns.services].ena
│ │ │ +001327f0: 626c 6564 203d 205b 226e 6674 6162 6c65  bled = ["nftable
│ │ │ +00132800: 7322 5d0a 3c2f 636f 6465 3e3c 2f70 7265  s"].
Remed │ │ │ -0013b270: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ -0013b280: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Complexity:low
Disrup │ │ │ +001325b0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +001325c0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +00132600: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +00132610: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
low< │ │ │ -0013b330: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -0013b380: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ -0013b3c0: 6c75 6465 2072 656d 6f76 655f 7566 770a  lude remove_ufw.
│ │ │ -0013b3d0: 0a63 6c61 7373 2072 656d 6f76 655f 7566  .class remove_uf
│ │ │ -0013b3e0: 7720 7b0a 2020 7061 636b 6167 6520 7b20  w {.  package { 
│ │ │ -0013b3f0: 2775 6677 273a 0a20 2020 2065 6e73 7572  'ufw':.    ensur
│ │ │ -0013b400: 6520 3d26 6774 3b20 2770 7572 6765 6427  e => 'purged'
│ │ │ -0013b410: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ -0013b420: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remed
│ │ │ -0013b4d0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073  iation Ansible s
│ │ │ -0013b4e0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62  nippet ...
Co │ │ │ -0013b310: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -0013b340: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -0013b360: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -0013b370: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -0013b390: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -0013b3a0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
< │ │ │ -0013b580: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -0013b590: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -0013b5e0: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ -0013b620: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ -0013b630: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ -0013b640: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ -0013b650: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ -0013b660: 6f0a 2020 7461 6773 3a0a 2020 2d20 6469  o.  tags:.  - di
│ │ │ -0013b670: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ -0013b680: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -0013b690: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -0013b6a0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ -0013b6b0: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -0013b6c0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -0013b6d0: 2d20 7061 636b 6167 655f 7566 775f 7265  - package_ufw_re
│ │ │ -0013b6e0: 6d6f 7665 640a 0a2d 206e 616d 653a 2045  moved..- name: E
│ │ │ -0013b6f0: 6e73 7572 6520 7566 7720 6973 2072 656d  nsure ufw is rem
│ │ │ -0013b700: 6f76 6564 0a20 2070 6163 6b61 6765 3a0a  oved.  package:.
│ │ │ -0013b710: 2020 2020 6e61 6d65 3a20 7566 770a 2020      name: ufw.  
│ │ │ -0013b720: 2020 7374 6174 653a 2061 6273 656e 740a    state: absent.
│ │ │ -0013b730: 2020 7768 656e 3a20 2722 6c69 6e75 782d    when: '"linux-
│ │ │ -0013b740: 6261 7365 2220 696e 2061 6e73 6962 6c65  base" in ansible
│ │ │ -0013b750: 5f66 6163 7473 2e70 6163 6b61 6765 7327  _facts.packages'
│ │ │ -0013b760: 0a20 2074 6167 733a 0a20 202d 2064 6973  .  tags:.  - dis
│ │ │ -0013b770: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -0013b780: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -0013b790: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -0013b7a0: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ -0013b7b0: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ -0013b7c0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -0013b7d0: 2070 6163 6b61 6765 5f75 6677 5f72 656d   package_ufw_rem
│ │ │ -0013b7e0: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072  oved.
C │ │ │ -0013b570: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -0013b5a0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -0013b5b0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -0013b5f0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -0013b600: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
< │ │ │ +0013b320: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +0013b330: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +0013b380: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ +0013b3c0: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ +0013b3d0: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ +0013b3e0: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ +0013b3f0: 2020 2020 6d61 6e61 6765 723a 2061 7574      manager: aut
│ │ │ +0013b400: 6f0a 2020 7461 6773 3a0a 2020 2d20 6469  o.  tags:.  - di
│ │ │ +0013b410: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ +0013b420: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +0013b430: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +0013b440: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +0013b450: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +0013b460: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +0013b470: 2d20 7061 636b 6167 655f 7566 775f 7265  - package_ufw_re
│ │ │ +0013b480: 6d6f 7665 640a 0a2d 206e 616d 653a 2045  moved..- name: E
│ │ │ +0013b490: 6e73 7572 6520 7566 7720 6973 2072 656d  nsure ufw is rem
│ │ │ +0013b4a0: 6f76 6564 0a20 2070 6163 6b61 6765 3a0a  oved.  package:.
│ │ │ +0013b4b0: 2020 2020 6e61 6d65 3a20 7566 770a 2020      name: ufw.  
│ │ │ +0013b4c0: 2020 7374 6174 653a 2061 6273 656e 740a    state: absent.
│ │ │ +0013b4d0: 2020 7768 656e 3a20 2722 6c69 6e75 782d    when: '"linux-
│ │ │ +0013b4e0: 6261 7365 2220 696e 2061 6e73 6962 6c65  base" in ansible
│ │ │ +0013b4f0: 5f66 6163 7473 2e70 6163 6b61 6765 7327  _facts.packages'
│ │ │ +0013b500: 0a20 2074 6167 733a 0a20 202d 2064 6973  .  tags:.  - dis
│ │ │ +0013b510: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +0013b520: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +0013b530: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +0013b540: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ +0013b550: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +0013b560: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +0013b570: 2070 6163 6b61 6765 5f75 6677 5f72 656d   package_ufw_rem
│ │ │ +0013b580: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072  oved.Remediat
│ │ │ +0013b640: 696f 6e20 5075 7070 6574 2073 6e69 7070  ion Puppet snipp
│ │ │ +0013b650: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64  et ...
C │ │ │ +0013b310: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +0013b340: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +0013b350: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +0013b390: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ +0013b3a0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
│ │ │ +0013b700: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +0013b720: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +0013b750: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +0013b6e0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +0013b6f0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +0013b710: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +0013b730: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +0013b740: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +0013b780: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ +0013b790: 6520 7265 6d6f 7665 5f75 6677 0a0a 636c e remove_ufw..cl │ │ │ +0013b7a0: 6173 7320 7265 6d6f 7665 5f75 6677 207b ass remove_ufw { │ │ │ +0013b7b0: 0a20 2070 6163 6b61 6765 207b 2027 7566 . package { 'uf │ │ │ +0013b7c0: 7727 3a0a 2020 2020 656e 7375 7265 203d w':. ensure = │ │ │ +0013b7d0: 2667 743b 2027 7075 7267 6564 272c 0a20 > 'purged',. │ │ │ +0013b7e0: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.
Remed │ │ │ -0013c5a0: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B │ │ │ -0013c5b0: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet │ │ │ -0013c5c0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -0013c600: 7072 653e 3c63 6f64 653e 0a5b 6375 7374 pre>.[cust │ │ │ -0013c610: 6f6d 697a 6174 696f 6e73 2e73 6572 7669 omizations.servi │ │ │ -0013c620: 6365 735d 0a65 6e61 626c 6564 203d 205b ces].enabled = [ │ │ │ -0013c630: 2275 6677 225d 0a3c 2f63 6f64 653e 3c2f "ufw"].
Remedi │ │ │ -0013c6f0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ -0013c700: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -0013c710: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -0013c790: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -0013c7c0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -0013c7e0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -0013c7f0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -0013c810: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ -0013c830: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -0013c840: 6465 2065 6e61 626c 655f 7566 770a 0a63  de enable_ufw..c
│ │ │ -0013c850: 6c61 7373 2065 6e61 626c 655f 7566 7720  lass enable_ufw 
│ │ │ -0013c860: 7b0a 2020 7365 7276 6963 6520 7b27 7566  {.  service {'uf
│ │ │ -0013c870: 7727 3a0a 2020 2020 656e 6162 6c65 203d  w':.    enable =
│ │ │ -0013c880: 2667 743b 2074 7275 652c 0a20 2020 2065  > true,.    e
│ │ │ -0013c890: 6e73 7572 6520 3d26 6774 3b20 2772 756e  nsure => 'run
│ │ │ -0013c8a0: 6e69 6e67 272c 0a20 207d 0a7d 0a3c 2f63  ning',.  }.}.
│ │ │ -0013c8c0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ -0013c960: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi │ │ │ -0013c970: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...< │ │ │ -0013c980: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -0013ca00: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -0013ca20: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -0013ca70: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ -0013caa0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Gather
│ │ │ -0013cac0: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ -0013cad0: 7473 0a20 2070 6163 6b61 6765 5f66 6163  ts.  package_fac
│ │ │ -0013cae0: 7473 3a0a 2020 2020 6d61 6e61 6765 723a  ts:.    manager:
│ │ │ -0013caf0: 2061 7574 6f0a 2020 7461 6773 3a0a 2020   auto.  tags:.  
│ │ │ -0013cb00: 2d20 4449 5341 2d53 5449 472d 5542 5455  - DISA-STIG-UBTU
│ │ │ -0013cb10: 2d32 322d 3235 3130 3230 0a20 202d 2065  -22-251020.  - e
│ │ │ -0013cb20: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ -0013cb30: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -0013cb40: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -0013cb50: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ -0013cb60: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -0013cb70: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -0013cb80: 2d20 7365 7276 6963 655f 7566 775f 656e  - service_ufw_en
│ │ │ -0013cb90: 6162 6c65 640a 0a2d 206e 616d 653a 2056  abled..- name: V
│ │ │ -0013cba0: 6572 6966 7920 7566 7720 456e 6162 6c65  erify ufw Enable
│ │ │ -0013cbb0: 6420 2d20 456e 6162 6c65 2073 6572 7669  d - Enable servi
│ │ │ -0013cbc0: 6365 2075 6677 0a20 2062 6c6f 636b 3a0a  ce ufw.  block:.
│ │ │ -0013cbd0: 0a20 202d 206e 616d 653a 2047 6174 6865  .  - name: Gathe
│ │ │ -0013cbe0: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ -0013cbf0: 6374 730a 2020 2020 7061 636b 6167 655f  cts.    package_
│ │ │ -0013cc00: 6661 6374 733a 0a20 2020 2020 206d 616e  facts:.      man
│ │ │ -0013cc10: 6167 6572 3a20 6175 746f 0a0a 2020 2d20  ager: auto..  - 
│ │ │ -0013cc20: 6e61 6d65 3a20 5665 7269 6679 2075 6677  name: Verify ufw
│ │ │ -0013cc30: 2045 6e61 626c 6564 202d 2045 6e61 626c   Enabled - Enabl
│ │ │ -0013cc40: 6520 5365 7276 6963 6520 7566 770a 2020  e Service ufw.  
│ │ │ -0013cc50: 2020 616e 7369 626c 652e 6275 696c 7469    ansible.builti
│ │ │ -0013cc60: 6e2e 7379 7374 656d 643a 0a20 2020 2020  n.systemd:.     
│ │ │ -0013cc70: 206e 616d 653a 2075 6677 0a20 2020 2020   name: ufw.     
│ │ │ -0013cc80: 2065 6e61 626c 6564 3a20 7472 7565 0a20   enabled: true. 
│ │ │ -0013cc90: 2020 2020 2073 7461 7465 3a20 7374 6172       state: star
│ │ │ -0013cca0: 7465 640a 2020 2020 2020 6d61 736b 6564  ted.      masked
│ │ │ -0013ccb0: 3a20 6661 6c73 650a 2020 2020 7768 656e  : false.    when
│ │ │ -0013ccc0: 3a0a 2020 2020 2d20 2722 7566 7722 2069  :.    - '"ufw" i
│ │ │ -0013ccd0: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ -0013cce0: 7061 636b 6167 6573 270a 2020 7768 656e  packages'.  when
│ │ │ -0013ccf0: 3a0a 2020 2d20 2722 6c69 6e75 782d 6261  :.  - '"linux-ba
│ │ │ -0013cd00: 7365 2220 696e 2061 6e73 6962 6c65 5f66  se" in ansible_f
│ │ │ -0013cd10: 6163 7473 2e70 6163 6b61 6765 7327 0a20  acts.packages'. 
│ │ │ -0013cd20: 202d 2028 2022 7566 7722 2069 6e20 616e   - ( "ufw" in an
│ │ │ -0013cd30: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ -0013cd40: 6167 6573 2061 6e64 2022 6c69 6e75 782d  ages and "linux-
│ │ │ -0013cd50: 6261 7365 2220 696e 2061 6e73 6962 6c65  base" in ansible
│ │ │ -0013cd60: 5f66 6163 7473 2e70 6163 6b61 6765 7320  _facts.packages 
│ │ │ -0013cd70: 290a 2020 7461 6773 3a0a 2020 2d20 4449  ).  tags:.  - DI
│ │ │ -0013cd80: 5341 2d53 5449 472d 5542 5455 2d32 322d  SA-STIG-UBTU-22-
│ │ │ -0013cd90: 3235 3130 3230 0a20 202d 2065 6e61 626c  251020.  - enabl
│ │ │ -0013cda0: 655f 7374 7261 7465 6779 0a20 202d 206c  e_strategy.  - l
│ │ │ -0013cdb0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ -0013cdc0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -0013cdd0: 0a20 202d 206d 6564 6975 6d5f 7365 7665  .  - medium_seve
│ │ │ -0013cde0: 7269 7479 0a20 202d 206e 6f5f 7265 626f  rity.  - no_rebo
│ │ │ -0013cdf0: 6f74 5f6e 6565 6465 640a 2020 2d20 7365  ot_needed.  - se
│ │ │ -0013ce00: 7276 6963 655f 7566 775f 656e 6162 6c65  rvice_ufw_enable
│ │ │ -0013ce10: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +0013c5a0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s │ │ │ +0013c5b0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
Complexity:< │ │ │ -0013ca10: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -0013ca30: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -0013ca80: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ -0013ca90: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
< │ │ │ +0013c650: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +0013c660: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +0013c6b0: 3c74 723e 3c74 683e 5374 7261 7465 6779
- n
│ │ │ +0013c6f0: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ +0013c700: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ +0013c710: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ +0013c720: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ +0013c730: 0a20 2074 6167 733a 0a20 202d 2044 4953  .  tags:.  - DIS
│ │ │ +0013c740: 412d 5354 4947 2d55 4254 552d 3232 2d32  A-STIG-UBTU-22-2
│ │ │ +0013c750: 3531 3032 300a 2020 2d20 656e 6162 6c65  51020.  - enable
│ │ │ +0013c760: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ +0013c770: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ +0013c780: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ +0013c790: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ +0013c7a0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ +0013c7b0: 745f 6e65 6564 6564 0a20 202d 2073 6572  t_needed.  - ser
│ │ │ +0013c7c0: 7669 6365 5f75 6677 5f65 6e61 626c 6564  vice_ufw_enabled
│ │ │ +0013c7d0: 0a0a 2d20 6e61 6d65 3a20 5665 7269 6679  ..- name: Verify
│ │ │ +0013c7e0: 2075 6677 2045 6e61 626c 6564 202d 2045   ufw Enabled - E
│ │ │ +0013c7f0: 6e61 626c 6520 7365 7276 6963 6520 7566  nable service uf
│ │ │ +0013c800: 770a 2020 626c 6f63 6b3a 0a0a 2020 2d20  w.  block:..  - 
│ │ │ +0013c810: 6e61 6d65 3a20 4761 7468 6572 2074 6865  name: Gather the
│ │ │ +0013c820: 2070 6163 6b61 6765 2066 6163 7473 0a20   package facts. 
│ │ │ +0013c830: 2020 2070 6163 6b61 6765 5f66 6163 7473     package_facts
│ │ │ +0013c840: 3a0a 2020 2020 2020 6d61 6e61 6765 723a  :.      manager:
│ │ │ +0013c850: 2061 7574 6f0a 0a20 202d 206e 616d 653a   auto..  - name:
│ │ │ +0013c860: 2056 6572 6966 7920 7566 7720 456e 6162   Verify ufw Enab
│ │ │ +0013c870: 6c65 6420 2d20 456e 6162 6c65 2053 6572  led - Enable Ser
│ │ │ +0013c880: 7669 6365 2075 6677 0a20 2020 2061 6e73  vice ufw.    ans
│ │ │ +0013c890: 6962 6c65 2e62 7569 6c74 696e 2e73 7973  ible.builtin.sys
│ │ │ +0013c8a0: 7465 6d64 3a0a 2020 2020 2020 6e61 6d65  temd:.      name
│ │ │ +0013c8b0: 3a20 7566 770a 2020 2020 2020 656e 6162  : ufw.      enab
│ │ │ +0013c8c0: 6c65 643a 2074 7275 650a 2020 2020 2020  led: true.      
│ │ │ +0013c8d0: 7374 6174 653a 2073 7461 7274 6564 0a20  state: started. 
│ │ │ +0013c8e0: 2020 2020 206d 6173 6b65 643a 2066 616c       masked: fal
│ │ │ +0013c8f0: 7365 0a20 2020 2077 6865 6e3a 0a20 2020  se.    when:.   
│ │ │ +0013c900: 202d 2027 2275 6677 2220 696e 2061 6e73   - '"ufw" in ans
│ │ │ +0013c910: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ +0013c920: 6765 7327 0a20 2077 6865 6e3a 0a20 202d  ges'.  when:.  -
│ │ │ +0013c930: 2027 226c 696e 7578 2d62 6173 6522 2069   '"linux-base" i
│ │ │ +0013c940: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ +0013c950: 7061 636b 6167 6573 270a 2020 2d20 2820  packages'.  - ( 
│ │ │ +0013c960: 2275 6677 2220 696e 2061 6e73 6962 6c65  "ufw" in ansible
│ │ │ +0013c970: 5f66 6163 7473 2e70 6163 6b61 6765 7320  _facts.packages 
│ │ │ +0013c980: 616e 6420 226c 696e 7578 2d62 6173 6522  and "linux-base"
│ │ │ +0013c990: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ +0013c9a0: 732e 7061 636b 6167 6573 2029 0a20 2074  s.packages ).  t
│ │ │ +0013c9b0: 6167 733a 0a20 202d 2044 4953 412d 5354  ags:.  - DISA-ST
│ │ │ +0013c9c0: 4947 2d55 4254 552d 3232 2d32 3531 3032  IG-UBTU-22-25102
│ │ │ +0013c9d0: 300a 2020 2d20 656e 6162 6c65 5f73 7472  0.  - enable_str
│ │ │ +0013c9e0: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ +0013c9f0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +0013ca00: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +0013ca10: 6d65 6469 756d 5f73 6576 6572 6974 790a  medium_severity.
│ │ │ +0013ca20: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ +0013ca30: 6564 6564 0a20 202d 2073 6572 7669 6365  eded.  - service
│ │ │ +0013ca40: 5f75 6677 5f65 6e61 626c 6564 0a3c 2f63  _ufw_enabled.
│ │ │ +0013ca60: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +0013cb00: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ +0013cb10: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
C │ │ │ +0013c640: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +0013c670: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +0013c680: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +0013c6c0: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ +0013c6d0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
< │ │ │ +0013cba0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +0013cbc0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +0013cc10: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
include enable_
│ │ │ +0013cc60: 7566 770a 0a63 6c61 7373 2065 6e61 626c  ufw..class enabl
│ │ │ +0013cc70: 655f 7566 7720 7b0a 2020 7365 7276 6963  e_ufw {.  servic
│ │ │ +0013cc80: 6520 7b27 7566 7727 3a0a 2020 2020 656e  e {'ufw':.    en
│ │ │ +0013cc90: 6162 6c65 203d 2667 743b 2074 7275 652c  able => true,
│ │ │ +0013cca0: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ +0013ccb0: 3b20 2772 756e 6e69 6e67 272c 0a20 207d  ; 'running',.  }
│ │ │ +0013ccc0: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ +0013ccd0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediatio │ │ │ +0013cd80: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr │ │ │ +0013cd90: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...< │ │ │ +0013cda0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
low
Disr │ │ │ +0013cbd0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +0013cbe0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +0013cc20: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ +0013cc30: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complexity:< │ │ │ -0016f540: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr> │ │ │ -0016f560: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -0016f590: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
low
Disru │ │ │ -0016f520: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6d ption:m │ │ │ -0016f530: 6564 6975 6d3c 2f74 643e 3c2f 7472 3e3c edium
Reboot:true
Str │ │ │ -0016f570: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -0016f580: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
apiVersion: m
│ │ │ -0016f5b0: 6163 6869 6e65 636f 6e66 6967 7572 6174  achineconfigurat
│ │ │ -0016f5c0: 696f 6e2e 6f70 656e 7368 6966 742e 696f  ion.openshift.io
│ │ │ -0016f5d0: 2f76 310a 6b69 6e64 3a20 4d61 6368 696e  /v1.kind: Machin
│ │ │ -0016f5e0: 6543 6f6e 6669 670a 7370 6563 3a0a 2020  eConfig.spec:.  
│ │ │ -0016f5f0: 636f 6e66 6967 3a0a 2020 2020 6967 6e69  config:.    igni
│ │ │ -0016f600: 7469 6f6e 3a0a 2020 2020 2020 7665 7273  tion:.      vers
│ │ │ -0016f610: 696f 6e3a 2033 2e31 2e30 0a20 2020 2073  ion: 3.1.0.    s
│ │ │ -0016f620: 7973 7465 6d64 3a0a 2020 2020 2020 756e  ystemd:.      un
│ │ │ -0016f630: 6974 733a 0a20 2020 2020 202d 206e 616d  its:.      - nam
│ │ │ -0016f640: 653a 2061 7574 6f66 732e 7365 7276 6963  e: autofs.servic
│ │ │ -0016f650: 650a 2020 2020 2020 2020 656e 6162 6c65  e.        enable
│ │ │ -0016f660: 643a 2066 616c 7365 0a20 2020 2020 2020  d: false.       
│ │ │ -0016f670: 206d 6173 6b3a 2074 7275 650a 2020 2020   mask: true.    
│ │ │ -0016f680: 2020 2d20 6e61 6d65 3a20 6175 746f 6673    - name: autofs
│ │ │ -0016f690: 2e73 6f63 6b65 740a 2020 2020 2020 2020  .socket.        
│ │ │ -0016f6a0: 656e 6162 6c65 643a 2066 616c 7365 0a20  enabled: false. 
│ │ │ -0016f6b0: 2020 2020 2020 206d 6173 6b3a 2074 7275         mask: tru
│ │ │ -0016f6c0: 650a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  e.
< │ │ │ -0016f6d0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -0016f780: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ -0016f790: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -0016f810: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -0016f820: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -0016f830: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -0016f870: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -0016f880: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -0016f8a0: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ -0016f8c0: 3c63 6f64 653e 696e 636c 7564 6520 6469  include di
│ │ │ -0016f8d0: 7361 626c 655f 6175 746f 6673 0a0a 636c  sable_autofs..cl
│ │ │ -0016f8e0: 6173 7320 6469 7361 626c 655f 6175 746f  ass disable_auto
│ │ │ -0016f8f0: 6673 207b 0a20 2073 6572 7669 6365 207b  fs {.  service {
│ │ │ -0016f900: 2761 7574 6f66 7327 3a0a 2020 2020 656e  'autofs':.    en
│ │ │ -0016f910: 6162 6c65 203d 2667 743b 2066 616c 7365  able => false
│ │ │ -0016f920: 2c0a 2020 2020 656e 7375 7265 203d 2667  ,.    ensure =&g
│ │ │ -0016f930: 743b 2027 7374 6f70 7065 6427 2c0a 2020  t; 'stopped',.  
│ │ │ -0016f940: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ -0016fa00: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -0016fa10: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -0016fac0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -0016fae0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -0016fb10: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -0016faa0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -0016fab0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -0016fad0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -0016faf0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -0016fb00: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -0016fb40: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -0016fb50: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac │ │ │ -0016fb60: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac │ │ │ -0016fb70: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:. │ │ │ -0016fb80: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto. │ │ │ -0016fb90: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8 │ │ │ -0016fba0: 3030 2d31 3731 2d33 2e34 2e36 0a20 202d 00-171-3.4.6. - │ │ │ -0016fbb0: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM- │ │ │ -0016fbc0: 3628 6129 0a20 202d 204e 4953 542d 3830 6(a). - NIST-80 │ │ │ -0016fbd0: 302d 3533 2d43 4d2d 3728 6129 0a20 202d 0-53-CM-7(a). - │ │ │ -0016fbe0: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM- │ │ │ -0016fbf0: 3728 6229 0a20 202d 204e 4953 542d 3830 7(b). - NIST-80 │ │ │ -0016fc00: 302d 3533 2d4d 502d 370a 2020 2d20 6469 0-53-MP-7. - di │ │ │ -0016fc10: 7361 626c 655f 7374 7261 7465 6779 0a20 sable_strategy. │ │ │ -0016fc20: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit │ │ │ -0016fc30: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup │ │ │ -0016fc40: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_ │ │ │ -0016fc50: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_ │ │ │ -0016fc60: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed. │ │ │ -0016fc70: 2d20 7365 7276 6963 655f 6175 746f 6673 - service_autofs │ │ │ -0016fc80: 5f64 6973 6162 6c65 640a 0a2d 206e 616d _disabled..- nam │ │ │ -0016fc90: 653a 2044 6973 6162 6c65 2074 6865 2041 e: Disable the A │ │ │ -0016fca0: 7574 6f6d 6f75 6e74 6572 202d 2043 6f6c utomounter - Col │ │ │ -0016fcb0: 6c65 6374 2073 7973 7465 6d64 2053 6572 lect systemd Ser │ │ │ -0016fcc0: 7669 6365 7320 5072 6573 656e 7420 696e vices Present in │ │ │ -0016fcd0: 2074 6865 2053 7973 7465 6d0a 2020 616e the System. an │ │ │ -0016fce0: 7369 626c 652e 6275 696c 7469 6e2e 636f sible.builtin.co │ │ │ -0016fcf0: 6d6d 616e 643a 2073 7973 7465 6d63 746c mmand: systemctl │ │ │ -0016fd00: 202d 7120 6c69 7374 2d75 6e69 742d 6669 -q list-unit-fi │ │ │ -0016fd10: 6c65 7320 2d2d 7479 7065 2073 6572 7669 les --type servi │ │ │ -0016fd20: 6365 0a20 2072 6567 6973 7465 723a 2073 ce. register: s │ │ │ -0016fd30: 6572 7669 6365 5f65 7869 7374 730a 2020 ervice_exists. │ │ │ -0016fd40: 6368 616e 6765 645f 7768 656e 3a20 6661 changed_when: fa │ │ │ -0016fd50: 6c73 650a 2020 6661 696c 6564 5f77 6865 lse. failed_whe │ │ │ -0016fd60: 6e3a 2073 6572 7669 6365 5f65 7869 7374 n: service_exist │ │ │ -0016fd70: 732e 7263 206e 6f74 2069 6e20 5b30 2c20 s.rc not in [0, │ │ │ -0016fd80: 315d 0a20 2063 6865 636b 5f6d 6f64 653a 1]. check_mode: │ │ │ -0016fd90: 2066 616c 7365 0a20 2077 6865 6e3a 2028 false. when: ( │ │ │ -0016fda0: 2022 6175 746f 6673 2220 696e 2061 6e73 "autofs" in ans │ │ │ -0016fdb0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa │ │ │ -0016fdc0: 6765 7320 616e 6420 226c 696e 7578 2d62 ges and "linux-b │ │ │ -0016fdd0: 6173 6522 2069 6e20 616e 7369 626c 655f ase" in ansible_ │ │ │ -0016fde0: 6661 6374 732e 7061 636b 6167 6573 0a20 facts.packages. │ │ │ -0016fdf0: 2020 2029 0a20 2074 6167 733a 0a20 202d ). tags:. - │ │ │ -0016fe00: 204e 4953 542d 3830 302d 3137 312d 332e NIST-800-171-3. │ │ │ -0016fe10: 342e 360a 2020 2d20 4e49 5354 2d38 3030 4.6. - NIST-800 │ │ │ -0016fe20: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). - │ │ │ -0016fe30: 4e49 5354 2d38 3030 2d35 332d 434d 2d37 NIST-800-53-CM-7 │ │ │ -0016fe40: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800 │ │ │ -0016fe50: 2d35 332d 434d 2d37 2862 290a 2020 2d20 -53-CM-7(b). - │ │ │ -0016fe60: 4e49 5354 2d38 3030 2d35 332d 4d50 2d37 NIST-800-53-MP-7 │ │ │ -0016fe70: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str │ │ │ -0016fe80: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co │ │ │ -0016fe90: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low │ │ │ -0016fea0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. - │ │ │ -0016feb0: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity. │ │ │ -0016fec0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ -0016fed0: 6564 6564 0a20 202d 2073 6572 7669 6365 eded. - service │ │ │ -0016fee0: 5f61 7574 6f66 735f 6469 7361 626c 6564 _autofs_disabled │ │ │ -0016fef0: 0a0a 2d20 6e61 6d65 3a20 4469 7361 626c ..- name: Disabl │ │ │ -0016ff00: 6520 7468 6520 4175 746f 6d6f 756e 7465 e the Automounte │ │ │ -0016ff10: 7220 2d20 456e 7375 7265 2061 7574 6f66 r - Ensure autof │ │ │ -0016ff20: 732e 7365 7276 6963 6520 6973 204d 6173 s.service is Mas │ │ │ -0016ff30: 6b65 640a 2020 616e 7369 626c 652e 6275 ked. ansible.bu │ │ │ -0016ff40: 696c 7469 6e2e 7379 7374 656d 643a 0a20 iltin.systemd:. │ │ │ -0016ff50: 2020 206e 616d 653a 2061 7574 6f66 732e name: autofs. │ │ │ -0016ff60: 7365 7276 6963 650a 2020 2020 7374 6174 service. stat │ │ │ -0016ff70: 653a 2073 746f 7070 6564 0a20 2020 2065 e: stopped. e │ │ │ -0016ff80: 6e61 626c 6564 3a20 6661 6c73 650a 2020 nabled: false. │ │ │ -0016ff90: 2020 6d61 736b 6564 3a20 7472 7565 0a20 masked: true. │ │ │ -0016ffa0: 2077 6865 6e3a 0a20 202d 2028 2022 6175 when:. - ( "au │ │ │ -0016ffb0: 746f 6673 2220 696e 2061 6e73 6962 6c65 tofs" in ansible │ │ │ -0016ffc0: 5f66 6163 7473 2e70 6163 6b61 6765 7320 _facts.packages │ │ │ -0016ffd0: 616e 6420 226c 696e 7578 2d62 6173 6522 and "linux-base" │ │ │ -0016ffe0: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact │ │ │ -0016fff0: 732e 7061 636b 6167 6573 0a20 2020 2029 s.packages. ) │ │ │ -00170000: 0a20 202d 2073 6572 7669 6365 5f65 7869 . - service_exi │ │ │ -00170010: 7374 732e 7374 646f 7574 5f6c 696e 6573 sts.stdout_lines │ │ │ -00170020: 2069 7320 7365 6172 6368 2822 6175 746f is search("auto │ │ │ -00170030: 6673 2e73 6572 7669 6365 222c 206d 756c fs.service", mul │ │ │ -00170040: 7469 6c69 6e65 3d54 7275 6529 0a20 2074 tiline=True). t │ │ │ -00170050: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80 │ │ │ -00170060: 302d 3137 312d 332e 342e 360a 2020 2d20 0-171-3.4.6. - │ │ │ -00170070: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6 │ │ │ -00170080: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800 │ │ │ -00170090: 2d35 332d 434d 2d37 2861 290a 2020 2d20 -53-CM-7(a). - │ │ │ -001700a0: 4e49 5354 2d38 3030 2d35 332d 434d 2d37 NIST-800-53-CM-7 │ │ │ -001700b0: 2862 290a 2020 2d20 4e49 5354 2d38 3030 (b). - NIST-800 │ │ │ -001700c0: 2d35 332d 4d50 2d37 0a20 202d 2064 6973 -53-MP-7. - dis │ │ │ -001700d0: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy. │ │ │ -001700e0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity │ │ │ -001700f0: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt │ │ │ -00170100: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s │ │ │ -00170110: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r │ │ │ -00170120: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. - │ │ │ -00170130: 2073 6572 7669 6365 5f61 7574 6f66 735f service_autofs_ │ │ │ -00170140: 6469 7361 626c 6564 0a0a 2d20 6e61 6d65 disabled..- name │ │ │ -00170150: 3a20 556e 6974 2053 6f63 6b65 7420 4578 : Unit Socket Ex │ │ │ -00170160: 6973 7473 202d 2061 7574 6f66 732e 736f ists - autofs.so │ │ │ -00170170: 636b 6574 0a20 2061 6e73 6962 6c65 2e62 cket. ansible.b │ │ │ -00170180: 7569 6c74 696e 2e63 6f6d 6d61 6e64 3a20 uiltin.command: │ │ │ -00170190: 7379 7374 656d 6374 6c20 2d71 206c 6973 systemctl -q lis │ │ │ -001701a0: 742d 756e 6974 2d66 696c 6573 2061 7574 t-unit-files aut │ │ │ -001701b0: 6f66 732e 736f 636b 6574 0a20 2072 6567 ofs.socket. reg │ │ │ -001701c0: 6973 7465 723a 2073 6f63 6b65 745f 6669 ister: socket_fi │ │ │ -001701d0: 6c65 5f65 7869 7374 730a 2020 6368 616e le_exists. chan │ │ │ -001701e0: 6765 645f 7768 656e 3a20 6661 6c73 650a ged_when: false. │ │ │ -001701f0: 2020 6661 696c 6564 5f77 6865 6e3a 2073 failed_when: s │ │ │ -00170200: 6f63 6b65 745f 6669 6c65 5f65 7869 7374 ocket_file_exist │ │ │ -00170210: 732e 7263 206e 6f74 2069 6e20 5b30 2c20 s.rc not in [0, │ │ │ -00170220: 315d 0a20 2063 6865 636b 5f6d 6f64 653a 1]. check_mode: │ │ │ -00170230: 2066 616c 7365 0a20 2077 6865 6e3a 2028 false. when: ( │ │ │ -00170240: 2022 6175 746f 6673 2220 696e 2061 6e73 "autofs" in ans │ │ │ -00170250: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa │ │ │ -00170260: 6765 7320 616e 6420 226c 696e 7578 2d62 ges and "linux-b │ │ │ -00170270: 6173 6522 2069 6e20 616e 7369 626c 655f ase" in ansible_ │ │ │ -00170280: 6661 6374 732e 7061 636b 6167 6573 0a20 facts.packages. │ │ │ -00170290: 2020 2029 0a20 2074 6167 733a 0a20 202d ). tags:. - │ │ │ -001702a0: 204e 4953 542d 3830 302d 3137 312d 332e NIST-800-171-3. │ │ │ -001702b0: 342e 360a 2020 2d20 4e49 5354 2d38 3030 4.6. - NIST-800 │ │ │ -001702c0: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). - │ │ │ -001702d0: 4e49 5354 2d38 3030 2d35 332d 434d 2d37 NIST-800-53-CM-7 │ │ │ -001702e0: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800 │ │ │ -001702f0: 2d35 332d 434d 2d37 2862 290a 2020 2d20 -53-CM-7(b). - │ │ │ -00170300: 4e49 5354 2d38 3030 2d35 332d 4d50 2d37 NIST-800-53-MP-7 │ │ │ -00170310: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str │ │ │ -00170320: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co │ │ │ -00170330: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low │ │ │ -00170340: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. - │ │ │ -00170350: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity. │ │ │ -00170360: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ -00170370: 6564 6564 0a20 202d 2073 6572 7669 6365 eded. - service │ │ │ -00170380: 5f61 7574 6f66 735f 6469 7361 626c 6564 _autofs_disabled │ │ │ -00170390: 0a0a 2d20 6e61 6d65 3a20 4469 7361 626c ..- name: Disabl │ │ │ -001703a0: 6520 7468 6520 4175 746f 6d6f 756e 7465 e the Automounte │ │ │ -001703b0: 7220 2d20 4469 7361 626c 6520 536f 636b r - Disable Sock │ │ │ -001703c0: 6574 2061 7574 6f66 730a 2020 616e 7369 et autofs. ansi │ │ │ -001703d0: 626c 652e 6275 696c 7469 6e2e 7379 7374 ble.builtin.syst │ │ │ -001703e0: 656d 643a 0a20 2020 206e 616d 653a 2061 emd:. name: a │ │ │ -001703f0: 7574 6f66 732e 736f 636b 6574 0a20 2020 utofs.socket. │ │ │ -00170400: 2065 6e61 626c 6564 3a20 6661 6c73 650a enabled: false. │ │ │ -00170410: 2020 2020 7374 6174 653a 2073 746f 7070 state: stopp │ │ │ -00170420: 6564 0a20 2020 206d 6173 6b65 643a 2074 ed. masked: t │ │ │ -00170430: 7275 650a 2020 7768 656e 3a0a 2020 2d20 rue. when:. - │ │ │ -00170440: 2820 2261 7574 6f66 7322 2069 6e20 616e ( "autofs" in an │ │ │ -00170450: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack │ │ │ -00170460: 6167 6573 2061 6e64 2022 6c69 6e75 782d ages and "linux- │ │ │ -00170470: 6261 7365 2220 696e 2061 6e73 6962 6c65 base" in ansible │ │ │ -00170480: 5f66 6163 7473 2e70 6163 6b61 6765 730a _facts.packages. │ │ │ -00170490: 2020 2020 290a 2020 2d20 736f 636b 6574 ). - socket │ │ │ -001704a0: 5f66 696c 655f 6578 6973 7473 2e73 7464 _file_exists.std │ │ │ -001704b0: 6f75 745f 6c69 6e65 7320 6973 2073 6561 out_lines is sea │ │ │ -001704c0: 7263 6828 2261 7574 6f66 732e 736f 636b rch("autofs.sock │ │ │ -001704d0: 6574 222c 206d 756c 7469 6c69 6e65 3d54 et", multiline=T │ │ │ -001704e0: 7275 6529 0a20 2074 6167 733a 0a20 202d rue). tags:. - │ │ │ -001704f0: 204e 4953 542d 3830 302d 3137 312d 332e NIST-800-171-3. │ │ │ -00170500: 342e 360a 2020 2d20 4e49 5354 2d38 3030 4.6. - NIST-800 │ │ │ -00170510: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). - │ │ │ -00170520: 4e49 5354 2d38 3030 2d35 332d 434d 2d37 NIST-800-53-CM-7 │ │ │ -00170530: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800 │ │ │ -00170540: 2d35 332d 434d 2d37 2862 290a 2020 2d20 -53-CM-7(b). - │ │ │ -00170550: 4e49 5354 2d38 3030 2d35 332d 4d50 2d37 NIST-800-53-MP-7 │ │ │ -00170560: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str │ │ │ -00170570: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co │ │ │ -00170580: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low │ │ │ -00170590: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. - │ │ │ -001705a0: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity. │ │ │ -001705b0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ -001705c0: 6564 6564 0a20 202d 2073 6572 7669 6365 eded. - service │ │ │ -001705d0: 5f61 7574 6f66 735f 6469 7361 626c 6564 _autofs_disabled │ │ │ +0016f300: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn │ │ │ +0016f310: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ +0016f3c0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +0016f410: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ +0016f450: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ +0016f460: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ +0016f470: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ +0016f480: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ +0016f490: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ +0016f4a0: 542d 3830 302d 3137 312d 332e 342e 360a  T-800-171-3.4.6.
│ │ │ +0016f4b0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +0016f4c0: 434d 2d36 2861 290a 2020 2d20 4e49 5354  CM-6(a).  - NIST
│ │ │ +0016f4d0: 2d38 3030 2d35 332d 434d 2d37 2861 290a  -800-53-CM-7(a).
│ │ │ +0016f4e0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +0016f4f0: 434d 2d37 2862 290a 2020 2d20 4e49 5354  CM-7(b).  - NIST
│ │ │ +0016f500: 2d38 3030 2d35 332d 4d50 2d37 0a20 202d  -800-53-MP-7.  -
│ │ │ +0016f510: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ +0016f520: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +0016f530: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +0016f540: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ +0016f550: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ +0016f560: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +0016f570: 0a20 202d 2073 6572 7669 6365 5f61 7574  .  - service_aut
│ │ │ +0016f580: 6f66 735f 6469 7361 626c 6564 0a0a 2d20  ofs_disabled..- 
│ │ │ +0016f590: 6e61 6d65 3a20 4469 7361 626c 6520 7468  name: Disable th
│ │ │ +0016f5a0: 6520 4175 746f 6d6f 756e 7465 7220 2d20  e Automounter - 
│ │ │ +0016f5b0: 436f 6c6c 6563 7420 7379 7374 656d 6420  Collect systemd 
│ │ │ +0016f5c0: 5365 7276 6963 6573 2050 7265 7365 6e74  Services Present
│ │ │ +0016f5d0: 2069 6e20 7468 6520 5379 7374 656d 0a20   in the System. 
│ │ │ +0016f5e0: 2061 6e73 6962 6c65 2e62 7569 6c74 696e   ansible.builtin
│ │ │ +0016f5f0: 2e63 6f6d 6d61 6e64 3a20 7379 7374 656d  .command: system
│ │ │ +0016f600: 6374 6c20 2d71 206c 6973 742d 756e 6974  ctl -q list-unit
│ │ │ +0016f610: 2d66 696c 6573 202d 2d74 7970 6520 7365  -files --type se
│ │ │ +0016f620: 7276 6963 650a 2020 7265 6769 7374 6572  rvice.  register
│ │ │ +0016f630: 3a20 7365 7276 6963 655f 6578 6973 7473  : service_exists
│ │ │ +0016f640: 0a20 2063 6861 6e67 6564 5f77 6865 6e3a  .  changed_when:
│ │ │ +0016f650: 2066 616c 7365 0a20 2066 6169 6c65 645f   false.  failed_
│ │ │ +0016f660: 7768 656e 3a20 7365 7276 6963 655f 6578  when: service_ex
│ │ │ +0016f670: 6973 7473 2e72 6320 6e6f 7420 696e 205b  ists.rc not in [
│ │ │ +0016f680: 302c 2031 5d0a 2020 6368 6563 6b5f 6d6f  0, 1].  check_mo
│ │ │ +0016f690: 6465 3a20 6661 6c73 650a 2020 7768 656e  de: false.  when
│ │ │ +0016f6a0: 3a20 2820 2261 7574 6f66 7322 2069 6e20  : ( "autofs" in 
│ │ │ +0016f6b0: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ +0016f6c0: 636b 6167 6573 2061 6e64 2022 6c69 6e75  ckages and "linu
│ │ │ +0016f6d0: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ +0016f6e0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +0016f6f0: 730a 2020 2020 290a 2020 7461 6773 3a0a  s.    ).  tags:.
│ │ │ +0016f700: 2020 2d20 4e49 5354 2d38 3030 2d31 3731    - NIST-800-171
│ │ │ +0016f710: 2d33 2e34 2e36 0a20 202d 204e 4953 542d  -3.4.6.  - NIST-
│ │ │ +0016f720: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ +0016f730: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +0016f740: 4d2d 3728 6129 0a20 202d 204e 4953 542d  M-7(a).  - NIST-
│ │ │ +0016f750: 3830 302d 3533 2d43 4d2d 3728 6229 0a20  800-53-CM-7(b). 
│ │ │ +0016f760: 202d 204e 4953 542d 3830 302d 3533 2d4d   - NIST-800-53-M
│ │ │ +0016f770: 502d 370a 2020 2d20 6469 7361 626c 655f  P-7.  - disable_
│ │ │ +0016f780: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ +0016f790: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +0016f7a0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +0016f7b0: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ +0016f7c0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ +0016f7d0: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ +0016f7e0: 6963 655f 6175 746f 6673 5f64 6973 6162  ice_autofs_disab
│ │ │ +0016f7f0: 6c65 640a 0a2d 206e 616d 653a 2044 6973  led..- name: Dis
│ │ │ +0016f800: 6162 6c65 2074 6865 2041 7574 6f6d 6f75  able the Automou
│ │ │ +0016f810: 6e74 6572 202d 2045 6e73 7572 6520 6175  nter - Ensure au
│ │ │ +0016f820: 746f 6673 2e73 6572 7669 6365 2069 7320  tofs.service is 
│ │ │ +0016f830: 4d61 736b 6564 0a20 2061 6e73 6962 6c65  Masked.  ansible
│ │ │ +0016f840: 2e62 7569 6c74 696e 2e73 7973 7465 6d64  .builtin.systemd
│ │ │ +0016f850: 3a0a 2020 2020 6e61 6d65 3a20 6175 746f  :.    name: auto
│ │ │ +0016f860: 6673 2e73 6572 7669 6365 0a20 2020 2073  fs.service.    s
│ │ │ +0016f870: 7461 7465 3a20 7374 6f70 7065 640a 2020  tate: stopped.  
│ │ │ +0016f880: 2020 656e 6162 6c65 643a 2066 616c 7365    enabled: false
│ │ │ +0016f890: 0a20 2020 206d 6173 6b65 643a 2074 7275  .    masked: tru
│ │ │ +0016f8a0: 650a 2020 7768 656e 3a0a 2020 2d20 2820  e.  when:.  - ( 
│ │ │ +0016f8b0: 2261 7574 6f66 7322 2069 6e20 616e 7369  "autofs" in ansi
│ │ │ +0016f8c0: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ +0016f8d0: 6573 2061 6e64 2022 6c69 6e75 782d 6261  es and "linux-ba
│ │ │ +0016f8e0: 7365 2220 696e 2061 6e73 6962 6c65 5f66  se" in ansible_f
│ │ │ +0016f8f0: 6163 7473 2e70 6163 6b61 6765 730a 2020  acts.packages.  
│ │ │ +0016f900: 2020 290a 2020 2d20 7365 7276 6963 655f    ).  - service_
│ │ │ +0016f910: 6578 6973 7473 2e73 7464 6f75 745f 6c69  exists.stdout_li
│ │ │ +0016f920: 6e65 7320 6973 2073 6561 7263 6828 2261  nes is search("a
│ │ │ +0016f930: 7574 6f66 732e 7365 7276 6963 6522 2c20  utofs.service", 
│ │ │ +0016f940: 6d75 6c74 696c 696e 653d 5472 7565 290a  multiline=True).
│ │ │ +0016f950: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ +0016f960: 2d38 3030 2d31 3731 2d33 2e34 2e36 0a20  -800-171-3.4.6. 
│ │ │ +0016f970: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +0016f980: 4d2d 3628 6129 0a20 202d 204e 4953 542d  M-6(a).  - NIST-
│ │ │ +0016f990: 3830 302d 3533 2d43 4d2d 3728 6129 0a20  800-53-CM-7(a). 
│ │ │ +0016f9a0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +0016f9b0: 4d2d 3728 6229 0a20 202d 204e 4953 542d  M-7(b).  - NIST-
│ │ │ +0016f9c0: 3830 302d 3533 2d4d 502d 370a 2020 2d20  800-53-MP-7.  - 
│ │ │ +0016f9d0: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ +0016f9e0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +0016f9f0: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +0016fa00: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +0016fa10: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +0016fa20: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +0016fa30: 2020 2d20 7365 7276 6963 655f 6175 746f    - service_auto
│ │ │ +0016fa40: 6673 5f64 6973 6162 6c65 640a 0a2d 206e  fs_disabled..- n
│ │ │ +0016fa50: 616d 653a 2055 6e69 7420 536f 636b 6574  ame: Unit Socket
│ │ │ +0016fa60: 2045 7869 7374 7320 2d20 6175 746f 6673   Exists - autofs
│ │ │ +0016fa70: 2e73 6f63 6b65 740a 2020 616e 7369 626c  .socket.  ansibl
│ │ │ +0016fa80: 652e 6275 696c 7469 6e2e 636f 6d6d 616e  e.builtin.comman
│ │ │ +0016fa90: 643a 2073 7973 7465 6d63 746c 202d 7120  d: systemctl -q 
│ │ │ +0016faa0: 6c69 7374 2d75 6e69 742d 6669 6c65 7320  list-unit-files 
│ │ │ +0016fab0: 6175 746f 6673 2e73 6f63 6b65 740a 2020  autofs.socket.  
│ │ │ +0016fac0: 7265 6769 7374 6572 3a20 736f 636b 6574  register: socket
│ │ │ +0016fad0: 5f66 696c 655f 6578 6973 7473 0a20 2063  _file_exists.  c
│ │ │ +0016fae0: 6861 6e67 6564 5f77 6865 6e3a 2066 616c  hanged_when: fal
│ │ │ +0016faf0: 7365 0a20 2066 6169 6c65 645f 7768 656e  se.  failed_when
│ │ │ +0016fb00: 3a20 736f 636b 6574 5f66 696c 655f 6578  : socket_file_ex
│ │ │ +0016fb10: 6973 7473 2e72 6320 6e6f 7420 696e 205b  ists.rc not in [
│ │ │ +0016fb20: 302c 2031 5d0a 2020 6368 6563 6b5f 6d6f  0, 1].  check_mo
│ │ │ +0016fb30: 6465 3a20 6661 6c73 650a 2020 7768 656e  de: false.  when
│ │ │ +0016fb40: 3a20 2820 2261 7574 6f66 7322 2069 6e20  : ( "autofs" in 
│ │ │ +0016fb50: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ +0016fb60: 636b 6167 6573 2061 6e64 2022 6c69 6e75  ckages and "linu
│ │ │ +0016fb70: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ +0016fb80: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +0016fb90: 730a 2020 2020 290a 2020 7461 6773 3a0a  s.    ).  tags:.
│ │ │ +0016fba0: 2020 2d20 4e49 5354 2d38 3030 2d31 3731    - NIST-800-171
│ │ │ +0016fbb0: 2d33 2e34 2e36 0a20 202d 204e 4953 542d  -3.4.6.  - NIST-
│ │ │ +0016fbc0: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ +0016fbd0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +0016fbe0: 4d2d 3728 6129 0a20 202d 204e 4953 542d  M-7(a).  - NIST-
│ │ │ +0016fbf0: 3830 302d 3533 2d43 4d2d 3728 6229 0a20  800-53-CM-7(b). 
│ │ │ +0016fc00: 202d 204e 4953 542d 3830 302d 3533 2d4d   - NIST-800-53-M
│ │ │ +0016fc10: 502d 370a 2020 2d20 6469 7361 626c 655f  P-7.  - disable_
│ │ │ +0016fc20: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ +0016fc30: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +0016fc40: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +0016fc50: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ +0016fc60: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ +0016fc70: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ +0016fc80: 6963 655f 6175 746f 6673 5f64 6973 6162  ice_autofs_disab
│ │ │ +0016fc90: 6c65 640a 0a2d 206e 616d 653a 2044 6973  led..- name: Dis
│ │ │ +0016fca0: 6162 6c65 2074 6865 2041 7574 6f6d 6f75  able the Automou
│ │ │ +0016fcb0: 6e74 6572 202d 2044 6973 6162 6c65 2053  nter - Disable S
│ │ │ +0016fcc0: 6f63 6b65 7420 6175 746f 6673 0a20 2061  ocket autofs.  a
│ │ │ +0016fcd0: 6e73 6962 6c65 2e62 7569 6c74 696e 2e73  nsible.builtin.s
│ │ │ +0016fce0: 7973 7465 6d64 3a0a 2020 2020 6e61 6d65  ystemd:.    name
│ │ │ +0016fcf0: 3a20 6175 746f 6673 2e73 6f63 6b65 740a  : autofs.socket.
│ │ │ +0016fd00: 2020 2020 656e 6162 6c65 643a 2066 616c      enabled: fal
│ │ │ +0016fd10: 7365 0a20 2020 2073 7461 7465 3a20 7374  se.    state: st
│ │ │ +0016fd20: 6f70 7065 640a 2020 2020 6d61 736b 6564  opped.    masked
│ │ │ +0016fd30: 3a20 7472 7565 0a20 2077 6865 6e3a 0a20  : true.  when:. 
│ │ │ +0016fd40: 202d 2028 2022 6175 746f 6673 2220 696e   - ( "autofs" in
│ │ │ +0016fd50: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ +0016fd60: 6163 6b61 6765 7320 616e 6420 226c 696e  ackages and "lin
│ │ │ +0016fd70: 7578 2d62 6173 6522 2069 6e20 616e 7369  ux-base" in ansi
│ │ │ +0016fd80: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ +0016fd90: 6573 0a20 2020 2029 0a20 202d 2073 6f63  es.    ).  - soc
│ │ │ +0016fda0: 6b65 745f 6669 6c65 5f65 7869 7374 732e  ket_file_exists.
│ │ │ +0016fdb0: 7374 646f 7574 5f6c 696e 6573 2069 7320  stdout_lines is 
│ │ │ +0016fdc0: 7365 6172 6368 2822 6175 746f 6673 2e73  search("autofs.s
│ │ │ +0016fdd0: 6f63 6b65 7422 2c20 6d75 6c74 696c 696e  ocket", multilin
│ │ │ +0016fde0: 653d 5472 7565 290a 2020 7461 6773 3a0a  e=True).  tags:.
│ │ │ +0016fdf0: 2020 2d20 4e49 5354 2d38 3030 2d31 3731    - NIST-800-171
│ │ │ +0016fe00: 2d33 2e34 2e36 0a20 202d 204e 4953 542d  -3.4.6.  - NIST-
│ │ │ +0016fe10: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ +0016fe20: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +0016fe30: 4d2d 3728 6129 0a20 202d 204e 4953 542d  M-7(a).  - NIST-
│ │ │ +0016fe40: 3830 302d 3533 2d43 4d2d 3728 6229 0a20  800-53-CM-7(b). 
│ │ │ +0016fe50: 202d 204e 4953 542d 3830 302d 3533 2d4d   - NIST-800-53-M
│ │ │ +0016fe60: 502d 370a 2020 2d20 6469 7361 626c 655f  P-7.  - disable_
│ │ │ +0016fe70: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ +0016fe80: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +0016fe90: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +0016fea0: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ +0016feb0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ +0016fec0: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ +0016fed0: 6963 655f 6175 746f 6673 5f64 6973 6162  ice_autofs_disab
│ │ │ +0016fee0: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265  led.
Remediati │ │ │ +0016ffa0: 6f6e 204b 7562 6572 6e65 7465 7320 736e on Kubernetes sn │ │ │ +0016ffb0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Co │ │ │ +0016f3a0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +0016f3d0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +0016f3f0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +0016f400: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +0016f420: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +0016f430: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
low< │ │ │ +00170060: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +00170090: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +001700a0: 7464 3e74 7275 653c 2f74 643e 3c2f 7472 td>true
a
│ │ │ +001700f0: 7069 5665 7273 696f 6e3a 206d 6163 6869  piVersion: machi
│ │ │ +00170100: 6e65 636f 6e66 6967 7572 6174 696f 6e2e  neconfiguration.
│ │ │ +00170110: 6f70 656e 7368 6966 742e 696f 2f76 310a  openshift.io/v1.
│ │ │ +00170120: 6b69 6e64 3a20 4d61 6368 696e 6543 6f6e  kind: MachineCon
│ │ │ +00170130: 6669 670a 7370 6563 3a0a 2020 636f 6e66  fig.spec:.  conf
│ │ │ +00170140: 6967 3a0a 2020 2020 6967 6e69 7469 6f6e  ig:.    ignition
│ │ │ +00170150: 3a0a 2020 2020 2020 7665 7273 696f 6e3a  :.      version:
│ │ │ +00170160: 2033 2e31 2e30 0a20 2020 2073 7973 7465   3.1.0.    syste
│ │ │ +00170170: 6d64 3a0a 2020 2020 2020 756e 6974 733a  md:.      units:
│ │ │ +00170180: 0a20 2020 2020 202d 206e 616d 653a 2061  .      - name: a
│ │ │ +00170190: 7574 6f66 732e 7365 7276 6963 650a 2020  utofs.service.  
│ │ │ +001701a0: 2020 2020 2020 656e 6162 6c65 643a 2066        enabled: f
│ │ │ +001701b0: 616c 7365 0a20 2020 2020 2020 206d 6173  alse.        mas
│ │ │ +001701c0: 6b3a 2074 7275 650a 2020 2020 2020 2d20  k: true.      - 
│ │ │ +001701d0: 6e61 6d65 3a20 6175 746f 6673 2e73 6f63  name: autofs.soc
│ │ │ +001701e0: 6b65 740a 2020 2020 2020 2020 656e 6162  ket.        enab
│ │ │ +001701f0: 6c65 643a 2066 616c 7365 0a20 2020 2020  led: false.     
│ │ │ +00170200: 2020 206d 6173 6b3a 2074 7275 650a 3c2f     mask: true.
Remediation Pup │ │ │ +001702d0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ +001702e0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Co │ │ │ +00170040: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +00170070: 6e3a 3c2f 7468 3e3c 7464 3e6d 6564 6975 n:mediu │ │ │ +00170080: 6d3c 2f74 643e 3c2f 7472 3e3c 7472 3e3c m
Strateg │ │ │ +001700c0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +001700d0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
│ │ │ +00170360: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +00170380: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +001703d0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 < │ │ │ +00170400: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include disabl
│ │ │ +00170420: 655f 6175 746f 6673 0a0a 636c 6173 7320  e_autofs..class 
│ │ │ +00170430: 6469 7361 626c 655f 6175 746f 6673 207b  disable_autofs {
│ │ │ +00170440: 0a20 2073 6572 7669 6365 207b 2761 7574  .  service {'aut
│ │ │ +00170450: 6f66 7327 3a0a 2020 2020 656e 6162 6c65  ofs':.    enable
│ │ │ +00170460: 203d 2667 743b 2066 616c 7365 2c0a 2020   => false,.  
│ │ │ +00170470: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ +00170480: 7374 6f70 7065 6427 2c0a 2020 7d0a 7d0a  stopped',.  }.}.
│ │ │ +00170490: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation O │ │ │ +00170550: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint │ │ │ +00170560: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +00170570: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.[customizatio
│ │ │ +001705c0: 6e73 2e73 6572 7669 6365 735d 0a6d 6173  ns.services].mas
│ │ │ +001705d0: 6b65 6420 3d20 5b22 6175 746f 6673 225d  ked = ["autofs"]
│ │ │  001705e0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediat │ │ │ -001b03e0: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue │ │ │ -001b03f0: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet .. │ │ │ -001b0400: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
.[customi
│ │ │ -001b0450: 7a61 7469 6f6e 732e 7365 7276 6963 6573  zations.services
│ │ │ -001b0460: 5d0a 6d61 736b 6564 203d 205b 2261 7070  ].masked = ["app
│ │ │ -001b0470: 6f72 7422 5d0a 3c2f 636f 6465 3e3c 2f70  ort"].

Remedia │ │ │ -001b0530: 7469 6f6e 204b 7562 6572 6e65 7465 7320 tion Kubernetes │ │ │ -001b0540: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -001b0550: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
Complexity:< │ │ │ +00170370: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +00170390: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +001703e0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy:e │ │ │ +001703f0: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable
│ │ │ -001b05e0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472
apiVersion: mac
│ │ │ -001b0690: 6869 6e65 636f 6e66 6967 7572 6174 696f  hineconfiguratio
│ │ │ -001b06a0: 6e2e 6f70 656e 7368 6966 742e 696f 2f76  n.openshift.io/v
│ │ │ -001b06b0: 310a 6b69 6e64 3a20 4d61 6368 696e 6543  1.kind: MachineC
│ │ │ -001b06c0: 6f6e 6669 670a 7370 6563 3a0a 2020 636f  onfig.spec:.  co
│ │ │ -001b06d0: 6e66 6967 3a0a 2020 2020 6967 6e69 7469  nfig:.    igniti
│ │ │ -001b06e0: 6f6e 3a0a 2020 2020 2020 7665 7273 696f  on:.      versio
│ │ │ -001b06f0: 6e3a 2033 2e31 2e30 0a20 2020 2073 7973  n: 3.1.0.    sys
│ │ │ -001b0700: 7465 6d64 3a0a 2020 2020 2020 756e 6974  temd:.      unit
│ │ │ -001b0710: 733a 0a20 2020 2020 202d 206e 616d 653a  s:.      - name:
│ │ │ -001b0720: 2061 7070 6f72 742e 7365 7276 6963 650a   apport.service.
│ │ │ -001b0730: 2020 2020 2020 2020 656e 6162 6c65 643a          enabled:
│ │ │ -001b0740: 2066 616c 7365 0a20 2020 2020 2020 206d   false.        m
│ │ │ -001b0750: 6173 6b3a 2074 7275 650a 2020 2020 2020  ask: true.      
│ │ │ -001b0760: 2d20 6e61 6d65 3a20 6170 706f 7274 2e73  - name: apport.s
│ │ │ -001b0770: 6f63 6b65 740a 2020 2020 2020 2020 656e  ocket.        en
│ │ │ -001b0780: 6162 6c65 643a 2066 616c 7365 0a20 2020  abled: false.   
│ │ │ -001b0790: 2020 2020 206d 6173 6b3a 2074 7275 650a       mask: true.
│ │ │ -001b07a0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation P │ │ │ -001b0860: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ -001b0870: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ -001b0930: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001b0940: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
│ │ │ -001b05d0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -001b0600: 696f 6e3a 3c2f 7468 3e3c 7464 3e6d 6564 ion:med │ │ │ -001b0610: 6975 6d3c 2f74 643e 3c2f 7472 3e3c 7472 ium
Reboot:true
Strat │ │ │ -001b0650: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ -001b0660: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complexity │ │ │ -001b0900: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ -001b0920: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ -001b0950: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ -001b0970: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
include disa
│ │ │ -001b09b0: 626c 655f 6170 706f 7274 0a0a 636c 6173  ble_apport..clas
│ │ │ -001b09c0: 7320 6469 7361 626c 655f 6170 706f 7274  s disable_apport
│ │ │ -001b09d0: 207b 0a20 2073 6572 7669 6365 207b 2761   {.  service {'a
│ │ │ -001b09e0: 7070 6f72 7427 3a0a 2020 2020 656e 6162  pport':.    enab
│ │ │ -001b09f0: 6c65 203d 2667 743b 2066 616c 7365 2c0a  le => false,.
│ │ │ -001b0a00: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -001b0a10: 2027 7374 6f70 7065 6427 2c0a 2020 7d0a   'stopped',.  }.
│ │ │ -001b0a20: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ -001b0a30: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -001b0ae0: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ -001b0af0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -001b0b30: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -001b0b40: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -001b0b50: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -001b0b60: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -001b0b70: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -001b0b80: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -001b0b90: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -001b0bd0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -001b0be0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -001b0c00: 3c74 643e 6469 7361 626c 653c 2f74 643e disable │ │ │ -001b0c10: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 - name: │ │ │ -001b0c30: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ -001b0c40: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ -001b0c50: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ -001b0c60: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ -001b0c70: 6773 3a0a 2020 2d20 6469 7361 626c 655f gs:. - disable_ │ │ │ -001b0c80: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low │ │ │ -001b0c90: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. - │ │ │ -001b0ca0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption. │ │ │ -001b0cb0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee │ │ │ -001b0cc0: 6465 640a 2020 2d20 7365 7276 6963 655f ded. - service_ │ │ │ -001b0cd0: 6170 706f 7274 5f64 6973 6162 6c65 640a apport_disabled. │ │ │ -001b0ce0: 2020 2d20 756e 6b6e 6f77 6e5f 7365 7665 - unknown_seve │ │ │ -001b0cf0: 7269 7479 0a0a 2d20 6e61 6d65 3a20 4469 rity..- name: Di │ │ │ -001b0d00: 7361 626c 6520 4170 706f 7274 2053 6572 sable Apport Ser │ │ │ -001b0d10: 7669 6365 202d 2043 6f6c 6c65 6374 2073 vice - Collect s │ │ │ -001b0d20: 7973 7465 6d64 2053 6572 7669 6365 7320 ystemd Services │ │ │ -001b0d30: 5072 6573 656e 7420 696e 2074 6865 2053 Present in the S │ │ │ -001b0d40: 7973 7465 6d0a 2020 616e 7369 626c 652e ystem. ansible. │ │ │ -001b0d50: 6275 696c 7469 6e2e 636f 6d6d 616e 643a builtin.command: │ │ │ -001b0d60: 2073 7973 7465 6d63 746c 202d 7120 6c69 systemctl -q li │ │ │ -001b0d70: 7374 2d75 6e69 742d 6669 6c65 7320 2d2d st-unit-files -- │ │ │ -001b0d80: 7479 7065 2073 6572 7669 6365 0a20 2072 type service. r │ │ │ -001b0d90: 6567 6973 7465 723a 2073 6572 7669 6365 egister: service │ │ │ -001b0da0: 5f65 7869 7374 730a 2020 6368 616e 6765 _exists. change │ │ │ -001b0db0: 645f 7768 656e 3a20 6661 6c73 650a 2020 d_when: false. │ │ │ -001b0dc0: 6661 696c 6564 5f77 6865 6e3a 2073 6572 failed_when: ser │ │ │ -001b0dd0: 7669 6365 5f65 7869 7374 732e 7263 206e vice_exists.rc n │ │ │ -001b0de0: 6f74 2069 6e20 5b30 2c20 315d 0a20 2063 ot in [0, 1]. c │ │ │ -001b0df0: 6865 636b 5f6d 6f64 653a 2066 616c 7365 heck_mode: false │ │ │ -001b0e00: 0a20 2077 6865 6e3a 2027 2261 7070 6f72 . when: '"appor │ │ │ -001b0e10: 7422 2069 6e20 616e 7369 626c 655f 6661 t" in ansible_fa │ │ │ -001b0e20: 6374 732e 7061 636b 6167 6573 270a 2020 cts.packages'. │ │ │ -001b0e30: 7461 6773 3a0a 2020 2d20 6469 7361 626c tags:. - disabl │ │ │ -001b0e40: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l │ │ │ -001b0e50: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity. │ │ │ -001b0e60: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption │ │ │ -001b0e70: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n │ │ │ -001b0e80: 6565 6465 640a 2020 2d20 7365 7276 6963 eeded. - servic │ │ │ -001b0e90: 655f 6170 706f 7274 5f64 6973 6162 6c65 e_apport_disable │ │ │ -001b0ea0: 640a 2020 2d20 756e 6b6e 6f77 6e5f 7365 d. - unknown_se │ │ │ -001b0eb0: 7665 7269 7479 0a0a 2d20 6e61 6d65 3a20 verity..- name: │ │ │ -001b0ec0: 4469 7361 626c 6520 4170 706f 7274 2053 Disable Apport S │ │ │ -001b0ed0: 6572 7669 6365 202d 2045 6e73 7572 6520 ervice - Ensure │ │ │ -001b0ee0: 6170 706f 7274 2e73 6572 7669 6365 2069 apport.service i │ │ │ -001b0ef0: 7320 4d61 736b 6564 0a20 2061 6e73 6962 s Masked. ansib │ │ │ -001b0f00: 6c65 2e62 7569 6c74 696e 2e73 7973 7465 le.builtin.syste │ │ │ -001b0f10: 6d64 3a0a 2020 2020 6e61 6d65 3a20 6170 md:. name: ap │ │ │ -001b0f20: 706f 7274 2e73 6572 7669 6365 0a20 2020 port.service. │ │ │ -001b0f30: 2073 7461 7465 3a20 7374 6f70 7065 640a state: stopped. │ │ │ -001b0f40: 2020 2020 656e 6162 6c65 643a 2066 616c enabled: fal │ │ │ -001b0f50: 7365 0a20 2020 206d 6173 6b65 643a 2074 se. masked: t │ │ │ -001b0f60: 7275 650a 2020 7768 656e 3a0a 2020 2d20 rue. when:. - │ │ │ -001b0f70: 2722 6170 706f 7274 2220 696e 2061 6e73 '"apport" in ans │ │ │ -001b0f80: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa │ │ │ -001b0f90: 6765 7327 0a20 202d 2073 6572 7669 6365 ges'. - service │ │ │ -001b0fa0: 5f65 7869 7374 732e 7374 646f 7574 5f6c _exists.stdout_l │ │ │ -001b0fb0: 696e 6573 2069 7320 7365 6172 6368 2822 ines is search(" │ │ │ -001b0fc0: 6170 706f 7274 2e73 6572 7669 6365 222c apport.service", │ │ │ -001b0fd0: 206d 756c 7469 6c69 6e65 3d54 7275 6529 multiline=True) │ │ │ -001b0fe0: 0a20 2074 6167 733a 0a20 202d 2064 6973 . tags:. - dis │ │ │ -001b0ff0: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy. │ │ │ -001b1000: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity │ │ │ -001b1010: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt │ │ │ -001b1020: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f ion. - no_reboo │ │ │ -001b1030: 745f 6e65 6564 6564 0a20 202d 2073 6572 t_needed. - ser │ │ │ -001b1040: 7669 6365 5f61 7070 6f72 745f 6469 7361 vice_apport_disa │ │ │ -001b1050: 626c 6564 0a20 202d 2075 6e6b 6e6f 776e bled. - unknown │ │ │ -001b1060: 5f73 6576 6572 6974 790a 0a2d 206e 616d _severity..- nam │ │ │ -001b1070: 653a 2055 6e69 7420 536f 636b 6574 2045 e: Unit Socket E │ │ │ -001b1080: 7869 7374 7320 2d20 6170 706f 7274 2e73 xists - apport.s │ │ │ -001b1090: 6f63 6b65 740a 2020 616e 7369 626c 652e ocket. ansible. │ │ │ -001b10a0: 6275 696c 7469 6e2e 636f 6d6d 616e 643a builtin.command: │ │ │ -001b10b0: 2073 7973 7465 6d63 746c 202d 7120 6c69 systemctl -q li │ │ │ -001b10c0: 7374 2d75 6e69 742d 6669 6c65 7320 6170 st-unit-files ap │ │ │ -001b10d0: 706f 7274 2e73 6f63 6b65 740a 2020 7265 port.socket. re │ │ │ -001b10e0: 6769 7374 6572 3a20 736f 636b 6574 5f66 gister: socket_f │ │ │ -001b10f0: 696c 655f 6578 6973 7473 0a20 2063 6861 ile_exists. cha │ │ │ -001b1100: 6e67 6564 5f77 6865 6e3a 2066 616c 7365 nged_when: false │ │ │ -001b1110: 0a20 2066 6169 6c65 645f 7768 656e 3a20 . failed_when: │ │ │ -001b1120: 736f 636b 6574 5f66 696c 655f 6578 6973 socket_file_exis │ │ │ -001b1130: 7473 2e72 6320 6e6f 7420 696e 205b 302c ts.rc not in [0, │ │ │ -001b1140: 2031 5d0a 2020 6368 6563 6b5f 6d6f 6465 1]. check_mode │ │ │ -001b1150: 3a20 6661 6c73 650a 2020 7768 656e 3a20 : false. when: │ │ │ -001b1160: 2722 6170 706f 7274 2220 696e 2061 6e73 '"apport" in ans │ │ │ -001b1170: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa │ │ │ -001b1180: 6765 7327 0a20 2074 6167 733a 0a20 202d ges'. tags:. - │ │ │ -001b1190: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg │ │ │ -001b11a0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple │ │ │ -001b11b0: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis │ │ │ -001b11c0: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72 ruption. - no_r │ │ │ -001b11d0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. - │ │ │ -001b11e0: 2073 6572 7669 6365 5f61 7070 6f72 745f service_apport_ │ │ │ -001b11f0: 6469 7361 626c 6564 0a20 202d 2075 6e6b disabled. - unk │ │ │ -001b1200: 6e6f 776e 5f73 6576 6572 6974 790a 0a2d nown_severity..- │ │ │ -001b1210: 206e 616d 653a 2044 6973 6162 6c65 2041 name: Disable A │ │ │ -001b1220: 7070 6f72 7420 5365 7276 6963 6520 2d20 pport Service - │ │ │ -001b1230: 4469 7361 626c 6520 536f 636b 6574 2061 Disable Socket a │ │ │ -001b1240: 7070 6f72 740a 2020 616e 7369 626c 652e pport. ansible. │ │ │ -001b1250: 6275 696c 7469 6e2e 7379 7374 656d 643a builtin.systemd: │ │ │ -001b1260: 0a20 2020 206e 616d 653a 2061 7070 6f72 . name: appor │ │ │ -001b1270: 742e 736f 636b 6574 0a20 2020 2065 6e61 t.socket. ena │ │ │ -001b1280: 626c 6564 3a20 6661 6c73 650a 2020 2020 bled: false. │ │ │ -001b1290: 7374 6174 653a 2073 746f 7070 6564 0a20 state: stopped. │ │ │ -001b12a0: 2020 206d 6173 6b65 643a 2074 7275 650a masked: true. │ │ │ -001b12b0: 2020 7768 656e 3a0a 2020 2d20 2722 6170 when:. - '"ap │ │ │ -001b12c0: 706f 7274 2220 696e 2061 6e73 6962 6c65 port" in ansible │ │ │ -001b12d0: 5f66 6163 7473 2e70 6163 6b61 6765 7327 _facts.packages' │ │ │ -001b12e0: 0a20 202d 2073 6f63 6b65 745f 6669 6c65 . - socket_file │ │ │ -001b12f0: 5f65 7869 7374 732e 7374 646f 7574 5f6c _exists.stdout_l │ │ │ -001b1300: 696e 6573 2069 7320 7365 6172 6368 2822 ines is search(" │ │ │ -001b1310: 6170 706f 7274 2e73 6f63 6b65 7422 2c20 apport.socket", │ │ │ -001b1320: 6d75 6c74 696c 696e 653d 5472 7565 290a multiline=True). │ │ │ -001b1330: 2020 7461 6773 3a0a 2020 2d20 6469 7361 tags:. - disa │ │ │ -001b1340: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. - │ │ │ -001b1350: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity. │ │ │ -001b1360: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti │ │ │ -001b1370: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74 on. - no_reboot │ │ │ -001b1380: 5f6e 6565 6465 640a 2020 2d20 7365 7276 _needed. - serv │ │ │ -001b1390: 6963 655f 6170 706f 7274 5f64 6973 6162 ice_apport_disab │ │ │ -001b13a0: 6c65 640a 2020 2d20 756e 6b6e 6f77 6e5f led. - unknown_ │ │ │ -001b13b0: 7365 7665 7269 7479 0a3c 2f63 6f64 653e severity. │ │ │ +001b03e0: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip │ │ │ +001b03f0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +001b0400: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001b0410: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001b0420: 7365 2220 6964 3d22 6964 6d32 3231 3730 se" id="idm22170 │ │ │ +001b0430: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ +001b0480: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +001b0490: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +001b04b0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +001b04d0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +001b04e0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +001b0520: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ +001b0530: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ +001b0540: 636b 6167 6520 6661 6374 730a 2020 7061  ckage facts.  pa
│ │ │ +001b0550: 636b 6167 655f 6661 6374 733a 0a20 2020  ckage_facts:.   
│ │ │ +001b0560: 206d 616e 6167 6572 3a20 6175 746f 0a20   manager: auto. 
│ │ │ +001b0570: 2074 6167 733a 0a20 202d 2064 6973 6162   tags:.  - disab
│ │ │ +001b0580: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +001b0590: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +001b05a0: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +001b05b0: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f  n.  - no_reboot_
│ │ │ +001b05c0: 6e65 6564 6564 0a20 202d 2073 6572 7669  needed.  - servi
│ │ │ +001b05d0: 6365 5f61 7070 6f72 745f 6469 7361 626c  ce_apport_disabl
│ │ │ +001b05e0: 6564 0a20 202d 2075 6e6b 6e6f 776e 5f73  ed.  - unknown_s
│ │ │ +001b05f0: 6576 6572 6974 790a 0a2d 206e 616d 653a  everity..- name:
│ │ │ +001b0600: 2044 6973 6162 6c65 2041 7070 6f72 7420   Disable Apport 
│ │ │ +001b0610: 5365 7276 6963 6520 2d20 436f 6c6c 6563  Service - Collec
│ │ │ +001b0620: 7420 7379 7374 656d 6420 5365 7276 6963  t systemd Servic
│ │ │ +001b0630: 6573 2050 7265 7365 6e74 2069 6e20 7468  es Present in th
│ │ │ +001b0640: 6520 5379 7374 656d 0a20 2061 6e73 6962  e System.  ansib
│ │ │ +001b0650: 6c65 2e62 7569 6c74 696e 2e63 6f6d 6d61  le.builtin.comma
│ │ │ +001b0660: 6e64 3a20 7379 7374 656d 6374 6c20 2d71  nd: systemctl -q
│ │ │ +001b0670: 206c 6973 742d 756e 6974 2d66 696c 6573   list-unit-files
│ │ │ +001b0680: 202d 2d74 7970 6520 7365 7276 6963 650a   --type service.
│ │ │ +001b0690: 2020 7265 6769 7374 6572 3a20 7365 7276    register: serv
│ │ │ +001b06a0: 6963 655f 6578 6973 7473 0a20 2063 6861  ice_exists.  cha
│ │ │ +001b06b0: 6e67 6564 5f77 6865 6e3a 2066 616c 7365  nged_when: false
│ │ │ +001b06c0: 0a20 2066 6169 6c65 645f 7768 656e 3a20  .  failed_when: 
│ │ │ +001b06d0: 7365 7276 6963 655f 6578 6973 7473 2e72  service_exists.r
│ │ │ +001b06e0: 6320 6e6f 7420 696e 205b 302c 2031 5d0a  c not in [0, 1].
│ │ │ +001b06f0: 2020 6368 6563 6b5f 6d6f 6465 3a20 6661    check_mode: fa
│ │ │ +001b0700: 6c73 650a 2020 7768 656e 3a20 2722 6170  lse.  when: '"ap
│ │ │ +001b0710: 706f 7274 2220 696e 2061 6e73 6962 6c65  port" in ansible
│ │ │ +001b0720: 5f66 6163 7473 2e70 6163 6b61 6765 7327  _facts.packages'
│ │ │ +001b0730: 0a20 2074 6167 733a 0a20 202d 2064 6973  .  tags:.  - dis
│ │ │ +001b0740: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ +001b0750: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +001b0760: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +001b0770: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f  ion.  - no_reboo
│ │ │ +001b0780: 745f 6e65 6564 6564 0a20 202d 2073 6572  t_needed.  - ser
│ │ │ +001b0790: 7669 6365 5f61 7070 6f72 745f 6469 7361  vice_apport_disa
│ │ │ +001b07a0: 626c 6564 0a20 202d 2075 6e6b 6e6f 776e  bled.  - unknown
│ │ │ +001b07b0: 5f73 6576 6572 6974 790a 0a2d 206e 616d  _severity..- nam
│ │ │ +001b07c0: 653a 2044 6973 6162 6c65 2041 7070 6f72  e: Disable Appor
│ │ │ +001b07d0: 7420 5365 7276 6963 6520 2d20 456e 7375  t Service - Ensu
│ │ │ +001b07e0: 7265 2061 7070 6f72 742e 7365 7276 6963  re apport.servic
│ │ │ +001b07f0: 6520 6973 204d 6173 6b65 640a 2020 616e  e is Masked.  an
│ │ │ +001b0800: 7369 626c 652e 6275 696c 7469 6e2e 7379  sible.builtin.sy
│ │ │ +001b0810: 7374 656d 643a 0a20 2020 206e 616d 653a  stemd:.    name:
│ │ │ +001b0820: 2061 7070 6f72 742e 7365 7276 6963 650a   apport.service.
│ │ │ +001b0830: 2020 2020 7374 6174 653a 2073 746f 7070      state: stopp
│ │ │ +001b0840: 6564 0a20 2020 2065 6e61 626c 6564 3a20  ed.    enabled: 
│ │ │ +001b0850: 6661 6c73 650a 2020 2020 6d61 736b 6564  false.    masked
│ │ │ +001b0860: 3a20 7472 7565 0a20 2077 6865 6e3a 0a20  : true.  when:. 
│ │ │ +001b0870: 202d 2027 2261 7070 6f72 7422 2069 6e20   - '"apport" in 
│ │ │ +001b0880: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ +001b0890: 636b 6167 6573 270a 2020 2d20 7365 7276  ckages'.  - serv
│ │ │ +001b08a0: 6963 655f 6578 6973 7473 2e73 7464 6f75  ice_exists.stdou
│ │ │ +001b08b0: 745f 6c69 6e65 7320 6973 2073 6561 7263  t_lines is searc
│ │ │ +001b08c0: 6828 2261 7070 6f72 742e 7365 7276 6963  h("apport.servic
│ │ │ +001b08d0: 6522 2c20 6d75 6c74 696c 696e 653d 5472  e", multiline=Tr
│ │ │ +001b08e0: 7565 290a 2020 7461 6773 3a0a 2020 2d20  ue).  tags:.  - 
│ │ │ +001b08f0: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ +001b0900: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +001b0910: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +001b0920: 7570 7469 6f6e 0a20 202d 206e 6f5f 7265  uption.  - no_re
│ │ │ +001b0930: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +001b0940: 7365 7276 6963 655f 6170 706f 7274 5f64  service_apport_d
│ │ │ +001b0950: 6973 6162 6c65 640a 2020 2d20 756e 6b6e  isabled.  - unkn
│ │ │ +001b0960: 6f77 6e5f 7365 7665 7269 7479 0a0a 2d20  own_severity..- 
│ │ │ +001b0970: 6e61 6d65 3a20 556e 6974 2053 6f63 6b65  name: Unit Socke
│ │ │ +001b0980: 7420 4578 6973 7473 202d 2061 7070 6f72  t Exists - appor
│ │ │ +001b0990: 742e 736f 636b 6574 0a20 2061 6e73 6962  t.socket.  ansib
│ │ │ +001b09a0: 6c65 2e62 7569 6c74 696e 2e63 6f6d 6d61  le.builtin.comma
│ │ │ +001b09b0: 6e64 3a20 7379 7374 656d 6374 6c20 2d71  nd: systemctl -q
│ │ │ +001b09c0: 206c 6973 742d 756e 6974 2d66 696c 6573   list-unit-files
│ │ │ +001b09d0: 2061 7070 6f72 742e 736f 636b 6574 0a20   apport.socket. 
│ │ │ +001b09e0: 2072 6567 6973 7465 723a 2073 6f63 6b65   register: socke
│ │ │ +001b09f0: 745f 6669 6c65 5f65 7869 7374 730a 2020  t_file_exists.  
│ │ │ +001b0a00: 6368 616e 6765 645f 7768 656e 3a20 6661  changed_when: fa
│ │ │ +001b0a10: 6c73 650a 2020 6661 696c 6564 5f77 6865  lse.  failed_whe
│ │ │ +001b0a20: 6e3a 2073 6f63 6b65 745f 6669 6c65 5f65  n: socket_file_e
│ │ │ +001b0a30: 7869 7374 732e 7263 206e 6f74 2069 6e20  xists.rc not in 
│ │ │ +001b0a40: 5b30 2c20 315d 0a20 2063 6865 636b 5f6d  [0, 1].  check_m
│ │ │ +001b0a50: 6f64 653a 2066 616c 7365 0a20 2077 6865  ode: false.  whe
│ │ │ +001b0a60: 6e3a 2027 2261 7070 6f72 7422 2069 6e20  n: '"apport" in 
│ │ │ +001b0a70: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ +001b0a80: 636b 6167 6573 270a 2020 7461 6773 3a0a  ckages'.  tags:.
│ │ │ +001b0a90: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ +001b0aa0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +001b0ab0: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +001b0ac0: 6469 7372 7570 7469 6f6e 0a20 202d 206e  disruption.  - n
│ │ │ +001b0ad0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +001b0ae0: 2020 2d20 7365 7276 6963 655f 6170 706f    - service_appo
│ │ │ +001b0af0: 7274 5f64 6973 6162 6c65 640a 2020 2d20  rt_disabled.  - 
│ │ │ +001b0b00: 756e 6b6e 6f77 6e5f 7365 7665 7269 7479  unknown_severity
│ │ │ +001b0b10: 0a0a 2d20 6e61 6d65 3a20 4469 7361 626c  ..- name: Disabl
│ │ │ +001b0b20: 6520 4170 706f 7274 2053 6572 7669 6365  e Apport Service
│ │ │ +001b0b30: 202d 2044 6973 6162 6c65 2053 6f63 6b65   - Disable Socke
│ │ │ +001b0b40: 7420 6170 706f 7274 0a20 2061 6e73 6962  t apport.  ansib
│ │ │ +001b0b50: 6c65 2e62 7569 6c74 696e 2e73 7973 7465  le.builtin.syste
│ │ │ +001b0b60: 6d64 3a0a 2020 2020 6e61 6d65 3a20 6170  md:.    name: ap
│ │ │ +001b0b70: 706f 7274 2e73 6f63 6b65 740a 2020 2020  port.socket.    
│ │ │ +001b0b80: 656e 6162 6c65 643a 2066 616c 7365 0a20  enabled: false. 
│ │ │ +001b0b90: 2020 2073 7461 7465 3a20 7374 6f70 7065     state: stoppe
│ │ │ +001b0ba0: 640a 2020 2020 6d61 736b 6564 3a20 7472  d.    masked: tr
│ │ │ +001b0bb0: 7565 0a20 2077 6865 6e3a 0a20 202d 2027  ue.  when:.  - '
│ │ │ +001b0bc0: 2261 7070 6f72 7422 2069 6e20 616e 7369  "apport" in ansi
│ │ │ +001b0bd0: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ +001b0be0: 6573 270a 2020 2d20 736f 636b 6574 5f66  es'.  - socket_f
│ │ │ +001b0bf0: 696c 655f 6578 6973 7473 2e73 7464 6f75  ile_exists.stdou
│ │ │ +001b0c00: 745f 6c69 6e65 7320 6973 2073 6561 7263  t_lines is searc
│ │ │ +001b0c10: 6828 2261 7070 6f72 742e 736f 636b 6574  h("apport.socket
│ │ │ +001b0c20: 222c 206d 756c 7469 6c69 6e65 3d54 7275  ", multiline=Tru
│ │ │ +001b0c30: 6529 0a20 2074 6167 733a 0a20 202d 2064  e).  tags:.  - d
│ │ │ +001b0c40: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ +001b0c50: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +001b0c60: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +001b0c70: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562  ption.  - no_reb
│ │ │ +001b0c80: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ +001b0c90: 6572 7669 6365 5f61 7070 6f72 745f 6469  ervice_apport_di
│ │ │ +001b0ca0: 7361 626c 6564 0a20 202d 2075 6e6b 6e6f  sabled.  - unkno
│ │ │ +001b0cb0: 776e 5f73 6576 6572 6974 790a 3c2f 636f  wn_severity.
< │ │ │ +001b0cd0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +001b0ce0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +001b0cf0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +001b0d00: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +001b0d10: 646d 3232 3137 3122 2074 6162 696e 6465 dm22171" tabinde │ │ │ +001b0d20: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +001b0d30: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +001b0d40: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +001b0d50: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +001b0d60: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +001b0d70: 656d 6564 6961 7469 6f6e 204b 7562 6572 emediation Kuber │ │ │ +001b0d80: 6e65 7465 7320 736e 6970 7065 7420 e287 netes snippet .. │ │ │ +001b0d90: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ +001b0e20: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +001b0e40: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +001b0e50: 7464 3e6d 6564 6975 6d3c 2f74 643e 3c2f td>mediumReboo │ │ │ +001b0e70: 743a 3c2f 7468 3e3c 7464 3e74 7275 653c t:true< │ │ │ +001b0e80: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +001b0ea0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +001b0eb0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
apiVersio
│ │ │ +001b0ed0: 6e3a 206d 6163 6869 6e65 636f 6e66 6967  n: machineconfig
│ │ │ +001b0ee0: 7572 6174 696f 6e2e 6f70 656e 7368 6966  uration.openshif
│ │ │ +001b0ef0: 742e 696f 2f76 310a 6b69 6e64 3a20 4d61  t.io/v1.kind: Ma
│ │ │ +001b0f00: 6368 696e 6543 6f6e 6669 670a 7370 6563  chineConfig.spec
│ │ │ +001b0f10: 3a0a 2020 636f 6e66 6967 3a0a 2020 2020  :.  config:.    
│ │ │ +001b0f20: 6967 6e69 7469 6f6e 3a0a 2020 2020 2020  ignition:.      
│ │ │ +001b0f30: 7665 7273 696f 6e3a 2033 2e31 2e30 0a20  version: 3.1.0. 
│ │ │ +001b0f40: 2020 2073 7973 7465 6d64 3a0a 2020 2020     systemd:.    
│ │ │ +001b0f50: 2020 756e 6974 733a 0a20 2020 2020 202d    units:.      -
│ │ │ +001b0f60: 206e 616d 653a 2061 7070 6f72 742e 7365   name: apport.se
│ │ │ +001b0f70: 7276 6963 650a 2020 2020 2020 2020 656e  rvice.        en
│ │ │ +001b0f80: 6162 6c65 643a 2066 616c 7365 0a20 2020  abled: false.   
│ │ │ +001b0f90: 2020 2020 206d 6173 6b3a 2074 7275 650a       mask: true.
│ │ │ +001b0fa0: 2020 2020 2020 2d20 6e61 6d65 3a20 6170        - name: ap
│ │ │ +001b0fb0: 706f 7274 2e73 6f63 6b65 740a 2020 2020  port.socket.    
│ │ │ +001b0fc0: 2020 2020 656e 6162 6c65 643a 2066 616c      enabled: fal
│ │ │ +001b0fd0: 7365 0a20 2020 2020 2020 206d 6173 6b3a  se.        mask:
│ │ │ +001b0fe0: 2074 7275 650a 3c2f 636f 6465 3e3c 2f70   true.

Remedia │ │ │ +001b10a0: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ +001b10b0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +001b10c0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001b10d0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001b10e0: 7365 2220 6964 3d22 6964 6d32 3231 3732 se" id="idm22172 │ │ │ +001b10f0: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ +001b1140: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +001b1150: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +001b1170: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +001b1190: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +001b11a0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:enable
< │ │ │ +001b11e0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ +001b11f0: 6520 6469 7361 626c 655f 6170 706f 7274 e disable_apport │ │ │ +001b1200: 0a0a 636c 6173 7320 6469 7361 626c 655f ..class disable_ │ │ │ +001b1210: 6170 706f 7274 207b 0a20 2073 6572 7669 apport {. servi │ │ │ +001b1220: 6365 207b 2761 7070 6f72 7427 3a0a 2020 ce {'apport':. │ │ │ +001b1230: 2020 656e 6162 6c65 203d 2667 743b 2066 enable => f │ │ │ +001b1240: 616c 7365 2c0a 2020 2020 656e 7375 7265 alse,. ensure │ │ │ +001b1250: 203d 2667 743b 2027 7374 6f70 7065 6427 => 'stopped' │ │ │ +001b1260: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.< │ │ │ +001b1270: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remed │ │ │ +001b1320: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B │ │ │ +001b1330: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet │ │ │ +001b1340: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +001b1380: 7072 653e 3c63 6f64 653e 0a5b 6375 7374 pre>.[cust │ │ │ +001b1390: 6f6d 697a 6174 696f 6e73 2e73 6572 7669 omizations.servi │ │ │ +001b13a0: 6365 735d 0a6d 6173 6b65 6420 3d20 5b22 ces].masked = [" │ │ │ +001b13b0: 6170 706f 7274 225d 0a3c 2f63 6f64 653e apport"]. │ │ │ 001b13c0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remediation Pup │ │ │ -001b3010: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ -001b3020: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -001b30a0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -001b30c0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -001b3110: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -001b3140: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -001b30b0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -001b30d0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -001b3120: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -001b3130: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ -001b3160: 655f 6176 6168 692d 6461 656d 6f6e 0a0a  e_avahi-daemon..
│ │ │ -001b3170: 636c 6173 7320 7265 6d6f 7665 5f61 7661  class remove_ava
│ │ │ -001b3180: 6869 2d64 6165 6d6f 6e20 7b0a 2020 7061  hi-daemon {.  pa
│ │ │ -001b3190: 636b 6167 6520 7b20 2761 7661 6869 2d64  ckage { 'avahi-d
│ │ │ -001b31a0: 6165 6d6f 6e27 3a0a 2020 2020 656e 7375  aemon':.    ensu
│ │ │ -001b31b0: 7265 203d 2667 743b 2027 7075 7267 6564  re => 'purged
│ │ │ -001b31c0: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │ -001b31d0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ -001b3280: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible │ │ │ -001b3290: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -001b32a0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ -001b3330: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
-
│ │ │ -001b33d0: 206e 616d 653a 2045 6e73 7572 6520 6176   name: Ensure av
│ │ │ -001b33e0: 6168 692d 6461 656d 6f6e 2069 7320 7265  ahi-daemon is re
│ │ │ -001b33f0: 6d6f 7665 640a 2020 7061 636b 6167 653a  moved.  package:
│ │ │ -001b3400: 0a20 2020 206e 616d 653a 2061 7661 6869  .    name: avahi
│ │ │ -001b3410: 2d64 6165 6d6f 6e0a 2020 2020 7374 6174  -daemon.    stat
│ │ │ -001b3420: 653a 2061 6273 656e 740a 2020 7461 6773  e: absent.  tags
│ │ │ -001b3430: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ -001b3440: 332d 434d 2d36 2861 290a 2020 2d20 4e49  3-CM-6(a).  - NI
│ │ │ -001b3450: 5354 2d38 3030 2d35 332d 434d 2d37 2861  ST-800-53-CM-7(a
│ │ │ -001b3460: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -001b3470: 332d 434d 2d37 2862 290a 2020 2d20 6469  3-CM-7(b).  - di
│ │ │ -001b3480: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ -001b3490: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -001b34a0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -001b34b0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ -001b34c0: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ -001b34d0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ -001b34e0: 2d20 7061 636b 6167 655f 6176 6168 695f  - package_avahi_
│ │ │ -001b34f0: 7265 6d6f 7665 640a 3c2f 636f 6465 3e3c  removed.<
│ │ │ +001b3000: 3e52 656d 6564 6961 7469 6f6e 2041 6e73  >Remediation Ans
│ │ │ +001b3010: 6962 6c65 2073 6e69 7070 6574 20e2 87b2  ible snippet ...
│ │ │ +001b3020: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61  
low< │ │ │ +001b30f0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>
│ │ │ -001b3320: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -001b3350: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -001b3360: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -001b33a0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ -001b33b0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexity: │ │ │ +001b30b0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ +001b30d0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ +001b3120: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ +001b3130: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Ensu
│ │ │ +001b3160: 7265 2061 7661 6869 2d64 6165 6d6f 6e20  re avahi-daemon 
│ │ │ +001b3170: 6973 2072 656d 6f76 6564 0a20 2070 6163  is removed.  pac
│ │ │ +001b3180: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20  kage:.    name: 
│ │ │ +001b3190: 6176 6168 692d 6461 656d 6f6e 0a20 2020  avahi-daemon.   
│ │ │ +001b31a0: 2073 7461 7465 3a20 6162 7365 6e74 0a20   state: absent. 
│ │ │ +001b31b0: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ +001b31c0: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ +001b31d0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +001b31e0: 4d2d 3728 6129 0a20 202d 204e 4953 542d  M-7(a).  - NIST-
│ │ │ +001b31f0: 3830 302d 3533 2d43 4d2d 3728 6229 0a20  800-53-CM-7(b). 
│ │ │ +001b3200: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ +001b3210: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +001b3220: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +001b3230: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ +001b3240: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ +001b3250: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +001b3260: 6564 0a20 202d 2070 6163 6b61 6765 5f61  ed.  - package_a
│ │ │ +001b3270: 7661 6869 5f72 656d 6f76 6564 0a3c 2f63  vahi_removed.
│ │ │ +001b3290: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +001b3330: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ +001b3340: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
< │ │ │ +001b33d0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +001b33f0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +001b3440: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +001b3470: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include remove
│ │ │ +001b3490: 5f61 7661 6869 2d64 6165 6d6f 6e0a 0a63  _avahi-daemon..c
│ │ │ +001b34a0: 6c61 7373 2072 656d 6f76 655f 6176 6168  lass remove_avah
│ │ │ +001b34b0: 692d 6461 656d 6f6e 207b 0a20 2070 6163  i-daemon {.  pac
│ │ │ +001b34c0: 6b61 6765 207b 2027 6176 6168 692d 6461  kage { 'avahi-da
│ │ │ +001b34d0: 656d 6f6e 273a 0a20 2020 2065 6e73 7572  emon':.    ensur
│ │ │ +001b34e0: 6520 3d26 6774 3b20 2770 7572 6765 6427  e => 'purged'
│ │ │ +001b34f0: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │  001b3500: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Re
│ │ │ -001b46e0: 6d65 6469 6174 696f 6e20 4f53 4275 696c  mediation OSBuil
│ │ │ -001b46f0: 6420 426c 7565 7072 696e 7420 736e 6970  d Blueprint snip
│ │ │ -001b4700: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c  pet ...
< │ │ │ -001b4710: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -001b4720: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -001b4730: 7365 2220 6964 3d22 6964 6d32 3234 3334 se" id="idm22434 │ │ │ -001b4740: 223e 3c70 7265 3e3c 636f 6465 3e0a 5b63 ">
.[c
│ │ │ -001b4750: 7573 746f 6d69 7a61 7469 6f6e 732e 7365  ustomizations.se
│ │ │ -001b4760: 7276 6963 6573 5d0a 6d61 736b 6564 203d  rvices].masked =
│ │ │ -001b4770: 205b 2261 7661 6869 2d64 6165 6d6f 6e22   ["avahi-daemon"
│ │ │ -001b4780: 5d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  ].
< │ │ │ -001b4790: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -001b4840: 204b 7562 6572 6e65 7465 7320 736e 6970 Kubernetes snip │ │ │ -001b4850: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -001b4860: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -001b4870: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -001b4880: 7365 2220 6964 3d22 6964 6d32 3234 3335 se" id="idm22435 │ │ │ -001b4890: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
low
Disr │ │ │ +001b3400: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +001b3410: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +001b3450: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +001b3460: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
< │ │ │ -001b4950: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
api
│ │ │ -001b4990: 5665 7273 696f 6e3a 206d 6163 6869 6e65  Version: machine
│ │ │ -001b49a0: 636f 6e66 6967 7572 6174 696f 6e2e 6f70  configuration.op
│ │ │ -001b49b0: 656e 7368 6966 742e 696f 2f76 310a 6b69  enshift.io/v1.ki
│ │ │ -001b49c0: 6e64 3a20 4d61 6368 696e 6543 6f6e 6669  nd: MachineConfi
│ │ │ -001b49d0: 670a 7370 6563 3a0a 2020 636f 6e66 6967  g.spec:.  config
│ │ │ -001b49e0: 3a0a 2020 2020 6967 6e69 7469 6f6e 3a0a  :.    ignition:.
│ │ │ -001b49f0: 2020 2020 2020 7665 7273 696f 6e3a 2033        version: 3
│ │ │ -001b4a00: 2e31 2e30 0a20 2020 2073 7973 7465 6d64  .1.0.    systemd
│ │ │ -001b4a10: 3a0a 2020 2020 2020 756e 6974 733a 0a20  :.      units:. 
│ │ │ -001b4a20: 2020 2020 202d 206e 616d 653a 2061 7661       - name: ava
│ │ │ -001b4a30: 6869 2d64 6165 6d6f 6e2e 7365 7276 6963  hi-daemon.servic
│ │ │ -001b4a40: 650a 2020 2020 2020 2020 656e 6162 6c65  e.        enable
│ │ │ -001b4a50: 643a 2066 616c 7365 0a20 2020 2020 2020  d: false.       
│ │ │ -001b4a60: 206d 6173 6b3a 2074 7275 650a 2020 2020   mask: true.    
│ │ │ -001b4a70: 2020 2d20 6e61 6d65 3a20 6176 6168 692d    - name: avahi-
│ │ │ -001b4a80: 6461 656d 6f6e 2e73 6f63 6b65 740a 2020  daemon.socket.  
│ │ │ -001b4a90: 2020 2020 2020 656e 6162 6c65 643a 2066        enabled: f
│ │ │ -001b4aa0: 616c 7365 0a20 2020 2020 2020 206d 6173  alse.        mas
│ │ │ -001b4ab0: 6b3a 2074 7275 650a 3c2f 636f 6465 3e3c  k: true.<
│ │ │ -001b4ac0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remed
│ │ │ -001b4b70: 6961 7469 6f6e 2050 7570 7065 7420 736e  iation Puppet sn
│ │ │ -001b4b80: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
Comp │ │ │ -001b48e0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -001b48f0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -001b4910: 3c2f 7468 3e3c 7464 3e6d 6564 6975 6d3c medium< │ │ │ -001b4920: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:true
Strategy: │ │ │ -001b4960: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -001b4970: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
low< │ │ │ -001b4c30: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -001b4c80: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ -001b4c10: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -001b4c40: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -001b4c60: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -001b4c70: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -001b4c90: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ -001b4ca0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -001b4cc0: 7564 6520 6469 7361 626c 655f 6176 6168  ude disable_avah
│ │ │ -001b4cd0: 692d 6461 656d 6f6e 0a0a 636c 6173 7320  i-daemon..class 
│ │ │ -001b4ce0: 6469 7361 626c 655f 6176 6168 692d 6461  disable_avahi-da
│ │ │ -001b4cf0: 656d 6f6e 207b 0a20 2073 6572 7669 6365  emon {.  service
│ │ │ -001b4d00: 207b 2761 7661 6869 2d64 6165 6d6f 6e27   {'avahi-daemon'
│ │ │ -001b4d10: 3a0a 2020 2020 656e 6162 6c65 203d 2667  :.    enable =&g
│ │ │ -001b4d20: 743b 2066 616c 7365 2c0a 2020 2020 656e  t; false,.    en
│ │ │ -001b4d30: 7375 7265 203d 2667 743b 2027 7374 6f70  sure => 'stop
│ │ │ -001b4d40: 7065 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ped',.  }.}.
< │ │ │ -001b4d60: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -001b4d70: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -001b4d80: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -001b4d90: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -001b4da0: 646d 3232 3433 3722 2074 6162 696e 6465 dm22437" tabinde │ │ │ -001b4db0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -001b4dc0: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -001b4dd0: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -001b4de0: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -001b4df0: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -001b4e00: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ -001b4e10: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
< │ │ │ -001b4ea0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -001b4ec0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -001b4f10: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ -001b4f40: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Gather
│ │ │ -001b4f60: 2074 6865 2070 6163 6b61 6765 2066 6163   the package fac
│ │ │ -001b4f70: 7473 0a20 2070 6163 6b61 6765 5f66 6163  ts.  package_fac
│ │ │ -001b4f80: 7473 3a0a 2020 2020 6d61 6e61 6765 723a  ts:.    manager:
│ │ │ -001b4f90: 2061 7574 6f0a 2020 7461 6773 3a0a 2020   auto.  tags:.  
│ │ │ -001b4fa0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -001b4fb0: 2d36 2861 290a 2020 2d20 4e49 5354 2d38  -6(a).  - NIST-8
│ │ │ -001b4fc0: 3030 2d35 332d 434d 2d37 2861 290a 2020  00-53-CM-7(a).  
│ │ │ -001b4fd0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ -001b4fe0: 2d37 2862 290a 2020 2d20 5043 492d 4453  -7(b).  - PCI-DS
│ │ │ -001b4ff0: 5376 342d 322e 320a 2020 2d20 5043 492d  Sv4-2.2.  - PCI-
│ │ │ -001b5000: 4453 5376 342d 322e 322e 340a 2020 2d20  DSSv4-2.2.4.  - 
│ │ │ -001b5010: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ -001b5020: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ -001b5030: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ -001b5040: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ -001b5050: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ -001b5060: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -001b5070: 2020 2d20 7365 7276 6963 655f 6176 6168    - service_avah
│ │ │ -001b5080: 692d 6461 656d 6f6e 5f64 6973 6162 6c65  i-daemon_disable
│ │ │ -001b5090: 640a 0a2d 206e 616d 653a 2044 6973 6162  d..- name: Disab
│ │ │ -001b50a0: 6c65 2041 7661 6869 2053 6572 7665 7220  le Avahi Server 
│ │ │ -001b50b0: 536f 6674 7761 7265 202d 2043 6f6c 6c65  Software - Colle
│ │ │ -001b50c0: 6374 2073 7973 7465 6d64 2053 6572 7669  ct systemd Servi
│ │ │ -001b50d0: 6365 7320 5072 6573 656e 7420 696e 2074  ces Present in t
│ │ │ -001b50e0: 6865 2053 7973 7465 6d0a 2020 616e 7369  he System.  ansi
│ │ │ -001b50f0: 626c 652e 6275 696c 7469 6e2e 636f 6d6d  ble.builtin.comm
│ │ │ -001b5100: 616e 643a 2073 7973 7465 6d63 746c 202d  and: systemctl -
│ │ │ -001b5110: 7120 6c69 7374 2d75 6e69 742d 6669 6c65  q list-unit-file
│ │ │ -001b5120: 7320 2d2d 7479 7065 2073 6572 7669 6365  s --type service
│ │ │ -001b5130: 0a20 2072 6567 6973 7465 723a 2073 6572  .  register: ser
│ │ │ -001b5140: 7669 6365 5f65 7869 7374 730a 2020 6368  vice_exists.  ch
│ │ │ -001b5150: 616e 6765 645f 7768 656e 3a20 6661 6c73  anged_when: fals
│ │ │ -001b5160: 650a 2020 6661 696c 6564 5f77 6865 6e3a  e.  failed_when:
│ │ │ -001b5170: 2073 6572 7669 6365 5f65 7869 7374 732e   service_exists.
│ │ │ -001b5180: 7263 206e 6f74 2069 6e20 5b30 2c20 315d  rc not in [0, 1]
│ │ │ -001b5190: 0a20 2063 6865 636b 5f6d 6f64 653a 2066  .  check_mode: f
│ │ │ -001b51a0: 616c 7365 0a20 2077 6865 6e3a 2028 2022  alse.  when: ( "
│ │ │ -001b51b0: 6176 6168 692d 6461 656d 6f6e 2220 696e  avahi-daemon" in
│ │ │ -001b51c0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ -001b51d0: 6163 6b61 6765 7320 616e 6420 226c 696e  ackages and "lin
│ │ │ -001b51e0: 7578 2d62 6173 6522 2069 6e20 616e 7369  ux-base" in ansi
│ │ │ -001b51f0: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -001b5200: 6573 0a20 2020 2029 0a20 2074 6167 733a  es.    ).  tags:
│ │ │ -001b5210: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -001b5220: 2d43 4d2d 3628 6129 0a20 202d 204e 4953  -CM-6(a).  - NIS
│ │ │ -001b5230: 542d 3830 302d 3533 2d43 4d2d 3728 6129  T-800-53-CM-7(a)
│ │ │ -001b5240: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -001b5250: 2d43 4d2d 3728 6229 0a20 202d 2050 4349  -CM-7(b).  - PCI
│ │ │ -001b5260: 2d44 5353 7634 2d32 2e32 0a20 202d 2050  -DSSv4-2.2.  - P
│ │ │ -001b5270: 4349 2d44 5353 7634 2d32 2e32 2e34 0a20  CI-DSSv4-2.2.4. 
│ │ │ -001b5280: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ -001b5290: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -001b52a0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -001b52b0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -001b52c0: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -001b52d0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -001b52e0: 6564 0a20 202d 2073 6572 7669 6365 5f61  ed.  - service_a
│ │ │ -001b52f0: 7661 6869 2d64 6165 6d6f 6e5f 6469 7361  vahi-daemon_disa
│ │ │ -001b5300: 626c 6564 0a0a 2d20 6e61 6d65 3a20 4469  bled..- name: Di
│ │ │ -001b5310: 7361 626c 6520 4176 6168 6920 5365 7276  sable Avahi Serv
│ │ │ -001b5320: 6572 2053 6f66 7477 6172 6520 2d20 456e  er Software - En
│ │ │ -001b5330: 7375 7265 2061 7661 6869 2d64 6165 6d6f  sure avahi-daemo
│ │ │ -001b5340: 6e2e 7365 7276 6963 6520 6973 204d 6173  n.service is Mas
│ │ │ -001b5350: 6b65 640a 2020 616e 7369 626c 652e 6275  ked.  ansible.bu
│ │ │ -001b5360: 696c 7469 6e2e 7379 7374 656d 643a 0a20  iltin.systemd:. 
│ │ │ -001b5370: 2020 206e 616d 653a 2061 7661 6869 2d64     name: avahi-d
│ │ │ -001b5380: 6165 6d6f 6e2e 7365 7276 6963 650a 2020  aemon.service.  
│ │ │ -001b5390: 2020 7374 6174 653a 2073 746f 7070 6564    state: stopped
│ │ │ -001b53a0: 0a20 2020 2065 6e61 626c 6564 3a20 6661  .    enabled: fa
│ │ │ -001b53b0: 6c73 650a 2020 2020 6d61 736b 6564 3a20  lse.    masked: 
│ │ │ -001b53c0: 7472 7565 0a20 2077 6865 6e3a 0a20 202d  true.  when:.  -
│ │ │ -001b53d0: 2028 2022 6176 6168 692d 6461 656d 6f6e   ( "avahi-daemon
│ │ │ -001b53e0: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ -001b53f0: 7473 2e70 6163 6b61 6765 7320 616e 6420  ts.packages and 
│ │ │ -001b5400: 226c 696e 7578 2d62 6173 6522 2069 6e20  "linux-base" in 
│ │ │ -001b5410: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -001b5420: 636b 6167 6573 0a20 2020 2029 0a20 202d  ckages.    ).  -
│ │ │ -001b5430: 2073 6572 7669 6365 5f65 7869 7374 732e   service_exists.
│ │ │ -001b5440: 7374 646f 7574 5f6c 696e 6573 2069 7320  stdout_lines is 
│ │ │ -001b5450: 7365 6172 6368 2822 6176 6168 692d 6461  search("avahi-da
│ │ │ -001b5460: 656d 6f6e 2e73 6572 7669 6365 222c 206d  emon.service", m
│ │ │ -001b5470: 756c 7469 6c69 6e65 3d54 7275 6529 0a20  ultiline=True). 
│ │ │ -001b5480: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ -001b5490: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ -001b54a0: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -001b54b0: 4d2d 3728 6129 0a20 202d 204e 4953 542d  M-7(a).  - NIST-
│ │ │ -001b54c0: 3830 302d 3533 2d43 4d2d 3728 6229 0a20  800-53-CM-7(b). 
│ │ │ -001b54d0: 202d 2050 4349 2d44 5353 7634 2d32 2e32   - PCI-DSSv4-2.2
│ │ │ -001b54e0: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ -001b54f0: 2e32 2e34 0a20 202d 2064 6973 6162 6c65  .2.4.  - disable
│ │ │ -001b5500: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ -001b5510: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -001b5520: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -001b5530: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ -001b5540: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ -001b5550: 745f 6e65 6564 6564 0a20 202d 2073 6572  t_needed.  - ser
│ │ │ -001b5560: 7669 6365 5f61 7661 6869 2d64 6165 6d6f  vice_avahi-daemo
│ │ │ -001b5570: 6e5f 6469 7361 626c 6564 0a0a 2d20 6e61  n_disabled..- na
│ │ │ -001b5580: 6d65 3a20 556e 6974 2053 6f63 6b65 7420  me: Unit Socket 
│ │ │ -001b5590: 4578 6973 7473 202d 2061 7661 6869 2d64  Exists - avahi-d
│ │ │ -001b55a0: 6165 6d6f 6e2e 736f 636b 6574 0a20 2061  aemon.socket.  a
│ │ │ -001b55b0: 6e73 6962 6c65 2e62 7569 6c74 696e 2e63  nsible.builtin.c
│ │ │ -001b55c0: 6f6d 6d61 6e64 3a20 7379 7374 656d 6374  ommand: systemct
│ │ │ -001b55d0: 6c20 2d71 206c 6973 742d 756e 6974 2d66  l -q list-unit-f
│ │ │ -001b55e0: 696c 6573 2061 7661 6869 2d64 6165 6d6f  iles avahi-daemo
│ │ │ -001b55f0: 6e2e 736f 636b 6574 0a20 2072 6567 6973  n.socket.  regis
│ │ │ -001b5600: 7465 723a 2073 6f63 6b65 745f 6669 6c65  ter: socket_file
│ │ │ -001b5610: 5f65 7869 7374 730a 2020 6368 616e 6765  _exists.  change
│ │ │ -001b5620: 645f 7768 656e 3a20 6661 6c73 650a 2020  d_when: false.  
│ │ │ -001b5630: 6661 696c 6564 5f77 6865 6e3a 2073 6f63  failed_when: soc
│ │ │ -001b5640: 6b65 745f 6669 6c65 5f65 7869 7374 732e  ket_file_exists.
│ │ │ -001b5650: 7263 206e 6f74 2069 6e20 5b30 2c20 315d  rc not in [0, 1]
│ │ │ -001b5660: 0a20 2063 6865 636b 5f6d 6f64 653a 2066  .  check_mode: f
│ │ │ -001b5670: 616c 7365 0a20 2077 6865 6e3a 2028 2022  alse.  when: ( "
│ │ │ -001b5680: 6176 6168 692d 6461 656d 6f6e 2220 696e  avahi-daemon" in
│ │ │ -001b5690: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ -001b56a0: 6163 6b61 6765 7320 616e 6420 226c 696e  ackages and "lin
│ │ │ -001b56b0: 7578 2d62 6173 6522 2069 6e20 616e 7369  ux-base" in ansi
│ │ │ -001b56c0: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ -001b56d0: 6573 0a20 2020 2029 0a20 2074 6167 733a  es.    ).  tags:
│ │ │ -001b56e0: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -001b56f0: 2d43 4d2d 3628 6129 0a20 202d 204e 4953  -CM-6(a).  - NIS
│ │ │ -001b5700: 542d 3830 302d 3533 2d43 4d2d 3728 6129  T-800-53-CM-7(a)
│ │ │ -001b5710: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ -001b5720: 2d43 4d2d 3728 6229 0a20 202d 2050 4349  -CM-7(b).  - PCI
│ │ │ -001b5730: 2d44 5353 7634 2d32 2e32 0a20 202d 2050  -DSSv4-2.2.  - P
│ │ │ -001b5740: 4349 2d44 5353 7634 2d32 2e32 2e34 0a20  CI-DSSv4-2.2.4. 
│ │ │ -001b5750: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ -001b5760: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -001b5770: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -001b5780: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -001b5790: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -001b57a0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -001b57b0: 6564 0a20 202d 2073 6572 7669 6365 5f61  ed.  - service_a
│ │ │ -001b57c0: 7661 6869 2d64 6165 6d6f 6e5f 6469 7361  vahi-daemon_disa
│ │ │ -001b57d0: 626c 6564 0a0a 2d20 6e61 6d65 3a20 4469  bled..- name: Di
│ │ │ -001b57e0: 7361 626c 6520 4176 6168 6920 5365 7276  sable Avahi Serv
│ │ │ -001b57f0: 6572 2053 6f66 7477 6172 6520 2d20 4469  er Software - Di
│ │ │ -001b5800: 7361 626c 6520 536f 636b 6574 2061 7661  sable Socket ava
│ │ │ -001b5810: 6869 2d64 6165 6d6f 6e0a 2020 616e 7369  hi-daemon.  ansi
│ │ │ -001b5820: 626c 652e 6275 696c 7469 6e2e 7379 7374  ble.builtin.syst
│ │ │ -001b5830: 656d 643a 0a20 2020 206e 616d 653a 2061  emd:.    name: a
│ │ │ -001b5840: 7661 6869 2d64 6165 6d6f 6e2e 736f 636b  vahi-daemon.sock
│ │ │ -001b5850: 6574 0a20 2020 2065 6e61 626c 6564 3a20  et.    enabled: 
│ │ │ -001b5860: 6661 6c73 650a 2020 2020 7374 6174 653a  false.    state:
│ │ │ -001b5870: 2073 746f 7070 6564 0a20 2020 206d 6173   stopped.    mas
│ │ │ -001b5880: 6b65 643a 2074 7275 650a 2020 7768 656e  ked: true.  when
│ │ │ -001b5890: 3a0a 2020 2d20 2820 2261 7661 6869 2d64  :.  - ( "avahi-d
│ │ │ -001b58a0: 6165 6d6f 6e22 2069 6e20 616e 7369 626c  aemon" in ansibl
│ │ │ -001b58b0: 655f 6661 6374 732e 7061 636b 6167 6573  e_facts.packages
│ │ │ -001b58c0: 2061 6e64 2022 6c69 6e75 782d 6261 7365   and "linux-base
│ │ │ -001b58d0: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ -001b58e0: 7473 2e70 6163 6b61 6765 730a 2020 2020  ts.packages.    
│ │ │ -001b58f0: 290a 2020 2d20 736f 636b 6574 5f66 696c  ).  - socket_fil
│ │ │ -001b5900: 655f 6578 6973 7473 2e73 7464 6f75 745f  e_exists.stdout_
│ │ │ -001b5910: 6c69 6e65 7320 6973 2073 6561 7263 6828  lines is search(
│ │ │ -001b5920: 2261 7661 6869 2d64 6165 6d6f 6e2e 736f  "avahi-daemon.so
│ │ │ -001b5930: 636b 6574 222c 206d 756c 7469 6c69 6e65  cket", multiline
│ │ │ -001b5940: 3d54 7275 6529 0a20 2074 6167 733a 0a20  =True).  tags:. 
│ │ │ -001b5950: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -001b5960: 4d2d 3628 6129 0a20 202d 204e 4953 542d  M-6(a).  - NIST-
│ │ │ -001b5970: 3830 302d 3533 2d43 4d2d 3728 6129 0a20  800-53-CM-7(a). 
│ │ │ -001b5980: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -001b5990: 4d2d 3728 6229 0a20 202d 2050 4349 2d44  M-7(b).  - PCI-D
│ │ │ -001b59a0: 5353 7634 2d32 2e32 0a20 202d 2050 4349  SSv4-2.2.  - PCI
│ │ │ -001b59b0: 2d44 5353 7634 2d32 2e32 2e34 0a20 202d  -DSSv4-2.2.4.  -
│ │ │ -001b59c0: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ -001b59d0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -001b59e0: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -001b59f0: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ -001b5a00: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ -001b5a10: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -001b5a20: 0a20 202d 2073 6572 7669 6365 5f61 7661  .  - service_ava
│ │ │ -001b5a30: 6869 2d64 6165 6d6f 6e5f 6469 7361 626c  hi-daemon_disabl
│ │ │ -001b5a40: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e  ed.
│ │ │ +001b46e0: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ +001b46f0: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
low
Disr │ │ │ -001b4ed0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -001b4ee0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -001b4f20: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ -001b4f30: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
Complexity: │ │ │ +001b47d0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +001b47e0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
- name: Gather 
│ │ │ +001b4840: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ +001b4850: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ +001b4860: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ +001b4870: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ +001b4880: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +001b4890: 3628 6129 0a20 202d 204e 4953 542d 3830  6(a).  - NIST-80
│ │ │ +001b48a0: 302d 3533 2d43 4d2d 3728 6129 0a20 202d  0-53-CM-7(a).  -
│ │ │ +001b48b0: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ +001b48c0: 3728 6229 0a20 202d 2050 4349 2d44 5353  7(b).  - PCI-DSS
│ │ │ +001b48d0: 7634 2d32 2e32 0a20 202d 2050 4349 2d44  v4-2.2.  - PCI-D
│ │ │ +001b48e0: 5353 7634 2d32 2e32 2e34 0a20 202d 2064  SSv4-2.2.4.  - d
│ │ │ +001b48f0: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ +001b4900: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +001b4910: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +001b4920: 7074 696f 6e0a 2020 2d20 6d65 6469 756d  ption.  - medium
│ │ │ +001b4930: 5f73 6576 6572 6974 790a 2020 2d20 6e6f  _severity.  - no
│ │ │ +001b4940: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20  _reboot_needed. 
│ │ │ +001b4950: 202d 2073 6572 7669 6365 5f61 7661 6869   - service_avahi
│ │ │ +001b4960: 2d64 6165 6d6f 6e5f 6469 7361 626c 6564  -daemon_disabled
│ │ │ +001b4970: 0a0a 2d20 6e61 6d65 3a20 4469 7361 626c  ..- name: Disabl
│ │ │ +001b4980: 6520 4176 6168 6920 5365 7276 6572 2053  e Avahi Server S
│ │ │ +001b4990: 6f66 7477 6172 6520 2d20 436f 6c6c 6563  oftware - Collec
│ │ │ +001b49a0: 7420 7379 7374 656d 6420 5365 7276 6963  t systemd Servic
│ │ │ +001b49b0: 6573 2050 7265 7365 6e74 2069 6e20 7468  es Present in th
│ │ │ +001b49c0: 6520 5379 7374 656d 0a20 2061 6e73 6962  e System.  ansib
│ │ │ +001b49d0: 6c65 2e62 7569 6c74 696e 2e63 6f6d 6d61  le.builtin.comma
│ │ │ +001b49e0: 6e64 3a20 7379 7374 656d 6374 6c20 2d71  nd: systemctl -q
│ │ │ +001b49f0: 206c 6973 742d 756e 6974 2d66 696c 6573   list-unit-files
│ │ │ +001b4a00: 202d 2d74 7970 6520 7365 7276 6963 650a   --type service.
│ │ │ +001b4a10: 2020 7265 6769 7374 6572 3a20 7365 7276    register: serv
│ │ │ +001b4a20: 6963 655f 6578 6973 7473 0a20 2063 6861  ice_exists.  cha
│ │ │ +001b4a30: 6e67 6564 5f77 6865 6e3a 2066 616c 7365  nged_when: false
│ │ │ +001b4a40: 0a20 2066 6169 6c65 645f 7768 656e 3a20  .  failed_when: 
│ │ │ +001b4a50: 7365 7276 6963 655f 6578 6973 7473 2e72  service_exists.r
│ │ │ +001b4a60: 6320 6e6f 7420 696e 205b 302c 2031 5d0a  c not in [0, 1].
│ │ │ +001b4a70: 2020 6368 6563 6b5f 6d6f 6465 3a20 6661    check_mode: fa
│ │ │ +001b4a80: 6c73 650a 2020 7768 656e 3a20 2820 2261  lse.  when: ( "a
│ │ │ +001b4a90: 7661 6869 2d64 6165 6d6f 6e22 2069 6e20  vahi-daemon" in 
│ │ │ +001b4aa0: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ +001b4ab0: 636b 6167 6573 2061 6e64 2022 6c69 6e75  ckages and "linu
│ │ │ +001b4ac0: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ +001b4ad0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +001b4ae0: 730a 2020 2020 290a 2020 7461 6773 3a0a  s.    ).  tags:.
│ │ │ +001b4af0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001b4b00: 434d 2d36 2861 290a 2020 2d20 4e49 5354  CM-6(a).  - NIST
│ │ │ +001b4b10: 2d38 3030 2d35 332d 434d 2d37 2861 290a  -800-53-CM-7(a).
│ │ │ +001b4b20: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001b4b30: 434d 2d37 2862 290a 2020 2d20 5043 492d  CM-7(b).  - PCI-
│ │ │ +001b4b40: 4453 5376 342d 322e 320a 2020 2d20 5043  DSSv4-2.2.  - PC
│ │ │ +001b4b50: 492d 4453 5376 342d 322e 322e 340a 2020  I-DSSv4-2.2.4.  
│ │ │ +001b4b60: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ +001b4b70: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +001b4b80: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +001b4b90: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +001b4ba0: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +001b4bb0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +001b4bc0: 640a 2020 2d20 7365 7276 6963 655f 6176  d.  - service_av
│ │ │ +001b4bd0: 6168 692d 6461 656d 6f6e 5f64 6973 6162  ahi-daemon_disab
│ │ │ +001b4be0: 6c65 640a 0a2d 206e 616d 653a 2044 6973  led..- name: Dis
│ │ │ +001b4bf0: 6162 6c65 2041 7661 6869 2053 6572 7665  able Avahi Serve
│ │ │ +001b4c00: 7220 536f 6674 7761 7265 202d 2045 6e73  r Software - Ens
│ │ │ +001b4c10: 7572 6520 6176 6168 692d 6461 656d 6f6e  ure avahi-daemon
│ │ │ +001b4c20: 2e73 6572 7669 6365 2069 7320 4d61 736b  .service is Mask
│ │ │ +001b4c30: 6564 0a20 2061 6e73 6962 6c65 2e62 7569  ed.  ansible.bui
│ │ │ +001b4c40: 6c74 696e 2e73 7973 7465 6d64 3a0a 2020  ltin.systemd:.  
│ │ │ +001b4c50: 2020 6e61 6d65 3a20 6176 6168 692d 6461    name: avahi-da
│ │ │ +001b4c60: 656d 6f6e 2e73 6572 7669 6365 0a20 2020  emon.service.   
│ │ │ +001b4c70: 2073 7461 7465 3a20 7374 6f70 7065 640a   state: stopped.
│ │ │ +001b4c80: 2020 2020 656e 6162 6c65 643a 2066 616c      enabled: fal
│ │ │ +001b4c90: 7365 0a20 2020 206d 6173 6b65 643a 2074  se.    masked: t
│ │ │ +001b4ca0: 7275 650a 2020 7768 656e 3a0a 2020 2d20  rue.  when:.  - 
│ │ │ +001b4cb0: 2820 2261 7661 6869 2d64 6165 6d6f 6e22  ( "avahi-daemon"
│ │ │ +001b4cc0: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ +001b4cd0: 732e 7061 636b 6167 6573 2061 6e64 2022  s.packages and "
│ │ │ +001b4ce0: 6c69 6e75 782d 6261 7365 2220 696e 2061  linux-base" in a
│ │ │ +001b4cf0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +001b4d00: 6b61 6765 730a 2020 2020 290a 2020 2d20  kages.    ).  - 
│ │ │ +001b4d10: 7365 7276 6963 655f 6578 6973 7473 2e73  service_exists.s
│ │ │ +001b4d20: 7464 6f75 745f 6c69 6e65 7320 6973 2073  tdout_lines is s
│ │ │ +001b4d30: 6561 7263 6828 2261 7661 6869 2d64 6165  earch("avahi-dae
│ │ │ +001b4d40: 6d6f 6e2e 7365 7276 6963 6522 2c20 6d75  mon.service", mu
│ │ │ +001b4d50: 6c74 696c 696e 653d 5472 7565 290a 2020  ltiline=True).  
│ │ │ +001b4d60: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ +001b4d70: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ +001b4d80: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +001b4d90: 2d37 2861 290a 2020 2d20 4e49 5354 2d38  -7(a).  - NIST-8
│ │ │ +001b4da0: 3030 2d35 332d 434d 2d37 2862 290a 2020  00-53-CM-7(b).  
│ │ │ +001b4db0: 2d20 5043 492d 4453 5376 342d 322e 320a  - PCI-DSSv4-2.2.
│ │ │ +001b4dc0: 2020 2d20 5043 492d 4453 5376 342d 322e    - PCI-DSSv4-2.
│ │ │ +001b4dd0: 322e 340a 2020 2d20 6469 7361 626c 655f  2.4.  - disable_
│ │ │ +001b4de0: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ +001b4df0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +001b4e00: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +001b4e10: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ +001b4e20: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ +001b4e30: 5f6e 6565 6465 640a 2020 2d20 7365 7276  _needed.  - serv
│ │ │ +001b4e40: 6963 655f 6176 6168 692d 6461 656d 6f6e  ice_avahi-daemon
│ │ │ +001b4e50: 5f64 6973 6162 6c65 640a 0a2d 206e 616d  _disabled..- nam
│ │ │ +001b4e60: 653a 2055 6e69 7420 536f 636b 6574 2045  e: Unit Socket E
│ │ │ +001b4e70: 7869 7374 7320 2d20 6176 6168 692d 6461  xists - avahi-da
│ │ │ +001b4e80: 656d 6f6e 2e73 6f63 6b65 740a 2020 616e  emon.socket.  an
│ │ │ +001b4e90: 7369 626c 652e 6275 696c 7469 6e2e 636f  sible.builtin.co
│ │ │ +001b4ea0: 6d6d 616e 643a 2073 7973 7465 6d63 746c  mmand: systemctl
│ │ │ +001b4eb0: 202d 7120 6c69 7374 2d75 6e69 742d 6669   -q list-unit-fi
│ │ │ +001b4ec0: 6c65 7320 6176 6168 692d 6461 656d 6f6e  les avahi-daemon
│ │ │ +001b4ed0: 2e73 6f63 6b65 740a 2020 7265 6769 7374  .socket.  regist
│ │ │ +001b4ee0: 6572 3a20 736f 636b 6574 5f66 696c 655f  er: socket_file_
│ │ │ +001b4ef0: 6578 6973 7473 0a20 2063 6861 6e67 6564  exists.  changed
│ │ │ +001b4f00: 5f77 6865 6e3a 2066 616c 7365 0a20 2066  _when: false.  f
│ │ │ +001b4f10: 6169 6c65 645f 7768 656e 3a20 736f 636b  ailed_when: sock
│ │ │ +001b4f20: 6574 5f66 696c 655f 6578 6973 7473 2e72  et_file_exists.r
│ │ │ +001b4f30: 6320 6e6f 7420 696e 205b 302c 2031 5d0a  c not in [0, 1].
│ │ │ +001b4f40: 2020 6368 6563 6b5f 6d6f 6465 3a20 6661    check_mode: fa
│ │ │ +001b4f50: 6c73 650a 2020 7768 656e 3a20 2820 2261  lse.  when: ( "a
│ │ │ +001b4f60: 7661 6869 2d64 6165 6d6f 6e22 2069 6e20  vahi-daemon" in 
│ │ │ +001b4f70: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ +001b4f80: 636b 6167 6573 2061 6e64 2022 6c69 6e75  ckages and "linu
│ │ │ +001b4f90: 782d 6261 7365 2220 696e 2061 6e73 6962  x-base" in ansib
│ │ │ +001b4fa0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765  le_facts.package
│ │ │ +001b4fb0: 730a 2020 2020 290a 2020 7461 6773 3a0a  s.    ).  tags:.
│ │ │ +001b4fc0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001b4fd0: 434d 2d36 2861 290a 2020 2d20 4e49 5354  CM-6(a).  - NIST
│ │ │ +001b4fe0: 2d38 3030 2d35 332d 434d 2d37 2861 290a  -800-53-CM-7(a).
│ │ │ +001b4ff0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001b5000: 434d 2d37 2862 290a 2020 2d20 5043 492d  CM-7(b).  - PCI-
│ │ │ +001b5010: 4453 5376 342d 322e 320a 2020 2d20 5043  DSSv4-2.2.  - PC
│ │ │ +001b5020: 492d 4453 5376 342d 322e 322e 340a 2020  I-DSSv4-2.2.4.  
│ │ │ +001b5030: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ +001b5040: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +001b5050: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +001b5060: 7372 7570 7469 6f6e 0a20 202d 206d 6564  sruption.  - med
│ │ │ +001b5070: 6975 6d5f 7365 7665 7269 7479 0a20 202d  ium_severity.  -
│ │ │ +001b5080: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +001b5090: 640a 2020 2d20 7365 7276 6963 655f 6176  d.  - service_av
│ │ │ +001b50a0: 6168 692d 6461 656d 6f6e 5f64 6973 6162  ahi-daemon_disab
│ │ │ +001b50b0: 6c65 640a 0a2d 206e 616d 653a 2044 6973  led..- name: Dis
│ │ │ +001b50c0: 6162 6c65 2041 7661 6869 2053 6572 7665  able Avahi Serve
│ │ │ +001b50d0: 7220 536f 6674 7761 7265 202d 2044 6973  r Software - Dis
│ │ │ +001b50e0: 6162 6c65 2053 6f63 6b65 7420 6176 6168  able Socket avah
│ │ │ +001b50f0: 692d 6461 656d 6f6e 0a20 2061 6e73 6962  i-daemon.  ansib
│ │ │ +001b5100: 6c65 2e62 7569 6c74 696e 2e73 7973 7465  le.builtin.syste
│ │ │ +001b5110: 6d64 3a0a 2020 2020 6e61 6d65 3a20 6176  md:.    name: av
│ │ │ +001b5120: 6168 692d 6461 656d 6f6e 2e73 6f63 6b65  ahi-daemon.socke
│ │ │ +001b5130: 740a 2020 2020 656e 6162 6c65 643a 2066  t.    enabled: f
│ │ │ +001b5140: 616c 7365 0a20 2020 2073 7461 7465 3a20  alse.    state: 
│ │ │ +001b5150: 7374 6f70 7065 640a 2020 2020 6d61 736b  stopped.    mask
│ │ │ +001b5160: 6564 3a20 7472 7565 0a20 2077 6865 6e3a  ed: true.  when:
│ │ │ +001b5170: 0a20 202d 2028 2022 6176 6168 692d 6461  .  - ( "avahi-da
│ │ │ +001b5180: 656d 6f6e 2220 696e 2061 6e73 6962 6c65  emon" in ansible
│ │ │ +001b5190: 5f66 6163 7473 2e70 6163 6b61 6765 7320  _facts.packages 
│ │ │ +001b51a0: 616e 6420 226c 696e 7578 2d62 6173 6522  and "linux-base"
│ │ │ +001b51b0: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ +001b51c0: 732e 7061 636b 6167 6573 0a20 2020 2029  s.packages.    )
│ │ │ +001b51d0: 0a20 202d 2073 6f63 6b65 745f 6669 6c65  .  - socket_file
│ │ │ +001b51e0: 5f65 7869 7374 732e 7374 646f 7574 5f6c  _exists.stdout_l
│ │ │ +001b51f0: 696e 6573 2069 7320 7365 6172 6368 2822  ines is search("
│ │ │ +001b5200: 6176 6168 692d 6461 656d 6f6e 2e73 6f63  avahi-daemon.soc
│ │ │ +001b5210: 6b65 7422 2c20 6d75 6c74 696c 696e 653d  ket", multiline=
│ │ │ +001b5220: 5472 7565 290a 2020 7461 6773 3a0a 2020  True).  tags:.  
│ │ │ +001b5230: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +001b5240: 2d36 2861 290a 2020 2d20 4e49 5354 2d38  -6(a).  - NIST-8
│ │ │ +001b5250: 3030 2d35 332d 434d 2d37 2861 290a 2020  00-53-CM-7(a).  
│ │ │ +001b5260: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +001b5270: 2d37 2862 290a 2020 2d20 5043 492d 4453  -7(b).  - PCI-DS
│ │ │ +001b5280: 5376 342d 322e 320a 2020 2d20 5043 492d  Sv4-2.2.  - PCI-
│ │ │ +001b5290: 4453 5376 342d 322e 322e 340a 2020 2d20  DSSv4-2.2.4.  - 
│ │ │ +001b52a0: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ +001b52b0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +001b52c0: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +001b52d0: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +001b52e0: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +001b52f0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +001b5300: 2020 2d20 7365 7276 6963 655f 6176 6168    - service_avah
│ │ │ +001b5310: 692d 6461 656d 6f6e 5f64 6973 6162 6c65  i-daemon_disable
│ │ │ +001b5320: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  d.
< │ │ │ +001b5330: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +001b53e0: 204b 7562 6572 6e65 7465 7320 736e 6970 Kubernetes snip │ │ │ +001b53f0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +001b5400: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001b5410: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001b5420: 7365 2220 6964 3d22 6964 6d32 3234 3335 se" id="idm22435 │ │ │ +001b5430: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
low
Disru │ │ │ +001b47b0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +001b47c0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +001b4800: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +001b4810: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
< │ │ │ +001b54f0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
api
│ │ │ +001b5530: 5665 7273 696f 6e3a 206d 6163 6869 6e65  Version: machine
│ │ │ +001b5540: 636f 6e66 6967 7572 6174 696f 6e2e 6f70  configuration.op
│ │ │ +001b5550: 656e 7368 6966 742e 696f 2f76 310a 6b69  enshift.io/v1.ki
│ │ │ +001b5560: 6e64 3a20 4d61 6368 696e 6543 6f6e 6669  nd: MachineConfi
│ │ │ +001b5570: 670a 7370 6563 3a0a 2020 636f 6e66 6967  g.spec:.  config
│ │ │ +001b5580: 3a0a 2020 2020 6967 6e69 7469 6f6e 3a0a  :.    ignition:.
│ │ │ +001b5590: 2020 2020 2020 7665 7273 696f 6e3a 2033        version: 3
│ │ │ +001b55a0: 2e31 2e30 0a20 2020 2073 7973 7465 6d64  .1.0.    systemd
│ │ │ +001b55b0: 3a0a 2020 2020 2020 756e 6974 733a 0a20  :.      units:. 
│ │ │ +001b55c0: 2020 2020 202d 206e 616d 653a 2061 7661       - name: ava
│ │ │ +001b55d0: 6869 2d64 6165 6d6f 6e2e 7365 7276 6963  hi-daemon.servic
│ │ │ +001b55e0: 650a 2020 2020 2020 2020 656e 6162 6c65  e.        enable
│ │ │ +001b55f0: 643a 2066 616c 7365 0a20 2020 2020 2020  d: false.       
│ │ │ +001b5600: 206d 6173 6b3a 2074 7275 650a 2020 2020   mask: true.    
│ │ │ +001b5610: 2020 2d20 6e61 6d65 3a20 6176 6168 692d    - name: avahi-
│ │ │ +001b5620: 6461 656d 6f6e 2e73 6f63 6b65 740a 2020  daemon.socket.  
│ │ │ +001b5630: 2020 2020 2020 656e 6162 6c65 643a 2066        enabled: f
│ │ │ +001b5640: 616c 7365 0a20 2020 2020 2020 206d 6173  alse.        mas
│ │ │ +001b5650: 6b3a 2074 7275 650a 3c2f 636f 6465 3e3c  k: true.<
│ │ │ +001b5660: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remed
│ │ │ +001b5710: 6961 7469 6f6e 2050 7570 7065 7420 736e  iation Puppet sn
│ │ │ +001b5720: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
Comp │ │ │ +001b5480: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +001b5490: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +001b54b0: 3c2f 7468 3e3c 7464 3e6d 6564 6975 6d3c medium< │ │ │ +001b54c0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:true
Strategy: │ │ │ +001b5500: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +001b5510: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
low< │ │ │ +001b57d0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +001b5820: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ +001b57b0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +001b57e0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +001b5800: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +001b5810: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +001b5830: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ +001b5840: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +001b5860: 7564 6520 6469 7361 626c 655f 6176 6168  ude disable_avah
│ │ │ +001b5870: 692d 6461 656d 6f6e 0a0a 636c 6173 7320  i-daemon..class 
│ │ │ +001b5880: 6469 7361 626c 655f 6176 6168 692d 6461  disable_avahi-da
│ │ │ +001b5890: 656d 6f6e 207b 0a20 2073 6572 7669 6365  emon {.  service
│ │ │ +001b58a0: 207b 2761 7661 6869 2d64 6165 6d6f 6e27   {'avahi-daemon'
│ │ │ +001b58b0: 3a0a 2020 2020 656e 6162 6c65 203d 2667  :.    enable =&g
│ │ │ +001b58c0: 743b 2066 616c 7365 2c0a 2020 2020 656e  t; false,.    en
│ │ │ +001b58d0: 7375 7265 203d 2667 743b 2027 7374 6f70  sure => 'stop
│ │ │ +001b58e0: 7065 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ped',.  }.}.
< │ │ │ +001b5900: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +001b5910: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +001b5920: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +001b5930: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +001b5940: 646d 3232 3433 3722 2074 6162 696e 6465 dm22437" tabinde │ │ │ +001b5950: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +001b5960: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +001b5970: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +001b5980: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +001b5990: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +001b59a0: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui │ │ │ +001b59b0: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni │ │ │ +001b59c0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +001b59d0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
.[
│ │ │ +001b5a10: 6375 7374 6f6d 697a 6174 696f 6e73 2e73  customizations.s
│ │ │ +001b5a20: 6572 7669 6365 735d 0a6d 6173 6b65 6420  ervices].masked 
│ │ │ +001b5a30: 3d20 5b22 6176 6168 692d 6461 656d 6f6e  = ["avahi-daemon
│ │ │ +001b5a40: 225d 0a3c 2f63 6f64 653e 3c2f 7072 653e  "].
│ │ │ 001b5a50: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remed │ │ │ -001c0f10: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B │ │ │ -001c0f20: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet │ │ │ -001c0f30: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -001c0f70: 7072 653e 3c63 6f64 653e 0a5b 6375 7374 pre>.[cust │ │ │ -001c0f80: 6f6d 697a 6174 696f 6e73 2e73 6572 7669 omizations.servi │ │ │ -001c0f90: 6365 735d 0a65 6e61 626c 6564 203d 205b ces].enabled = [ │ │ │ -001c0fa0: 2263 726f 6e22 5d0a 3c2f 636f 6465 3e3c "cron"].< │ │ │ -001c0fb0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remed │ │ │ -001c1060: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ -001c1070: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -001c1120: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -001c1170: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ -001c1100: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -001c1130: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -001c1150: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -001c1160: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -001c1180: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ -001c1190: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -001c11b0: 7564 6520 656e 6162 6c65 5f63 726f 6e0a  ude enable_cron.
│ │ │ -001c11c0: 0a63 6c61 7373 2065 6e61 626c 655f 6372  .class enable_cr
│ │ │ -001c11d0: 6f6e 207b 0a20 2073 6572 7669 6365 207b  on {.  service {
│ │ │ -001c11e0: 2763 726f 6e27 3a0a 2020 2020 656e 6162  'cron':.    enab
│ │ │ -001c11f0: 6c65 203d 2667 743b 2074 7275 652c 0a20  le => true,. 
│ │ │ -001c1200: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ -001c1210: 2772 756e 6e69 6e67 272c 0a20 207d 0a7d  'running',.  }.}
│ │ │ -001c1220: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -001c12e0: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -001c12f0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001c1370: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -001c1380: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -001c1390: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -001c13d0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -001c13e0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -001c1400: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ -001c1420: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761  - name: Ga
│ │ │ -001c1430: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ -001c1440: 2066 6163 7473 0a20 2070 6163 6b61 6765   facts.  package
│ │ │ -001c1450: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61  _facts:.    mana
│ │ │ -001c1460: 6765 723a 2061 7574 6f0a 2020 7461 6773  ger: auto.  tags
│ │ │ -001c1470: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ -001c1480: 332d 434d 2d36 2861 290a 2020 2d20 656e  3-CM-6(a).  - en
│ │ │ -001c1490: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -001c14a0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -001c14b0: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -001c14c0: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73  ion.  - medium_s
│ │ │ -001c14d0: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ -001c14e0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ -001c14f0: 2073 6572 7669 6365 5f63 726f 6e5f 656e   service_cron_en
│ │ │ -001c1500: 6162 6c65 640a 0a2d 206e 616d 653a 2045  abled..- name: E
│ │ │ -001c1510: 6e61 626c 6520 6372 6f6e 2053 6572 7669  nable cron Servi
│ │ │ -001c1520: 6365 202d 2045 6e61 626c 6520 7365 7276  ce - Enable serv
│ │ │ -001c1530: 6963 6520 6372 6f6e 0a20 2062 6c6f 636b  ice cron.  block
│ │ │ -001c1540: 3a0a 0a20 202d 206e 616d 653a 2047 6174  :..  - name: Gat
│ │ │ -001c1550: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ -001c1560: 6661 6374 730a 2020 2020 7061 636b 6167  facts.    packag
│ │ │ -001c1570: 655f 6661 6374 733a 0a20 2020 2020 206d  e_facts:.      m
│ │ │ -001c1580: 616e 6167 6572 3a20 6175 746f 0a0a 2020  anager: auto..  
│ │ │ -001c1590: 2d20 6e61 6d65 3a20 456e 6162 6c65 2063  - name: Enable c
│ │ │ -001c15a0: 726f 6e20 5365 7276 6963 6520 2d20 456e  ron Service - En
│ │ │ -001c15b0: 6162 6c65 2053 6572 7669 6365 2063 726f  able Service cro
│ │ │ -001c15c0: 6e0a 2020 2020 616e 7369 626c 652e 6275  n.    ansible.bu
│ │ │ -001c15d0: 696c 7469 6e2e 7379 7374 656d 643a 0a20  iltin.systemd:. 
│ │ │ -001c15e0: 2020 2020 206e 616d 653a 2063 726f 6e0a       name: cron.
│ │ │ -001c15f0: 2020 2020 2020 656e 6162 6c65 643a 2074        enabled: t
│ │ │ -001c1600: 7275 650a 2020 2020 2020 7374 6174 653a  rue.      state:
│ │ │ -001c1610: 2073 7461 7274 6564 0a20 2020 2020 206d   started.      m
│ │ │ -001c1620: 6173 6b65 643a 2066 616c 7365 0a20 2020  asked: false.   
│ │ │ -001c1630: 2077 6865 6e3a 0a20 2020 202d 2027 2263   when:.    - '"c
│ │ │ -001c1640: 726f 6e22 2069 6e20 616e 7369 626c 655f  ron" in ansible_
│ │ │ -001c1650: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -001c1660: 2020 7768 656e 3a20 2722 6c69 6e75 782d    when: '"linux-
│ │ │ -001c1670: 6261 7365 2220 696e 2061 6e73 6962 6c65  base" in ansible
│ │ │ -001c1680: 5f66 6163 7473 2e70 6163 6b61 6765 7327  _facts.packages'
│ │ │ -001c1690: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ -001c16a0: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ -001c16b0: 0a20 202d 2065 6e61 626c 655f 7374 7261  .  - enable_stra
│ │ │ -001c16c0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ -001c16d0: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -001c16e0: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ -001c16f0: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ -001c1700: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -001c1710: 6465 640a 2020 2d20 7365 7276 6963 655f  ded.  - service_
│ │ │ -001c1720: 6372 6f6e 5f65 6e61 626c 6564 0a3c 2f63  cron_enabled.
< │ │ │ +001c0fc0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001c0fd0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +001c1020: 3c74 723e 3c74 683e 5374 7261 7465 6779
- n
│ │ │ +001c1060: 616d 653a 2047 6174 6865 7220 7468 6520  ame: Gather the 
│ │ │ +001c1070: 7061 636b 6167 6520 6661 6374 730a 2020  package facts.  
│ │ │ +001c1080: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ +001c1090: 2020 206d 616e 6167 6572 3a20 6175 746f     manager: auto
│ │ │ +001c10a0: 0a20 2074 6167 733a 0a20 202d 204e 4953  .  tags:.  - NIS
│ │ │ +001c10b0: 542d 3830 302d 3533 2d43 4d2d 3628 6129  T-800-53-CM-6(a)
│ │ │ +001c10c0: 0a20 202d 2065 6e61 626c 655f 7374 7261  .  - enable_stra
│ │ │ +001c10d0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +001c10e0: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +001c10f0: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ +001c1100: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ +001c1110: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +001c1120: 6465 640a 2020 2d20 7365 7276 6963 655f  ded.  - service_
│ │ │ +001c1130: 6372 6f6e 5f65 6e61 626c 6564 0a0a 2d20  cron_enabled..- 
│ │ │ +001c1140: 6e61 6d65 3a20 456e 6162 6c65 2063 726f  name: Enable cro
│ │ │ +001c1150: 6e20 5365 7276 6963 6520 2d20 456e 6162  n Service - Enab
│ │ │ +001c1160: 6c65 2073 6572 7669 6365 2063 726f 6e0a  le service cron.
│ │ │ +001c1170: 2020 626c 6f63 6b3a 0a0a 2020 2d20 6e61    block:..  - na
│ │ │ +001c1180: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ +001c1190: 6163 6b61 6765 2066 6163 7473 0a20 2020  ackage facts.   
│ │ │ +001c11a0: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ +001c11b0: 2020 2020 2020 6d61 6e61 6765 723a 2061        manager: a
│ │ │ +001c11c0: 7574 6f0a 0a20 202d 206e 616d 653a 2045  uto..  - name: E
│ │ │ +001c11d0: 6e61 626c 6520 6372 6f6e 2053 6572 7669  nable cron Servi
│ │ │ +001c11e0: 6365 202d 2045 6e61 626c 6520 5365 7276  ce - Enable Serv
│ │ │ +001c11f0: 6963 6520 6372 6f6e 0a20 2020 2061 6e73  ice cron.    ans
│ │ │ +001c1200: 6962 6c65 2e62 7569 6c74 696e 2e73 7973  ible.builtin.sys
│ │ │ +001c1210: 7465 6d64 3a0a 2020 2020 2020 6e61 6d65  temd:.      name
│ │ │ +001c1220: 3a20 6372 6f6e 0a20 2020 2020 2065 6e61  : cron.      ena
│ │ │ +001c1230: 626c 6564 3a20 7472 7565 0a20 2020 2020  bled: true.     
│ │ │ +001c1240: 2073 7461 7465 3a20 7374 6172 7465 640a   state: started.
│ │ │ +001c1250: 2020 2020 2020 6d61 736b 6564 3a20 6661        masked: fa
│ │ │ +001c1260: 6c73 650a 2020 2020 7768 656e 3a0a 2020  lse.    when:.  
│ │ │ +001c1270: 2020 2d20 2722 6372 6f6e 2220 696e 2061    - '"cron" in a
│ │ │ +001c1280: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +001c1290: 6b61 6765 7327 0a20 2077 6865 6e3a 2027  kages'.  when: '
│ │ │ +001c12a0: 226c 696e 7578 2d62 6173 6522 2069 6e20  "linux-base" in 
│ │ │ +001c12b0: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ +001c12c0: 636b 6167 6573 270a 2020 7461 6773 3a0a  ckages'.  tags:.
│ │ │ +001c12d0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001c12e0: 434d 2d36 2861 290a 2020 2d20 656e 6162  CM-6(a).  - enab
│ │ │ +001c12f0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +001c1300: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ +001c1310: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ +001c1320: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ +001c1330: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ +001c1340: 6f6f 745f 6e65 6564 6564 0a20 202d 2073  oot_needed.  - s
│ │ │ +001c1350: 6572 7669 6365 5f63 726f 6e5f 656e 6162  ervice_cron_enab
│ │ │ +001c1360: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265  led.
Remediati │ │ │ +001c1420: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ +001c1430: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +001c1470: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
C │ │ │ +001c0fb0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +001c0fe0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +001c0ff0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +001c1030: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 :enable │ │ │ +001c1040: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
< │ │ │ +001c14e0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ +001c1500: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ +001c1530: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ +001c1550: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ +001c14c0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ +001c14d0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ +001c1510: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ +001c1520: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ +001c1570: 656e 6162 6c65 5f63 726f 6e0a 0a63 6c61 enable_cron..cla │ │ │ +001c1580: 7373 2065 6e61 626c 655f 6372 6f6e 207b ss enable_cron { │ │ │ +001c1590: 0a20 2073 6572 7669 6365 207b 2763 726f . service {'cro │ │ │ +001c15a0: 6e27 3a0a 2020 2020 656e 6162 6c65 203d n':. enable = │ │ │ +001c15b0: 2667 743b 2074 7275 652c 0a20 2020 2065 > true,. e │ │ │ +001c15c0: 6e73 7572 6520 3d26 6774 3b20 2772 756e nsure => 'run │ │ │ +001c15d0: 6e69 6e67 272c 0a20 207d 0a7d 0a3c 2f63 ning',. }.}.
│ │ │ +001c15f0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +001c1690: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu │ │ │ +001c16a0: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn │ │ │ +001c16b0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.
│ │ │ +001c1700: 5b63 7573 746f 6d69 7a61 7469 6f6e 732e  [customizations.
│ │ │ +001c1710: 7365 7276 6963 6573 5d0a 656e 6162 6c65  services].enable
│ │ │ +001c1720: 6420 3d20 5b22 6372 6f6e 225d 0a3c 2f63  d = ["cron"].
│ │ │ 001c1740: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Re │ │ │ -001dbec0: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -001dbed0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -001dbee0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -001dbfb0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -001dbfc0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -001dc010: 696e 636c 7564 6520 7265 6d6f 7665 5f6e  include remove_n
│ │ │ -001dc020: 6973 0a0a 636c 6173 7320 7265 6d6f 7665  is..class remove
│ │ │ -001dc030: 5f6e 6973 207b 0a20 2070 6163 6b61 6765  _nis {.  package
│ │ │ -001dc040: 207b 2027 6e69 7327 3a0a 2020 2020 656e   { 'nis':.    en
│ │ │ -001dc050: 7375 7265 203d 2667 743b 2027 7075 7267  sure => 'purg
│ │ │ -001dc060: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ed',.  }.}.
Re │ │ │ -001dc120: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ -001dc130: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
Complexity:low
Disrup │ │ │ -001dbf90: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -001dbfa0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -001dbfe0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -001dbff0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity: │ │ │ -001dc210: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ -001dc220: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
- name: Ensure 
│ │ │ -001dc280: 6e69 7320 6973 2072 656d 6f76 6564 0a20  nis is removed. 
│ │ │ -001dc290: 2070 6163 6b61 6765 3a0a 2020 2020 6e61   package:.    na
│ │ │ -001dc2a0: 6d65 3a20 6e69 730a 2020 2020 7374 6174  me: nis.    stat
│ │ │ -001dc2b0: 653a 2061 6273 656e 740a 2020 7461 6773  e: absent.  tags
│ │ │ -001dc2c0: 3a0a 2020 2d20 6469 7361 626c 655f 7374  :.  - disable_st
│ │ │ -001dc2d0: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ -001dc2e0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ -001dc2f0: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ -001dc300: 206c 6f77 5f73 6576 6572 6974 790a 2020   low_severity.  
│ │ │ -001dc310: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -001dc320: 6564 0a20 202d 2070 6163 6b61 6765 5f6e  ed.  - package_n
│ │ │ -001dc330: 6973 5f72 656d 6f76 6564 0a3c 2f63 6f64  is_removed.
low
Disru │ │ │ -001dc1f0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ -001dc200: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ -001dc240: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ -001dc250: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complexity: │ │ │ +001dbfb0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +001dbfc0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
- name: Ensure 
│ │ │ +001dc020: 6e69 7320 6973 2072 656d 6f76 6564 0a20  nis is removed. 
│ │ │ +001dc030: 2070 6163 6b61 6765 3a0a 2020 2020 6e61   package:.    na
│ │ │ +001dc040: 6d65 3a20 6e69 730a 2020 2020 7374 6174  me: nis.    stat
│ │ │ +001dc050: 653a 2061 6273 656e 740a 2020 7461 6773  e: absent.  tags
│ │ │ +001dc060: 3a0a 2020 2d20 6469 7361 626c 655f 7374  :.  - disable_st
│ │ │ +001dc070: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +001dc080: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +001dc090: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +001dc0a0: 206c 6f77 5f73 6576 6572 6974 790a 2020   low_severity.  
│ │ │ +001dc0b0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +001dc0c0: 6564 0a20 202d 2070 6163 6b61 6765 5f6e  ed.  - package_n
│ │ │ +001dc0d0: 6973 5f72 656d 6f76 6564 0a3c 2f63 6f64  is_removed.
Re │ │ │ +001dc190: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ +001dc1a0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +001dc1b0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
low
Disru │ │ │ +001dbf90: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +001dbfa0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +001dbfe0: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +001dbff0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
< │ │ │ +001dc280: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +001dc290: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +001dc2e0: 696e 636c 7564 6520 7265 6d6f 7665 5f6e  include remove_n
│ │ │ +001dc2f0: 6973 0a0a 636c 6173 7320 7265 6d6f 7665  is..class remove
│ │ │ +001dc300: 5f6e 6973 207b 0a20 2070 6163 6b61 6765  _nis {.  package
│ │ │ +001dc310: 207b 2027 6e69 7327 3a0a 2020 2020 656e   { 'nis':.    en
│ │ │ +001dc320: 7375 7265 203d 2667 743b 2027 7075 7267  sure => 'purg
│ │ │ +001dc330: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ed',.  }.}.
Remediation P │ │ │ -001dde90: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet .. │ │ │ -001ddea0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ -001ddf60: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001ddf70: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
Complexity:low
Disrup │ │ │ +001dc260: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +001dc270: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +001dc2b0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +001dc2c0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity │ │ │ -001ddf30: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ -001ddf50: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ -001ddf80: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ -001ddfa0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ -001ddfd0: 636f 6465 3e69 6e63 6c75 6465 2072 656d  code>include rem
│ │ │ -001ddfe0: 6f76 655f 6973 632d 6468 6370 2d73 6572  ove_isc-dhcp-ser
│ │ │ -001ddff0: 7665 720a 0a63 6c61 7373 2072 656d 6f76  ver..class remov
│ │ │ -001de000: 655f 6973 632d 6468 6370 2d73 6572 7665  e_isc-dhcp-serve
│ │ │ -001de010: 7220 7b0a 2020 7061 636b 6167 6520 7b20  r {.  package { 
│ │ │ -001de020: 2769 7363 2d64 6863 702d 7365 7276 6572  'isc-dhcp-server
│ │ │ -001de030: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ -001de040: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ -001de050: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ -001de110: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -001de120: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001de1d0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -001de1f0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -001de220: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -001de1b0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -001de1c0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -001de1e0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -001de200: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -001de210: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -001de250: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -001de260: 3a20 456e 7375 7265 2069 7363 2d64 6863 : Ensure isc-dhc │ │ │ -001de270: 702d 7365 7276 6572 2069 7320 7265 6d6f p-server is remo │ │ │ -001de280: 7665 640a 2020 7061 636b 6167 653a 0a20 ved. package:. │ │ │ -001de290: 2020 206e 616d 653a 2069 7363 2d64 6863 name: isc-dhc │ │ │ -001de2a0: 702d 7365 7276 6572 0a20 2020 2073 7461 p-server. sta │ │ │ -001de2b0: 7465 3a20 6162 7365 6e74 0a20 2074 6167 te: absent. tag │ │ │ -001de2c0: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800- │ │ │ -001de2d0: 3533 2d43 4d2d 3628 6129 0a20 202d 204e 53-CM-6(a). - N │ │ │ -001de2e0: 4953 542d 3830 302d 3533 2d43 4d2d 3728 IST-800-53-CM-7( │ │ │ -001de2f0: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800- │ │ │ -001de300: 3533 2d43 4d2d 3728 6229 0a20 202d 2050 53-CM-7(b). - P │ │ │ -001de310: 4349 2d44 5353 7634 2d32 2e32 0a20 202d CI-DSSv4-2.2. - │ │ │ -001de320: 2050 4349 2d44 5353 7634 2d32 2e32 2e34 PCI-DSSv4-2.2.4 │ │ │ -001de330: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str │ │ │ -001de340: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co │ │ │ -001de350: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low │ │ │ -001de360: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. - │ │ │ -001de370: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity. │ │ │ -001de380: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne │ │ │ -001de390: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package │ │ │ -001de3a0: 5f64 6863 705f 7265 6d6f 7665 640a 3c2f _dhcp_removed.Remediation A │ │ │ +001dde90: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet . │ │ │ +001ddea0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ +001ddf20: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +001ddf30: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +001ddf50: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +001ddf60: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +001ddf80: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +001ddfa0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ +001ddfd0: 3c63 6f64 653e 2d20 6e61 6d65 3a20 456e  - name: En
│ │ │ +001ddfe0: 7375 7265 2069 7363 2d64 6863 702d 7365  sure isc-dhcp-se
│ │ │ +001ddff0: 7276 6572 2069 7320 7265 6d6f 7665 640a  rver is removed.
│ │ │ +001de000: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ +001de010: 616d 653a 2069 7363 2d64 6863 702d 7365  ame: isc-dhcp-se
│ │ │ +001de020: 7276 6572 0a20 2020 2073 7461 7465 3a20  rver.    state: 
│ │ │ +001de030: 6162 7365 6e74 0a20 2074 6167 733a 0a20  absent.  tags:. 
│ │ │ +001de040: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +001de050: 4d2d 3628 6129 0a20 202d 204e 4953 542d  M-6(a).  - NIST-
│ │ │ +001de060: 3830 302d 3533 2d43 4d2d 3728 6129 0a20  800-53-CM-7(a). 
│ │ │ +001de070: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ +001de080: 4d2d 3728 6229 0a20 202d 2050 4349 2d44  M-7(b).  - PCI-D
│ │ │ +001de090: 5353 7634 2d32 2e32 0a20 202d 2050 4349  SSv4-2.2.  - PCI
│ │ │ +001de0a0: 2d44 5353 7634 2d32 2e32 2e34 0a20 202d  -DSSv4-2.2.4.  -
│ │ │ +001de0b0: 2064 6973 6162 6c65 5f73 7472 6174 6567   disable_strateg
│ │ │ +001de0c0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ +001de0d0: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ +001de0e0: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ +001de0f0: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ +001de100: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +001de110: 0a20 202d 2070 6163 6b61 6765 5f64 6863  .  - package_dhc
│ │ │ +001de120: 705f 7265 6d6f 7665 640a 3c2f 636f 6465  p_removed.
Rem │ │ │ +001de1e0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ +001de1f0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +001de200: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ +001de290: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
i
│ │ │ +001de330: 6e63 6c75 6465 2072 656d 6f76 655f 6973  nclude remove_is
│ │ │ +001de340: 632d 6468 6370 2d73 6572 7665 720a 0a63  c-dhcp-server..c
│ │ │ +001de350: 6c61 7373 2072 656d 6f76 655f 6973 632d  lass remove_isc-
│ │ │ +001de360: 6468 6370 2d73 6572 7665 7220 7b0a 2020  dhcp-server {.  
│ │ │ +001de370: 7061 636b 6167 6520 7b20 2769 7363 2d64  package { 'isc-d
│ │ │ +001de380: 6863 702d 7365 7276 6572 273a 0a20 2020  hcp-server':.   
│ │ │ +001de390: 2065 6e73 7572 6520 3d26 6774 3b20 2770   ensure => 'p
│ │ │ +001de3a0: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f  urged',.  }.}.
│ │ │ -001dfce0: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ -001dfcf0: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
│ │ │ +001de280: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +001de2b0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +001de2c0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +001de300: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +001de310: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
< │ │ │ -001dfd80: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -001dfda0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -001dfdf0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ -001dfe20: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include remove
│ │ │ -001dfe40: 5f62 696e 6439 0a0a 636c 6173 7320 7265  _bind9..class re
│ │ │ -001dfe50: 6d6f 7665 5f62 696e 6439 207b 0a20 2070  move_bind9 {.  p
│ │ │ -001dfe60: 6163 6b61 6765 207b 2027 6269 6e64 3927  ackage { 'bind9'
│ │ │ -001dfe70: 3a0a 2020 2020 656e 7375 7265 203d 2667  :.    ensure =&g
│ │ │ -001dfe80: 743b 2027 7075 7267 6564 272c 0a20 207d  t; 'purged',.  }
│ │ │ -001dfe90: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ -001dfea0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ -001dff50: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ -001dff60: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -001dffa0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
low
Disr │ │ │ -001dfdb0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -001dfdc0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -001dfe00: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ -001dfe10: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
< │ │ │ -001e0010: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -001e0030: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -001e0060: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -001dfff0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -001e0000: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -001e0040: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -001e0050: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

- name: │ │ │ -001e00a0: 2045 6e73 7572 6520 6269 6e64 3920 6973 Ensure bind9 is │ │ │ -001e00b0: 2072 656d 6f76 6564 0a20 2070 6163 6b61 removed. packa │ │ │ -001e00c0: 6765 3a0a 2020 2020 6e61 6d65 3a20 6269 ge:. name: bi │ │ │ -001e00d0: 6e64 390a 2020 2020 7374 6174 653a 2061 nd9. state: a │ │ │ -001e00e0: 6273 656e 740a 2020 7461 6773 3a0a 2020 bsent. tags:. │ │ │ -001e00f0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM │ │ │ -001e0100: 2d36 2861 290a 2020 2d20 4e49 5354 2d38 -6(a). - NIST-8 │ │ │ -001e0110: 3030 2d35 332d 434d 2d37 2861 290a 2020 00-53-CM-7(a). │ │ │ -001e0120: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM │ │ │ -001e0130: 2d37 2862 290a 2020 2d20 6469 7361 626c -7(b). - disabl │ │ │ -001e0140: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l │ │ │ -001e0150: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity. │ │ │ -001e0160: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption │ │ │ -001e0170: 0a20 202d 206c 6f77 5f73 6576 6572 6974 . - low_severit │ │ │ -001e0180: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_ │ │ │ -001e0190: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa │ │ │ -001e01a0: 6765 5f62 696e 645f 7265 6d6f 7665 640a ge_bind_removed. │ │ │ +001dfce0: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi │ │ │ +001dfcf0: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...< │ │ │ +001dfd00: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>

│ │ │ +001dfd80: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +001dfda0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +001dfdf0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ +001dfe20: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ +001dfd90: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +001dfdb0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +001dfe00: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ +001dfe10: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
- name: Ensur
│ │ │ +001dfe40: 6520 6269 6e64 3920 6973 2072 656d 6f76  e bind9 is remov
│ │ │ +001dfe50: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ +001dfe60: 2020 6e61 6d65 3a20 6269 6e64 390a 2020    name: bind9.  
│ │ │ +001dfe70: 2020 7374 6174 653a 2061 6273 656e 740a    state: absent.
│ │ │ +001dfe80: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ +001dfe90: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ +001dfea0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001dfeb0: 434d 2d37 2861 290a 2020 2d20 4e49 5354  CM-7(a).  - NIST
│ │ │ +001dfec0: 2d38 3030 2d35 332d 434d 2d37 2862 290a  -800-53-CM-7(b).
│ │ │ +001dfed0: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ +001dfee0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +001dfef0: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +001dff00: 6469 7372 7570 7469 6f6e 0a20 202d 206c  disruption.  - l
│ │ │ +001dff10: 6f77 5f73 6576 6572 6974 790a 2020 2d20  ow_severity.  - 
│ │ │ +001dff20: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ +001dff30: 0a20 202d 2070 6163 6b61 6765 5f62 696e  .  - package_bin
│ │ │ +001dff40: 645f 7265 6d6f 7665 640a 3c2f 636f 6465  d_removed.
Rem │ │ │ +001e0000: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ +001e0010: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +001e0020: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ +001e00b0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
i
│ │ │ +001e0150: 6e63 6c75 6465 2072 656d 6f76 655f 6269  nclude remove_bi
│ │ │ +001e0160: 6e64 390a 0a63 6c61 7373 2072 656d 6f76  nd9..class remov
│ │ │ +001e0170: 655f 6269 6e64 3920 7b0a 2020 7061 636b  e_bind9 {.  pack
│ │ │ +001e0180: 6167 6520 7b20 2762 696e 6439 273a 0a20  age { 'bind9':. 
│ │ │ +001e0190: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ +001e01a0: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a  'purged',.  }.}.
│ │ │  001e01b0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation │ │ │ -001e1bf0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -001e1c00: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -001e1c80: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ -001e1cc0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 disable
│ │ │ +001e00a0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +001e00d0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +001e00e0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +001e0120: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +001e0130: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexit │ │ │ -001e1c90: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ -001e1cb0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ -001e1ce0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -001e1d00: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
│ │ │ -001e1d30: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ -001e1d40: 6d6f 7665 5f76 7366 7470 640a 0a63 6c61  move_vsftpd..cla
│ │ │ -001e1d50: 7373 2072 656d 6f76 655f 7673 6674 7064  ss remove_vsftpd
│ │ │ -001e1d60: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ -001e1d70: 7673 6674 7064 273a 0a20 2020 2065 6e73  vsftpd':.    ens
│ │ │ -001e1d80: 7572 6520 3d26 6774 3b20 2770 7572 6765  ure => 'purge
│ │ │ -001e1d90: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Rem │ │ │ -001e1e50: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ -001e1e60: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -001e1e70: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -001e1f40: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -001e1f50: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -001e1fa0: 2d20 6e61 6d65 3a20 456e 7375 7265 2076  - name: Ensure v
│ │ │ -001e1fb0: 7366 7470 6420 6973 2072 656d 6f76 6564  sftpd is removed
│ │ │ -001e1fc0: 0a20 2070 6163 6b61 6765 3a0a 2020 2020  .  package:.    
│ │ │ -001e1fd0: 6e61 6d65 3a20 7673 6674 7064 0a20 2020  name: vsftpd.   
│ │ │ -001e1fe0: 2073 7461 7465 3a20 6162 7365 6e74 0a20   state: absent. 
│ │ │ -001e1ff0: 2074 6167 733a 0a20 202d 204e 4953 542d   tags:.  - NIST-
│ │ │ -001e2000: 3830 302d 3533 2d43 4d2d 3628 6129 0a20  800-53-CM-6(a). 
│ │ │ -001e2010: 202d 204e 4953 542d 3830 302d 3533 2d43   - NIST-800-53-C
│ │ │ -001e2020: 4d2d 370a 2020 2d20 4e49 5354 2d38 3030  M-7.  - NIST-800
│ │ │ -001e2030: 2d35 332d 434d 2d37 2861 290a 2020 2d20  -53-CM-7(a).  - 
│ │ │ -001e2040: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ -001e2050: 2862 290a 2020 2d20 4e49 5354 2d38 3030  (b).  - NIST-800
│ │ │ -001e2060: 2d35 332d 434d 2d37 2e31 2869 6929 0a20  -53-CM-7.1(ii). 
│ │ │ -001e2070: 202d 204e 4953 542d 3830 302d 3533 2d49   - NIST-800-53-I
│ │ │ -001e2080: 412d 3528 3129 2863 290a 2020 2d20 4e49  A-5(1)(c).  - NI
│ │ │ -001e2090: 5354 2d38 3030 2d35 332d 4941 2d35 2831  ST-800-53-IA-5(1
│ │ │ -001e20a0: 292e 3128 7629 0a20 202d 2064 6973 6162  ).1(v).  - disab
│ │ │ -001e20b0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -001e20c0: 6869 6768 5f73 6576 6572 6974 790a 2020  high_severity.  
│ │ │ -001e20d0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -001e20e0: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -001e20f0: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f  ion.  - no_reboo
│ │ │ -001e2100: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ -001e2110: 6b61 6765 5f76 7366 7470 645f 7265 6d6f  kage_vsftpd_remo
│ │ │ -001e2120: 7665 640a 3c2f 636f 6465 3e3c 2f70 7265  ved.

│ │ │ +001e1c80: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ +001e1d10: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +001e1d20: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
Complexity:low
Disrup │ │ │ -001e1f20: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -001e1f30: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -001e1f70: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -001e1f80: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexi │ │ │ +001e1c90: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +001e1ca0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ +001e1ce0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +001e1cf0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
- name: E
│ │ │ +001e1d40: 6e73 7572 6520 7673 6674 7064 2069 7320  nsure vsftpd is 
│ │ │ +001e1d50: 7265 6d6f 7665 640a 2020 7061 636b 6167  removed.  packag
│ │ │ +001e1d60: 653a 0a20 2020 206e 616d 653a 2076 7366  e:.    name: vsf
│ │ │ +001e1d70: 7470 640a 2020 2020 7374 6174 653a 2061  tpd.    state: a
│ │ │ +001e1d80: 6273 656e 740a 2020 7461 6773 3a0a 2020  bsent.  tags:.  
│ │ │ +001e1d90: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +001e1da0: 2d36 2861 290a 2020 2d20 4e49 5354 2d38  -6(a).  - NIST-8
│ │ │ +001e1db0: 3030 2d35 332d 434d 2d37 0a20 202d 204e  00-53-CM-7.  - N
│ │ │ +001e1dc0: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ +001e1dd0: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ +001e1de0: 3533 2d43 4d2d 3728 6229 0a20 202d 204e  53-CM-7(b).  - N
│ │ │ +001e1df0: 4953 542d 3830 302d 3533 2d43 4d2d 372e  IST-800-53-CM-7.
│ │ │ +001e1e00: 3128 6969 290a 2020 2d20 4e49 5354 2d38  1(ii).  - NIST-8
│ │ │ +001e1e10: 3030 2d35 332d 4941 2d35 2831 2928 6329  00-53-IA-5(1)(c)
│ │ │ +001e1e20: 0a20 202d 204e 4953 542d 3830 302d 3533  .  - NIST-800-53
│ │ │ +001e1e30: 2d49 412d 3528 3129 2e31 2876 290a 2020  -IA-5(1).1(v).  
│ │ │ +001e1e40: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ +001e1e50: 6779 0a20 202d 2068 6967 685f 7365 7665  gy.  - high_seve
│ │ │ +001e1e60: 7269 7479 0a20 202d 206c 6f77 5f63 6f6d  rity.  - low_com
│ │ │ +001e1e70: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +001e1e80: 6469 7372 7570 7469 6f6e 0a20 202d 206e  disruption.  - n
│ │ │ +001e1e90: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +001e1ea0: 2020 2d20 7061 636b 6167 655f 7673 6674    - package_vsft
│ │ │ +001e1eb0: 7064 5f72 656d 6f76 6564 0a3c 2f63 6f64  pd_removed.
Re │ │ │ +001e1f70: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ +001e1f80: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ +001e1f90: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ +001e2060: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +001e2070: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +001e20c0: 696e 636c 7564 6520 7265 6d6f 7665 5f76  include remove_v
│ │ │ +001e20d0: 7366 7470 640a 0a63 6c61 7373 2072 656d  sftpd..class rem
│ │ │ +001e20e0: 6f76 655f 7673 6674 7064 207b 0a20 2070  ove_vsftpd {.  p
│ │ │ +001e20f0: 6163 6b61 6765 207b 2027 7673 6674 7064  ackage { 'vsftpd
│ │ │ +001e2100: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ +001e2110: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ +001e2120: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediation │ │ │ -001e3a60: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -001e3a70: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -001e3af0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ -001e3b30: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 disable
Complexity:low
Disrup │ │ │ +001e2040: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +001e2050: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +001e2090: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +001e20a0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexit │ │ │ -001e3b00: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ -001e3b20: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ -001e3b50: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -001e3b70: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
│ │ │ -001e3ba0: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ -001e3bb0: 6d6f 7665 5f61 7061 6368 6532 0a0a 636c  move_apache2..cl
│ │ │ -001e3bc0: 6173 7320 7265 6d6f 7665 5f61 7061 6368  ass remove_apach
│ │ │ -001e3bd0: 6532 207b 0a20 2070 6163 6b61 6765 207b  e2 {.  package {
│ │ │ -001e3be0: 2027 6170 6163 6865 3227 3a0a 2020 2020   'apache2':.    
│ │ │ -001e3bf0: 656e 7375 7265 203d 2667 743b 2027 7075  ensure => 'pu
│ │ │ -001e3c00: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63  rged',.  }.}.
│ │ │ -001e3c20: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ -001e3cc0: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi │ │ │ -001e3cd0: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...< │ │ │ -001e3ce0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -001e3d60: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -001e3d80: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -001e3dd0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -001e3e00: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -001e3d70: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -001e3d90: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -001e3de0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -001e3df0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
- name: Ensur
│ │ │ -001e3e20: 6520 6170 6163 6865 3220 6973 2072 656d  e apache2 is rem
│ │ │ -001e3e30: 6f76 6564 0a20 2070 6163 6b61 6765 3a0a  oved.  package:.
│ │ │ -001e3e40: 2020 2020 6e61 6d65 3a20 6170 6163 6865      name: apache
│ │ │ -001e3e50: 320a 2020 2020 7374 6174 653a 2061 6273  2.    state: abs
│ │ │ -001e3e60: 656e 740a 2020 7461 6773 3a0a 2020 2d20  ent.  tags:.  - 
│ │ │ -001e3e70: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ -001e3e80: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ -001e3e90: 2d35 332d 434d 2d37 2861 290a 2020 2d20  -53-CM-7(a).  - 
│ │ │ -001e3ea0: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ -001e3eb0: 2862 290a 2020 2d20 6469 7361 626c 655f  (b).  - disable_
│ │ │ -001e3ec0: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -001e3ed0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -001e3ee0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -001e3ef0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -001e3f00: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ -001e3f10: 6874 7470 645f 7265 6d6f 7665 640a 2020  httpd_removed.  
│ │ │ -001e3f20: 2d20 756e 6b6e 6f77 6e5f 7365 7665 7269  - unknown_severi
│ │ │ -001e3f30: 7479 0a3c 2f63 6f64 653e 3c2f 7072 653e  ty.
│ │ │ +001e3a60: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ +001e3a70: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...

│ │ │ +001e3af0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +001e3b00: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +001e3b10: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +001e3b50: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +001e3b60: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +001e3b80: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +001e3b90: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: E
│ │ │ +001e3bb0: 6e73 7572 6520 6170 6163 6865 3220 6973  nsure apache2 is
│ │ │ +001e3bc0: 2072 656d 6f76 6564 0a20 2070 6163 6b61   removed.  packa
│ │ │ +001e3bd0: 6765 3a0a 2020 2020 6e61 6d65 3a20 6170  ge:.    name: ap
│ │ │ +001e3be0: 6163 6865 320a 2020 2020 7374 6174 653a  ache2.    state:
│ │ │ +001e3bf0: 2061 6273 656e 740a 2020 7461 6773 3a0a   absent.  tags:.
│ │ │ +001e3c00: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001e3c10: 434d 2d36 2861 290a 2020 2d20 4e49 5354  CM-6(a).  - NIST
│ │ │ +001e3c20: 2d38 3030 2d35 332d 434d 2d37 2861 290a  -800-53-CM-7(a).
│ │ │ +001e3c30: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +001e3c40: 434d 2d37 2862 290a 2020 2d20 6469 7361  CM-7(b).  - disa
│ │ │ +001e3c50: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +001e3c60: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +001e3c70: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +001e3c80: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74  on.  - no_reboot
│ │ │ +001e3c90: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ +001e3ca0: 6167 655f 6874 7470 645f 7265 6d6f 7665  age_httpd_remove
│ │ │ +001e3cb0: 640a 2020 2d20 756e 6b6e 6f77 6e5f 7365  d.  - unknown_se
│ │ │ +001e3cc0: 7665 7269 7479 0a3c 2f63 6f64 653e 3c2f  verity.
Remedi │ │ │ +001e3d80: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ +001e3d90: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +001e3da0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +001e3e20: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +001e3e50: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +001e3e70: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +001e3e80: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +001e3ea0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +001e3eb0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +001e3ed0: 7564 6520 7265 6d6f 7665 5f61 7061 6368  ude remove_apach
│ │ │ +001e3ee0: 6532 0a0a 636c 6173 7320 7265 6d6f 7665  e2..class remove
│ │ │ +001e3ef0: 5f61 7061 6368 6532 207b 0a20 2070 6163  _apache2 {.  pac
│ │ │ +001e3f00: 6b61 6765 207b 2027 6170 6163 6865 3227  kage { 'apache2'
│ │ │ +001e3f10: 3a0a 2020 2020 656e 7375 7265 203d 2667  :.    ensure =&g
│ │ │ +001e3f20: 743b 2027 7075 7267 6564 272c 0a20 207d  t; 'purged',.  }
│ │ │ +001e3f30: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ 001e3f40: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Re │ │ │ -001e52e0: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -001e52f0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -001e5300: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -001e53d0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -001e53e0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -001e5430: 696e 636c 7564 6520 7265 6d6f 7665 5f6e  include remove_n
│ │ │ -001e5440: 6769 6e78 0a0a 636c 6173 7320 7265 6d6f  ginx..class remo
│ │ │ -001e5450: 7665 5f6e 6769 6e78 207b 0a20 2070 6163  ve_nginx {.  pac
│ │ │ -001e5460: 6b61 6765 207b 2027 6e67 696e 7827 3a0a  kage { 'nginx':.
│ │ │ -001e5470: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ -001e5480: 2027 7075 7267 6564 272c 0a20 207d 0a7d   'purged',.  }.}
│ │ │ -001e5490: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -001e5550: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -001e5560: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001e55e0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ -001e5670: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -001e5680: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
Complexity:low
Disrup │ │ │ -001e53b0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -001e53c0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -001e5400: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -001e5410: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexi │ │ │ -001e55f0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -001e5600: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ -001e5640: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -001e5650: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
- name: E
│ │ │ -001e56a0: 6e73 7572 6520 6e67 696e 7820 6973 2072  nsure nginx is r
│ │ │ -001e56b0: 656d 6f76 6564 0a20 2070 6163 6b61 6765  emoved.  package
│ │ │ -001e56c0: 3a0a 2020 2020 6e61 6d65 3a20 6e67 696e  :.    name: ngin
│ │ │ -001e56d0: 780a 2020 2020 7374 6174 653a 2061 6273  x.    state: abs
│ │ │ -001e56e0: 656e 740a 2020 7461 6773 3a0a 2020 2d20  ent.  tags:.  - 
│ │ │ -001e56f0: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ -001e5700: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ -001e5710: 2d35 332d 434d 2d37 2861 290a 2020 2d20  -53-CM-7(a).  - 
│ │ │ -001e5720: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ -001e5730: 2862 290a 2020 2d20 6469 7361 626c 655f  (b).  - disable_
│ │ │ -001e5740: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ -001e5750: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ -001e5760: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ -001e5770: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -001e5780: 6465 640a 2020 2d20 7061 636b 6167 655f  ded.  - package_
│ │ │ -001e5790: 6e67 696e 785f 7265 6d6f 7665 640a 2020  nginx_removed.  
│ │ │ -001e57a0: 2d20 756e 6b6e 6f77 6e5f 7365 7665 7269  - unknown_severi
│ │ │ -001e57b0: 7479 0a3c 2f63 6f64 653e 3c2f 7072 653e  ty.
│ │ │ +001e52e0: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ +001e52f0: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
Complexity: │ │ │ +001e53d0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +001e53e0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
- name: Ensure 
│ │ │ +001e5440: 6e67 696e 7820 6973 2072 656d 6f76 6564  nginx is removed
│ │ │ +001e5450: 0a20 2070 6163 6b61 6765 3a0a 2020 2020  .  package:.    
│ │ │ +001e5460: 6e61 6d65 3a20 6e67 696e 780a 2020 2020  name: nginx.    
│ │ │ +001e5470: 7374 6174 653a 2061 6273 656e 740a 2020  state: absent.  
│ │ │ +001e5480: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38  tags:.  - NIST-8
│ │ │ +001e5490: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ +001e54a0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +001e54b0: 2d37 2861 290a 2020 2d20 4e49 5354 2d38  -7(a).  - NIST-8
│ │ │ +001e54c0: 3030 2d35 332d 434d 2d37 2862 290a 2020  00-53-CM-7(b).  
│ │ │ +001e54d0: 2d20 6469 7361 626c 655f 7374 7261 7465  - disable_strate
│ │ │ +001e54e0: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c  gy.  - low_compl
│ │ │ +001e54f0: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +001e5500: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f  sruption.  - no_
│ │ │ +001e5510: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +001e5520: 2d20 7061 636b 6167 655f 6e67 696e 785f  - package_nginx_
│ │ │ +001e5530: 7265 6d6f 7665 640a 2020 2d20 756e 6b6e  removed.  - unkn
│ │ │ +001e5540: 6f77 6e5f 7365 7665 7269 7479 0a3c 2f63  own_severity.
│ │ │ +001e5560: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +001e5600: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ +001e5610: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
low
Disru │ │ │ +001e53b0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +001e53c0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +001e5400: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +001e5410: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
< │ │ │ +001e56a0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +001e56c0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +001e5710: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +001e5740: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include remove
│ │ │ +001e5760: 5f6e 6769 6e78 0a0a 636c 6173 7320 7265  _nginx..class re
│ │ │ +001e5770: 6d6f 7665 5f6e 6769 6e78 207b 0a20 2070  move_nginx {.  p
│ │ │ +001e5780: 6163 6b61 6765 207b 2027 6e67 696e 7827  ackage { 'nginx'
│ │ │ +001e5790: 3a0a 2020 2020 656e 7375 7265 203d 2667  :.    ensure =&g
│ │ │ +001e57a0: 743b 2027 7075 7267 6564 272c 0a20 207d  t; 'purged',.  }
│ │ │ +001e57b0: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ 001e57c0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Re │ │ │ -001e6a60: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -001e6a70: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -001e6a80: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
low
Disr │ │ │ +001e56d0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +001e56e0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +001e5720: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +001e5730: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
< │ │ │ -001e6b50: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -001e6b60: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -001e6bb0: 696e 636c 7564 6520 7265 6d6f 7665 5f63  include remove_c
│ │ │ -001e6bc0: 7972 7573 2d69 6d61 7064 0a0a 636c 6173  yrus-imapd..clas
│ │ │ -001e6bd0: 7320 7265 6d6f 7665 5f63 7972 7573 2d69  s remove_cyrus-i
│ │ │ -001e6be0: 6d61 7064 207b 0a20 2070 6163 6b61 6765  mapd {.  package
│ │ │ -001e6bf0: 207b 2027 6379 7275 732d 696d 6170 6427   { 'cyrus-imapd'
│ │ │ -001e6c00: 3a0a 2020 2020 656e 7375 7265 203d 2667  :.    ensure =&g
│ │ │ -001e6c10: 743b 2027 7075 7267 6564 272c 0a20 207d  t; 'purged',.  }
│ │ │ -001e6c20: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ -001e6c30: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediatio │ │ │ -001e6ce0: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ -001e6cf0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -001e6d30: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
Complexity:low
Disrup │ │ │ -001e6b30: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -001e6b40: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -001e6b80: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -001e6b90: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
< │ │ │ -001e6da0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -001e6dc0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -001e6df0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -001e6d80: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -001e6d90: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -001e6dd0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -001e6de0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

- name: │ │ │ -001e6e30: 2045 6e73 7572 6520 6379 7275 732d 696d Ensure cyrus-im │ │ │ -001e6e40: 6170 6420 6973 2072 656d 6f76 6564 0a20 apd is removed. │ │ │ -001e6e50: 2070 6163 6b61 6765 3a0a 2020 2020 6e61 package:. na │ │ │ -001e6e60: 6d65 3a20 6379 7275 732d 696d 6170 640a me: cyrus-imapd. │ │ │ -001e6e70: 2020 2020 7374 6174 653a 2061 6273 656e state: absen │ │ │ -001e6e80: 740a 2020 7461 6773 3a0a 2020 2d20 6469 t. tags:. - di │ │ │ -001e6e90: 7361 626c 655f 7374 7261 7465 6779 0a20 sable_strategy. │ │ │ -001e6ea0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit │ │ │ -001e6eb0: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup │ │ │ -001e6ec0: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f tion. - no_rebo │ │ │ -001e6ed0: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa │ │ │ -001e6ee0: 636b 6167 655f 6379 7275 732d 696d 6170 ckage_cyrus-imap │ │ │ -001e6ef0: 645f 7265 6d6f 7665 640a 2020 2d20 756e d_removed. - un │ │ │ -001e6f00: 6b6e 6f77 6e5f 7365 7665 7269 7479 0a3c known_severity.< │ │ │ +001e6a60: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl │ │ │ +001e6a70: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...

Complexity: │ │ │ +001e6b50: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +001e6b60: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
- name: Ensure 
│ │ │ +001e6bc0: 6379 7275 732d 696d 6170 6420 6973 2072  cyrus-imapd is r
│ │ │ +001e6bd0: 656d 6f76 6564 0a20 2070 6163 6b61 6765  emoved.  package
│ │ │ +001e6be0: 3a0a 2020 2020 6e61 6d65 3a20 6379 7275  :.    name: cyru
│ │ │ +001e6bf0: 732d 696d 6170 640a 2020 2020 7374 6174  s-imapd.    stat
│ │ │ +001e6c00: 653a 2061 6273 656e 740a 2020 7461 6773  e: absent.  tags
│ │ │ +001e6c10: 3a0a 2020 2d20 6469 7361 626c 655f 7374  :.  - disable_st
│ │ │ +001e6c20: 7261 7465 6779 0a20 202d 206c 6f77 5f63  rategy.  - low_c
│ │ │ +001e6c30: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f  omplexity.  - lo
│ │ │ +001e6c40: 775f 6469 7372 7570 7469 6f6e 0a20 202d  w_disruption.  -
│ │ │ +001e6c50: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +001e6c60: 640a 2020 2d20 7061 636b 6167 655f 6379  d.  - package_cy
│ │ │ +001e6c70: 7275 732d 696d 6170 645f 7265 6d6f 7665  rus-imapd_remove
│ │ │ +001e6c80: 640a 2020 2d20 756e 6b6e 6f77 6e5f 7365  d.  - unknown_se
│ │ │ +001e6c90: 7665 7269 7479 0a3c 2f63 6f64 653e 3c2f  verity.Remedi
│ │ │ +001e6d50: 6174 696f 6e20 5075 7070 6574 2073 6e69  ation Puppet sni
│ │ │ +001e6d60: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e  ppet ...
│ │ │ +001e6d70: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
low
Disru │ │ │ +001e6b30: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +001e6b40: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +001e6b80: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +001e6b90: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Com │ │ │ +001e6df0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +001e6e20: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +001e6e40: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +001e6e50: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +001e6e70: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +001e6e80: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +001e6ea0: 7564 6520 7265 6d6f 7665 5f63 7972 7573  ude remove_cyrus
│ │ │ +001e6eb0: 2d69 6d61 7064 0a0a 636c 6173 7320 7265  -imapd..class re
│ │ │ +001e6ec0: 6d6f 7665 5f63 7972 7573 2d69 6d61 7064  move_cyrus-imapd
│ │ │ +001e6ed0: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ +001e6ee0: 6379 7275 732d 696d 6170 6427 3a0a 2020  cyrus-imapd':.  
│ │ │ +001e6ef0: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ +001e6f00: 7075 7267 6564 272c 0a20 207d 0a7d 0a3c  purged',.  }.}.<
│ │ │  001e6f10: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation Pu │ │ │ -001e7dd0: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ -001e7de0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: │ │ │ -001e7e70: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 lowDi │ │ │ -001e7e90: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:low< │ │ │ -001e7eb0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:falseSt │ │ │ -001e7ee0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -001e7ef0: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
include remo
│ │ │ -001e7f20: 7665 5f64 6f76 6563 6f74 2d63 6f72 650a  ve_dovecot-core.
│ │ │ -001e7f30: 0a63 6c61 7373 2072 656d 6f76 655f 646f  .class remove_do
│ │ │ -001e7f40: 7665 636f 742d 636f 7265 207b 0a20 2070  vecot-core {.  p
│ │ │ -001e7f50: 6163 6b61 6765 207b 2027 646f 7665 636f  ackage { 'doveco
│ │ │ -001e7f60: 742d 636f 7265 273a 0a20 2020 2065 6e73  t-core':.    ens
│ │ │ -001e7f70: 7572 6520 3d26 6774 3b20 2770 7572 6765  ure => 'purge
│ │ │ -001e7f80: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Rem │ │ │ -001e8040: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ -001e8050: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -001e8060: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -001e8130: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -001e8140: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -001e8190: 2d20 6e61 6d65 3a20 456e 7375 7265 2064  - name: Ensure d
│ │ │ -001e81a0: 6f76 6563 6f74 2d63 6f72 6520 6973 2072  ovecot-core is r
│ │ │ -001e81b0: 656d 6f76 6564 0a20 2070 6163 6b61 6765  emoved.  package
│ │ │ -001e81c0: 3a0a 2020 2020 6e61 6d65 3a20 646f 7665  :.    name: dove
│ │ │ -001e81d0: 636f 742d 636f 7265 0a20 2020 2073 7461  cot-core.    sta
│ │ │ -001e81e0: 7465 3a20 6162 7365 6e74 0a20 2074 6167  te: absent.  tag
│ │ │ -001e81f0: 733a 0a20 202d 2064 6973 6162 6c65 5f73  s:.  - disable_s
│ │ │ -001e8200: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ -001e8210: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -001e8220: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -001e8230: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -001e8240: 6564 0a20 202d 2070 6163 6b61 6765 5f64  ed.  - package_d
│ │ │ -001e8250: 6f76 6563 6f74 5f72 656d 6f76 6564 0a20  ovecot_removed. 
│ │ │ -001e8260: 202d 2075 6e6b 6e6f 776e 5f73 6576 6572   - unknown_sever
│ │ │ -001e8270: 6974 790a 3c2f 636f 6465 3e3c 2f70 7265  ity.
Remediation An │ │ │ +001e7dd0: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ +001e7de0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
< │ │ │ +001e7ea0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001e7eb0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c
Complexity:low
Disrup │ │ │ -001e8110: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -001e8120: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -001e8160: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -001e8170: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexity │ │ │ +001e7e70: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
D │ │ │ +001e7e90: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:
Reboot:< │ │ │ +001e7ec0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>false
S │ │ │ +001e7ee0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ +001e7f10: 636f 6465 3e2d 206e 616d 653a 2045 6e73  code>- name: Ens
│ │ │ +001e7f20: 7572 6520 646f 7665 636f 742d 636f 7265  ure dovecot-core
│ │ │ +001e7f30: 2069 7320 7265 6d6f 7665 640a 2020 7061   is removed.  pa
│ │ │ +001e7f40: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ +001e7f50: 2064 6f76 6563 6f74 2d63 6f72 650a 2020   dovecot-core.  
│ │ │ +001e7f60: 2020 7374 6174 653a 2061 6273 656e 740a    state: absent.
│ │ │ +001e7f70: 2020 7461 6773 3a0a 2020 2d20 6469 7361    tags:.  - disa
│ │ │ +001e7f80: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +001e7f90: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +001e7fa0: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +001e7fb0: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74  on.  - no_reboot
│ │ │ +001e7fc0: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ +001e7fd0: 6167 655f 646f 7665 636f 745f 7265 6d6f  age_dovecot_remo
│ │ │ +001e7fe0: 7665 640a 2020 2d20 756e 6b6e 6f77 6e5f  ved.  - unknown_
│ │ │ +001e7ff0: 7365 7665 7269 7479 0a3c 2f63 6f64 653e  severity.
│ │ │ +001e8000: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Reme │ │ │ +001e80b0: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s │ │ │ +001e80c0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ +001e8160: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001e8170: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +001e81c0: 3c74 723e 3c74 683e 5374 7261 7465 6779
in
│ │ │ +001e8200: 636c 7564 6520 7265 6d6f 7665 5f64 6f76  clude remove_dov
│ │ │ +001e8210: 6563 6f74 2d63 6f72 650a 0a63 6c61 7373  ecot-core..class
│ │ │ +001e8220: 2072 656d 6f76 655f 646f 7665 636f 742d   remove_dovecot-
│ │ │ +001e8230: 636f 7265 207b 0a20 2070 6163 6b61 6765  core {.  package
│ │ │ +001e8240: 207b 2027 646f 7665 636f 742d 636f 7265   { 'dovecot-core
│ │ │ +001e8250: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ +001e8260: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ +001e8270: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediation Pu │ │ │ -001e9900: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ... │ │ │ -001e9910: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low< │ │ │ -001e99e0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>
C │ │ │ +001e8150: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +001e8180: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +001e8190: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +001e81d0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ +001e81e0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexity: │ │ │ -001e99a0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ -001e99c0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ -001e9a10: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -001e9a20: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
include remo
│ │ │ -001e9a50: 7665 5f6c 6461 702d 7574 696c 730a 0a63  ve_ldap-utils..c
│ │ │ -001e9a60: 6c61 7373 2072 656d 6f76 655f 6c64 6170  lass remove_ldap
│ │ │ -001e9a70: 2d75 7469 6c73 207b 0a20 2070 6163 6b61  -utils {.  packa
│ │ │ -001e9a80: 6765 207b 2027 6c64 6170 2d75 7469 6c73  ge { 'ldap-utils
│ │ │ -001e9a90: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ -001e9aa0: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ -001e9ab0: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ -001e9b70: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -001e9b80: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001e9c30: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -001e9c50: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -001e9c80: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -001e9c10: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -001e9c20: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -001e9c40: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -001e9c60: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -001e9c70: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -001e9cb0: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -001e9cc0: 3a20 456e 7375 7265 206c 6461 702d 7574 : Ensure ldap-ut │ │ │ -001e9cd0: 696c 7320 6973 2072 656d 6f76 6564 0a20 ils is removed. │ │ │ -001e9ce0: 2070 6163 6b61 6765 3a0a 2020 2020 6e61 package:. na │ │ │ -001e9cf0: 6d65 3a20 6c64 6170 2d75 7469 6c73 0a20 me: ldap-utils. │ │ │ -001e9d00: 2020 2073 7461 7465 3a20 6162 7365 6e74 state: absent │ │ │ -001e9d10: 0a20 2074 6167 733a 0a20 202d 2064 6973 . tags:. - dis │ │ │ -001e9d20: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy. │ │ │ -001e9d30: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity │ │ │ -001e9d40: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt │ │ │ -001e9d50: 696f 6e0a 2020 2d20 6c6f 775f 7365 7665 ion. - low_seve │ │ │ -001e9d60: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo │ │ │ -001e9d70: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa │ │ │ -001e9d80: 636b 6167 655f 6f70 656e 6c64 6170 2d63 ckage_openldap-c │ │ │ -001e9d90: 6c69 656e 7473 5f72 656d 6f76 6564 0a3c lients_removed.< │ │ │ +001e98f0: 223e 5265 6d65 6469 6174 696f 6e20 416e ">Remediation An │ │ │ +001e9900: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ +001e9910: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ +001e99a0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +001e99c0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +001e99d0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001e99e0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +001e99f0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +001e9a10: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ +001e9a40: 636f 6465 3e2d 206e 616d 653a 2045 6e73  code>- name: Ens
│ │ │ +001e9a50: 7572 6520 6c64 6170 2d75 7469 6c73 2069  ure ldap-utils i
│ │ │ +001e9a60: 7320 7265 6d6f 7665 640a 2020 7061 636b  s removed.  pack
│ │ │ +001e9a70: 6167 653a 0a20 2020 206e 616d 653a 206c  age:.    name: l
│ │ │ +001e9a80: 6461 702d 7574 696c 730a 2020 2020 7374  dap-utils.    st
│ │ │ +001e9a90: 6174 653a 2061 6273 656e 740a 2020 7461  ate: absent.  ta
│ │ │ +001e9aa0: 6773 3a0a 2020 2d20 6469 7361 626c 655f  gs:.  - disable_
│ │ │ +001e9ab0: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ +001e9ac0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +001e9ad0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +001e9ae0: 202d 206c 6f77 5f73 6576 6572 6974 790a   - low_severity.
│ │ │ +001e9af0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ +001e9b00: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ +001e9b10: 5f6f 7065 6e6c 6461 702d 636c 6965 6e74  _openldap-client
│ │ │ +001e9b20: 735f 7265 6d6f 7665 640a 3c2f 636f 6465  s_removed.
Rem │ │ │ +001e9be0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ +001e9bf0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +001e9c00: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ +001e9c90: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
i
│ │ │ +001e9d30: 6e63 6c75 6465 2072 656d 6f76 655f 6c64  nclude remove_ld
│ │ │ +001e9d40: 6170 2d75 7469 6c73 0a0a 636c 6173 7320  ap-utils..class 
│ │ │ +001e9d50: 7265 6d6f 7665 5f6c 6461 702d 7574 696c  remove_ldap-util
│ │ │ +001e9d60: 7320 7b0a 2020 7061 636b 6167 6520 7b20  s {.  package { 
│ │ │ +001e9d70: 276c 6461 702d 7574 696c 7327 3a0a 2020  'ldap-utils':.  
│ │ │ +001e9d80: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ +001e9d90: 7075 7267 6564 272c 0a20 207d 0a7d 0a3c  purged',.  }.}.<
│ │ │  001e9da0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation │ │ │ -001eb300: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -001eb310: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -001eb390: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ -001eb3d0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 disable
│ │ │ +001e9c80: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +001e9cb0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +001e9cc0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +001e9d00: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +001e9d10: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexit │ │ │ -001eb3a0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ -001eb3c0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ -001eb3f0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -001eb410: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
│ │ │ -001eb440: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ -001eb450: 6d6f 7665 5f73 6c61 7064 0a0a 636c 6173  move_slapd..clas
│ │ │ -001eb460: 7320 7265 6d6f 7665 5f73 6c61 7064 207b  s remove_slapd {
│ │ │ -001eb470: 0a20 2070 6163 6b61 6765 207b 2027 736c  .  package { 'sl
│ │ │ -001eb480: 6170 6427 3a0a 2020 2020 656e 7375 7265  apd':.    ensure
│ │ │ -001eb490: 203d 2667 743b 2027 7075 7267 6564 272c   => 'purged',
│ │ │ -001eb4a0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.
Remedi │ │ │ -001eb560: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn │ │ │ -001eb570: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -001eb620: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -001eb670: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ -001eb6b0: 616d 653a 2045 6e73 7572 6520 736c 6170  ame: Ensure slap
│ │ │ -001eb6c0: 6420 6973 2072 656d 6f76 6564 0a20 2070  d is removed.  p
│ │ │ -001eb6d0: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65  ackage:.    name
│ │ │ -001eb6e0: 3a20 736c 6170 640a 2020 2020 7374 6174  : slapd.    stat
│ │ │ -001eb6f0: 653a 2061 6273 656e 740a 2020 7461 6773  e: absent.  tags
│ │ │ -001eb700: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ -001eb710: 332d 434d 2d36 2861 290a 2020 2d20 4e49  3-CM-6(a).  - NI
│ │ │ -001eb720: 5354 2d38 3030 2d35 332d 434d 2d37 2861  ST-800-53-CM-7(a
│ │ │ -001eb730: 290a 2020 2d20 4e49 5354 2d38 3030 2d35  ).  - NIST-800-5
│ │ │ -001eb740: 332d 434d 2d37 2862 290a 2020 2d20 6469  3-CM-7(b).  - di
│ │ │ -001eb750: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ -001eb760: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -001eb770: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -001eb780: 7469 6f6e 0a20 202d 206c 6f77 5f73 6576  tion.  - low_sev
│ │ │ -001eb790: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -001eb7a0: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ -001eb7b0: 6163 6b61 6765 5f6f 7065 6e6c 6461 702d  ackage_openldap-
│ │ │ -001eb7c0: 7365 7276 6572 735f 7265 6d6f 7665 640a  servers_removed.
│ │ │ +001eb300: 416e 7369 626c 6520 736e 6970 7065 7420  Ansible snippet 
│ │ │ +001eb310: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620  ...
│ │ │ +001eb390: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ +001eb420: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +001eb430: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
Co │ │ │ -001eb600: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -001eb630: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -001eb650: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -001eb660: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -001eb680: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -001eb690: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complexi │ │ │ +001eb3a0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +001eb3b0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ +001eb3f0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +001eb400: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
- name: E
│ │ │ +001eb450: 6e73 7572 6520 736c 6170 6420 6973 2072  nsure slapd is r
│ │ │ +001eb460: 656d 6f76 6564 0a20 2070 6163 6b61 6765  emoved.  package
│ │ │ +001eb470: 3a0a 2020 2020 6e61 6d65 3a20 736c 6170  :.    name: slap
│ │ │ +001eb480: 640a 2020 2020 7374 6174 653a 2061 6273  d.    state: abs
│ │ │ +001eb490: 656e 740a 2020 7461 6773 3a0a 2020 2d20  ent.  tags:.  - 
│ │ │ +001eb4a0: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ +001eb4b0: 2861 290a 2020 2d20 4e49 5354 2d38 3030  (a).  - NIST-800
│ │ │ +001eb4c0: 2d35 332d 434d 2d37 2861 290a 2020 2d20  -53-CM-7(a).  - 
│ │ │ +001eb4d0: 4e49 5354 2d38 3030 2d35 332d 434d 2d37  NIST-800-53-CM-7
│ │ │ +001eb4e0: 2862 290a 2020 2d20 6469 7361 626c 655f  (b).  - disable_
│ │ │ +001eb4f0: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ +001eb500: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +001eb510: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +001eb520: 202d 206c 6f77 5f73 6576 6572 6974 790a   - low_severity.
│ │ │ +001eb530: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ +001eb540: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ +001eb550: 5f6f 7065 6e6c 6461 702d 7365 7276 6572  _openldap-server
│ │ │ +001eb560: 735f 7265 6d6f 7665 640a 3c2f 636f 6465  s_removed.
Rem │ │ │ +001eb620: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ +001eb630: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +001eb640: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ +001eb6d0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
i
│ │ │ +001eb770: 6e63 6c75 6465 2072 656d 6f76 655f 736c  nclude remove_sl
│ │ │ +001eb780: 6170 640a 0a63 6c61 7373 2072 656d 6f76  apd..class remov
│ │ │ +001eb790: 655f 736c 6170 6420 7b0a 2020 7061 636b  e_slapd {.  pack
│ │ │ +001eb7a0: 6167 6520 7b20 2773 6c61 7064 273a 0a20  age { 'slapd':. 
│ │ │ +001eb7b0: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ +001eb7c0: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a  'purged',.  }.}.
│ │ │  001eb7d0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Rem │ │ │ -001efbe0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ -001efbf0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -001efc00: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
│ │ │ +001eb6c0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +001eb6f0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +001eb700: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +001eb740: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ +001eb750: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
│ │ │ -001efc90: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
i
│ │ │ -001efd30: 6e63 6c75 6465 2072 656d 6f76 655f 7270  nclude remove_rp
│ │ │ -001efd40: 6362 696e 640a 0a63 6c61 7373 2072 656d  cbind..class rem
│ │ │ -001efd50: 6f76 655f 7270 6362 696e 6420 7b0a 2020  ove_rpcbind {.  
│ │ │ -001efd60: 7061 636b 6167 6520 7b20 2772 7063 6269  package { 'rpcbi
│ │ │ -001efd70: 6e64 273a 0a20 2020 2065 6e73 7572 6520  nd':.    ensure 
│ │ │ -001efd80: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ -001efd90: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remedia │ │ │ -001efe50: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni │ │ │ -001efe60: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001efe70: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ -001efc80: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ -001efcb0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ -001efcc0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ -001efd00: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y:disab │ │ │ -001efd10: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Com │ │ │ -001efef0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -001eff20: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -001eff40: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -001eff50: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -001eff70: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -001eff80: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -001effa0: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ -001effb0: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ -001effc0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ -001effd0: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ -001effe0: 2020 7461 6773 3a0a 2020 2d20 6469 7361    tags:.  - disa
│ │ │ -001efff0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ -001f0000: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ -001f0010: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ -001f0020: 6f6e 0a20 202d 206c 6f77 5f73 6576 6572  on.  - low_sever
│ │ │ -001f0030: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ -001f0040: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ -001f0050: 6b61 6765 5f72 7063 6269 6e64 5f72 656d  kage_rpcbind_rem
│ │ │ -001f0060: 6f76 6564 0a0a 2d20 6e61 6d65 3a20 456e  oved..- name: En
│ │ │ -001f0070: 7375 7265 2072 7063 6269 6e64 2069 7320  sure rpcbind is 
│ │ │ -001f0080: 7265 6d6f 7665 640a 2020 7061 636b 6167  removed.  packag
│ │ │ -001f0090: 653a 0a20 2020 206e 616d 653a 2072 7063  e:.    name: rpc
│ │ │ -001f00a0: 6269 6e64 0a20 2020 2073 7461 7465 3a20  bind.    state: 
│ │ │ -001f00b0: 6162 7365 6e74 0a20 2077 6865 6e3a 2027  absent.  when: '
│ │ │ -001f00c0: 226c 696e 7578 2d62 6173 6522 2069 6e20  "linux-base" in 
│ │ │ -001f00d0: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -001f00e0: 636b 6167 6573 270a 2020 7461 6773 3a0a  ckages'.  tags:.
│ │ │ -001f00f0: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ -001f0100: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ -001f0110: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -001f0120: 6469 7372 7570 7469 6f6e 0a20 202d 206c  disruption.  - l
│ │ │ -001f0130: 6f77 5f73 6576 6572 6974 790a 2020 2d20  ow_severity.  - 
│ │ │ -001f0140: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -001f0150: 0a20 202d 2070 6163 6b61 6765 5f72 7063  .  - package_rpc
│ │ │ -001f0160: 6269 6e64 5f72 656d 6f76 6564 0a3c 2f63  bind_removed.
│ │ │ +001efc00: 3c62 723e 3c64 6976 2063 6c61 7373 3d22  
< │ │ │ +001efcd0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +001efce0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ +001efd30: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ +001efd40: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ +001efd50: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ +001efd60: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ +001efd70: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ +001efd80: 6469 7361 626c 655f 7374 7261 7465 6779  disable_strategy
│ │ │ +001efd90: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +001efda0: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +001efdb0: 7570 7469 6f6e 0a20 202d 206c 6f77 5f73  uption.  - low_s
│ │ │ +001efdc0: 6576 6572 6974 790a 2020 2d20 6e6f 5f72  everity.  - no_r
│ │ │ +001efdd0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d  eboot_needed.  -
│ │ │ +001efde0: 2070 6163 6b61 6765 5f72 7063 6269 6e64   package_rpcbind
│ │ │ +001efdf0: 5f72 656d 6f76 6564 0a0a 2d20 6e61 6d65  _removed..- name
│ │ │ +001efe00: 3a20 456e 7375 7265 2072 7063 6269 6e64  : Ensure rpcbind
│ │ │ +001efe10: 2069 7320 7265 6d6f 7665 640a 2020 7061   is removed.  pa
│ │ │ +001efe20: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ +001efe30: 2072 7063 6269 6e64 0a20 2020 2073 7461   rpcbind.    sta
│ │ │ +001efe40: 7465 3a20 6162 7365 6e74 0a20 2077 6865  te: absent.  whe
│ │ │ +001efe50: 6e3a 2027 226c 696e 7578 2d62 6173 6522  n: '"linux-base"
│ │ │ +001efe60: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ +001efe70: 732e 7061 636b 6167 6573 270a 2020 7461  s.packages'.  ta
│ │ │ +001efe80: 6773 3a0a 2020 2d20 6469 7361 626c 655f  gs:.  - disable_
│ │ │ +001efe90: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ +001efea0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +001efeb0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +001efec0: 202d 206c 6f77 5f73 6576 6572 6974 790a   - low_severity.
│ │ │ +001efed0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ +001efee0: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ +001efef0: 5f72 7063 6269 6e64 5f72 656d 6f76 6564  _rpcbind_removed
│ │ │ +001eff00: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +001effc0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +001effd0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ +001f0050: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ +001f0090: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 disable
Complexity:low
Disrup │ │ │ +001efcb0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +001efcc0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +001efd00: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ +001efd10: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Complexit │ │ │ +001f0060: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ +001f0080: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ +001f00b0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +001f00d0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
│ │ │ +001f0100: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ +001f0110: 6d6f 7665 5f72 7063 6269 6e64 0a0a 636c  move_rpcbind..cl
│ │ │ +001f0120: 6173 7320 7265 6d6f 7665 5f72 7063 6269  ass remove_rpcbi
│ │ │ +001f0130: 6e64 207b 0a20 2070 6163 6b61 6765 207b  nd {.  package {
│ │ │ +001f0140: 2027 7270 6362 696e 6427 3a0a 2020 2020   'rpcbind':.    
│ │ │ +001f0150: 656e 7375 7265 203d 2667 743b 2027 7075  ensure => 'pu
│ │ │ +001f0160: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63  rged',.  }.}.
│ │ │ 001f0180: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Remediation │ │ │ -001f0dd0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ -001f0de0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001f0e60: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ -001f0e70: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -001f0e80: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ -001f0ec0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -001f0ed0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ -001f0ef0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -001f0f00: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include r
│ │ │ -001f0f20: 656d 6f76 655f 6e66 732d 6b65 726e 656c  emove_nfs-kernel
│ │ │ -001f0f30: 2d73 6572 7665 720a 0a63 6c61 7373 2072  -server..class r
│ │ │ -001f0f40: 656d 6f76 655f 6e66 732d 6b65 726e 656c  emove_nfs-kernel
│ │ │ -001f0f50: 2d73 6572 7665 7220 7b0a 2020 7061 636b  -server {.  pack
│ │ │ -001f0f60: 6167 6520 7b20 276e 6673 2d6b 6572 6e65  age { 'nfs-kerne
│ │ │ -001f0f70: 6c2d 7365 7276 6572 273a 0a20 2020 2065  l-server':.    e
│ │ │ -001f0f80: 6e73 7572 6520 3d26 6774 3b20 2770 7572  nsure => 'pur
│ │ │ -001f0f90: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f  ged',.  }.}.
< │ │ │ -001f0fb0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ -001f0fc0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ -001f0fd0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ -001f0fe0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ -001f0ff0: 646d 3235 3333 3622 2074 6162 696e 6465 dm25336" tabinde │ │ │ -001f1000: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ -001f1010: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ -001f1020: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ -001f1030: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ -001f1040: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ -001f1050: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib │ │ │ -001f1060: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
< │ │ │ -001f10f0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ -001f1110: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ -001f1160: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ -001f1190: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
- name: Ensure
│ │ │ -001f11b0: 206e 6673 2d6b 6572 6e65 6c2d 7365 7276   nfs-kernel-serv
│ │ │ -001f11c0: 6572 2069 7320 7265 6d6f 7665 640a 2020  er is removed.  
│ │ │ -001f11d0: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ -001f11e0: 653a 206e 6673 2d6b 6572 6e65 6c2d 7365  e: nfs-kernel-se
│ │ │ -001f11f0: 7276 6572 0a20 2020 2073 7461 7465 3a20  rver.    state: 
│ │ │ -001f1200: 6162 7365 6e74 0a20 2074 6167 733a 0a20  absent.  tags:. 
│ │ │ -001f1210: 202d 2064 6973 6162 6c65 5f73 7472 6174   - disable_strat
│ │ │ -001f1220: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ -001f1230: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -001f1240: 6973 7275 7074 696f 6e0a 2020 2d20 6c6f  isruption.  - lo
│ │ │ -001f1250: 775f 7365 7665 7269 7479 0a20 202d 206e  w_severity.  - n
│ │ │ -001f1260: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -001f1270: 2020 2d20 7061 636b 6167 655f 6e66 732d    - package_nfs-
│ │ │ -001f1280: 6b65 726e 656c 2d73 6572 7665 725f 7265  kernel-server_re
│ │ │ -001f1290: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70  moved.


< │ │ │ +001f0e20: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +001f0e30: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +001f0e40: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +001f0e50: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +001f0e60: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >
Disruption:Strategy: │ │ │ +001f0ef0: 3c74 643e 6469 7361 626c 653c 2f74 643e │ │ │ +001f0f00: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
low
Disr │ │ │ -001f1120: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ -001f1130: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ -001f1170: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ -001f1180: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
Complex │ │ │ +001f0e70: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +001f0e80: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
low
Reboo │ │ │ +001f0ec0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +001f0ed0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
disable
- name: │ │ │ +001f0f20: 456e 7375 7265 206e 6673 2d6b 6572 6e65 Ensure nfs-kerne │ │ │ +001f0f30: 6c2d 7365 7276 6572 2069 7320 7265 6d6f l-server is remo │ │ │ +001f0f40: 7665 640a 2020 7061 636b 6167 653a 0a20 ved. package:. │ │ │ +001f0f50: 2020 206e 616d 653a 206e 6673 2d6b 6572 name: nfs-ker │ │ │ +001f0f60: 6e65 6c2d 7365 7276 6572 0a20 2020 2073 nel-server. s │ │ │ +001f0f70: 7461 7465 3a20 6162 7365 6e74 0a20 2074 tate: absent. t │ │ │ +001f0f80: 6167 733a 0a20 202d 2064 6973 6162 6c65 ags:. - disable │ │ │ +001f0f90: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo │ │ │ +001f0fa0: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. - │ │ │ +001f0fb0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption. │ │ │ +001f0fc0: 2020 2d20 6c6f 775f 7365 7665 7269 7479 - low_severity │ │ │ +001f0fd0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n │ │ │ +001f0fe0: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag │ │ │ +001f0ff0: 655f 6e66 732d 6b65 726e 656c 2d73 6572 e_nfs-kernel-ser │ │ │ +001f1000: 7665 725f 7265 6d6f 7665 640a 3c2f 636f ver_removed.
< │ │ │ +001f1020: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +001f1030: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +001f1040: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +001f1050: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +001f1060: 646d 3235 3333 3622 2074 6162 696e 6465 dm25336" tabinde │ │ │ +001f1070: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +001f1080: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +001f1090: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +001f10a0: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +001f10b0: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +001f10c0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +001f10d0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity: │ │ │ +001f11b0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +001f11c0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f
include remove_
│ │ │ +001f1220: 6e66 732d 6b65 726e 656c 2d73 6572 7665  nfs-kernel-serve
│ │ │ +001f1230: 720a 0a63 6c61 7373 2072 656d 6f76 655f  r..class remove_
│ │ │ +001f1240: 6e66 732d 6b65 726e 656c 2d73 6572 7665  nfs-kernel-serve
│ │ │ +001f1250: 7220 7b0a 2020 7061 636b 6167 6520 7b20  r {.  package { 
│ │ │ +001f1260: 276e 6673 2d6b 6572 6e65 6c2d 7365 7276  'nfs-kernel-serv
│ │ │ +001f1270: 6572 273a 0a20 2020 2065 6e73 7572 6520  er':.    ensure 
│ │ │ +001f1280: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ +001f1290: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Re │ │ │ -001f32f0: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil │ │ │ -001f3300: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip │ │ │ -001f3310: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -001f3320: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -001f3330: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -001f3340: 7365 2220 6964 3d22 6964 6d32 3535 3632 se" id="idm25562 │ │ │ -001f3350: 223e 3c70 7265 3e3c 636f 6465 3e0a 5b5b ">
.[[
│ │ │ -001f3360: 7061 636b 6167 6573 5d5d 0a6e 616d 6520  packages]].name 
│ │ │ -001f3370: 3d20 2273 7973 7465 6d64 2d74 696d 6573  = "systemd-times
│ │ │ -001f3380: 796e 6364 220a 7665 7273 696f 6e20 3d20  yncd".version = 
│ │ │ -001f3390: 222a 220a 3c2f 636f 6465 3e3c 2f70 7265  "*".
Remediati │ │ │ -001f3450: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -001f3460: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -001f34a0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
low
Disru │ │ │ +001f1190: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +001f11a0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +001f11e0: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy:dis │ │ │ +001f11f0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
< │ │ │ -001f3510: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -001f3530: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -001f3560: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: │ │ │ -001f3580: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
Comple │ │ │ -001f34f0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -001f3500: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -001f3540: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -001f3550: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
enable
include │ │ │ -001f35a0: 696e 7374 616c 6c5f 7379 7374 656d 642d install_systemd- │ │ │ -001f35b0: 7469 6d65 7379 6e63 640a 0a63 6c61 7373 timesyncd..class │ │ │ -001f35c0: 2069 6e73 7461 6c6c 5f73 7973 7465 6d64 install_systemd │ │ │ -001f35d0: 2d74 696d 6573 796e 6364 207b 0a20 2070 -timesyncd {. p │ │ │ -001f35e0: 6163 6b61 6765 207b 2027 7379 7374 656d ackage { 'system │ │ │ -001f35f0: 642d 7469 6d65 7379 6e63 6427 3a0a 2020 d-timesyncd':. │ │ │ -001f3600: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => ' │ │ │ -001f3610: 696e 7374 616c 6c65 6427 2c0a 2020 7d0a installed',. }. │ │ │ -001f3620: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.< │ │ │ -001f3630: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ -001f36e0: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet │ │ │ -001f36f0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -001f3730: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ -001f3740: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ -001f3750: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ -001f3760: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ -001f3770: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ -001f3780: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ -001f3790: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ -001f37d0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ -001f37e0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ -001f3800: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ -001f3810: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ -001f3830: 6174 6865 7220 7468 6520 7061 636b 6167  ather the packag
│ │ │ -001f3840: 6520 6661 6374 730a 2020 7061 636b 6167  e facts.  packag
│ │ │ -001f3850: 655f 6661 6374 733a 0a20 2020 206d 616e  e_facts:.    man
│ │ │ -001f3860: 6167 6572 3a20 6175 746f 0a20 2074 6167  ager: auto.  tag
│ │ │ -001f3870: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ -001f3880: 3533 2d43 4d2d 3628 6129 0a20 202d 2050  53-CM-6(a).  - P
│ │ │ -001f3890: 4349 2d44 5353 2d52 6571 2d31 302e 340a  CI-DSS-Req-10.4.
│ │ │ -001f38a0: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -001f38b0: 6567 790a 2020 2d20 6869 6768 5f73 6576  egy.  - high_sev
│ │ │ -001f38c0: 6572 6974 790a 2020 2d20 6c6f 775f 636f  erity.  - low_co
│ │ │ -001f38d0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -001f38e0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -001f38f0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -001f3900: 0a20 202d 2070 6163 6b61 6765 5f74 696d  .  - package_tim
│ │ │ -001f3910: 6573 796e 6364 5f69 6e73 7461 6c6c 6564  esyncd_installed
│ │ │ -001f3920: 0a0a 2d20 6e61 6d65 3a20 456e 7375 7265  ..- name: Ensure
│ │ │ -001f3930: 2073 7973 7465 6d64 2d74 696d 6573 796e   systemd-timesyn
│ │ │ -001f3940: 6364 2069 7320 696e 7374 616c 6c65 640a  cd is installed.
│ │ │ -001f3950: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ -001f3960: 616d 653a 2073 7973 7465 6d64 2d74 696d  ame: systemd-tim
│ │ │ -001f3970: 6573 796e 6364 0a20 2020 2073 7461 7465  esyncd.    state
│ │ │ -001f3980: 3a20 7072 6573 656e 740a 2020 7768 656e  : present.  when
│ │ │ -001f3990: 3a20 2722 6c69 6e75 782d 6261 7365 2220  : '"linux-base" 
│ │ │ -001f39a0: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ -001f39b0: 2e70 6163 6b61 6765 7327 0a20 2074 6167  .packages'.  tag
│ │ │ -001f39c0: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ -001f39d0: 3533 2d43 4d2d 3628 6129 0a20 202d 2050  53-CM-6(a).  - P
│ │ │ -001f39e0: 4349 2d44 5353 2d52 6571 2d31 302e 340a  CI-DSS-Req-10.4.
│ │ │ -001f39f0: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ -001f3a00: 6567 790a 2020 2d20 6869 6768 5f73 6576  egy.  - high_sev
│ │ │ -001f3a10: 6572 6974 790a 2020 2d20 6c6f 775f 636f  erity.  - low_co
│ │ │ -001f3a20: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ -001f3a30: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ -001f3a40: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -001f3a50: 0a20 202d 2070 6163 6b61 6765 5f74 696d  .  - package_tim
│ │ │ -001f3a60: 6573 796e 6364 5f69 6e73 7461 6c6c 6564  esyncd_installed
│ │ │ +001f32f0: 6d65 6469 6174 696f 6e20 416e 7369 626c  mediation Ansibl
│ │ │ +001f3300: 6520 736e 6970 7065 7420 e287 b23c 2f61  e snippet ...
Complexity: │ │ │ +001f33e0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +001f33f0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ +001f3440: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ +001f3450: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ +001f3460: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ +001f3470: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ +001f3480: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ +001f3490: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ +001f34a0: 2861 290a 2020 2d20 5043 492d 4453 532d  (a).  - PCI-DSS-
│ │ │ +001f34b0: 5265 712d 3130 2e34 0a20 202d 2065 6e61  Req-10.4.  - ena
│ │ │ +001f34c0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +001f34d0: 2068 6967 685f 7365 7665 7269 7479 0a20   high_severity. 
│ │ │ +001f34e0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +001f34f0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +001f3500: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f  tion.  - no_rebo
│ │ │ +001f3510: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ +001f3520: 636b 6167 655f 7469 6d65 7379 6e63 645f  ckage_timesyncd_
│ │ │ +001f3530: 696e 7374 616c 6c65 640a 0a2d 206e 616d  installed..- nam
│ │ │ +001f3540: 653a 2045 6e73 7572 6520 7379 7374 656d  e: Ensure system
│ │ │ +001f3550: 642d 7469 6d65 7379 6e63 6420 6973 2069  d-timesyncd is i
│ │ │ +001f3560: 6e73 7461 6c6c 6564 0a20 2070 6163 6b61  nstalled.  packa
│ │ │ +001f3570: 6765 3a0a 2020 2020 6e61 6d65 3a20 7379  ge:.    name: sy
│ │ │ +001f3580: 7374 656d 642d 7469 6d65 7379 6e63 640a  stemd-timesyncd.
│ │ │ +001f3590: 2020 2020 7374 6174 653a 2070 7265 7365      state: prese
│ │ │ +001f35a0: 6e74 0a20 2077 6865 6e3a 2027 226c 696e  nt.  when: '"lin
│ │ │ +001f35b0: 7578 2d62 6173 6522 2069 6e20 616e 7369  ux-base" in ansi
│ │ │ +001f35c0: 626c 655f 6661 6374 732e 7061 636b 6167  ble_facts.packag
│ │ │ +001f35d0: 6573 270a 2020 7461 6773 3a0a 2020 2d20  es'.  tags:.  - 
│ │ │ +001f35e0: 4e49 5354 2d38 3030 2d35 332d 434d 2d36  NIST-800-53-CM-6
│ │ │ +001f35f0: 2861 290a 2020 2d20 5043 492d 4453 532d  (a).  - PCI-DSS-
│ │ │ +001f3600: 5265 712d 3130 2e34 0a20 202d 2065 6e61  Req-10.4.  - ena
│ │ │ +001f3610: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +001f3620: 2068 6967 685f 7365 7665 7269 7479 0a20   high_severity. 
│ │ │ +001f3630: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +001f3640: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +001f3650: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f  tion.  - no_rebo
│ │ │ +001f3660: 6f74 5f6e 6565 6465 640a 2020 2d20 7061  ot_needed.  - pa
│ │ │ +001f3670: 636b 6167 655f 7469 6d65 7379 6e63 645f  ckage_timesyncd_
│ │ │ +001f3680: 696e 7374 616c 6c65 640a 3c2f 636f 6465  installed.
Rem │ │ │ +001f3740: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ +001f3750: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +001f3760: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
low
Disru │ │ │ +001f33c0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +001f33d0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +001f3410: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ +001f3420: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +001f37f0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 Reboot:false
in
│ │ │ +001f3890: 636c 7564 6520 696e 7374 616c 6c5f 7379  clude install_sy
│ │ │ +001f38a0: 7374 656d 642d 7469 6d65 7379 6e63 640a  stemd-timesyncd.
│ │ │ +001f38b0: 0a63 6c61 7373 2069 6e73 7461 6c6c 5f73  .class install_s
│ │ │ +001f38c0: 7973 7465 6d64 2d74 696d 6573 796e 6364  ystemd-timesyncd
│ │ │ +001f38d0: 207b 0a20 2070 6163 6b61 6765 207b 2027   {.  package { '
│ │ │ +001f38e0: 7379 7374 656d 642d 7469 6d65 7379 6e63  systemd-timesync
│ │ │ +001f38f0: 6427 3a0a 2020 2020 656e 7375 7265 203d  d':.    ensure =
│ │ │ +001f3900: 2667 743b 2027 696e 7374 616c 6c65 6427  > 'installed'
│ │ │ +001f3910: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │ +001f3920: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remed
│ │ │ +001f39d0: 6961 7469 6f6e 204f 5342 7569 6c64 2042  iation OSBuild B
│ │ │ +001f39e0: 6c75 6570 7269 6e74 2073 6e69 7070 6574  lueprint snippet
│ │ │ +001f39f0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976   ...
< │ │ │ +001f3a30: 7072 653e 3c63 6f64 653e 0a5b 5b70 6163 pre>.[[pac │ │ │ +001f3a40: 6b61 6765 735d 5d0a 6e61 6d65 203d 2022 kages]].name = " │ │ │ +001f3a50: 7379 7374 656d 642d 7469 6d65 7379 6e63 systemd-timesync │ │ │ +001f3a60: 6422 0a76 6572 7369 6f6e 203d 2022 2a22 d".version = "*" │ │ │ 001f3a70: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
Remediation OS │ │ │ -001f4890: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint │ │ │ -001f48a0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -001f48b0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
.[customization
│ │ │ -001f4900: 732e 7365 7276 6963 6573 5d0a 656e 6162  s.services].enab
│ │ │ -001f4910: 6c65 6420 3d20 5b22 6368 726f 6e79 225d  led = ["chrony"]
│ │ │ -001f4920: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -001f49e0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -001f49f0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -001f4a70: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>
│ │ │ -001f4ab0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 enable
│ │ │ +001f37e0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:low
Disrupt │ │ │ +001f3810: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion:low │ │ │ +001f3820: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74
Strateg │ │ │ +001f3860: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y:enabl │ │ │ +001f3870: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexit │ │ │ -001f4a80: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low
│ │ │ -001f4aa0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:low
Reboot: │ │ │ -001f4ad0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -001f4af0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:
<
│ │ │ -001f4b20: 636f 6465 3e69 6e63 6c75 6465 2065 6e61  code>include ena
│ │ │ -001f4b30: 626c 655f 6368 726f 6e79 0a0a 636c 6173  ble_chrony..clas
│ │ │ -001f4b40: 7320 656e 6162 6c65 5f63 6872 6f6e 7920  s enable_chrony 
│ │ │ -001f4b50: 7b0a 2020 7365 7276 6963 6520 7b27 6368  {.  service {'ch
│ │ │ -001f4b60: 726f 6e79 273a 0a20 2020 2065 6e61 626c  rony':.    enabl
│ │ │ -001f4b70: 6520 3d26 6774 3b20 7472 7565 2c0a 2020  e => true,.  
│ │ │ -001f4b80: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ -001f4b90: 7275 6e6e 696e 6727 2c0a 2020 7d0a 7d0a  running',.  }.}.
│ │ │ -001f4ba0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64  
Remediation A │ │ │ -001f4c60: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet . │ │ │ -001f4c70: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -001f4cf0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -001f4d00: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ -001f4d20: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ -001f4d30: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ -001f4d50: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ -001f4d70: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:enable
<
│ │ │ -001f4da0: 636f 6465 3e2d 206e 616d 653a 2047 6174  code>- name: Gat
│ │ │ -001f4db0: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ -001f4dc0: 6661 6374 730a 2020 7061 636b 6167 655f  facts.  package_
│ │ │ -001f4dd0: 6661 6374 733a 0a20 2020 206d 616e 6167  facts:.    manag
│ │ │ -001f4de0: 6572 3a20 6175 746f 0a20 2074 6167 733a  er: auto.  tags:
│ │ │ -001f4df0: 0a20 202d 2065 6e61 626c 655f 7374 7261  .  - enable_stra
│ │ │ -001f4e00: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ -001f4e10: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -001f4e20: 6469 7372 7570 7469 6f6e 0a20 202d 206d  disruption.  - m
│ │ │ -001f4e30: 6564 6975 6d5f 7365 7665 7269 7479 0a20  edium_severity. 
│ │ │ -001f4e40: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ -001f4e50: 6465 640a 2020 2d20 7365 7276 6963 655f  ded.  - service_
│ │ │ -001f4e60: 6368 726f 6e79 645f 656e 6162 6c65 640a  chronyd_enabled.
│ │ │ -001f4e70: 0a2d 206e 616d 653a 2054 6865 2043 6872  .- name: The Chr
│ │ │ -001f4e80: 6f6e 7964 2073 6572 7669 6365 2069 7320  onyd service is 
│ │ │ -001f4e90: 656e 6162 6c65 6420 2d20 456e 6162 6c65  enabled - Enable
│ │ │ -001f4ea0: 2073 6572 7669 6365 2063 6872 6f6e 790a   service chrony.
│ │ │ -001f4eb0: 2020 626c 6f63 6b3a 0a0a 2020 2d20 6e61    block:..  - na
│ │ │ -001f4ec0: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ -001f4ed0: 6163 6b61 6765 2066 6163 7473 0a20 2020  ackage facts.   
│ │ │ -001f4ee0: 2070 6163 6b61 6765 5f66 6163 7473 3a0a   package_facts:.
│ │ │ -001f4ef0: 2020 2020 2020 6d61 6e61 6765 723a 2061        manager: a
│ │ │ -001f4f00: 7574 6f0a 0a20 202d 206e 616d 653a 2054  uto..  - name: T
│ │ │ -001f4f10: 6865 2043 6872 6f6e 7964 2073 6572 7669  he Chronyd servi
│ │ │ -001f4f20: 6365 2069 7320 656e 6162 6c65 6420 2d20  ce is enabled - 
│ │ │ -001f4f30: 456e 6162 6c65 2053 6572 7669 6365 2063  Enable Service c
│ │ │ -001f4f40: 6872 6f6e 790a 2020 2020 616e 7369 626c  hrony.    ansibl
│ │ │ -001f4f50: 652e 6275 696c 7469 6e2e 7379 7374 656d  e.builtin.system
│ │ │ -001f4f60: 643a 0a20 2020 2020 206e 616d 653a 2063  d:.      name: c
│ │ │ -001f4f70: 6872 6f6e 790a 2020 2020 2020 656e 6162  hrony.      enab
│ │ │ -001f4f80: 6c65 643a 2074 7275 650a 2020 2020 2020  led: true.      
│ │ │ -001f4f90: 7374 6174 653a 2073 7461 7274 6564 0a20  state: started. 
│ │ │ -001f4fa0: 2020 2020 206d 6173 6b65 643a 2066 616c       masked: fal
│ │ │ -001f4fb0: 7365 0a20 2020 2077 6865 6e3a 0a20 2020  se.    when:.   
│ │ │ -001f4fc0: 202d 2027 2263 6872 6f6e 7922 2069 6e20   - '"chrony" in 
│ │ │ -001f4fd0: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ -001f4fe0: 636b 6167 6573 270a 2020 7768 656e 3a0a  ckages'.  when:.
│ │ │ -001f4ff0: 2020 2d20 2722 6c69 6e75 782d 6261 7365    - '"linux-base
│ │ │ -001f5000: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ -001f5010: 7473 2e70 6163 6b61 6765 7327 0a20 202d  ts.packages'.  -
│ │ │ -001f5020: 2027 2263 6872 6f6e 7922 2069 6e20 616e   '"chrony" in an
│ │ │ -001f5030: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ -001f5040: 6167 6573 270a 2020 7461 6773 3a0a 2020  ages'.  tags:.  
│ │ │ -001f5050: 2d20 656e 6162 6c65 5f73 7472 6174 6567  - enable_strateg
│ │ │ -001f5060: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65  y.  - low_comple
│ │ │ -001f5070: 7869 7479 0a20 202d 206c 6f77 5f64 6973  xity.  - low_dis
│ │ │ -001f5080: 7275 7074 696f 6e0a 2020 2d20 6d65 6469  ruption.  - medi
│ │ │ -001f5090: 756d 5f73 6576 6572 6974 790a 2020 2d20  um_severity.  - 
│ │ │ -001f50a0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564  no_reboot_needed
│ │ │ -001f50b0: 0a20 202d 2073 6572 7669 6365 5f63 6872  .  - service_chr
│ │ │ -001f50c0: 6f6e 7964 5f65 6e61 626c 6564 0a3c 2f63  onyd_enabled.Remediation An
│ │ │ +001f4890: 7369 626c 6520 736e 6970 7065 7420 e287  sible snippet ..
│ │ │ +001f48a0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c  .
Complexity │ │ │ +001f4930: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ +001f4950: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ +001f4960: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001f4970: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ +001f4980: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ +001f49a0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:enable
- name: Gath
│ │ │ +001f49e0: 6572 2074 6865 2070 6163 6b61 6765 2066  er the package f
│ │ │ +001f49f0: 6163 7473 0a20 2070 6163 6b61 6765 5f66  acts.  package_f
│ │ │ +001f4a00: 6163 7473 3a0a 2020 2020 6d61 6e61 6765  acts:.    manage
│ │ │ +001f4a10: 723a 2061 7574 6f0a 2020 7461 6773 3a0a  r: auto.  tags:.
│ │ │ +001f4a20: 2020 2d20 656e 6162 6c65 5f73 7472 6174    - enable_strat
│ │ │ +001f4a30: 6567 790a 2020 2d20 6c6f 775f 636f 6d70  egy.  - low_comp
│ │ │ +001f4a40: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ +001f4a50: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ +001f4a60: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ +001f4a70: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +001f4a80: 6564 0a20 202d 2073 6572 7669 6365 5f63  ed.  - service_c
│ │ │ +001f4a90: 6872 6f6e 7964 5f65 6e61 626c 6564 0a0a  hronyd_enabled..
│ │ │ +001f4aa0: 2d20 6e61 6d65 3a20 5468 6520 4368 726f  - name: The Chro
│ │ │ +001f4ab0: 6e79 6420 7365 7276 6963 6520 6973 2065  nyd service is e
│ │ │ +001f4ac0: 6e61 626c 6564 202d 2045 6e61 626c 6520  nabled - Enable 
│ │ │ +001f4ad0: 7365 7276 6963 6520 6368 726f 6e79 0a20  service chrony. 
│ │ │ +001f4ae0: 2062 6c6f 636b 3a0a 0a20 202d 206e 616d   block:..  - nam
│ │ │ +001f4af0: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ +001f4b00: 636b 6167 6520 6661 6374 730a 2020 2020  ckage facts.    
│ │ │ +001f4b10: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ +001f4b20: 2020 2020 206d 616e 6167 6572 3a20 6175       manager: au
│ │ │ +001f4b30: 746f 0a0a 2020 2d20 6e61 6d65 3a20 5468  to..  - name: Th
│ │ │ +001f4b40: 6520 4368 726f 6e79 6420 7365 7276 6963  e Chronyd servic
│ │ │ +001f4b50: 6520 6973 2065 6e61 626c 6564 202d 2045  e is enabled - E
│ │ │ +001f4b60: 6e61 626c 6520 5365 7276 6963 6520 6368  nable Service ch
│ │ │ +001f4b70: 726f 6e79 0a20 2020 2061 6e73 6962 6c65  rony.    ansible
│ │ │ +001f4b80: 2e62 7569 6c74 696e 2e73 7973 7465 6d64  .builtin.systemd
│ │ │ +001f4b90: 3a0a 2020 2020 2020 6e61 6d65 3a20 6368  :.      name: ch
│ │ │ +001f4ba0: 726f 6e79 0a20 2020 2020 2065 6e61 626c  rony.      enabl
│ │ │ +001f4bb0: 6564 3a20 7472 7565 0a20 2020 2020 2073  ed: true.      s
│ │ │ +001f4bc0: 7461 7465 3a20 7374 6172 7465 640a 2020  tate: started.  
│ │ │ +001f4bd0: 2020 2020 6d61 736b 6564 3a20 6661 6c73      masked: fals
│ │ │ +001f4be0: 650a 2020 2020 7768 656e 3a0a 2020 2020  e.    when:.    
│ │ │ +001f4bf0: 2d20 2722 6368 726f 6e79 2220 696e 2061  - '"chrony" in a
│ │ │ +001f4c00: 6e73 6962 6c65 5f66 6163 7473 2e70 6163  nsible_facts.pac
│ │ │ +001f4c10: 6b61 6765 7327 0a20 2077 6865 6e3a 0a20  kages'.  when:. 
│ │ │ +001f4c20: 202d 2027 226c 696e 7578 2d62 6173 6522   - '"linux-base"
│ │ │ +001f4c30: 2069 6e20 616e 7369 626c 655f 6661 6374   in ansible_fact
│ │ │ +001f4c40: 732e 7061 636b 6167 6573 270a 2020 2d20  s.packages'.  - 
│ │ │ +001f4c50: 2722 6368 726f 6e79 2220 696e 2061 6e73  '"chrony" in ans
│ │ │ +001f4c60: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ +001f4c70: 6765 7327 0a20 2074 6167 733a 0a20 202d  ges'.  tags:.  -
│ │ │ +001f4c80: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ +001f4c90: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +001f4ca0: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +001f4cb0: 7570 7469 6f6e 0a20 202d 206d 6564 6975  uption.  - mediu
│ │ │ +001f4cc0: 6d5f 7365 7665 7269 7479 0a20 202d 206e  m_severity.  - n
│ │ │ +001f4cd0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +001f4ce0: 2020 2d20 7365 7276 6963 655f 6368 726f    - service_chro
│ │ │ +001f4cf0: 6e79 645f 656e 6162 6c65 640a 3c2f 636f  nyd_enabled.
< │ │ │ +001f4d10: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +001f4d20: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +001f4d30: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +001f4d40: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +001f4d50: 646d 3235 3630 3522 2074 6162 696e 6465 dm25605" tabinde │ │ │ +001f4d60: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +001f4d70: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +001f4d80: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +001f4d90: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +001f4da0: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +001f4db0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +001f4dc0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Complexity: │ │ │ +001f4ea0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +001f4eb0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ +001f4f00: 696e 636c 7564 6520 656e 6162 6c65 5f63  include enable_c
│ │ │ +001f4f10: 6872 6f6e 790a 0a63 6c61 7373 2065 6e61  hrony..class ena
│ │ │ +001f4f20: 626c 655f 6368 726f 6e79 207b 0a20 2073  ble_chrony {.  s
│ │ │ +001f4f30: 6572 7669 6365 207b 2763 6872 6f6e 7927  ervice {'chrony'
│ │ │ +001f4f40: 3a0a 2020 2020 656e 6162 6c65 203d 2667  :.    enable =&g
│ │ │ +001f4f50: 743b 2074 7275 652c 0a20 2020 2065 6e73  t; true,.    ens
│ │ │ +001f4f60: 7572 6520 3d26 6774 3b20 2772 756e 6e69  ure => 'runni
│ │ │ +001f4f70: 6e67 272c 0a20 207d 0a7d 0a3c 2f63 6f64  ng',.  }.}.
Re │ │ │ +001f5030: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil │ │ │ +001f5040: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip │ │ │ +001f5050: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +001f5060: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001f5070: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001f5080: 7365 2220 6964 3d22 6964 6d32 3536 3036 se" id="idm25606 │ │ │ +001f5090: 223e 3c70 7265 3e3c 636f 6465 3e0a 5b63 ">
.[c
│ │ │ +001f50a0: 7573 746f 6d69 7a61 7469 6f6e 732e 7365  ustomizations.se
│ │ │ +001f50b0: 7276 6963 6573 5d0a 656e 6162 6c65 6420  rvices].enabled 
│ │ │ +001f50c0: 3d20 5b22 6368 726f 6e79 225d 0a3c 2f63  = ["chrony"].
│ │ │ 001f50e0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 R │ │ │ -001f6440: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui │ │ │ -001f6450: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni │ │ │ -001f6460: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001f6470: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
.[
│ │ │ -001f64b0: 6375 7374 6f6d 697a 6174 696f 6e73 2e73  customizations.s
│ │ │ -001f64c0: 6572 7669 6365 735d 0a65 6e61 626c 6564  ervices].enabled
│ │ │ -001f64d0: 203d 205b 226e 7470 225d 0a3c 2f63 6f64   = ["ntp"].
Re │ │ │ -001f6590: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet │ │ │ -001f65a0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -001f65b0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
low
Disru │ │ │ +001f4e80: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +001f4e90: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +001f4ed0: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ +001f4ee0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
< │ │ │ -001f6680: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -001f6690: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
i
│ │ │ -001f66e0: 6e63 6c75 6465 2065 6e61 626c 655f 6e74  nclude enable_nt
│ │ │ -001f66f0: 700a 0a63 6c61 7373 2065 6e61 626c 655f  p..class enable_
│ │ │ -001f6700: 6e74 7020 7b0a 2020 7365 7276 6963 6520  ntp {.  service 
│ │ │ -001f6710: 7b27 6e74 7027 3a0a 2020 2020 656e 6162  {'ntp':.    enab
│ │ │ -001f6720: 6c65 203d 2667 743b 2074 7275 652c 0a20  le => true,. 
│ │ │ -001f6730: 2020 2065 6e73 7572 6520 3d26 6774 3b20     ensure => 
│ │ │ -001f6740: 2772 756e 6e69 6e67 272c 0a20 207d 0a7d  'running',.  }.}
│ │ │ -001f6750: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -001f6810: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet │ │ │ -001f6820: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001f68a0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ -001f6930: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
Complexity:low
Disrup │ │ │ -001f6660: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -001f6670: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -001f66b0: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ -001f66c0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Complexi │ │ │ -001f68b0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ -001f68c0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ -001f6900: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ -001f6910: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
│ │ │ -001f6950: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761  - name: Ga
│ │ │ -001f6960: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ -001f6970: 2066 6163 7473 0a20 2070 6163 6b61 6765   facts.  package
│ │ │ -001f6980: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61  _facts:.    mana
│ │ │ -001f6990: 6765 723a 2061 7574 6f0a 2020 7461 6773  ger: auto.  tags
│ │ │ -001f69a0: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35  :.  - NIST-800-5
│ │ │ -001f69b0: 332d 4155 2d38 2831 2928 6129 0a20 202d  3-AU-8(1)(a).  -
│ │ │ -001f69c0: 204e 4953 542d 3830 302d 3533 2d43 4d2d   NIST-800-53-CM-
│ │ │ -001f69d0: 3628 6129 0a20 202d 2050 4349 2d44 5353  6(a).  - PCI-DSS
│ │ │ -001f69e0: 2d52 6571 2d31 302e 340a 2020 2d20 5043  -Req-10.4.  - PC
│ │ │ -001f69f0: 492d 4453 5376 342d 3130 2e36 0a20 202d  I-DSSv4-10.6.  -
│ │ │ -001f6a00: 2050 4349 2d44 5353 7634 2d31 302e 362e   PCI-DSSv4-10.6.
│ │ │ -001f6a10: 310a 2020 2d20 656e 6162 6c65 5f73 7472  1.  - enable_str
│ │ │ -001f6a20: 6174 6567 790a 2020 2d20 6869 6768 5f73  ategy.  - high_s
│ │ │ -001f6a30: 6576 6572 6974 790a 2020 2d20 6c6f 775f  everity.  - low_
│ │ │ -001f6a40: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ -001f6a50: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ -001f6a60: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -001f6a70: 6564 0a20 202d 2073 6572 7669 6365 5f6e  ed.  - service_n
│ │ │ -001f6a80: 7470 5f65 6e61 626c 6564 0a0a 2d20 6e61  tp_enabled..- na
│ │ │ -001f6a90: 6d65 3a20 456e 6162 6c65 2074 6865 204e  me: Enable the N
│ │ │ -001f6aa0: 5450 2044 6165 6d6f 6e20 2d20 456e 6162  TP Daemon - Enab
│ │ │ -001f6ab0: 6c65 2073 6572 7669 6365 206e 7470 0a20  le service ntp. 
│ │ │ -001f6ac0: 2062 6c6f 636b 3a0a 0a20 202d 206e 616d   block:..  - nam
│ │ │ -001f6ad0: 653a 2047 6174 6865 7220 7468 6520 7061  e: Gather the pa
│ │ │ -001f6ae0: 636b 6167 6520 6661 6374 730a 2020 2020  ckage facts.    
│ │ │ -001f6af0: 7061 636b 6167 655f 6661 6374 733a 0a20  package_facts:. 
│ │ │ -001f6b00: 2020 2020 206d 616e 6167 6572 3a20 6175       manager: au
│ │ │ -001f6b10: 746f 0a0a 2020 2d20 6e61 6d65 3a20 456e  to..  - name: En
│ │ │ -001f6b20: 6162 6c65 2074 6865 204e 5450 2044 6165  able the NTP Dae
│ │ │ -001f6b30: 6d6f 6e20 2d20 456e 6162 6c65 2053 6572  mon - Enable Ser
│ │ │ -001f6b40: 7669 6365 206e 7470 0a20 2020 2061 6e73  vice ntp.    ans
│ │ │ -001f6b50: 6962 6c65 2e62 7569 6c74 696e 2e73 7973  ible.builtin.sys
│ │ │ -001f6b60: 7465 6d64 3a0a 2020 2020 2020 6e61 6d65  temd:.      name
│ │ │ -001f6b70: 3a20 6e74 700a 2020 2020 2020 656e 6162  : ntp.      enab
│ │ │ -001f6b80: 6c65 643a 2074 7275 650a 2020 2020 2020  led: true.      
│ │ │ -001f6b90: 7374 6174 653a 2073 7461 7274 6564 0a20  state: started. 
│ │ │ -001f6ba0: 2020 2020 206d 6173 6b65 643a 2066 616c       masked: fal
│ │ │ -001f6bb0: 7365 0a20 2020 2077 6865 6e3a 0a20 2020  se.    when:.   
│ │ │ -001f6bc0: 202d 2027 226e 7470 2220 696e 2061 6e73   - '"ntp" in ans
│ │ │ -001f6bd0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -001f6be0: 6765 7327 0a20 2077 6865 6e3a 0a20 202d  ges'.  when:.  -
│ │ │ -001f6bf0: 2027 226c 696e 7578 2d62 6173 6522 2069   '"linux-base" i
│ │ │ -001f6c00: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ -001f6c10: 7061 636b 6167 6573 270a 2020 2d20 2722  packages'.  - '"
│ │ │ -001f6c20: 6e74 7022 2069 6e20 616e 7369 626c 655f  ntp" in ansible_
│ │ │ -001f6c30: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ -001f6c40: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ -001f6c50: 2d38 3030 2d35 332d 4155 2d38 2831 2928  -800-53-AU-8(1)(
│ │ │ -001f6c60: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ -001f6c70: 3533 2d43 4d2d 3628 6129 0a20 202d 2050  53-CM-6(a).  - P
│ │ │ -001f6c80: 4349 2d44 5353 2d52 6571 2d31 302e 340a  CI-DSS-Req-10.4.
│ │ │ -001f6c90: 2020 2d20 5043 492d 4453 5376 342d 3130    - PCI-DSSv4-10
│ │ │ -001f6ca0: 2e36 0a20 202d 2050 4349 2d44 5353 7634  .6.  - PCI-DSSv4
│ │ │ -001f6cb0: 2d31 302e 362e 310a 2020 2d20 656e 6162  -10.6.1.  - enab
│ │ │ -001f6cc0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -001f6cd0: 6869 6768 5f73 6576 6572 6974 790a 2020  high_severity.  
│ │ │ -001f6ce0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -001f6cf0: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -001f6d00: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f  ion.  - no_reboo
│ │ │ -001f6d10: 745f 6e65 6564 6564 0a20 202d 2073 6572  t_needed.  - ser
│ │ │ -001f6d20: 7669 6365 5f6e 7470 5f65 6e61 626c 6564  vice_ntp_enabled
│ │ │ +001f6440: 656d 6564 6961 7469 6f6e 2041 6e73 6962  emediation Ansib
│ │ │ +001f6450: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f  le snippet ...
< │ │ │ +001f64e0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +001f6500: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +001f6550: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
- name: Gather 
│ │ │ +001f65a0: 7468 6520 7061 636b 6167 6520 6661 6374  the package fact
│ │ │ +001f65b0: 730a 2020 7061 636b 6167 655f 6661 6374  s.  package_fact
│ │ │ +001f65c0: 733a 0a20 2020 206d 616e 6167 6572 3a20  s:.    manager: 
│ │ │ +001f65d0: 6175 746f 0a20 2074 6167 733a 0a20 202d  auto.  tags:.  -
│ │ │ +001f65e0: 204e 4953 542d 3830 302d 3533 2d41 552d   NIST-800-53-AU-
│ │ │ +001f65f0: 3828 3129 2861 290a 2020 2d20 4e49 5354  8(1)(a).  - NIST
│ │ │ +001f6600: 2d38 3030 2d35 332d 434d 2d36 2861 290a  -800-53-CM-6(a).
│ │ │ +001f6610: 2020 2d20 5043 492d 4453 532d 5265 712d    - PCI-DSS-Req-
│ │ │ +001f6620: 3130 2e34 0a20 202d 2050 4349 2d44 5353  10.4.  - PCI-DSS
│ │ │ +001f6630: 7634 2d31 302e 360a 2020 2d20 5043 492d  v4-10.6.  - PCI-
│ │ │ +001f6640: 4453 5376 342d 3130 2e36 2e31 0a20 202d  DSSv4-10.6.1.  -
│ │ │ +001f6650: 2065 6e61 626c 655f 7374 7261 7465 6779   enable_strategy
│ │ │ +001f6660: 0a20 202d 2068 6967 685f 7365 7665 7269  .  - high_severi
│ │ │ +001f6670: 7479 0a20 202d 206c 6f77 5f63 6f6d 706c  ty.  - low_compl
│ │ │ +001f6680: 6578 6974 790a 2020 2d20 6c6f 775f 6469  exity.  - low_di
│ │ │ +001f6690: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f  sruption.  - no_
│ │ │ +001f66a0: 7265 626f 6f74 5f6e 6565 6465 640a 2020  reboot_needed.  
│ │ │ +001f66b0: 2d20 7365 7276 6963 655f 6e74 705f 656e  - service_ntp_en
│ │ │ +001f66c0: 6162 6c65 640a 0a2d 206e 616d 653a 2045  abled..- name: E
│ │ │ +001f66d0: 6e61 626c 6520 7468 6520 4e54 5020 4461  nable the NTP Da
│ │ │ +001f66e0: 656d 6f6e 202d 2045 6e61 626c 6520 7365  emon - Enable se
│ │ │ +001f66f0: 7276 6963 6520 6e74 700a 2020 626c 6f63  rvice ntp.  bloc
│ │ │ +001f6700: 6b3a 0a0a 2020 2d20 6e61 6d65 3a20 4761  k:..  - name: Ga
│ │ │ +001f6710: 7468 6572 2074 6865 2070 6163 6b61 6765  ther the package
│ │ │ +001f6720: 2066 6163 7473 0a20 2020 2070 6163 6b61   facts.    packa
│ │ │ +001f6730: 6765 5f66 6163 7473 3a0a 2020 2020 2020  ge_facts:.      
│ │ │ +001f6740: 6d61 6e61 6765 723a 2061 7574 6f0a 0a20  manager: auto.. 
│ │ │ +001f6750: 202d 206e 616d 653a 2045 6e61 626c 6520   - name: Enable 
│ │ │ +001f6760: 7468 6520 4e54 5020 4461 656d 6f6e 202d  the NTP Daemon -
│ │ │ +001f6770: 2045 6e61 626c 6520 5365 7276 6963 6520   Enable Service 
│ │ │ +001f6780: 6e74 700a 2020 2020 616e 7369 626c 652e  ntp.    ansible.
│ │ │ +001f6790: 6275 696c 7469 6e2e 7379 7374 656d 643a  builtin.systemd:
│ │ │ +001f67a0: 0a20 2020 2020 206e 616d 653a 206e 7470  .      name: ntp
│ │ │ +001f67b0: 0a20 2020 2020 2065 6e61 626c 6564 3a20  .      enabled: 
│ │ │ +001f67c0: 7472 7565 0a20 2020 2020 2073 7461 7465  true.      state
│ │ │ +001f67d0: 3a20 7374 6172 7465 640a 2020 2020 2020  : started.      
│ │ │ +001f67e0: 6d61 736b 6564 3a20 6661 6c73 650a 2020  masked: false.  
│ │ │ +001f67f0: 2020 7768 656e 3a0a 2020 2020 2d20 2722    when:.    - '"
│ │ │ +001f6800: 6e74 7022 2069 6e20 616e 7369 626c 655f  ntp" in ansible_
│ │ │ +001f6810: 6661 6374 732e 7061 636b 6167 6573 270a  facts.packages'.
│ │ │ +001f6820: 2020 7768 656e 3a0a 2020 2d20 2722 6c69    when:.  - '"li
│ │ │ +001f6830: 6e75 782d 6261 7365 2220 696e 2061 6e73  nux-base" in ans
│ │ │ +001f6840: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ +001f6850: 6765 7327 0a20 202d 2027 226e 7470 2220  ges'.  - '"ntp" 
│ │ │ +001f6860: 696e 2061 6e73 6962 6c65 5f66 6163 7473  in ansible_facts
│ │ │ +001f6870: 2e70 6163 6b61 6765 7327 0a20 2074 6167  .packages'.  tag
│ │ │ +001f6880: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +001f6890: 3533 2d41 552d 3828 3129 2861 290a 2020  53-AU-8(1)(a).  
│ │ │ +001f68a0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +001f68b0: 2d36 2861 290a 2020 2d20 5043 492d 4453  -6(a).  - PCI-DS
│ │ │ +001f68c0: 532d 5265 712d 3130 2e34 0a20 202d 2050  S-Req-10.4.  - P
│ │ │ +001f68d0: 4349 2d44 5353 7634 2d31 302e 360a 2020  CI-DSSv4-10.6.  
│ │ │ +001f68e0: 2d20 5043 492d 4453 5376 342d 3130 2e36  - PCI-DSSv4-10.6
│ │ │ +001f68f0: 2e31 0a20 202d 2065 6e61 626c 655f 7374  .1.  - enable_st
│ │ │ +001f6900: 7261 7465 6779 0a20 202d 2068 6967 685f  rategy.  - high_
│ │ │ +001f6910: 7365 7665 7269 7479 0a20 202d 206c 6f77  severity.  - low
│ │ │ +001f6920: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +001f6930: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +001f6940: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565   - no_reboot_nee
│ │ │ +001f6950: 6465 640a 2020 2d20 7365 7276 6963 655f  ded.  - service_
│ │ │ +001f6960: 6e74 705f 656e 6162 6c65 640a 3c2f 636f  ntp_enabled.
< │ │ │ +001f6980: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn │ │ │ +001f6990: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t │ │ │ +001f69a0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse" │ │ │ +001f69b0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i │ │ │ +001f69c0: 646d 3235 3636 3122 2074 6162 696e 6465 dm25661" tabinde │ │ │ +001f69d0: 783d 2230 2220 726f 6c65 3d22 6275 7474 x="0" role="butt │ │ │ +001f69e0: 6f6e 2220 6172 6961 2d65 7870 616e 6465 on" aria-expande │ │ │ +001f69f0: 643d 2266 616c 7365 2220 7469 746c 653d d="false" title= │ │ │ +001f6a00: 2241 6374 6976 6174 6520 746f 2072 6576 "Activate to rev │ │ │ +001f6a10: 6561 6c22 2068 7265 663d 2223 2122 3e52 eal" href="#!">R │ │ │ +001f6a20: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe │ │ │ +001f6a30: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
low
Disr │ │ │ +001f6510: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +001f6520: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +001f6560: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy:en │ │ │ +001f6570: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
Complexity: │ │ │ +001f6b10: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e │ │ │ +001f6b20: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f

│ │ │ +001f6b70: 696e 636c 7564 6520 656e 6162 6c65 5f6e  include enable_n
│ │ │ +001f6b80: 7470 0a0a 636c 6173 7320 656e 6162 6c65  tp..class enable
│ │ │ +001f6b90: 5f6e 7470 207b 0a20 2073 6572 7669 6365  _ntp {.  service
│ │ │ +001f6ba0: 207b 276e 7470 273a 0a20 2020 2065 6e61   {'ntp':.    ena
│ │ │ +001f6bb0: 626c 6520 3d26 6774 3b20 7472 7565 2c0a  ble => true,.
│ │ │ +001f6bc0: 2020 2020 656e 7375 7265 203d 2667 743b      ensure =>
│ │ │ +001f6bd0: 2027 7275 6e6e 696e 6727 2c0a 2020 7d0a   'running',.  }.
│ │ │ +001f6be0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  }.
< │ │ │ +001f6bf0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +001f6ca0: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ +001f6cb0: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
.[customizat
│ │ │ +001f6d10: 696f 6e73 2e73 6572 7669 6365 735d 0a65  ions.services].e
│ │ │ +001f6d20: 6e61 626c 6564 203d 205b 226e 7470 225d  nabled = ["ntp"]
│ │ │  001f6d30: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Rem │ │ │ -001f8080: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild │ │ │ -001f8090: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp │ │ │ -001f80a0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[cu
│ │ │ -001f80f0: 7374 6f6d 697a 6174 696f 6e73 2e73 6572  stomizations.ser
│ │ │ -001f8100: 7669 6365 735d 0a65 6e61 626c 6564 203d  vices].enabled =
│ │ │ -001f8110: 205b 2273 7973 7465 6d64 2d74 696d 6573   ["systemd-times
│ │ │ -001f8120: 796e 6364 225d 0a3c 2f63 6f64 653e 3c2f  yncd"].
Remedi │ │ │ -001f81e0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ -001f81f0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001f8200: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
low
Disru │ │ │ +001f6af0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption:l │ │ │ +001f6b00: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Reboot:false
Strat │ │ │ +001f6b40: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy:ena │ │ │ +001f6b50: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
Com │ │ │ -001f8280: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -001f82b0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -001f82d0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -001f82e0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -001f8300: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ -001f8320: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -001f8330: 6465 2065 6e61 626c 655f 7379 7374 656d  de enable_system
│ │ │ -001f8340: 642d 7469 6d65 7379 6e63 640a 0a63 6c61  d-timesyncd..cla
│ │ │ -001f8350: 7373 2065 6e61 626c 655f 7379 7374 656d  ss enable_system
│ │ │ -001f8360: 642d 7469 6d65 7379 6e63 6420 7b0a 2020  d-timesyncd {.  
│ │ │ -001f8370: 7365 7276 6963 6520 7b27 7379 7374 656d  service {'system
│ │ │ -001f8380: 642d 7469 6d65 7379 6e63 6427 3a0a 2020  d-timesyncd':.  
│ │ │ -001f8390: 2020 656e 6162 6c65 203d 2667 743b 2074    enable => t
│ │ │ -001f83a0: 7275 652c 0a20 2020 2065 6e73 7572 6520  rue,.    ensure 
│ │ │ -001f83b0: 3d26 6774 3b20 2772 756e 6e69 6e67 272c  => 'running',
│ │ │ -001f83c0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.
Remedi │ │ │ -001f8480: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn │ │ │ -001f8490: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -001f8540: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -001f8590: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
Co │ │ │ -001f8520: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -001f8550: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -001f8570: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -001f8580: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -001f85a0: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable< │ │ │ -001f85b0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -001f85d0: 6d65 3a20 4761 7468 6572 2074 6865 2070  me: Gather the p
│ │ │ -001f85e0: 6163 6b61 6765 2066 6163 7473 0a20 2070  ackage facts.  p
│ │ │ -001f85f0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020  ackage_facts:.  
│ │ │ -001f8600: 2020 6d61 6e61 6765 723a 2061 7574 6f0a    manager: auto.
│ │ │ -001f8610: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ -001f8620: 2d38 3030 2d35 332d 4155 2d38 2831 2928  -800-53-AU-8(1)(
│ │ │ -001f8630: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ -001f8640: 3533 2d43 4d2d 3628 6129 0a20 202d 2050  53-CM-6(a).  - P
│ │ │ -001f8650: 4349 2d44 5353 2d52 6571 2d31 302e 340a  CI-DSS-Req-10.4.
│ │ │ -001f8660: 2020 2d20 5043 492d 4453 5376 342d 3130    - PCI-DSSv4-10
│ │ │ -001f8670: 2e36 0a20 202d 2050 4349 2d44 5353 7634  .6.  - PCI-DSSv4
│ │ │ -001f8680: 2d31 302e 362e 310a 2020 2d20 656e 6162  -10.6.1.  - enab
│ │ │ -001f8690: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -001f86a0: 6869 6768 5f73 6576 6572 6974 790a 2020  high_severity.  
│ │ │ -001f86b0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -001f86c0: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -001f86d0: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f  ion.  - no_reboo
│ │ │ -001f86e0: 745f 6e65 6564 6564 0a20 202d 2073 6572  t_needed.  - ser
│ │ │ -001f86f0: 7669 6365 5f74 696d 6573 796e 6364 5f65  vice_timesyncd_e
│ │ │ -001f8700: 6e61 626c 6564 0a0a 2d20 6e61 6d65 3a20  nabled..- name: 
│ │ │ -001f8710: 456e 6162 6c65 2073 7973 7465 6d64 5f74  Enable systemd_t
│ │ │ -001f8720: 696d 6573 796e 6364 2053 6572 7669 6365  imesyncd Service
│ │ │ -001f8730: 202d 2045 6e61 626c 6520 7365 7276 6963   - Enable servic
│ │ │ -001f8740: 6520 7379 7374 656d 642d 7469 6d65 7379  e systemd-timesy
│ │ │ -001f8750: 6e63 640a 2020 626c 6f63 6b3a 0a0a 2020  ncd.  block:..  
│ │ │ -001f8760: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ -001f8770: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ -001f8780: 0a20 2020 2070 6163 6b61 6765 5f66 6163  .    package_fac
│ │ │ -001f8790: 7473 3a0a 2020 2020 2020 6d61 6e61 6765  ts:.      manage
│ │ │ -001f87a0: 723a 2061 7574 6f0a 0a20 202d 206e 616d  r: auto..  - nam
│ │ │ -001f87b0: 653a 2045 6e61 626c 6520 7379 7374 656d  e: Enable system
│ │ │ -001f87c0: 645f 7469 6d65 7379 6e63 6420 5365 7276  d_timesyncd Serv
│ │ │ -001f87d0: 6963 6520 2d20 456e 6162 6c65 2053 6572  ice - Enable Ser
│ │ │ -001f87e0: 7669 6365 2073 7973 7465 6d64 2d74 696d  vice systemd-tim
│ │ │ -001f87f0: 6573 796e 6364 0a20 2020 2061 6e73 6962  esyncd.    ansib
│ │ │ -001f8800: 6c65 2e62 7569 6c74 696e 2e73 7973 7465  le.builtin.syste
│ │ │ -001f8810: 6d64 3a0a 2020 2020 2020 6e61 6d65 3a20  md:.      name: 
│ │ │ -001f8820: 7379 7374 656d 642d 7469 6d65 7379 6e63  systemd-timesync
│ │ │ -001f8830: 640a 2020 2020 2020 656e 6162 6c65 643a  d.      enabled:
│ │ │ -001f8840: 2074 7275 650a 2020 2020 2020 7374 6174   true.      stat
│ │ │ -001f8850: 653a 2073 7461 7274 6564 0a20 2020 2020  e: started.     
│ │ │ -001f8860: 206d 6173 6b65 643a 2066 616c 7365 0a20   masked: false. 
│ │ │ -001f8870: 2020 2077 6865 6e3a 0a20 2020 202d 2027     when:.    - '
│ │ │ -001f8880: 2273 7973 7465 6d64 2220 696e 2061 6e73  "systemd" in ans
│ │ │ -001f8890: 6962 6c65 5f66 6163 7473 2e70 6163 6b61  ible_facts.packa
│ │ │ -001f88a0: 6765 7327 0a20 2077 6865 6e3a 0a20 202d  ges'.  when:.  -
│ │ │ -001f88b0: 2027 226c 696e 7578 2d62 6173 6522 2069   '"linux-base" i
│ │ │ -001f88c0: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ -001f88d0: 7061 636b 6167 6573 270a 2020 2d20 2820  packages'.  - ( 
│ │ │ -001f88e0: 6e6f 7420 2820 2263 6872 6f6e 7922 2069  not ( "chrony" i
│ │ │ -001f88f0: 6e20 616e 7369 626c 655f 6661 6374 732e  n ansible_facts.
│ │ │ -001f8900: 7061 636b 6167 6573 2029 2061 6e64 206e  packages ) and n
│ │ │ -001f8910: 6f74 2028 2022 6e74 7022 2069 6e20 616e  ot ( "ntp" in an
│ │ │ -001f8920: 7369 626c 655f 6661 6374 732e 7061 636b  sible_facts.pack
│ │ │ -001f8930: 6167 6573 0a20 2020 2029 2029 0a20 2074  ages.    ) ).  t
│ │ │ -001f8940: 6167 733a 0a20 202d 204e 4953 542d 3830  ags:.  - NIST-80
│ │ │ -001f8950: 302d 3533 2d41 552d 3828 3129 2861 290a  0-53-AU-8(1)(a).
│ │ │ -001f8960: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ -001f8970: 434d 2d36 2861 290a 2020 2d20 5043 492d  CM-6(a).  - PCI-
│ │ │ -001f8980: 4453 532d 5265 712d 3130 2e34 0a20 202d  DSS-Req-10.4.  -
│ │ │ -001f8990: 2050 4349 2d44 5353 7634 2d31 302e 360a   PCI-DSSv4-10.6.
│ │ │ -001f89a0: 2020 2d20 5043 492d 4453 5376 342d 3130    - PCI-DSSv4-10
│ │ │ -001f89b0: 2e36 2e31 0a20 202d 2065 6e61 626c 655f  .6.1.  - enable_
│ │ │ -001f89c0: 7374 7261 7465 6779 0a20 202d 2068 6967  strategy.  - hig
│ │ │ -001f89d0: 685f 7365 7665 7269 7479 0a20 202d 206c  h_severity.  - l
│ │ │ -001f89e0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020  ow_complexity.  
│ │ │ -001f89f0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e  - low_disruption
│ │ │ -001f8a00: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e  .  - no_reboot_n
│ │ │ -001f8a10: 6565 6465 640a 2020 2d20 7365 7276 6963  eeded.  - servic
│ │ │ -001f8a20: 655f 7469 6d65 7379 6e63 645f 656e 6162  e_timesyncd_enab
│ │ │ -001f8a30: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265  led.
│ │ │ +001f80a0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ +001f8170: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ +001f8180: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false
-
│ │ │ +001f81d0: 206e 616d 653a 2047 6174 6865 7220 7468   name: Gather th
│ │ │ +001f81e0: 6520 7061 636b 6167 6520 6661 6374 730a  e package facts.
│ │ │ +001f81f0: 2020 7061 636b 6167 655f 6661 6374 733a    package_facts:
│ │ │ +001f8200: 0a20 2020 206d 616e 6167 6572 3a20 6175  .    manager: au
│ │ │ +001f8210: 746f 0a20 2074 6167 733a 0a20 202d 204e  to.  tags:.  - N
│ │ │ +001f8220: 4953 542d 3830 302d 3533 2d41 552d 3828  IST-800-53-AU-8(
│ │ │ +001f8230: 3129 2861 290a 2020 2d20 4e49 5354 2d38  1)(a).  - NIST-8
│ │ │ +001f8240: 3030 2d35 332d 434d 2d36 2861 290a 2020  00-53-CM-6(a).  
│ │ │ +001f8250: 2d20 5043 492d 4453 532d 5265 712d 3130  - PCI-DSS-Req-10
│ │ │ +001f8260: 2e34 0a20 202d 2050 4349 2d44 5353 7634  .4.  - PCI-DSSv4
│ │ │ +001f8270: 2d31 302e 360a 2020 2d20 5043 492d 4453  -10.6.  - PCI-DS
│ │ │ +001f8280: 5376 342d 3130 2e36 2e31 0a20 202d 2065  Sv4-10.6.1.  - e
│ │ │ +001f8290: 6e61 626c 655f 7374 7261 7465 6779 0a20  nable_strategy. 
│ │ │ +001f82a0: 202d 2068 6967 685f 7365 7665 7269 7479   - high_severity
│ │ │ +001f82b0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578  .  - low_complex
│ │ │ +001f82c0: 6974 790a 2020 2d20 6c6f 775f 6469 7372  ity.  - low_disr
│ │ │ +001f82d0: 7570 7469 6f6e 0a20 202d 206e 6f5f 7265  uption.  - no_re
│ │ │ +001f82e0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20  boot_needed.  - 
│ │ │ +001f82f0: 7365 7276 6963 655f 7469 6d65 7379 6e63  service_timesync
│ │ │ +001f8300: 645f 656e 6162 6c65 640a 0a2d 206e 616d  d_enabled..- nam
│ │ │ +001f8310: 653a 2045 6e61 626c 6520 7379 7374 656d  e: Enable system
│ │ │ +001f8320: 645f 7469 6d65 7379 6e63 6420 5365 7276  d_timesyncd Serv
│ │ │ +001f8330: 6963 6520 2d20 456e 6162 6c65 2073 6572  ice - Enable ser
│ │ │ +001f8340: 7669 6365 2073 7973 7465 6d64 2d74 696d  vice systemd-tim
│ │ │ +001f8350: 6573 796e 6364 0a20 2062 6c6f 636b 3a0a  esyncd.  block:.
│ │ │ +001f8360: 0a20 202d 206e 616d 653a 2047 6174 6865  .  - name: Gathe
│ │ │ +001f8370: 7220 7468 6520 7061 636b 6167 6520 6661  r the package fa
│ │ │ +001f8380: 6374 730a 2020 2020 7061 636b 6167 655f  cts.    package_
│ │ │ +001f8390: 6661 6374 733a 0a20 2020 2020 206d 616e  facts:.      man
│ │ │ +001f83a0: 6167 6572 3a20 6175 746f 0a0a 2020 2d20  ager: auto..  - 
│ │ │ +001f83b0: 6e61 6d65 3a20 456e 6162 6c65 2073 7973  name: Enable sys
│ │ │ +001f83c0: 7465 6d64 5f74 696d 6573 796e 6364 2053  temd_timesyncd S
│ │ │ +001f83d0: 6572 7669 6365 202d 2045 6e61 626c 6520  ervice - Enable 
│ │ │ +001f83e0: 5365 7276 6963 6520 7379 7374 656d 642d  Service systemd-
│ │ │ +001f83f0: 7469 6d65 7379 6e63 640a 2020 2020 616e  timesyncd.    an
│ │ │ +001f8400: 7369 626c 652e 6275 696c 7469 6e2e 7379  sible.builtin.sy
│ │ │ +001f8410: 7374 656d 643a 0a20 2020 2020 206e 616d  stemd:.      nam
│ │ │ +001f8420: 653a 2073 7973 7465 6d64 2d74 696d 6573  e: systemd-times
│ │ │ +001f8430: 796e 6364 0a20 2020 2020 2065 6e61 626c  yncd.      enabl
│ │ │ +001f8440: 6564 3a20 7472 7565 0a20 2020 2020 2073  ed: true.      s
│ │ │ +001f8450: 7461 7465 3a20 7374 6172 7465 640a 2020  tate: started.  
│ │ │ +001f8460: 2020 2020 6d61 736b 6564 3a20 6661 6c73      masked: fals
│ │ │ +001f8470: 650a 2020 2020 7768 656e 3a0a 2020 2020  e.    when:.    
│ │ │ +001f8480: 2d20 2722 7379 7374 656d 6422 2069 6e20  - '"systemd" in 
│ │ │ +001f8490: 616e 7369 626c 655f 6661 6374 732e 7061  ansible_facts.pa
│ │ │ +001f84a0: 636b 6167 6573 270a 2020 7768 656e 3a0a  ckages'.  when:.
│ │ │ +001f84b0: 2020 2d20 2722 6c69 6e75 782d 6261 7365    - '"linux-base
│ │ │ +001f84c0: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ +001f84d0: 7473 2e70 6163 6b61 6765 7327 0a20 202d  ts.packages'.  -
│ │ │ +001f84e0: 2028 206e 6f74 2028 2022 6368 726f 6e79   ( not ( "chrony
│ │ │ +001f84f0: 2220 696e 2061 6e73 6962 6c65 5f66 6163  " in ansible_fac
│ │ │ +001f8500: 7473 2e70 6163 6b61 6765 7320 2920 616e  ts.packages ) an
│ │ │ +001f8510: 6420 6e6f 7420 2820 226e 7470 2220 696e  d not ( "ntp" in
│ │ │ +001f8520: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ +001f8530: 6163 6b61 6765 730a 2020 2020 2920 290a  ackages.    ) ).
│ │ │ +001f8540: 2020 7461 6773 3a0a 2020 2d20 4e49 5354    tags:.  - NIST
│ │ │ +001f8550: 2d38 3030 2d35 332d 4155 2d38 2831 2928  -800-53-AU-8(1)(
│ │ │ +001f8560: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ +001f8570: 3533 2d43 4d2d 3628 6129 0a20 202d 2050  53-CM-6(a).  - P
│ │ │ +001f8580: 4349 2d44 5353 2d52 6571 2d31 302e 340a  CI-DSS-Req-10.4.
│ │ │ +001f8590: 2020 2d20 5043 492d 4453 5376 342d 3130    - PCI-DSSv4-10
│ │ │ +001f85a0: 2e36 0a20 202d 2050 4349 2d44 5353 7634  .6.  - PCI-DSSv4
│ │ │ +001f85b0: 2d31 302e 362e 310a 2020 2d20 656e 6162  -10.6.1.  - enab
│ │ │ +001f85c0: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ +001f85d0: 6869 6768 5f73 6576 6572 6974 790a 2020  high_severity.  
│ │ │ +001f85e0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ +001f85f0: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ +001f8600: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f  ion.  - no_reboo
│ │ │ +001f8610: 745f 6e65 6564 6564 0a20 202d 2073 6572  t_needed.  - ser
│ │ │ +001f8620: 7669 6365 5f74 696d 6573 796e 6364 5f65  vice_timesyncd_e
│ │ │ +001f8630: 6e61 626c 6564 0a3c 2f63 6f64 653e 3c2f  nabled.Remedi
│ │ │ +001f86f0: 6174 696f 6e20 5075 7070 6574 2073 6e69  ation Puppet sni
│ │ │ +001f8700: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e  ppet ...
│ │ │ +001f8710: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Complexity:low
Disrup │ │ │ +001f8150: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ +001f8160: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ +001f81a0: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy:enab │ │ │ +001f81b0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le
Com │ │ │ +001f8790: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +001f87c0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +001f87e0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +001f87f0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +001f8810: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ +001f8830: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +001f8840: 6465 2065 6e61 626c 655f 7379 7374 656d  de enable_system
│ │ │ +001f8850: 642d 7469 6d65 7379 6e63 640a 0a63 6c61  d-timesyncd..cla
│ │ │ +001f8860: 7373 2065 6e61 626c 655f 7379 7374 656d  ss enable_system
│ │ │ +001f8870: 642d 7469 6d65 7379 6e63 6420 7b0a 2020  d-timesyncd {.  
│ │ │ +001f8880: 7365 7276 6963 6520 7b27 7379 7374 656d  service {'system
│ │ │ +001f8890: 642d 7469 6d65 7379 6e63 6427 3a0a 2020  d-timesyncd':.  
│ │ │ +001f88a0: 2020 656e 6162 6c65 203d 2667 743b 2074    enable => t
│ │ │ +001f88b0: 7275 652c 0a20 2020 2065 6e73 7572 6520  rue,.    ensure 
│ │ │ +001f88c0: 3d26 6774 3b20 2772 756e 6e69 6e67 272c  => 'running',
│ │ │ +001f88d0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f  .  }.}.
Remedi │ │ │ +001f8990: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl │ │ │ +001f89a0: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet │ │ │ +001f89b0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...

.[custo │ │ │ +001f8a00: 6d69 7a61 7469 6f6e 732e 7365 7276 6963 mizations.servic │ │ │ +001f8a10: 6573 5d0a 656e 6162 6c65 6420 3d20 5b22 es].enabled = [" │ │ │ +001f8a20: 7379 7374 656d 642d 7469 6d65 7379 6e63 systemd-timesync │ │ │ +001f8a30: 6422 5d0a 3c2f 636f 6465 3e3c 2f70 7265 d"].

Remed │ │ │ -001fd1d0: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ -001fd1e0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -001fd290: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -001fd2e0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ -001fd320: 6c75 6465 2072 656d 6f76 655f 7273 682d  lude remove_rsh-
│ │ │ -001fd330: 636c 6965 6e74 0a0a 636c 6173 7320 7265  client..class re
│ │ │ -001fd340: 6d6f 7665 5f72 7368 2d63 6c69 656e 7420  move_rsh-client 
│ │ │ -001fd350: 7b0a 2020 7061 636b 6167 6520 7b20 2772  {.  package { 'r
│ │ │ -001fd360: 7368 2d63 6c69 656e 7427 3a0a 2020 2020  sh-client':.    
│ │ │ -001fd370: 656e 7375 7265 203d 2667 743b 2027 7075  ensure => 'pu
│ │ │ -001fd380: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63  rged',.  }.}.
│ │ │ -001fd3a0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ -001fd440: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi │ │ │ -001fd450: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...< │ │ │ -001fd460: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Co │ │ │ -001fd270: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -001fd2a0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -001fd2c0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -001fd2d0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -001fd2f0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -001fd300: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
│ │ │ -001fd4e0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -001fd500: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -001fd550: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ -001fd580: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ -001fd4f0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -001fd510: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -001fd560: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ -001fd570: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
- name: Ensur
│ │ │ -001fd5a0: 6520 7273 682d 636c 6965 6e74 2069 7320  e rsh-client is 
│ │ │ -001fd5b0: 7265 6d6f 7665 640a 2020 7061 636b 6167  removed.  packag
│ │ │ -001fd5c0: 653a 0a20 2020 206e 616d 653a 2072 7368  e:.    name: rsh
│ │ │ -001fd5d0: 2d63 6c69 656e 740a 2020 2020 7374 6174  -client.    stat
│ │ │ -001fd5e0: 653a 2061 6273 656e 740a 2020 7461 6773  e: absent.  tags
│ │ │ -001fd5f0: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d31  :.  - NIST-800-1
│ │ │ -001fd600: 3731 2d33 2e31 2e31 330a 2020 2d20 5043  71-3.1.13.  - PC
│ │ │ -001fd610: 492d 4453 5376 342d 322e 320a 2020 2d20  I-DSSv4-2.2.  - 
│ │ │ -001fd620: 5043 492d 4453 5376 342d 322e 322e 340a  PCI-DSSv4-2.2.4.
│ │ │ -001fd630: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ -001fd640: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ -001fd650: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ -001fd660: 6469 7372 7570 7469 6f6e 0a20 202d 206e  disruption.  - n
│ │ │ -001fd670: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ -001fd680: 2020 2d20 7061 636b 6167 655f 7273 685f    - package_rsh_
│ │ │ -001fd690: 7265 6d6f 7665 640a 2020 2d20 756e 6b6e  removed.  - unkn
│ │ │ -001fd6a0: 6f77 6e5f 7365 7665 7269 7479 0a3c 2f63  own_severity.
< │ │ │ +001fd280: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +001fd290: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +001fd2e0: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ +001fd320: 6e61 6d65 3a20 456e 7375 7265 2072 7368  name: Ensure rsh
│ │ │ +001fd330: 2d63 6c69 656e 7420 6973 2072 656d 6f76  -client is remov
│ │ │ +001fd340: 6564 0a20 2070 6163 6b61 6765 3a0a 2020  ed.  package:.  
│ │ │ +001fd350: 2020 6e61 6d65 3a20 7273 682d 636c 6965    name: rsh-clie
│ │ │ +001fd360: 6e74 0a20 2020 2073 7461 7465 3a20 6162  nt.    state: ab
│ │ │ +001fd370: 7365 6e74 0a20 2074 6167 733a 0a20 202d  sent.  tags:.  -
│ │ │ +001fd380: 204e 4953 542d 3830 302d 3137 312d 332e   NIST-800-171-3.
│ │ │ +001fd390: 312e 3133 0a20 202d 2050 4349 2d44 5353  1.13.  - PCI-DSS
│ │ │ +001fd3a0: 7634 2d32 2e32 0a20 202d 2050 4349 2d44  v4-2.2.  - PCI-D
│ │ │ +001fd3b0: 5353 7634 2d32 2e32 2e34 0a20 202d 2064  SSv4-2.2.4.  - d
│ │ │ +001fd3c0: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ +001fd3d0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ +001fd3e0: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ +001fd3f0: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562  ption.  - no_reb
│ │ │ +001fd400: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ +001fd410: 6163 6b61 6765 5f72 7368 5f72 656d 6f76  ackage_rsh_remov
│ │ │ +001fd420: 6564 0a20 202d 2075 6e6b 6e6f 776e 5f73  ed.  - unknown_s
│ │ │ +001fd430: 6576 6572 6974 790a 3c2f 636f 6465 3e3c  everity.<
│ │ │ +001fd440: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>Remed
│ │ │ +001fd4f0: 6961 7469 6f6e 2050 7570 7065 7420 736e  iation Puppet sn
│ │ │ +001fd500: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
C │ │ │ +001fd270: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +001fd2a0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +001fd2b0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +001fd2f0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ +001fd300: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
low< │ │ │ +001fd5b0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +001fd600: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ +001fd640: 6c75 6465 2072 656d 6f76 655f 7273 682d  lude remove_rsh-
│ │ │ +001fd650: 636c 6965 6e74 0a0a 636c 6173 7320 7265  client..class re
│ │ │ +001fd660: 6d6f 7665 5f72 7368 2d63 6c69 656e 7420  move_rsh-client 
│ │ │ +001fd670: 7b0a 2020 7061 636b 6167 6520 7b20 2772  {.  package { 'r
│ │ │ +001fd680: 7368 2d63 6c69 656e 7427 3a0a 2020 2020  sh-client':.    
│ │ │ +001fd690: 656e 7375 7265 203d 2667 743b 2027 7075  ensure => 'pu
│ │ │ +001fd6a0: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63  rged',.  }.}.
│ │ │ 001fd6c0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Remediat │ │ │ -001ffae0: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp │ │ │ -001ffaf0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
Co │ │ │ +001fd590: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +001fd5c0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +001fd5e0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +001fd5f0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +001fd610: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +001fd620: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
│ │ │ -001ffba0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -001ffbc0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -001ffbf0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -001ffb80: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -001ffb90: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -001ffbb0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -001ffbd0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -001ffbe0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -001ffc20: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ │ │ │ -001ffc30: 6520 7265 6d6f 7665 5f74 616c 6b0a 0a63 e remove_talk..c │ │ │ -001ffc40: 6c61 7373 2072 656d 6f76 655f 7461 6c6b lass remove_talk │ │ │ -001ffc50: 207b 0a20 2070 6163 6b61 6765 207b 2027 {. package { ' │ │ │ -001ffc60: 7461 6c6b 273a 0a20 2020 2065 6e73 7572 talk':. ensur │ │ │ -001ffc70: 6520 3d26 6774 3b20 2770 7572 6765 6427 e => 'purged' │ │ │ -001ffc80: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.< │ │ │ -001ffc90: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remed │ │ │ -001ffd40: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s │ │ │ -001ffd50: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ -001ffdf0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -001ffe00: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ -001ffe50: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ -001ffe90: 6e61 6d65 3a20 456e 7375 7265 2074 616c  name: Ensure tal
│ │ │ -001ffea0: 6b20 6973 2072 656d 6f76 6564 0a20 2070  k is removed.  p
│ │ │ -001ffeb0: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65  ackage:.    name
│ │ │ -001ffec0: 3a20 7461 6c6b 0a20 2020 2073 7461 7465  : talk.    state
│ │ │ -001ffed0: 3a20 6162 7365 6e74 0a20 2074 6167 733a  : absent.  tags:
│ │ │ -001ffee0: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ -001ffef0: 2e32 0a20 202d 2050 4349 2d44 5353 7634  .2.  - PCI-DSSv4
│ │ │ -001fff00: 2d32 2e32 2e34 0a20 202d 2064 6973 6162  -2.2.4.  - disab
│ │ │ -001fff10: 6c65 5f73 7472 6174 6567 790a 2020 2d20  le_strategy.  - 
│ │ │ -001fff20: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20  low_complexity. 
│ │ │ -001fff30: 202d 206c 6f77 5f64 6973 7275 7074 696f   - low_disruptio
│ │ │ -001fff40: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576  n.  - medium_sev
│ │ │ -001fff50: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -001fff60: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ -001fff70: 6163 6b61 6765 5f74 616c 6b5f 7265 6d6f  ackage_talk_remo
│ │ │ -001fff80: 7665 640a 3c2f 636f 6465 3e3c 2f70 7265  ved.

< │ │ │ +001ffb00: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +001ffb10: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +001ffb20: 7365 2220 6964 3d22 6964 6d32 3633 3337 se" id="idm26337 │ │ │ +001ffb30: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
C │ │ │ -001ffde0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ -001ffe10: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ -001ffe20: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ -001ffe60: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ -001ffe70: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Comp │ │ │ +001ffb80: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +001ffb90: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +001ffbb0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +001ffbd0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +001ffbe0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +001ffc20: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d
- nam
│ │ │ +001ffc30: 653a 2045 6e73 7572 6520 7461 6c6b 2069  e: Ensure talk i
│ │ │ +001ffc40: 7320 7265 6d6f 7665 640a 2020 7061 636b  s removed.  pack
│ │ │ +001ffc50: 6167 653a 0a20 2020 206e 616d 653a 2074  age:.    name: t
│ │ │ +001ffc60: 616c 6b0a 2020 2020 7374 6174 653a 2061  alk.    state: a
│ │ │ +001ffc70: 6273 656e 740a 2020 7461 6773 3a0a 2020  bsent.  tags:.  
│ │ │ +001ffc80: 2d20 5043 492d 4453 5376 342d 322e 320a  - PCI-DSSv4-2.2.
│ │ │ +001ffc90: 2020 2d20 5043 492d 4453 5376 342d 322e    - PCI-DSSv4-2.
│ │ │ +001ffca0: 322e 340a 2020 2d20 6469 7361 626c 655f  2.4.  - disable_
│ │ │ +001ffcb0: 7374 7261 7465 6779 0a20 202d 206c 6f77  strategy.  - low
│ │ │ +001ffcc0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20  _complexity.  - 
│ │ │ +001ffcd0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20  low_disruption. 
│ │ │ +001ffce0: 202d 206d 6564 6975 6d5f 7365 7665 7269   - medium_severi
│ │ │ +001ffcf0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74  ty.  - no_reboot
│ │ │ +001ffd00: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ +001ffd10: 6167 655f 7461 6c6b 5f72 656d 6f76 6564  age_talk_removed
│ │ │ +001ffd20: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ +001ffde0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ +001ffdf0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ +001ffe70: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +001ffe80: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +001ffea0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +001ffeb0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ +001ffed0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ +001ffef0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ +001fff20: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ +001fff30: 6d6f 7665 5f74 616c 6b0a 0a63 6c61 7373  move_talk..class
│ │ │ +001fff40: 2072 656d 6f76 655f 7461 6c6b 207b 0a20   remove_talk {. 
│ │ │ +001fff50: 2070 6163 6b61 6765 207b 2027 7461 6c6b   package { 'talk
│ │ │ +001fff60: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ +001fff70: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ +001fff80: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remedia │ │ │ -00201200: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ -00201210: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ -00201220: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ -00201230: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ -00201240: 7365 2220 6964 3d22 6964 6d32 3633 3730 se" id="idm26370 │ │ │ -00201250: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Comp │ │ │ -002012a0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ -002012b0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ -002012d0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ -002012f0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ -00201300: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ -00201340: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -00201350: 6465 2072 656d 6f76 655f 7465 6c6e 6574  de remove_telnet
│ │ │ -00201360: 0a0a 636c 6173 7320 7265 6d6f 7665 5f74  ..class remove_t
│ │ │ -00201370: 656c 6e65 7420 7b0a 2020 7061 636b 6167  elnet {.  packag
│ │ │ -00201380: 6520 7b20 2774 656c 6e65 7427 3a0a 2020  e { 'telnet':.  
│ │ │ -00201390: 2020 656e 7375 7265 203d 2667 743b 2027    ensure => '
│ │ │ -002013a0: 7075 7267 6564 272c 0a20 207d 0a7d 0a3c  purged',.  }.}.<
│ │ │ -002013b0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation An │ │ │ -00201470: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet .. │ │ │ -00201480: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity │ │ │ -00201510: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :lowD │ │ │ -00201530: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption:< │ │ │ -00201540: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ -00201550: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:< │ │ │ -00201560: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th>falseS │ │ │ -00201580: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy:disable
<
│ │ │ -002015b0: 636f 6465 3e2d 206e 616d 653a 2045 6e73  code>- name: Ens
│ │ │ -002015c0: 7572 6520 7465 6c6e 6574 2069 7320 7265  ure telnet is re
│ │ │ -002015d0: 6d6f 7665 640a 2020 7061 636b 6167 653a  moved.  package:
│ │ │ -002015e0: 0a20 2020 206e 616d 653a 2074 656c 6e65  .    name: telne
│ │ │ -002015f0: 740a 2020 2020 7374 6174 653a 2061 6273  t.    state: abs
│ │ │ -00201600: 656e 740a 2020 7461 6773 3a0a 2020 2d20  ent.  tags:.  - 
│ │ │ -00201610: 4e49 5354 2d38 3030 2d31 3731 2d33 2e31  NIST-800-171-3.1
│ │ │ -00201620: 2e31 330a 2020 2d20 5043 492d 4453 5376  .13.  - PCI-DSSv
│ │ │ -00201630: 342d 322e 320a 2020 2d20 5043 492d 4453  4-2.2.  - PCI-DS
│ │ │ -00201640: 5376 342d 322e 322e 340a 2020 2d20 6469  Sv4-2.2.4.  - di
│ │ │ -00201650: 7361 626c 655f 7374 7261 7465 6779 0a20  sable_strategy. 
│ │ │ -00201660: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ -00201670: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ -00201680: 7469 6f6e 0a20 202d 206c 6f77 5f73 6576  tion.  - low_sev
│ │ │ -00201690: 6572 6974 790a 2020 2d20 6e6f 5f72 6562  erity.  - no_reb
│ │ │ -002016a0: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ -002016b0: 6163 6b61 6765 5f74 656c 6e65 745f 7265  ackage_telnet_re
│ │ │ -002016c0: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70  moved.


│ │ │ +00201220: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ +002012a0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ +002012d0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ +002012f0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ +00201300: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ +00201320: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ +00201330: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +00201350: 6d65 3a20 456e 7375 7265 2074 656c 6e65  me: Ensure telne
│ │ │ +00201360: 7420 6973 2072 656d 6f76 6564 0a20 2070  t is removed.  p
│ │ │ +00201370: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65  ackage:.    name
│ │ │ +00201380: 3a20 7465 6c6e 6574 0a20 2020 2073 7461  : telnet.    sta
│ │ │ +00201390: 7465 3a20 6162 7365 6e74 0a20 2074 6167  te: absent.  tag
│ │ │ +002013a0: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ +002013b0: 3137 312d 332e 312e 3133 0a20 202d 2050  171-3.1.13.  - P
│ │ │ +002013c0: 4349 2d44 5353 7634 2d32 2e32 0a20 202d  CI-DSSv4-2.2.  -
│ │ │ +002013d0: 2050 4349 2d44 5353 7634 2d32 2e32 2e34   PCI-DSSv4-2.2.4
│ │ │ +002013e0: 0a20 202d 2064 6973 6162 6c65 5f73 7472  .  - disable_str
│ │ │ +002013f0: 6174 6567 790a 2020 2d20 6c6f 775f 636f  ategy.  - low_co
│ │ │ +00201400: 6d70 6c65 7869 7479 0a20 202d 206c 6f77  mplexity.  - low
│ │ │ +00201410: 5f64 6973 7275 7074 696f 6e0a 2020 2d20  _disruption.  - 
│ │ │ +00201420: 6c6f 775f 7365 7665 7269 7479 0a20 202d  low_severity.  -
│ │ │ +00201430: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465   no_reboot_neede
│ │ │ +00201440: 640a 2020 2d20 7061 636b 6167 655f 7465  d.  - package_te
│ │ │ +00201450: 6c6e 6574 5f72 656d 6f76 6564 0a3c 2f63  lnet_removed.
│ │ │ +00201470: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +00201510: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ +00201520: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
< │ │ │ +002015b0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +002015d0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +00201620: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +00201650: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include remove
│ │ │ +00201670: 5f74 656c 6e65 740a 0a63 6c61 7373 2072  _telnet..class r
│ │ │ +00201680: 656d 6f76 655f 7465 6c6e 6574 207b 0a20  emove_telnet {. 
│ │ │ +00201690: 2070 6163 6b61 6765 207b 2027 7465 6c6e   package { 'teln
│ │ │ +002016a0: 6574 273a 0a20 2020 2065 6e73 7572 6520  et':.    ensure 
│ │ │ +002016b0: 3d26 6774 3b20 2770 7572 6765 6427 2c0a  => 'purged',.
│ │ │ +002016c0: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70    }.}.

Remediati │ │ │ -002021f0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -00202200: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -00202240: 3c74 6162 6c65 2063 6c61 7373 3d22 7461
low
Disr │ │ │ +002015e0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +002015f0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +00201630: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +00201640: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
< │ │ │ -002022b0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -002022d0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -00202300: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -00202290: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -002022a0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -002022e0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -002022f0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ -00202340: 2072 656d 6f76 655f 7273 796e 630a 0a63 remove_rsync..c │ │ │ -00202350: 6c61 7373 2072 656d 6f76 655f 7273 796e lass remove_rsyn │ │ │ -00202360: 6320 7b0a 2020 7061 636b 6167 6520 7b20 c {. package { │ │ │ -00202370: 2772 7379 6e63 273a 0a20 2020 2065 6e73 'rsync':. ens │ │ │ -00202380: 7572 6520 3d26 6774 3b20 2770 7572 6765 ure => 'purge │ │ │ -00202390: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 d',. }.}.

Rem │ │ │ -00202450: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ -00202460: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -00202470: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -00202540: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -00202550: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -002025a0: 2d20 6e61 6d65 3a20 456e 7375 7265 2072  - name: Ensure r
│ │ │ -002025b0: 7379 6e63 2069 7320 7265 6d6f 7665 640a  sync is removed.
│ │ │ -002025c0: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ -002025d0: 616d 653a 2072 7379 6e63 0a20 2020 2073  ame: rsync.    s
│ │ │ -002025e0: 7461 7465 3a20 6162 7365 6e74 0a20 2074  tate: absent.  t
│ │ │ -002025f0: 6167 733a 0a20 202d 2064 6973 6162 6c65  ags:.  - disable
│ │ │ -00202600: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ -00202610: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -00202620: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -00202630: 2020 2d20 6d65 6469 756d 5f73 6576 6572    - medium_sever
│ │ │ -00202640: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f  ity.  - no_reboo
│ │ │ -00202650: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ -00202660: 6b61 6765 5f72 7379 6e63 5f72 656d 6f76  kage_rsync_remov
│ │ │ -00202670: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e  ed.
│ │ │ +002021f0: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ +00202200: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
Complexity:low
Disrup │ │ │ -00202520: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -00202530: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -00202570: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -00202580: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +002022b0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +002022d0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +00202300: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +00202290: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +002022a0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +002022c0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +002022e0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +002022f0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +00202330: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +00202340: 3a20 456e 7375 7265 2072 7379 6e63 2069 : Ensure rsync i │ │ │ +00202350: 7320 7265 6d6f 7665 640a 2020 7061 636b s removed. pack │ │ │ +00202360: 6167 653a 0a20 2020 206e 616d 653a 2072 age:. name: r │ │ │ +00202370: 7379 6e63 0a20 2020 2073 7461 7465 3a20 sync. state: │ │ │ +00202380: 6162 7365 6e74 0a20 2074 6167 733a 0a20 absent. tags:. │ │ │ +00202390: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat │ │ │ +002023a0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp │ │ │ +002023b0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d │ │ │ +002023c0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me │ │ │ +002023d0: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity. │ │ │ +002023e0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need │ │ │ +002023f0: 6564 0a20 202d 2070 6163 6b61 6765 5f72 ed. - package_r │ │ │ +00202400: 7379 6e63 5f72 656d 6f76 6564 0a3c 2f63 sync_removed.
│ │ │ +00202420: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +002024c0: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp │ │ │ +002024d0: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
< │ │ │ +00202560: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:< │ │ │ +00202580: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>< │ │ │ +002025d0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>< │ │ │ +00202600: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>
include remove
│ │ │ +00202620: 5f72 7379 6e63 0a0a 636c 6173 7320 7265  _rsync..class re
│ │ │ +00202630: 6d6f 7665 5f72 7379 6e63 207b 0a20 2070  move_rsync {.  p
│ │ │ +00202640: 6163 6b61 6765 207b 2027 7273 796e 6327  ackage { 'rsync'
│ │ │ +00202650: 3a0a 2020 2020 656e 7375 7265 203d 2667  :.    ensure =&g
│ │ │ +00202660: 743b 2027 7075 7267 6564 272c 0a20 207d  t; 'purged',.  }
│ │ │ +00202670: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ 00202680: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remedi │ │ │ -00203bf0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ -00203c00: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -00203c10: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
low
Disr │ │ │ +00202590: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: │ │ │ +002025a0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Reboot:false
Stra │ │ │ +002025e0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy:di │ │ │ +002025f0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable
Com │ │ │ -00203c90: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -00203cc0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -00203ce0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -00203cf0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -00203d10: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -00203d20: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -00203d40: 7564 6520 7265 6d6f 7665 5f63 7570 730a  ude remove_cups.
│ │ │ -00203d50: 0a63 6c61 7373 2072 656d 6f76 655f 6375  .class remove_cu
│ │ │ -00203d60: 7073 207b 0a20 2070 6163 6b61 6765 207b  ps {.  package {
│ │ │ -00203d70: 2027 6375 7073 273a 0a20 2020 2065 6e73   'cups':.    ens
│ │ │ -00203d80: 7572 6520 3d26 6774 3b20 2770 7572 6765  ure => 'purge
│ │ │ -00203d90: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465  d',.  }.}.
Rem │ │ │ -00203e50: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ -00203e60: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -00203e70: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -00203f40: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -00203f50: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -00203fa0: 2d20 6e61 6d65 3a20 456e 7375 7265 2063  - name: Ensure c
│ │ │ -00203fb0: 7570 7320 6973 2072 656d 6f76 6564 0a20  ups is removed. 
│ │ │ -00203fc0: 2070 6163 6b61 6765 3a0a 2020 2020 6e61   package:.    na
│ │ │ -00203fd0: 6d65 3a20 6375 7073 0a20 2020 2073 7461  me: cups.    sta
│ │ │ -00203fe0: 7465 3a20 6162 7365 6e74 0a20 2074 6167  te: absent.  tag
│ │ │ -00203ff0: 733a 0a20 202d 204e 4953 542d 3830 302d  s:.  - NIST-800-
│ │ │ -00204000: 3533 2d43 4d2d 3628 6129 0a20 202d 204e  53-CM-6(a).  - N
│ │ │ -00204010: 4953 542d 3830 302d 3533 2d43 4d2d 3728  IST-800-53-CM-7(
│ │ │ -00204020: 6129 0a20 202d 204e 4953 542d 3830 302d  a).  - NIST-800-
│ │ │ -00204030: 3533 2d43 4d2d 3728 6229 0a20 202d 2064  53-CM-7(b).  - d
│ │ │ -00204040: 6973 6162 6c65 5f73 7472 6174 6567 790a  isable_strategy.
│ │ │ -00204050: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869    - low_complexi
│ │ │ -00204060: 7479 0a20 202d 206c 6f77 5f64 6973 7275  ty.  - low_disru
│ │ │ -00204070: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562  ption.  - no_reb
│ │ │ -00204080: 6f6f 745f 6e65 6564 6564 0a20 202d 2070  oot_needed.  - p
│ │ │ -00204090: 6163 6b61 6765 5f63 7570 735f 7265 6d6f  ackage_cups_remo
│ │ │ -002040a0: 7665 640a 2020 2d20 756e 6b6e 6f77 6e5f  ved.  - unknown_
│ │ │ -002040b0: 7365 7665 7269 7479 0a3c 2f63 6f64 653e  severity.
│ │ │ +00203bf0: 6174 696f 6e20 416e 7369 626c 6520 736e  ation Ansible sn
│ │ │ +00203c00: 6970 7065 7420 e287 b23c 2f61 3e3c 6272  ippet ...
Complexity:low
Disrup │ │ │ -00203f20: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -00203f30: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -00203f70: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -00203f80: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
low< │ │ │ +00203cb0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ +00203d00: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
- n
│ │ │ +00203d40: 616d 653a 2045 6e73 7572 6520 6375 7073  ame: Ensure cups
│ │ │ +00203d50: 2069 7320 7265 6d6f 7665 640a 2020 7061   is removed.  pa
│ │ │ +00203d60: 636b 6167 653a 0a20 2020 206e 616d 653a  ckage:.    name:
│ │ │ +00203d70: 2063 7570 730a 2020 2020 7374 6174 653a   cups.    state:
│ │ │ +00203d80: 2061 6273 656e 740a 2020 7461 6773 3a0a   absent.  tags:.
│ │ │ +00203d90: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +00203da0: 434d 2d36 2861 290a 2020 2d20 4e49 5354  CM-6(a).  - NIST
│ │ │ +00203db0: 2d38 3030 2d35 332d 434d 2d37 2861 290a  -800-53-CM-7(a).
│ │ │ +00203dc0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d    - NIST-800-53-
│ │ │ +00203dd0: 434d 2d37 2862 290a 2020 2d20 6469 7361  CM-7(b).  - disa
│ │ │ +00203de0: 626c 655f 7374 7261 7465 6779 0a20 202d  ble_strategy.  -
│ │ │ +00203df0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a   low_complexity.
│ │ │ +00203e00: 2020 2d20 6c6f 775f 6469 7372 7570 7469    - low_disrupti
│ │ │ +00203e10: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74  on.  - no_reboot
│ │ │ +00203e20: 5f6e 6565 6465 640a 2020 2d20 7061 636b  _needed.  - pack
│ │ │ +00203e30: 6167 655f 6375 7073 5f72 656d 6f76 6564  age_cups_removed
│ │ │ +00203e40: 0a20 202d 2075 6e6b 6e6f 776e 5f73 6576  .  - unknown_sev
│ │ │ +00203e50: 6572 6974 790a 3c2f 636f 6465 3e3c 2f70  erity.

Remedia │ │ │ +00203f10: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip │ │ │ +00203f20: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
< │ │ │ +00203f30: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel │ │ │ +00203f40: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap │ │ │ +00203f50: 7365 2220 6964 3d22 6964 6d32 3634 3538 se" id="idm26458 │ │ │ +00203f60: 223e 3c74 6162 6c65 2063 6c61 7373 3d22 ">
Co │ │ │ +00203c90: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ +00203cc0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ +00203ce0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ +00203cf0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ +00203d10: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ +00203d20: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Comp │ │ │ +00203fb0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity: │ │ │ +00203fc0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low
Disruption: │ │ │ +00203fe0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Re │ │ │ +00204000: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot:fa │ │ │ +00204010: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse
Strategy:disable
│ │ │ +00204050: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ +00204060: 6465 2072 656d 6f76 655f 6375 7073 0a0a  de remove_cups..
│ │ │ +00204070: 636c 6173 7320 7265 6d6f 7665 5f63 7570  class remove_cup
│ │ │ +00204080: 7320 7b0a 2020 7061 636b 6167 6520 7b20  s {.  package { 
│ │ │ +00204090: 2763 7570 7327 3a0a 2020 2020 656e 7375  'cups':.    ensu
│ │ │ +002040a0: 7265 203d 2667 743b 2027 7075 7267 6564  re => 'purged
│ │ │ +002040b0: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e  ',.  }.}.
│ │ │  002040c0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063  
Remediation │ │ │ -002050e0: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri │ │ │ -002050f0: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
.[customizat
│ │ │ -00205150: 696f 6e73 2e73 6572 7669 6365 735d 0a6d  ions.services].m
│ │ │ -00205160: 6173 6b65 6420 3d20 5b22 6375 7073 225d  asked = ["cups"]
│ │ │ -00205170: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f  .
Remediation │ │ │ -00205230: 4b75 6265 726e 6574 6573 2073 6e69 7070 Kubernetes snipp │ │ │ -00205240: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -002052f0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c
Compl │ │ │ -002052d0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -002052e0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -00205300: 2f74 683e 3c74 643e 6d65 6469 756d 3c2f /th>medium
│ │ │ -00205320: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -00205330: 7472 7565 3c2f 7464 3e3c 2f74 723e 3c74 true
Strategy:< │ │ │ -00205350: 2f74 683e 3c74 643e 6469 7361 626c 653c /th>disable< │ │ │ -00205360: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
apiV
│ │ │ -00205380: 6572 7369 6f6e 3a20 6d61 6368 696e 6563  ersion: machinec
│ │ │ -00205390: 6f6e 6669 6775 7261 7469 6f6e 2e6f 7065  onfiguration.ope
│ │ │ -002053a0: 6e73 6869 6674 2e69 6f2f 7631 0a6b 696e  nshift.io/v1.kin
│ │ │ -002053b0: 643a 204d 6163 6869 6e65 436f 6e66 6967  d: MachineConfig
│ │ │ -002053c0: 0a73 7065 633a 0a20 2063 6f6e 6669 673a  .spec:.  config:
│ │ │ -002053d0: 0a20 2020 2069 676e 6974 696f 6e3a 0a20  .    ignition:. 
│ │ │ -002053e0: 2020 2020 2076 6572 7369 6f6e 3a20 332e       version: 3.
│ │ │ -002053f0: 312e 300a 2020 2020 7379 7374 656d 643a  1.0.    systemd:
│ │ │ -00205400: 0a20 2020 2020 2075 6e69 7473 3a0a 2020  .      units:.  
│ │ │ -00205410: 2020 2020 2d20 6e61 6d65 3a20 6375 7073      - name: cups
│ │ │ -00205420: 2e73 6572 7669 6365 0a20 2020 2020 2020  .service.       
│ │ │ -00205430: 2065 6e61 626c 6564 3a20 6661 6c73 650a   enabled: false.
│ │ │ -00205440: 2020 2020 2020 2020 6d61 736b 3a20 7472          mask: tr
│ │ │ -00205450: 7565 0a20 2020 2020 202d 206e 616d 653a  ue.      - name:
│ │ │ -00205460: 2063 7570 732e 736f 636b 6574 0a20 2020   cups.socket.   
│ │ │ -00205470: 2020 2020 2065 6e61 626c 6564 3a20 6661       enabled: fa
│ │ │ -00205480: 6c73 650a 2020 2020 2020 2020 6d61 736b  lse.        mask
│ │ │ -00205490: 3a20 7472 7565 0a3c 2f63 6f64 653e 3c2f  : true.
Remedi │ │ │ -00205550: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni │ │ │ -00205560: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -00205570: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Com │ │ │ -002055f0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity:low
Disruption │ │ │ -00205620: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 :low
R │ │ │ -00205640: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot:f │ │ │ -00205650: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse
Strategy:< │ │ │ -00205670: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th>enable
│ │ │ -00205690: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75
inclu
│ │ │ -002056a0: 6465 2064 6973 6162 6c65 5f63 7570 730a  de disable_cups.
│ │ │ -002056b0: 0a63 6c61 7373 2064 6973 6162 6c65 5f63  .class disable_c
│ │ │ -002056c0: 7570 7320 7b0a 2020 7365 7276 6963 6520  ups {.  service 
│ │ │ -002056d0: 7b27 6375 7073 273a 0a20 2020 2065 6e61  {'cups':.    ena
│ │ │ -002056e0: 626c 6520 3d26 6774 3b20 6661 6c73 652c  ble => false,
│ │ │ -002056f0: 0a20 2020 2065 6e73 7572 6520 3d26 6774  .    ensure =>
│ │ │ -00205700: 3b20 2773 746f 7070 6564 272c 0a20 207d  ; 'stopped',.  }
│ │ │ -00205710: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e  .}.
│ │ │ -00205720: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ -002057d0: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe │ │ │ -002057e0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -00205820: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -00205890: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -002058b0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -002058e0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -00205870: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -00205880: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -002058c0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -002058d0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

- name: │ │ │ -00205920: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack │ │ │ -00205930: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack │ │ │ -00205940: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m │ │ │ -00205950: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t │ │ │ -00205960: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80 │ │ │ -00205970: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). - │ │ │ -00205980: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM- │ │ │ -00205990: 3728 6129 0a20 202d 204e 4953 542d 3830 7(a). - NIST-80 │ │ │ -002059a0: 302d 3533 2d43 4d2d 3728 6229 0a20 202d 0-53-CM-7(b). - │ │ │ -002059b0: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg │ │ │ -002059c0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple │ │ │ -002059d0: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis │ │ │ -002059e0: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72 ruption. - no_r │ │ │ -002059f0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. - │ │ │ -00205a00: 2073 6572 7669 6365 5f63 7570 735f 6469 service_cups_di │ │ │ -00205a10: 7361 626c 6564 0a20 202d 2075 6e6b 6e6f sabled. - unkno │ │ │ -00205a20: 776e 5f73 6576 6572 6974 790a 0a2d 206e wn_severity..- n │ │ │ -00205a30: 616d 653a 2044 6973 6162 6c65 2074 6865 ame: Disable the │ │ │ -00205a40: 2043 5550 5320 5365 7276 6963 6520 2d20 CUPS Service - │ │ │ -00205a50: 436f 6c6c 6563 7420 7379 7374 656d 6420 Collect systemd │ │ │ -00205a60: 5365 7276 6963 6573 2050 7265 7365 6e74 Services Present │ │ │ -00205a70: 2069 6e20 7468 6520 5379 7374 656d 0a20 in the System. │ │ │ -00205a80: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin │ │ │ -00205a90: 2e63 6f6d 6d61 6e64 3a20 7379 7374 656d .command: system │ │ │ -00205aa0: 6374 6c20 2d71 206c 6973 742d 756e 6974 ctl -q list-unit │ │ │ -00205ab0: 2d66 696c 6573 202d 2d74 7970 6520 7365 -files --type se │ │ │ -00205ac0: 7276 6963 650a 2020 7265 6769 7374 6572 rvice. register │ │ │ -00205ad0: 3a20 7365 7276 6963 655f 6578 6973 7473 : service_exists │ │ │ -00205ae0: 0a20 2063 6861 6e67 6564 5f77 6865 6e3a . changed_when: │ │ │ -00205af0: 2066 616c 7365 0a20 2066 6169 6c65 645f false. failed_ │ │ │ -00205b00: 7768 656e 3a20 7365 7276 6963 655f 6578 when: service_ex │ │ │ -00205b10: 6973 7473 2e72 6320 6e6f 7420 696e 205b ists.rc not in [ │ │ │ -00205b20: 302c 2031 5d0a 2020 6368 6563 6b5f 6d6f 0, 1]. check_mo │ │ │ -00205b30: 6465 3a20 6661 6c73 650a 2020 7768 656e de: false. when │ │ │ -00205b40: 3a20 2722 6c69 6e75 782d 6261 7365 2220 : '"linux-base" │ │ │ -00205b50: 696e 2061 6e73 6962 6c65 5f66 6163 7473 in ansible_facts │ │ │ -00205b60: 2e70 6163 6b61 6765 7327 0a20 2074 6167 .packages'. tag │ │ │ -00205b70: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800- │ │ │ -00205b80: 3533 2d43 4d2d 3628 6129 0a20 202d 204e 53-CM-6(a). - N │ │ │ -00205b90: 4953 542d 3830 302d 3533 2d43 4d2d 3728 IST-800-53-CM-7( │ │ │ -00205ba0: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800- │ │ │ -00205bb0: 3533 2d43 4d2d 3728 6229 0a20 202d 2064 53-CM-7(b). - d │ │ │ -00205bc0: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy. │ │ │ -00205bd0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi │ │ │ -00205be0: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru │ │ │ -00205bf0: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562 ption. - no_reb │ │ │ -00205c00: 6f6f 745f 6e65 6564 6564 0a20 202d 2073 oot_needed. - s │ │ │ -00205c10: 6572 7669 6365 5f63 7570 735f 6469 7361 ervice_cups_disa │ │ │ -00205c20: 626c 6564 0a20 202d 2075 6e6b 6e6f 776e bled. - unknown │ │ │ -00205c30: 5f73 6576 6572 6974 790a 0a2d 206e 616d _severity..- nam │ │ │ -00205c40: 653a 2044 6973 6162 6c65 2074 6865 2043 e: Disable the C │ │ │ -00205c50: 5550 5320 5365 7276 6963 6520 2d20 456e UPS Service - En │ │ │ -00205c60: 7375 7265 2063 7570 732e 7365 7276 6963 sure cups.servic │ │ │ -00205c70: 6520 6973 204d 6173 6b65 640a 2020 616e e is Masked. an │ │ │ -00205c80: 7369 626c 652e 6275 696c 7469 6e2e 7379 sible.builtin.sy │ │ │ -00205c90: 7374 656d 643a 0a20 2020 206e 616d 653a stemd:. name: │ │ │ -00205ca0: 2063 7570 732e 7365 7276 6963 650a 2020 cups.service. │ │ │ -00205cb0: 2020 7374 6174 653a 2073 746f 7070 6564 state: stopped │ │ │ -00205cc0: 0a20 2020 2065 6e61 626c 6564 3a20 6661 . enabled: fa │ │ │ -00205cd0: 6c73 650a 2020 2020 6d61 736b 6564 3a20 lse. masked: │ │ │ -00205ce0: 7472 7565 0a20 2077 6865 6e3a 0a20 202d true. when:. - │ │ │ -00205cf0: 2027 226c 696e 7578 2d62 6173 6522 2069 '"linux-base" i │ │ │ -00205d00: 6e20 616e 7369 626c 655f 6661 6374 732e n ansible_facts. │ │ │ -00205d10: 7061 636b 6167 6573 270a 2020 2d20 7365 packages'. - se │ │ │ -00205d20: 7276 6963 655f 6578 6973 7473 2e73 7464 rvice_exists.std │ │ │ -00205d30: 6f75 745f 6c69 6e65 7320 6973 2073 6561 out_lines is sea │ │ │ -00205d40: 7263 6828 2263 7570 732e 7365 7276 6963 rch("cups.servic │ │ │ -00205d50: 6522 2c20 6d75 6c74 696c 696e 653d 5472 e", multiline=Tr │ │ │ -00205d60: 7565 290a 2020 7461 6773 3a0a 2020 2d20 ue). tags:. - │ │ │ -00205d70: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6 │ │ │ -00205d80: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800 │ │ │ -00205d90: 2d35 332d 434d 2d37 2861 290a 2020 2d20 -53-CM-7(a). - │ │ │ -00205da0: 4e49 5354 2d38 3030 2d35 332d 434d 2d37 NIST-800-53-CM-7 │ │ │ -00205db0: 2862 290a 2020 2d20 6469 7361 626c 655f (b). - disable_ │ │ │ -00205dc0: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low │ │ │ -00205dd0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. - │ │ │ -00205de0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption. │ │ │ -00205df0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee │ │ │ -00205e00: 6465 640a 2020 2d20 7365 7276 6963 655f ded. - service_ │ │ │ -00205e10: 6375 7073 5f64 6973 6162 6c65 640a 2020 cups_disabled. │ │ │ -00205e20: 2d20 756e 6b6e 6f77 6e5f 7365 7665 7269 - unknown_severi │ │ │ -00205e30: 7479 0a0a 2d20 6e61 6d65 3a20 556e 6974 ty..- name: Unit │ │ │ -00205e40: 2053 6f63 6b65 7420 4578 6973 7473 202d Socket Exists - │ │ │ -00205e50: 2063 7570 732e 736f 636b 6574 0a20 2061 cups.socket. a │ │ │ -00205e60: 6e73 6962 6c65 2e62 7569 6c74 696e 2e63 nsible.builtin.c │ │ │ -00205e70: 6f6d 6d61 6e64 3a20 7379 7374 656d 6374 ommand: systemct │ │ │ -00205e80: 6c20 2d71 206c 6973 742d 756e 6974 2d66 l -q list-unit-f │ │ │ -00205e90: 696c 6573 2063 7570 732e 736f 636b 6574 iles cups.socket │ │ │ -00205ea0: 0a20 2072 6567 6973 7465 723a 2073 6f63 . register: soc │ │ │ -00205eb0: 6b65 745f 6669 6c65 5f65 7869 7374 730a ket_file_exists. │ │ │ -00205ec0: 2020 6368 616e 6765 645f 7768 656e 3a20 changed_when: │ │ │ -00205ed0: 6661 6c73 650a 2020 6661 696c 6564 5f77 false. failed_w │ │ │ -00205ee0: 6865 6e3a 2073 6f63 6b65 745f 6669 6c65 hen: socket_file │ │ │ -00205ef0: 5f65 7869 7374 732e 7263 206e 6f74 2069 _exists.rc not i │ │ │ -00205f00: 6e20 5b30 2c20 315d 0a20 2063 6865 636b n [0, 1]. check │ │ │ -00205f10: 5f6d 6f64 653a 2066 616c 7365 0a20 2077 _mode: false. w │ │ │ -00205f20: 6865 6e3a 2027 226c 696e 7578 2d62 6173 hen: '"linux-bas │ │ │ -00205f30: 6522 2069 6e20 616e 7369 626c 655f 6661 e" in ansible_fa │ │ │ -00205f40: 6374 732e 7061 636b 6167 6573 270a 2020 cts.packages'. │ │ │ -00205f50: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8 │ │ │ -00205f60: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a). │ │ │ -00205f70: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM │ │ │ -00205f80: 2d37 2861 290a 2020 2d20 4e49 5354 2d38 -7(a). - NIST-8 │ │ │ -00205f90: 3030 2d35 332d 434d 2d37 2862 290a 2020 00-53-CM-7(b). │ │ │ -00205fa0: 2d20 6469 7361 626c 655f 7374 7261 7465 - disable_strate │ │ │ -00205fb0: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl │ │ │ -00205fc0: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di │ │ │ -00205fd0: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f sruption. - no_ │ │ │ -00205fe0: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed. │ │ │ -00205ff0: 2d20 7365 7276 6963 655f 6375 7073 5f64 - service_cups_d │ │ │ -00206000: 6973 6162 6c65 640a 2020 2d20 756e 6b6e isabled. - unkn │ │ │ -00206010: 6f77 6e5f 7365 7665 7269 7479 0a0a 2d20 own_severity..- │ │ │ -00206020: 6e61 6d65 3a20 4469 7361 626c 6520 7468 name: Disable th │ │ │ -00206030: 6520 4355 5053 2053 6572 7669 6365 202d e CUPS Service - │ │ │ -00206040: 2044 6973 6162 6c65 2053 6f63 6b65 7420 Disable Socket │ │ │ -00206050: 6375 7073 0a20 2061 6e73 6962 6c65 2e62 cups. ansible.b │ │ │ -00206060: 7569 6c74 696e 2e73 7973 7465 6d64 3a0a uiltin.systemd:. │ │ │ -00206070: 2020 2020 6e61 6d65 3a20 6375 7073 2e73 name: cups.s │ │ │ -00206080: 6f63 6b65 740a 2020 2020 656e 6162 6c65 ocket. enable │ │ │ -00206090: 643a 2066 616c 7365 0a20 2020 2073 7461 d: false. sta │ │ │ -002060a0: 7465 3a20 7374 6f70 7065 640a 2020 2020 te: stopped. │ │ │ -002060b0: 6d61 736b 6564 3a20 7472 7565 0a20 2077 masked: true. w │ │ │ -002060c0: 6865 6e3a 0a20 202d 2027 226c 696e 7578 hen:. - '"linux │ │ │ -002060d0: 2d62 6173 6522 2069 6e20 616e 7369 626c -base" in ansibl │ │ │ -002060e0: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages │ │ │ -002060f0: 270a 2020 2d20 736f 636b 6574 5f66 696c '. - socket_fil │ │ │ -00206100: 655f 6578 6973 7473 2e73 7464 6f75 745f e_exists.stdout_ │ │ │ -00206110: 6c69 6e65 7320 6973 2073 6561 7263 6828 lines is search( │ │ │ -00206120: 2263 7570 732e 736f 636b 6574 222c 206d "cups.socket", m │ │ │ -00206130: 756c 7469 6c69 6e65 3d54 7275 6529 0a20 ultiline=True). │ │ │ -00206140: 2074 6167 733a 0a20 202d 204e 4953 542d tags:. - NIST- │ │ │ -00206150: 3830 302d 3533 2d43 4d2d 3628 6129 0a20 800-53-CM-6(a). │ │ │ -00206160: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C │ │ │ -00206170: 4d2d 3728 6129 0a20 202d 204e 4953 542d M-7(a). - NIST- │ │ │ -00206180: 3830 302d 3533 2d43 4d2d 3728 6229 0a20 800-53-CM-7(b). │ │ │ -00206190: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat │ │ │ -002061a0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp │ │ │ -002061b0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d │ │ │ -002061c0: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f isruption. - no │ │ │ -002061d0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed. │ │ │ -002061e0: 202d 2073 6572 7669 6365 5f63 7570 735f - service_cups_ │ │ │ -002061f0: 6469 7361 626c 6564 0a20 202d 2075 6e6b disabled. - unk │ │ │ -00206200: 6e6f 776e 5f73 6576 6572 6974 790a 3c2f nown_severity.

< │ │ │ +00205130: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +00205140: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +00205150: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +00205160: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +00205170: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +00205180: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +00205190: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +002051d0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +002051e0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +00205200: 3c74 643e 6469 7361 626c 653c 2f74 643e disable │ │ │ +00205210: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 - name: │ │ │ +00205230: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa │ │ │ +00205240: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa │ │ │ +00205250: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma │ │ │ +00205260: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta │ │ │ +00205270: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800 │ │ │ +00205280: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). - │ │ │ +00205290: 4e49 5354 2d38 3030 2d35 332d 434d 2d37 NIST-800-53-CM-7 │ │ │ +002052a0: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800 │ │ │ +002052b0: 2d35 332d 434d 2d37 2862 290a 2020 2d20 -53-CM-7(b). - │ │ │ +002052c0: 6469 7361 626c 655f 7374 7261 7465 6779 disable_strategy │ │ │ +002052d0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex │ │ │ +002052e0: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr │ │ │ +002052f0: 7570 7469 6f6e 0a20 202d 206e 6f5f 7265 uption. - no_re │ │ │ +00205300: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. - │ │ │ +00205310: 7365 7276 6963 655f 6375 7073 5f64 6973 service_cups_dis │ │ │ +00205320: 6162 6c65 640a 2020 2d20 756e 6b6e 6f77 abled. - unknow │ │ │ +00205330: 6e5f 7365 7665 7269 7479 0a0a 2d20 6e61 n_severity..- na │ │ │ +00205340: 6d65 3a20 4469 7361 626c 6520 7468 6520 me: Disable the │ │ │ +00205350: 4355 5053 2053 6572 7669 6365 202d 2043 CUPS Service - C │ │ │ +00205360: 6f6c 6c65 6374 2073 7973 7465 6d64 2053 ollect systemd S │ │ │ +00205370: 6572 7669 6365 7320 5072 6573 656e 7420 ervices Present │ │ │ +00205380: 696e 2074 6865 2053 7973 7465 6d0a 2020 in the System. │ │ │ +00205390: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin. │ │ │ +002053a0: 636f 6d6d 616e 643a 2073 7973 7465 6d63 command: systemc │ │ │ +002053b0: 746c 202d 7120 6c69 7374 2d75 6e69 742d tl -q list-unit- │ │ │ +002053c0: 6669 6c65 7320 2d2d 7479 7065 2073 6572 files --type ser │ │ │ +002053d0: 7669 6365 0a20 2072 6567 6973 7465 723a vice. register: │ │ │ +002053e0: 2073 6572 7669 6365 5f65 7869 7374 730a service_exists. │ │ │ +002053f0: 2020 6368 616e 6765 645f 7768 656e 3a20 changed_when: │ │ │ +00205400: 6661 6c73 650a 2020 6661 696c 6564 5f77 false. failed_w │ │ │ +00205410: 6865 6e3a 2073 6572 7669 6365 5f65 7869 hen: service_exi │ │ │ +00205420: 7374 732e 7263 206e 6f74 2069 6e20 5b30 sts.rc not in [0 │ │ │ +00205430: 2c20 315d 0a20 2063 6865 636b 5f6d 6f64 , 1]. check_mod │ │ │ +00205440: 653a 2066 616c 7365 0a20 2077 6865 6e3a e: false. when: │ │ │ +00205450: 2027 226c 696e 7578 2d62 6173 6522 2069 '"linux-base" i │ │ │ +00205460: 6e20 616e 7369 626c 655f 6661 6374 732e n ansible_facts. │ │ │ +00205470: 7061 636b 6167 6573 270a 2020 7461 6773 packages'. tags │ │ │ +00205480: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35 :. - NIST-800-5 │ │ │ +00205490: 332d 434d 2d36 2861 290a 2020 2d20 4e49 3-CM-6(a). - NI │ │ │ +002054a0: 5354 2d38 3030 2d35 332d 434d 2d37 2861 ST-800-53-CM-7(a │ │ │ +002054b0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5 │ │ │ +002054c0: 332d 434d 2d37 2862 290a 2020 2d20 6469 3-CM-7(b). - di │ │ │ +002054d0: 7361 626c 655f 7374 7261 7465 6779 0a20 sable_strategy. │ │ │ +002054e0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit │ │ │ +002054f0: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup │ │ │ +00205500: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f tion. - no_rebo │ │ │ +00205510: 6f74 5f6e 6565 6465 640a 2020 2d20 7365 ot_needed. - se │ │ │ +00205520: 7276 6963 655f 6375 7073 5f64 6973 6162 rvice_cups_disab │ │ │ +00205530: 6c65 640a 2020 2d20 756e 6b6e 6f77 6e5f led. - unknown_ │ │ │ +00205540: 7365 7665 7269 7479 0a0a 2d20 6e61 6d65 severity..- name │ │ │ +00205550: 3a20 4469 7361 626c 6520 7468 6520 4355 : Disable the CU │ │ │ +00205560: 5053 2053 6572 7669 6365 202d 2045 6e73 PS Service - Ens │ │ │ +00205570: 7572 6520 6375 7073 2e73 6572 7669 6365 ure cups.service │ │ │ +00205580: 2069 7320 4d61 736b 6564 0a20 2061 6e73 is Masked. ans │ │ │ +00205590: 6962 6c65 2e62 7569 6c74 696e 2e73 7973 ible.builtin.sys │ │ │ +002055a0: 7465 6d64 3a0a 2020 2020 6e61 6d65 3a20 temd:. name: │ │ │ +002055b0: 6375 7073 2e73 6572 7669 6365 0a20 2020 cups.service. │ │ │ +002055c0: 2073 7461 7465 3a20 7374 6f70 7065 640a state: stopped. │ │ │ +002055d0: 2020 2020 656e 6162 6c65 643a 2066 616c enabled: fal │ │ │ +002055e0: 7365 0a20 2020 206d 6173 6b65 643a 2074 se. masked: t │ │ │ +002055f0: 7275 650a 2020 7768 656e 3a0a 2020 2d20 rue. when:. - │ │ │ +00205600: 2722 6c69 6e75 782d 6261 7365 2220 696e '"linux-base" in │ │ │ +00205610: 2061 6e73 6962 6c65 5f66 6163 7473 2e70 ansible_facts.p │ │ │ +00205620: 6163 6b61 6765 7327 0a20 202d 2073 6572 ackages'. - ser │ │ │ +00205630: 7669 6365 5f65 7869 7374 732e 7374 646f vice_exists.stdo │ │ │ +00205640: 7574 5f6c 696e 6573 2069 7320 7365 6172 ut_lines is sear │ │ │ +00205650: 6368 2822 6375 7073 2e73 6572 7669 6365 ch("cups.service │ │ │ +00205660: 222c 206d 756c 7469 6c69 6e65 3d54 7275 ", multiline=Tru │ │ │ +00205670: 6529 0a20 2074 6167 733a 0a20 202d 204e e). tags:. - N │ │ │ +00205680: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6( │ │ │ +00205690: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800- │ │ │ +002056a0: 3533 2d43 4d2d 3728 6129 0a20 202d 204e 53-CM-7(a). - N │ │ │ +002056b0: 4953 542d 3830 302d 3533 2d43 4d2d 3728 IST-800-53-CM-7( │ │ │ +002056c0: 6229 0a20 202d 2064 6973 6162 6c65 5f73 b). - disable_s │ │ │ +002056d0: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_ │ │ │ +002056e0: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l │ │ │ +002056f0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption. │ │ │ +00205700: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need │ │ │ +00205710: 6564 0a20 202d 2073 6572 7669 6365 5f63 ed. - service_c │ │ │ +00205720: 7570 735f 6469 7361 626c 6564 0a20 202d ups_disabled. - │ │ │ +00205730: 2075 6e6b 6e6f 776e 5f73 6576 6572 6974 unknown_severit │ │ │ +00205740: 790a 0a2d 206e 616d 653a 2055 6e69 7420 y..- name: Unit │ │ │ +00205750: 536f 636b 6574 2045 7869 7374 7320 2d20 Socket Exists - │ │ │ +00205760: 6375 7073 2e73 6f63 6b65 740a 2020 616e cups.socket. an │ │ │ +00205770: 7369 626c 652e 6275 696c 7469 6e2e 636f sible.builtin.co │ │ │ +00205780: 6d6d 616e 643a 2073 7973 7465 6d63 746c mmand: systemctl │ │ │ +00205790: 202d 7120 6c69 7374 2d75 6e69 742d 6669 -q list-unit-fi │ │ │ +002057a0: 6c65 7320 6375 7073 2e73 6f63 6b65 740a les cups.socket. │ │ │ +002057b0: 2020 7265 6769 7374 6572 3a20 736f 636b register: sock │ │ │ +002057c0: 6574 5f66 696c 655f 6578 6973 7473 0a20 et_file_exists. │ │ │ +002057d0: 2063 6861 6e67 6564 5f77 6865 6e3a 2066 changed_when: f │ │ │ +002057e0: 616c 7365 0a20 2066 6169 6c65 645f 7768 alse. failed_wh │ │ │ +002057f0: 656e 3a20 736f 636b 6574 5f66 696c 655f en: socket_file_ │ │ │ +00205800: 6578 6973 7473 2e72 6320 6e6f 7420 696e exists.rc not in │ │ │ +00205810: 205b 302c 2031 5d0a 2020 6368 6563 6b5f [0, 1]. check_ │ │ │ +00205820: 6d6f 6465 3a20 6661 6c73 650a 2020 7768 mode: false. wh │ │ │ +00205830: 656e 3a20 2722 6c69 6e75 782d 6261 7365 en: '"linux-base │ │ │ +00205840: 2220 696e 2061 6e73 6962 6c65 5f66 6163 " in ansible_fac │ │ │ +00205850: 7473 2e70 6163 6b61 6765 7327 0a20 2074 ts.packages'. t │ │ │ +00205860: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80 │ │ │ +00205870: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). - │ │ │ +00205880: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM- │ │ │ +00205890: 3728 6129 0a20 202d 204e 4953 542d 3830 7(a). - NIST-80 │ │ │ +002058a0: 302d 3533 2d43 4d2d 3728 6229 0a20 202d 0-53-CM-7(b). - │ │ │ +002058b0: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg │ │ │ +002058c0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple │ │ │ +002058d0: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis │ │ │ +002058e0: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72 ruption. - no_r │ │ │ +002058f0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. - │ │ │ +00205900: 2073 6572 7669 6365 5f63 7570 735f 6469 service_cups_di │ │ │ +00205910: 7361 626c 6564 0a20 202d 2075 6e6b 6e6f sabled. - unkno │ │ │ +00205920: 776e 5f73 6576 6572 6974 790a 0a2d 206e wn_severity..- n │ │ │ +00205930: 616d 653a 2044 6973 6162 6c65 2074 6865 ame: Disable the │ │ │ +00205940: 2043 5550 5320 5365 7276 6963 6520 2d20 CUPS Service - │ │ │ +00205950: 4469 7361 626c 6520 536f 636b 6574 2063 Disable Socket c │ │ │ +00205960: 7570 730a 2020 616e 7369 626c 652e 6275 ups. ansible.bu │ │ │ +00205970: 696c 7469 6e2e 7379 7374 656d 643a 0a20 iltin.systemd:. │ │ │ +00205980: 2020 206e 616d 653a 2063 7570 732e 736f name: cups.so │ │ │ +00205990: 636b 6574 0a20 2020 2065 6e61 626c 6564 cket. enabled │ │ │ +002059a0: 3a20 6661 6c73 650a 2020 2020 7374 6174 : false. stat │ │ │ +002059b0: 653a 2073 746f 7070 6564 0a20 2020 206d e: stopped. m │ │ │ +002059c0: 6173 6b65 643a 2074 7275 650a 2020 7768 asked: true. wh │ │ │ +002059d0: 656e 3a0a 2020 2d20 2722 6c69 6e75 782d en:. - '"linux- │ │ │ +002059e0: 6261 7365 2220 696e 2061 6e73 6962 6c65 base" in ansible │ │ │ +002059f0: 5f66 6163 7473 2e70 6163 6b61 6765 7327 _facts.packages' │ │ │ +00205a00: 0a20 202d 2073 6f63 6b65 745f 6669 6c65 . - socket_file │ │ │ +00205a10: 5f65 7869 7374 732e 7374 646f 7574 5f6c _exists.stdout_l │ │ │ +00205a20: 696e 6573 2069 7320 7365 6172 6368 2822 ines is search(" │ │ │ +00205a30: 6375 7073 2e73 6f63 6b65 7422 2c20 6d75 cups.socket", mu │ │ │ +00205a40: 6c74 696c 696e 653d 5472 7565 290a 2020 ltiline=True). │ │ │ +00205a50: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8 │ │ │ +00205a60: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a). │ │ │ +00205a70: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM │ │ │ +00205a80: 2d37 2861 290a 2020 2d20 4e49 5354 2d38 -7(a). - NIST-8 │ │ │ +00205a90: 3030 2d35 332d 434d 2d37 2862 290a 2020 00-53-CM-7(b). │ │ │ +00205aa0: 2d20 6469 7361 626c 655f 7374 7261 7465 - disable_strate │ │ │ +00205ab0: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl │ │ │ +00205ac0: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di │ │ │ +00205ad0: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f sruption. - no_ │ │ │ +00205ae0: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed. │ │ │ +00205af0: 2d20 7365 7276 6963 655f 6375 7073 5f64 - service_cups_d │ │ │ +00205b00: 6973 6162 6c65 640a 2020 2d20 756e 6b6e isabled. - unkn │ │ │ +00205b10: 6f77 6e5f 7365 7665 7269 7479 0a3c 2f63 own_severity.
│ │ │ +00205b30: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ +00205bd0: 5265 6d65 6469 6174 696f 6e20 4b75 6265 Remediation Kube │ │ │ +00205be0: 726e 6574 6573 2073 6e69 7070 6574 20e2 rnetes snippet . │ │ │ +00205bf0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ +00205c70: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ +00205c80: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ +00205ca0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ +00205cb0: 3c74 643e 6d65 6469 756d 3c2f 7464 3e3c medium< │ │ │ +00205cc0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>Rebo │ │ │ +00205cd0: 6f74 3a3c 2f74 683e 3c74 643e 7472 7565 ot:true │ │ │ +00205ce0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +00205d00: 3c74 643e 6469 7361 626c 653c 2f74 643e disable │ │ │ +00205d10: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 apiVersi │ │ │ +00205d30: 6f6e 3a20 6d61 6368 696e 6563 6f6e 6669 on: machineconfi │ │ │ +00205d40: 6775 7261 7469 6f6e 2e6f 7065 6e73 6869 guration.openshi │ │ │ +00205d50: 6674 2e69 6f2f 7631 0a6b 696e 643a 204d ft.io/v1.kind: M │ │ │ +00205d60: 6163 6869 6e65 436f 6e66 6967 0a73 7065 achineConfig.spe │ │ │ +00205d70: 633a 0a20 2063 6f6e 6669 673a 0a20 2020 c:. config:. │ │ │ +00205d80: 2069 676e 6974 696f 6e3a 0a20 2020 2020 ignition:. │ │ │ +00205d90: 2076 6572 7369 6f6e 3a20 332e 312e 300a version: 3.1.0. │ │ │ +00205da0: 2020 2020 7379 7374 656d 643a 0a20 2020 systemd:. │ │ │ +00205db0: 2020 2075 6e69 7473 3a0a 2020 2020 2020 units:. │ │ │ +00205dc0: 2d20 6e61 6d65 3a20 6375 7073 2e73 6572 - name: cups.ser │ │ │ +00205dd0: 7669 6365 0a20 2020 2020 2020 2065 6e61 vice. ena │ │ │ +00205de0: 626c 6564 3a20 6661 6c73 650a 2020 2020 bled: false. │ │ │ +00205df0: 2020 2020 6d61 736b 3a20 7472 7565 0a20 mask: true. │ │ │ +00205e00: 2020 2020 202d 206e 616d 653a 2063 7570 - name: cup │ │ │ +00205e10: 732e 736f 636b 6574 0a20 2020 2020 2020 s.socket. │ │ │ +00205e20: 2065 6e61 626c 6564 3a20 6661 6c73 650a enabled: false. │ │ │ +00205e30: 2020 2020 2020 2020 6d61 736b 3a20 7472 mask: tr │ │ │ +00205e40: 7565 0a3c 2f63 6f64 653e 3c2f 7072 653e ue.
│ │ │ +00205e50: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio │ │ │ +00205f00: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet │ │ │ +00205f10: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ +00205f50: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab │ │ │ +00205f60: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped │ │ │ +00205f70: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered │ │ │ +00205f80: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed" │ │ │ +00205f90: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex │ │ │ +00205fa0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity:low │ │ │ +00205fb0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption:lowReboo │ │ │ +00205ff0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t:false │ │ │ +00206000: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy: │ │ │ +00206020: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable< │ │ │ +00206030: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include d
│ │ │ +00206050: 6973 6162 6c65 5f63 7570 730a 0a63 6c61  isable_cups..cla
│ │ │ +00206060: 7373 2064 6973 6162 6c65 5f63 7570 7320  ss disable_cups 
│ │ │ +00206070: 7b0a 2020 7365 7276 6963 6520 7b27 6375  {.  service {'cu
│ │ │ +00206080: 7073 273a 0a20 2020 2065 6e61 626c 6520  ps':.    enable 
│ │ │ +00206090: 3d26 6774 3b20 6661 6c73 652c 0a20 2020  => false,.   
│ │ │ +002060a0: 2065 6e73 7572 6520 3d26 6774 3b20 2773   ensure => 's
│ │ │ +002060b0: 746f 7070 6564 272c 0a20 207d 0a7d 0a3c  topped',.  }.}.<
│ │ │ +002060c0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469  /code>
Remediation OS │ │ │ +00206180: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint │ │ │ +00206190: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ +002061a0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
.[customization
│ │ │ +002061f0: 732e 7365 7276 6963 6573 5d0a 6d61 736b  s.services].mask
│ │ │ +00206200: 6564 203d 205b 2263 7570 7322 5d0a 3c2f  ed = ["cups"].
Remediati │ │ │ -00207820: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe │ │ │ -00207830: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ -00207870: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 < │ │ │ -002078e0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:< │ │ │ -00207900: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>< │ │ │ -00207930: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:
Comple │ │ │ -002078c0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity:lo │ │ │ -002078d0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
low
Rebo │ │ │ -00207910: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot:fals │ │ │ -00207920: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e
disable

include │ │ │ -00207970: 2072 656d 6f76 655f 7371 7569 640a 0a63 remove_squid..c │ │ │ -00207980: 6c61 7373 2072 656d 6f76 655f 7371 7569 lass remove_squi │ │ │ -00207990: 6420 7b0a 2020 7061 636b 6167 6520 7b20 d {. package { │ │ │ -002079a0: 2773 7175 6964 273a 0a20 2020 2065 6e73 'squid':. ens │ │ │ -002079b0: 7572 6520 3d26 6774 3b20 2770 7572 6765 ure => 'purge │ │ │ -002079c0: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 d',. }.}.

Rem │ │ │ -00207a80: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible │ │ │ -00207a90: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ... │ │ │ -00207aa0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
< │ │ │ -00207b70: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:< │ │ │ -00207b80: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false

│ │ │ -00207bd0: 2d20 6e61 6d65 3a20 456e 7375 7265 2073  - name: Ensure s
│ │ │ -00207be0: 7175 6964 2069 7320 7265 6d6f 7665 640a  quid is removed.
│ │ │ -00207bf0: 2020 7061 636b 6167 653a 0a20 2020 206e    package:.    n
│ │ │ -00207c00: 616d 653a 2073 7175 6964 0a20 2020 2073  ame: squid.    s
│ │ │ -00207c10: 7461 7465 3a20 6162 7365 6e74 0a20 2074  tate: absent.  t
│ │ │ -00207c20: 6167 733a 0a20 202d 2064 6973 6162 6c65  ags:.  - disable
│ │ │ -00207c30: 5f73 7472 6174 6567 790a 2020 2d20 6c6f  _strategy.  - lo
│ │ │ -00207c40: 775f 636f 6d70 6c65 7869 7479 0a20 202d  w_complexity.  -
│ │ │ -00207c50: 206c 6f77 5f64 6973 7275 7074 696f 6e0a   low_disruption.
│ │ │ -00207c60: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65    - no_reboot_ne
│ │ │ -00207c70: 6564 6564 0a20 202d 2070 6163 6b61 6765  eded.  - package
│ │ │ -00207c80: 5f73 7175 6964 5f72 656d 6f76 6564 0a20  _squid_removed. 
│ │ │ -00207c90: 202d 2075 6e6b 6e6f 776e 5f73 6576 6572   - unknown_sever
│ │ │ -00207ca0: 6974 790a 3c2f 636f 6465 3e3c 2f70 7265  ity.

Complexity:low
Disrup │ │ │ -00207b50: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion:lo │ │ │ -00207b60: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w
Strate │ │ │ -00207ba0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy:disa │ │ │ -00207bb0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +002078e0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ +00207900: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ +00207930: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ +002078c0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ +002078d0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ +002078f0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ +00207910: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ +00207920: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ +00207960: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ +00207970: 3a20 456e 7375 7265 2073 7175 6964 2069 : Ensure squid i │ │ │ +00207980: 7320 7265 6d6f 7665 640a 2020 7061 636b s removed. pack │ │ │ +00207990: 6167 653a 0a20 2020 206e 616d 653a 2073 age:. name: s │ │ │ +002079a0: 7175 6964 0a20 2020 2073 7461 7465 3a20 quid. state: │ │ │ +002079b0: 6162 7365 6e74 0a20 2074 6167 733a 0a20 absent. tags:. │ │ │ +002079c0: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat │ │ │ +002079d0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp │ │ │ +002079e0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d │ │ │ +002079f0: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f isruption. - no │ │ │ +00207a00: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed. │ │ │ +00207a10: 202d 2070 6163 6b61 6765 5f73 7175 6964 - package_squid │ │ │ +00207a20: 5f72 656d 6f76 6564 0a20 202d 2075 6e6b _removed. - unk │ │ │ +00207a30: 6e6f 776e 5f73 6576 6572 6974 790a 3c2f nown_severity.
Remediation Pup │ │ │ +00207b00: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...< │ │ │ +00207b10: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ +00207b90: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ +00207bb0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ +00207c00: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 │ │ │ +00207c30: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
Complexity:< │ │ │ +00207ba0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ +00207bc0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ +00207c10: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy:d │ │ │ +00207c20: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
include remov
│ │ │ +00207c50: 655f 7371 7569 640a 0a63 6c61 7373 2072  e_squid..class r
│ │ │ +00207c60: 656d 6f76 655f 7371 7569 6420 7b0a 2020  emove_squid {.  
│ │ │ +00207c70: 7061 636b 6167 6520 7b20 2773 7175 6964  package { 'squid
│ │ │ +00207c80: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ +00207c90: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ +00207ca0: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remed │ │ │ -002090f0: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ -00209100: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
low< │ │ │ -002091b0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>< │ │ │ -00209200: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>
inc
│ │ │ -00209240: 6c75 6465 2072 656d 6f76 655f 7361 6d62  lude remove_samb
│ │ │ -00209250: 610a 0a63 6c61 7373 2072 656d 6f76 655f  a..class remove_
│ │ │ -00209260: 7361 6d62 6120 7b0a 2020 7061 636b 6167  samba {.  packag
│ │ │ -00209270: 6520 7b20 2773 616d 6261 273a 0a20 2020  e { 'samba':.   
│ │ │ -00209280: 2065 6e73 7572 6520 3d26 6774 3b20 2770   ensure => 'p
│ │ │ -00209290: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f  urged',.  }.}.
Remediation Ans │ │ │ -00209360: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ... │ │ │ -00209370: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
low< │ │ │ -00209440: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>
Co │ │ │ -00209190: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity:
Disruptio │ │ │ -002091c0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n:low
│ │ │ -002091e0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot: │ │ │ -002091f0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false
Strategy: │ │ │ -00209210: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable │ │ │ -00209220: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c
Complexity: │ │ │ -00209400: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low
Di │ │ │ -00209420: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption:
Reboot:false
St │ │ │ -00209470: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy: │ │ │ -00209480: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Ensu
│ │ │ -002094b0: 7265 2073 616d 6261 2069 7320 7265 6d6f  re samba is remo
│ │ │ -002094c0: 7665 640a 2020 7061 636b 6167 653a 0a20  ved.  package:. 
│ │ │ -002094d0: 2020 206e 616d 653a 2073 616d 6261 0a20     name: samba. 
│ │ │ -002094e0: 2020 2073 7461 7465 3a20 6162 7365 6e74     state: absent
│ │ │ -002094f0: 0a20 2074 6167 733a 0a20 202d 2064 6973  .  tags:.  - dis
│ │ │ -00209500: 6162 6c65 5f73 7472 6174 6567 790a 2020  able_strategy.  
│ │ │ -00209510: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479  - low_complexity
│ │ │ -00209520: 0a20 202d 206c 6f77 5f64 6973 7275 7074  .  - low_disrupt
│ │ │ -00209530: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f  ion.  - no_reboo
│ │ │ -00209540: 745f 6e65 6564 6564 0a20 202d 2070 6163  t_needed.  - pac
│ │ │ -00209550: 6b61 6765 5f73 616d 6261 5f72 656d 6f76  kage_samba_remov
│ │ │ -00209560: 6564 0a20 202d 2075 6e6b 6e6f 776e 5f73  ed.  - unknown_s
│ │ │ -00209570: 6576 6572 6974 790a 3c2f 636f 6465 3e3c  everity.<
│ │ │ +002090f0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073  iation Ansible s
│ │ │ +00209100: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62  nippet ...
< │ │ │ +002091a0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +002091b0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +00209200: 3c74 723e 3c74 683e 5374 7261 7465 6779
- 
│ │ │ +00209240: 6e61 6d65 3a20 456e 7375 7265 2073 616d  name: Ensure sam
│ │ │ +00209250: 6261 2069 7320 7265 6d6f 7665 640a 2020  ba is removed.  
│ │ │ +00209260: 7061 636b 6167 653a 0a20 2020 206e 616d  package:.    nam
│ │ │ +00209270: 653a 2073 616d 6261 0a20 2020 2073 7461  e: samba.    sta
│ │ │ +00209280: 7465 3a20 6162 7365 6e74 0a20 2074 6167  te: absent.  tag
│ │ │ +00209290: 733a 0a20 202d 2064 6973 6162 6c65 5f73  s:.  - disable_s
│ │ │ +002092a0: 7472 6174 6567 790a 2020 2d20 6c6f 775f  trategy.  - low_
│ │ │ +002092b0: 636f 6d70 6c65 7869 7479 0a20 202d 206c  complexity.  - l
│ │ │ +002092c0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020  ow_disruption.  
│ │ │ +002092d0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ +002092e0: 6564 0a20 202d 2070 6163 6b61 6765 5f73  ed.  - package_s
│ │ │ +002092f0: 616d 6261 5f72 656d 6f76 6564 0a20 202d  amba_removed.  -
│ │ │ +00209300: 2075 6e6b 6e6f 776e 5f73 6576 6572 6974   unknown_severit
│ │ │ +00209310: 790a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  y.
< │ │ │ +00209320: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +002093d0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +002093e0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +00209460: 3c74 723e 3c74 683e 436f 6d70 6c65 7869
< │ │ │ +002094f0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +00209500: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
C │ │ │ +00209190: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +002091c0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +002091d0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +00209210: 3a3c 2f74 683e 3c74 643e 6469 7361 626c :disabl │ │ │ +00209220: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e
Complexi │ │ │ +00209470: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +00209480: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Disruption:low
Reboot │ │ │ +002094c0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +002094d0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Strategy:
include r
│ │ │ +00209520: 656d 6f76 655f 7361 6d62 610a 0a63 6c61  emove_samba..cla
│ │ │ +00209530: 7373 2072 656d 6f76 655f 7361 6d62 6120  ss remove_samba 
│ │ │ +00209540: 7b0a 2020 7061 636b 6167 6520 7b20 2773  {.  package { 's
│ │ │ +00209550: 616d 6261 273a 0a20 2020 2065 6e73 7572  amba':.    ensur
│ │ │ +00209560: 6520 3d26 6774 3b20 2770 7572 6765 6427  e => 'purged'
│ │ │ +00209570: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c  ,.  }.}.<
│ │ │  00209580: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c  /pre>
Remediation │ │ │ -0020a9a0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet . │ │ │ -0020a9b0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
< │ │ │ -0020aa30: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit │ │ │ -0020aa40: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y:low │ │ │ -0020aa60: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption: │ │ │ -0020aa70: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 lowReboot: │ │ │ -0020aa90: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false │ │ │ -0020aab0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy:disable
│ │ │ -0020aae0: 3c63 6f64 653e 696e 636c 7564 6520 7265  include re
│ │ │ -0020aaf0: 6d6f 7665 5f73 6e6d 700a 0a63 6c61 7373  move_snmp..class
│ │ │ -0020ab00: 2072 656d 6f76 655f 736e 6d70 207b 0a20   remove_snmp {. 
│ │ │ -0020ab10: 2070 6163 6b61 6765 207b 2027 736e 6d70   package { 'snmp
│ │ │ -0020ab20: 273a 0a20 2020 2065 6e73 7572 6520 3d26  ':.    ensure =&
│ │ │ -0020ab30: 6774 3b20 2770 7572 6765 6427 2c0a 2020  gt; 'purged',.  
│ │ │ -0020ab40: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265  }.}.
Remediati │ │ │ -0020ac00: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp │ │ │ -0020ac10: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -0020acc0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c │ │ │ -0020ace0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 │ │ │ -0020ad10: 3c74 683e 5374 7261 7465 6779 3a3c 2f74
Compl │ │ │ -0020aca0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity:l │ │ │ -0020acb0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
Disruption:< │ │ │ -0020acd0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Reb │ │ │ -0020acf0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot:fal │ │ │ -0020ad00: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
Strategy:disable
< │ │ │ -0020ad40: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name │ │ │ -0020ad50: 3a20 456e 7375 7265 2073 6e6d 7020 6973 : Ensure snmp is │ │ │ -0020ad60: 2072 656d 6f76 6564 0a20 2070 6163 6b61 removed. packa │ │ │ -0020ad70: 6765 3a0a 2020 2020 6e61 6d65 3a20 736e ge:. name: sn │ │ │ -0020ad80: 6d70 0a20 2020 2073 7461 7465 3a20 6162 mp. state: ab │ │ │ -0020ad90: 7365 6e74 0a20 2074 6167 733a 0a20 202d sent. tags:. - │ │ │ -0020ada0: 2050 4349 2d44 5353 7634 2d32 2e32 0a20 PCI-DSSv4-2.2. │ │ │ -0020adb0: 202d 2050 4349 2d44 5353 7634 2d32 2e32 - PCI-DSSv4-2.2 │ │ │ -0020adc0: 2e34 0a20 202d 2064 6973 6162 6c65 5f73 .4. - disable_s │ │ │ -0020add0: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_ │ │ │ -0020ade0: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l │ │ │ -0020adf0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption. │ │ │ -0020ae00: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need │ │ │ -0020ae10: 6564 0a20 202d 2070 6163 6b61 6765 5f6e ed. - package_n │ │ │ -0020ae20: 6574 2d73 6e6d 705f 7265 6d6f 7665 640a et-snmp_removed. │ │ │ -0020ae30: 2020 2d20 756e 6b6e 6f77 6e5f 7365 7665 - unknown_seve │ │ │ -0020ae40: 7269 7479 0a3c 2f63 6f64 653e 3c2f 7072 rity.
│ │ │ +0020aa30: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +0020aa40: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +0020aa50: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +0020aa90: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +0020aaa0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +0020aac0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +0020aad0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: E
│ │ │ +0020aaf0: 6e73 7572 6520 736e 6d70 2069 7320 7265  nsure snmp is re
│ │ │ +0020ab00: 6d6f 7665 640a 2020 7061 636b 6167 653a  moved.  package:
│ │ │ +0020ab10: 0a20 2020 206e 616d 653a 2073 6e6d 700a  .    name: snmp.
│ │ │ +0020ab20: 2020 2020 7374 6174 653a 2061 6273 656e      state: absen
│ │ │ +0020ab30: 740a 2020 7461 6773 3a0a 2020 2d20 5043  t.  tags:.  - PC
│ │ │ +0020ab40: 492d 4453 5376 342d 322e 320a 2020 2d20  I-DSSv4-2.2.  - 
│ │ │ +0020ab50: 5043 492d 4453 5376 342d 322e 322e 340a  PCI-DSSv4-2.2.4.
│ │ │ +0020ab60: 2020 2d20 6469 7361 626c 655f 7374 7261    - disable_stra
│ │ │ +0020ab70: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d  tegy.  - low_com
│ │ │ +0020ab80: 706c 6578 6974 790a 2020 2d20 6c6f 775f  plexity.  - low_
│ │ │ +0020ab90: 6469 7372 7570 7469 6f6e 0a20 202d 206e  disruption.  - n
│ │ │ +0020aba0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a  o_reboot_needed.
│ │ │ +0020abb0: 2020 2d20 7061 636b 6167 655f 6e65 742d    - package_net-
│ │ │ +0020abc0: 736e 6d70 5f72 656d 6f76 6564 0a20 202d  snmp_removed.  -
│ │ │ +0020abd0: 2075 6e6b 6e6f 776e 5f73 6576 6572 6974   unknown_severit
│ │ │ +0020abe0: 790a 3c2f 636f 6465 3e3c 2f70 7265 3e3c  y.
< │ │ │ +0020abf0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation │ │ │ +0020aca0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet │ │ │ +0020acb0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +0020ad30: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi │ │ │ +0020ad40: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty:low< │ │ │ +0020ad50: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Disruption:lowReboot │ │ │ +0020ad90: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c :false< │ │ │ +0020ada0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>Strategy:< │ │ │ +0020adc0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ +0020add0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include r
│ │ │ +0020adf0: 656d 6f76 655f 736e 6d70 0a0a 636c 6173  emove_snmp..clas
│ │ │ +0020ae00: 7320 7265 6d6f 7665 5f73 6e6d 7020 7b0a  s remove_snmp {.
│ │ │ +0020ae10: 2020 7061 636b 6167 6520 7b20 2773 6e6d    package { 'snm
│ │ │ +0020ae20: 7027 3a0a 2020 2020 656e 7375 7265 203d  p':.    ensure =
│ │ │ +0020ae30: 2667 743b 2027 7075 7267 6564 272c 0a20  > 'purged',. 
│ │ │ +0020ae40: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072   }.}.
Remed │ │ │ -0023b600: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn │ │ │ -0023b610: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
i
│ │ │ -0023b660: 6e63 6c75 6465 2073 7368 5f70 7269 7661  nclude ssh_priva
│ │ │ -0023b670: 7465 5f6b 6579 5f70 6572 6d73 0a0a 636c  te_key_perms..cl
│ │ │ -0023b680: 6173 7320 7373 685f 7072 6976 6174 655f  ass ssh_private_
│ │ │ -0023b690: 6b65 795f 7065 726d 7320 7b0a 2020 6578  key_perms {.  ex
│ │ │ -0023b6a0: 6563 207b 2027 7373 6864 5f70 7269 765f  ec { 'sshd_priv_
│ │ │ -0023b6b0: 6b65 7927 3a0a 2020 2020 636f 6d6d 616e  key':.    comman
│ │ │ -0023b6c0: 6420 3d26 6774 3b20 2263 686d 6f64 2030  d => "chmod 0
│ │ │ -0023b6d0: 3634 3020 2f65 7463 2f73 7368 2f2a 5f6b  640 /etc/ssh/*_k
│ │ │ -0023b6e0: 6579 222c 0a20 2020 2070 6174 6820 2020  ey",.    path   
│ │ │ -0023b6f0: 203d 2667 743b 2027 2f62 696e 3a2f 7573   => '/bin:/us
│ │ │ -0023b700: 722f 6269 6e27 0a20 207d 0a7d 0a3c 2f63  r/bin'.  }.}.
│ │ │ -0023b720: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 │ │ │ -0023b7c0: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi │ │ │ -0023b7d0: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...< │ │ │ -0023b7e0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -0023b860: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c │ │ │ -0023b880: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 │ │ │ -0023b8d0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472
Complexity:< │ │ │ -0023b870: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th>low
Dis │ │ │ -0023b890: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption:low
Reboot:false
Str │ │ │ -0023b8e0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e63 ategy:c │ │ │ -0023b8f0: 6f6e 6669 6775 7265 3c2f 7464 3e3c 2f74 onfigure
<
│ │ │ -0023b910: 636f 6465 3e2d 206e 616d 653a 2047 6174  code>- name: Gat
│ │ │ -0023b920: 6865 7220 7468 6520 7061 636b 6167 6520  her the package 
│ │ │ -0023b930: 6661 6374 730a 2020 7061 636b 6167 655f  facts.  package_
│ │ │ -0023b940: 6661 6374 733a 0a20 2020 206d 616e 6167  facts:.    manag
│ │ │ -0023b950: 6572 3a20 6175 746f 0a20 2074 6167 733a  er: auto.  tags:
│ │ │ -0023b960: 0a20 202d 204e 4953 542d 3830 302d 3137  .  - NIST-800-17
│ │ │ -0023b970: 312d 332e 312e 3133 0a20 202d 204e 4953  1-3.1.13.  - NIS
│ │ │ -0023b980: 542d 3830 302d 3137 312d 332e 3133 2e31  T-800-171-3.13.1
│ │ │ -0023b990: 300a 2020 2d20 4e49 5354 2d38 3030 2d35  0.  - NIST-800-5
│ │ │ -0023b9a0: 332d 4143 2d31 3728 6129 0a20 202d 204e  3-AC-17(a).  - N
│ │ │ -0023b9b0: 4953 542d 3830 302d 3533 2d41 432d 3628  IST-800-53-AC-6(
│ │ │ -0023b9c0: 3129 0a20 202d 204e 4953 542d 3830 302d  1).  - NIST-800-
│ │ │ -0023b9d0: 3533 2d43 4d2d 3628 6129 0a20 202d 2050  53-CM-6(a).  - P
│ │ │ -0023b9e0: 4349 2d44 5353 2d52 6571 2d32 2e32 2e34  CI-DSS-Req-2.2.4
│ │ │ -0023b9f0: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ -0023ba00: 2e32 0a20 202d 2050 4349 2d44 5353 7634  .2.  - PCI-DSSv4
│ │ │ -0023ba10: 2d32 2e32 2e36 0a20 202d 2063 6f6e 6669  -2.2.6.  - confi
│ │ │ -0023ba20: 6775 7265 5f73 7472 6174 6567 790a 2020  gure_strategy.  
│ │ │ -0023ba30: 2d20 6669 6c65 5f70 6572 6d69 7373 696f  - file_permissio
│ │ │ -0023ba40: 6e73 5f73 7368 645f 7072 6976 6174 655f  ns_sshd_private_
│ │ │ -0023ba50: 6b65 790a 2020 2d20 6c6f 775f 636f 6d70  key.  - low_comp
│ │ │ -0023ba60: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -0023ba70: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -0023ba80: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -0023ba90: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -0023baa0: 6564 0a0a 2d20 6e61 6d65 3a20 4669 6e64  ed..- name: Find
│ │ │ -0023bab0: 2072 6f6f 743a 726f 6f74 2d6f 776e 6564   root:root-owned
│ │ │ -0023bac0: 206b 6579 730a 2020 616e 7369 626c 652e   keys.  ansible.
│ │ │ -0023bad0: 6275 696c 7469 6e2e 636f 6d6d 616e 643a  builtin.command:
│ │ │ -0023bae0: 2066 696e 6420 2d48 202f 6574 632f 7373   find -H /etc/ss
│ │ │ -0023baf0: 682f 202d 6d61 7864 6570 7468 2031 202d  h/ -maxdepth 1 -
│ │ │ -0023bb00: 7573 6572 2072 6f6f 7420 2d72 6567 6578  user root -regex
│ │ │ -0023bb10: 2022 2e2a 5f6b 6579 2422 0a20 2020 202d   ".*_key$".    -
│ │ │ -0023bb20: 7479 7065 2066 202d 6772 6f75 7020 726f  type f -group ro
│ │ │ -0023bb30: 6f74 202d 7065 726d 202f 752b 7873 2c67  ot -perm /u+xs,g
│ │ │ -0023bb40: 2b78 7772 732c 6f2b 7877 7274 0a20 2072  +xwrs,o+xwrt.  r
│ │ │ -0023bb50: 6567 6973 7465 723a 2072 6f6f 745f 6f77  egister: root_ow
│ │ │ -0023bb60: 6e65 645f 6b65 7973 0a20 2063 6861 6e67  ned_keys.  chang
│ │ │ -0023bb70: 6564 5f77 6865 6e3a 2066 616c 7365 0a20  ed_when: false. 
│ │ │ -0023bb80: 2066 6169 6c65 645f 7768 656e 3a20 6661   failed_when: fa
│ │ │ -0023bb90: 6c73 650a 2020 6368 6563 6b5f 6d6f 6465  lse.  check_mode
│ │ │ -0023bba0: 3a20 6661 6c73 650a 2020 7768 656e 3a20  : false.  when: 
│ │ │ -0023bbb0: 2722 6c69 6e75 782d 6261 7365 2220 696e  '"linux-base" in
│ │ │ -0023bbc0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ -0023bbd0: 6163 6b61 6765 7327 0a20 2074 6167 733a  ackages'.  tags:
│ │ │ -0023bbe0: 0a20 202d 204e 4953 542d 3830 302d 3137  .  - NIST-800-17
│ │ │ -0023bbf0: 312d 332e 312e 3133 0a20 202d 204e 4953  1-3.1.13.  - NIS
│ │ │ -0023bc00: 542d 3830 302d 3137 312d 332e 3133 2e31  T-800-171-3.13.1
│ │ │ -0023bc10: 300a 2020 2d20 4e49 5354 2d38 3030 2d35  0.  - NIST-800-5
│ │ │ -0023bc20: 332d 4143 2d31 3728 6129 0a20 202d 204e  3-AC-17(a).  - N
│ │ │ -0023bc30: 4953 542d 3830 302d 3533 2d41 432d 3628  IST-800-53-AC-6(
│ │ │ -0023bc40: 3129 0a20 202d 204e 4953 542d 3830 302d  1).  - NIST-800-
│ │ │ -0023bc50: 3533 2d43 4d2d 3628 6129 0a20 202d 2050  53-CM-6(a).  - P
│ │ │ -0023bc60: 4349 2d44 5353 2d52 6571 2d32 2e32 2e34  CI-DSS-Req-2.2.4
│ │ │ -0023bc70: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ -0023bc80: 2e32 0a20 202d 2050 4349 2d44 5353 7634  .2.  - PCI-DSSv4
│ │ │ -0023bc90: 2d32 2e32 2e36 0a20 202d 2063 6f6e 6669  -2.2.6.  - confi
│ │ │ -0023bca0: 6775 7265 5f73 7472 6174 6567 790a 2020  gure_strategy.  
│ │ │ -0023bcb0: 2d20 6669 6c65 5f70 6572 6d69 7373 696f  - file_permissio
│ │ │ -0023bcc0: 6e73 5f73 7368 645f 7072 6976 6174 655f  ns_sshd_private_
│ │ │ -0023bcd0: 6b65 790a 2020 2d20 6c6f 775f 636f 6d70  key.  - low_comp
│ │ │ -0023bce0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -0023bcf0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -0023bd00: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -0023bd10: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -0023bd20: 6564 0a0a 2d20 6e61 6d65 3a20 5365 7420  ed..- name: Set 
│ │ │ -0023bd30: 7065 726d 6973 7369 6f6e 7320 666f 7220  permissions for 
│ │ │ -0023bd40: 726f 6f74 3a72 6f6f 742d 6f77 6e65 6420  root:root-owned 
│ │ │ -0023bd50: 6b65 7973 0a20 2061 6e73 6962 6c65 2e62  keys.  ansible.b
│ │ │ -0023bd60: 7569 6c74 696e 2e66 696c 653a 0a20 2020  uiltin.file:.   
│ │ │ -0023bd70: 2070 6174 683a 2027 7b7b 2069 7465 6d20   path: '{{ item 
│ │ │ -0023bd80: 7d7d 270a 2020 2020 6d6f 6465 3a20 752d  }}'.    mode: u-
│ │ │ -0023bd90: 7873 2c67 2d78 7772 732c 6f2d 7877 7274  xs,g-xwrs,o-xwrt
│ │ │ -0023bda0: 0a20 2020 2073 7461 7465 3a20 6669 6c65  .    state: file
│ │ │ -0023bdb0: 0a20 2077 6974 685f 6974 656d 733a 0a20  .  with_items:. 
│ │ │ -0023bdc0: 202d 2027 7b7b 2072 6f6f 745f 6f77 6e65   - '{{ root_owne
│ │ │ -0023bdd0: 645f 6b65 7973 2e73 7464 6f75 745f 6c69  d_keys.stdout_li
│ │ │ -0023bde0: 6e65 7320 7d7d 270a 2020 7768 656e 3a20  nes }}'.  when: 
│ │ │ -0023bdf0: 2722 6c69 6e75 782d 6261 7365 2220 696e  '"linux-base" in
│ │ │ -0023be00: 2061 6e73 6962 6c65 5f66 6163 7473 2e70   ansible_facts.p
│ │ │ -0023be10: 6163 6b61 6765 7327 0a20 2074 6167 733a  ackages'.  tags:
│ │ │ -0023be20: 0a20 202d 204e 4953 542d 3830 302d 3137  .  - NIST-800-17
│ │ │ -0023be30: 312d 332e 312e 3133 0a20 202d 204e 4953  1-3.1.13.  - NIS
│ │ │ -0023be40: 542d 3830 302d 3137 312d 332e 3133 2e31  T-800-171-3.13.1
│ │ │ -0023be50: 300a 2020 2d20 4e49 5354 2d38 3030 2d35  0.  - NIST-800-5
│ │ │ -0023be60: 332d 4143 2d31 3728 6129 0a20 202d 204e  3-AC-17(a).  - N
│ │ │ -0023be70: 4953 542d 3830 302d 3533 2d41 432d 3628  IST-800-53-AC-6(
│ │ │ -0023be80: 3129 0a20 202d 204e 4953 542d 3830 302d  1).  - NIST-800-
│ │ │ -0023be90: 3533 2d43 4d2d 3628 6129 0a20 202d 2050  53-CM-6(a).  - P
│ │ │ -0023bea0: 4349 2d44 5353 2d52 6571 2d32 2e32 2e34  CI-DSS-Req-2.2.4
│ │ │ -0023beb0: 0a20 202d 2050 4349 2d44 5353 7634 2d32  .  - PCI-DSSv4-2
│ │ │ -0023bec0: 2e32 0a20 202d 2050 4349 2d44 5353 7634  .2.  - PCI-DSSv4
│ │ │ -0023bed0: 2d32 2e32 2e36 0a20 202d 2063 6f6e 6669  -2.2.6.  - confi
│ │ │ -0023bee0: 6775 7265 5f73 7472 6174 6567 790a 2020  gure_strategy.  
│ │ │ -0023bef0: 2d20 6669 6c65 5f70 6572 6d69 7373 696f  - file_permissio
│ │ │ -0023bf00: 6e73 5f73 7368 645f 7072 6976 6174 655f  ns_sshd_private_
│ │ │ -0023bf10: 6b65 790a 2020 2d20 6c6f 775f 636f 6d70  key.  - low_comp
│ │ │ -0023bf20: 6c65 7869 7479 0a20 202d 206c 6f77 5f64  lexity.  - low_d
│ │ │ -0023bf30: 6973 7275 7074 696f 6e0a 2020 2d20 6d65  isruption.  - me
│ │ │ -0023bf40: 6469 756d 5f73 6576 6572 6974 790a 2020  dium_severity.  
│ │ │ -0023bf50: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564  - no_reboot_need
│ │ │ -0023bf60: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e  ed.
│ │ │ +0023b600: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s │ │ │ +0023b610: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
< │ │ │ +0023b6b0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low │ │ │ +0023b6c0: 3c74 723e 3c74 683e 4469 7372 7570 7469 │ │ │ +0023b710: 3c74 723e 3c74 683e 5374 7261 7465 6779

│ │ │ +0023b750: 2d20 6e61 6d65 3a20 4761 7468 6572 2074  - name: Gather t
│ │ │ +0023b760: 6865 2070 6163 6b61 6765 2066 6163 7473  he package facts
│ │ │ +0023b770: 0a20 2070 6163 6b61 6765 5f66 6163 7473  .  package_facts
│ │ │ +0023b780: 3a0a 2020 2020 6d61 6e61 6765 723a 2061  :.    manager: a
│ │ │ +0023b790: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20  uto.  tags:.  - 
│ │ │ +0023b7a0: 4e49 5354 2d38 3030 2d31 3731 2d33 2e31  NIST-800-171-3.1
│ │ │ +0023b7b0: 2e31 330a 2020 2d20 4e49 5354 2d38 3030  .13.  - NIST-800
│ │ │ +0023b7c0: 2d31 3731 2d33 2e31 332e 3130 0a20 202d  -171-3.13.10.  -
│ │ │ +0023b7d0: 204e 4953 542d 3830 302d 3533 2d41 432d   NIST-800-53-AC-
│ │ │ +0023b7e0: 3137 2861 290a 2020 2d20 4e49 5354 2d38  17(a).  - NIST-8
│ │ │ +0023b7f0: 3030 2d35 332d 4143 2d36 2831 290a 2020  00-53-AC-6(1).  
│ │ │ +0023b800: 2d20 4e49 5354 2d38 3030 2d35 332d 434d  - NIST-800-53-CM
│ │ │ +0023b810: 2d36 2861 290a 2020 2d20 5043 492d 4453  -6(a).  - PCI-DS
│ │ │ +0023b820: 532d 5265 712d 322e 322e 340a 2020 2d20  S-Req-2.2.4.  - 
│ │ │ +0023b830: 5043 492d 4453 5376 342d 322e 320a 2020  PCI-DSSv4-2.2.  
│ │ │ +0023b840: 2d20 5043 492d 4453 5376 342d 322e 322e  - PCI-DSSv4-2.2.
│ │ │ +0023b850: 360a 2020 2d20 636f 6e66 6967 7572 655f  6.  - configure_
│ │ │ +0023b860: 7374 7261 7465 6779 0a20 202d 2066 696c  strategy.  - fil
│ │ │ +0023b870: 655f 7065 726d 6973 7369 6f6e 735f 7373  e_permissions_ss
│ │ │ +0023b880: 6864 5f70 7269 7661 7465 5f6b 6579 0a20  hd_private_key. 
│ │ │ +0023b890: 202d 206c 6f77 5f63 6f6d 706c 6578 6974   - low_complexit
│ │ │ +0023b8a0: 790a 2020 2d20 6c6f 775f 6469 7372 7570  y.  - low_disrup
│ │ │ +0023b8b0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f  tion.  - medium_
│ │ │ +0023b8c0: 7365 7665 7269 7479 0a20 202d 206e 6f5f  severity.  - no_
│ │ │ +0023b8d0: 7265 626f 6f74 5f6e 6565 6465 640a 0a2d  reboot_needed..-
│ │ │ +0023b8e0: 206e 616d 653a 2046 696e 6420 726f 6f74   name: Find root
│ │ │ +0023b8f0: 3a72 6f6f 742d 6f77 6e65 6420 6b65 7973  :root-owned keys
│ │ │ +0023b900: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74  .  ansible.built
│ │ │ +0023b910: 696e 2e63 6f6d 6d61 6e64 3a20 6669 6e64  in.command: find
│ │ │ +0023b920: 202d 4820 2f65 7463 2f73 7368 2f20 2d6d   -H /etc/ssh/ -m
│ │ │ +0023b930: 6178 6465 7074 6820 3120 2d75 7365 7220  axdepth 1 -user 
│ │ │ +0023b940: 726f 6f74 202d 7265 6765 7820 222e 2a5f  root -regex ".*_
│ │ │ +0023b950: 6b65 7924 220a 2020 2020 2d74 7970 6520  key$".    -type 
│ │ │ +0023b960: 6620 2d67 726f 7570 2072 6f6f 7

TRUNCATED DUE TO SIZE LIMIT: 10485760 bytes

C │ │ │ +0023b6a0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity:
Disrupti │ │ │ +0023b6d0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on:low< │ │ │ +0023b6e0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td>
Reboot:false
Strategy │ │ │ +0023b720: 3a3c 2f74 683e 3c74 643e 636f 6e66 6967 :config │ │ │ +0023b730: 7572 653c 2f74 643e 3c2f 7472 3e3c 2f74 ure